Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5402377B2 - Keyword selection apparatus, method, program, and system - Google Patents
[go: Go Back, main page]

JP5402377B2 - Keyword selection apparatus, method, program, and system - Google Patents

Keyword selection apparatus, method, program, and system Download PDF

Info

Publication number
JP5402377B2
JP5402377B2 JP2009185655A JP2009185655A JP5402377B2 JP 5402377 B2 JP5402377 B2 JP 5402377B2 JP 2009185655 A JP2009185655 A JP 2009185655A JP 2009185655 A JP2009185655 A JP 2009185655A JP 5402377 B2 JP5402377 B2 JP 5402377B2
Authority
JP
Japan
Prior art keywords
keyword
priority
document
temporary
documents
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.)
Expired - Fee Related
Application number
JP2009185655A
Other languages
Japanese (ja)
Other versions
JP2011039729A (en
Inventor
健二 立石
格 細見
大 久寿居
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2009185655A priority Critical patent/JP5402377B2/en
Publication of JP2011039729A publication Critical patent/JP2011039729A/en
Application granted granted Critical
Publication of JP5402377B2 publication Critical patent/JP5402377B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Description

本発明は、キーワード選択装置、方法、プログラム及びシステムに関し、特に、複数の文書のそれぞれに含まれる複数の単語列の中から文書を代表する単語列であるキーワードを選択するためのキーワード選択装置、方法、プログラム及びシステムに関する。   The present invention relates to a keyword selection device, method, program, and system, and in particular, a keyword selection device for selecting a keyword that is a word string representing a document from a plurality of word strings included in each of a plurality of documents. The present invention relates to a method, a program, and a system.

与えられた文書セットの各文書から、その文書の内容を代表する単語列であるキーワードを抽出する技術は、情報検索システムや文書間のハイパーリンクを自動生成するハイパーリンク自動生成システム等の要素技術として重要である。   A technology for extracting a keyword, which is a word string representing the content of a document, from each document of a given document set is an element technology such as an information search system or a hyperlink automatic generation system that automatically generates hyperlinks between documents. As important.

非特許文献1には、情報検索のインデクシングの際によく用いられるtf/idf法が開示されている。この方法に従うと、各文書からtf/idf値の高い上位M個の単語をキーワードとして選択する(Mは定数)。今、文書セットDの文書dに含まれる単語tのtf/idf値を求めるとする。ここで、tfは、term frequencyの略であり、文書dにおける単語tの出現回数、あるいは、文書セットDにおける単語tの総出現回数を表す。また、idfはinverse document frequencyの略であり、文書セットDにおける単語tの出現文書数の逆数である。このtfとidfの積がtd/idf値となる。   Non-Patent Document 1 discloses a tf / idf method that is often used for information retrieval indexing. According to this method, the top M words with high tf / idf values are selected as keywords from each document (M is a constant). Now, assume that the tf / idf value of the word t included in the document d of the document set D is obtained. Here, tf is an abbreviation of term frequency and represents the number of appearances of the word t in the document d or the total number of appearances of the word t in the document set D. Idf is an abbreviation for inverse document frequency and is the reciprocal of the number of appearing documents of the word t in the document set D. The product of tf and idf is the td / idf value.

また、関連する技術が特許文献1乃至5に開示されている。特許文献1には、文書から抽出された単語について、当該文書内の出現頻度と、文書集合内の出現頻度(文書数を含む)に基づいて当該単語の重要度を算出する技術が開示されている。特許文献2には、検索語における不要語の判別を適切に行う文書検索装置に関する技術が開示されている。特に、特許文献2にかかる文書検索装置は、単語の出現文書数と閾値とを比較して不要語を判定する。特許文献3には、ドキュメントへのアクセス履歴情報からキーワードを抽出し、キーワードの使用頻度が高いキーワードについては、キーワード抽出の際の優先度を下げる技術が開示されている。特許文献4には、候補単語の重要度の大きさから候補単語がキーワードとして適切か否かを判定する技術が開示されている。特許文献5には、単語の出現文書数が最小値以上であればその単語をキーワード候補として決定する技術が開示されている。   Related techniques are disclosed in Patent Documents 1 to 5. Patent Document 1 discloses a technique for calculating the importance of a word extracted from a document based on the appearance frequency in the document and the appearance frequency (including the number of documents) in the document set. Yes. Patent Document 2 discloses a technique related to a document search apparatus that appropriately determines unnecessary words in a search word. In particular, the document search apparatus according to Patent Document 2 determines the number of unnecessary words by comparing the number of occurrence documents of words with a threshold value. Patent Document 3 discloses a technique for extracting a keyword from access history information to a document and lowering the priority at the time of keyword extraction for a keyword that is frequently used. Patent Document 4 discloses a technique for determining whether a candidate word is appropriate as a keyword based on the importance of the candidate word. Patent Document 5 discloses a technique for determining a word candidate as a keyword candidate when the number of appearing documents of the word is equal to or greater than a minimum value.

特開2000−076254号公報JP 2000-076254 A 特開2005−050239号公報Japanese Patent Laid-Open No. 2005-050239 特開2006−120126号公報JP 2006-120126 A 特開平07−319882号公報Japanese Unexamined Patent Publication No. 07-319882 特開平11−224255号公報JP-A-11-224255

徳永健伸, 言語と計算−5 情報検索と言語処理, 東京大学出版会, pp.27-32.Takenobu Tokunaga, Language and Computation-5 Information Retrieval and Language Processing, The University of Tokyo Press, pp.27-32.

しかしながら、非特許文献1並びに特許文献1乃至5では、選択されるキーワードの精度が十分に得られないという問題点がある。特に、非特許文献1にかかるtf/idfを用いたキーワード抽出の問題点は、単語列の重要度を判断するための指標がtfとidfの2種類しかないため、十分な性能が得られないことである。これらの指標と単語列の重要度に一定の相関があることは確かである。しかし、現実には単語列の文書内の出現回数が多く、かつ、単語列の出現文書数が少ない単語列以外でもキーワードとすべき重要な単語列は存在する。すなわち、単語列が出現する文書であっても、当該文書における当該単語列の重要度が高いとは限らない。このように、tf/idfのみでは、このような単語列の重要度が相対的に低くなる可能性がある。また、特許文献1乃至5においても、idfに相当する指標を用いているに過ぎないため、同様の問題が発生し得る。そこで、より正確なキーワード抽出のためには新しい制約の導入が必要である。   However, Non-Patent Document 1 and Patent Documents 1 to 5 have a problem that the accuracy of a selected keyword cannot be obtained sufficiently. In particular, the problem of keyword extraction using tf / idf according to Non-Patent Document 1 is that there are only two types of indices for determining the importance of a word string, tf and idf, so that sufficient performance cannot be obtained. That is. There is a certain correlation between these indices and the importance of word strings. However, in reality, there are important word strings that should be used as keywords other than word strings in which the number of occurrences of word strings in the document is large and the number of word string occurrences is small. That is, even in a document in which a word string appears, the importance of the word string in the document is not always high. Thus, there is a possibility that the importance of such a word string becomes relatively low only by tf / idf. Also, in Patent Documents 1 to 5, the same problem may occur because only the index corresponding to idf is used. Therefore, it is necessary to introduce new constraints for more accurate keyword extraction.

本発明は、このような問題点を解決するためになされたものであり、複数の文書のそれぞれに含まれる複数の単語列の中から各文書のキーワードを高精度に選択することができるキーワード選択装置、方法、プログラム及びシステムを提供することを目的とする。   The present invention has been made to solve such a problem, and is a keyword selection capable of selecting a keyword of each document with high accuracy from a plurality of word strings included in each of a plurality of documents. An object is to provide an apparatus, a method, a program, and a system.

本発明の第1の態様にかかるキーワード選択装置は、複数の文書のそれぞれについて、各文書から少なくとも一つ以上抽出された単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択手段と、前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出手段と、前記選択文書数が文書数に応じた所定の閾値を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が前記所定の閾値以下となるように補正する優先度補正手段と、前記複数の文書のそれぞれについて、前記補正された優先度に基づいてキーワードを選択するキーワード選択手段とを備える。   The keyword selection device according to the first aspect of the present invention uses, for each of a plurality of documents, a word string having a high priority in the document among at least one word string extracted from each document as a temporary keyword. Temporary keyword selection means to select, selected document number calculation means to calculate the number of selected documents, which is the total number of documents in which the temporary keyword is selected for each word string among the plurality of documents, and the number of selected documents is a document When a predetermined threshold according to the number is exceeded, the priority of at least some of the word strings in each document in which the temporary keyword is selected is set so that the number of selected documents is equal to or less than the predetermined threshold. And a keyword selection unit that selects a keyword for each of the plurality of documents based on the corrected priority.

本発明の第2の態様にかかるキーワード選択方法は、複数の文書のそれぞれについて、各文書から少なくとも一つ以上抽出された単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択ステップと、前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出ステップと、前記選択文書数が文書数に応じた所定の閾値を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が前記所定の閾値以下となるように補正する優先度補正ステップと、前記複数の文書のそれぞれについて、前記補正された優先度に基づいてキーワードを選択するキーワード選択ステップとを含む。   In the keyword selection method according to the second aspect of the present invention, for each of a plurality of documents, a word string having a high priority in the document among the word strings extracted from each document is used as a temporary keyword. A temporary keyword selection step for selecting, a selected document number calculation step for calculating a selected document number that is the total number of documents in which the temporary keyword is selected for each word string among the plurality of documents, and the selected document number is a document When a predetermined threshold according to the number is exceeded, the priority of at least some of the word strings in each document in which the temporary keyword is selected is set so that the number of selected documents is equal to or less than the predetermined threshold. And a priority selection step for selecting a keyword based on the corrected priority for each of the plurality of documents.

本発明の第3の態様にかかるキーワード選択プログラムは、複数の文書のそれぞれについて、各文書から少なくとも一つ以上抽出された単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択処理と、前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出処理と、前記選択文書数が文書数に応じた所定の閾値を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が前記所定の閾値以下となるように補正する優先度補正処理と、前記複数の文書のそれぞれについて、前記補正された優先度に基づいてキーワードを選択するキーワード選択処理とを含む処理をコンピュータに実行させる。   The keyword selection program according to the third aspect of the present invention uses, for each of a plurality of documents, a word string having a high priority in the document among at least one word string extracted from each document as a temporary keyword. Temporary keyword selection processing to be selected, selected document number calculation processing for calculating the number of selected documents, which is the total number of documents in which the temporary keyword is selected for each word string among the plurality of documents, and the number of selected documents is a document When a predetermined threshold according to the number is exceeded, the priority of at least some of the word strings in each document in which the temporary keyword is selected is set so that the number of selected documents is equal to or less than the predetermined threshold. And a priority selection process for correcting each of the plurality of documents and a keyword selection process for selecting a keyword based on the corrected priority for each of the plurality of documents. To be executed by the Yuta.

本発明の第4の態様にかかるキーワード選択システムは、複数の文書のそれぞれについて、文書から抽出された単語列の当該文書内の優先度を記憶する優先度記憶手段と、前記優先度記憶手段を参照し、複数の文書のそれぞれについて、文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択手段と、前記仮キーワード選択手段により選択された仮キーワードを、当該仮キーワードを含む文書と関連付けて記憶するキーワード記憶手段と、前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出手段と、前記算出した選択文書数を記憶する選択文書数記憶手段と、前記選択文書数記憶手段を参照し、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が文書数に応じた所定の閾値を超えるか否かを判定するキーワード判定手段と、前記キーワード判定手段により所定の閾値を超えると判定された場合に、当該仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように前記優先度記憶手段に記憶された優先度を補正する優先度補正手段と、を備え、前記仮キーワード選択手段は、前記優先度補正手段により更新された優先度に基づいて、再度、前記仮キーワードを選択し、前記キーワード判定手段は、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が前記所定の閾値以下であると判定した場合に、前記キーワード記憶手段に記憶された仮キーワードをキーワードとして決定する。   A keyword selection system according to a fourth aspect of the present invention includes a priority storage unit that stores a priority level of a word string extracted from a document for each of a plurality of documents, and the priority storage unit. For each of the plurality of documents, a temporary keyword selection unit that selects a word string having a high priority in the document as a temporary keyword, and a document that includes the temporary keyword selected by the temporary keyword selection unit. A keyword storage unit that stores the selected document number, a selected document number calculation unit that calculates the total number of documents in which the temporary keyword for each word string is selected among the plurality of documents, and the calculated selection. A selected document number storage unit that stores the number of documents, and a temporary keyword stored in the keyword storage unit with reference to the selected document number storage unit A keyword determination unit that determines whether or not the number of selected documents exceeds a predetermined threshold according to the number of documents, and each of the provisional keywords selected when the keyword determination unit determines that the number exceeds a predetermined threshold Priority correction means for correcting the priority stored in the priority storage means so as to lower the priority of the word string selected as the temporary keyword in the document, the temporary keyword selection means, The temporary keyword is selected again based on the priority updated by the priority correction unit, and the keyword determination unit determines that the number of selected documents of the temporary keyword stored in the keyword storage unit is equal to the predetermined threshold value. When it is determined that it is the following, the temporary keyword stored in the keyword storage means is determined as a keyword.

本発明の第5の態様にかかるキーワード選択方法は、複数の文書のそれぞれについて、文書から抽出された単語列の当該文書内の優先度を優先度記憶手段に記憶する優先度記憶ステップと、前記優先度記憶手段を参照し、複数の文書のそれぞれについて、文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択ステップと、前記仮キーワード選択ステップにより選択された仮キーワードを、当該仮キーワードを含む文書と関連付けてキーワード記憶手段に記憶するステップと、前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出ステップと、前記算出した選択文書数を選択文書数記憶手段に記憶するステップと、前記選択文書数記憶手段を参照し、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が文書数に応じた所定の閾値を超えるか否かを判定するキーワード判定ステップと、前記キーワード判定ステップにより所定の閾値を超えると判定された場合に、当該仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように前記優先度記憶手段に記憶された優先度を補正する優先度補正ステップと、を含み、前記仮キーワード選択ステップは、前記優先度補正ステップにより更新された優先度に基づいて、再度、前記仮キーワードを選択し、前記キーワード判定ステップは、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が前記所定の閾値以下であると判定した場合に、前記キーワード記憶手段に記憶された仮キーワードをキーワードとして決定する。   The keyword selection method according to the fifth aspect of the present invention includes, for each of a plurality of documents, a priority storage step of storing, in a priority storage unit, a priority in the document of a word string extracted from the document; Referring to the priority storage means, for each of a plurality of documents, a temporary keyword selection step for selecting a word string having a high priority in the document as a temporary keyword, and the temporary keyword selected by the temporary keyword selection step A step of storing in a keyword storage means in association with a document including a temporary keyword, and calculating a number of selected documents, which is a total number of documents in which the temporary keyword is selected for each word string among the plurality of documents. A step of storing the calculated number of selected documents in the selected document number storage unit; and referring to the selected document number storage unit; A keyword determination step for determining whether or not the number of selected documents of the temporary keyword stored in the keyword storage means exceeds a predetermined threshold according to the number of documents, and it is determined by the keyword determination step that the predetermined threshold is exceeded. A priority correction step for correcting the priority stored in the priority storage means so as to lower the priority of the word string selected as the temporary keyword in each document in which the temporary keyword is selected; The temporary keyword selection step selects the temporary keyword again based on the priority updated by the priority correction step, and the keyword determination step stores the temporary keyword stored in the keyword storage means. When it is determined that the number of selected documents of a keyword is equal to or less than the predetermined threshold, the keyword storage unit Determining the stored provisional keyword as a keyword.

本発明の第6の態様にかかるキーワード選択プログラムは、複数の文書のそれぞれについて、文書から抽出された単語列の当該文書内の優先度を優先度記憶部に記憶する優先度記憶処理と、前記優先度記憶部を参照し、複数の文書のそれぞれについて、文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択処理と、前記仮キーワード選択処理により選択された仮キーワードを、当該仮キーワードを含む文書と関連付けてキーワード記憶部に記憶する処理と、前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出処理と、前記算出した選択文書数を選択文書数記憶部に記憶する処理と、前記選択文書数記憶部を参照し、前記キーワード記憶部に記憶された仮キーワードの前記選択文書数が文書数に応じた所定の閾値を超えるか否かを判定するキーワード判定処理と、前記キーワード判定処理により所定の閾値を超えると判定された場合に、当該仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように前記優先度記憶部に記憶された優先度を補正する優先度補正処理と、を含み、前記仮キーワード選択処理は、前記優先度補正処理により更新された優先度に基づいて、再度、前記仮キーワードを選択し、前記キーワード判定処理は、前記キーワード記憶部に記憶された仮キーワードの前記選択文書数が前記所定の閾値以下であると判定した場合に、前記キーワード記憶部に記憶された仮キーワードをキーワードとして決定することを特徴とする処理をコンピュータに実行させる。   The keyword selection program according to the sixth aspect of the present invention includes, for each of a plurality of documents, a priority storage process for storing, in a priority storage unit, the priority in the document of a word string extracted from the document, Referring to the priority storage unit, for each of a plurality of documents, the temporary keyword selection process for selecting a word string having a high priority in the document as a temporary keyword, and the temporary keyword selected by the temporary keyword selection process, A process of storing in a keyword storage unit in association with a document including a temporary keyword, and calculating a number of selected documents that calculates the number of selected documents that is the total number of documents in which the temporary keyword is selected for each word string among the plurality of documents. Processing, storing the calculated number of selected documents in the selected document number storage unit, referring to the selected document number storage unit, and storing the selected document number in the keyword storage unit When it is determined that the number of selected documents of the temporary keyword exceeds a predetermined threshold corresponding to the number of documents, and the keyword determination process determines that the temporary keyword exceeds the predetermined threshold, A priority correction process for correcting the priority stored in the priority storage unit so as to lower the priority of the word string selected as the temporary keyword in each selected document, and the temporary keyword The selection process selects the temporary keyword again based on the priority updated by the priority correction process, and the keyword determination process determines the number of selected documents of the temporary keyword stored in the keyword storage unit. The temporary keyword stored in the keyword storage unit is determined as a keyword when it is determined that the threshold is equal to or less than the predetermined threshold. To execute processing for the computer.

本発明により、複数の文書のそれぞれに含まれる複数の単語列の中から各文書のキーワードを高精度に選択することができるキーワード選択装置、方法、プログラム及びシステムを提供することができる。   According to the present invention, it is possible to provide a keyword selection device, method, program, and system that can select a keyword of each document from a plurality of word strings included in each of the plurality of documents with high accuracy.

本発明の実施の形態1にかかるキーワード選択装置の構成を示すブロック図である。It is a block diagram which shows the structure of the keyword selection apparatus concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるキーワード選択処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the keyword selection process concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる優先度補正処理前における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword before the priority correction process concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる優先度補正処理後における単語列とキーワードの例を示す図である。It is a figure which shows the example of the word string and keyword after the priority correction process concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる単語列と選択文書数の例を示す図である。It is a figure which shows the example of the word string and the number of selection documents concerning Embodiment 1 of this invention. 本発明の実施の形態2にかかるキーワード選択システムの構成を示すブロック図である。It is a block diagram which shows the structure of the keyword selection system concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル1における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 1 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル2における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 2 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル3における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 3 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル4における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 4 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル5における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 5 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル6における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 6 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル7における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 7 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるキーワード選択処理のサイクル8における単語列と仮キーワードの例を示す図である。It is a figure which shows the example of the word string and temporary keyword in the cycle 8 of the keyword selection process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる単語列と選択文書数の例を示す図である。It is a figure which shows the example of the word string and the number of selection documents concerning Embodiment 2 of this invention. 本発明の実施の形態3にかかるキーワード選択システムの構成を示すブロック図である。It is a block diagram which shows the structure of the keyword selection system concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかるキーワード選択処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the keyword selection process concerning Embodiment 3 of this invention.

以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description will be omitted as necessary for the sake of clarity.

<発明の実施の形態1>
図1は、本発明の実施の形態1にかかるキーワード選択装置1の構成を示すブロック図である。キーワード選択装置1は、仮キーワード選択手段11と、選択文書数算出手段12と、優先度補正手段13と、キーワード選択手段14とを備える。
<Embodiment 1 of the Invention>
FIG. 1 is a block diagram showing a configuration of a keyword selection device 1 according to the first exemplary embodiment of the present invention. The keyword selection device 1 includes a temporary keyword selection unit 11, a selected document number calculation unit 12, a priority correction unit 13, and a keyword selection unit 14.

仮キーワード選択手段11は、複数の文書のそれぞれについて、各文書から少なくとも一つ以上抽出された単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する。つまり、複数の文書ごとに仮キーワードが選択される。尚、文書には、少なくとも一つ以上の単語列が含まれていればよい。また、当該単語列は、各文書から予め抽出されているものとする。また、単語列には、予め優先度が設定されているものとする。ここで、優先度とは、例えば、tf/idf等の大小関係により定まる当該文書内における優先順位であるとよい。尚、優先度は、tf/idf及び優先順位に限定されない。例えば、優先度は、数値で表現され、優先度の大小で順位が判別可能なものであっても構わない。   The temporary keyword selection unit 11 selects, as a temporary keyword, a word string having a high priority in the document among at least one word string extracted from each document for each of a plurality of documents. That is, a temporary keyword is selected for each of a plurality of documents. The document only needs to include at least one word string. In addition, it is assumed that the word string is extracted from each document in advance. Further, it is assumed that priorities are set in advance for the word strings. Here, the priority may be, for example, a priority order in the document determined by a magnitude relationship such as tf / idf. The priority is not limited to tf / idf and priority. For example, the priority may be expressed by a numerical value, and the order can be determined by the magnitude of the priority.

また、仮キーワード選択手段11は、一つの文書あたり仮キーワードを複数選択しても構わない。例えば、仮キーワード選択手段11は、文書から抽出された複数の単語列の内、優先度の高い単語列から上位M個を仮キーワードとして選択するとよい。または、仮キーワード選択手段11は、複数の単語列の内、優先度が文書内の単語列の総数の上位M%を仮キーワードとして選択してもよい。つまり、仮キーワード選択手段11は、選択する仮キーワードの数を文書ごとに異なるようにしてもよい。   The temporary keyword selection unit 11 may select a plurality of temporary keywords per document. For example, the temporary keyword selection means 11 may select the top M words from the word strings with high priority among the plurality of word strings extracted from the document as the temporary keywords. Alternatively, the temporary keyword selection unit 11 may select the upper M% of the total number of word strings in the document among the plurality of word strings as the temporary keyword. That is, the temporary keyword selection unit 11 may change the number of temporary keywords to be selected for each document.

選択文書数算出手段12は、複数の文書の内、単語列毎の仮キーワードが選択された文書の総数である選択文書数を算出する。言い換えると、仮キーワードと同じ単語列を含む文書であっても、当該文書において当該単語列が仮キーワードとして選択されていない場合には、当該文書は、当該仮キーワードの選択文書数に含まれない。   The selected document number calculation means 12 calculates the number of selected documents, which is the total number of documents in which a temporary keyword for each word string is selected from among a plurality of documents. In other words, even if the document includes the same word string as the temporary keyword, if the word string is not selected as the temporary keyword in the document, the document is not included in the number of selected documents of the temporary keyword. .

優先度補正手段13は、選択文書数が文書数に応じた所定の閾値(N)を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が所定の閾値(N)以下となるように補正する。ここで、文書数に応じた所定の閾値(N)とは、例えば、複数の文書の総数に対する絶対的な数値であるか、相対的な値、つまり、一定の割合であるとよい。尚、上述したM及びNは、予め利用者により設定され、キーワード選択装置1内の記憶装置(不図示)内に格納済みとする。   When the number of selected documents exceeds a predetermined threshold (N) corresponding to the number of documents, the priority correction unit 13 prioritizes at least some of the word strings in each word string in which the temporary keyword is selected. Is corrected so that the number of selected documents is equal to or less than a predetermined threshold (N). Here, the predetermined threshold value (N) according to the number of documents is, for example, an absolute numerical value with respect to the total number of documents, or a relative value, that is, a constant ratio. Note that M and N described above are set in advance by the user and stored in a storage device (not shown) in the keyword selection device 1.

また、優先度を選択文書数がN以下となるように補正するとは、次のことを示す。まず、ある文書における複数の単語列の内、少なくとも一部の単語列の優先度を補正することにより、当該文書において、仮キーワード選択手段11が行われた場合に仮キーワードとして選択され得る単語列が変更される。そして、仮キーワードとして選択され得る単語列が変更される場合、選択文書数算出手段12が行われた場合の選択文書数が変更される。つまり、優先度を選択文書数がN以下となるように補正するとは、仮キーワードとして選択される単語列を変更するように優先度を補正すると言える。   Further, correcting the priority so that the number of selected documents is N or less indicates the following. First, by correcting the priority of at least a part of a plurality of word strings in a document, the word string that can be selected as a temporary keyword in the document when the temporary keyword selection unit 11 is performed. Is changed. When the word string that can be selected as the temporary keyword is changed, the number of selected documents when the selected document number calculation unit 12 is performed is changed. In other words, correcting the priority so that the number of selected documents is N or less can be said to correct the priority so as to change the word string selected as the temporary keyword.

例えば、優先度補正手段13は、仮キーワードとして選択された単語列の優先度を低く補正することが望ましい。すなわち、優先度補正手段13は、仮キーワードとして選択された単語列の優先度を、選択文書数がN以下となるように低く補正することが望ましい。これにより、当該仮キーワードとして選択された単語列は、当該文書において優先度が相対的に低くなるため、仮キーワードとして選択されないようにすることができる。そして、この場合、当該選択文書数が減少することとなるため、選択文書数がN以下となる。   For example, it is desirable that the priority correction unit 13 corrects the priority of the word string selected as the temporary keyword to be low. That is, it is desirable that the priority correction unit 13 corrects the priority of the word string selected as the temporary keyword so that the number of selected documents is N or less. As a result, the word string selected as the temporary keyword has a relatively low priority in the document, so that it can be prevented from being selected as the temporary keyword. In this case, since the number of selected documents is reduced, the number of selected documents is N or less.

または、優先度補正手段13は、選択文書数がNを超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が低い単語列の優先度を高く補正することが望ましい。これにより、当該優先度が低い単語列は、当該文書において優先度が相対的に高くなるため、当該仮キーワードとして選択された単語列が仮キーワードとして選択されないようにすることができる。そして、この場合、当該の選択文書数が減少することとなるため、選択文書数がN以下となる。   Alternatively, the priority correction unit 13 may correct the priority of the word string having a lower priority than the word string selected as the temporary keyword among the word strings other than the temporary keyword with the number of selected documents exceeding N. desirable. As a result, the word string having the low priority has a relatively high priority in the document, and therefore, the word string selected as the temporary keyword can be prevented from being selected as the temporary keyword. In this case, since the number of selected documents is reduced, the number of selected documents is N or less.

さらに、優先度補正手段13は、選択文書数がNを超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が一つ低い単語列の優先度と、当該仮キーワードとして選択された単語列の優先度とを入れ替えて補正することが望ましい。つまり、仮キーワードとして選択された単語列の優先度を1つ下げ、優先度が低い単語列の優先度を1つ上げる。これにより、当該仮キーワードとして選択された単語列は、当該文書において優先度が相対的に低くなるため、当該仮キーワードとして選択された単語列が仮キーワードとして選択されないようにすることができる。そして、この場合、当該の選択文書数が減少することとなるため、選択文書数がN以下となる。   Further, the priority correction unit 13 selects the priority of the word string having a priority one lower than the word string selected as the temporary keyword among the word strings other than the temporary keyword with the number of selected documents exceeding N, and the temporary document It is desirable to correct by exchanging the priority of the word string selected as the keyword. That is, the priority of the word string selected as the temporary keyword is lowered by one, and the priority of the word string having a low priority is raised by one. As a result, since the word string selected as the temporary keyword has a relatively low priority in the document, the word string selected as the temporary keyword can be prevented from being selected as the temporary keyword. In this case, since the number of selected documents is reduced, the number of selected documents is N or less.

さらに、優先度補正手段13は、当該仮キーワードとして選択された単語列の優先度を低く補正することにより、当該文書内において当該単語列が仮キーワードとして選択されなくなる場合、当該文書から抽出された複数の単語列から当該仮キーワードとして選択された単語列を削除することが望ましい。これにより、一旦、仮キーワードから外れた単語列が、当該単語列が他の単語列の優先度が下がることにより、再度、仮キーワードとして選択されることを防ぎ、キーワード選択の精度を高めることができる。   Further, the priority correction unit 13 corrects the priority of the word string selected as the temporary keyword to be low, and if the word string is not selected as the temporary keyword in the document, the priority correction unit 13 is extracted from the document. It is desirable to delete a word string selected as the temporary keyword from a plurality of word strings. As a result, once the word string deviating from the temporary keyword is prevented from being selected again as a temporary keyword by lowering the priority of the other word strings, the accuracy of keyword selection can be improved. it can.

キーワード選択手段14は、複数の文書のそれぞれについて、補正された優先度に基づいてキーワードを選択する。例えば、キーワード選択手段14は、優先度補正手段13により優先度が補正された後、複数の文書のそれぞれについて、各文書から抽出された複数の単語列の内、当該文書内の補正後の優先度が高い単語列をキーワードとして選択する。つまり、優先度補正手段13による優先度の補正により、複数の文書における仮キーワードの選択文書数がN以下に収まり、どの仮キーワードも一部の文書においてのみ優先度が高い状態となる。そのため、各文書において優先度の高い単語列は、当該文書を代表する単語列であるキーワードであると言える。   The keyword selection means 14 selects a keyword based on the corrected priority for each of a plurality of documents. For example, after the priority is corrected by the priority correction unit 13, the keyword selection unit 14 performs priority after correction in the document among a plurality of word strings extracted from each document for each of the plurality of documents. A word string having a high degree is selected as a keyword. That is, due to the priority correction by the priority correction means 13, the number of selected temporary keyword documents in a plurality of documents falls below N, and all the temporary keywords have a high priority only in some documents. Therefore, it can be said that a word string having a high priority in each document is a keyword that is a word string representing the document.

図2は、本発明の実施の形態1にかかるキーワード選択処理の流れを示すフローチャート図である。まず、仮キーワード選択手段11は、複数の文書のそれぞれについて、各文書から抽出された複数の単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する(S11)。次に、選択文書数算出手段12は、複数の文書の内、単語列毎の仮キーワードが選択された文書の総数である選択文書数を算出する(S12)。そして、優先度補正手段13は、選択文書数が文書数に応じた所定の閾値を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が所定の閾値以下となるように補正する(S13)。その後、キーワード選択手段14は、複数の文書のそれぞれについて、補正された優先度に基づいてキーワードを選択する(S14)。   FIG. 2 is a flowchart showing a keyword selection process according to the first embodiment of the present invention. First, the temporary keyword selection unit 11 selects, for each of a plurality of documents, a word string having a high priority in the document among a plurality of word strings extracted from each document as a temporary keyword (S11). Next, the selected document number calculation means 12 calculates the number of selected documents, which is the total number of documents in which the temporary keyword for each word string is selected from among a plurality of documents (S12). Then, when the number of selected documents exceeds a predetermined threshold according to the number of documents, the priority correction unit 13 sets the priority of at least a part of the word strings in the word strings in each document for which the temporary keyword is selected. The number of selected documents is corrected so as to be equal to or less than a predetermined threshold (S13). Thereafter, the keyword selecting unit 14 selects a keyword based on the corrected priority for each of the plurality of documents (S14).

ここで、本発明の実施の形態1にかかるキーワード選択処理の例を示す。図3は、本発明の実施の形態1にかかる優先度補正処理前における単語列と仮キーワードの例を示す図である。尚、ここでは、M=5、N=3の例で説明する。まず、複数の文書d1乃至d4には、それぞれ単語列A、B、・・・、Jが含まれるものとする。また、予め、単語列A、B、・・・、Jには、文書毎に優先度が設定されているものとする。そして、図3では、文書d1乃至d4のそれぞれについて、単語列の優先度が高いものが左、低いものが右となるように並べられている。   Here, an example of keyword selection processing according to the first exemplary embodiment of the present invention will be described. FIG. 3 is a diagram illustrating an example of a word string and a temporary keyword before the priority correction process according to the first embodiment of the present invention. Here, an example where M = 5 and N = 3 will be described. First, it is assumed that the plurality of documents d1 to d4 include word strings A, B,. Further, it is assumed that priorities are set in advance for each document in the word strings A, B,. In FIG. 3, the documents d1 to d4 are arranged such that the word strings with high priority are on the left, and the documents with low priority are on the right.

このとき、仮キーワード選択手段11は、M=5であるため、文書d1の単語列の内、優先度が上位5番目までの単語列A、B、C、D及びEを仮キーワードとして選択する。同様に、仮キーワード選択手段11は、文書d2乃至d4の仮キーワードを選択する。その結果、ステップS11において、仮キーワード群VKが選択されることとなる。   At this time, since the temporary keyword selection means 11 is M = 5, the word strings A, B, C, D and E having the highest priority among the word strings of the document d1 are selected as temporary keywords. . Similarly, the temporary keyword selection unit 11 selects temporary keywords for the documents d2 to d4. As a result, the temporary keyword group VK is selected in step S11.

次に、選択文書数算出手段12は、単語列ごとに選択文書数を算出する。図5は、本発明の実施の形態1にかかる単語列と選択文書数の例を示す図である。ここでは、比較のため、全ての単語列A乃至Jについての選択文書数を算出した場合を示す。例えば、単語列Aが仮キーワードとして選択された文書は、文書d1及びd4の2つであるため、単語列Aの選択文書数は、"2"である。ここで、単語列Eの選択文書数は、"4"であり、図3において網掛けで示す。つまり、単語列Eは、文書d1乃至d4の全てに仮キーワードとして選択されている。そのため、単語列Eは、文書d1乃至d4のそれぞれの差異を表す単語列とは言えないため、精度の低いキーワードと言える。   Next, the selected document number calculation means 12 calculates the number of selected documents for each word string. FIG. 5 is a diagram showing an example of the word string and the number of selected documents according to the first embodiment of the present invention. Here, for comparison, a case is shown in which the number of selected documents for all word strings A to J is calculated. For example, since there are two documents d1 and d4 in which the word string A is selected as a temporary keyword, the number of selected documents in the word string A is “2”. Here, the number of selected documents of the word string E is “4”, which is indicated by shading in FIG. That is, the word string E is selected as a temporary keyword for all of the documents d1 to d4. For this reason, the word string E cannot be said to be a word string representing the differences between the documents d1 to d4, and thus can be said to be a low-accuracy keyword.

ここで、優先度補正手段13は、図5に示す選択文書数の内、単語列Eの選択文書数"4"が3を超えるため、仮キーワードとして選択された文書d1乃至d4の単語列Eの優先度と、単語列Eの一つ下位の優先度の単語列とを入れ替えることにより優先度を補正する。例えば、優先度補正手段13は、文書d1の単語列Eと単語列Fとの優先度を入れ替える。同様に、優先度補正手段13は、文書d2乃至d4について優先度を補正する。尚、このとき、優先度補正手段13は、単語列Eの優先度のみを下げてもよい。または、優先度補正手段13は、単語列Eより優先度が下位の単語列の優先度を上げてもよい。また、このとき、単語列Eを文書d1の単語列の集合から削除してもよい。もしくは、単語列Eを文書d1内で、優先度を最下位としても構わない。   Here, since the number of selected documents “4” of the word string E exceeds 3 among the number of selected documents shown in FIG. 5, the priority correction unit 13 determines the word strings E of the documents d1 to d4 selected as temporary keywords. The priority is corrected by exchanging the priority and the word string of the priority one lower than the word string E. For example, the priority correction unit 13 swaps the priorities of the word string E and the word string F of the document d1. Similarly, the priority correction unit 13 corrects the priority for the documents d2 to d4. At this time, the priority correction means 13 may reduce only the priority of the word string E. Alternatively, the priority correction unit 13 may increase the priority of a word string having a lower priority than the word string E. At this time, the word string E may be deleted from the set of word strings in the document d1. Alternatively, the word string E may be set to the lowest priority in the document d1.

図4は、本発明の実施の形態1にかかる優先度補正手段13による優先度補正処理後における単語列とキーワードの例を示す図である。また、図4において、仮キーワードとして選択されるべき単語列について、選択文書数を算出した場合、図5の補正後の選択文書数となる。すなわち、単語列Eの優先度補正後の選択文書数は、"3"となる。すなわち、優先度補正手段13は、単語列Eの選択文書数が3以下となるように補正したこととなる。   FIG. 4 is a diagram illustrating an example of a word string and keywords after priority correction processing by the priority correction unit 13 according to the first embodiment of the present invention. In FIG. 4, when the number of selected documents is calculated for a word string to be selected as a temporary keyword, the number of selected documents after correction in FIG. 5 is obtained. That is, the number of selected documents after the priority correction of the word string E is “3”. In other words, the priority correction unit 13 has corrected the number of selected documents in the word string E to be 3 or less.

ここで、キーワード選択手段14は、図4に示す補正後の優先度に基づいて、キーワード群RKを選択する。キーワード群RKは、いずれも選択文書数が3以下である。特に、単語列Eは、優先度補正前に比べて、文書d1からは選択されていない。そのため、単語列Eも他の選択された単語列と同様に、各文書におけるキーワードとしての精度が高くなったと言える。   Here, the keyword selection means 14 selects the keyword group RK based on the corrected priority shown in FIG. In any of the keyword groups RK, the number of selected documents is 3 or less. In particular, the word string E is not selected from the document d1 compared to before the priority correction. For this reason, it can be said that the word string E is also highly accurate as a keyword in each document, like the other selected word strings.

このように、本発明の実施の形態1により、複数の文書のそれぞれに含まれる複数の単語列の中から各文書のキーワードを高精度に選択することができる。   As described above, according to the first embodiment of the present invention, it is possible to select a keyword of each document from a plurality of word strings included in each of a plurality of documents with high accuracy.

<発明の実施の形態2>
図6は、本発明の実施の形態2にかかるキーワード選択システム2の構成を示すブロック図である。尚、キーワード選択システム2は、上述した本発明の実施の形態1にかかるキーワード選択装置1をコンピュータシステムに適用したものであってもよい。キーワード選択システム2は、プログラム制御により動作するデータ処理装置20と、情報を記憶する記憶装置30とを備える。データ処理装置20は、仮キーワード選択手段21と、選択文書数算出手段22と、キーワード判定手段23と、優先度補正手段24とを備える。
<Embodiment 2 of the Invention>
FIG. 6 is a block diagram showing a configuration of the keyword selection system 2 according to the second exemplary embodiment of the present invention. The keyword selection system 2 may be one in which the keyword selection device 1 according to the first embodiment of the present invention described above is applied to a computer system. The keyword selection system 2 includes a data processing device 20 that operates under program control, and a storage device 30 that stores information. The data processing device 20 includes a temporary keyword selection unit 21, a selected document number calculation unit 22, a keyword determination unit 23, and a priority correction unit 24.

仮キーワード選択手段21は、複数の文書のそれぞれについて、文書内の優先度が高い(M以上の)単語列を仮キーワードとして選択する。選択文書数算出手段22は、複数の文書の内、単語列毎の仮キーワードが選択された文書の総数である選択文書数を算出する。キーワード判定手段23は、仮キーワードの選択文書数が文書数に応じた所定の閾値(N)を超えるか否かを判定する。キーワード判定手段23は、仮キーワードの選択文書数がN以下であると判定した場合に、仮キーワードをキーワードとして決定する。   The temporary keyword selection means 21 selects a word string having a high priority (M or higher) in the document as a temporary keyword for each of a plurality of documents. The selected document number calculation means 22 calculates the number of selected documents, which is the total number of documents in which a temporary keyword for each word string is selected from among a plurality of documents. The keyword determination means 23 determines whether or not the number of selected documents for the temporary keyword exceeds a predetermined threshold (N) corresponding to the number of documents. The keyword determination unit 23 determines the temporary keyword as a keyword when determining that the number of selected documents for the temporary keyword is N or less.

優先度補正手段24は、キーワード判定手段23によりNを超えると判定された場合に、仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように優先度を補正する。この後、仮キーワード選択手段21は、優先度補正手段24により更新された優先度に基づいて、再度、仮キーワードを選択する。   The priority correction unit 24 gives priority to lower the priority of the word string selected as the temporary keyword in each document in which the temporary keyword is selected when the keyword determination unit 23 determines that N is exceeded. Correct the degree. Thereafter, the temporary keyword selection unit 21 selects the temporary keyword again based on the priority updated by the priority correction unit 24.

記憶装置30は、優先度記憶部31と、選択文書記憶部32と、キーワード記憶部33とを備える。記憶装置30は、メモリ等の主記憶装置やハードディスク等の補助記憶装置で実現される。   The storage device 30 includes a priority storage unit 31, a selected document storage unit 32, and a keyword storage unit 33. The storage device 30 is realized by a main storage device such as a memory or an auxiliary storage device such as a hard disk.

優先度記憶部31は、複数の文書のそれぞれについて、文書に含まれる単語列の当該文書内の優先度を記憶する。尚、単語列は、文書から予め抽出済みであるものとする。選択文書記憶部32は、選択文書数算出手段22が算出した選択文書数を記憶する。キーワード記憶部33は、仮キーワード選択手段21により選択された仮キーワードを、当該仮キーワードを含む文書と関連付けて記憶する。   The priority storage unit 31 stores, for each of a plurality of documents, the priority within the document of the word string included in the document. It is assumed that the word string has already been extracted from the document. The selected document storage unit 32 stores the number of selected documents calculated by the selected document number calculating unit 22. The keyword storage unit 33 stores the temporary keyword selected by the temporary keyword selection unit 21 in association with the document including the temporary keyword.

尚、本発明の実施の形態2では、複数の文書の例として体系化文書セットを対象とした場合について説明する。ここで、体系化文書セットとは、編集者あるいは作成者の全体管理の基に作成された文書セットを意味する。例えば、1つの電子マニュアルや1つのWebサイトが体系化文書セットに該当する。この場合、電子マニュアルの1節、あるいは、Webサイトの1ページが1文書に該当する。   In the second embodiment of the present invention, a case where a systematic document set is targeted as an example of a plurality of documents will be described. Here, the systematic document set means a document set created based on the overall management of the editor or creator. For example, one electronic manual or one Web site corresponds to the systematic document set. In this case, one section of the electronic manual or one page of the website corresponds to one document.

尚、複数の文書は、体系化文書セットに限定されず、任意の文書セットであってもよい。但し、体系化文書セットは、同一のトピックが分散しないように整理されて記述されている可能性が高いという特徴がある。そのため、本発明の実施の形態2では、複数の文書が体系化文書セットである場合、上述した特徴に注目することにより、その文書の内容を代表する単語列であるキーワードを選択する。これにより、トピックのキーワードとして選択される文書数を制約として加えることにより、体系化文書から高精度にトピックキーワードを選択できる。   The plurality of documents is not limited to the systematic document set, and may be an arbitrary document set. However, the structured document set has a feature that there is a high possibility that the same topic is described so as not to be distributed. Therefore, in the second embodiment of the present invention, when a plurality of documents is a systematic document set, a keyword that is a word string representing the contents of the document is selected by paying attention to the above-described features. Thereby, the topic keyword can be selected from the systematized document with high accuracy by adding the number of documents selected as the topic keyword as a restriction.

Nの値は、理想的な体系化文書セットを対象とする場合はN=1である。理想的な体系化文書セットでは、一つのトピックは一つの文書(節)に重複なく記載されるはずだからである。但し、現実的には、完全に体系化された文書セットは少なく、ある程度のトピックの重複は有り得ると考えられるため、1より若干大きい値(例えば、N=5)を設定するのが良い。また、文書セットに登録された文書数とトピックの重複には相関があると考えて、Nを個数ではなく文書に含まれる単語列の総数に対する割合(例えば、1%)としても良い。   The value of N is N = 1 when an ideal structured document set is targeted. This is because in an ideal structured document set, one topic should be described in one document (section) without duplication. However, in reality, there are few completely systematized document sets, and it is considered that there may be a certain degree of topic overlap, so it is preferable to set a value slightly larger than 1 (for example, N = 5). Further, considering that there is a correlation between the number of documents registered in the document set and the overlap of topics, N may be a ratio (for example, 1%) to the total number of word strings included in the document instead of the number.

キーワード選択システム2におけるキーワード選択処理の方針は、以下のように優先度記憶部31に格納された優先度をなるべく維持しつつ、体系化文書セット全体で同じ単語列が選択される文書数がN以下になるように最小限の変更を行うことである。   The keyword selection policy in the keyword selection system 2 is such that the number of documents in which the same word string is selected in the entire structured document set is N while maintaining the priority stored in the priority storage unit 31 as much as possible. Minimal changes to be made:

図7は、本発明の実施の形態2にかかるキーワード選択処理の流れを示すフローチャート図である。まず、仮キーワード選択手段21は、仮キーワードを選択する(S21)。具体的には、仮キーワード選択手段21は、優先度記憶部31を参照し、複数の文書のそれぞれについて、文書内の優先度が高い単語列を仮キーワードとして選択する。そして、仮キーワード選択手段21は、選択された仮キーワードを、当該仮キーワードを含む文書と関連付けてキーワード記憶部33に記憶する。   FIG. 7 is a flowchart showing a keyword selection process according to the second embodiment of the present invention. First, the temporary keyword selection means 21 selects a temporary keyword (S21). Specifically, the temporary keyword selection unit 21 refers to the priority storage unit 31 and selects a word string having a high priority in the document as a temporary keyword for each of a plurality of documents. Then, the temporary keyword selection unit 21 stores the selected temporary keyword in the keyword storage unit 33 in association with the document including the temporary keyword.

次に、選択文書数算出手段22は、選択文書数を算出する(S22)。具体的には、選択文書数算出手段22は、複数の文書の内、単語列毎の仮キーワードが選択された文書の総数である選択文書数を算出する。そして、選択文書数算出手段22は、算出した選択文書数を選択文書記憶部32に記憶する。   Next, the selected document number calculation means 22 calculates the number of selected documents (S22). Specifically, the selected document number calculation unit 22 calculates the number of selected documents, which is the total number of documents in which a temporary keyword for each word string is selected from among a plurality of documents. Then, the selected document number calculating unit 22 stores the calculated selected document number in the selected document storage unit 32.

そして、キーワード判定手段23は、選択文書数が閾値Nを超えるか否かを判定する(S23)。具体的には、キーワード判定手段23は、選択文書記憶部32を参照し、キーワード記憶部33に記憶された各仮キーワードの選択文書数がNを超えるか否かを判定する。ステップS23において、選択文書数が閾値Nを超えると判定した場合、優先度補正手段24は、優先度を補正する(S24)。具体的には、優先度補正手段24は、仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように優先度記憶部31に記憶された優先度を補正する。その後、ステップS21へ戻る。すなわち、仮キーワード選択手段21は、ステップS24により更新された優先度に基づいて、再度、仮キーワードを選択する。その後、ステップS23において全ての選択文書数がN以下となるまでステップS21乃至S24を繰り返す。   Then, the keyword determination unit 23 determines whether or not the number of selected documents exceeds the threshold value N (S23). Specifically, the keyword determining unit 23 refers to the selected document storage unit 32 and determines whether or not the number of selected documents for each temporary keyword stored in the keyword storage unit 33 exceeds N. If it is determined in step S23 that the number of selected documents exceeds the threshold value N, the priority correction unit 24 corrects the priority (S24). Specifically, the priority correction unit 24 stores the priority stored in the priority storage unit 31 so as to lower the priority of the word string selected as the temporary keyword in each document in which the temporary keyword is selected. Correct. Then, it returns to step S21. That is, the temporary keyword selection unit 21 selects a temporary keyword again based on the priority updated in step S24. Thereafter, steps S21 to S24 are repeated until the number of all selected documents becomes N or less in step S23.

ステップS23において、選択文書数が閾値N以下と判定した場合、キーワード判定手段23は、選択された仮キーワードをキーワードとして決定する(S25)。具体的には、キーワード判定手段23は、選択文書記憶部32に記憶された仮キーワードの選択文書数がN以下であると判定した場合に、キーワード記憶部33に記憶された仮キーワードをキーワードとして決定する。   If it is determined in step S23 that the number of selected documents is equal to or less than the threshold value N, the keyword determination unit 23 determines the selected temporary keyword as a keyword (S25). Specifically, when the keyword determination unit 23 determines that the number of selected documents of the temporary keyword stored in the selected document storage unit 32 is N or less, the temporary keyword stored in the keyword storage unit 33 is used as a keyword. decide.

上述した本発明の実施の形態1にかかる図3、図4及び図5の例では、N=3としたため、1回の優先度補正処理で全ての仮キーワードの選択文書数が3以下となったが、N=2とした場合は、キーワード選択システム2を適用することより効果が顕著となる。そこで、以下では、N=2の場合における適用例を説明する。   In the example of FIGS. 3, 4 and 5 according to the first embodiment of the present invention described above, since N = 3, the number of selected documents for all temporary keywords is 3 or less in one priority correction process. However, when N = 2, the effect becomes more significant by applying the keyword selection system 2. Therefore, an application example in the case of N = 2 will be described below.

図8は、本発明の実施の形態2にかかるキーワード選択処理のサイクル1における単語列と仮キーワードの例を示す図である。尚、ここでは、M=5、N=2が設定されているものとする。図8は、図3と同様に、複数の文書d1乃至d4には、それぞれ単語列A、B、・・・、Jが含まれるものとする。また、予め、単語列A、B、・・・、Jには、文書毎に優先度が設定されているものとする。そして、図8では、文書d1乃至d4のそれぞれについて、単語列の優先度が高いものが左、低いものが右となるように並べられている。そして、図8を初期状態、つまり、サイクル1とする。   FIG. 8 is a diagram showing an example of word strings and temporary keywords in the cycle 1 of the keyword selection process according to the second exemplary embodiment of the present invention. Here, it is assumed that M = 5 and N = 2 are set. In FIG. 8, as in FIG. 3, the plurality of documents d1 to d4 include word strings A, B,. Further, it is assumed that priorities are set in advance for each document in the word strings A, B,. In FIG. 8, the documents d1 to d4 are arranged such that the word strings with the higher priority are on the left and the documents with the lower priority are on the right. FIG. 8 shows the initial state, that is, cycle 1.

このとき、仮キーワード選択手段21は、M=5であるため、文書d1の単語列の内、優先度が上位5番目までの単語列A、B、C、D及びEを仮キーワードとして選択する。同様に、仮キーワード選択手段21は、文書d2乃至d4の仮キーワードを選択する。その結果、ステップS21において、仮キーワード群V1が選択されることとなる。   At this time, since the temporary keyword selection means 21 is M = 5, the word strings A, B, C, D and E having the highest priority among the word strings of the document d1 are selected as temporary keywords. . Similarly, the temporary keyword selection unit 21 selects temporary keywords for the documents d2 to d4. As a result, the temporary keyword group V1 is selected in step S21.

次に、選択文書数算出手段22は、単語列ごとに選択文書数を算出する。図16は、本発明の実施の形態2にかかる単語列と選択文書数の例を示す図である。ここでは、比較のため、全ての単語列A乃至Jについての選択文書数を算出した場合を示す。例えば、単語列Aが仮キーワードとして選択された文書は、文書d1及びd4の2つであるため、単語列Aの選択文書数は、"2"である。   Next, the selected document number calculation means 22 calculates the number of selected documents for each word string. FIG. 16 is a diagram showing an example of word strings and the number of selected documents according to the second embodiment of the present invention. Here, for comparison, a case is shown in which the number of selected documents for all word strings A to J is calculated. For example, since there are two documents d1 and d4 in which the word string A is selected as a temporary keyword, the number of selected documents in the word string A is “2”.

ここで、キーワード判定手段23は、図16に示す選択文書数の内、2を超えるものが存在するか否かを判定する。ここでは、単語列B、C、D及びEの4つが該当し、図8において、網掛けで示す。そのため、ステップS24へ進み、優先度補正手段24は、選択文書数がNを超える単語列と一つ下位の単語列Fとの優先度を入れ替える。また、選択文書数がN以上の単語列が連続する場合は、優先度が低い単語列から入れ替える。例えば、文書d1では、選択文書数が2以上の単語列がB、C、D及びEと連続する。この場合、まず、単語列Eと単語列Fとを入れ替え、次に、単語列Fと単語列Dとを入れ替え、続いて、単語列Fと単語列Cとを入れ替え、さらに、単語列Fと単語列Bとを入れ替える。文書d2乃至d4についても同様に入れ替えを行う。その結果、図9に示す優先度となる。   Here, the keyword determination unit 23 determines whether there are more than two of the selected documents shown in FIG. Here, four word strings B, C, D, and E correspond to each other and are indicated by shading in FIG. Therefore, the process proceeds to step S24, and the priority correction unit 24 swaps the priorities of the word string in which the number of selected documents exceeds N and the word string F one level lower. In addition, when word strings having N or more selected documents continue, the word strings with lower priority are replaced. For example, in the document d1, a word string having two or more selected documents continues to B, C, D, and E. In this case, first, the word string E and the word string F are exchanged, then the word string F and the word string D are exchanged, and then the word string F and the word string C are exchanged. The word string B is replaced. The documents d2 to d4 are similarly replaced. As a result, the priority shown in FIG. 9 is obtained.

尚、優先度補正手段24は、上述したような入れ替えに限定されない。例えば、優先度補正手段24は、選択文書数がN以上の単語列が連続する場合は、連続する単語列を一まとまりとして、当該連続する単語列の一つ下位の優先度の単語列と優先度を入れ替えても良い。つまり、文書d1の場合、単語列B、C、D及びEと単語列Fとを入れ替えてもよい。または、入れ替えを行わず、選択文書数がN以上の単語列の優先度のみを下げても良い。つまり、単語列B、C、D及びEの優先度を単語列Fの下位となるように補正してもよい。もしくは、選択文書数がN以上の単語列の優先度を補正せず、当該連続する単語列の一つ下位の優先度の単語列の優先度のみを補正してもよい。つまり、単語列Fの優先度のみを単語列B、C、D及びEの優先度の上位となるように補正してもよい。   The priority correction unit 24 is not limited to the replacement as described above. For example, when word strings having N or more selected documents are consecutive, the priority correction unit 24 takes the consecutive word strings as a group and gives priority to a word string having a priority lower than the continuous word string. You may change the degree. That is, in the case of the document d1, the word strings B, C, D, and E and the word string F may be interchanged. Alternatively, it is possible to reduce only the priority of a word string having N or more selected documents without replacing. That is, the priority of the word strings B, C, D, and E may be corrected to be lower than the word string F. Alternatively, it is possible to correct only the priority of a word string having a priority one level lower than the continuous word string without correcting the priority of a word string having the number of selected documents of N or more. That is, you may correct | amend only the priority of the word string F so that it may become the high priority of the word strings B, C, D, and E.

さらに、優先度補正手段24は、当該仮キーワードとして選択された単語列の優先度を低く補正することにより、当該文書内において当該単語列が仮キーワードとして選択されなくなる場合、当該文書から抽出された複数の単語列から当該仮キーワードとして選択された単語列を削除することが望ましい。例えば、文書d1における単語列Eは、優先度を下げることにより、優先度がM未満となり、仮キーワードとして選択されなくなる。そのため、優先度補正手段24は、単語列Eを文書d1の単語列集合から削除する。これにより、以後、単語列Eは文書d1において、優先度M以上となることはなくなるため、キーワードとして選択されなくなり、精度を高めることができる。   Furthermore, the priority correction unit 24 corrects the priority of the word string selected as the temporary keyword so that the word string is not selected as the temporary keyword in the document and is extracted from the document. It is desirable to delete a word string selected as the temporary keyword from a plurality of word strings. For example, the word string E in the document d1 has a priority lower than M by lowering the priority, and is not selected as a temporary keyword. Therefore, the priority correction unit 24 deletes the word string E from the word string set of the document d1. As a result, the word string E will no longer be higher than the priority M in the document d1, so that it is not selected as a keyword, and the accuracy can be improved.

図9は、本発明の実施の形態2にかかるキーワード選択処理のサイクル2における単語列と仮キーワードの例を示す図である。続いて、サイクル2となり、仮キーワード選択手段21は、図9の単語列について、仮キーワード群V2を選択する。また、選択文書数算出手段22は、図16のサイクル2の選択文書数を算出する。   FIG. 9 is a diagram showing examples of word strings and temporary keywords in the cycle 2 of the keyword selection process according to the second embodiment of the present invention. Subsequently, in cycle 2, the temporary keyword selection means 21 selects the temporary keyword group V2 for the word string in FIG. Further, the selected document number calculating means 22 calculates the number of selected documents in cycle 2 in FIG.

このとき、例えば、単語列Fは、サイクル1においては、仮キーワードとして選択された文書が文書d2及びd3の2つであったため、キーワード判定手段23において選択文書数が2を超えると判定されず、優先度補正手段24の処理対象でなかった。しかし、優先度補正手段24において文書d1乃至d4の少なくとも一部の単語列の優先度が補正されたことにより、新たに文書d1においても単語列Fが仮キーワードとして選択されることとなった。そのため、サイクル2において、単語列Fは、選択文書数が"3"となり優先度補正手段24の処理対象となる。   At this time, for example, in the cycle 1, since the document selected as the temporary keyword is two documents d2 and d3, the keyword determination unit 23 does not determine that the number of selected documents exceeds two. , It was not a processing target of the priority correction means 24. However, since the priority correction means 24 corrects the priority of at least some of the word strings of the documents d1 to d4, the word string F is newly selected as a temporary keyword in the document d1. Therefore, in cycle 2, the word string F becomes the processing target of the priority correction means 24 because the number of selected documents is “3”.

同様に、単語列Dは、サイクル1においては、仮キーワードとして選択された文書が文書d1、d2及びd3の3つであったため、キーワード判定手段23において選択文書数が2を超えると判定され、優先度補正手段24の処理対象であった。しかし、優先度補正手段24において文書d1乃至d4の少なくとも一部の単語列の優先度が補正されたことにより、文書d2の単語列Dと単語列Cとの優先度が入れ替えられ、単語列Dが文書d2から削除された。そのため、サイクル2において、単語列Dは、選択文書数が"2"となり、優先度補正手段24の処理対象でなくなった。   Similarly, in the word string D, since three documents d1, d2, and d3 are selected as the temporary keywords in the cycle 1, the keyword determination unit 23 determines that the number of selected documents exceeds 2, It was a processing target of the priority correction means 24. However, the priority of the word string D and the word string C in the document d2 is switched by the priority correction unit 24 correcting the priority of at least some of the word strings in the documents d1 to d4. Has been deleted from document d2. Therefore, in cycle 2, the word string D has the number of selected documents of “2” and is no longer a processing target of the priority correction unit 24.

以降、同様にステップS21乃至S24をサイクル3乃至7まで繰り返す。図10、図11、図12、図13及び図14は、本発明の実施の形態2にかかるキーワード選択処理のサイクル3,4,5,6及び7における単語列と仮キーワードの例を示す図である。   Thereafter, steps S21 to S24 are similarly repeated from cycle 3 to cycle 7. 10, FIG. 11, FIG. 12, FIG. 13 and FIG. 14 are diagrams showing examples of word strings and temporary keywords in the keyword selection processing cycles 3, 4, 5, 6 and 7 according to the second embodiment of the present invention. It is.

また、図15は、本発明の実施の形態2にかかるキーワード選択処理のサイクル8における単語列と仮キーワードの例を示す図である。サイクル8において、仮キーワード選択手段21は、仮キーワード群V8を選択する。そして、選択文書数算出手段22は、図16に示す選択文書数を算出する。ここで、キーワード判定手段23は、全ての選択文書数が2以下であると判定する。そして、キーワード判定手段23は、仮キーワード群V8をキーワード群K8として決定する。すなわち、キーワード判定手段23は、仮キーワード群V8の各単語列をキーワードとして選択する。   FIG. 15 is a diagram showing examples of word strings and temporary keywords in the keyword selection process cycle 8 according to the second embodiment of the present invention. In cycle 8, the temporary keyword selection means 21 selects the temporary keyword group V8. Then, the selected document number calculation means 22 calculates the number of selected documents shown in FIG. Here, the keyword determination means 23 determines that the number of all selected documents is 2 or less. Then, the keyword determination unit 23 determines the temporary keyword group V8 as the keyword group K8. That is, the keyword determination means 23 selects each word string of the temporary keyword group V8 as a keyword.

尚、キーワード判定手段23は、Nを超える選択文書数が存在した場合であっても、当該選択文書数に対応する仮キーワードの優先度と入れ替える対象の単語列が存在しない場合にも同様にステップS25へ進めても良い。例えば、仮に図15において、単語列Iの選択文書数がNを超えたとしても、文書d2の単語列Iより優先度が下位の単語列が存在しないため、ステップS25へ進む。   It should be noted that the keyword determination unit 23 performs the same steps even when there are more than N selected documents, even when there is no word string to be replaced with the priority of the temporary keyword corresponding to the selected documents. You may advance to S25. For example, in FIG. 15, even if the number of selected documents in the word string I exceeds N, there is no word string having a lower priority than the word string I in the document d2, so the process proceeds to step S25.

また、上記の例では、キーワード判定手段23はステップS23でNOの場合の単語列の優先度を最終的な単語列の優先度としていたが、次の方法でもよい。それは、処理が終了したサイクルまでの各サイクルの開始時点の単語列の優先度と、選択文書数がNを超える単語列の総数とを記憶しておき、その値が最小となる単語列の優先度を最終的な単語列の優先度とする方法とである。その場合、優先度補正手段23は、選択文書数がNを超える仮キーワードとして選択された単語列の総数が最小となるように単語列の優先度を補正する。   In the above example, the keyword determination unit 23 uses the word string priority in the case of NO in step S23 as the final word string priority. However, the following method may be used. It stores the priority of the word string at the start of each cycle up to the cycle when the processing is completed, and the total number of word strings for which the number of selected documents exceeds N, and the priority of the word string having the smallest value. This is a method in which the degree is set as the final word string priority. In this case, the priority correction unit 23 corrects the priority of the word strings so that the total number of word strings selected as temporary keywords with the number of selected documents exceeding N is minimized.

例えば、図16に示すようにサイクル1では、選択文書数が2を超える単語列の総数は13である。同様にサイクル2では13、サイクル3では13、サイクル4では8、サイクル5では7、サイクル6では3、サイクル7では3、サイクル8では0である。ここでは、サイクル8での単語列の優先度である図15の状態が最終的な単語列の優先度となる。尚、本発明の実施の形態2にかかるキーワード選択処理では、優先度の入れ替えを行うことにより、選択文書数がNを超える単語列の総数が直前のサイクルより大きくなる場合がある。その場合は、最終のサイクル以外の優先度に基づいてキーワードが決定される。   For example, as shown in FIG. 16, in cycle 1, the total number of word strings in which the number of selected documents exceeds 2 is 13. Similarly, 13 for cycle 2, 13 for cycle 3, 8 for cycle 4, 7 for cycle 5, 3 for cycle 6, 3 for cycle 7, and 0 for cycle 8. Here, the state of FIG. 15 which is the priority of the word string in cycle 8 is the final priority of the word string. Note that in the keyword selection process according to the second exemplary embodiment of the present invention, the total number of word strings in which the number of selected documents exceeds N may be greater than the previous cycle by changing the priority. In that case, keywords are determined based on priorities other than the final cycle.

また、選択文書数がNを超える単語列の総数の閾値を予め定めておき、キーワード判定手段23において、総数が当該閾値以下になるか否かを判定してもよい。そして、総数が当該閾値以下になると判定した場合、キーワード判定手段23は、ステップS25の処理を行うとよい。これにより、キーワード選択装置1の処理負荷を抑えることができる。   Alternatively, a threshold value for the total number of word strings in which the number of selected documents exceeds N may be determined in advance, and the keyword determination unit 23 may determine whether the total number is equal to or less than the threshold value. If it is determined that the total number is equal to or less than the threshold, the keyword determination unit 23 may perform the process of step S25. Thereby, the processing load of the keyword selection apparatus 1 can be suppressed.

また、キーワード判定手段23は、事前に設定されたサイクル数が終了した時点で処理を終了するようにしても良い。これにより、キーワード選択装置1の処理負荷を抑えることができる。また、優先度補正手段24は、選択文書数がNを超える単語列の優先度をその一つ下位の優先度を持つ単語列と入れ替えるとしているが、選択文書数がNを超える単語列を削除するとしても良い。これにより、サイクルを少なくすることができ、キーワード選択装置1の処理負荷を抑えることができる。また、仮キーワード選択手段21は、各文書から優先度の高い上位M個を選択する以外に、文書に含まれる単語列の中で優先度の高い上位M%の単語列を選択するようにしても良い。   Further, the keyword determination unit 23 may end the process when the number of cycles set in advance ends. Thereby, the processing load of the keyword selection apparatus 1 can be suppressed. Further, the priority correction means 24 replaces the priority of the word string having the selected document number exceeding N with the word string having the priority lower by one, but deletes the word string having the selected document number exceeding N. You may do that. Thereby, a cycle can be decreased and the processing load of the keyword selection apparatus 1 can be suppressed. In addition to selecting the top M words with high priority from each document, the temporary keyword selection means 21 selects the top M% word strings with high priority among the word strings included in the document. Also good.

また、優先度補正手段24は、選択文書数がNを超える単語列の優先度をその一つ下位の優先度を持つ単語列と入れ替える以外に、文書セットに含まれる文書の総数の中で仮キーワードとして選択された文書数の割合がN%を超える単語列の優先度をその一つ下位の優先度を持つ単語列と入れ替えるとしても良い。   Further, the priority correction means 24 replaces the priority of the word string in which the number of selected documents exceeds N with a word string having a priority one lower than that of the selected document, and the provisional correction unit 24 temporarily calculates the total number of documents included in the document set. The priority of a word string in which the ratio of the number of documents selected as a keyword exceeds N% may be replaced with a word string having a priority lower by one.

このように本発明の実施の形態2により、複数の文書のそれぞれに含まれる複数の単語列の中から各文書のキーワードを高精度に選択することができる。特に、体系化文書セットを対象とした場合、体系化文書セットから高精度にキーワードを選択することができる。   As described above, according to the second embodiment of the present invention, it is possible to select a keyword of each document from a plurality of word strings included in each of the plurality of documents with high accuracy. In particular, when a structured document set is targeted, keywords can be selected from the structured document set with high accuracy.

<発明の実施の形態3>
図17は、本発明の実施の形態3にかかるキーワード選択システム2aの構成を示すブロック図である。キーワード選択システム2aは、プログラム制御により動作するデータ処理装置20aと、情報を記憶する記憶装置30aとを備える。データ処理装置20aは、本発明の実施の形態2にかかるデータ処理装置20に優先度算出手段25を追加したものである。記憶装置30aは、本発明の実施の形態2にかかる記憶装置30に体系化文書セット記憶部34を追加したものである。以下では、本発明の実施の形態2との違いを中心に説明し、同様の構成及び動作については詳細な説明及び図示を省略する。尚、本発明の実施の形態3にキーワード選択システム2aは、体系化文書セットを対象とする。
<Third Embodiment of the Invention>
FIG. 17 is a block diagram showing a configuration of the keyword selection system 2a according to the third embodiment of the present invention. The keyword selection system 2a includes a data processing device 20a that operates under program control, and a storage device 30a that stores information. The data processing device 20a is obtained by adding priority calculation means 25 to the data processing device 20 according to the second embodiment of the present invention. The storage device 30a is obtained by adding a systematic document set storage unit 34 to the storage device 30 according to the second embodiment of the present invention. Below, it demonstrates centering around the difference with Embodiment 2 of this invention, and detailed description and illustration are abbreviate | omitted about the same structure and operation | movement. In the third embodiment of the present invention, the keyword selection system 2a targets a systematic document set.

体系化文書セット記憶部34は、上述した体系化文書の集合を格納する。優先度算出手段25は、体系化文書セット記憶部34に格納された複数の文書のそれぞれについて、文書に含まれる複数の単語列を抽出し、抽出した複数の単語列のそれぞれについて、抽出された文書内での優先度を算出する。優先度記憶部31は、抽出した複数の単語列と優先度算出手段25により算出した優先度とを関連付けて複数の文書ごとに記憶する。   The structured document set storage unit 34 stores the set of structured documents described above. The priority calculation means 25 extracts a plurality of word strings included in the document for each of the plurality of documents stored in the systematic document set storage unit 34, and extracts each of the extracted plurality of word strings. Calculate the priority within the document. The priority storage unit 31 stores the plurality of extracted word strings and the priority calculated by the priority calculation unit 25 in association with each other for each of the plurality of documents.

図18は、本発明の実施の形態3にかかるキーワード選択処理の流れを示すフローチャート図である。優先度算出手段25は、優先度を算出する(S31)。具体的には、優先度算出手段25は、体系化文書セット記憶部34から複数の文書を読み出し、読み出した文書に含まれる複数の単語列を抽出し、抽出した複数の単語列のそれぞれについて、抽出された文書内での優先度を算出する。そして、優先度算出手段25は、抽出した複数の単語列と算出した優先度とを関連付けて複数の文書ごと優先度記憶部31に記憶する。   FIG. 18 is a flowchart showing the flow of keyword selection processing according to the third embodiment of the present invention. The priority calculation means 25 calculates the priority (S31). Specifically, the priority calculation unit 25 reads a plurality of documents from the systematic document set storage unit 34, extracts a plurality of word strings included in the read document, and for each of the extracted plurality of word strings, The priority in the extracted document is calculated. Then, the priority calculation means 25 stores the plurality of extracted word strings in association with the calculated priority in the priority storage unit 31 for each of the plurality of documents.

ここで、単語列の抽出は以下の手順で行う。まず、形態素解析を用いて文書を単語に分割すると共に、活用語は原形に変換し、単語に品詞を付与する。次に、品詞を手がかりに単語を絞り込む。例えば、「名詞」のみを選択する。ただし、選択する品詞の種類はこれに限定されるものではない。最後に、残された単語の内、連続する単語を連結して単語列とする。   Here, the extraction of the word string is performed according to the following procedure. First, the morphological analysis is used to divide the document into words, and the utilization words are converted into original forms, and parts of speech are given to the words. Next, narrow down words using clues. For example, only “noun” is selected. However, the type of part of speech to be selected is not limited to this. Finally, among the remaining words, consecutive words are connected to form a word string.

例えば、「カートリッジ/交換/手順/。以下/の/手順/で交換/する/ます/。」("/"は単語の区切りを表す)が与えられたとする。このとき、「名詞」のみを選択し、連続する単語を連結すると単語列として「カートリッジ交換手順」「以下」「手順」「交換」が抽出できる。   For example, it is assumed that “cartridge / replacement / procedure /. Following / of / procedure / replacement / to do /./” (“/” represents a word break) is given. At this time, if only “noun” is selected and consecutive words are connected, “cartridge replacement procedure”, “following”, “procedure” and “exchange” can be extracted as a word string.

この時、抽出した単語列の部分単語列も単語列としても良い。この場合、単語列「カートリッジ交換手順」に加え、「カートリッジ交換」「交換手順」「カートリッジ」「交換」「手順」も単語列とする。   At this time, the partial word string of the extracted word string may be a word string. In this case, in addition to the word string “cartridge exchange procedure”, “cartridge exchange”, “exchange procedure”, “cartridge”, “exchange”, and “procedure” are also word strings.

次に、仮キーワード選択手段21、選択文書数算出手段22。キーワード判定手段23及び優先度補正手段24は、キーワード選択処理を行う(S32)。ここで、キーワード選択処理は、本発明の実施の形態1又は2のいずれかであるものとする。そのため、詳細な説明は省略する。   Next, a temporary keyword selection unit 21 and a selected document number calculation unit 22. The keyword determination unit 23 and the priority correction unit 24 perform keyword selection processing (S32). Here, it is assumed that the keyword selection processing is either Embodiment 1 or 2 of the present invention. Therefore, detailed description is omitted.

以上のように、本発明の実施の形態3により、本発明の実施の形態1又は2の効果に加えて、単語列の初期の優先度を自動的に決定できる。その理由は、文書に含まれる単語列を抽出し、抽出した単語列のその文書における優先度を決定する優先度算出手段25を有するためである。   As described above, according to the third embodiment of the present invention, in addition to the effects of the first or second embodiment of the present invention, the initial priority of the word string can be automatically determined. The reason is that it has priority calculation means 25 for extracting a word string included in a document and determining the priority of the extracted word string in the document.

<その他の発明の実施の形態>
尚、本発明の実施の形態1にかかるキーワード選択装置1は、複数の文書として上述した体系化文書セットを対象としてもよい。
<Other embodiments of the invention>
The keyword selection device 1 according to the first exemplary embodiment of the present invention may target the above-described structured document set as a plurality of documents.

本発明の実施の形態1乃至3にかかるキーワード選択装置及びシステムは、情報検索システムや文書間のハイパーリンクを自動生成するハイパーリンク自動生成システムの要素技術として利用できる。   The keyword selection apparatus and system according to the first to third embodiments of the present invention can be used as an element technology of an information search system and a hyperlink automatic generation system that automatically generates a hyperlink between documents.

さらに、本発明は上述した実施の形態のみに限定されるものではなく、既に述べた本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。例えば、上述の実施の形態では、本発明をハードウェアの構成として説明したが、本発明は、これに限定されるものではない。本発明は、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。この場合、コンピュータプログラムは、記録媒体に記録して提供することも可能であり、また、インターネットその他の伝送媒体を介して伝送することにより提供することも可能である。また、記憶媒体には、例えば、フレキシブルディスク、ハードディスク、磁気ディスク、光磁気ディスク、CD−ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、BD(Blu-ray(登録商標) Disc)、ROM(Read Only Memory)カートリッジ、バッテリバックアップ付きRAM(Random Access Memory)メモリカートリッジ、フラッシュメモリカートリッジ、不揮発性RAMカートリッジ等が含まれる。また、通信媒体には、電話回線等の有線通信媒体、マイクロ波回線等の無線通信媒体等が含まれる。   Furthermore, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention described above. For example, in the above-described embodiment, the present invention has been described as a hardware configuration, but the present invention is not limited to this. The present invention can also realize arbitrary processing by causing a CPU (Central Processing Unit) to execute a computer program. In this case, the computer program can be provided by being recorded on a recording medium, or can be provided by being transmitted via the Internet or another transmission medium. Examples of the storage medium include a flexible disk, hard disk, magnetic disk, magneto-optical disk, CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), and BD (Blu-ray (registered trademark) Disc). ROM (Read Only Memory) cartridge, battery-backed RAM (Random Access Memory) memory cartridge, flash memory cartridge, nonvolatile RAM cartridge, and the like. The communication medium includes a wired communication medium such as a telephone line, a wireless communication medium such as a microwave line, and the like.

1 キーワード選択装置
11 仮キーワード選択手段
12 選択文書数算出手段
13 優先度補正手段
14 キーワード選択手段
2 キーワード選択システム
2a キーワード選択システム
20 データ処理装置
20a データ処理装置
21 仮キーワード選択手段
22 選択文書数算出手段
23 キーワード判定手段
24 優先度補正手段
25 優先度算出手段
30 記憶装置
30a 記憶装置
31 優先度記憶部
32 選択文書記憶部
33 キーワード記憶部
34 体系化文書セット記憶部
d1 文書
d2 文書
d3 文書
d4 文書
A 単語列
B 単語列
C 単語列
D 単語列
E 単語列
F 単語列
G 単語列
H 単語列
I 単語列
J 単語列
VK 仮キーワード群
RK キーワード群
V1 仮キーワード群
V2 仮キーワード群
V3 仮キーワード群
V4 仮キーワード群
V5 仮キーワード群
V6 仮キーワード群
V7 仮キーワード群
V8 仮キーワード群
K8 キーワード群
DESCRIPTION OF SYMBOLS 1 Keyword selection apparatus 11 Temporary keyword selection means 12 Selected document number calculation means 13 Priority correction means 14 Keyword selection means 2 Keyword selection system 2a Keyword selection system 20 Data processing apparatus 20a Data processing apparatus 21 Temporary keyword selection means 22 Calculation of number of selected documents Means 23 Keyword determination means 24 Priority correction means 25 Priority calculation means 30 Storage device 30a Storage device 31 Priority storage portion 32 Selected document storage portion 33 Keyword storage portion 34 Systematic document set storage portion d1 document d2 document d3 document d4 document A word string B word string C word string D word string E word string F word string G word string H word string I word string J word string VK temporary keyword group RK keyword group V1 temporary keyword group V2 temporary keyword group V3 temporary keyword group V4 Temporary key Word group V5 Temporary keyword group V6 Temporary keyword group V7 Temporary keyword group V8 Temporary keyword group K8 Keyword group

Claims (24)

複数の文書のそれぞれについて、各文書から少なくとも一つ以上抽出された単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択手段と、
前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出手段と、
前記選択文書数が文書数に応じた所定の閾値を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が前記所定の閾値以下となるように補正する優先度補正手段と、
前記複数の文書のそれぞれについて、前記補正された優先度に基づいてキーワードを選択するキーワード選択手段とを備えるキーワード選択装置。
Temporary keyword selection means for selecting, as a temporary keyword, a word string having a high priority in the document among at least one word string extracted from each document for each of a plurality of documents;
A selected document number calculating means for calculating a selected document number that is a total number of documents in which the temporary keyword for each word string is selected among the plurality of documents;
When the number of selected documents exceeds a predetermined threshold according to the number of documents, the priority of at least some of the word strings in each document in which the temporary keyword is selected is set to the priority of the selected document number. Priority correction means for correcting to be equal to or lower than the threshold value,
A keyword selection device comprising: a keyword selection unit that selects a keyword based on the corrected priority for each of the plurality of documents.
前記優先度補正手段は、当該仮キーワードとして選択された単語列の優先度を低く補正することを特徴とする請求項1に記載のキーワード選択装置。   The keyword selection apparatus according to claim 1, wherein the priority correction unit corrects the priority of the word string selected as the temporary keyword to be low. 前記優先度補正手段は、前記所定の閾値を超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が低い単語列の優先度を高く補正することを特徴とする請求項1又は2に記載のキーワード選択装置。   The priority correction unit corrects the priority of a word string having a lower priority than a word string selected as the temporary keyword among word strings other than the temporary keyword exceeding the predetermined threshold. The keyword selection device according to claim 1 or 2. 前記優先度補正手段は、前記所定の閾値を超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が一つ低い単語列の優先度と、当該仮キーワードとして選択された単語列の優先度とを入れ替えて補正することを特徴とする請求項1乃至3のいずれか1項に記載のキーワード選択装置。   The priority correction means selects a priority of a word string having a priority one lower than that of the word string selected as the temporary keyword, and a temporary keyword selected from the word strings other than the temporary keyword exceeding the predetermined threshold. The keyword selection device according to claim 1, wherein the priority is corrected by exchanging the priority of the word string. 前記優先度補正手段は、当該仮キーワードとして選択された単語列の優先度を低く補正することにより、当該文書内において当該単語列が仮キーワードとして選択されなくなる場合、当該文書から抽出された複数の単語列から当該仮キーワードとして選択された単語列を削除することを特徴とする請求項1乃至4のいずれか1項に記載のキーワード選択装置。   The priority correction unit corrects the priority of the word string selected as the temporary keyword to be low, so that when the word string is not selected as the temporary keyword in the document, a plurality of extracted words are extracted from the document. The keyword selection device according to claim 1, wherein the word string selected as the temporary keyword is deleted from the word string. 前記優先度補正手段は、前記選択文書数が前記所定の閾値を超える仮キーワードとして選択された単語列の総数が最小となるように単語列の優先度を補正することを特徴とする請求項1乃至5のいずれか1項に記載のキーワード選択装置。   2. The priority correction unit corrects the priority of word strings so that the total number of word strings selected as temporary keywords whose number of selected documents exceeds the predetermined threshold is minimized. The keyword selection device according to any one of 1 to 5. CPU(Central Processing Unit)を備えるコンピュータを用いたキーワード選択方法であって、
前記CPUが、
複数の文書のそれぞれについて、各文書から少なくとも一つ以上抽出された単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択ステップと、
前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出ステップと、
前記選択文書数が文書数に応じた所定の閾値を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が前記所定の閾値以下となるように補正する優先度補正ステップと、
前記複数の文書のそれぞれについて、前記補正された優先度に基づいてキーワードを選択するキーワード選択ステップと
実行するーワード選択方法。
A keyword selection method using a computer having a CPU (Central Processing Unit),
The CPU is
For each of a plurality of documents, a temporary keyword selection step of selecting, as a temporary keyword, a word string having a high priority in the document among at least one word string extracted from each document;
A selected document number calculating step of calculating a selected document number that is a total number of documents in which the temporary keyword for each word string is selected from among the plurality of documents;
When the number of selected documents exceeds a predetermined threshold according to the number of documents, the priority of at least some of the word strings in each document in which the temporary keyword is selected is set to the priority of the selected document number. A priority correction step for correcting to be equal to or less than a threshold value of
For each of the plurality of documents, keyword selection method of performing a keyword selection step of selecting the keywords based on the corrected priority.
前記優先度補正ステップは、前記CPUが、当該仮キーワードとして選択された単語列の優先度を低く補正することを特徴とする請求項7に記載のキーワード選択方法。 The keyword selection method according to claim 7, wherein in the priority correction step, the CPU corrects the priority of the word string selected as the temporary keyword to be low. 前記優先度補正ステップは、前記CPUが、前記所定の閾値を超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が低い単語列の優先度を高く補正することを特徴とする請求項7又は8に記載のキーワード選択方法。 In the priority correction step, the CPU corrects a priority of a word string having a lower priority than a word string selected as the temporary keyword among word strings other than the temporary keyword exceeding the predetermined threshold. The keyword selection method according to claim 7 or 8, wherein: 前記優先度補正ステップは、前記CPUが、前記所定の閾値を超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が一つ低い単語列の優先度と、当該仮キーワードとして選択された単語列の優先度とを入れ替えて補正することを特徴とする請求項7乃至9のいずれか1項に記載のキーワード選択方法。 In the priority correction step, among the word strings other than the temporary keyword exceeding the predetermined threshold , the CPU has a priority of a word string having a priority lower than that of the word string selected as the temporary keyword, The keyword selection method according to any one of claims 7 to 9, wherein correction is performed by exchanging the priority of the word string selected as the temporary keyword. 前記優先度補正ステップは、前記CPUが、当該仮キーワードとして選択された単語列の優先度を低く補正することにより、当該文書内において当該単語列が仮キーワードとして選択されなくなる場合、当該文書から抽出された複数の単語列から当該仮キーワードとして選択された単語列を削除することを特徴とする請求項7乃至10のいずれか1項に記載のキーワード選択方法。 In the priority correction step, when the CPU corrects the priority of the word string selected as the temporary keyword to be low, and the word string is not selected as the temporary keyword in the document, it is extracted from the document. The keyword selection method according to any one of claims 7 to 10, wherein a word string selected as the temporary keyword is deleted from the plurality of word strings. 前記優先度補正ステップは、前記CPUが、前記選択文書数が前記所定の閾値を超える仮キーワードとして選択された単語列の総数が最小となるように単語列の優先度を補正することを特徴とする請求項7乃至11のいずれか1項に記載のキーワード選択方法。 In the priority correction step, the CPU corrects the priority of word strings so that the total number of word strings selected as temporary keywords whose number of selected documents exceeds the predetermined threshold is minimized. The keyword selection method according to any one of claims 7 to 11. 複数の文書のそれぞれについて、各文書から少なくとも一つ以上抽出された単語列の内、当該文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択処理と、
前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出処理と、
前記選択文書数が文書数に応じた所定の閾値を超える場合、当該仮キーワードが選択された各文書における単語列の内、少なくとも一部の単語列の優先度を、当該選択文書数が前記所定の閾値以下となるように補正する優先度補正処理と、
前記複数の文書のそれぞれについて、前記補正された優先度に基づいてキーワードを選択するキーワード選択処理とを含む処理をコンピュータに実行させるキーワード選択プログラム。
For each of a plurality of documents, a temporary keyword selection process for selecting, as a temporary keyword, a word string having a high priority in the document among at least one word string extracted from each document;
A selected document number calculation process for calculating a selected document number that is the total number of documents in which the temporary keyword for each word string is selected from among the plurality of documents;
When the number of selected documents exceeds a predetermined threshold according to the number of documents, the priority of at least some of the word strings in each document in which the temporary keyword is selected is set to the priority of the selected document number. Priority correction processing for correcting to be equal to or less than the threshold value,
A keyword selection program for causing a computer to execute a process including a keyword selection process for selecting a keyword based on the corrected priority for each of the plurality of documents.
前記優先度補正処理は、当該仮キーワードとして選択された単語列の優先度を低く補正することを特徴とする請求項13に記載のキーワード選択プログラム。   The keyword selection program according to claim 13, wherein the priority correction process corrects the priority of the word string selected as the temporary keyword to be low. 前記優先度補正処理は、前記所定の閾値を超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が低い単語列の優先度を高く補正することを特徴とする請求項13又は14に記載のキーワード選択プログラム。   The priority correction processing corrects a priority of a word string having a lower priority than a word string selected as the temporary keyword among word strings other than the temporary keyword exceeding the predetermined threshold. The keyword selection program according to claim 13 or 14. 前記優先度補正処理は、前記所定の閾値を超える仮キーワード以外の単語列の内、当該仮キーワードとして選択された単語列より優先度が一つ低い単語列の優先度と、当該仮キーワードとして選択された単語列の優先度とを入れ替えて補正することを特徴とする請求項13乃至15のいずれか1項に記載のキーワード選択プログラム。   The priority correction processing is performed by selecting a priority of a word string having a priority one lower than that of the word string selected as the temporary keyword, and selecting the temporary keyword as the temporary keyword. The keyword selection program according to any one of claims 13 to 15, wherein a correction is made by exchanging the priority of the word string. 前記優先度補正処理は、当該仮キーワードとして選択された単語列の優先度を低く補正することにより、当該文書内において当該単語列が仮キーワードとして選択されなくなる場合、当該文書から抽出された複数の単語列から当該仮キーワードとして選択された単語列を削除することを特徴とする請求項13乃至16のいずれか1項に記載のキーワード選択プログラム。   The priority correction process corrects the priority of the word string selected as the temporary keyword to be low, and when the word string is no longer selected as the temporary keyword in the document, a plurality of extracted words are extracted from the document. The keyword selection program according to any one of claims 13 to 16, wherein the word string selected as the temporary keyword is deleted from the word string. 前記優先度補正処理は、前記選択文書数が前記所定の閾値を超える仮キーワードとして選択された単語列の総数が最小となるように単語列の優先度を補正することを特徴とする請求項13乃至17のいずれか1項に記載のキーワード選択プログラム。   14. The priority correction processing corrects the priority of word strings so that the total number of word strings selected as temporary keywords whose number of selected documents exceeds the predetermined threshold is minimized. 18. The keyword selection program according to any one of items 17 to 17. 複数の文書のそれぞれについて、文書から抽出された単語列の当該文書内の優先度を記憶する優先度記憶手段と、
前記優先度記憶手段を参照し、複数の文書のそれぞれについて、文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択手段と、
前記仮キーワード選択手段により選択された仮キーワードを、当該仮キーワードを含む文書と関連付けて記憶するキーワード記憶手段と、
前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出手段と、
前記算出した選択文書数を記憶する選択文書数記憶手段と、
前記選択文書数記憶手段を参照し、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が文書数に応じた所定の閾値を超えるか否かを判定するキーワード判定手段と、
前記キーワード判定手段により所定の閾値を超えると判定された場合に、当該仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように前記優先度記憶手段に記憶された優先度を補正する優先度補正手段と、を備え、
前記仮キーワード選択手段は、前記優先度補正手段により更新された優先度に基づいて、再度、前記仮キーワードを選択し、
前記キーワード判定手段は、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が前記所定の閾値以下であると判定した場合に、前記キーワード記憶手段に記憶された仮キーワードをキーワードとして決定することを特徴とするキーワード選択システム。
Priority storage means for storing the priority of the word string extracted from the document in the document for each of the plurality of documents;
Referring to the priority storage means, for each of a plurality of documents, a temporary keyword selection means for selecting a word string having a high priority in the document as a temporary keyword;
Keyword storage means for storing the temporary keyword selected by the temporary keyword selection means in association with a document containing the temporary keyword;
A selected document number calculating means for calculating a selected document number that is a total number of documents in which the temporary keyword for each word string is selected among the plurality of documents;
Selected document number storage means for storing the calculated selected document number;
A keyword determination unit that refers to the selected document number storage unit and determines whether the selected document number of the temporary keyword stored in the keyword storage unit exceeds a predetermined threshold according to the document number;
When the keyword determination unit determines that a predetermined threshold is exceeded, the priority storage unit reduces the priority of the word string selected as the temporary keyword in each document in which the temporary keyword is selected. Priority correction means for correcting the priority stored in the
The temporary keyword selection means selects the temporary keyword again based on the priority updated by the priority correction means,
The keyword determination unit determines the temporary keyword stored in the keyword storage unit as a keyword when determining that the number of selected documents of the temporary keyword stored in the keyword storage unit is equal to or less than the predetermined threshold. A keyword selection system characterized by that.
前記複数の文書のそれぞれについて、文書に含まれる複数の単語列を抽出し、抽出した複数の単語列のそれぞれについて、抽出された文書内での優先度を算出する優先度算出手段をさらに備え、
前記優先度記憶手段は、前記抽出した複数の単語列と前記算出した優先度とを関連付けて前記複数の文書ごとに記憶することを特徴とする請求項19に記載のキーワード選択システム。
For each of the plurality of documents, a plurality of word strings included in the document are extracted, and each of the extracted plurality of word strings further includes a priority calculation unit that calculates a priority in the extracted document,
The keyword selection system according to claim 19, wherein the priority storage means stores the plurality of extracted word strings and the calculated priority in association with each other for the plurality of documents.
CPU(Central Processing Unit)を備えるコンピュータを用いたキーワード選択方法であって、
前記CPUが、
複数の文書のそれぞれについて、文書から抽出された単語列の当該文書内の優先度を優先度記憶手段に記憶する優先度記憶ステップと、
前記優先度記憶手段を参照し、複数の文書のそれぞれについて、文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択ステップと、
前記仮キーワード選択ステップにより選択された仮キーワードを、当該仮キーワードを含む文書と関連付けてキーワード記憶手段に記憶するステップと、
前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出ステップと、
前記算出した選択文書数を選択文書数記憶手段に記憶するステップと、
前記選択文書数記憶手段を参照し、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が文書数に応じた所定の閾値を超えるか否かを判定するキーワード判定ステップと、
前記キーワード判定ステップにより所定の閾値を超えると判定された場合に、当該仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように前記優先度記憶手段に記憶された優先度を補正する優先度補正ステップと、を実行し、
前記仮キーワード選択ステップは、前記CPUが、前記優先度補正ステップにより更新された優先度に基づいて、再度、前記仮キーワードを選択し、
前記キーワード判定ステップは、前記CPUが、前記キーワード記憶手段に記憶された仮キーワードの前記選択文書数が前記所定の閾値以下であると判定した場合に、前記キーワード記憶手段に記憶された仮キーワードをキーワードとして決定することを特徴とするキーワード選択方法。
A keyword selection method using a computer having a CPU (Central Processing Unit),
The CPU is
A priority storage step of storing, in each of the plurality of documents, the priority in the document of the word string extracted from the document in the priority storage unit;
A temporary keyword selection step of referring to the priority storage means and selecting, as a temporary keyword, a word string having a high priority in the document for each of a plurality of documents;
Storing the temporary keyword selected in the temporary keyword selection step in a keyword storage unit in association with a document including the temporary keyword;
A selected document number calculating step of calculating a selected document number that is a total number of documents in which the temporary keyword for each word string is selected from among the plurality of documents;
Storing the calculated selected document number in a selected document number storage unit;
A keyword determination step of referring to the selected document number storage unit and determining whether or not the selected document number of the temporary keyword stored in the keyword storage unit exceeds a predetermined threshold according to the number of documents;
When it is determined by the keyword determination step that a predetermined threshold value is exceeded, the priority storage unit reduces the priority of the word string selected as the temporary keyword in each document in which the temporary keyword is selected. Executing a priority correction step for correcting the priority stored in
In the temporary keyword selection step, the CPU selects the temporary keyword again based on the priority updated in the priority correction step,
In the keyword determination step, when the CPU determines that the number of selected documents of the temporary keyword stored in the keyword storage unit is equal to or less than the predetermined threshold, the temporary keyword stored in the keyword storage unit is determined. A keyword selection method characterized by determining as a keyword.
前記CPUが、
前記複数の文書のそれぞれについて、文書に含まれる複数の単語列を抽出し、抽出した複数の単語列のそれぞれについて、抽出された文書内での優先度を算出する優先度算出ステップをさらに実行し
前記優先度記憶ステップは、前記CPUが、前記抽出した複数の単語列と前記算出した優先度とを関連付けて前記複数の文書ごとに記憶することを特徴とする請求項21に記載のキーワード選択方法。
The CPU is
For each of the plurality of documents, a plurality of word strings included in the document are extracted, and a priority calculation step of calculating a priority in the extracted document for each of the extracted plurality of word strings is further executed. ,
The keyword selection method according to claim 21, wherein in the priority storage step, the CPU stores the plurality of extracted word strings and the calculated priority in association with each other for each of the plurality of documents. .
複数の文書のそれぞれについて、文書から抽出された単語列の当該文書内の優先度を優先度記憶部に記憶する優先度記憶処理と、
前記優先度記憶部を参照し、複数の文書のそれぞれについて、文書内の優先度が高い単語列を仮キーワードとして選択する仮キーワード選択処理と、
前記仮キーワード選択処理により選択された仮キーワードを、当該仮キーワードを含む文書と関連付けてキーワード記憶部に記憶する処理と、
前記複数の文書の内、単語列毎の前記仮キーワードが選択された文書の総数である選択文書数を算出する選択文書数算出処理と、
前記算出した選択文書数を選択文書数記憶部に記憶する処理と、
前記選択文書数記憶部を参照し、前記キーワード記憶部に記憶された仮キーワードの前記選択文書数が文書数に応じた所定の閾値を超えるか否かを判定するキーワード判定処理と、
前記キーワード判定処理により所定の閾値を超えると判定された場合に、当該仮キーワードが選択された各文書において、当該仮キーワードとして選択された単語列の優先度を低くなるように前記優先度記憶部に記憶された優先度を補正する優先度補正処理と、を含み、
前記仮キーワード選択処理は、前記優先度補正処理により更新された優先度に基づいて、再度、前記仮キーワードを選択し、
前記キーワード判定処理は、前記キーワード記憶部に記憶された仮キーワードの前記選択文書数が前記所定の閾値以下であると判定した場合に、前記キーワード記憶部に記憶された仮キーワードをキーワードとして決定することを特徴とする処理をコンピュータに実行させるキーワード選択プログラム。
For each of a plurality of documents, a priority storage process for storing, in the priority storage unit, the priority in the document of the word string extracted from the document;
Referring to the priority storage unit, for each of a plurality of documents, a temporary keyword selection process of selecting a word string having a high priority in the document as a temporary keyword;
A process of storing the temporary keyword selected by the temporary keyword selection process in a keyword storage unit in association with a document including the temporary keyword;
A selected document number calculation process for calculating a selected document number that is the total number of documents in which the temporary keyword for each word string is selected from among the plurality of documents;
A process of storing the calculated number of selected documents in a selected document number storage unit;
A keyword determination process for referring to the selected document number storage unit and determining whether the selected document number of the temporary keyword stored in the keyword storage unit exceeds a predetermined threshold according to the document number;
When it is determined by the keyword determination process that a predetermined threshold is exceeded, the priority storage unit reduces the priority of the word string selected as the temporary keyword in each document in which the temporary keyword is selected. And a priority correction process for correcting the priority stored in
The temporary keyword selection process selects the temporary keyword again based on the priority updated by the priority correction process,
The keyword determination process determines the temporary keyword stored in the keyword storage unit as a keyword when it is determined that the number of selected documents of the temporary keyword stored in the keyword storage unit is equal to or less than the predetermined threshold. The keyword selection program which makes a computer perform the process characterized by this.
前記複数の文書のそれぞれについて、文書に含まれる複数の単語列を抽出し、抽出した複数の単語列のそれぞれについて、抽出された文書内での優先度を算出する優先度算出処理をさらに含み、
前記優先度記憶処理は、前記抽出した複数の単語列と前記算出した優先度とを関連付けて前記複数の文書ごとに記憶することを特徴とする請求項23に記載のキーワード選択プログラム。
For each of the plurality of documents, a plurality of word strings included in the document are extracted, and for each of the extracted plurality of word strings, a priority calculation process for calculating a priority in the extracted document is further included,
The keyword selection program according to claim 23, wherein the priority storing process stores the plurality of extracted word strings and the calculated priority in association with each other for each of the plurality of documents.
JP2009185655A 2009-08-10 2009-08-10 Keyword selection apparatus, method, program, and system Expired - Fee Related JP5402377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009185655A JP5402377B2 (en) 2009-08-10 2009-08-10 Keyword selection apparatus, method, program, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009185655A JP5402377B2 (en) 2009-08-10 2009-08-10 Keyword selection apparatus, method, program, and system

Publications (2)

Publication Number Publication Date
JP2011039729A JP2011039729A (en) 2011-02-24
JP5402377B2 true JP5402377B2 (en) 2014-01-29

Family

ID=43767442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009185655A Expired - Fee Related JP5402377B2 (en) 2009-08-10 2009-08-10 Keyword selection apparatus, method, program, and system

Country Status (1)

Country Link
JP (1) JP5402377B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5740228B2 (en) * 2011-07-01 2015-06-24 Kddi株式会社 Representative comment extraction method and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003281181A (en) * 2002-03-19 2003-10-03 Ricoh Co Ltd Document search device, document search method, program, and recording medium
JP2006221478A (en) * 2005-02-10 2006-08-24 Minoru Koide Document search device and portfolio analyzer based on macro approach

Also Published As

Publication number Publication date
JP2011039729A (en) 2011-02-24

Similar Documents

Publication Publication Date Title
US9195738B2 (en) Tokenization platform
JP6028567B2 (en) Data storage program, data search program, data storage device, data search device, data storage method, and data search method
JP4805267B2 (en) Multi-stage query processing system and method for use with a token space repository
US8225029B2 (en) Data storage processing method, data searching method and devices thereof
US9768802B2 (en) Look-ahead hash chain matching for data compression
US9128966B2 (en) Determining a storage location based on frequency of use
CN110704573B (en) Catalog storage method, catalog storage device, computer equipment and storage medium
US20140229496A1 (en) Information processing device, information processing method, and computer program product
JP5402377B2 (en) Keyword selection apparatus, method, program, and system
JPWO2012114402A1 (en) Database management apparatus and database management method
US11593311B2 (en) Compression system with longest match processing for generating compressed data
US20100153355A1 (en) Information extraction method, extractor rebuilding method, and system and computer program product thereof
CN111190912A (en) Large-transaction-oriented fragment execution method and device based on row change
US8738839B2 (en) Method and device for storing data in solid state disk (SSD) and storage medium storing programs to perform the method
JP5374938B2 (en) Related information registration apparatus, related information registration method, and related information registration program
JP5626561B2 (en) Information processing system and data management method thereof
JP2008004195A (en) Run length limiting device and run length limiting method
JP2018163505A (en) Searching program, information processing device, and searching method
JP4510041B2 (en) Document search system and program
KR100922691B1 (en) Method and system for providing theme association query
KR100874023B1 (en) Method and apparatus for managing input data buffer of MP3 decoder
US20180225318A1 (en) Data storing method using multi-version based data structure
CN118194861A (en) Word sequence language model optimization method, device, equipment and readable storage medium
CN120706390A (en) Method and device for determining title level
CN120687552A (en) Text processing method, model training method, device and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120709

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130701

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130709

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130906

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: 20131001

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131014

R150 Certificate of patent or registration of utility model

Ref document number: 5402377

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees