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
JP7633522B2 - Information processing program, information processing method, and information processing device - Google Patents
[go: Go Back, main page]

JP7633522B2 - Information processing program, information processing method, and information processing device - Google Patents

Information processing program, information processing method, and information processing device Download PDF

Info

Publication number
JP7633522B2
JP7633522B2 JP2021124759A JP2021124759A JP7633522B2 JP 7633522 B2 JP7633522 B2 JP 7633522B2 JP 2021124759 A JP2021124759 A JP 2021124759A JP 2021124759 A JP2021124759 A JP 2021124759A JP 7633522 B2 JP7633522 B2 JP 7633522B2
Authority
JP
Japan
Prior art keywords
word
feature
information processing
target document
processing device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021124759A
Other languages
Japanese (ja)
Other versions
JP2023019784A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2021124759A priority Critical patent/JP7633522B2/en
Publication of JP2023019784A publication Critical patent/JP2023019784A/en
Application granted granted Critical
Publication of JP7633522B2 publication Critical patent/JP7633522B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、情報処理プログラム、情報処理方法、および情報処理装置に関する。 The present invention relates to an information processing program, an information processing method, and an information processing device.

従来、文書の特徴を表す特徴語を文書から抽出する技術がある。例えば、TF(Term Frequency)-IDF(Inverse Document Frequency)と呼ばれる、複数の文書のうちの対象の文書の特徴語を抽出する技術がある。例えば、文書を検索し易くするため、文書にタグを付与しようとする場合、文書の特徴語を抽出し、タグとして採用することがある。 Conventionally, there are techniques for extracting characteristic words from a document that represent the characteristics of the document. For example, there is a technique called TF (Term Frequency)-IDF (Inverse Document Frequency) that extracts characteristic words of a target document among multiple documents. For example, when attempting to assign tags to documents to make them easier to search, characteristic words of the document may be extracted and used as tags.

先行技術としては、例えば、Webページのレイアウトを解析して、Webページに含まれるセクションを抽出し、各セクションの用途種別を判定し、基本文字列が出現するセクションの用途種別に応じた重み付けをして重要度を計算するものがある。また、例えば、元文書を分割した頁文書を生成し、頁文書の文書情報を設定し、頁文書の本文テキストからタグを抽出し、当該タグを文書情報に設定する技術がある。 Prior art techniques include, for example, analyzing the layout of a web page, extracting sections contained in the web page, determining the type of use of each section, and calculating the importance by weighting according to the type of use of the section in which the basic character string appears. Another technique involves, for example, generating page documents by dividing an original document, setting document information for the page documents, extracting tags from the main text of the page documents, and setting the tags to the document information.

特開2008-262506号公報JP 2008-262506 A 特開2018-195305号公報JP 2018-195305 A

しかしながら、従来技術では、文書の特徴語を精度よく抽出することが難しい。例えば、TF-IDFを用いて、複数の文書のうちの対象の文書の特徴語を抽出する場合がある。この場合、対象の文書の各ページのヘッダまたはフッタに共通して出現する特徴的ではない語句が、対象の文書において出現頻度が比較的高い語句となってしまい、誤って特徴語として抽出されることがある。 However, with conventional technology, it is difficult to accurately extract characteristic words from a document. For example, TF-IDF may be used to extract characteristic words from a target document among multiple documents. In this case, uncharacteristic words that commonly appear in the header or footer of each page of the target document may end up being words that appear relatively frequently in the target document, and may be erroneously extracted as characteristic words.

1つの側面では、本発明は、文書の特徴語を精度よく抽出することを目的とする。 In one aspect, the present invention aims to accurately extract characteristic words from a document.

1つの実施態様によれば、対象の文書を特定の条件に従って分割した複数の部分を取得し、取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、前記部分の特徴を表す特徴語としての第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、抽出した前記特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、前記対象の文書の特徴を表す特徴語としての第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する情報処理プログラム、情報処理方法、および情報処理装置が提案される。 According to one embodiment, an information processing program, an information processing method, and an information processing device are proposed that obtain a plurality of parts obtained by dividing a target document according to specific conditions, extract feature words representing characteristics of each of the obtained plurality of parts from each of the obtained parts based on a first likelihood of each word contained in each of the obtained parts as a feature word representing a characteristic of the part, and determine feature words representing characteristics of the target document from the feature word set that includes the extracted feature words based on a second likelihood of each feature word contained in the feature word set as a feature word representing a characteristic of the target document.

一態様によれば、文書の特徴語を精度よく抽出することが可能になる。 According to one aspect, it becomes possible to extract characteristic words from a document with high accuracy.

図1は、実施の形態にかかる情報処理方法の一実施例を示す説明図である。FIG. 1 is a diagram illustrating an example of an information processing method according to an embodiment. 図2は、情報処理システム200の一例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of an information processing system 200. 図3は、情報処理装置100のハードウェア構成例を示すブロック図である。FIG. 3 is a block diagram showing an example of the hardware configuration of the information processing device 100. 図4は、全体頻度管理テーブル400の記憶内容の一例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of the contents of the overall frequency management table 400. As shown in FIG. 図5は、部分頻度管理テーブル500の記憶内容の一例を示す説明図である。FIG. 5 is an explanatory diagram showing an example of the contents of the partial frequency management table 500. As shown in FIG. 図6は、重要単語管理テーブル600の記憶内容の一例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of the contents of the important word management table 600. As shown in FIG. 図7は、情報処理装置100の機能的構成例を示すブロック図である。FIG. 7 is a block diagram showing an example of the functional configuration of the information processing device 100. 図8は、情報処理装置100の動作の流れを示す説明図である。FIG. 8 is an explanatory diagram showing the flow of operations of the information processing device 100. 図9は、情報処理装置100の動作の一例を示す説明図(その1)である。FIG. 9 is an explanatory diagram (part 1) showing an example of the operation of the information processing device 100. 図10は、情報処理装置100の動作の一例を示す説明図(その2)である。FIG. 10 is an explanatory diagram (part 2) showing an example of the operation of the information processing device 100. 図11は、情報処理装置100の動作の一例を示す説明図(その3)である。FIG. 11 is an explanatory diagram (part 3) showing an example of the operation of the information processing device 100. 図12は、全体処理手順の一例を示すフローチャートである。FIG. 12 is a flowchart illustrating an example of an overall processing procedure. 図13は、部分処理手順の一例を示すフローチャートである。FIG. 13 is a flowchart illustrating an example of a partial process procedure. 図14は、第1生成処理手順の一例を示すフローチャートである。FIG. 14 is a flowchart illustrating an example of a procedure of the first generation process. 図15は、第2生成処理手順の一例を示すフローチャートである。FIG. 15 is a flowchart illustrating an example of a procedure of the second generation process.

以下に、図面を参照して、本発明にかかる情報処理プログラム、情報処理方法、および情報処理装置の実施の形態を詳細に説明する。 Below, embodiments of the information processing program, information processing method, and information processing device according to the present invention will be described in detail with reference to the drawings.

(実施の形態にかかる情報処理方法の一実施例)
図1は、実施の形態にかかる情報処理方法の一実施例を示す説明図である。情報処理装置100は、文書の特徴を表す特徴語を当該文書の中から抽出するためのコンピュータである。
(An example of an information processing method according to an embodiment)
1 is an explanatory diagram showing an example of an information processing method according to an embodiment of the present invention. An information processing device 100 is a computer for extracting characteristic words that represent characteristics of a document from the document.

ここで、例えば、文書を検索し易くするため、文書にタグを付与しようとする場合、文書の特徴語を抽出し、タグとして採用することが望まれる場合がある。 Here, for example, when adding tags to documents to make them easier to search, it may be desirable to extract characteristic words from the documents and use them as tags.

これに対し、従来では、TF-IDFと呼ばれる技術を用いて、複数の文書のうちの対象の文書の特徴語が抽出される。具体的には、対象の文書に出現するそれぞれの単語について、対象の文書の特徴を表す特徴語としての尤度=TF×IDFを算出し、算出した尤度が閾値以上である単語を、対象の文書の特徴語として抽出することがある。 In contrast, conventionally, a technique called TF-IDF is used to extract feature words from a target document among multiple documents. Specifically, for each word that appears in the target document, the likelihood (TF x IDF) of the word being a feature word that represents the characteristics of the target document is calculated, and words with a calculated likelihood equal to or greater than a threshold are extracted as feature words of the target document.

ある単語に関するTFは、対象の文書における当該単語の出現頻度に基づく評価値である。ある単語に関するTFは、対象の文書において当該単語がどの程度重要であるのかを示す。具体的には、第1の単語に関するTFは、対象の文書における第1の単語の出現回数/対象の文書におけるすべての単語の出現回数の合計である。具体的には、第1の単語に関するTFは、対象の文書において第1の単語が多く出現するほど、値が大きくなり、対象の文書において第1の単語の重要度が高いことを示す。このため、ある単語に関するTFが大きく、対象の文書において当該単語の重要度が高いと判断されるほど、当該単語の尤度=TF×IDFが大きくなり易い。 The TF for a word is an evaluation value based on the frequency of occurrence of the word in the target document. The TF for a word indicates how important the word is in the target document. Specifically, the TF for a first word is the number of times the first word appears in the target document / the total number of times all words appear in the target document. Specifically, the TF for the first word becomes larger the more frequently the first word appears in the target document, indicating that the first word is more important in the target document. Therefore, the larger the TF for a word is and the higher the importance of the word is determined to be in the target document, the larger the likelihood of the word = TF x IDF is likely to be.

ある単語に関するIDFは、対象の文書を含む複数の文書のうち当該単語が出現する文書の数に基づく評価値である。ある単語に関するIDFは、当該単語がどの程度汎用的であるのかを示す。具体的には、第1の単語に関するIDFは、log(文書の総数/第1の単語が出現する文書の数)である。具体的には、第1の単語に関するIDFは、第1の単語が出現する文書が多いほど、値が小さくなり、第1の単語が汎用的であり、特徴的ではないことを示し、対象の文書において第1の単語の重要度が低いことを示す。このため、ある単語に関するIDFが小さく、対象の文書において当該単語の重要度が低いと判断されるほど、当該単語の尤度=TF×IDFが小さくなり易い。 The IDF for a word is an evaluation value based on the number of documents in which the word appears among multiple documents including the target document. The IDF for a word indicates how versatile the word is. Specifically, the IDF for a first word is log(total number of documents/number of documents in which the first word appears). Specifically, the IDF for the first word becomes smaller the more documents in which the first word appears, indicating that the first word is versatile and not distinctive, and indicating that the importance of the first word in the target document is low. Therefore, the smaller the IDF for a word is and the lower the importance of the word is determined to be in the target document, the smaller the likelihood of the word = TF x IDF is likely to be.

このように、従来では、それぞれ異なる2つの観点から、対象の文書に出現するそれぞれの単語について、対象の文書の特徴語としての尤度=TF×IDFを算出することにより、対象の文書の特徴語を抽出する精度の向上を図ることになる。 In this way, conventionally, the accuracy of extracting characteristic words from a target document is improved by calculating the likelihood (TF x IDF) of each word that appears in the target document as a characteristic word of the target document from two different perspectives.

しかしながら、従来では、対象の文書の特徴語を精度よく抽出することが難しい場合がある。例えば、ある単語が、対象の文書における重要度が比較的低く、対象の文書の特徴語として不適切な単語であっても、対象の文書において比較的多く出現するため、対象の文書の特徴語として抽出されてしまう場合が考えられる。 However, in the past, it was sometimes difficult to accurately extract characteristic words from a target document. For example, even if a certain word has a relatively low importance in the target document and is therefore inappropriate as a characteristic word for the target document, it may still be extracted as a characteristic word for the target document because it appears relatively frequently in the target document.

不適切な単語は、例えば、対象の文書のうちの定型文に含まれている場合が考えられる。不適切な単語は、例えば、対象の文書の元になった雛型の文書に含まれており、対象の文書に残っている場合が考えられる。不適切な単語は、例えば、対象の文書のうち、対象の文書の主題と関わらない付帯的な部分に含まれている場合が考えられる。 The inappropriate word may be, for example, contained in a template within the target document. The inappropriate word may be, for example, contained in a template document that was the basis for the target document and remains in the target document. The inappropriate word may be, for example, contained in an ancillary part of the target document that is unrelated to the subject matter of the target document.

具体的には、対象の文書において、対象の文書の特徴語として不適切な単語を含む定型文が複数回出現すると、当該単語が、対象の文書において比較的多く出現すると判断され、誤って対象の文書の特徴語として抽出されることになる。定型文は、例えば、対象の文書のヘッダまたはフッタに含まれる。より具体的には、対象の文書の特徴語として不適切な単語が、対象の文書において比較的多く出現すると、当該単語に関するTFが大きくなり、当該単語に関する尤度=TF×IDFが大きくなるため、誤って対象の文書の特徴語として抽出されることになる。 Specifically, if a template containing a word that is inappropriate as a characteristic word for the target document appears multiple times in the target document, the word will be determined to appear relatively frequently in the target document and will be erroneously extracted as a characteristic word for the target document. The template may be included in the header or footer of the target document, for example. More specifically, if a word that is inappropriate as a characteristic word for the target document appears relatively frequently in the target document, the TF for that word will be large, and the likelihood for that word = TF x IDF will be large, so that the word will be erroneously extracted as a characteristic word for the target document.

そこで、本実施の形態では、対象の文書の特徴語を精度よく抽出することができる情報処理方法について説明する。 Therefore, in this embodiment, we will explain an information processing method that can accurately extract characteristic words from a target document.

図1において、(1-1)情報処理装置100は、対象の文書110を特定の条件に従って分割した複数の部分111を取得する。対象の文書110は、例えば、複数のページを含む。対象の文書110は、ページ単位で区切られていなくてもよい。対象の文書110は、汎用的であり特徴的ではない語句を比較的多く含むことがある。図1の例では、特徴的ではない語句は、具体的には、対象の文書110の各ページのフッタに含まれるCopyrightなどの語句である。特定の条件は、例えば、ページ区切りを基準に対象の文書110を分割することを示す。特定の条件は、例えば、特定のキーワードを基準に対象の文書110を分割することを示していてもよい。 In FIG. 1, (1-1) the information processing device 100 obtains multiple parts 111 obtained by dividing a target document 110 according to specific conditions. The target document 110 includes, for example, multiple pages. The target document 110 does not need to be divided by page. The target document 110 may include a relatively large number of generic and uncharacteristic words. In the example of FIG. 1, the uncharacteristic words are specifically words such as "Copyright" included in the footer of each page of the target document 110. The specific conditions indicate, for example, dividing the target document 110 based on page breaks. The specific conditions may also indicate, for example, dividing the target document 110 based on specific keywords.

情報処理装置100は、例えば、対象の文書110を特定の条件に従って分割することにより、対象の文書110を分割した複数の部分111を取得する。図1の例では、情報処理装置100は、具体的には、対象の文書110を分割した複数の部分111-iを取得する。図1の例では、i=1~4である。これにより、情報処理装置100は、対象の文書110に比較的多く含まれる特徴的ではない語句を、それぞれ比較的少量ずつ含む複数の部分111を取得することができる。情報処理装置100は、汎用的であり特徴的ではない語句が、対象の文書110に比較的多く出現していても、部分111を基準とすれば、特徴的な語句ではないと正しく評価し易くすることができる。 The information processing device 100, for example, divides the target document 110 according to specific conditions, thereby acquiring multiple parts 111 into which the target document 110 is divided. In the example of FIG. 1, the information processing device 100 specifically acquires multiple parts 111-i into which the target document 110 is divided. In the example of FIG. 1, i=1 to 4. This allows the information processing device 100 to acquire multiple parts 111 each containing relatively small amounts of uncharacteristic words that are relatively frequently contained in the target document 110. Even if a generic, uncharacteristic word appears relatively frequently in the target document 110, the information processing device 100 can easily correctly evaluate it as not being a characteristic word by using part 111 as a reference.

(1-2)情報処理装置100は、取得した複数の部分111のそれぞれの部分111の中から、当該部分111の特徴を表す特徴語を抽出する。情報処理装置100は、例えば、それぞれの部分111に含まれるそれぞれの語句についての、当該部分111の特徴を表す特徴語としての第1の尤度に基づいて、それぞれの部分111の中から、当該部分111の特徴を表す特徴語を抽出する。第1の尤度は、例えば、部分111における語句に関するTF×IDFである。情報処理装置100は、それぞれの部分111から抽出した特徴語の一覧121を生成する。 (1-2) The information processing device 100 extracts, from each of the multiple acquired parts 111, a feature word that represents the feature of the part 111. For example, the information processing device 100 extracts, from each of the parts 111, a feature word that represents the feature of the part 111, based on a first likelihood for each word contained in the part 111 as a feature word that represents the feature of the part 111. The first likelihood is, for example, TF×IDF for the words in the part 111. The information processing device 100 generates a list 121 of feature words extracted from each of the parts 111.

図1の例では、情報処理装置100は、具体的には、それぞれの部分111-iの中から、当該部分111-iの特徴を表す特徴語を抽出し、抽出した特徴語の一覧121-iを生成する。図1の例では、i=1~4である。これにより、情報処理装置100は、汎用的であり特徴的ではない語句が、対象の文書110に比較的多く出現していても、部分111を基準として、特徴的な語句ではないと正しく評価し、部分111の特徴を表す特徴語を抽出することができる。 In the example of FIG. 1, the information processing device 100 specifically extracts characteristic words that represent the characteristics of each part 111-i from that part 111-i, and generates a list 121-i of extracted characteristic words. In the example of FIG. 1, i=1 to 4. As a result, even if a generic, non-characteristic word or phrase appears relatively frequently in the target document 110, the information processing device 100 can correctly evaluate it as not being a characteristic word or phrase based on part 111, and extract characteristic words that represent the characteristics of part 111.

(1-3)情報処理装置100は、抽出した特徴語を纏めた特徴語集合の中から、対象の文書110の特徴を表す特徴語を決定する。特徴語集合は、例えば、抽出した特徴語を重複なく集めることにより得られる。情報処理装置100は、特徴語集合に含まれるそれぞれの特徴語についての、対象の文書110の特徴を表す特徴語としての第2の尤度に基づいて、特徴語集合の中から、対象の文書110の特徴を表す特徴語を決定する。情報処理装置100は、例えば、決定した特徴語の一覧130を出力する。情報処理装置100は、具体的には、決定した特徴語の一覧130を、対象の文書110に対応付けて記憶する。 (1-3) The information processing device 100 determines feature words that represent the characteristics of the target document 110 from a feature word set that is a compilation of the extracted feature words. The feature word set is obtained, for example, by collecting the extracted feature words without duplication. The information processing device 100 determines feature words that represent the characteristics of the target document 110 from the feature word set based on a second likelihood for each feature word included in the feature word set as a feature word that represents the characteristic of the target document 110. The information processing device 100 outputs, for example, a list 130 of the determined feature words. Specifically, the information processing device 100 stores the list 130 of determined feature words in association with the target document 110.

これにより、情報処理装置100は、対象の文書110の特徴を表す特徴語を精度よく決定することができる。情報処理装置100は、例えば、部分111を基準として、対象の文書110に比較的多く出現する、汎用的であり特徴的ではない語句を、対象の文書110の特徴を表す特徴語の候補から除外することができる。そして、情報処理装置100は、例えば、汎用的であり特徴的ではない語句を、対象の文書110の特徴を表す特徴語の候補から除外してから、対象の文書110の特徴を表す特徴語を決定することができる。このため、情報処理装置100は、対象の文書110の特徴を表す特徴語を決定する精度の向上を図ることができる。 This allows the information processing device 100 to accurately determine characteristic words that represent the characteristics of the target document 110. The information processing device 100 can, for example, use the portion 111 as a reference to exclude generic and uncharacteristic words that appear relatively frequently in the target document 110 from candidates for characteristic words that represent the characteristics of the target document 110. The information processing device 100 can then determine characteristic words that represent the characteristics of the target document 110 after excluding generic and uncharacteristic words from candidates for characteristic words that represent the characteristics of the target document 110. This allows the information processing device 100 to improve the accuracy of determining characteristic words that represent the characteristics of the target document 110.

情報処理装置100は、さらに、記憶した特徴語の一覧130に基づいて、複数の文書の中から指定の条件を満たす文書を検索するサービスを、利用者に提供してもよい。情報処理装置100は、具体的には、利用者の操作入力に基づき、条件の指定を受け付け、指定の条件に基づき、指定の条件を満たす文書を検索する。そして、情報処理装置100は、検索した文書と共に、当該文書に対応付けられた特徴語の一覧130を、ディスプレイに表示することにより、複数の文書の中から指定の条件を満たす文書を検索するサービスを、利用者に提供する。これにより、情報処理装置100は、特徴語の一覧130に基づき、検索した文書が、どのような内容の文書であるのかを、利用者が把握し易くすることができる。 The information processing device 100 may further provide the user with a service of searching for documents that satisfy specified conditions from among multiple documents based on the stored list of characteristic words 130. Specifically, the information processing device 100 accepts the specification of conditions based on the user's operational input, and searches for documents that satisfy the specified conditions based on the specified conditions. The information processing device 100 then displays on a display the list of characteristic words 130 associated with the searched document together with the searched document, thereby providing the user with a service of searching for documents that satisfy the specified conditions from among multiple documents. This allows the information processing device 100 to easily understand the content of the searched document based on the list of characteristic words 130.

ここでは、情報処理装置100が、対象の文書110を特定の条件に従って分割することにより、対象の文書110を分割した複数の部分111を取得する場合について説明したが、これに限らない。例えば、情報処理装置100が、対象の文書110を特定の条件に従って分割する他のコンピュータから、対象の文書110を分割した複数の部分111を受信する場合があってもよい。 Here, a case has been described in which the information processing device 100 divides the target document 110 in accordance with specific conditions to obtain multiple parts 111 obtained by dividing the target document 110, but this is not limited to the case. For example, the information processing device 100 may receive multiple parts 111 obtained by dividing the target document 110 from another computer that divides the target document 110 in accordance with specific conditions.

ここでは、情報処理装置100が、検索した文書と共に、当該文書に対応付けられた特徴語の一覧130を、ディスプレイに表示し、複数の文書の中から指定の条件を満たす文書を検索するサービスを利用者に提供する場合について説明したが、これに限らない。例えば、情報処理装置100が、検索した文書と共に、当該文書に対応付けられた特徴語の一覧130を、他のコンピュータに送信し、複数の文書の中から指定の条件を満たす文書を検索するサービスを、利用者に提供する場合があってもよい。 Here, we have described a case where the information processing device 100 displays on a display the list 130 of characteristic words associated with the searched document together with the searched document, and provides the user with a service for searching for documents that satisfy specified conditions from among multiple documents, but this is not limited to the above. For example, the information processing device 100 may transmit the list 130 of characteristic words associated with the searched document together with the searched document to another computer, and provide the user with a service for searching for documents that satisfy specified conditions from among multiple documents.

ここでは、情報処理装置100が、複数の文書の中から指定の条件を満たす文書を検索するサービスを利用者に提供する場合について説明したが、これに限らない。例えば、情報処理装置100が、文書の要約文を作成するサービスを利用者に提供する場合があってもよい。この場合、情報処理装置100は、文書の特徴語を決定し、文書の特徴語を用いて文書の要約文を作成する。 Here, a case has been described in which the information processing device 100 provides a user with a service for searching for documents that satisfy specified conditions from among multiple documents, but this is not limited to the case. For example, the information processing device 100 may provide a user with a service for creating a summary of a document. In this case, the information processing device 100 determines characteristic words of the document and creates a summary of the document using the characteristic words of the document.

このように、情報処理装置100は、単独で動作していてもよいし、他のコンピュータと協働していてもよい。情報処理装置100が、他のコンピュータと協働する場合の一例については、具体的には、図2を用いて後述する。 In this way, the information processing device 100 may operate independently or in cooperation with another computer. An example of the information processing device 100 in cooperation with another computer will be described in detail later with reference to FIG. 2.

(情報処理システム200の一例)
次に、図2を用いて、図1に示した情報処理装置100を適用した、情報処理システム200の一例について説明する。
(An example of the information processing system 200)
Next, an example of an information processing system 200 to which the information processing device 100 shown in FIG. 1 is applied will be described with reference to FIG.

図2は、情報処理システム200の一例を示す説明図である。図2において、情報処理システム200は、情報処理装置100と、文書蓄積装置201と、クライアント装置202とを含む。 FIG. 2 is an explanatory diagram showing an example of an information processing system 200. In FIG. 2, the information processing system 200 includes an information processing device 100, a document storage device 201, and a client device 202.

情報処理システム200において、情報処理装置100と文書蓄積装置201は、有線または無線のネットワーク210を介して接続される。ネットワーク210は、例えば、LAN(Local Area Network)、WAN(Wide Area Network)、インターネットなどである。また、情報処理システム200において、情報処理装置100とクライアント装置202とは、有線または無線のネットワーク210を介して接続される。 In the information processing system 200, the information processing device 100 and the document storage device 201 are connected via a wired or wireless network 210. The network 210 is, for example, a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, etc. In the information processing system 200, the information processing device 100 and the client device 202 are connected via the wired or wireless network 210.

情報処理装置100は、文書を検索するサービスを提供するコンピュータである。文書は、例えば、論文、提案書、設計資料、契約書、または、新聞記事などである。情報処理装置100は、文書蓄積装置201から、複数の文書を取得する。情報処理装置100は、取得した複数の文書のそれぞれの文書に出現するそれぞれの単語について、当該文書におけるTF×IDFを算出し、図4に後述する全体頻度管理テーブル400に記憶する。 The information processing device 100 is a computer that provides a service for searching documents. The documents are, for example, papers, proposals, design documents, contracts, or newspaper articles. The information processing device 100 acquires a plurality of documents from the document storage device 201. The information processing device 100 calculates the TF×IDF for each word that appears in each of the acquired documents, and stores the calculated TF×IDF in the document in an overall frequency management table 400, which will be described later in FIG. 4.

情報処理装置100は、複数の文書のそれぞれの文書を特定の条件に従って分割することにより、当該文書を分割した複数の部分を取得する。情報処理装置100は、複数の文書のそれぞれの文書を分割した複数の部分を、文書蓄積装置201から受信することにより取得してもよい。情報処理装置100は、複数の部分のそれぞれの部分に出現するそれぞれの単語について、当該部分におけるTF×IDFを算出し、図5に後述する部分頻度管理テーブル500に記憶する。 The information processing device 100 divides each of the multiple documents according to specific conditions, thereby acquiring the multiple parts into which the document is divided. The information processing device 100 may acquire the multiple parts into which each of the multiple documents is divided by receiving them from the document storage device 201. The information processing device 100 calculates TF×IDF for each word that appears in each of the multiple parts, and stores the TF×IDF in the part in the part frequency management table 500 described later in FIG. 5.

情報処理装置100は、図4および図5に後述する各種テーブルを参照して、複数の文書のそれぞれの文書の特徴を表す特徴語を決定し、当該文書と対応付けて、図6に後述する重要単語管理テーブル600に記憶する。文書の特徴を表す特徴語は、例えば、当該文書のタグとなり得る。 The information processing device 100 refers to various tables described later in FIG. 4 and FIG. 5 to determine characteristic words that represent the characteristics of each of a plurality of documents, associates them with the documents, and stores them in the important word management table 600 described later in FIG. 6. The characteristic words that represent the characteristics of a document can be, for example, tags of the documents.

情報処理装置100は、文書を検索する条件を、クライアント装置202から受信する。条件は、例えば、文書が特定のキーワードを含むことである。条件は、例えば、文書が特定の特徴語に対応付けられていることであってもよい。情報処理装置100は、複数の文書の中から、受信した条件を満たす1以上の文書を検索する。情報処理装置100は、重要単語管理テーブル600を参照して、検索した1以上の文書のそれぞれの文書に対応付けられた特徴語を取得する。 The information processing device 100 receives conditions for searching documents from the client device 202. The condition is, for example, that the document contains a specific keyword. The condition may also be, for example, that the document is associated with a specific feature word. The information processing device 100 searches for one or more documents that satisfy the received conditions from among multiple documents. The information processing device 100 refers to the important word management table 600 and obtains the feature words associated with each of the one or more searched documents.

情報処理装置100は、検索した1以上の文書のそれぞれの文書と、当該文書に対応付けられた特徴語とを、クライアント装置202に送信する。情報処理装置100は、例えば、サーバ、または、PC(Personal Computer)などである。 The information processing device 100 transmits each of the one or more retrieved documents and the characteristic words associated with the document to the client device 202. The information processing device 100 is, for example, a server or a PC (Personal Computer).

文書蓄積装置201は、文書を蓄積するコンピュータである。文書蓄積装置201は、文書を検索するサービスの管理者の操作入力に基づき、文書の入力を受け付け、入力を受け付けた文書を蓄積する。文書蓄積装置201は、他のコンピュータから、文書を収集することにより蓄積してもよい。文書蓄積装置201は、蓄積した複数の文書を、情報処理装置100に提供する。文書蓄積装置201は、さらに、蓄積した複数の文書のそれぞれの文書を特定の条件に従って分割することにより、当該文書を分割した複数の部分を生成して情報処理装置100に提供してもよい。文書蓄積装置201は、例えば、サーバ、または、PCなどである。 The document storage device 201 is a computer that stores documents. The document storage device 201 accepts document input based on operational input from an administrator of a service that searches for documents, and stores the accepted documents. The document storage device 201 may store documents by collecting them from other computers. The document storage device 201 provides the stored documents to the information processing device 100. The document storage device 201 may further divide each of the stored documents according to specific conditions, thereby generating multiple divided parts of the document and providing the divided parts to the information processing device 100. The document storage device 201 is, for example, a server or a PC.

クライアント装置202は、文書を検索するサービスの利用者によって用いられるコンピュータである。クライアント装置202は、利用者の操作入力に基づき、文書を検索する条件を、情報処理装置100に送信する。クライアント装置202は、検索された1以上の文書のそれぞれの文書と、当該文書に対応付けられた特徴語とを、情報処理装置100から受信する。 The client device 202 is a computer used by a user of the document search service. The client device 202 transmits document search conditions to the information processing device 100 based on the user's operational input. The client device 202 receives each of the one or more searched documents and the characteristic words associated with the document from the information processing device 100.

クライアント装置202は、検索された1以上の文書のそれぞれの文書と、当該文書に対応付けられた特徴語とを、利用者が参照可能に出力する。クライアント装置202は、例えば、検索された1以上の文書のそれぞれの文書と、当該文書に対応付けられた特徴語とを、ディスプレイに表示する。クライアント装置202は、例えば、PC、タブレット端末、または、スマートフォンなどである。 The client device 202 outputs each of the one or more searched documents and the characteristic words associated with the document so that the user can refer to it. For example, the client device 202 displays each of the one or more searched documents and the characteristic words associated with the document on a display. The client device 202 is, for example, a PC, a tablet terminal, or a smartphone.

ここで、文書を検索するサービスは、例えば、それぞれ文書となる複数の提案書の中から、利用者が指定する時期、トレンド、または、ターゲット層などの条件を満たす提案書を検索する用途などに適用される。 The document search service is used, for example, to search for proposals that meet the conditions, such as a time period, trend, or target demographic, specified by the user from among a number of proposals, each of which is a document.

ここでは、情報処理装置100と、文書蓄積装置201とが異なる装置である場合について説明したが、これに限らない。例えば、情報処理装置100が、文書蓄積装置201としての機能を有し、文書蓄積装置201としても動作する場合があってもよい。ここでは、情報処理装置100と、クライアント装置202とが異なる装置である場合について説明したが、これに限らない。例えば、情報処理装置100が、クライアント装置202としての機能を有し、クライアント装置202としても動作する場合があってもよい。 Here, a case has been described in which the information processing device 100 and the document storage device 201 are different devices, but this is not limited thereto. For example, the information processing device 100 may have the function of the document storage device 201 and also operate as the document storage device 201. Here, a case has been described in which the information processing device 100 and the client device 202 are different devices, but this is not limited thereto. For example, the information processing device 100 may have the function of the client device 202 and also operate as the client device 202.

(情報処理装置100のハードウェア構成例)
次に、図3を用いて、情報処理装置100のハードウェア構成例について説明する。
(Example of hardware configuration of information processing device 100)
Next, an example of the hardware configuration of the information processing device 100 will be described with reference to FIG.

図3は、情報処理装置100のハードウェア構成例を示すブロック図である。図3において、情報処理装置100は、CPU(Central Processing Unit)301と、メモリ302と、ネットワークI/F(Interface)303と、記録媒体I/F304と、記録媒体305とを有する。また、各構成部は、バス300によってそれぞれ接続される。 Fig. 3 is a block diagram showing an example of the hardware configuration of the information processing device 100. In Fig. 3, the information processing device 100 has a CPU (Central Processing Unit) 301, a memory 302, a network I/F (Interface) 303, a recording medium I/F 304, and a recording medium 305. In addition, each component is connected to each other by a bus 300.

ここで、CPU301は、情報処理装置100の全体の制御を司る。メモリ302は、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)およびフラッシュROMなどを有する。具体的には、例えば、フラッシュROMやROMが各種プログラムを記憶し、RAMがCPU301のワークエリアとして使用される。メモリ302に記憶されるプログラムは、CPU301にロードされることにより、コーディングされている処理をCPU301に実行させる。 Here, the CPU 301 is responsible for the overall control of the information processing device 100. The memory 302 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), and a flash ROM. Specifically, for example, the flash ROM and ROM store various programs, and the RAM is used as a work area for the CPU 301. The programs stored in the memory 302 are loaded into the CPU 301, causing the CPU 301 to execute the coded processes.

ネットワークI/F303は、通信回線を通じてネットワーク210に接続され、ネットワーク210を介して他のコンピュータに接続される。そして、ネットワークI/F303は、ネットワーク210と内部のインターフェースを司り、他のコンピュータからのデータの入出力を制御する。ネットワークI/F303は、例えば、モデムやLANアダプタなどである。 The network I/F 303 is connected to the network 210 via a communication line, and is connected to other computers via the network 210. The network I/F 303 manages the internal interface with the network 210, and controls the input and output of data from other computers. The network I/F 303 is, for example, a modem or a LAN adapter.

記録媒体I/F304は、CPU301の制御に従って記録媒体305に対するデータのリード/ライトを制御する。記録媒体I/F304は、例えば、ディスクドライブ、SSD(Solid State Drive)、USB(Universal Serial Bus)ポートなどである。記録媒体305は、記録媒体I/F304の制御で書き込まれたデータを記憶する不揮発メモリである。記録媒体305は、例えば、ディスク、半導体メモリ、USBメモリなどである。記録媒体305は、情報処理装置100から着脱可能であってもよい。 The recording medium I/F 304 controls the reading/writing of data from/to the recording medium 305 under the control of the CPU 301. The recording medium I/F 304 is, for example, a disk drive, a solid state drive (SSD), or a universal serial bus (USB) port. The recording medium 305 is a non-volatile memory that stores data written under the control of the recording medium I/F 304. The recording medium 305 is, for example, a disk, a semiconductor memory, a USB memory, or the like. The recording medium 305 may be detachable from the information processing device 100.

情報処理装置100は、上述した構成部の他、例えば、キーボード、マウス、ディスプレイ、プリンタ、スキャナ、マイク、スピーカーなどを有してもよい。また、情報処理装置100は、記録媒体I/F304や記録媒体305を複数有していてもよい。また、情報処理装置100は、記録媒体I/F304や記録媒体305を有していなくてもよい。 In addition to the components described above, the information processing device 100 may also have, for example, a keyboard, a mouse, a display, a printer, a scanner, a microphone, a speaker, etc. The information processing device 100 may also have multiple recording medium I/Fs 304 and recording media 305. The information processing device 100 may also not have recording medium I/Fs 304 and recording media 305.

(全体頻度管理テーブル400の記憶内容)
次に、図4を用いて、全体頻度管理テーブル400の記憶内容の一例について説明する。全体頻度管理テーブル400は、例えば、図3に示した情報処理装置100のメモリ302や記録媒体305などの記憶領域により実現される。
(Storage contents of overall frequency management table 400)
Next, an example of the contents of the total frequency management table 400 will be described with reference to Fig. 4. The total frequency management table 400 is realized by, for example, a storage area such as the memory 302 or the recording medium 305 of the information processing device 100 shown in Fig. 3.

図4は、全体頻度管理テーブル400の記憶内容の一例を示す説明図である。図4に示すように、全体頻度管理テーブル400は、IDと、ファイルIDと、単語IDと、出現回数と、単語スコアとのフィールドを有する。全体頻度管理テーブル400は、単語ごとに各フィールドに情報を設定することにより、全体頻度情報がレコード400-aとして記憶される。aは、任意の整数である。 Figure 4 is an explanatory diagram showing an example of the contents stored in the overall frequency management table 400. As shown in Figure 4, the overall frequency management table 400 has fields for ID, file ID, word ID, number of occurrences, and word score. The overall frequency management table 400 stores overall frequency information as record 400-a by setting information for each word in each field. a is an arbitrary integer.

IDのフィールドには、レコードを識別するIDが設定される。ファイルIDのフィールドには、文書を識別するファイルIDが設定される。単語IDのフィールドには、上記文書に出現する単語を識別する単語IDが設定される。出現回数のフィールドには、上記文書における上記単語の出現回数が設定される。単語スコアのフィールドには、上記文書における上記単語のTF×IDFが単語スコアとして設定される。 The ID field is set to an ID that identifies the record. The file ID field is set to a file ID that identifies the document. The word ID field is set to a word ID that identifies a word that appears in the document. The occurrence count field is set to the number of occurrences of the word in the document. The word score field is set to the TF×IDF of the word in the document as the word score.

(部分頻度管理テーブル500の記憶内容)
次に、図5を用いて、部分頻度管理テーブル500の記憶内容の一例について説明する。部分頻度管理テーブル500は、例えば、図3に示した情報処理装置100のメモリ302や記録媒体305などの記憶領域により実現される。
(Contents of Partial Frequency Management Table 500)
5, an example of the contents stored in the partial frequency management table 500 will be described. The partial frequency management table 500 is realized by, for example, a storage area such as the memory 302 or the recording medium 305 of the information processing device 100 shown in FIG.

図5は、部分頻度管理テーブル500の記憶内容の一例を示す説明図である。図5に示すように、部分頻度管理テーブル500は、IDと、ファイルIDと、区切りIDと、単語IDと、出現回数と、単語スコアとのフィールドを有する。部分頻度管理テーブル500は、単語ごとに各フィールドに情報を設定することにより、部分頻度情報がレコード500-bとして記憶される。bは、任意の整数である。 Figure 5 is an explanatory diagram showing an example of the contents stored in the partial frequency management table 500. As shown in Figure 5, the partial frequency management table 500 has fields for ID, file ID, separator ID, word ID, occurrence count, and word score. The partial frequency management table 500 stores partial frequency information as record 500-b by setting information in each field for each word. b is an arbitrary integer.

IDのフィールドには、レコードを識別するIDが設定される。ファイルIDのフィールドには、文書を識別するファイルIDが設定される。区切りIDのフィールドには、文書を分割した複数の部分のいずれかの部分を識別する区切りIDが設定される。単語IDのフィールドには、上記いずれかの部分に出現する単語を識別する単語IDが設定される。出現回数のフィールドには、上記いずれかの部分における上記単語の出現回数が設定される。単語スコアのフィールドには、上記いずれかの部分における上記単語のTF×IDFが単語スコアとして設定される。 In the ID field, an ID that identifies the record is set. In the file ID field, a file ID that identifies the document is set. In the segment ID field, a segment ID that identifies one of the multiple parts into which the document is divided is set. In the word ID field, a word ID that identifies a word that appears in one of the above parts is set. In the occurrence count field, the number of times that the word appears in one of the above parts is set. In the word score field, the TF×IDF of the word in one of the above parts is set as the word score.

(重要単語管理テーブル600の記憶内容)
次に、図6を用いて、重要単語管理テーブル600の記憶内容の一例について説明する。重要単語管理テーブル600は、例えば、図3に示した情報処理装置100のメモリ302や記録媒体305などの記憶領域により実現される。
(Storage contents of important word management table 600)
Next, an example of the contents stored in the important word management table 600 will be described with reference to Fig. 6. The important word management table 600 is realized, for example, by a storage area such as the memory 302 or the recording medium 305 of the information processing device 100 shown in Fig. 3.

図6は、重要単語管理テーブル600の記憶内容の一例を示す説明図である。図6に示すように、重要単語管理テーブル600は、IDと、ファイルIDと、単語IDと、ランクと、単語スコアとのフィールドを有する。重要単語管理テーブル600は、単語ごとに各フィールドに情報を設定することにより、重要単語情報がレコード600-cとして記憶される。cは、任意の整数である。 Figure 6 is an explanatory diagram showing an example of the contents stored in the important word management table 600. As shown in Figure 6, the important word management table 600 has fields for ID, file ID, word ID, rank, and word score. The important word management table 600 stores important word information as record 600-c by setting information in each field for each word. c is an arbitrary integer.

IDのフィールドには、レコードを識別するIDが設定される。ファイルIDのフィールドには、文書を識別するファイルIDが設定される。単語IDのフィールドには、上記文書の特徴語となる単語を識別する単語IDが設定される。ランクのフィールドには、上記文書の特徴語となる1以上の単語に、上記文書の特徴語として尤もらしい方から順位付けした場合における、上記単語に付された順位を示すランクが設定される。単語のランクは、値が小さいほど、当該単語が上記文書の特徴語として尤もらしいことを示す。単語スコアのフィールドには、上記文書における上記単語のTF×IDFが単語スコアとして設定される。 In the ID field, an ID that identifies a record is set. In the file ID field, a file ID that identifies a document is set. In the word ID field, a word ID that identifies a word that is a characteristic word of the document is set. In the rank field, a rank is set that indicates the rank assigned to one or more words that are characteristic words of the document when the words are ranked in order of likelihood as characteristic words of the document. The smaller the word rank value, the more likely the word is to be a characteristic word of the document. In the word score field, the TF×IDF of the word in the document is set as the word score.

(文書蓄積装置201のハードウェア構成例)
文書蓄積装置201のハードウェア構成例は、具体的には、図3に示した情報処理装置100のハードウェア構成例と同様であるため、説明を省略する。
(Example of Hardware Configuration of Document Storage Device 201)
A specific example of the hardware configuration of the document storage device 201 is similar to the example of the hardware configuration of the information processing device 100 shown in FIG. 3, and therefore a description thereof will be omitted.

(クライアント装置202のハードウェア構成例)
クライアント装置202のハードウェア構成例は、具体的には、図3に示した情報処理装置100のハードウェア構成例と同様であるため、説明を省略する。
(Example of Hardware Configuration of Client Device 202)
Specifically, an example of the hardware configuration of the client device 202 is similar to the example of the hardware configuration of the information processing device 100 shown in FIG. 3, and therefore a description thereof will be omitted.

(情報処理装置100の機能的構成例)
次に、図7を用いて、情報処理装置100の機能的構成例について説明する。
(Example of functional configuration of information processing device 100)
Next, an example of a functional configuration of the information processing device 100 will be described with reference to FIG.

図7は、情報処理装置100の機能的構成例を示すブロック図である。情報処理装置100は、記憶部700と、取得部701と、分割部702と、第1抽出部703と、第2抽出部704と、出力部705とを含む。 FIG. 7 is a block diagram showing an example of the functional configuration of the information processing device 100. The information processing device 100 includes a storage unit 700, an acquisition unit 701, a division unit 702, a first extraction unit 703, a second extraction unit 704, and an output unit 705.

記憶部700は、例えば、図3に示したメモリ302や記録媒体305などの記憶領域によって実現される。以下では、記憶部700が、情報処理装置100に含まれる場合について説明するが、これに限らない。例えば、記憶部700が、情報処理装置100とは異なる装置に含まれ、記憶部700の記憶内容が情報処理装置100から参照可能である場合があってもよい。 The storage unit 700 is realized, for example, by a storage area such as the memory 302 or recording medium 305 shown in FIG. 3. Below, a case where the storage unit 700 is included in the information processing device 100 will be described, but this is not limited to this. For example, the storage unit 700 may be included in a device different from the information processing device 100, and the contents stored in the storage unit 700 may be accessible from the information processing device 100.

取得部701~出力部705は、制御部の一例として機能する。取得部701~出力部705は、具体的には、例えば、図3に示したメモリ302や記録媒体305などの記憶領域に記憶されたプログラムをCPU301に実行させることにより、または、ネットワークI/F303により、その機能を実現する。各機能部の処理結果は、例えば、図3に示したメモリ302や記録媒体305などの記憶領域に記憶される。 The acquisition unit 701 to the output unit 705 function as an example of a control unit. Specifically, the acquisition unit 701 to the output unit 705 realize their functions by, for example, causing the CPU 301 to execute a program stored in a storage area such as the memory 302 or the recording medium 305 shown in FIG. 3, or by the network I/F 303. The processing results of each functional unit are stored in, for example, a storage area such as the memory 302 or the recording medium 305 shown in FIG. 3.

記憶部700は、各機能部の処理において参照され、または更新される各種情報を記憶する。記憶部700は、例えば、複数の文書を記憶する。文書は、複数の語句を含むデータである。文書は、例えば、複数の語句を含む文章を表すデータである。文書は、例えば、表を表すデータであってもよい。文書は、例えば、文章と図表とを併せて表すデータであってもよい。文書は、例えば、取得部701によって取得され、記憶部700によって記憶される。文書は、例えば、予め記憶部700によって記憶されていてもよい。 The storage unit 700 stores various information that is referenced or updated during processing by each functional unit. The storage unit 700 stores, for example, multiple documents. A document is data that includes multiple words. A document is data that represents a sentence that includes multiple words. A document may be, for example, data that represents a table. A document may be, for example, data that represents a combination of sentences and diagrams. A document is, for example, acquired by the acquisition unit 701 and stored by the storage unit 700. A document may be, for example, stored in advance by the storage unit 700.

記憶部700は、例えば、文書を特定の条件に従って分割した複数の部分を記憶する。特定の条件は、例えば、文書をページ単位で分割することを示す。特定の条件は、例えば、文書をスライド単位で分割することを示していてもよい。特定の条件は、例えば、文書に含まれるキーワード前後で当該文書を分割することを示していてもよい。複数の部分は、例えば、取得部701によって取得され、記憶部700によって記憶される。複数の部分は、例えば、分割部702によって生成され、記憶部700によって記憶されていてもよい。複数の部分は、例えば、予め記憶部700によって記憶されていてもよい。記憶部700は、例えば、文書を分割する特定の条件を記憶していてもよい。特定の条件は、例えば、予め記憶部700によって記憶される。 The storage unit 700 stores, for example, a plurality of parts obtained by dividing a document according to a specific condition. The specific condition indicates, for example, dividing a document by page. The specific condition may indicate, for example, dividing a document by slide. The specific condition may indicate, for example, dividing a document before and after a keyword included in the document. The plurality of parts are, for example, acquired by the acquisition unit 701 and stored by the storage unit 700. The plurality of parts may be, for example, generated by the division unit 702 and stored by the storage unit 700. The plurality of parts may be, for example, stored in advance by the storage unit 700. The storage unit 700 may store, for example, a specific condition for dividing a document. The specific condition is, for example, stored in advance by the storage unit 700.

記憶部700は、例えば、複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、当該部分の特徴語としての第1の尤度を記憶する。部分の特徴語は、部分の特徴を表す語句である。第1の尤度は、例えば、TF×IDFである。記憶部700は、具体的には、図5に示した部分頻度管理テーブル500を記憶する。第1の尤度は、例えば、第1抽出部703によって算出され、記憶部700によって記憶される。記憶部700は、例えば、複数の部分のそれぞれの部分の特徴語を当該部分に対応付けて記憶する。部分の特徴語は、例えば、第1抽出部703によって抽出され、記憶部700によって記憶される。 The storage unit 700 stores, for example, a first likelihood of each word contained in each of the multiple parts as a characteristic word of the part. A characteristic word of a part is a word that expresses the characteristic of the part. The first likelihood is, for example, TF×IDF. Specifically, the storage unit 700 stores the part frequency management table 500 shown in FIG. 5. The first likelihood is, for example, calculated by the first extraction unit 703 and stored by the storage unit 700. The storage unit 700 stores, for example, a characteristic word of each of the multiple parts in association with the part. A characteristic word of a part is, for example, extracted by the first extraction unit 703 and stored by the storage unit 700.

記憶部700は、例えば、文書を分割した複数の部分の少なくともいずれかの部分の特徴語についての、当該文書の特徴語としての第2の尤度を記憶する。第2の尤度は、例えば、TF×IDFである。記憶部700は、具体的には、図4に示した全体頻度管理テーブル400を記憶する。第2の尤度は、例えば、第2抽出部704によって算出され、記憶部700によって記憶される。記憶部700は、例えば、文書の特徴語を当該文書に対応付けて記憶する。文書の特徴語は、文書の特徴を表す語句である。文書の特徴語は、例えば、第2抽出部704によって決定され、記憶部700に記憶される。 The storage unit 700 stores, for example, a second likelihood of a characteristic word of at least one of the multiple parts into which a document is divided as a characteristic word of the document. The second likelihood is, for example, TF×IDF. Specifically, the storage unit 700 stores the overall frequency management table 400 shown in FIG. 4. The second likelihood is, for example, calculated by the second extraction unit 704 and stored by the storage unit 700. The storage unit 700 stores, for example, characteristic words of a document in association with the document. A characteristic word of a document is a word or phrase that expresses a characteristic of the document. A characteristic word of a document is, for example, determined by the second extraction unit 704 and stored in the storage unit 700.

取得部701は、各機能部の処理に用いられる各種情報を取得する。取得部701は、取得した各種情報を、記憶部700に記憶し、または、各機能部に出力する。また、取得部701は、記憶部700に記憶しておいた各種情報を、各機能部に出力してもよい。取得部701は、例えば、利用者の操作入力に基づき、各種情報を取得する。取得部701は、例えば、情報処理装置100とは異なる装置から、各種情報を受信してもよい。 The acquisition unit 701 acquires various information used for processing by each functional unit. The acquisition unit 701 stores the acquired various information in the memory unit 700 or outputs it to each functional unit. The acquisition unit 701 may also output the various information stored in the memory unit 700 to each functional unit. The acquisition unit 701 acquires various information based on, for example, a user's operation input. The acquisition unit 701 may receive various information from, for example, a device other than the information processing device 100.

取得部701は、対象の文書を取得する。取得部701は、例えば、記憶部700に記憶された複数の文書のそれぞれの文書を、対象の文書として読み出すことにより取得する。取得部701は、例えば、記憶部700に記憶された複数の文書のいずれかの文書を、対象の文書として読み出すことにより取得してもよい。取得部701は、例えば、対象の文書を、他のコンピュータから受信することにより取得してもよい。 The acquisition unit 701 acquires the target document. For example, the acquisition unit 701 acquires each of the multiple documents stored in the memory unit 700 by reading them out as the target document. For example, the acquisition unit 701 may acquire any one of the multiple documents stored in the memory unit 700 by reading it out as the target document. For example, the acquisition unit 701 may acquire the target document by receiving it from another computer.

取得部701は、対象の文書を分割した複数の部分を取得する。取得部701は、例えば、記憶部700に記憶された、複数の文書のそれぞれの文書を分割した複数の部分を、対象の文書を分割した複数の部分として読み出すことにより取得する。取得部701は、例えば、記憶部700に記憶された、複数の文書のいずれかの文書を分割した複数の部分を、対象の文書を分割した複数の部分として読み出すことにより取得してもよい。取得部701は、例えば、自装置で対象の文書を分割しない場合、対象の文書を分割した複数の部分を、他のコンピュータから受信することにより取得してもよい。 The acquisition unit 701 acquires the multiple parts into which the target document is divided. The acquisition unit 701 acquires, for example, the multiple parts into which each of the multiple documents stored in the storage unit 700 is divided, by reading them out as the multiple parts into which the target document is divided. The acquisition unit 701 may also acquire, for example, the multiple parts into which any of the multiple documents stored in the storage unit 700 is divided, by reading them out as the multiple parts into which the target document is divided. For example, if the acquisition unit 701 does not divide the target document on its own device, it may acquire the multiple parts into which the target document is divided by receiving them from another computer.

取得部701は、いずれかの機能部の処理を開始する開始トリガーを受け付けてもよい。開始トリガーは、例えば、利用者による所定の操作入力があったことである。開始トリガーは、例えば、他のコンピュータから、所定の情報を受信したことであってもよい。開始トリガーは、例えば、いずれかの機能部が所定の情報を出力したことであってもよい。取得部701は、具体的には、対象の文書を取得したことを、分割部702と第1抽出部703と第2抽出部704との処理を開始する開始トリガーとして受け付けてもよい。取得部701は、具体的には、対象の文書と、対象の文書を分割した複数の部分とを取得したことを、第1抽出部703と第2抽出部704との処理を開始する開始トリガーとして受け付けてもよい。 The acquisition unit 701 may receive a start trigger for starting the processing of any of the functional units. The start trigger may be, for example, a predetermined operational input by a user. The start trigger may be, for example, the receipt of predetermined information from another computer. The start trigger may be, for example, the output of predetermined information by any of the functional units. Specifically, the acquisition unit 701 may receive the acquisition of a target document as a start trigger for starting the processing of the division unit 702, the first extraction unit 703, and the second extraction unit 704. Specifically, the acquisition unit 701 may receive the acquisition of a target document and multiple parts into which the target document is divided as a start trigger for starting the processing of the first extraction unit 703 and the second extraction unit 704.

分割部702は、対象の文書を分割した複数の部分を取得する。分割部702は、例えば、対象の文書を特定の条件に従って分割することにより、複数の部分を取得する。分割部702は、具体的には、対象の文書をページ単位で分割することにより、対象の文書を分割した複数の部分を取得する。分割部702は、具体的には、対象の文書に含まれるキーワード前後で対象の文書を分割することにより、対象の文書を分割した複数の部分を取得してもよい。 The division unit 702 obtains multiple parts obtained by dividing the target document. The division unit 702 obtains multiple parts, for example, by dividing the target document according to specific conditions. Specifically, the division unit 702 obtains multiple parts obtained by dividing the target document by page units. Specifically, the division unit 702 may obtain multiple parts obtained by dividing the target document by dividing the target document before and after a keyword included in the target document.

これにより、分割部702は、対象の文書に比較的多く含まれる特徴的ではない語句があれば、当該語句をそれぞれ比較的少量ずつ含む複数の部分を生成することができる。そして、分割部702は、対象の文書の他に、対象の文書を分割した複数の部分のそれぞれの部分を、対象の文書の特徴語を決定する際の基準として利用可能にすることができる。 In this way, if there is a non-characteristic word that is contained relatively frequently in the target document, the dividing unit 702 can generate multiple parts each containing a relatively small amount of that word. Then, in addition to the target document, the dividing unit 702 can make each of the multiple parts into which the target document is divided available as a criterion for determining characteristic words for the target document.

第1抽出部703は、取得した複数の部分のそれぞれの部分の中から、当該部分の特徴語を抽出する。第1抽出部703は、例えば、それぞれの部分に含まれるそれぞれの語句についての、当該部分の特徴語としての第1の尤度に基づいて、それぞれの部分の中から、当該部分の特徴語を抽出する。 The first extraction unit 703 extracts a characteristic word for each of the acquired parts from the plurality of parts. The first extraction unit 703 extracts a characteristic word for each of the parts from the respective parts based on, for example, a first likelihood that each word included in each of the parts is a characteristic word for the part.

第1抽出部703は、具体的には、それぞれの部分に含まれるそれぞれの語句について、当該部分に語句が出現する頻度の多さに基づく評価値と、複数の部分のうち、語句が出現する部分の数の多さに基づく評価値とに基づいて、第1の尤度を算出する。そして、第1抽出部703は、具体的には、算出した第1の尤度に基づいて、それぞれの部分の中から、当該部分の特徴語を抽出する。第1抽出部703は、より具体的には、それぞれの部分に含まれる語句のうち、算出した第1の尤度が閾値以上である語句を、当該部分の特徴語として抽出する。 Specifically, the first extraction unit 703 calculates a first likelihood for each word contained in each part based on an evaluation value based on the frequency with which the word appears in that part and an evaluation value based on the number of parts in which the word appears among the multiple parts. Then, specifically, the first extraction unit 703 extracts characteristic words for each part based on the calculated first likelihood. More specifically, the first extraction unit 703 extracts, from among the words contained in each part, words whose calculated first likelihood is equal to or greater than a threshold value as characteristic words for that part.

これにより、第1抽出部703は、汎用的であり特徴的ではない語句が、対象の文書に比較的多く出現していても、それぞれの部分を基準として、特徴的な語句ではないと正しく評価し、それぞれの部分の特徴語を抽出することができる。このため、第1抽出部703は、対象の文書の特徴語を決定する際の特徴語の候補を絞り込むことができ、対象の文書の特徴語を精度よく決定可能にすることができる。 As a result, even if generic, non-characteristic words appear relatively frequently in the target document, the first extraction unit 703 can correctly evaluate each part as a criterion and determine that the words are not characteristic words, and extract characteristic words for each part. Therefore, the first extraction unit 703 can narrow down candidates for characteristic words when determining characteristic words for the target document, and can accurately determine characteristic words for the target document.

第1抽出部703は、例えば、対象の文書を含む複数の文書に基づいて、取得した複数の部分のそれぞれの部分の中から、当該部分の特徴語を抽出してもよい。第1抽出部703は、具体的には、複数の文書に基づいて、それぞれの部分に含まれるそれぞれの語句について、第1の尤度を算出する。そして、第1抽出部703は、具体的には、算出した第1の尤度に基づいて、それぞれの部分の中から、当該部分の特徴語を抽出する。 The first extraction unit 703 may, for example, extract characteristic words of each of the multiple acquired parts based on multiple documents including the target document. Specifically, the first extraction unit 703 calculates a first likelihood for each word included in each part based on the multiple documents. Then, specifically, the first extraction unit 703 extracts characteristic words of each part based on the calculated first likelihood.

これにより、第1抽出部703は、汎用的であり特徴的ではない語句が、対象の文書に比較的多く出現していても、それぞれの部分を基準として、特徴的な語句ではないと正しく評価し、それぞれの部分の特徴語を抽出することができる。このため、第1抽出部703は、対象の文書の特徴語を決定する際の特徴語の候補を絞り込むことができ、対象の文書の特徴語を精度よく決定可能にすることができる。 As a result, even if generic, non-characteristic words appear relatively frequently in the target document, the first extraction unit 703 can correctly evaluate each part as a criterion and determine that the words are not characteristic words, and extract characteristic words for each part. Therefore, the first extraction unit 703 can narrow down candidates for characteristic words when determining characteristic words for the target document, and can accurately determine characteristic words for the target document.

第2抽出部704は、第1抽出部703で抽出した特徴語を纏めた特徴語集合の中から、対象の文書の特徴語を決定する。特徴語集合は、第1抽出部703で抽出した特徴語を重複なく纏めることにより生成される。第2抽出部704は、例えば、特徴語集合に含まれるそれぞれの特徴語についての、対象の文書の特徴語としての第2の尤度に基づいて、特徴語集合の中から、対象の文書の特徴語を決定する。 The second extraction unit 704 determines feature words of the target document from a feature word set that is a compilation of the feature words extracted by the first extraction unit 703. The feature word set is generated by compiling the feature words extracted by the first extraction unit 703 without duplication. The second extraction unit 704 determines feature words of the target document from the feature word set, for example, based on a second likelihood of each feature word included in the feature word set as a feature word of the target document.

第2抽出部704は、具体的には、それぞれの特徴語について、対象の文書に特徴語が出現する頻度の多さに基づく評価値と、対象の文書を含む複数の文書のうち、特徴語が出現する文書の数の多さに基づく評価値とに基づいて、第2の尤度を算出する。そして、第2抽出部704は、具体的には、算出した第2の尤度に基づいて、特徴語集合の中から、対象の文書の特徴語を決定する。第2抽出部704は、より具体的には、特徴語集合の中から、算出した第2の尤度が閾値以上である特徴語を、対象の文書の特徴語として決定する。 Specifically, the second extraction unit 704 calculates a second likelihood for each feature word based on an evaluation value based on the frequency with which the feature word appears in the target document and an evaluation value based on the number of documents in which the feature word appears among a plurality of documents including the target document. Specifically, the second extraction unit 704 then determines feature words of the target document from the feature word set based on the calculated second likelihood. More specifically, the second extraction unit 704 determines feature words of the target document from the feature word set whose calculated second likelihood is equal to or greater than a threshold value as feature words of the target document.

これにより、第2抽出部704は、対象の文書の特徴語を決定する際の特徴語の候補が、特徴語集合に含まれる特徴語に絞り込まれた後に、特徴語集合の中から、対象の文書の特徴語を決定することができる。このため、第2抽出部704は、対象の文書の特徴語を精度よく決定することができる。 As a result, the second extraction unit 704 can determine the feature words of the target document from the feature word set after narrowing down the candidate feature words when determining the feature words of the target document to the feature words included in the feature word set. This allows the second extraction unit 704 to accurately determine the feature words of the target document.

ここでは、第1抽出部703が、それぞれの部分の中から、当該部分の特徴語を抽出する場合について説明したが、これに限らない。例えば、第1抽出部703が、それぞれの部分に含まれるそれぞれの語句について、第1の尤度を算出した後、それぞれの部分の中から、当該部分の特徴語を抽出しない場合があってもよい。 Here, a case has been described in which the first extraction unit 703 extracts characteristic words of each part from the part, but this is not limiting. For example, after the first extraction unit 703 calculates the first likelihood for each word contained in each part, there may be cases in which the first extraction unit 703 does not extract characteristic words of the part from the part.

この場合、第2抽出部704は、例えば、対象の文書に含まれるそれぞれの語句について、対象の文書の特徴語としての第2の尤度を算出する。第2抽出部704は、具体的には、それぞれの語句について、対象の文書に語句が出現する頻度の多さに基づく評価値と、対象の文書を含む複数の文書のうち、語句が出現する文書の数の多さに基づく評価値とに基づいて、第2の尤度を算出する。 In this case, the second extraction unit 704, for example, calculates a second likelihood for each term contained in the target document as a characteristic word of the target document. Specifically, the second extraction unit 704 calculates the second likelihood for each term based on an evaluation value based on the frequency with which the term appears in the target document and an evaluation value based on the number of documents in which the term appears among multiple documents including the target document.

そして、第2抽出部704は、例えば、第1抽出部703で算出した第1の尤度と、第2抽出部704で算出した第2の尤度とに基づいて、対象の文書に含まれる語句の中から、対象の文書の特徴語を決定する。第2抽出部704は、具体的には、それぞれの語句について、第1抽出部703で算出した第1の尤度と、第2抽出部704で算出した第2の尤度との積を、第3の尤度として算出する。第2抽出部704は、具体的には、算出した第3の尤度が閾値以上である語句を、対象の文書の特徴語として決定する。 Then, the second extraction unit 704 determines characteristic words of the target document from among the words contained in the target document based on, for example, the first likelihood calculated by the first extraction unit 703 and the second likelihood calculated by the second extraction unit 704. Specifically, the second extraction unit 704 calculates, for each word, the product of the first likelihood calculated by the first extraction unit 703 and the second likelihood calculated by the second extraction unit 704 as a third likelihood. Specifically, the second extraction unit 704 determines, as characteristic words of the target document, words whose calculated third likelihood is equal to or greater than a threshold value.

これにより、第2抽出部704は、対象の文書単位と、対象の文書を分割した複数の部分のそれぞれの部分単位とのそれぞれ異なる観点から得られた各種尤度に基づいて、対象の文書の特徴語を決定することができる。このため、第2抽出部704は、対象の文書の特徴語を精度よく決定することができる。 This allows the second extraction unit 704 to determine characteristic words of the target document based on various likelihoods obtained from different perspectives of the target document unit and each of the multiple parts into which the target document is divided. This allows the second extraction unit 704 to accurately determine characteristic words of the target document.

出力部705は、少なくともいずれかの機能部の処理結果を出力する。出力形式は、例えば、ディスプレイへの表示、プリンタへの印刷出力、ネットワークI/F303による外部装置への送信、または、メモリ302や記録媒体305などの記憶領域への記憶である。これにより、出力部705は、少なくともいずれかの機能部の処理結果を利用者に通知可能にし、情報処理装置100の利便性の向上を図ることができる。 The output unit 705 outputs the processing results of at least one of the functional units. The output format is, for example, display on a display, printout on a printer, transmission to an external device via the network I/F 303, or storage in a storage area such as the memory 302 or the recording medium 305. In this way, the output unit 705 can notify the user of the processing results of at least one of the functional units, thereby improving the convenience of the information processing device 100.

出力部705は、対象の文書と、第2抽出部704が決定した対象の文書の特徴語とを対応付けて出力する。出力部705は、例えば、対象の文書と、第2抽出部704が決定した対象の文書の特徴語とを対応付けて、文書を検索する検索部(不図示)に送信してもよい。検索部は、例えば、情報処理装置100が含んでいてもよい。検索部は、例えば、他のコンピュータが含んでいてもよい。 The output unit 705 outputs the target document in association with the characteristic words of the target document determined by the second extraction unit 704. The output unit 705 may, for example, associate the target document with the characteristic words of the target document determined by the second extraction unit 704 and transmit them to a search unit (not shown) that searches for documents. The search unit may, for example, be included in the information processing device 100. The search unit may, for example, be included in another computer.

これにより、出力部705は、検索部で、対象の文書を検索する際に、対象の文書の特徴語を利用可能にすることができ、対象の文書を検索し易くすることができる。出力部705は、検索部で、検索した対象の文書と共に、対象の文書の特徴語を含めた検索結果を出力可能にすることができ、検索結果の閲覧者が、検索された対象の文書の内容を把握し易くすることができる。 As a result, the output unit 705 can make the characteristic words of the target document available when searching for the target document in the search unit, making it easier to search for the target document. The output unit 705 can make it possible for the search unit to output search results that include the characteristic words of the target document along with the searched target document, making it easier for viewers of the search results to understand the contents of the searched target document.

出力部705は、例えば、対象の文書と、第2抽出部704が決定した対象の文書の特徴語とを対応付けて、他のコンピュータに送信してもよい。他のコンピュータは、例えば、クライアント装置202である。出力部705は、例えば、対象の文書と、第2抽出部704が決定した対象の文書の特徴語とを対応付けて、利用者が参照可能に表示してもよい。これにより、出力部705は、利用者が、対象の文書の内容を把握し易くすることができる。 The output unit 705 may, for example, associate the target document with the characteristic words of the target document determined by the second extraction unit 704, and transmit them to another computer. The other computer is, for example, the client device 202. The output unit 705 may, for example, associate the target document with the characteristic words of the target document determined by the second extraction unit 704, and display them so that the user can refer to them. In this way, the output unit 705 can make it easier for the user to understand the contents of the target document.

(情報処理装置100の動作の流れ)
次に、図8を用いて、情報処理装置100の動作の流れについて説明する。
(Operation flow of information processing device 100)
Next, the flow of operations of the information processing device 100 will be described with reference to FIG.

図8は、情報処理装置100の動作の流れを示す説明図である。図8において、情報処理装置100は、ドキュメント群800を取得する。ドキュメント群800は、例えば、ドキュメントAを含む。以下の説明では、情報処理装置100が、ドキュメントAを処理対象とする場合について説明する。情報処理装置100が、他のドキュメントを処理対象とする場合も、以下に説明する場合と同様である。 Figure 8 is an explanatory diagram showing the flow of operation of the information processing device 100. In Figure 8, the information processing device 100 acquires a document group 800. The document group 800 includes, for example, document A. In the following explanation, a case where the information processing device 100 processes document A will be explained. The case where the information processing device 100 processes another document is also similar to the case explained below.

(8-1)情報処理装置100は、ドキュメントAをページ単位で分割し、ページ群810を取得する。ページ群810は、例えば、ページ1とページ2とページ3とを含む。 (8-1) The information processing device 100 divides the document A into pages and obtains a page group 810. The page group 810 includes, for example, page 1, page 2, and page 3.

(8-2)情報処理装置100は、各ページについて形態素解析を実行し、各ページに出現する単語の一覧を生成する。単語は、例えば、名詞に限定されていてもよい。情報処理装置100は、各ページに出現する単語の一覧に含まれるそれぞれの単語について、当該単語の出現頻度に関するTFと、ドキュメントAにおける当該単語を含むページ数に関するIDFとを算出し、TF×IDFを単語スコアとして算出する。 (8-2) The information processing device 100 performs morphological analysis on each page and generates a list of words that appear on each page. The words may be limited to nouns, for example. For each word included in the list of words that appear on each page, the information processing device 100 calculates a TF related to the frequency of occurrence of the word and an IDF related to the number of pages in document A that contain the word, and calculates TF x IDF as the word score.

情報処理装置100は、各ページに出現する単語の一覧に含まれるそれぞれの単語について、当該単語の出現頻度に関するTFと、ドキュメント群800における当該単語を含むドキュメント数に関するIDFとを算出し、TF×IDFを算出してもよい。情報処理装置100は、算出した単語スコアを、部分頻度管理テーブル500に記憶する。 The information processing device 100 may calculate, for each word included in the list of words that appear on each page, a TF related to the frequency of occurrence of the word and an IDF related to the number of documents that include the word in the document set 800, and calculate TF x IDF. The information processing device 100 stores the calculated word scores in the partial frequency management table 500.

情報処理装置100は、部分頻度管理テーブル500を参照して、各ページについて、算出したTF×IDFが第1の閾値以上である単語を、当該ページの特徴語として抽出する。情報処理装置100は、部分頻度管理テーブル500を参照して、各ページについて、算出したTF×IDFが大きい順に単語を並べた場合における、所定の順位までの単語を、当該ページの特徴語として抽出してもよい。 The information processing device 100 refers to the partial frequency management table 500 and extracts, for each page, words whose calculated TF×IDF is equal to or greater than a first threshold value as characteristic words of the page. The information processing device 100 may also refer to the partial frequency management table 500 and extract, for each page, words up to a predetermined rank when the words are sorted in descending order of the calculated TF×IDF as characteristic words of the page.

(8-3)情報処理装置100は、ドキュメントAについて形態素解析を実行し、ドキュメントAに出現する単語の一覧を生成する。情報処理装置100は、生成した単語の一覧のうち、少なくともいずれかのページの特徴語として抽出された単語を集めた単語群を生成する。 (8-3) The information processing device 100 performs a morphological analysis on document A and generates a list of words that appear in document A. The information processing device 100 generates a word group that includes words that have been extracted as characteristic words of at least one of the pages from the generated word list.

(8-4)情報処理装置100は、生成した単語群に含まれるそれぞれの単語について、当該単語の出現頻度に関わるTFと、ドキュメント群800における当該単語を含むIDFとを算出し、TF×IDFを単語スコアとして算出する。情報処理装置100は、算出した単語スコアを全体頻度管理テーブル400に記憶する。 (8-4) For each word included in the generated word group, the information processing device 100 calculates the TF related to the frequency of occurrence of the word and the IDF including the word in the document group 800, and calculates TF x IDF as the word score. The information processing device 100 stores the calculated word score in the overall frequency management table 400.

(8-5)情報処理装置100は、全体頻度管理テーブル400を参照して、算出したTF×IDFが第2の閾値以上である単語を、ドキュメントAの特徴語として決定する。これにより、情報処理装置100は、ドキュメントの特徴語の候補を絞り込んでから、ドキュメントの特徴語を決定するため、ドキュメントの特徴語を精度よく決定することができる。 (8-5) The information processing device 100 refers to the overall frequency management table 400 and determines words whose calculated TF×IDF is equal to or greater than the second threshold as characteristic words of document A. As a result, the information processing device 100 narrows down candidates for characteristic words of the document before determining the characteristic words of the document, and therefore can determine the characteristic words of the document with high accuracy.

(情報処理装置100の動作の一例)
次に、図9~図11を用いて、情報処理装置100の動作の一例について説明する。
(Example of operation of information processing device 100)
Next, an example of the operation of the information processing device 100 will be described with reference to FIGS.

図9~図11は、情報処理装置100の動作の一例を示す説明図である。図9において、(9-1)情報処理装置100は、ドキュメント900を取得する。ドキュメント900は、例えば、提案書である。ドキュメント900は、各ページのフッタに、Copyright 2021 ××××× LIMITEDのような定型文を含んでいる。 FIGS. 9 to 11 are explanatory diagrams showing an example of the operation of the information processing device 100. In FIG. 9, (9-1) the information processing device 100 acquires a document 900. The document 900 is, for example, a proposal. The document 900 includes a standard phrase such as COPYRIGHT 2021 XXXXX LIMITED in the footer of each page.

ページは、例えば、P1と、P2~3と、P4~5と、P6とである。図9の例では、P2~3およびP4~5は、1ページとして扱われるとする。情報処理装置100は、ドキュメント900を、ページ単位で分割し、複数の区切り部分901を生成する。 The pages are, for example, P1, P2-3, P4-5, and P6. In the example of FIG. 9, P2-3 and P4-5 are treated as one page. The information processing device 100 divides the document 900 into page units and generates multiple division parts 901.

(9-2)情報処理装置100は、それぞれの区切り部分901について形態素解析を実行し、それぞれの区切り部分901に出現する単語の一覧911を生成する。 (9-2) The information processing device 100 performs morphological analysis on each segment 901 and generates a list 911 of words that appear in each segment 901.

(9-3)情報処理装置100は、それぞれの区切り部分901に対応する単語の一覧911に含まれるそれぞれの単語について、当該区切り部分901におけるTF×IDFを、当該区切り部分901における単語スコアとして算出する。図9の符号921に示すように、単語の一覧911に含まれるそれぞれの単語の単語スコアが算出される。図9の例では、単語スコアは、単語の後ろに括弧書きで付した値である。情報処理装置100は、算出した単語スコアを、部分頻度管理テーブル500に記憶する。次に、図10の説明に移行する。 (9-3) For each word included in the word list 911 corresponding to each segment 901, the information processing device 100 calculates TF×IDF for that segment 901 as the word score for that segment 901. As indicated by reference numeral 921 in FIG. 9, the word score for each word included in the word list 911 is calculated. In the example of FIG. 9, the word score is the value in parentheses following the word. The information processing device 100 stores the calculated word score in the partial frequency management table 500. Next, we move on to the explanation of FIG. 10.

図10において、(10-1)情報処理装置100は、それぞれの区切り部分901に対応する単語の一覧911から、単語スコアが第1の閾値以上である単語を、当該区切り部分901の特徴を表す重要単語として抽出する。第1の閾値は、例えば、0.5である。情報処理装置100は、それぞれの区切り部分901について、抽出した重要単語を纏めた重要単語の一覧1001を生成する。 In FIG. 10, (10-1) the information processing device 100 extracts words whose word scores are equal to or greater than a first threshold from a word list 911 corresponding to each segment 901 as important words that represent the characteristics of the segment 901. The first threshold is, for example, 0.5. The information processing device 100 generates a list 1001 of important words that compiles the extracted important words for each segment 901.

(10-2)情報処理装置100は、重要単語の一覧1001から重複なしに重要単語を纏めた重要単語群1010を生成する。情報処理装置100は、重要単語群1010に含まれるそれぞれの重要単語について、ドキュメント900におけるTF×IDFを、ドキュメント900における単語スコアとして算出する。図10に示すように、重要単語群1010に含まれるそれぞれの単語の単語スコアが算出される。図10の例では、単語スコアは、単語の後ろに括弧書きで付した値である。情報処理装置100は、重要単語群1010に含まれる重要単語を、算出した単語スコアが大きい順にランキングする。 (10-2) The information processing device 100 generates an important word group 1010 by collecting important words without duplication from the list of important words 1001. For each important word included in the important word group 1010, the information processing device 100 calculates TF×IDF in the document 900 as a word score in the document 900. As shown in FIG. 10, the word score of each word included in the important word group 1010 is calculated. In the example of FIG. 10, the word score is a value in parentheses following the word. The information processing device 100 ranks the important words included in the important word group 1010 in descending order of the calculated word score.

(10-3)情報処理装置100は、ランキングの結果、符号1020に示す上位5位までの重要単語を、ドキュメント900の特徴語として決定する。情報処理装置100は、ドキュメント900に、決定したドキュメント900の特徴語を、タグとして対応付けて、重要単語管理テーブル600に記憶する。これにより、情報処理装置100は、ドキュメント900の特徴語の候補を絞り込んでから、ドキュメント900の特徴語を決定するため、ドキュメント900の特徴語を精度よく決定することができる。次に、図11の説明に移行する。 (10-3) As a result of the ranking, the information processing device 100 determines the top five important words, indicated by the reference symbol 1020, as characteristic words of the document 900. The information processing device 100 associates the determined characteristic words of the document 900 with the document 900 as tags and stores them in the important word management table 600. As a result, the information processing device 100 narrows down candidates for characteristic words of the document 900 before determining characteristic words of the document 900, and can therefore determine characteristic words of the document 900 with high accuracy. Next, we move on to the explanation of FIG. 11.

図11において、情報処理装置100は、図9および図10と同様に、複数のドキュメント900に対して、ドキュメント900の特徴語を決定し、タグとして重要単語管理テーブル600に記憶したとする。情報処理装置100は、検索画面1100の入力欄1101において、ドキュメント900を検索する条件を受け付けたとする。 In FIG. 11, the information processing device 100 determines characteristic words for multiple documents 900, as in FIG. 9 and FIG. 10, and stores them as tags in the important word management table 600. The information processing device 100 accepts conditions for searching the documents 900 in an input field 1101 of a search screen 1100.

情報処理装置100は、複数のドキュメント900の中から、受け付けた条件を満たすドキュメント900を検索する。情報処理装置100は、重要単語管理テーブル600を参照して、検索したそれぞれのドキュメント900のサムネイル画像1110と共に、当該ドキュメント900のタグの一覧1111を、検索画面1100に表示する。これにより、情報処理装置100は、検索者が、検索されたそれぞれのドキュメント900の内容を把握し易くすることができる。 The information processing device 100 searches for documents 900 that satisfy the received conditions from among a plurality of documents 900. The information processing device 100 references the important word management table 600 and displays a thumbnail image 1110 of each of the searched documents 900, along with a list 1111 of tags for the documents 900, on the search screen 1100. This enables the information processing device 100 to make it easier for the searcher to understand the contents of each of the searched documents 900.

(全体処理手順)
次に、図12を用いて、情報処理装置100が実行する、全体処理手順の一例について説明する。全体処理は、例えば、図3に示したCPU301と、メモリ302や記録媒体305などの記憶領域と、ネットワークI/F303とによって実現される。
(Overall Processing Procedure)
Next, an example of an overall processing procedure executed by the information processing device 100 will be described with reference to Fig. 12. The overall processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I/F 303 shown in Fig. 3.

図12は、全体処理手順の一例を示すフローチャートである。図12において、情報処理装置100は、図14に後述する第1生成処理を実行することにより、複数のドキュメントのそれぞれのドキュメントに関する全体頻度管理テーブル400を生成する(ステップS1201)。 Figure 12 is a flowchart showing an example of an overall processing procedure. In Figure 12, the information processing device 100 generates an overall frequency management table 400 for each document of a plurality of documents by executing a first generation process described later in Figure 14 (step S1201).

次に、情報処理装置100は、複数のドキュメントに含まれ、まだ解析対象のドキュメントとして選択していないドキュメントの中から、解析対象のドキュメントを選択する(ステップS1202)。そして、情報処理装置100は、特定の条件に従って、選択した解析対象のドキュメントを分割し、解析対象のドキュメントを分割した複数の区切り部分を取得する(ステップS1203)。 Next, the information processing device 100 selects a document to be analyzed from among the documents included in the multiple documents and that have not yet been selected as a document to be analyzed (step S1202). Then, the information processing device 100 divides the selected document to be analyzed according to specific conditions, and obtains multiple delimited portions into which the document to be analyzed is divided (step S1203).

次に、情報処理装置100は、図13に後述する部分処理を実行する(ステップS1204)。そして、情報処理装置100は、選択した解析対象のドキュメントに関する全体頻度管理テーブル400を参照して、1以上の重要単語のそれぞれの重要単語のスコアを算出する(ステップS1205)。 Next, the information processing device 100 executes partial processing described later in FIG. 13 (step S1204). Then, the information processing device 100 refers to the overall frequency management table 400 for the selected document to be analyzed, and calculates the score of each of the one or more important words (step S1205).

次に、情報処理装置100は、算出したスコアに基づいて、1以上の重要単語の中から、選択した解析対象のドキュメントの特徴語となる重要単語を決定する(ステップS1206)。そして、情報処理装置100は、決定した重要単語を、選択した解析対象のドキュメントに対応付けて、重要単語管理テーブル600に記憶する(ステップS1207)。 Next, the information processing device 100 determines, based on the calculated score, from among one or more important words, an important word that will become a characteristic word of the selected document to be analyzed (step S1206). Then, the information processing device 100 stores the determined important word in the important word management table 600 in association with the selected document to be analyzed (step S1207).

次に、情報処理装置100は、すべてのドキュメントを、解析対象のドキュメントとして選択したか否かを判定する(ステップS1208)。ここで、まだ選択していないドキュメントがある場合(ステップS1208:No)、情報処理装置100は、ステップS1202の処理に戻る。一方で、すべてのドキュメントを選択している場合(ステップS1208:Yes)、情報処理装置100は、全体処理を終了する。 Next, the information processing device 100 determines whether all documents have been selected as documents to be analyzed (step S1208). If there are documents that have not yet been selected (step S1208: No), the information processing device 100 returns to the processing of step S1202. On the other hand, if all documents have been selected (step S1208: Yes), the information processing device 100 ends the entire processing.

(部分処理手順)
次に、図13を用いて、情報処理装置100が実行する、部分処理手順の一例について説明する。部分処理は、例えば、図3に示したCPU301と、メモリ302や記録媒体305などの記憶領域と、ネットワークI/F303とによって実現される。
(Partial Processing Procedure)
Next, an example of a partial processing procedure executed by the information processing device 100 will be described with reference to Fig. 13. The partial processing is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I/F 303 shown in Fig. 3.

図13は、部分処理手順の一例を示すフローチャートである。図13において、情報処理装置100は、図15に後述する第2生成処理を実行することにより、取得した複数の区切り部分のそれぞれの区切り部分に関する部分頻度管理テーブル500を生成する(ステップS1301)。 Figure 13 is a flowchart showing an example of a partial processing procedure. In Figure 13, the information processing device 100 executes a second generation process described later in Figure 15 to generate a partial frequency management table 500 for each of the acquired multiple division parts (step S1301).

次に、情報処理装置100は、複数の区切り部分に含まれ、まだ解析対象の区切り部分として選択していない区切り部分の中から、解析対象の区切り部分を選択する(ステップS1302)。そして、情報処理装置100は、選択した解析対象の区切り部分に対して形態素解析を実行し、解析対象の区切り部分に出現する単語の一覧を生成する(ステップS1303)。 Next, the information processing device 100 selects a segment to be analyzed from among the segment parts that are included in the multiple segment parts and that have not yet been selected as a segment to be analyzed (step S1302). Then, the information processing device 100 performs a morphological analysis on the selected segment to be analyzed, and generates a list of words that appear in the segment to be analyzed (step S1303).

次に、情報処理装置100は、選択した解析対象の区切り部分に関する部分頻度管理テーブル500を参照して、生成した単語の一覧に含まれるそれぞれの単語のスコアを算出する(ステップS1304)。そして、情報処理装置100は、算出したスコアに基づいて、生成した単語の一覧の中から、選択した解析対象の区切り部分の重要単語となる単語を抽出する(ステップS1305)。 Next, the information processing device 100 refers to the part frequency management table 500 for the segment part of the selected analysis target, and calculates the score of each word included in the generated word list (step S1304). Then, the information processing device 100 extracts words that are important words for the segment part of the selected analysis target from the generated word list based on the calculated score (step S1305).

次に、情報処理装置100は、決定した単語を、重要単語として、選択した解析対象の区切り部分に対応付けて、重要単語管理テーブル600に記憶する(ステップS1306)。そして、情報処理装置100は、すべての区切り部分を、解析対象の区切り部分として選択したか否かを判定する(ステップS1307)。ここで、まだ選択していない区切り部分がある場合(ステップS1307:No)、情報処理装置100は、ステップS1302の処理に戻る。一方で、すべての区切り部分を選択している場合(ステップS1307:Yes)、情報処理装置100は、部分処理を終了する。 Next, the information processing device 100 stores the determined words as important words in the important word management table 600 in association with the selected segment to be analyzed (step S1306). The information processing device 100 then determines whether or not all segment parts have been selected as segment parts to be analyzed (step S1307). If there are segment parts that have not yet been selected (step S1307: No), the information processing device 100 returns to the process of step S1302. On the other hand, if all segment parts have been selected (step S1307: Yes), the information processing device 100 ends the partial processing.

(第1生成処理手順)
次に、図14を用いて、情報処理装置100が実行する、第1生成処理手順の一例について説明する。第1生成処理は、例えば、図3に示したCPU301と、メモリ302や記録媒体305などの記憶領域と、ネットワークI/F303とによって実現される。
(First generation process procedure)
Next, an example of a first generation process procedure executed by the information processing device 100 will be described with reference to Fig. 14. The first generation process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I/F 303 shown in Fig. 3.

図14は、第1生成処理手順の一例を示すフローチャートである。図14において、情報処理装置100は、複数のドキュメントに含まれるまだ選択していないドキュメントの中から、計測対象のドキュメントを選択する(ステップS1401)。 Figure 14 is a flowchart showing an example of the first generation process procedure. In Figure 14, the information processing device 100 selects a document to be measured from among documents that are included in a plurality of documents and have not yet been selected (step S1401).

次に、情報処理装置100は、選択した計測対象のドキュメントに対して形態素解析を実行し、計測対象のドキュメントに出現する1以上の単語を抽出する(ステップS1402)。そして、情報処理装置100は、抽出した1以上の単語に基づいて、選択した計測対象のドキュメントに関する全体頻度管理テーブル400を生成する(ステップS1403)。 Next, the information processing device 100 performs a morphological analysis on the selected measurement target document and extracts one or more words that appear in the measurement target document (step S1402). Then, the information processing device 100 generates an overall frequency management table 400 for the selected measurement target document based on the extracted one or more words (step S1403).

次に、情報処理装置100は、すべてのドキュメントを、計測対象のドキュメントとして選択したか否かを判定する(ステップS1404)。ここで、まだ選択していないドキュメントがある場合(ステップS1404:No)、情報処理装置100は、ステップS1401の処理に戻る。一方で、すべてのドキュメントを選択している場合(ステップS1404:Yes)、情報処理装置100は、第1生成処理を終了する。 Next, the information processing device 100 determines whether all documents have been selected as documents to be measured (step S1404). If there are documents that have not yet been selected (step S1404: No), the information processing device 100 returns to the process of step S1401. On the other hand, if all documents have been selected (step S1404: Yes), the information processing device 100 ends the first generation process.

(第2生成処理手順)
次に、図15を用いて、情報処理装置100が実行する、第2生成処理手順の一例について説明する。第2生成処理は、例えば、図3に示したCPU301と、メモリ302や記録媒体305などの記憶領域と、ネットワークI/F303とによって実現される。
(Second generation process procedure)
Next, an example of a procedure of the second generation process executed by the information processing device 100 will be described with reference to Fig. 15. The second generation process is realized by, for example, the CPU 301, storage areas such as the memory 302 and the recording medium 305, and the network I/F 303 shown in Fig. 3.

図15は、第2生成処理手順の一例を示すフローチャートである。図15において、情報処理装置100は、複数の区切り部分に含まれるまだ選択していない区切り部分の中から、計測対象の区切り部分を選択する(ステップS1501)。 FIG. 15 is a flowchart showing an example of the second generation process procedure. In FIG. 15, the information processing device 100 selects a segment to be measured from among a plurality of segment portions that have not yet been selected (step S1501).

次に、情報処理装置100は、選択した計測対象の区切り部分に対して形態素解析を実行し、計測対象の区切り部分に出現する1以上の単語を抽出する(ステップS1502)。そして、情報処理装置100は、抽出した1以上の単語に基づいて、選択した計測対象の区切り部分に関する部分頻度管理テーブル500を生成する(ステップS1503)。 Next, the information processing device 100 performs a morphological analysis on the segment of the selected measurement target and extracts one or more words that appear in the segment of the measurement target (step S1502). Then, the information processing device 100 generates a part frequency management table 500 for the segment of the selected measurement target based on the extracted one or more words (step S1503).

次に、情報処理装置100は、すべての区切り部分を、計測対象の区切り部分として選択したか否かを判定する(ステップS1504)。ここで、まだ選択していない区切り部分がある場合(ステップS1504:No)、情報処理装置100は、ステップS1501の処理に戻る。一方で、すべての区切り部分を選択している場合(ステップS1504:Yes)、情報処理装置100は、第2生成処理を終了する。 Next, the information processing device 100 determines whether or not all of the separator parts have been selected as separator parts to be measured (step S1504). If there are separator parts that have not yet been selected (step S1504: No), the information processing device 100 returns to the process of step S1501. On the other hand, if all of the separator parts have been selected (step S1504: Yes), the information processing device 100 ends the second generation process.

ここで、情報処理装置100は、図12~図15の各フローチャートの一部ステップの処理の順序を入れ替えて実行してもよい。 Here, the information processing device 100 may change the order of the processing of some of the steps in the flowcharts of Figures 12 to 15.

以上説明したように、情報処理装置100によれば、対象の文書を特定の条件に従って分割した複数の部分を取得することができる。情報処理装置100によれば、取得した複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、部分の特徴語としての第1の尤度に基づいて、それぞれの部分の中から、部分の特徴語を抽出することができる。情報処理装置100によれば、抽出した特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、対象の文書の特徴語としての第2の尤度に基づいて、特徴語集合の中から、対象の文書の特徴語を決定することができる。これにより、情報処理装置100は、対象の文書の特徴語を精度よく決定することができる。 As described above, the information processing device 100 can obtain multiple parts obtained by dividing a target document according to specific conditions. The information processing device 100 can extract feature words from each of the obtained multiple parts based on a first likelihood of each word contained in each part as a feature word of the part. The information processing device 100 can determine feature words of the target document from a feature word set based on a second likelihood of each feature word contained in a feature word set that summarizes the extracted feature words as a feature word of the target document. This allows the information processing device 100 to accurately determine feature words of the target document.

情報処理装置100によれば、それぞれの部分に含まれるそれぞれの語句について、部分に語句が出現する頻度の多さに基づく評価値と、複数の部分のうち、語句が出現する部分の数の多さに基づく評価値とに基づいて、第1の尤度を算出することができる。情報処理装置100によれば、算出した第1の尤度に基づいて、それぞれの部分の中から、部分の特徴語を抽出することができる。情報処理装置100によれば、それぞれの特徴語について、対象の文書に特徴語が出現する頻度の多さに基づく評価値と、対象の文書を含む複数の文書のうち、特徴語が出現する文書の数の多さに基づく評価値とに基づいて、第2の尤度を算出することができる。情報処理装置100によれば、算出した第2の尤度に基づいて、特徴語集合の中から、対象の文書の特徴語を決定することができる。これにより、情報処理装置100は、第1の尤度と第2の尤度とを精度よく算出することができ、対象の文書の特徴語を精度よく決定することができる。 According to the information processing device 100, for each word contained in each part, a first likelihood can be calculated based on an evaluation value based on the frequency with which the word appears in the part and an evaluation value based on the number of parts in which the word appears among the multiple parts. According to the information processing device 100, a feature word of the part can be extracted from each part based on the calculated first likelihood. According to the information processing device 100, for each feature word, a second likelihood can be calculated based on an evaluation value based on the frequency with which the feature word appears in the target document and an evaluation value based on the number of documents in which the feature word appears among the multiple documents including the target document. According to the information processing device 100, a feature word of the target document can be determined from the feature word set based on the calculated second likelihood. As a result, the information processing device 100 can accurately calculate the first likelihood and the second likelihood, and can accurately determine the feature word of the target document.

情報処理装置100によれば、それぞれの部分に含まれる語句のうち、算出した第1の尤度が閾値以上である語句を、部分の特徴語として抽出することができる。これにより、情報処理装置100は、対象の文書の特徴語の候補を絞り込むことができる。 According to the information processing device 100, among the words contained in each part, words whose calculated first likelihood is equal to or greater than a threshold value can be extracted as characteristic words of the part. This allows the information processing device 100 to narrow down candidates for characteristic words of the target document.

情報処理装置100によれば、取得した複数の部分のそれぞれの部分に含まれるそれぞれの語句について、第1の尤度を算出することができる。情報処理装置100によれば、対象の文書に含まれるそれぞれの語句について、第2の尤度を算出することができる。情報処理装置100によれば、算出した第1の尤度と、算出した第2の尤度とに基づいて、対象の文書に含まれる語句の中から、対象の文書の特徴語を決定することができる。これにより、対象の文書の特徴語を絞り込む動作を省略し、処理量の低減化を図ることができる。 According to the information processing device 100, it is possible to calculate a first likelihood for each word contained in each of the multiple parts acquired. According to the information processing device 100, it is possible to calculate a second likelihood for each word contained in the target document. According to the information processing device 100, it is possible to determine characteristic words of the target document from among the words contained in the target document based on the calculated first likelihood and the calculated second likelihood. This makes it possible to omit the operation of narrowing down the characteristic words of the target document and reduce the amount of processing.

情報処理装置100によれば、対象の文書をページ単位で分割することにより得られる複数の部分を取得することができる。これにより、情報処理装置100は、対象の文書に比較的多く含まれる特徴的ではない語句を、それぞれ比較的少量ずつ含む複数の部分を取得し易くすることができる。 According to the information processing device 100, it is possible to obtain multiple parts obtained by dividing the target document on a page-by-page basis. This makes it easier for the information processing device 100 to obtain multiple parts each containing a relatively small amount of uncharacteristic words that are contained relatively frequently in the target document.

情報処理装置100によれば、対象の文書に含まれるキーワード前後で対象の文書を分割することにより得られる複数の部分を取得することができる。これにより、情報処理装置100は、対象の文書に比較的多く含まれる特徴的ではない語句を、それぞれ比較的少量ずつ含む複数の部分を取得し易くすることができる。 According to the information processing device 100, it is possible to obtain multiple parts obtained by dividing the target document around a keyword contained in the target document. This makes it easier for the information processing device 100 to obtain multiple parts each containing a relatively small amount of uncharacteristic words that are contained relatively frequently in the target document.

情報処理装置100によれば、対象の文書を含む複数の文書に基づいて、取得した複数の部分のそれぞれの部分の中から、当該部分の特徴語を抽出することができる。これにより、情報処理装置100は、それぞれの部分の特徴語を精度よく抽出することができる。 According to the information processing device 100, it is possible to extract characteristic words for each of the multiple parts obtained based on multiple documents including the target document. This allows the information processing device 100 to extract characteristic words for each part with high accuracy.

なお、本実施の形態で説明した情報処理方法は、予め用意されたプログラムをPCやワークステーションなどのコンピュータで実行することにより実現することができる。本実施の形態で説明した情報処理プログラムは、コンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。記録媒体は、ハードディスク、フレキシブルディスク、CD(Compact Disc)-ROM、MO(Magneto Optical disc)、DVD(Digital Versatile Disc)などである。また、本実施の形態で説明した情報処理プログラムは、インターネットなどのネットワークを介して配布してもよい。 The information processing method described in this embodiment can be realized by executing a prepared program on a computer such as a PC or a workstation. The information processing program described in this embodiment is recorded on a computer-readable recording medium and is executed by the computer reading it from the recording medium. The recording medium may be a hard disk, a flexible disk, a CD (Compact Disc)-ROM, an MO (Magneto Optical disc), a DVD (Digital Versatile Disc), or the like. The information processing program described in this embodiment may also be distributed via a network such as the Internet.

上述した実施の形態に関し、さらに以下の付記を開示する。 The following additional notes are provided with respect to the above-described embodiment.

(付記1)対象の文書を特定の条件に従って分割した複数の部分を取得し、
取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、前記部分の特徴を表す特徴語としての第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
抽出した前記特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、前記対象の文書の特徴を表す特徴語としての第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、
処理をコンピュータに実行させることを特徴とする情報処理プログラム。
(Appendix 1) Obtain multiple parts by dividing the target document according to specific conditions,
extracting, from each of the acquired plurality of parts, a feature word that represents a feature of the part, based on a first likelihood of each word contained in each of the acquired plurality of parts being a feature word that represents a feature of the part;
determining, from the feature word set, a feature word that represents a feature of the target document, based on a second likelihood, for each feature word included in a feature word set that summarizes the extracted feature words, as a feature word that represents a feature of the target document;
An information processing program that causes a computer to execute a process.

(付記2)前記抽出する処理は、
前記それぞれの部分に含まれるそれぞれの語句について、前記部分に前記語句が出現する頻度の多さに基づく評価値と、前記複数の部分のうち、前記語句が出現する部分の数の多さに基づく評価値とに基づいて、前記第1の尤度を算出し、算出した前記第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
前記決定する処理は、
前記それぞれの特徴語について、前記対象の文書に前記特徴語が出現する頻度の多さに基づく評価値と、前記対象の文書を含む複数の文書のうち、前記特徴語が出現する文書の数の多さに基づく評価値とに基づいて、前記第2の尤度を算出し、算出した前記第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、ことを特徴とする付記1に記載の情報処理プログラム。
(Additional Note 2) The extraction process includes:
calculating the first likelihood for each word included in each of the portions based on an evaluation value based on a frequency at which the word appears in the portion and an evaluation value based on a number of portions in which the word appears among the plurality of portions, and extracting, from each of the portions, a characteristic word that represents a characteristic of the portion based on the calculated first likelihood;
The process of determining includes:
An information processing program as described in Appendix 1, characterized in that for each of the feature words, the second likelihood is calculated based on an evaluation value based on the frequency with which the feature word appears in the target document and an evaluation value based on the number of documents in which the feature word appears among a plurality of documents including the target document, and a feature word that represents a characteristic of the target document is determined from the set of feature words based on the calculated second likelihood.

(付記3)前記抽出する処理は、
前記それぞれの部分に含まれる語句のうち、算出した前記第1の尤度が閾値以上である語句を、前記部分の特徴を表す特徴語として抽出する、ことを特徴とする付記2に記載の情報処理プログラム。
(Additional Note 3) The extraction process includes:
An information processing program as described in Appendix 2, characterized in that, among the words contained in each of the parts, words whose calculated first likelihood is equal to or greater than a threshold value are extracted as characteristic words representing the characteristics of the part.

(付記4)取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句について、前記部分に前記語句が出現する頻度の多さに基づく評価値と、前記複数の部分のうち、前記語句が出現する部分の数の多さに基づく評価値とに基づいて、前記部分の特徴を表す特徴語としての第1の尤度を算出し、
前記対象の文書に含まれるそれぞれの語句について、前記対象の文書に前記語句が出現する頻度の多さに基づく評価値と、前記対象の文書を含む複数の文書のうち、前記語句が出現する文書の数の多さに基づく評価値とに基づいて、前記対象の文書の特徴を表す特徴語としての第2の尤度を算出し、
算出した前記第1の尤度と、算出した前記第2の尤度とに基づいて、前記対象の文書に含まれる語句の中から、前記対象の文書の特徴を表す特徴語を決定する、
処理を前記コンピュータに実行させることを特徴とする付記1~3のいずれか一つに記載の情報処理プログラム。
(Supplementary Note 4) For each word included in each of the acquired multiple parts, a first likelihood is calculated as a feature word representing a feature of the part, based on an evaluation value based on a frequency at which the word appears in the part and an evaluation value based on a number of parts in which the word appears among the multiple parts;
calculating a second likelihood for each term contained in the target document as a characteristic word representing a characteristic of the target document based on an evaluation value based on a frequency at which the term appears in the target document and an evaluation value based on a number of documents in which the term appears among a plurality of documents including the target document;
determining, based on the calculated first likelihood and the calculated second likelihood, a feature word representing a feature of the target document from among words and phrases contained in the target document;
4. The information processing program according to claim 1, wherein the information processing program causes the computer to execute a process.

(付記5)前記複数の部分は、前記対象の文書をページ単位で分割することにより得られる、ことを特徴とする付記1~4のいずれか一つに記載の情報処理プログラム。 (Appendix 5) The information processing program described in any one of appendices 1 to 4, characterized in that the multiple parts are obtained by dividing the target document on a page-by-page basis.

(付記6)前記複数の部分は、前記対象の文書に含まれるキーワード前後で前記対象の文書を分割することにより得られる、ことを特徴とする付記1~5のいずれか一つに記載の情報処理プログラム。 (Appendix 6) The information processing program described in any one of appendices 1 to 5, characterized in that the multiple parts are obtained by dividing the target document before and after a keyword contained in the target document.

(付記7)前記抽出する処理は、
前記対象の文書を含む複数の文書に基づいて、取得した前記複数の部分のそれぞれの部分の中から、前記部分の特徴を表す特徴語を抽出する、ことを特徴とする付記1~6のいずれか一つに記載の情報処理プログラム。
(Additional Note 7) The extraction process includes:
An information processing program described in any one of Appendices 1 to 6, characterized in that, based on a plurality of documents including the target document, characteristic words that express characteristics of each of the acquired plurality of parts are extracted from each of the acquired plurality of parts.

(付記8)対象の文書を特定の条件に従って分割した複数の部分を取得し、
取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、前記部分の特徴を表す特徴語としての第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
抽出した前記特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、前記対象の文書の特徴を表す特徴語としての第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、
処理をコンピュータが実行することを特徴とする情報処理方法。
(Appendix 8) Obtaining multiple parts obtained by dividing the target document according to specific conditions,
extracting, from each of the acquired plurality of parts, a feature word that represents a feature of the part, based on a first likelihood of each word contained in each of the acquired plurality of parts being a feature word that represents a feature of the part;
determining, from the feature word set, a feature word that represents a feature of the target document, based on a second likelihood of each feature word included in a feature word set that summarizes the extracted feature words as a feature word that represents a feature of the target document;
An information processing method characterized in that the processing is executed by a computer.

(付記9)対象の文書を特定の条件に従って分割した複数の部分を取得し、
取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、前記部分の特徴を表す特徴語としての第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
抽出した前記特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、前記対象の文書の特徴を表す特徴語としての第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、
制御部を有することを特徴とする情報処理装置。
(Appendix 9) Obtaining multiple parts obtained by dividing the target document according to specific conditions,
extracting, from each of the acquired plurality of parts, a feature word that represents a feature of the part, based on a first likelihood of each word contained in each of the acquired plurality of parts being a feature word that represents a feature of the part;
determining, from the feature word set, a feature word that represents a feature of the target document, based on a second likelihood, for each feature word included in a feature word set that summarizes the extracted feature words, as a feature word that represents a feature of the target document;
An information processing device comprising a control unit.

100 情報処理装置
110 文書
111,901 部分
121,130,911,1001,1111 一覧
200 情報処理システム
201 文書蓄積装置
202 クライアント装置
210 ネットワーク
300 バス
301 CPU
302 メモリ
303 ネットワークI/F
304 記録媒体I/F
305 記録媒体
400 全体頻度管理テーブル
500 部分頻度管理テーブル
600 重要単語管理テーブル
700 記憶部
701 取得部
702 分割部
703 第1抽出部
704 第2抽出部
705 出力部
800 ドキュメント群
810 ページ群
900 ドキュメント
921,1020 符号
1010 重要単語群
1100 検索画面
1101 入力欄
1110 サムネイル画像
REFERENCE SIGNS LIST 100 Information processing device 110 Document 111, 901 Part 121, 130, 911, 1001, 1111 List 200 Information processing system 201 Document storage device 202 Client device 210 Network 300 Bus 301 CPU
302 Memory 303 Network I/F
304 Recording medium I/F
305 Recording medium 400 Total frequency management table 500 Partial frequency management table 600 Important word management table 700 Storage unit 701 Acquisition unit 702 Dividing unit 703 First extraction unit 704 Second extraction unit 705 Output unit 800 Document group 810 Page group 900 Document 921, 1020 Code 1010 Important word group 1100 Search screen 1101 Input field 1110 Thumbnail image

Claims (6)

対象の文書を特定の条件に従って分割した複数の部分を取得し、
取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、前記部分の特徴を表す特徴語としての第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
抽出した前記特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、前記対象の文書の特徴を表す特徴語としての第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、
処理をコンピュータに実行させることを特徴とする情報処理プログラム。
Obtaining multiple parts by dividing the target document according to specific conditions;
extracting, from each of the acquired plurality of parts, a feature word that represents a feature of the part, based on a first likelihood of each word contained in each of the acquired plurality of parts being a feature word that represents a feature of the part;
determining, from the feature word set, a feature word that represents a feature of the target document, based on a second likelihood, for each feature word included in a feature word set that summarizes the extracted feature words, as a feature word that represents a feature of the target document;
An information processing program that causes a computer to execute a process.
前記抽出する処理は、
前記それぞれの部分に含まれるそれぞれの語句について、前記部分に前記語句が出現する頻度の多さに基づく評価値と、前記複数の部分のうち、前記語句が出現する部分の数の多さに基づく評価値とに基づいて、前記第1の尤度を算出し、算出した前記第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
前記決定する処理は、
前記それぞれの特徴語について、前記対象の文書に前記特徴語が出現する頻度の多さに基づく評価値と、前記対象の文書を含む複数の文書のうち、前記特徴語が出現する文書の数の多さに基づく評価値とに基づいて、前記第2の尤度を算出し、算出した前記第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、ことを特徴とする請求項1に記載の情報処理プログラム。
The extraction process includes:
calculating the first likelihood for each word included in each of the portions based on an evaluation value based on a frequency at which the word appears in the portion and an evaluation value based on a number of portions in which the word appears among the plurality of portions, and extracting, from each of the portions, a characteristic word that represents a characteristic of the portion based on the calculated first likelihood;
The process of determining includes:
The information processing program described in claim 1, characterized in that for each of the feature words, the second likelihood is calculated based on an evaluation value based on the frequency with which the feature word appears in the target document and an evaluation value based on the number of documents in which the feature word appears among a plurality of documents including the target document, and a feature word that represents a characteristic of the target document is determined from the set of feature words based on the calculated second likelihood.
前記抽出する処理は、
前記それぞれの部分に含まれる語句のうち、算出した前記第1の尤度が閾値以上である語句を、前記部分の特徴を表す特徴語として抽出する、ことを特徴とする請求項2に記載の情報処理プログラム。
The extraction process includes:
3. The information processing program according to claim 2, further comprising: extracting, from among the words contained in each of the portions, a word for which the calculated first likelihood is equal to or greater than a threshold value as a characteristic word representing a characteristic of the portion.
取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句について、前記部分に前記語句が出現する頻度の多さに基づく評価値と、前記複数の部分のうち、前記語句が出現する部分の数の多さに基づく評価値とに基づいて、前記部分の特徴を表す特徴語としての第1の尤度を算出し、
前記対象の文書に含まれるそれぞれの語句について、前記対象の文書に前記語句が出現する頻度の多さに基づく評価値と、前記対象の文書を含む複数の文書のうち、前記語句が出現する文書の数の多さに基づく評価値とに基づいて、前記対象の文書の特徴を表す特徴語としての第2の尤度を算出し、
算出した前記第1の尤度と、算出した前記第2の尤度とに基づいて、前記対象の文書に含まれる語句の中から、前記対象の文書の特徴を表す特徴語を決定する、
処理を前記コンピュータに実行させることを特徴とする請求項1~3のいずれか一つに記載の情報処理プログラム。
calculating a first likelihood for each word included in each of the acquired plurality of parts as a characteristic word representing a characteristic of the part, based on an evaluation value based on a frequency at which the word appears in the part and an evaluation value based on a number of parts in which the word appears among the plurality of parts;
calculating a second likelihood for each term contained in the target document as a characteristic term representing a characteristic of the target document based on an evaluation value based on a frequency at which the term appears in the target document and an evaluation value based on a number of documents in which the term appears among a plurality of documents including the target document;
determining, based on the calculated first likelihood and the calculated second likelihood, a feature word representing a feature of the target document from among words and phrases contained in the target document;
4. The information processing program according to claim 1, which causes the computer to execute a process.
対象の文書を特定の条件に従って分割した複数の部分を取得し、
取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、前記部分の特徴を表す特徴語としての第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
抽出した前記特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、前記対象の文書の特徴を表す特徴語としての第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、
処理をコンピュータが実行することを特徴とする情報処理方法。
Obtaining multiple parts by dividing the target document according to specific conditions;
extracting, from each of the acquired plurality of parts, a feature word that represents a feature of the part, based on a first likelihood of each word contained in each of the acquired plurality of parts being a feature word that represents a feature of the part;
determining, from the feature word set, a feature word that represents a feature of the target document, based on a second likelihood, for each feature word included in a feature word set that summarizes the extracted feature words, as a feature word that represents a feature of the target document;
An information processing method characterized in that the processing is executed by a computer.
対象の文書を特定の条件に従って分割した複数の部分を取得し、
取得した前記複数の部分のそれぞれの部分に含まれるそれぞれの語句についての、前記部分の特徴を表す特徴語としての第1の尤度に基づいて、前記それぞれの部分の中から、前記部分の特徴を表す特徴語を抽出し、
抽出した前記特徴語を纏めた特徴語集合に含まれるそれぞれの特徴語についての、前記対象の文書の特徴を表す特徴語としての第2の尤度に基づいて、前記特徴語集合の中から、前記対象の文書の特徴を表す特徴語を決定する、
制御部を有することを特徴とする情報処理装置。
Obtaining multiple parts by dividing the target document according to specific conditions;
extracting, from each of the acquired plurality of parts, a feature word that represents a feature of the part, based on a first likelihood of each word or phrase contained in each of the acquired plurality of parts being a feature word that represents a feature of the part;
determining, from the feature word set, a feature word that represents a feature of the target document, based on a second likelihood of each feature word included in a feature word set that summarizes the extracted feature words as a feature word that represents a feature of the target document;
An information processing device comprising a control unit.
JP2021124759A 2021-07-29 2021-07-29 Information processing program, information processing method, and information processing device Active JP7633522B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021124759A JP7633522B2 (en) 2021-07-29 2021-07-29 Information processing program, information processing method, and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021124759A JP7633522B2 (en) 2021-07-29 2021-07-29 Information processing program, information processing method, and information processing device

Publications (2)

Publication Number Publication Date
JP2023019784A JP2023019784A (en) 2023-02-09
JP7633522B2 true JP7633522B2 (en) 2025-02-20

Family

ID=85159138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021124759A Active JP7633522B2 (en) 2021-07-29 2021-07-29 Information processing program, information processing method, and information processing device

Country Status (1)

Country Link
JP (1) JP7633522B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011242844A (en) 2010-05-14 2011-12-01 Ricoh Co Ltd Device, method, program and system for keyword extraction
JP2016045552A (en) 2014-08-20 2016-04-04 富士通株式会社 Feature extraction program, feature extraction method, and feature extraction apparatus
JP2016126748A (en) 2014-12-26 2016-07-11 Kddi株式会社 Labeling apparatus, method and program
JP2020170334A (en) 2019-04-03 2020-10-15 京セラドキュメントソリューションズ株式会社 Image processing system and image processing program
CN112347229B (en) 2020-11-12 2021-07-20 润联软件系统(深圳)有限公司 Answer extraction method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011242844A (en) 2010-05-14 2011-12-01 Ricoh Co Ltd Device, method, program and system for keyword extraction
JP2016045552A (en) 2014-08-20 2016-04-04 富士通株式会社 Feature extraction program, feature extraction method, and feature extraction apparatus
JP2016126748A (en) 2014-12-26 2016-07-11 Kddi株式会社 Labeling apparatus, method and program
JP2020170334A (en) 2019-04-03 2020-10-15 京セラドキュメントソリューションズ株式会社 Image processing system and image processing program
CN112347229B (en) 2020-11-12 2021-07-20 润联软件系统(深圳)有限公司 Answer extraction method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
JP2023019784A (en) 2023-02-09

Similar Documents

Publication Publication Date Title
CN103430172B (en) Search device, search method and program
CN102576358A (en) Word pair acquisition device, word pair acquisition method, and program
JP2010073114A6 (en) Image information retrieving apparatus, image information retrieving method and computer program therefor
JPWO2007108529A1 (en) Information extraction system, information extraction method, information extraction program, and information service system
Pletschacher et al. Europeana newspapers OCR workflow evaluation
US20130254190A1 (en) Search device, search method, and computer program product
JP2004341753A (en) Search support apparatus, search support method, and program
JP2006072744A (en) Document processing apparatus, control method thereof, program, and storage medium
KR100706389B1 (en) Image retrieval method and device considering similarity between images
JP5199768B2 (en) Tagging support method and apparatus, program, and recording medium
US9378248B2 (en) Retrieval apparatus, retrieval method, and computer-readable recording medium
US20210295033A1 (en) Information processing apparatus and non-transitory computer readable medium
KR102007437B1 (en) Apparatus for classifying contents and method for using the same
JP2010211688A (en) Document editing apparatus, data processing method and program
JP7633522B2 (en) Information processing program, information processing method, and information processing device
JP6488399B2 (en) Information presentation system and information presentation method
JP2004240488A (en) Document management device
JP4135659B2 (en) Format conversion device and file search device
US10990338B2 (en) Information processing system and non-transitory computer readable medium
JP2009151390A (en) Information analyzing device and information analyzing program
JP2013222418A (en) Passage division method, device and program
JP5461344B2 (en) Data classification device, data classification method, and data classification program
JP5153390B2 (en) Related word dictionary creation method and apparatus, and related word dictionary creation program
JP7131075B2 (en) search processor and program
JP2007011973A (en) Information search apparatus and information search program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240404

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250120

R150 Certificate of patent or registration of utility model

Ref document number: 7633522

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150