JP7640104B2 - Information processing program, information processing device, and information processing method - Google Patents
Information processing program, information processing device, and information processing method Download PDFInfo
- Publication number
- JP7640104B2 JP7640104B2 JP2022165299A JP2022165299A JP7640104B2 JP 7640104 B2 JP7640104 B2 JP 7640104B2 JP 2022165299 A JP2022165299 A JP 2022165299A JP 2022165299 A JP2022165299 A JP 2022165299A JP 7640104 B2 JP7640104 B2 JP 7640104B2
- Authority
- JP
- Japan
- Prior art keywords
- word
- documents
- display
- information processing
- words
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 73
- 238000003672 processing method Methods 0.000 title claims description 7
- 238000000034 method Methods 0.000 claims description 30
- 238000004364 calculation method Methods 0.000 claims description 21
- 238000000605 extraction Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 9
- 230000006870 function Effects 0.000 description 25
- 238000004458 analytical method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000002996 emotional effect Effects 0.000 description 8
- 238000012552 review Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000008451 emotion Effects 0.000 description 2
- 235000012149 noodles Nutrition 0.000 description 2
- 238000013145 classification model Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Machine Translation (AREA)
Description
特許法第30条第2項適用 [刊行物1]令和3年10月21日販売、オンラインによる販売(クラウドサーバー上にあるソフトウェアの販売) [刊行物2]令和3年10月21日販売、オンラインによる販売(指定サイトからのダウンロード販売) [刊行物3]令和3年11月17日掲載、掲載アドレスhttps://retrieva.jp/news/date_202111171100/ [刊行物4]令和3年12月1日販売、オンラインによる販売(クラウドサーバー上にあるソフトウェアの販売) [刊行物5]令和4年1月22日掲載、掲載アドレスhttps://pastfuse.forstartups.com/ [刊行物6]令和4年3月25日掲載、掲載アドレスhttps://fuse.forstartups.com/archive-a?utm_campaign=FUSE%20Vol2&utm_medium=email&_hsmi=208276975&_hsenc=p2ANqtz-_dOXvDpfIXRVhNNUyKnThmXpgTR2sKWND1qoi1PzW-vdmAwfqySIofx9F0r1B2hAD4zvnPpGnWz0euXqaVAqDQGSnYcy9GC62jn2-jQFmjVLkYj5A&utm_content=208276975&utm_source=hs_email ※現在非公開 [刊行物7]令和4年6月23日掲載 掲載アドレスhttps://us06web.zoom.us/webinar/register/WN_iA7ei2lJRYu9lTpb1mW_mA ※現在非公開 [刊行物8]令和4年6月30日掲載、掲載アドレスhttps://yoshina.io/ [刊行物9]令和4年8月1日販売、オンラインによる販売(指定サイトからのダウンロード販売) [刊行物10]令和4年8月17日掲載、掲載アドレスhttps://www.youtube.com/watch?v=RcYDQN_BMPcApplicable under
本発明は、複数の文書を解析した結果をユーザに分かり易く提示するための情報処理プログラム、情報処理装置及び情報処理方法に関するものである。 The present invention relates to an information processing program, an information processing device, and an information processing method for presenting the results of analyzing multiple documents to a user in an easy-to-understand manner.
従来、複数の文書を自動で解析、分類してユーザに提供する技術が存在する。多量の文書についての解析結果、分類結果を知りたいというニーズは強く、そのようなニーズに対応するための様々な解析手法、分類手法が提案されている。 Conventionally, there are technologies that automatically analyze and classify multiple documents and provide them to users. However, there is a strong need to know the analysis and classification results for a large number of documents, and various analysis and classification methods have been proposed to meet such needs.
例えば、特許文献1には、単語単体の出現頻度のみではなく、単語同士の類似性を考慮した単語群の出現頻度に基づいた文書分類モデルに関する技術が開示されている。 For example, Patent Document 1 discloses technology related to a document classification model based on the frequency of occurrence of groups of words that take into account the similarities between words, rather than just the frequency of occurrence of individual words.
ところで、商品の販売サイトにおける各商品に対する複数のレビュー文書や、飲食店に対する複数の口コミ文書や、コールセンターにおいて受け付けた相談内容をテキスト化した複数文書など、解析のニーズのある複数の文書に対して特許文献1に記載の技術を適用することで、出現頻度の高い単語を抽出する処理や、出現頻度に基づいた文書の分類処理を行うことが可能となるが、そのような解析結果や分類結果をユーザに対して分かり易く提供する手段については開示されていない。 By applying the technology described in Patent Document 1 to multiple documents that need to be analyzed, such as multiple review documents for each product on a product sales site, multiple word-of-mouth documents for restaurants, and multiple documents that are text versions of inquiries received at a call center, it is possible to extract frequently occurring words and classify documents based on their occurrence frequency, but no means are disclosed for providing such analysis and classification results to users in an easy-to-understand manner.
複数の文書についての全体の傾向や、注目すべき単語の存在などをユーザに分かり易い形で提供する手法が求められていた。 There was a need for a method to provide users with an easy-to-understand view of overall trends across multiple documents and the presence of noteworthy words.
本発明は、上記問題点に鑑みなされたものであり、複数の文書を解析した結果をユーザに分かり易く提示することが可能な情報処理プログラム、情報処理装置及び情報処理方法を提供することを目的とする。 The present invention has been made in consideration of the above problems, and aims to provide an information processing program, an information processing device, and an information processing method that can present the results of analyzing multiple documents to a user in an easy-to-understand manner.
本発明に係る情報処理プログラムは、複数の文書の内容を分析する処理をコンピュータに実現させるための情報処理プログラムであって、前記コンピュータに、複数の文書をそれぞれテキストデータとして取得する文書取得機能と、前記複数の文書における単語の出現頻度を算出する出現頻度算出機能と、前記複数の文書における単語の注目度を算出する注目度算出機能と、各単語の前記出現頻度及び前記注目度に基づいて、前記出現頻度と前記注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成して出力するワードマップ生成機能と、生成した前記ワードマップを含む表示画面を表示用ディスプレイに表示させる表示機能とを実現させることを特徴とする。 The information processing program of the present invention is an information processing program for causing a computer to execute a process for analyzing the contents of a plurality of documents, and is characterized in that the computer is executed to execute a document acquisition function for acquiring each of the plurality of documents as text data, an occurrence frequency calculation function for calculating the occurrence frequency of words in the plurality of documents, an attention calculation function for calculating the attention level of words in the plurality of documents, a word map generation function for generating and outputting a word map in which each word is plotted on a two-dimensional map with the occurrence frequency and the attention level as axes based on the occurrence frequency and the attention level of each word, and a display function for displaying a display screen including the generated word map on a display for display.
また、本発明に係る情報処理プログラムは、さらに、前記コンピュータに、前記複数の文書における各単語に対して関連度の高い他の単語を特定する関連単語特定機能を実現させ、前記表示機能は、表示画面上の前記ワードマップのいずれかの単語に対して所定操作がなされた場合、当該単語の関連単語を当該単語の表示位置から派生させて表示させることを特徴とする。 The information processing program according to the present invention further causes the computer to realize a related word identification function that identifies other words that are highly related to each word in the plurality of documents, and the display function is characterized in that, when a predetermined operation is performed on any word in the word map on the display screen, related words of the word are derived from the display position of the word and displayed.
また、本発明に係る情報処理プログラムは、さらに、前記コンピュータに、前記単語の表示位置から派生させて表示させた前記関連単語の何れかに対して所定操作がなされた場合、前記複数の文書から当該単語及び当該関連単語を共に含む文書を抽出する文書抽出機能を実現させ、前記表示機能は、当該単語及び当該関連単語を共に含む前記文書を表示画面上に表示させることを特徴とする。 The information processing program according to the present invention further causes the computer to realize a document extraction function that extracts documents that contain both the word and the related words from the multiple documents when a predetermined operation is performed on any of the related words that are derived and displayed from the display position of the word, and the display function is characterized in that it displays the documents that contain both the word and the related words on a display screen.
また、本発明に係る情報処理プログラムは、さらに、前記表示機能は、出現頻度及び/又は注目度が所定の閾値以上の単語について、前記閾値未満の単語と表示態様を異ならせて表示させることを特徴とする。 The information processing program according to the present invention is further characterized in that the display function displays words whose frequency of occurrence and/or attention level is equal to or greater than a predetermined threshold in a different display mode than words whose frequency of occurrence and/or attention level is less than the threshold.
また、本発明に係る情報処理プログラムは、さらに、前記注目度算出機能は、所定の分類規則に基づいて前記複数の文書を複数のクラスタに分類し、各クラスタ単位でtf-idf法を適用することで単語の注目度を算出することを特徴とする。 The information processing program according to the present invention is further characterized in that the attention calculation function classifies the documents into a plurality of clusters based on a predetermined classification rule, and calculates the attention of words by applying the tf-idf method on a cluster-by-cluster basis.
本発明に係る情報処理装置は、複数の文書の内容を分析する処理を行うための情報処理装置であって、複数の文書をそれぞれテキストデータとして取得する文書取得部と、前記複数の文書における単語の出現頻度を算出する出現頻度算出部と、前記複数の文書における単語の注目度を算出する注目度算出部と、各単語の前記出現頻度及び前記注目度に基づいて、前記出現頻度と前記注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成して出力するワードマップ生成部と、生成した前記ワードマップを含む表示画面を表示用ディスプレイに表示させる表示部とを備えることを特徴とする。 The information processing device according to the present invention is an information processing device for performing processing to analyze the contents of a plurality of documents, and is characterized by comprising a document acquisition unit that acquires each of the plurality of documents as text data, an occurrence frequency calculation unit that calculates the occurrence frequency of words in the plurality of documents, an attention calculation unit that calculates the attention level of words in the plurality of documents, a word map generation unit that generates and outputs a word map in which each word is plotted on a two-dimensional map with the occurrence frequency and the attention level as axes based on the occurrence frequency and the attention level of each word, and a display unit that displays a display screen including the generated word map on a display for display.
本発明に係る情報処理方法は、複数の文書の内容を分析する処理をコンピュータによって行うための情報処理方法であって、複数の文書をそれぞれテキストデータとして取得する文書取得手順と、前記複数の文書における単語の出現頻度を算出する出現頻度算出手順と、前記複数の文書における単語の注目度を算出する注目度算出手順と、各単語の前記出現頻度及び前記注目度に基づいて、前記出現頻度と前記注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成して出力するワードマップ生成手順と、生成した前記ワードマップを含む表示画面を表示用ディスプレイに表示させる表示手順とを含むことを特徴とする。 The information processing method according to the present invention is an information processing method for performing processing for analyzing the contents of a plurality of documents by a computer, and is characterized by including a document acquisition step of acquiring each of the plurality of documents as text data, an occurrence frequency calculation step of calculating the occurrence frequency of words in the plurality of documents, an attention calculation step of calculating the attention level of words in the plurality of documents, a word map generation step of generating and outputting a word map in which each word is plotted on a two-dimensional map with the occurrence frequency and the attention level as axes based on the occurrence frequency and the attention level of each word, and a display step of displaying a display screen including the generated word map on a display for display.
本発明によれば、出現頻度と注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成し、生成したワードマップを含む表示画面を表示用ディスプレイに表示させるようにしたので、複数の文書を解析した結果をユーザが視覚的に把握し易いように提示することが可能となる。また、表示画面上の前記ワードマップのいずれかの単語に対して所定操作がなされた場合、当該単語の関連単語を当該単語の表示位置から派生させて表示させるようにしたので、ワードマップ上の各単語がどのような単語と一緒に使用されているかを関連単語の表示から簡単に把握することが可能となる。さらに、単語の表示位置から派生させて表示させた前記関連単語の何れかに対して所定操作がなされた場合、複数の文書から当該単語及び当該関連単語を共に含む文書を抽出して表示画面上に表示させるようにしたので、派生元の単語と関連単語とが実際の文書内でどのように使用されていたかを簡単に確認することが可能となる。 According to the present invention, a word map is generated in which each word is plotted on a two-dimensional map with the frequency of occurrence and the attention level as axes, and a display screen including the generated word map is displayed on a display for displaying the results of analyzing multiple documents, so that the results of analyzing multiple documents can be presented in a way that makes it easy for the user to visually understand them. In addition, when a predetermined operation is performed on any word in the word map on the display screen, related words of the word are derived from the display position of the word and displayed, so that it is possible to easily understand what words each word on the word map is used with from the display of the related words. Furthermore, when a predetermined operation is performed on any of the related words derived from the display position of a word and displayed, documents including both the word and the related words are extracted from multiple documents and displayed on the display screen, so that it is possible to easily check how the derived word and the related words were used in the actual document.
[第1の実施の形態]
以下、図面を参照しながら、第1の実施の形態に係る情報処理装置の例について説明する。図1は、本発明に係る情報処理装置を実現するためのシステム全体の構成を表したブロック図である。なお、情報処理装置10は、専用マシンとして設計した装置であってもよいが、一般的なコンピュータやサーバ装置によって実現可能なものであるものとする。この場合に、情報処理装置10は、一般的なコンピュータやサーバ装置が通常備えているであろうCPU(Central Processing Unit:中央演算処理装置)、メモリ、ハードディスクドライブ等のストレージを具備しているものとする(図示省略)。また、これらの一般的なコンピュータやサーバ装置を本例の情報処理装置10として機能させるためにプログラムよって各種処理が実行されることは言うまでもない。
[First embodiment]
Hereinafter, an example of an information processing device according to a first embodiment will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the entire system for realizing the information processing device according to the present invention. The
図1に示すように、情報処理装置を実現するためのシステム全体の構成は、サーバ装置10と、ユーザ端末201~20n(以下、これら総称してユーザ端末20と表現する場合を含む)とが、通信ネットワーク30を介して相互に接続可能に構成されている。このうち、サーバ装置10が本例の情報処理装置10として機能し、ユーザ端末201~20nのそれぞれから情報処理装置(サーバ装置)10にアクセスしてシステムを利用する場合を例として説明を行う。
As shown in FIG. 1, the overall system configuration for realizing an information processing device is configured such that a
図2は、本発明に係る情報処理装置(サーバ装置)10の構成の一例を表したブロック図である。この図2に示すように、情報処理装置10は、文書取得部11と、出現頻度算出部12と、注目度算出部13と、関連単語特定部14と、文書抽出部15と、ワードマップ生成部16と、表示部17と、記憶部18とを少なくとも備えている。
Figure 2 is a block diagram showing an example of the configuration of an information processing device (server device) 10 according to the present invention. As shown in this Figure 2, the
文書取得部11は、複数の文書をそれぞれテキストデータとして取得する機能を有する。この文書取得部11において取得する文書はどのようなものであってもよく、一例としては、商品の販売サイトにおける各商品に対する複数のレビュー文書や、飲食店に対する複数の口コミ文書や、コールセンターにおいて受け付けた相談内容をテキスト化した複数文書などが挙げられる。なお、音声データを取得してテキストデータ化する機能を本例の情報処理装置に備えさせることで複数の文書としての複数のテキストデータを文書取得部11において取得するようにしてもよい。
The
出現頻度算出部12は、複数の文書における単語の出現頻度を算出する機能を有する。ここで、出現頻度とは、所定のカテゴリ内の複数文書全体の中における各単語の出現回数をカウントしたもの、或いは、出現回数をスコア化(正規化)したものをいう。出現頻度を算出する範囲は、取得した文書全体であってもよいし、取得した文書を所定の分類規則に基づいて複数カテゴリに分類した後の各カテゴリであってもよい。所定の分類規則としては、例えば、LDA(Latent Dirichlet Allocation)が挙げられる。算出した単語毎の出現頻度の情報は、後述する記憶部18に記憶させる。また、所定の分類規則に基づいて取得した文書を複数カテゴリに分類した場合には、各文書が該当するカテゴリの情報についても後述する記憶部18に記憶させる。
The occurrence
また、出現頻度算出部12においては、単語ごとの出現頻度を算出するにあたり、所定規則に基づいて文章を名詞、動詞、形容詞などの所定単位にて分割する前処理を実行する必要がある。また、出現頻度の算出にあたっては、連続した数単語を1つのまとまりとして扱って出現頻度を算出するようにしてもよい。一例としては、バイトペア符号化(Byte Pair Encoding)を用いて文章をサブワード(連続した数単語のまとまり)化した上で、出現頻度が高いサブワードはそれを1単語として扱って出現頻度を算出するようにし、出現頻度が低いサブワードはより短い単位に分割して出現頻度を算出するといった手法が考えられる。出現頻度が高いサブワードについては1単語として扱ってユーザに提示した方が、文書の解析結果をより分かり易くユーザに伝えることができるといえる。
In addition, in the occurrence
注目度算出部13は、複数の文書における単語の注目度を算出する機能を有する。ここで、注目度とは、その文書全体又はカテゴリを特徴付ける可能性のある単語として注目すべき度合いをスコア化したものをいう。各単語の注目度を算出することができればどのような手法であってもよいが、例えば、複数の文書に対してtf-idf法を適用することで単語の注目度を算出することが考えられる。また、取得した文書を所定の分類規則に基づいて複数カテゴリに分類した後の各カテゴリに対してtf-idf法を適用することで、頻出単語とは異なる注目度の高い単語を抽出し易くなるという効果が得られる。
The
関連単語特定部14は、複数の文書における各単語に対して関連度の高い他の単語(以下、関連単語という)を特定する機能を有する。関連単語を抽出することができればどのような手法であってもよいが、例えば、共起(collocation)の度合いの高さに基づいて関連単語を抽出することが考えられる。特定した単語と関連単語との関係性の情報は、後述する記憶部18に記憶させる。
The related
文書抽出部15は、単語とその単語の関連単語との組み合わせが指定された場合に、複数の文書から当該単語及び当該関連単語を共に含む文書を抽出する機能を有する。文書抽出部15は、単語とその単語の関連単語との組み合わせが指定された場合に、複数の文書の中からこれらを共に含む文書を抽出する処理を実行する。
The
ワードマップ生成部16は、各単語の出現頻度及び注目度に基づいて、出現頻度と注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成して出力する機能を有する。ワードマップは、複数の文書における出現頻度の高い単語や注目度の高い単語を2次元マップ上に配置して表示させたものであり、複数文書の解析結果をユーザに視覚的に分かり易く提示するために用いることができる。このワードマップは、取得した文書全体に対して生成してもよいし、取得した文書を所定の分類規則に基づいて複数カテゴリに分類した後の各カテゴリにて生成するようにしてもよい。縦横の軸に採用する出現頻度と注目度の情報は、出現回数のようにカウント数を用いてもよいし、スコア化(正規化)した数値を用いるようにしてもよい。また、ワードマップ上に全ての単語をプロットするのではなく、出現頻度や注目度に閾値を設けて、出現頻度又は注目度が閾値以上である単語をワードマップ上にプロットするようにしてもよい。また、ワードマップはユーザに対して分析結果を視覚的に分かり易く伝えるための手段であるため、プロット点が必ずしも正確な位置である必要はなく、文字の重なりを避けるためなどの理由に基づいて、所定範囲内のずれを許容して配置するようにしてもよい。
The word
表示部17は、生成したワードマップを含む表示画面を表示用ディスプレイに表示させる機能を有する。ここで、ユーザ端末20が表示用ディスプレイを備える構成の場合、表示部17で生成した表示画面を通信ネットワーク30を介してユーザ端末20に送信してユーザ端末20の表示用ディスプレイに表示させるようにする。
The
また、表示部17は、表示画面上のワードマップのいずれかの単語に対して所定操作がなされた場合、当該単語の関連単語を当該単語の表示位置から派生させて表示させる機能を有する。単語に対する所定操作はどのようなものであってもよいが、一例としては、ワードマップ上の単語にポインタをマウスオーバーさせる操作が挙げられる。所定操作がなされた単語が特定されると、関連単語特定部14において予め特定して記憶させておいた各単語の関連単語の情報を参照して当該単語の関連単語の情報を読み出して、関連単語を当該単語の表示位置から派生させて表示させる。派生させて表示とは、元となる単語と関連単語の関係性を示せればどのような表示であってもよいが、一例としては、元となる単語の表示位置(ノード)からツリー構造のようにエッジで繋げて関連単語を表示させるといった手法が考えられる。すなわち、単語にマウスポインタをマウスオーバーさせたときに関連単語が初めて表示されるようにし、マウスオーバーを外すと関連単語の表示が消えるという表示処理とすることが考えられる。
The
また、表示部17は、単語の表示位置から派生させて表示させた関連単語の何れかに対して所定操作がなされた場合、当該単語及び当該関連単語を共に含む文書を表示画面上に表示させる機能を有する。関連単語に対する所定操作はどのようなものであってもよいが、一例としては、ワードマップ上の関連単語に対するシングルクリック操作が挙げられる。所定操作がなされた関連単語が特定されると、元となった単語と関連単語とを共に含む文書を文書抽出部15によって抽出して、表示画面上に表示させる。元となった単語と関連単語とを共に含む文書の表示方法はどのようなものであってもよいが、一例としては、該当する全ての文書を表示するのではなく2~3例だけを表示させるようにしてもよいし、また、文書全体を表示させるのではなく元となった単語と関連単語とを共に含む個所のみを抜粋して表示させるようにしてもよい。
The
また、表示部17は、出現頻度及び/又は注目度が所定の閾値以上の単語について、閾値未満の単語と表示態様を異ならせて表示させるようにしてもよい。すなわち、出現頻度が高い単語や、注目度が高い単語を区別してユーザに認識させることが可能となる。表示態様を異ならせる手法としては、例えば、フォントの大きさを変える、表示色を変えるなどが考えられる。
The
記憶部18は、情報処理装置10において行われる様々な処理で必要なデータ及び処理の結果として得られたデータを記憶させる機能を有する。
The
次に、本発明に係る情報処理装置10における各種処理の流れについて説明を行う。図3は、本発明に係る情報処理装置10におけるワードマップ生成処理の流れを表したフローチャート図である。この図3に示すように、情報処理装置10におけるワードマップ生成処理は、情報処理装置10において複数の文書を取得することによって開始される(ステップS101)。次に、情報処理装置10は、取得した複数の文書における各単語の出現頻度を算出する(ステップS102)。次に、情報処理装置10は、取得した複数の文書における各単語の注目度を算出する(ステップS103)。次に、情報処理装置10は、取得した複数の文書における各単語の関連単語を特定する(ステップS104)。次に、情報処理装置10は、出現頻度と注目度をそれぞれ軸として2次元マップ上に単語をプロットすることでワードマップを生成する(ステップS105)。そして、情報処理装置10は、生成したワードマップを含む表示画面をディスプレイに表示(ユーザ端末に表示画面を送信)させて(ステップS106)、ワードマップ生成処理を終了する。
Next, the flow of various processes in the
図4は、本発明に係る情報処理装置10における関連単語表示処理の流れを表したフローチャート図である。この図4に示すように、情報処理装置10における関連単語表示処理は、情報処理装置10において表示中のワードマップ上の単語に対する所定操作(例えば、マウスオーバー)の操作情報を受信することによって開始される(ステップS201)。次に、情報処理装置10は、所定操作が行われた単語の関連単語を読み出す(ステップS202)。次に、情報処理装置10は、ワードマップ上の当該単語から派生させて関連単語を表示させた表示画面を生成する(ステップS203)。そして、情報処理装置10は、生成した表示画面をディスプレイに表示(ユーザ端末に表示画面を送信)させて(ステップS204)、関連単語表示処理を終了する。なお、この図4に示すフローチャート図は、関連単語表示処理の一例であり、表示中のワードマップ上の単語に対して所定操作を行った際に関連単語を派生させて表示させることができれば内部における処理はどのようなものであってもよい。例えば、図3に示すフローチャート図におけるステップS105において、単語の関連単語を埋め込んだワードマップを生成しておき、表示中のワードマップ上の単語に対して所定操作が行われたときに埋め込んだ関連単語を即座に表示させるといった処理であってもよい。
FIG. 4 is a flow chart showing the flow of the related word display process in the
図5は、本発明に係る情報処理装置10における文書抽出処理の流れを表したフローチャート図である。この図5に示すように、情報処理装置10における文書抽出処理は、情報処理装置10において表示中のワードマップ上の関連単語に対する所定操作(例えば、シングルクリック)の操作情報を受信することによって開始される(ステップS301)。次に、情報処理装置10は、派生元の単語と当該関連単語とを共に含む文書を抽出する(ステップS302)。そして、情報処理装置10は、抽出した文書を表示させた表示画面をディスプレイに表示(ユーザ端末に表示画面を送信)させて(ステップS303)、文書抽出処理を終了する。
Figure 5 is a flow chart showing the flow of document extraction processing in the
次に、文書解析の流れについて具体例を挙げつつ説明を行う。解析対象の文書として、1つの企業の製造する即席カップめんについての口コミサイトの複数の口コミを対象とする場合を例として説明を行う。先ず、一例として、口コミ総数が1000件の状況において、1000件の文書をテキストデータとして取得する。次に、1000件の文書に対して所定の分類規則としてのLDA(Latent Dirichlet Allocation)を適用することで、複数カテゴリに分類する。その結果、1000件の文書がカテゴリ1~カテゴリ5の5つに分類されたものとする。次に、カテゴリ毎に、単語の出現頻度の算出と、単語の注目度の算出を行う。 Next, the flow of document analysis will be explained with a concrete example. The explanation will be given using an example in which the documents to be analyzed are multiple reviews on a review site about instant cup noodles manufactured by a single company. First, as an example, in a situation in which there are a total of 1000 reviews, 1000 documents are acquired as text data. Next, the 1000 documents are classified into multiple categories by applying LDA (Latent Dirichlet Allocation) as a predetermined classification rule. As a result, the 1000 documents are classified into five categories, category 1 to category 5. Next, the frequency of occurrence of words and the attention level of words are calculated for each category.
図6は、本発明に係る情報処理装置10において出現頻度の高い単語と注目度の高い単語を抽出した様子の一例を表した説明図である。この図6は、カテゴリ1~カテゴリ5の5つに分類されたそれぞれのカテゴリ毎に頻出単語と注目単語を抽出した例を示している。このように、カテゴリ毎に頻出単語と注目単語を抽出して一覧表示することも可能であるが、これに基づいてワードマップを生成して表示する機能を備えている。
Figure 6 is an explanatory diagram showing an example of how frequently occurring words and words of interest are extracted in the
図7は、本発明に係る情報処理装置10において出現頻度と注目度に基づいてワードマップを生成した様子の一例を表した説明図である。この図7は、図6におけるカテゴリ1における出現頻度と注目度とに基づいてワードマップを生成した様子を表している。このように、一覧表示ではなく、出現頻度と注目度とを軸として2次元マップ上に各単語をプロットすることで、文書の解析結果を視覚的に把握しやすくなる。例えば、この単語は出現頻度は高いが注目度は低いとか、この単語は出現頻度は中程度だが注目度が非常に高いとか、ワードマップ上の表示位置に基づいて各単語の解析結果を即座に把握することができる。
Figure 7 is an explanatory diagram showing an example of a word map generated based on occurrence frequency and attention in the
図8は、本発明に係る情報処理装置10において元の単語から関連単語を派生させて表示させる様子の一例を表した説明図である。図7に示すワードマップを見たユーザが「におい」という単語に関心を持ったとする。この場合に、そのユーザが「におい」という単語の表示個所にマウスポインタをマウスオーバーさせると、図8に示すように、「におい」の関連単語として、「開け」、「プラスチック」、「油」、「異臭」が表示される。これらの関連単語は「におい」と一緒の文脈で使用されていた単語であるため、「カップめんを開けた瞬間のにおい」、「プラスチックのにおい」、「油のにおい」、「異臭と感じた」などのように、派生元の単語と関連単語とを同時に表示させることで元文書の使用意図を即座に推測することが可能となり、ユーザが文書の解析結果の傾向を把握し易くなるという効果が得られる。また、この関連単語をシングルクリックすることで派生元の単語と関連単語とを共に含む元文書を表示させることができるため、推測した関連単語の使用意図を元文書において簡単に確認することができる。
Figure 8 is an explanatory diagram showing an example of how related words are derived from an original word and displayed in the
以上のように、本例による情報処理装置によれば、複数の文書をそれぞれテキストデータとして取得し、複数の文書における単語の出現頻度を算出し、複数の文書における単語の注目度を算出し、各単語の出現頻度及び注目度に基づいて、出現頻度と注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成し、生成したワードマップを含む表示画面を表示用ディスプレイに表示させるようにしたので、複数の文書を解析した結果をユーザに分かり易く提示することが可能となる。 As described above, the information processing device of this example acquires multiple documents as text data, calculates the frequency of occurrence of words in the multiple documents, calculates the attention level of words in the multiple documents, and generates a word map in which each word is plotted on a two-dimensional map with the frequency of occurrence and attention level as axes based on the frequency of occurrence and attention level of each word. A display screen including the generated word map is then displayed on the display, making it possible to present the results of analyzing multiple documents to the user in an easy-to-understand manner.
また、表示画面上の前記ワードマップのいずれかの単語に対して所定操作がなされた場合、当該単語の関連単語を当該単語の表示位置から派生させて表示させるようにしたので、ワードマップ上の各単語がどのような単語と一緒に使用されているかを関連単語の表示から簡単に把握することが可能となる。 In addition, when a specified operation is performed on any word in the word map on the display screen, related words of that word are derived and displayed based on the display position of that word, so that it is possible to easily grasp from the display of related words what words each word on the word map is used with.
さらに、単語の表示位置から派生させて表示させた前記関連単語の何れかに対して所定操作がなされた場合、複数の文書から当該単語及び当該関連単語を共に含む文書を抽出して表示画面上に表示させるようにしたので、派生元の単語と関連単語とが実際の文書内でどのように使用されていたかを簡単に確認することが可能となる。 Furthermore, when a specified operation is performed on any of the related words derived from the display position of a word, documents that contain both the word and the related words are extracted from multiple documents and displayed on the display screen, making it possible to easily check how the derived word and the related words were used in the actual document.
[第2の実施の形態]
第1の実施の形態においては、ワードマップ生成のための軸として、出現頻度と注目度を採用したが、これに限定されるものではなく、単語の評価指標となるものであれば軸として採用可能である。他の軸の一例としては、感情の要素が挙げられる。各単語が良い意味で使用されるものであるか、悪い意味で使用されるものであるか、という感情の要素を判定することができる。単語自身が持つ感情的な要素の他、使用される文脈において単語が纏う感情要素などが考えられる。各単語の感情値の抽出は、一例としては、感情値の抽出について予め学習を行った学習済モデルを利用することが考えられる。各単語について良い感情は値が大きく、悪い感情は値が小さいというような感情値を抽出して、感情値をワードマップの軸とすることで、また異なった解析結果をユーザに提示することが可能となる。
[Second embodiment]
In the first embodiment, the frequency of appearance and the degree of attention are used as axes for generating the word map, but the present invention is not limited to these, and any axis that can be used as an evaluation index for a word can be used. An example of another axis is an emotional element. It is possible to determine the emotional element of whether each word is used in a good or bad sense. In addition to the emotional element of the word itself, the emotional element of the word in the context in which it is used can be considered. As an example, the emotional value of each word can be extracted by using a trained model that has been trained in advance on the extraction of emotional values. By extracting emotional values for each word, such as a large value for a good emotion and a small value for a bad emotion, and using the emotional values as the axes of the word map, it is possible to present different analysis results to the user.
なお、本発明は、以上に述べた実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内で種々の構成または実施形態を取ることができる。 The present invention is not limited to the above-described embodiment, and various configurations or embodiments can be adopted without departing from the spirit of the present invention.
10 サーバ装置(情報処理装置)
11 文書取得部
12 出現頻度算出部
13 注目度算出部
14 関連単語特定部
15 文書抽出部
16 ワードマップ生成部
17 表示部
18 記憶部
20、201~20n ユーザ端末
30 通信ネットワーク
10 Server device (information processing device)
REFERENCE SIGNS
Claims (6)
前記コンピュータに、
複数の文書をそれぞれテキストデータとして取得する文書取得機能と、
前記複数の文書における単語の出現頻度を算出する出現頻度算出機能と、
前記複数の文書における単語の注目度を算出する注目度算出機能と、
各単語の前記出現頻度及び前記注目度に基づいて、前記出現頻度と前記注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成して出力するワードマップ生成機能と、
生成した前記ワードマップを含む表示画面を表示用ディスプレイに表示させる表示機能と、
前記複数の文書における各単語に対して関連度の高い他の単語を特定する関連単語特定機能とを実現させ、
前記表示機能は、表示画面上の前記ワードマップのいずれかの単語に対して所定操作がなされた場合、当該単語の関連単語を当該単語の表示位置から派生させて表示させる
情報処理プログラム。 An information processing program for causing a computer to execute a process for analyzing the contents of a plurality of documents,
The computer includes:
A document acquisition function for acquiring multiple documents as text data;
an occurrence frequency calculation function for calculating an occurrence frequency of a word in the plurality of documents;
an attention degree calculation function for calculating an attention degree of a word in the plurality of documents;
a word map generating function for generating and outputting a word map in which each word is plotted on a two-dimensional map with the frequency of occurrence and the attention level as axes based on the frequency of occurrence and the attention level of each word;
a display function for displaying a display screen including the generated word map on a display for display ;
A related word specification function is realized to specify other words having a high degree of relevance to each word in the plurality of documents,
The display function, when a predetermined operation is performed on any word of the word map on the display screen, displays words related to the word by deriving the words from the display position of the word.
Information processing program.
前記単語の表示位置から派生させて表示させた前記関連単語の何れかに対して所定操作がなされた場合、前記複数の文書から当該単語及び当該関連単語を共に含む文書を抽出する文書抽出機能を実現させ、
前記表示機能は、当該単語及び当該関連単語を共に含む前記文書を表示画面上に表示させる
請求項1記載の情報処理プログラム。 The computer includes:
a document extraction function is realized for extracting documents including both the word and the related words from the plurality of documents when a predetermined operation is performed on any of the related words derived from the display position of the word;
The information processing program according to claim 1 , wherein the display function displays the document including both the word and the related word on a display screen.
請求項1記載の情報処理プログラム。 The information processing program according to claim 1 , wherein the display function displays words whose frequency of appearance and/or attention level is equal to or higher than a predetermined threshold in a different display mode from words whose frequency of appearance and/or attention level is lower than the threshold.
請求項1から請求項3の何れか一項に記載の情報処理プログラム。 The information processing program according to any one of claims 1 to 3, wherein the attention calculation function classifies the plurality of documents into a plurality of clusters based on a predetermined classification rule, and calculates the attention of words by applying the TF-IDF method to each cluster unit.
複数の文書をそれぞれテキストデータとして取得する文書取得部と、
前記複数の文書における単語の出現頻度を算出する出現頻度算出部と、
前記複数の文書における単語の注目度を算出する注目度算出部と、
各単語の前記出現頻度及び前記注目度に基づいて、前記出現頻度と前記注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成して出力するワードマップ生成部と、
生成した前記ワードマップを含む表示画面を表示用ディスプレイに表示させる表示部と、
前記複数の文書における各単語に対して関連度の高い他の単語を特定する関連単語特定部とを備え、
前記表示部は、表示画面上の前記ワードマップのいずれかの単語に対して所定操作がなされた場合、当該単語の関連単語を当該単語の表示位置から派生させて表示させる
情報処理装置。 An information processing device for performing processing to analyze the contents of a plurality of documents,
a document acquisition unit that acquires a plurality of documents as text data;
an occurrence frequency calculation unit that calculates an occurrence frequency of a word in the plurality of documents;
an attention degree calculation unit that calculates an attention degree of a word in the plurality of documents;
a word map generating unit that generates and outputs a word map in which each word is plotted on a two-dimensional map with the frequency of occurrence and the attention level as axes based on the frequency of occurrence and the attention level of each word;
a display unit that displays a display screen including the generated word map on a display for display ;
a related word specification unit that specifies other words that are highly related to each word in the plurality of documents;
When a predetermined operation is performed on any word in the word map on the display screen, the display unit derives a related word of the word from the display position of the word and displays the related word.
Information processing device.
複数の文書をそれぞれテキストデータとして取得する文書取得手順と、
前記複数の文書における単語の出現頻度を算出する出現頻度算出手順と、
前記複数の文書における単語の注目度を算出する注目度算出手順と、
各単語の前記出現頻度及び前記注目度に基づいて、前記出現頻度と前記注目度をそれぞれ軸として2次元マップ上に各単語をプロットしたワードマップを生成して出力するワードマップ生成手順と、
生成した前記ワードマップを含む表示画面を表示用ディスプレイに表示させる表示手順と、
前記複数の文書における各単語に対して関連度の高い他の単語を特定する関連単語特定手順とを含み、
前記表示手順は、表示画面上の前記ワードマップのいずれかの単語に対して所定操作がなされた場合、当該単語の関連単語を当該単語の表示位置から派生させて表示させる
情報処理方法。 An information processing method for performing a process of analyzing the contents of a plurality of documents by a computer, comprising the steps of:
A document acquisition step of acquiring a plurality of documents as text data;
an occurrence frequency calculation step of calculating an occurrence frequency of a word in the plurality of documents;
an attention degree calculation step of calculating an attention degree of a word in the plurality of documents;
a word map generating step of generating and outputting a word map in which each word is plotted on a two-dimensional map with the frequency of occurrence and the attention level as axes based on the frequency of occurrence and the attention level of each word;
a display step of displaying a display screen including the generated word map on a display for display ;
a related word specification step of specifying other words that are highly related to each word in the plurality of documents,
The display step includes, when a predetermined operation is performed on any word in the word map on the display screen, deriving a related word of the word from a display position of the word and displaying the related word.
Information processing methods.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022165299A JP7640104B2 (en) | 2022-10-14 | 2022-10-14 | Information processing program, information processing device, and information processing method |
| JP2025021462A JP2025065504A (en) | 2022-10-14 | 2025-02-13 | Information processing program, information processing device, and information processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022165299A JP7640104B2 (en) | 2022-10-14 | 2022-10-14 | Information processing program, information processing device, and information processing method |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2025021462A Division JP2025065504A (en) | 2022-10-14 | 2025-02-13 | Information processing program, information processing device, and information processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024058149A JP2024058149A (en) | 2024-04-25 |
| JP7640104B2 true JP7640104B2 (en) | 2025-03-05 |
Family
ID=90789782
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022165299A Active JP7640104B2 (en) | 2022-10-14 | 2022-10-14 | Information processing program, information processing device, and information processing method |
| JP2025021462A Pending JP2025065504A (en) | 2022-10-14 | 2025-02-13 | Information processing program, information processing device, and information processing method |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2025021462A Pending JP2025065504A (en) | 2022-10-14 | 2025-02-13 | Information processing program, information processing device, and information processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (2) | JP7640104B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003141132A (en) | 2001-10-30 | 2003-05-16 | Nippon Yunishisu Kk | Information processing apparatus and method |
| JP2005070864A (en) | 2003-08-27 | 2005-03-17 | Dainippon Printing Co Ltd | Information recommendation device, information recommendation method, computer, and recording medium |
| JP2012234485A (en) | 2011-05-09 | 2012-11-29 | Kyushu Univ | SEARCH METHOD, SEARCH DEVICE, AND PROGRAM |
| CN107633084A (en) | 2017-09-28 | 2018-01-26 | 武汉虹旭信息技术有限责任公司 | Based on the public sentiment managing and control system and its method from media |
-
2022
- 2022-10-14 JP JP2022165299A patent/JP7640104B2/en active Active
-
2025
- 2025-02-13 JP JP2025021462A patent/JP2025065504A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003141132A (en) | 2001-10-30 | 2003-05-16 | Nippon Yunishisu Kk | Information processing apparatus and method |
| JP2005070864A (en) | 2003-08-27 | 2005-03-17 | Dainippon Printing Co Ltd | Information recommendation device, information recommendation method, computer, and recording medium |
| JP2012234485A (en) | 2011-05-09 | 2012-11-29 | Kyushu Univ | SEARCH METHOD, SEARCH DEVICE, AND PROGRAM |
| CN107633084A (en) | 2017-09-28 | 2018-01-26 | 武汉虹旭信息技术有限责任公司 | Based on the public sentiment managing and control system and its method from media |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2025065504A (en) | 2025-04-17 |
| JP2024058149A (en) | 2024-04-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106682144A (en) | Page display method and device | |
| CN109614550A (en) | Public opinion monitoring method, device, computer equipment and storage medium | |
| JP6621514B1 (en) | Summary creation device, summary creation method, and program | |
| US10529031B2 (en) | Method and systems of implementing a ranked health-content article feed | |
| US20150242401A1 (en) | Network searching method and network searching system | |
| CN109033282B (en) | Webpage text extraction method and device based on extraction template | |
| US8412650B2 (en) | Device and method and program of text analysis based on change points of time-series signals | |
| JP7069802B2 (en) | Systems and methods for user-oriented topic selection and browsing, how to display multiple content items, programs, and computing devices. | |
| CN112328857B (en) | Product knowledge aggregation method and device, computer equipment and storage medium | |
| CN115017200B (en) | Search result sorting method, device, electronic device and storage medium | |
| US20220004885A1 (en) | Computer system and contribution calculation method | |
| JP7490241B2 (en) | Cluster analysis method, cluster analysis system, and cluster analysis program | |
| CN115374380B (en) | Method, device, computer equipment and storage medium for displaying comment content | |
| US8972242B2 (en) | Visual analysis of phrase extraction from a content stream | |
| US10860678B2 (en) | Information extraction from data | |
| CN108470289B (en) | Virtual article issuing method and equipment based on E-commerce shopping platform | |
| US20180114093A1 (en) | Data analysis system, method for controlling data analysis system, and recording medium | |
| EP2888678A1 (en) | Engagement tool for a website | |
| WO2019062013A1 (en) | Electronic apparatus, user grouping method and system, and computer-readable storage medium | |
| JP7640104B2 (en) | Information processing program, information processing device, and information processing method | |
| KR102585283B1 (en) | User interesting topic forming method automatically through social big-data analysis | |
| CN113157871B (en) | News and public opinion text processing method, server and medium using artificial intelligence | |
| JP5559750B2 (en) | Advertisement processing apparatus, information processing system, and advertisement processing method | |
| JP7124383B2 (en) | Information display device, information processing device, information display system and program | |
| CN111144122B (en) | Evaluation processing method, device, computer system and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A80 | Written request to apply exceptions to lack of novelty of invention |
Free format text: JAPANESE INTERMEDIATE CODE: A80 Effective date: 20221114 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230829 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240702 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20240827 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241029 |
|
| 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: 20250114 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250213 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7640104 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |