JP5346045B2 - Document search apparatus, document search method, and document search program - Google Patents
Document search apparatus, document search method, and document search program Download PDFInfo
- Publication number
- JP5346045B2 JP5346045B2 JP2011022481A JP2011022481A JP5346045B2 JP 5346045 B2 JP5346045 B2 JP 5346045B2 JP 2011022481 A JP2011022481 A JP 2011022481A JP 2011022481 A JP2011022481 A JP 2011022481A JP 5346045 B2 JP5346045 B2 JP 5346045B2
- Authority
- JP
- Japan
- Prior art keywords
- search
- keyword
- document
- search result
- result
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、文書集合の中から利用者が入力した検索語に関連のある文書を検索する技術に関する。 The present invention relates to a technique for searching a document related to a search word input by a user from a document set.
従来より検索キーワードを入力し、ワールドワイドウェブ等から収集した大量の文書集合を対象に関連のある文書を得るための検索技術が知られている。検索キーワードは通常1単語から数単語を入力することが一般的である。 2. Description of the Related Art Conventionally, a search technique for obtaining a document related to a large collection of documents collected from the World Wide Web by inputting a search keyword is known. The search keyword is generally input from one word to several words.
ところで、ワードワイドウェブ等から収集した文書集合は転載や引用等を通じて似かよった文書が多数含まれていることが多い。たとえば、非特許文献1では、比較的小さな文書集合であっても17.3%が概ね重複しているということが報告されているし、非特許文献2では、全ウェブページ中の40%は同一ページであると報告されている。 By the way, a document set collected from the word wide web or the like often includes many similar documents through reprints or quotations. For example, in Non-Patent Document 1, it is reported that 17.3% is almost duplicated even in a relatively small document set. In Non-Patent Document 2, 40% of all web pages Reported to be on the same page.
類似した文書ばかりが検索結果に含まれていたのでは、目的とする検索結果に辿りつきにくくなってしまう。これらの類似した文書を検索結果から排除するため、たとえば、非特許文献3などに示されるように、互いに似通った文書同士を事前に判定しておき、検索結果には互いに似たもの同士は含めないという方法が知られている。 If only similar documents are included in the search results, it is difficult to reach the target search results. In order to exclude these similar documents from the search results, for example, as shown in Non-Patent Document 3, etc., documents similar to each other are determined in advance and those similar to each other are included in the search results. There is no known method.
尚、後述する本発明のキーワード文脈作成部で利用される、KWIC(keyword in context)あるいはquery−biased要約の技術は、下記非特許文献4に記載されている。 The technique of KWIC (keyword in context) or query-biased summary used in the keyword context creation unit of the present invention described later is described in Non-Patent Document 4 below.
しかし、従来の手法によっては文書全体としての類似性に基いて判定するため、 文書全体としては似通っていなくとも、部分部分は似通っているような文書は検出および排除の対象とならなかった。このため、たとえば文書中に他の文書の一部を引用した場合などにおいて、引用箇所が利用者の入力したキーワードと関連していれば、引用元の文書に加えて、引用した文書も関連があるということになり検索結果に含まれてしまう。 However, since the determination is based on the similarity of the whole document depending on the conventional method, even if the whole document is not similar, the document in which the partial portion is similar was not detected and excluded. For this reason, for example, when a part of another document is cited in the document, if the cited part is related to the keyword entered by the user, the cited document is also related in addition to the original document. That means it will be included in the search results.
このため、二つの文書において、検索者が検索を行っている目的の情報を含んだ箇所についてはほぼ同一の内容が記述してあっても、それ以外の部分に差異がある場合、従来の技術によれば排除することができない。この結果このような文書は検索結果に含まれてしまい、結果として利用者が目的の情報に辿りつくための手間が増えてしまうという問題があった。 For this reason, in the two documents, even if almost the same content is described in the part including the target information that the searcher is searching for, there is a difference in other parts. Cannot be excluded. As a result, such a document is included in the search result, and as a result, there is a problem that the user has to spend time and effort to reach the target information.
これらを踏まえると、利用者が求めている情報に関連する箇所について重複を防ぎ、利用者が検索結果の全貌を容易に把握できるような方法が求められる。 Based on these, there is a need for a method that prevents duplication of information related to the information requested by the user and allows the user to easily grasp the entire search result.
本発明は、上記課題を解決するものであり、その目的は、類似した検索を排除し、これによって利用者が求めている情報を含んだ文書に辿り着く手間を省くことができる文書検索装置、方法、プログラムを提供することにある。 The present invention solves the above-mentioned problems, and its object is to eliminate a similar search, thereby eliminating the trouble of arriving at a document containing information requested by a user, It is to provide a method and a program.
上記課題を解決するための本発明の文書検索装置は、検索対象の文書集合から、利用者が入力したキーワードを含む文書を検索し、該検索結果の文書番号を出力するキーワード検索手段と、検索対象の文書集合のうち、前記キーワード検索手段の検索結果の文書番号に相当する各文書について、利用者が入力したキーワードを含む箇所を算出してキーワード文脈を作成するキーワード文脈作成手段と、前記キーワード文脈作成手段により作成された各キーワード文脈との間の文字列としての類似度を算出するキーワード文脈の類似度計算手段と、前記キーワード文脈の類似度計算手段で算出された類似度に基づいて、前記キーワード検索手段により検索された検索結果文書の重複の有無を判定し、利用者へ提示する検索結果文書のリストを、前記重複無しと判定された検索結果文書が重複有りと判定された検索結果文書よりも上位順位となる順序に並び替えて出力する結果並び替え手段と、を備えたことを特徴としている。 A document search apparatus according to the present invention for solving the above-described problem is a keyword search means for searching a document including a keyword input by a user from a set of documents to be searched, and outputting a document number of the search result, and a search A keyword context creating means for creating a keyword context by calculating a part including a keyword input by a user for each document corresponding to a document number of a search result of the keyword searching means in the target document set; and the keyword Based on the similarity calculated by the keyword context similarity calculating means for calculating the similarity as a character string between each keyword context created by the context creating means, and the similarity calculated by the keyword context similarity calculating means, A list of search result documents to be presented to the user is determined by determining the presence or absence of duplication of the search result documents searched by the keyword search means. Serial overlap without the determined search result document is characterized in that and a result sort means for outputting rearranging the order in which the higher rank than the determined search result document that there overlap.
(1)請求項1〜5に記載の発明によれば、利用者は指定したキーワードについて関連があるような文書のうち、類似した検索を排除することができるため、検索装置によって出力された上位の結果中に利用者が求めている情報を含まれやすくすることができる。 (1) According to the inventions described in claims 1 to 5, since the user can exclude similar searches among documents related to the specified keyword, the higher rank output by the search device The information requested by the user can be easily included in the result.
このため、結果的に利用者が求めている情報を含んでいる文書に辿りつく手間が省かれ、該文書を容易に特定することが可能となる。
(2)また請求項2、4に記載の発明によれば、キーワード検索手段における検索結果出力件数をn/(1−r)件(nは利用者へ提示する検索結果文書件数、rは文書集合の重複率)としたので、rを例えば文書集合毎の既知の重複率に設定した場合は、そのrに応じた適切な検索結果出力件数が決定され得る。
As a result, it is possible to save the trouble of reaching the document containing the information requested by the user, and to easily specify the document.
(2) According to the invention described in claims 2 and 4, the number of search results output by the keyword search means is n / (1-r) (where n is the number of search result documents to be presented to the user and r is the document If r is set to a known duplication rate for each document set, for example, an appropriate number of search result outputs can be determined according to the r.
また、検索結果を提示する者(例えばサービス設計者)がrを任意に設定することにより、状況に応じた装置の運用を実施することができる。すなわち、装置の処理負荷が重くなったとしても、利用者へ提示することになる重複文書数を減らすか又は零にしたい場合はrを大きく設定し、また逆に、利用者へ提示することになる重複文書数が増えたとしても、装置の処理負荷を軽くしたい場合はrを小さく設定することで対応が可能となる。 In addition, a person who presents the search result (for example, a service designer) can arbitrarily set r, so that the apparatus can be operated according to the situation. That is, even if the processing load of the apparatus becomes heavy, to reduce or reduce the number of duplicate documents to be presented to the user, r is set large, and conversely, it is presented to the user. Even if the number of overlapping documents increases, it is possible to reduce the processing load of the apparatus by setting r small.
以下、図面を参照しながら本発明の実施の形態を説明するが、本発明は下記の実施形態例に限定されるものではない。図1は本発明の実施形態例における文書検索装置100の構成を示し、図2は図1の装置の各部が行なう処理の流れを示すフローチャートである。 Hereinafter, embodiments of the present invention will be described with reference to the drawings, but the present invention is not limited to the following embodiments. FIG. 1 shows a configuration of a document search apparatus 100 according to an embodiment of the present invention, and FIG. 2 is a flowchart showing a flow of processing performed by each part of the apparatus of FIG.
本実施形態例の文書検索装置100は、キーワード検索手段としてのキーワード検索部110、キーワード文脈作成手段としてのキーワード文脈作成部120、キーワード文脈の類似度計算手段としてのキーワード文脈の類似度計算部130、結果並び替え手段としての結果並び替え部140および文書集合DB(データベース)150を備えている。 The document search apparatus 100 according to the present embodiment includes a keyword search unit 110 as a keyword search unit, a keyword context generation unit 120 as a keyword context generation unit, and a keyword context similarity calculation unit 130 as a keyword context similarity calculation unit. A result rearranging unit 140 and a document set DB (database) 150 as result rearranging means are provided.
図1の文書集合DB150には、ワールドワイドウェブからの収集等を通じて準備した検索対象の文書集合が事前に格納される。 In the document set DB 150 of FIG. 1, a search target document set prepared through collection from the World Wide Web or the like is stored in advance.
キーワード検索部110は、文書集合DB150に格納されている検索対象の文書集合から、利用者が入力したキーワードを含む文書を検索し、該検索結果の文書番号を出力する機能を有している。 The keyword search unit 110 has a function of searching a document including a keyword input by a user from a search target document set stored in the document set DB 150 and outputting a document number of the search result.
キーワード文脈作成部120は、文書集合DB150内の、前記キーワード検索部110で検索された各文書について、利用者が入力したキーワードを含む箇所を算出してキーワード文脈を作成する機能を有している。 The keyword context creation unit 120 has a function of creating a keyword context by calculating a location including a keyword input by a user for each document searched by the keyword search unit 110 in the document set DB 150. .
キーワード文脈の類似度計算部130は、キーワード文脈作成部120で作成された各キーワード文脈との間の文字列としての類似度を算出する機能を有している。 The keyword context similarity calculation unit 130 has a function of calculating a similarity as a character string between each keyword context created by the keyword context creation unit 120.
結果並び替え部140は、前記類似度計算部130で算出された類似度に基づいて、前記キーワード検索部110により検索された検索結果文書の重複の有無を判定し、利用者へ提示する検索結果文書のリストを、前記重複無しと判定された検索結果文書が重複有りと判定された検索結果文書よりも上位順位となる順序に並び替えて出力する機能を有する。 The result sorting unit 140 determines whether or not the search result documents searched by the keyword search unit 110 are duplicated based on the similarity calculated by the similarity calculation unit 130, and presents the search result presented to the user A function of outputting a list of documents by rearranging the search result documents determined to be non-overlapping in an order higher than the search result document determined to be non-overlapping.
図1の文書検索装置100は、例えばコンピュータにより構成され、通常のコンピュータのハードウェアリソース、例えばROM、RAM、CPU、入力装置、出力装置、通信インターフェース、ハードディスク、記録媒体およびその駆動装置を備えている。 The document search apparatus 100 of FIG. 1 is configured by a computer, for example, and includes hardware resources of a normal computer, such as a ROM, a RAM, a CPU, an input device, an output device, a communication interface, a hard disk, a recording medium, and a driving device thereof. Yes.
このハードウェアリソースとソフトウェアリソース(OS、アプリケーションなど)との協働の結果、文書検索装置100は、図1に示すように、キーワード検索部110、キーワード文脈作成部120、キーワード文脈の類似度計算部130、結果並び替え部140、文書集合DB150を実装する。 As a result of the cooperation between the hardware resource and the software resource (OS, application, etc.), the document search apparatus 100, as shown in FIG. 1, calculates a keyword context similarity calculation unit 110, a keyword context creation unit 120, and keyword context similarity. The unit 130, the result sorting unit 140, and the document set DB 150 are mounted.
前記文書集合DB150は、ハードディスクあるいはRAMなどの保存手段・記憶手段に構築されているものとする。 It is assumed that the document set DB 150 is constructed in storage means / storage means such as a hard disk or RAM.
次に、上記のように構成された装置の動作を具体的に説明する。利用者は、文書検索装置100に対してキーワードを入力し、文書検索装置100からの出力はキーワードと関連する文書の順序つきリストである。 Next, the operation of the apparatus configured as described above will be specifically described. The user inputs a keyword to the document search apparatus 100, and the output from the document search apparatus 100 is an ordered list of documents related to the keyword.
文書検索装置100は、事前にワールドワイドウェブからの収集等を通じて準備した検索対象の文書集合を文書集合DB150に格納しておき、その文書集合DB150中の文書集合を対象に処理を行う。 The document search apparatus 100 stores a search target document set prepared in advance through collection from the World Wide Web in the document set DB 150, and performs processing on the document set in the document set DB 150 as a target.
まず、キーワード検索部110は、キーワードを入力として、そのキーワードを含むような文書を文書集合DB150から検索し、関連度スコアを計算し、文書番号と関連度スコアを出力する(ステップS110)。 First, the keyword search unit 110 receives a keyword, searches the document set DB 150 for a document including the keyword, calculates a relevance score, and outputs a document number and a relevance score (step S110).
文書の検索、および関連度スコアの計算には、一般的な転置インデクスとBM25やPageRankといった従来より知られているスコアリング手法を組合せることによって実現することができる。 Document search and relevance score calculation can be realized by combining a general transposed index and a conventionally known scoring method such as BM25 or PageRank.
ここでキーワード検索部110から出力する結果の件数について述べる。利用者へ提示する検索結果の数をn件であるとし、検索対象文書集合で予測される文書の重複率をr(0≦r<1)とするときに、検索結果の関連度スコアの上位n/(1−r)件をキーワード検索部110から出力する。ここで、nとしては典型的には10件から100件程度が用いられる。 Here, the number of results output from the keyword search unit 110 will be described. When the number of search results to be presented to the user is n, and the duplication rate of documents predicted in the search target document set is r (0 ≦ r <1), the higher the relevance score of the search results n / (1-r) items are output from the keyword search unit 110. Here, as n, typically about 10 to 100 cases are used.
次にキーワード文脈作成部120では、キーワード検索部110の出力した文書番号を受け取り、検索結果の各文書(文書集合DB150内の文書)中において、利用者が入力したキーワードを含む箇所を算出してキーワード文脈を生成する(ステップS120)。これには非特許文献4に示されるような、従来から存在するKWIC(keyword in context)あるいはquery−biased要約と呼ばれる技術を用いることができる。 Next, the keyword context creation unit 120 receives the document number output from the keyword search unit 110, and calculates a location including the keyword input by the user in each document (document in the document set DB 150) as a search result. A keyword context is generated (step S120). For this, a conventional technique called KWIC (keyword in context) or query-biased summary as shown in Non-Patent Document 4 can be used.
生成するキーワード文脈の長さは、提供するサービスの品質に応じて、サービス設計者が任意に設定して良い。ただし、最終的にユーザに概要文を提示するような検索サービスを作る場合であれば、本キーワード文脈作成部120の出力をそのまま概要文として提示できるように、そこで求められる長さとすると良い。 The length of the keyword context to be generated may be arbitrarily set by the service designer according to the quality of the provided service. However, when creating a search service that finally presents a summary sentence to the user, it is preferable that the length is calculated so that the output of the keyword context creation unit 120 can be presented as it is as a summary sentence.
キーワード文脈作成部120の出力は、図3に示すような、文書番号とキーワード文脈との対の集合である。図3はキーワードとして「元素」を想定した例を示している。 The output of the keyword context creation unit 120 is a set of document number / keyword context pairs as shown in FIG. FIG. 3 shows an example in which “element” is assumed as a keyword.
次にキーワード文脈の類似度計算部130は、キーワード文脈作成部120の出力を入力とし、各キーワード文脈との間の文字列としての類似度を算出する(ステップS130)。類似度の算出方法は任意であるが、一般的に用いられるコサイン類似度や各単語を集合の要素とみなした場合のJaccard係数等を用いることができる。 Next, the keyword context similarity calculation unit 130 receives the output of the keyword context creation unit 120 as an input, and calculates the similarity as a character string between each keyword context (step S130). Although the calculation method of the similarity is arbitrary, a commonly used cosine similarity, a Jaccard coefficient when each word is regarded as an element of the set, or the like can be used.
次に結果並び替え部140では、キーワード検索部110の出力と、キーワード文脈の類似度計算部130の出力とを入力とし、キーワード文脈間の類似性を考慮した並び替え処理を行なって、ユーザに提示する検索結果を出力する(ステップS140)。 Next, the result rearrangement unit 140 receives the output of the keyword search unit 110 and the output of the keyword context similarity calculation unit 130 as input, and performs a rearrangement process considering the similarity between the keyword contexts. The search result to be presented is output (step S140).
結果並び替え部140が行なう処理の流れを図4に示す。尚、図4において、ループL140は、後述のステップS143〜S146を、検索結果最上位からn/(1−r)件目まで繰り返し実行することを表している。 The flow of processing performed by the result rearranging unit 140 is shown in FIG. In FIG. 4, a loop L140 represents that steps S143 to S146, which will be described later, are repeatedly executed from the highest search result to the n / (1-r) th item.
図4において、まず、重複を含まないものを含むための提示用結果上位リストDと、重複したものを含んでいるが、Dの件数が最終的にn件に達しなかった場合に用いるための結果補助リストSをそれぞれ初期化し(ステップS141)、i=1にセットする(ステップS142)。 In FIG. 4, first, the presentation result upper list D for including those not including duplication and the duplication includes, but for use when the number of D does not finally reach n. Each result auxiliary list S is initialized (step S141), and i = 1 is set (step S142).
次に、キーワード検索部110からのn/(1−r)件について、関連度スコアが上位の結果から順に、以下の(1)、(2)を実行する。
(1)i番目の検索結果のキーワード文脈が、より上位の、(i−1)番目までの検索結果のキーワード文脈と重複しているかどうかを、事前に定めた類似度閾値thよりも文脈間の類似度(キーワード文脈の類似度計算部130の算出値)が高いかどうかにより確認する(ステップS143)。
(2)前記(1)で重複するものがなかった場合、すなわちすべての類似度が閾値th未満だった場合は、i番目の結果を提示用結果上位リストDへ追加する(ステップS144)。重複するものが存在した場合は、i番目の結果は順位を下げるべきであると判断し、結果補助リストSへ追加する(ステップS145)。
Next, for n / (1-r) items from the keyword search unit 110, the following (1) and (2) are executed in order from the result with the highest relevance score.
(1) Whether or not the keyword context of the i-th search result overlaps with the keyword context of the higher-order search results up to the (i-1) -th search is greater than the predetermined similarity threshold th. The similarity (the calculated value of the keyword context similarity calculation unit 130) is checked to see if it is high (step S143).
(2) If there is no overlap in (1), that is, if all the similarities are less than the threshold th, the i-th result is added to the presentation result upper list D (step S144). If there is an overlap, it is determined that the rank of the i-th result should be lowered and added to the result auxiliary list S (step S145).
前記ステップS144,S145の処理の後はステップS146においてiをインクリメントする。 After the processes in steps S144 and S145, i is incremented in step S146.
次に上記(1)、(2)の繰り返しの結果得られたリストDとSをこの順で連結し、順位の上位から(連結されたリストの先頭から)n件を出力する(ステップS147)。 Next, the lists D and S obtained as a result of the repetition of the above (1) and (2) are concatenated in this order, and n items are output from the top of the ranking (from the top of the concatenated list) (step S147). .
以上のように本実施形態例によれば、文書自体ではなく、ユーザに提示される情報(概要文)に着目し、概要文が同一(あるいは強く類似)している場合は表示(提示)しないことによって、ユーザにとっての見た目の多様性を高め、目的としている情報へ辿りつく機会を増やすことができる。 As described above, according to the present embodiment, attention is paid to the information (summary sentence) presented to the user, not the document itself, and when the summary sentences are the same (or strongly similar), they are not displayed (presented). As a result, it is possible to increase the variety of appearance for the user and increase the chance of reaching the target information.
また、キーワード検索部110における検索結果出力件数をn/(1−r)件(nは利用者へ提示する検索結果文書件数、rは文書集合の重複率)としたので、rを例えば文書集合毎の既知の重複率に設定した場合は、そのrに応じた適切な検索結果出力件数が決定され得る。 Further, since the number of search result outputs in the keyword search unit 110 is n / (1-r) (n is the number of search result documents to be presented to the user, r is the document set duplication rate), r is, for example, a document set If the known duplication rate is set for each, an appropriate number of search result outputs can be determined according to the r.
また、検索結果を提示する者(例えばサービス設計者)がrを任意に設定することにより、状況に応じた装置の運用を実施することができる。すなわち、装置の処理負荷が重くなったとしても、利用者へ提示することになる重複文書数を減らすか又は零にしたい場合はrを大きく設定し、また逆に、利用者へ提示することになる重複文書数が増えたとしても、装置の処理負荷を軽くしたい場合はrを小さく設定することで対応が可能となる。 In addition, a person who presents the search result (for example, a service designer) can arbitrarily set r, so that the apparatus can be operated according to the situation. That is, even if the processing load of the apparatus becomes heavy, to reduce or reduce the number of duplicate documents to be presented to the user, r is set large, and conversely, it is presented to the user. Even if the number of overlapping documents increases, it is possible to reduce the processing load of the apparatus by setting r small.
また、本実施形態の文書検索装置における各手段の一部もしくは全部の機能をコンピュータのプログラムで構成し、そのプログラムをコンピュータを用いて実行して本発明を実現することができること、本実施形態の文書検索方法における手順をコンピュータのプログラムで構成し、そのプログラムをコンピュータに実行させることができることは言うまでもなく、コンピュータでその機能を実現するためのプログラムを、そのコンピュータが読み取り可能な記録媒体、例えばFD(Floppy(登録商標) Disk)や、MO(Magneto−Optical disk)、ROM(Read Only Memory)、メモリカード、CD(Compact Disk)−ROM、DVD(Digital Versatile Disk)−ROM、CD−R、CD−RW、HDD、リムーバブルディスクなどに記録して、保存したり、配布したりすることが可能である。また、上記のプログラムをインターネットや電子メールなど、ネットワークを通して提供することも可能である。 In addition, some or all of the functions of each means in the document search apparatus according to the present embodiment can be configured by a computer program, and the program can be executed using the computer to realize the present invention. It goes without saying that the procedure in the document search method can be constituted by a computer program and the program can be executed by the computer, and the program for realizing the function by the computer can be read by a computer-readable recording medium such as an FD. (Floppy (registered trademark) Disk), MO (Magneto-Optical disk), ROM (Read Only Memory), memory card, CD (Compact Disk) -ROM, DVD (Digital Versatile D) sk) -ROM, CD-R, CD-RW, HDD, and recorded in a removable disk, or stored, it is possible or distribute. It is also possible to provide the above program through a network such as the Internet or electronic mail.
100…文書検索装置
110…キーワード検索部
120…キーワード文脈作成部
130…キーワード文脈の類似度計算部
140…結果並び替え部
150…文書集合DB
DESCRIPTION OF SYMBOLS 100 ... Document search device 110 ... Keyword search part 120 ... Keyword context creation part 130 ... Keyword context similarity calculation part 140 ... Result rearrangement part 150 ... Document set DB
Claims (5)
検索対象の文書集合のうち、前記キーワード検索手段の検索結果の文書番号に相当する各文書について、利用者が入力したキーワードを含む箇所を算出してキーワード文脈を作成するキーワード文脈作成手段と、
前記キーワード文脈作成手段により作成された各キーワード文脈との間の文字列としての類似度を算出するキーワード文脈の類似度計算手段と、
前記キーワード文脈の類似度計算手段で算出された類似度に基づいて、前記キーワード検索手段により検索された検索結果文書の重複の有無を判定し、利用者へ提示する検索結果文書のリストを、前記重複無しと判定された検索結果文書が重複有りと判定された検索結果文書よりも上位順位となる順序に並び替えて出力する結果並び替え手段と、を備えたことを特徴とする文書検索装置。 A keyword search means for searching a document including a keyword input by a user from a search target document set and outputting a document number of the search result;
A keyword context creating means for creating a keyword context by calculating a part including a keyword input by a user for each document corresponding to a document number of a search result of the keyword searching means in the search target document set;
A keyword context similarity calculating means for calculating a similarity as a character string between each keyword context created by the keyword context creating means;
Based on the similarity calculated by the keyword context similarity calculation means, it is determined whether or not the search result documents searched by the keyword search means are duplicated, and a list of search result documents to be presented to the user is A document search apparatus, comprising: a result sorting unit that sorts and outputs a search result document determined to have no duplication in a higher order than a search result document judged to have duplication.
前記結果並び替え手段は、前記キーワード検索手段により検索された前記n/(1−r)件の検索結果すべてについて、i番目よりも関連度スコアが上位であるi−1番目までの検索結果中に、前記キーワード文脈の類似度計算手段により算出された類似度が類似度しきい値よりも高いものが存在するか否かを判定し、存在しないと判定されたときのi番目の検索結果が、存在すると判定されたときのi番目の検索結果よりも上位順位となる順序に並び替え、該上位順位からn件の前記並び替えられた検索結果文書のリストを出力することを特徴とする請求項1に記載の文書検索装置。 The keyword search means includes a relevance score as a search result, wherein n is the number of search result documents to be presented to the user, and r is the duplication rate of the document set. -R) output the document number of the search results,
The result rearranging means includes all of the n / (1-r) search results searched by the keyword search means in the search results up to the (i−1) -th search result having a higher relevance score than the i-th search result. In addition, it is determined whether or not there is a similarity whose degree of similarity calculated by the similarity calculation means of the keyword context is higher than a similarity threshold, and the i-th search result when it is determined that the similarity does not exist is obtained. Rearranging in order of higher rank than the i-th search result when it is determined to exist, and outputting a list of the n sorted search result documents from the higher rank. Item 2. The document search device according to Item 1.
キーワード文脈作成手段が、検索対象の文書集合のうち、前記キーワード検索ステップの検索結果の文書番号に相当する各文書について、利用者が入力したキーワードを含む箇所を算出してキーワード文脈を作成するキーワード文脈作成ステップと、
キーワード文脈の類似度計算手段が、前記キーワード文脈作成ステップにより作成された各キーワード文脈との間の文字列としての類似度を算出するキーワード文脈の類似度計算ステップと、
結果並び替え手段が、前記キーワード文脈の類似度計算ステップで算出された類似度に基づいて、前記キーワード検索ステップにより検索された検索結果文書の重複の有無を判定し、利用者へ提示する検索結果文書のリストを、前記重複無しと判定された検索結果文書が重複有りと判定された検索結果文書よりも上位順位となる順序に並び替えて出力する結果並び替えステップと、を備えたことを特徴とする文書検索方法。 A keyword search step for searching for a document including a keyword inputted by a user from a set of documents to be searched, and outputting a document number of the search result;
A keyword for creating a keyword context by calculating a location including a keyword input by a user for each document corresponding to a document number of a search result of the keyword search step in a set of documents to be searched by a keyword context creating unit A context creation step;
A keyword context similarity calculating unit that calculates a similarity as a character string between each keyword context created by the keyword context creating step;
The result sorting means determines whether or not the search result documents searched in the keyword search step are duplicated based on the similarity calculated in the keyword context similarity calculation step, and presents the search result to the user A result rearranging step for outputting a list of documents by rearranging the search result documents determined to be non-overlapping in an order higher than the search result document determined to be non-overlapping. Document search method.
前記結果並び替えステップは、前記キーワード検索ステップにより検索された前記n/(1−r)件の検索結果すべてについて、i番目よりも関連度スコアが上位であるi−1番目までの検索結果中に、前記キーワード文脈の類似度計算ステップにより算出された類似度が類似度しきい値よりも高いものが存在するか否かを判定し、存在しないと判定されたときのi番目の検索結果が、存在すると判定されたときのi番目の検索結果よりも上位順位となる順序に並び替え、該上位順位からn件の前記並び替えられた検索結果文書のリストを出力することを特徴とする請求項3に記載の文書検索方法。 The keyword search step includes a relevance score as a search result, wherein n is the number of search result documents to be presented to the user, and r is the duplication rate of the document set, n / (1 -R) output the document number of the search results,
In the result sorting step, for all the n / (1-r) search results searched by the keyword search step, the search results are among the search results up to the (i-1) th that have a higher relevance score than the ith. In addition, it is determined whether or not there is an object whose similarity calculated by the similarity calculation step of the keyword context is higher than a similarity threshold, and the i-th search result when it is determined that there is not exists is Rearranging in order of higher rank than the i-th search result when it is determined to exist, and outputting a list of the n sorted search result documents from the higher rank. Item 4. The document search method according to Item 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011022481A JP5346045B2 (en) | 2011-02-04 | 2011-02-04 | Document search apparatus, document search method, and document search program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011022481A JP5346045B2 (en) | 2011-02-04 | 2011-02-04 | Document search apparatus, document search method, and document search program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012164049A JP2012164049A (en) | 2012-08-30 |
| JP5346045B2 true JP5346045B2 (en) | 2013-11-20 |
Family
ID=46843394
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011022481A Active JP5346045B2 (en) | 2011-02-04 | 2011-02-04 | Document search apparatus, document search method, and document search program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5346045B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6522050B2 (en) * | 2017-06-07 | 2019-05-29 | ヤフー株式会社 | Determination device, learning device, determination method and determination program |
-
2011
- 2011-02-04 JP JP2011022481A patent/JP5346045B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012164049A (en) | 2012-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5392077B2 (en) | Ontology processing apparatus, ontology processing method, and ontology processing program | |
| US8082248B2 (en) | Method and system for document classification based on document structure and written style | |
| US8073838B2 (en) | Pseudo-anchor text extraction | |
| US9639609B2 (en) | Enterprise search method and system | |
| US8983963B2 (en) | Techniques for comparing and clustering documents | |
| US9619571B2 (en) | Method for searching related entities through entity co-occurrence | |
| CN104199833B (en) | A clustering method and clustering device for network search words | |
| US9817908B2 (en) | Systems and methods for news event organization | |
| JP2004501424A (en) | Title word extraction method using title dictionary and information retrieval system and method using the same | |
| KR20100107610A (en) | The query/document topic category transition analysis system and method and the query expansion based information retrieval system and method | |
| WO2009154153A1 (en) | Document search system | |
| Chen et al. | Summarization of scientific documents by detecting common facts in citations | |
| US20120239657A1 (en) | Category classification processing device and method | |
| Gowri et al. | Efficacious IR system for investigation in digital textual data | |
| JP2014010758A (en) | File management device, file management method, and program | |
| JP5251099B2 (en) | Term co-occurrence degree extraction device, term co-occurrence degree extraction method, and term co-occurrence degree extraction program | |
| CN121188178A (en) | Query processing methods, devices, equipment, media, and program products | |
| TWI234720B (en) | Related document linking managing system, method and recording medium | |
| JP5346045B2 (en) | Document search apparatus, document search method, and document search program | |
| WO2015125209A1 (en) | Information structuring system and information structuring method | |
| KR102807787B1 (en) | Shopping mall review data analysis method and shopping mall review data analysis device | |
| JP5308918B2 (en) | Keyword extraction method, keyword extraction device, and keyword extraction program | |
| Verma et al. | Applying key phrase extraction to aid invalidity search | |
| US20080033953A1 (en) | Method to search transactional web pages | |
| JP4189387B2 (en) | Knowledge search system, knowledge search method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120905 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130806 |
|
| 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: 20130813 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130815 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5346045 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
| R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
| R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |