JP2017068742A - Relevant document retrieval device, model creation device, method and program therefor - Google Patents
Relevant document retrieval device, model creation device, method and program therefor Download PDFInfo
- Publication number
- JP2017068742A JP2017068742A JP2015195860A JP2015195860A JP2017068742A JP 2017068742 A JP2017068742 A JP 2017068742A JP 2015195860 A JP2015195860 A JP 2015195860A JP 2015195860 A JP2015195860 A JP 2015195860A JP 2017068742 A JP2017068742 A JP 2017068742A
- Authority
- JP
- Japan
- Prior art keywords
- similarity
- document
- search target
- similarity score
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
この発明は、入力文章に関連した文書の検索を行う技術に関する。 The present invention relates to a technique for searching for a document related to an input sentence.
入力文章に関連した文書の検索を行う技術は、大別すると、(1)入力された自然な文章から検索に用いる単語(キーワード)を抽出し、キーワードに適合する文書を探す技術と、(2)入力文章全体と検索対象文書との関連性を算出し、高い関連性の文書を探す技術とに分類される。以下、(1)をキーワードマッチ方式、(2)を文章類似性判定方式、とする。 The techniques for searching for documents related to input sentences are roughly classified as follows: (1) A technique for extracting words (keywords) used for search from input natural sentences and searching for documents that match the keywords; ) The relationship between the entire input sentence and the search target document is calculated, and the technique is classified into a technique for searching for a highly relevant document. Hereinafter, (1) is a keyword matching method, and (2) is a sentence similarity determination method.
キーワードマッチ方式では、非特許文献1のように、事前に転置インデックスを整備しておき、入力文章に紐づくキーワードが含まれる文書を転置インデックスを引くことで求める。その際、キーワードを類似性、文字ゆらぎ等の観点で拡張しておき、元々のキーワードに加え、拡張したキーワードを含む文書を求めることで、より再現率の高い検索を可能とする。
In the keyword matching method, as in
文章類似性判定方式では、特許文献1のように、入力文章および検索対象文書を概念ベクトル化し、文書類似性を概念ベクトル間の近さ(をコサイン測度として求める)とすることで検索を行う。
In the sentence similarity determination method, as in
しかしながら、キーワードマッチ方式では、入力文章に含まれるキーワードや拡張されたキーワード等を用いるが、あくまでキーワードのみに着目しているので、文書全体の意味を見ずに局所的な単語のみを見ているので、文意としては関連性が低い文書も類似していると判断してしまう場合がある。 However, in the keyword matching method, keywords included in the input sentence, expanded keywords, etc. are used, but since only the keywords are focused, only local words are seen without looking at the meaning of the whole document. Therefore, there is a case where it is determined that documents having low relevance are similar in terms of meaning.
また、文書類似性判定方式では、文書全体の近さを見ているので、文書全体が複数の意味・トピックを持っていたり、修飾的な文(挨拶、前置き、特殊な単語の説明等)が含まれていたりすると、文書の概念がぼやけてしまい、関連性を正しく判断できなくなる場合がある。 In the document similarity judgment method, the closeness of the whole document is seen, so the whole document has multiple meanings / topics, and there are descriptive sentences (greetings, introductions, explanations of special words, etc.). If it is included, the concept of the document may be blurred, and the relevance may not be determined correctly.
この発明の目的は、従来よりも精度の高い検索を可能とする関連文書検索装置、モデル作成装置、これらの方法及びプログラムを提供することである。 An object of the present invention is to provide a related document search device, a model creation device, and a method and a program thereof that enable a search with higher accuracy than before.
この発明の一態様による関連文書検索装置は、ある文章とある検索対象文書とについての類似度特徴量群をそのある文章とそのある検索対象文書との間の類似度を表す異なる複数の特徴量として、入力された文章と各検索対象文書とについての類似度特徴量群を抽出する特徴量抽出部と、類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルが記憶された類似度スコアモデル記憶部と、類似度スコアモデル記憶部に記憶された類似度スコアモデルと抽出された類似度特徴量群とを用いて、入力された文章と各検索対象文書についての類似度スコアを計算する類似度スコア計算部と、を備えている。 The related document search apparatus according to an aspect of the present invention provides a plurality of different feature amounts representing similarity between a certain sentence and the certain search target document as a similarity feature amount group between the certain sentence and the certain search target document. The relationship between the feature quantity extraction unit that extracts the similarity feature quantity group for the input sentence and each search target document, and the similarity score corresponding to the similarity feature quantity group and the similarity feature quantity group An input sentence using the similarity score model storage unit storing the similarity score model to be represented, the similarity score model stored in the similarity score model storage unit, and the extracted similarity feature amount group; A similarity score calculation unit that calculates a similarity score for each search target document.
この発明の一態様によるモデル作成装置は、ある文章とある文書とについての類似度特徴量群をそのある文章とそのある文書との間の類似度を表す異なる複数の特徴量として、入力された文章と各文書とについての類似度特徴量群を抽出する特徴量抽出部と、入力された文章と各文書との間の類似度スコアが予め定められているとして、抽出された類似度特徴量群を説明変数とし、抽出された類似度特徴量群に対応する類似度スコアを目的変数として回帰分析をすることにより、類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルを作成する作成部と、を備えている。 In the model creation device according to an aspect of the present invention, the similarity feature amount group for a certain sentence and a certain document is input as a plurality of different feature amounts representing the similarity between the certain sentence and the certain document. The feature amount extraction unit that extracts a similarity feature amount group for a sentence and each document, and the similarity feature amount extracted assuming that the similarity score between the input sentence and each document is predetermined. By performing regression analysis using the similarity score corresponding to the extracted similarity score group as the objective variable, the similarity score group corresponding to the similarity score group and the similarity score corresponding to the similarity score group And a creation unit for creating a similarity score model representing the relationship between the two.
従来よりも精度の高い検索が可能となる。 Search with higher accuracy than before is possible.
[関連文書検索装置及び方法]
以下、図面を参照して、この関連文書検索装置及び方法の一実施形態について説明する。関連文書検索装置は、図1に示すように、検索対象文書記憶部1と、検索対象文書絞込部2と、特徴量抽出部3と、類似度スコアモデル記憶部4と、類似度スコア計算部5と、出力条件記憶部6と、出力部7とを例えば備えている。関連文書検索装置の各部が、図2の各ステップの処理を行うことにより、関連文書検索方法が実現される。
[Related Document Retrieval Apparatus and Method]
Hereinafter, an embodiment of the related document search apparatus and method will be described with reference to the drawings. As shown in FIG. 1, the related document search apparatus includes a search target
<検索対象文書記憶部1>
検索対象文書記憶部1には、複数の検索対象文書が記憶されている。
<Search target
The search target
検索対象文書は、その検索対象文書を識別するための識別子である検索対象文書IDと共に検索対象文書記憶部1に記憶されている。
The search target document is stored in the search target
<検索対象文書絞込部2>
検索対象文書絞込部2には、文章と、検索対象文書記憶部1から読み込んだ検索対象文書とが入力される。
<Search target
The search target
検索対象文書絞込部2は、入力された文書のカテゴリを判定し、検索対象文書記憶部1に記憶された複数の検索対象文書の中からその判定されたカテゴリの検索対象文書を選択する(ステップS2)。
The search target
まず、検索対象文書絞込部2は、例えば下記のテキストパタン抽出技術、トピック推定技術及び多値分類技術を用いて、入力された文書のカテゴリを抽出する。もちろん、検索対象文書絞込部2は、他のカテゴリ判定技術を用いて、入力された文書のカテゴリを抽出してもよい。
First, the search target
テキストパタン抽出技術の例は、参考文献1を参照のこと。
See
〔参考文献1〕日本電信電話株式会社、“テキスト知識抽出技術「リッチインデクサ」”、[online]、[平成27年9月24日検索]、インターネット〈URL:http://www.ntt.co.jp/svlab/activity/category_2/product2_07.html〉
トピック推定技術(LDA等)の例は、参考文献2を参照のこと。
[Reference 1] Nippon Telegraph and Telephone Corporation, “Text Knowledge Extraction Technology“ Rich Indexer ””, [online], [searched September 24, 2015], Internet <URL: http://www.ntt.co .jp / svlab / activity / category_2 / product2_07.html>
See
〔参考文献2〕David M. Blei、外2名、“Latent Dirichlet Allocation”、[online]、Journal of Machine Learning Research 3 (2003) 993-1022、[平成27年9月24日検索]、インターネット〈URL:https://www.cs.princeton.edu/~blei/papers/BleiNgJordan2003.pdf〉
多値分類技術(多層パーセプトロン、SVC(SVM)等)の例は、参考文献3を参照のこと。
[Reference 2] David M. Blei, two others, “Latent Dirichlet Allocation”, [online], Journal of Machine Learning Research 3 (2003) 993-1022, [searched September 24, 2015], Internet < URL: https://www.cs.princeton.edu/~blei/papers/BleiNgJordan2003.pdf>
See
〔参考文献3〕Asa Ben-Hur、外3名、“Support Vector Clustering”、[online]、Journal of Machine Learning Research 2 (2001) 125-137、[平成27年9月24日検索]、インターネット〈URL:http://www.jmlr.org/papers/volume2/horn01a/rev1/horn01ar1.pdf〉 [Reference 3] Asa Ben-Hur, three others, “Support Vector Clustering”, [online], Journal of Machine Learning Research 2 (2001) 125-137, [searched September 24, 2015], Internet < URL: http://www.jmlr.org/papers/volume2/horn01a/rev1/horn01ar1.pdf>
検索対象文書絞込部2の処理を行う場合には、図5に例示するように、検索対象文書記憶部1には、検索対象文書のカテゴリが予め定められて検索対象文書IDと共に記憶されているとする。
When the processing of the search target
検索対象文書絞込部2は、判定された入力された文書のカテゴリと同じカテゴリの検索対象文書を検索対象文書記憶部1に記憶された複数の検索対象文書の中から選択し、選択された検索対象文書の検索対象文書IDを出力する。
The search target
検索対象を絞り込むことで、不要な文書に対する検索処理を削減して効率的に検索でき、トピックの異なる文書を検索対象から外すことで精度向上が期待できる。 By narrowing down the search target, it is possible to efficiently search by reducing search processing for unnecessary documents, and it is expected to improve accuracy by excluding documents with different topics from the search target.
<特徴量抽出部3>
特徴量抽出部3には、入力された文章と、検索対象文書絞込部2によって選択された検索対象文書とが入力される。検索対象文書絞込部2によって選択された検索対象文書は、検索対象文書絞込部2が出力した検索対象文書IDにより特定される。
<
The feature
特徴量抽出部3は、入力された文章と、検索対象文書絞込部2によって選択された各検索対象文書とについての類似度特徴量群を抽出する(ステップS3)。抽出された類似度特徴量群は、例えば、対応する検索対象文書IDと共に類似度スコア計算部5に出力される。
The feature
ここで、ある文章とある検索対象文書とについての類似度特徴量群を、そのある文章とそのある検索対象文書との間の類似度を表す異なる複数の特徴量とする。言い換えれば、類似度特徴量群は、複数の異なる性質の技術で求めた特徴量の組である。 Here, a similarity feature amount group for a certain sentence and a certain search target document is set as a plurality of different feature amounts representing the similarity between the certain sentence and the certain search target document. In other words, the similarity feature amount group is a set of feature amounts obtained by a plurality of techniques having different properties.
例えば、第1の技術(例えば、キーワードマッチ方式)で求めた文書間の特徴量と、第1の技術とは性質が異なる第2の技術(例えば、文章類似性判定方式)で求めた文書間の特徴量との組を、類似度特徴量とすることができる。以下、この例を挙げて、特徴量抽出部3の処理について説明する。もちろん、これはあくまで一例であり、3個以上の技術のそれぞれで求めた文書間の特徴量の組を類似度特徴量としてもよい。また、第1の技術及び第2の技術は、キーワードマッチング方式と文書類似性判定方式に限定されるものでもない。文書同士の類似度を示す情報を算出可能な、他の性質を有する技術があれば用いてよい。
For example, the inter-document feature amount obtained by the first technique (for example, keyword matching method) and the document amount obtained by the second technique (for example, sentence similarity determination method) having different properties from the first technique. A pair with the feature amount of the second feature amount can be used as the similarity feature amount. Hereinafter, the process of the feature
特徴量抽出部3の第一計算部31は、入力された文章と、検索対象文書絞込部2によって選択された各検索対象文書との間の類似度を表す第1特徴量を第1の技術に基づいて計算する。
The
図6に、第1特徴量の例を示す。図6では、入力された文書と、各検索対象文書IDの検索対象文書との間の第1特徴量の例が記載されている。この図6の例では、第1特徴量は、3個の要素から構成されるベクトルである。この図6の例のように、特徴量、第1特徴量及び第2特徴量は、複数の要素から構成されるベクトルであってもよい。 FIG. 6 shows an example of the first feature amount. FIG. 6 shows an example of the first feature amount between the input document and the search target document of each search target document ID. In the example of FIG. 6, the first feature amount is a vector composed of three elements. As in the example of FIG. 6, the feature quantity, the first feature quantity, and the second feature quantity may be vectors composed of a plurality of elements.
また、特徴量抽出部3の第二計算部32は、入力された文章と、検索対象文書絞込部2によって選択された各検索対象文書との間の類似度を表す第2特徴量を第2の技術に基づいて計算する。
In addition, the
図7に、第2特徴量の例を示す。図7では、入力された文書と、各検索対象文書IDの検索対象文書との間の第2特徴量の例が記載されている。 FIG. 7 shows an example of the second feature amount. FIG. 7 shows an example of the second feature amount between the input document and the search target document of each search target document ID.
そして、特徴量抽出部3は、第1特徴量と第2特徴量とを結合して類似度特徴量群とする。
Then, the feature
なお、結合の際に、特徴量抽出部3は、第1特徴量及び第2特徴量のそれぞれを正規化し、正規化された第1特徴量及び第2特徴量を類似度特徴量群としてもよい。例えば、正規化は、第1特徴量及び第2特徴量のそれぞれの要素ごとに行われる。
At the time of combination, the feature
図8に、図6の第1特徴量を正規化した特徴量と、図7の第2特徴量を正規化した特徴量とを結合することにより得られた類似度特徴量群の例を示す。 FIG. 8 shows an example of the similarity feature quantity group obtained by combining the feature quantity normalized from the first feature quantity in FIG. 6 and the feature quantity normalized from the second feature quantity in FIG. .
以下、正規化処理の例について説明する。正規化は、例えば以下に例示する正規化関数f(x)の何れかを用いて行われる。特徴量ごとにどの正規化処理を行うのか(もしくは正規化処理を行わないのか)については、予め定めておく。また、特徴量が1以上の要素から構成さる場合、正規化関数を特徴量の各要素に対し適用して正規化を行うものとする。以下の式において、xは正規化前の特徴量の要素の値を表す。a,σ1,σ2,σ3は定数とする。
f(x)=tanh(x)
f(x)=1/(1+e-ax)
f(x)=σ1/(σ2+σ3|x|)
Hereinafter, an example of normalization processing will be described. Normalization is performed using, for example, one of the normalization functions f (x) exemplified below. Which normalization processing is performed for each feature amount (or whether normalization processing is not performed) is determined in advance. Further, when the feature amount is composed of one or more elements, normalization is performed by applying a normalization function to each element of the feature amount. In the following formula, x represents the element value of the feature quantity before normalization. a, σ 1 , σ 2 , and σ 3 are constants.
f (x) = tanh (x)
f (x) = 1 / (1 + e -ax )
f (x) = σ 1 / (σ 2 + σ 3 | x |)
<類似度スコアモデル記憶部4>
類似度スコアモデル記憶部4には、類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルが記憶されている。
<Similarity score
The similarity score
類似度スコアモデルは、例えば線形回帰モデルである。もちろん、類似度スコアモデルは、線形回帰モデル以外の回帰モデルであってもよい。 The similarity score model is, for example, a linear regression model. Of course, the similarity score model may be a regression model other than the linear regression model.
類似度スコアモデルは、図3及び図4を参照して後述するモデル作成装置及び方法により作成される。 The similarity score model is created by a model creation device and method described later with reference to FIGS. 3 and 4.
<類似度スコア計算部5>
類似度スコア計算部5には、特徴量抽出部3で抽出された各検索対象文書に対応する類似度特徴量群と、類似度スコアモデル記憶部4から読み込んだ類似度スコアモデルが入力される。検索対象文書は、検索対象文書IDにより特定される。
<Similarity
The similarity
類似度スコア計算部5は、類似度スコアモデル記憶部4に記憶された類似度スコアモデルと特徴量抽出部3で抽出された類似度特徴量群とを用いて、入力された文章と各検索対象文書についての類似度スコアを計算する(ステップS5)。類似度スコアは、類似度の算出の対象となっている文書間(文章と文書との間の場合も含む。)の類似度の高さを表す指標である。また、類似度スコアは、性質の異なる複数の技術で算出された類似度特徴量群を統合したものであるとも言える。
The similarity
類似度スコアモデルは、例えば回帰分析により得られた回帰係数により構成される。この場合、類似度スコア計算部5は、回帰分析により得られた回帰係数により特定される式に、類似度特徴量群を入力した場合の出力値を計算して、その計算結果を類似度スコアとする。類似度スコアモデルが線形回帰モデルである場合には、類似度スコア計算部5は、ベクトルである類似度特徴量群とベクトルである回帰係数との内積を計算して、その計算結果を類似度スコアとする。
The similarity score model is composed of regression coefficients obtained by regression analysis, for example. In this case, the similarity
類似度スコア計算部5は、類似度スコアとその類似度スコアに対応する検索対象文書IDとのペアを出力部7に出力する。その際、類似度スコア計算部5は、類似度スコアとその類似度スコアに対応する検索対象文書IDとのペアを類似度スコアについての降順又は昇順に並び替えて、その並び替えられた順番で出力してもよい。
The similarity
なお、類似度スコア計算部5は、既存技術であるランキング学習器を事前に学習しておき、類似度特徴量群を学習器に入力し、類似度を出力し、それを類似度スコアとしてもよい。この場合、ランキング学習器が類似度スコアモデルに対応する。
The similarity
また、類似度スコア計算部5は、人手により類似度特徴量群を構成する特徴量の重みを決定し、その重みベクトルと類似度特徴量群との内積を求め、類似度スコアとしてもよい。この場合、人手により構成された特徴量の重みが類似度スコアモデルに対応する。
Further, the similarity
<出力条件記憶部6>
出力条件記憶部6には、出力部7で用いる出力条件が記憶されている。
<Output
The output
<出力部7>
出力部7には、類似度スコア計算部5が出力した、類似度スコアとその類似度スコアに対応する検索対象文書IDとのペアが入力される。
<Output unit 7>
The output unit 7 receives a pair of the similarity score output by the similarity
出力部7は、類似度スコアが高い検索対象文書についての情報を出力する(ステップS7)。検索対象文書についての情報とは、例えば検索対象文書IDのことである。検索対象文書についての情報は、検索対象文書自体であってもよい。 The output unit 7 outputs information about the search target document having a high similarity score (step S7). The information about the search target document is, for example, a search target document ID. The information about the search target document may be the search target document itself.
出力部7は、出力条件記憶部6から出力条件を読み込み、その読み込んだ出力条件を満たす検索対象文書についての情報を出力してもよい。
The output unit 7 may read the output condition from the output
例えば、出力部7は、類似度スコアが上位α個の検索対象文書についての情報を出力してもよい。この場合、「類似度スコアが上位α個」という情報が出力条件(以下、出力条件(1)とする。)となる。αは、1以上の整数である。 For example, the output unit 7 may output information on search target documents having the highest α similarity score. In this case, the information that the “similarity score has the top α” is the output condition (hereinafter referred to as output condition (1)). α is an integer of 1 or more.
また、出力部7は、類似度スコア計算部5で計算された類似度スコアが所定の閾値以上である検索対象文書についての情報を出力してもよい。この場合、「所定の閾値以上」という情報が出力条件(以下、出力条件(2)とする。)となる。類似度スコアが小さいほど類似度が高くなるように設定されている場合には、出力部7は、類似度スコア計算部5で計算された類似度スコアが所定の閾値以下である検索対象文書についての情報を出力してもよい。
Further, the output unit 7 may output information on a search target document whose similarity score calculated by the similarity
さらに、出力条件記憶部6に、いわゆるNGワードとして、単語のペアが複数記憶されているとする。出力条件記憶部6に記憶される単語のペアの例を、図9に示す。
Furthermore, it is assumed that a plurality of word pairs are stored in the output
この場合、出力部7は、入力された文書に単語のペアを構成する一方の単語が含まれており、かつ、検索対象文書にその単語のペアを構成する他方の単語が含まれているような単語のペアが、出力条件記憶部6に記憶された複数の単語のペアの中にある場合には、その検索対象文書は出力しないという処理を行ってもよい。言い換えれば、入力された文章に含まれる単語と検索対象文書に含まれる単語のペアが出力条件記憶部6に記憶されている場合には、その検索対象文書は出力しないという処理を行ってもよい。
In this case, the output unit 7 seems to include one word constituting the word pair in the input document and the other word constituting the word pair in the search target document. If there is a pair of words in a plurality of pairs of words stored in the output
この場合、「入力された文書に単語のペアを構成する一方の単語が含まれており、かつ、検索対象文書にその単語のペアを構成する他方の単語が含まれているような単語のペアが、出力条件記憶部6に記憶された複数の単語のペアの中にある場合には、その検索対象文書は出力しない」という条件が出力条件(以下、出力条件(3)とする。)となる。
In this case, “a pair of words in which the input document includes one word constituting a word pair and the search target document includes the other word constituting the word pair. However, if it is in a plurality of word pairs stored in the output
出力条件(3)は、出力条件(1)又は(2)と両立することができる。すなわち、出力条件(1)又は(2)を満たす検索対象文書の中で、出力条件(3)を満たさない検索対象文書のみを出力し、出力条件(3)を満たす検索対象文書については出力しないという処理が行われてもよい。 The output condition (3) can be compatible with the output condition (1) or (2). That is, only search target documents that do not satisfy the output condition (3) are output among search target documents that satisfy the output condition (1) or (2), and search target documents that satisfy the output condition (3) are not output. Processing may be performed.
このように、性質の異なる複数の技術により抽出した2種類以上の特徴量を考慮して最終的な類似度スコアを求めることにより、従来よりも精度の高い検索が可能となる。 In this way, by obtaining the final similarity score in consideration of two or more types of feature amounts extracted by a plurality of techniques having different properties, a search with higher accuracy than before can be performed.
[モデル作成装置及び方法]
以下、図面を参照して、モデル作成装置及び方法の一実施形態について説明する。モデル作成装置は、図3に示すように、学習用文書記憶部10と、特徴量抽出部8と、作成部9とを例えば備えている。モデル作成装置の各部が、図4の各ステップの処理を行うことにより、モデル作成方法が実現される。
[Model creation apparatus and method]
Hereinafter, an embodiment of a model creation apparatus and method will be described with reference to the drawings. As shown in FIG. 3, the model creation apparatus includes a learning
<学習用文書記憶部10>
学習用文書記憶部10には、複数の文書が記憶されている。複数の文書には、異なる2個の文書毎に類似度スコアが対応付けられている。この類似度スコアは例えば人手で予め定められたものである。複数の文書は、検索対象文書記憶部1に記憶されている検索対象文書と同じであっても異なっていてもよい。複数の文書として、互いに類似度が高い文書を記憶していてもよい。
<Learning
The learning
図10に、学習用文書記憶部10に記憶されている複数の文書及び類似度スコアの例を示す。図10の例では、複数の文書のそれぞれに識別子である文書IDが付されている。図10の上段は、qid00001の文書IDの文書とpid00001の文書IDの文書についての類似度スコアが3であり、qid00001の文書IDの文書とpid00003の文書IDの文書についての類似度スコアが1であることを表している。この例では、類似度スコアが大きいほど、類似度が高くなるように設定されている。
FIG. 10 shows an example of a plurality of documents and similarity scores stored in the learning
<特徴量抽出部8>
特徴量抽出部8は、異なる2個の文書についての類似度特徴量群を抽出する(ステップ8)。抽出された類似度特徴量群は、作成部9に出力される。
<
The feature
特徴量抽出部8の処理は、上記説明した特徴量抽出部3の処理と同様である。すなわち、特徴量抽出部3が、入力された文章と各検索対象文書とについての類似度特徴量群を抽出した処理と同様の処理により、異なる2個の文書のそれぞれについての類似度特徴量群を抽出する。言い換えれば、特徴量抽出部8は、特徴量抽出部3が抽出した類似度特徴量群と同じ類似度特徴量群を抽出する。特徴量抽出部8の第一計算部81の処理は特徴量抽出部3の第一計算部31の処理と同様であり、特徴量抽出部8の第二計算部82の処理は特徴量抽出部3の第二計算部32の処理と同様である。
The process of the feature
図11に、特徴量抽出部8により抽出された類似度特徴量群の例を示す。
FIG. 11 shows an example of the similarity feature quantity group extracted by the feature
<作成部9>
作成部9は、抽出された類似度特徴量群を説明変数とし、特徴量抽出部8で抽出された類似度特徴量群に対応する類似度スコアを目的変数として回帰分析をすることにより、類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルを作成する(ステップS9)。
<
The
作成部9は、例えば線形回帰分析を行う。この場合、作成部9は、線形回帰モデルのパラメタを、例えばSVMを用いて学習し求める。
The
作成された類似度スコアモデルは、図1の類似度スコアモデル記憶部4に記憶される。
The created similarity score model is stored in the similarity score
[プログラム及び記録媒体]
関連文書検索装置及び方法並びにモデル作成装置及び方法において説明した処理は、記載の順にしたがって時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。
[Program and recording medium]
The processing described in the related document search device and method and the model creation device and method is not only executed in time series according to the order of description, but also in parallel or individually according to the processing capability of the device that executes the processing or as necessary. May be executed.
また、関連文書検索装置又はモデル作成装置おける各処理をコンピュータによって実現する場合、関連文書検索装置又はモデル作成装置が有すべき機能の処理内容はプログラムによって記述される。そして、このプログラムをコンピュータで実行することにより、その各処理がコンピュータ上で実現される。 When each process in the related document search device or model creation device is realized by a computer, the processing contents of the functions that the related document search device or model creation device should have are described by a program. Then, by executing this program on a computer, each process is realized on the computer.
この処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、例えば、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリ等どのようなものでもよい。 The program describing the processing contents can be recorded on a computer-readable recording medium. As the computer-readable recording medium, for example, any recording medium such as a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory may be used.
また、各処理手段は、コンピュータ上で所定のプログラムを実行させることにより構成することにしてもよいし、これらの処理内容の少なくとも一部をハードウェア的に実現することとしてもよい。 Each processing means may be configured by executing a predetermined program on a computer, or at least a part of these processing contents may be realized by hardware.
[変形例]
検索対象文書絞込部2の処理は行われなくてもよい。この場合、特徴量抽出部3は、入力された文章と、検索対象文書記憶部1に記憶されている各検索対象文書とについての類似度特徴量群を抽出する。
[Modification]
The processing of the search target
その他、この発明の趣旨を逸脱しない範囲で適宜変更が可能であることはいうまでもない。 Needless to say, other modifications are possible without departing from the spirit of the present invention.
1 検索対象文書記憶部
2 検索対象文書絞込部
3 特徴量抽出部
31 第一計算部
32 第二計算部
4 類似度スコアモデル記憶部
5 類似度スコア計算部
6 出力条件記憶部
7 出力部
8 特徴量抽出部
81 第一計算部
82 第二計算部
9 作成部
10 学習用文書記憶部
DESCRIPTION OF
Claims (10)
類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルが記憶された類似度スコアモデル記憶部と、
上記類似度スコアモデル記憶部に記憶された類似度スコアモデルと上記抽出された類似度特徴量群とを用いて、入力された文章と各検索対象文書についての類似度スコアを計算する類似度スコア計算部と、
を含む関連文書検索装置。 A group of similarities between a certain sentence and a certain search target document is used as a plurality of different feature quantities representing the similarity between the certain sentence and the certain search target document. A feature amount extraction unit that extracts a similarity feature amount group for
A similarity score model storage unit storing a similarity score model representing a relationship between the similarity feature quantity group and the similarity score corresponding to the similarity feature quantity group;
Using the similarity score model stored in the similarity score model storage unit and the extracted similarity feature quantity group, a similarity score for calculating a similarity score for the input sentence and each search target document A calculation unit;
Related document search device including
上記類似度スコアモデルは、線形回帰モデルである、
関連文書検索装置。 The related document search device according to claim 1,
The similarity score model is a linear regression model.
Related document retrieval device.
上記計算された類似度スコアが所定の閾値以上又は以下である検索対象文書についての情報を出力する出力部を更に含む、
関連文書検索装置。 The related document search device according to claim 1 or 2,
An output unit that outputs information about a search target document in which the calculated similarity score is greater than or less than a predetermined threshold;
Related document retrieval device.
上記類似度スコアが高い検索対象文書を出力する出力部と、
単語のペアが複数記憶された出力条件記憶部と、を更に含み、
上記出力部は、上記入力された文書に単語のペアを構成する一方の単語が含まれており、かつ、上記検索対象文書にその単語のペアを構成する他方の単語が含まれているような単語のペアが、上記出力条件記憶部に記憶された複数の単語のペアの中にある場合には、その検索対象文書は出力しない、
関連文書検索装置。 The related document search device according to claim 1 or 2,
An output unit for outputting a search target document having a high similarity score;
An output condition storage unit that stores a plurality of word pairs;
The output unit includes one word constituting a word pair included in the input document and the other word constituting the word pair included in the search target document. When the word pair is in the plurality of word pairs stored in the output condition storage unit, the search target document is not output.
Related document retrieval device.
複数の検索対象文書を記憶が記憶された検索対象文書記憶部と、
上記入力された文書のカテゴリを判定し、上記検索対象文書記憶部に記憶された複数の検索対象文書の中からその判定されたカテゴリの検索対象文書を選択する検索対象文書絞込部と、を更に含み、
上記特徴量抽出部は、上記入力された文章と各上記選択された検索対象文書とについての類似度特徴量群を抽出する、
関連文書検索装置。 The related document search device according to any one of claims 1 to 4,
A search target document storage unit storing a plurality of search target documents; and
A search target document filtering unit that determines a category of the input document and selects a search target document of the determined category from a plurality of search target documents stored in the search target document storage unit; In addition,
The feature amount extraction unit extracts a similarity feature amount group for the input sentence and each of the selected search target documents.
Related document retrieval device.
類似度スコア計算部が、類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルと上記抽出された類似度特徴量群とを用いて、入力された文章と各検索対象文書についての類似度スコアを計算する類似度スコア計算ステップと、
を含む関連文書検索方法。 The sentence inputted by the feature quantity extraction unit as a plurality of different feature quantities representing the similarity degree between the certain sentence and the certain search target document, the similarity degree group of the certain sentence and the certain retrieval target document And feature amount extraction step for extracting a similarity feature amount group for each search target document,
The similarity score calculation unit uses the similarity score model representing the relationship between the similarity feature quantity group and the similarity score corresponding to the similarity feature quantity group and the extracted similarity feature quantity group to input A similarity score calculating step for calculating a similarity score for each of the retrieved sentences and each search target document;
Related document search method including
上記入力された文章と各文書との間の類似度スコアが予め定められているとして、上記抽出された類似度特徴量群を説明変数とし、上記抽出された類似度特徴量群に対応する類似度スコアを目的変数として回帰分析をすることにより、類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルを作成する作成部と、
を含むモデル作成装置。 Similarity feature quantities for an input sentence and each document are defined as a plurality of different feature quantities representing similarity between the sentence and the document. A feature extraction unit for extracting a group;
Assuming that the similarity score between the input sentence and each document is predetermined, the extracted similarity feature amount group is used as an explanatory variable, and the similarity corresponding to the extracted similarity feature amount group A creation unit that creates a similarity score model that represents a relationship between a similarity feature quantity group and a similarity score corresponding to the similarity feature quantity group by performing regression analysis with the degree score as an objective variable;
Model creation device including
作成部が、上記異なる2個文書間の類似度スコアが予め定められているとして、上記抽出された類似度特徴量群を説明変数とし、上記抽出された類似度特徴量群に対応する類似度スコアを目的変数として回帰分析をすることにより、類似度特徴量群とその類似度特徴量群に対応する類似度スコアとの関係を表す類似度スコアモデルを作成する作成ステップと、
を含むモデル作成方法。 Similarity between two different documents in which the feature quantity extraction unit uses a similarity feature quantity group for a given sentence and a given document as a plurality of different feature quantities representing the similarity between the given sentence and the given document. A feature amount extraction step for extracting a degree feature amount group;
Assuming that the similarity score between the two different documents is determined in advance, the creation unit uses the extracted similarity feature amount group as an explanatory variable, and the similarity corresponding to the extracted similarity feature amount group A creation step for creating a similarity score model representing a relationship between a similarity feature group and a similarity score corresponding to the similarity feature group by performing regression analysis with the score as an objective variable;
Model creation method including
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015195860A JP6426074B2 (en) | 2015-10-01 | 2015-10-01 | Related document search device, model creation device, method and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015195860A JP6426074B2 (en) | 2015-10-01 | 2015-10-01 | Related document search device, model creation device, method and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017068742A true JP2017068742A (en) | 2017-04-06 |
JP6426074B2 JP6426074B2 (en) | 2018-11-21 |
Family
ID=58492665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015195860A Active JP6426074B2 (en) | 2015-10-01 | 2015-10-01 | Related document search device, model creation device, method and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6426074B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019191695A (en) * | 2018-04-19 | 2019-10-31 | 三菱重工業株式会社 | Search device, search method, and search program |
JP2021093163A (en) * | 2019-12-11 | 2021-06-17 | ネイバー コーポレーションNAVER Corporation | Method and system for detecting duplicate document using document similarity measuring model based on deep learning |
JP6934696B1 (en) * | 2020-04-28 | 2021-09-15 | 株式会社ビタリー | Business support system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000200285A (en) * | 1999-01-06 | 2000-07-18 | Nippon Telegr & Teleph Corp <Ntt> | Method and device for information retrieval, and recording medium where information retrieval program is recorded |
JP2001155027A (en) * | 1999-11-26 | 2001-06-08 | Nec Corp | Method, system and device for calculating similarity between documents, and recording medium recorded with program for similarity calculation |
JP2002007468A (en) * | 2000-06-20 | 2002-01-11 | Toshiba Corp | Device and method for retrieving similar document, and recording medium |
JP2008134800A (en) * | 2006-11-28 | 2008-06-12 | Ntt Docomo Inc | Retrieval system and retrieval method |
JP2009098999A (en) * | 2007-10-18 | 2009-05-07 | Sony Corp | Information processing device, information processing method and program |
CN103617157A (en) * | 2013-12-10 | 2014-03-05 | 东北师范大学 | Text similarity calculation method based on semantics |
-
2015
- 2015-10-01 JP JP2015195860A patent/JP6426074B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000200285A (en) * | 1999-01-06 | 2000-07-18 | Nippon Telegr & Teleph Corp <Ntt> | Method and device for information retrieval, and recording medium where information retrieval program is recorded |
JP2001155027A (en) * | 1999-11-26 | 2001-06-08 | Nec Corp | Method, system and device for calculating similarity between documents, and recording medium recorded with program for similarity calculation |
JP2002007468A (en) * | 2000-06-20 | 2002-01-11 | Toshiba Corp | Device and method for retrieving similar document, and recording medium |
JP2008134800A (en) * | 2006-11-28 | 2008-06-12 | Ntt Docomo Inc | Retrieval system and retrieval method |
JP2009098999A (en) * | 2007-10-18 | 2009-05-07 | Sony Corp | Information processing device, information processing method and program |
CN103617157A (en) * | 2013-12-10 | 2014-03-05 | 东北师范大学 | Text similarity calculation method based on semantics |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019191695A (en) * | 2018-04-19 | 2019-10-31 | 三菱重工業株式会社 | Search device, search method, and search program |
JP7122853B2 (en) | 2018-04-19 | 2022-08-22 | 三菱重工業株式会社 | SEARCH DEVICE, SEARCH METHOD, AND SEARCH PROGRAM |
JP2021093163A (en) * | 2019-12-11 | 2021-06-17 | ネイバー コーポレーションNAVER Corporation | Method and system for detecting duplicate document using document similarity measuring model based on deep learning |
JP6934696B1 (en) * | 2020-04-28 | 2021-09-15 | 株式会社ビタリー | Business support system |
WO2021220389A1 (en) * | 2020-04-28 | 2021-11-04 | 株式会社ビタリー | Business assistance system |
Also Published As
Publication number | Publication date |
---|---|
JP6426074B2 (en) | 2018-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bennani-Smires et al. | Simple unsupervised keyphrase extraction using sentence embeddings | |
CN107291723B (en) | Method and device for classifying webpage texts and method and device for identifying webpage texts | |
Al-Radaideh et al. | A hybrid approach for arabic text summarization using domain knowledge and genetic algorithms | |
KR102431549B1 (en) | Causality recognition device and computer program therefor | |
CN106202124B (en) | Webpage classification method and device | |
CN110929038B (en) | Knowledge graph-based entity linking method, device, equipment and storage medium | |
Deshpande et al. | Text summarization using clustering technique | |
JP6870421B2 (en) | Judgment program, judgment device and judgment method | |
US8812504B2 (en) | Keyword presentation apparatus and method | |
Jotheeswaran et al. | OPINION MINING USING DECISION TREE BASED FEATURE SELECTION THROUGH MANHATTAN HIERARCHICAL CLUSTER MEASURE. | |
JP5710581B2 (en) | Question answering apparatus, method, and program | |
CN110134792B (en) | Text recognition method and device, electronic equipment and storage medium | |
Alsaqer et al. | Movie review summarization and sentiment analysis using rapidminer | |
JP6217468B2 (en) | Multilingual document classification program and information processing apparatus | |
Chirawichitchai | Emotion classification of Thai text based using term weighting and machine learning techniques | |
CN110196910B (en) | Corpus classification method and apparatus | |
Nabil et al. | Labr: A large scale arabic sentiment analysis benchmark | |
CN108228612B (en) | Method and device for extracting network event keywords and emotional tendency | |
Srinivas et al. | A weighted tag similarity measure based on a collaborative weight model | |
US11227183B1 (en) | Section segmentation based information retrieval with entity expansion | |
JP6420268B2 (en) | Image evaluation learning device, image evaluation device, image search device, image evaluation learning method, image evaluation method, image search method, and program | |
JP6426074B2 (en) | Related document search device, model creation device, method and program thereof | |
JP5869948B2 (en) | Passage dividing method, apparatus, and program | |
Chandu et al. | Extractive Approach For Query Based Text Summarization | |
KR102519955B1 (en) | Apparatus and method for extracting of topic keyword |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170727 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180420 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180515 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180717 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20181023 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20181024 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6426074 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |