JP2016133824A - Document search apparatus, document search method, and program - Google Patents
Document search apparatus, document search method, and program Download PDFInfo
- Publication number
- JP2016133824A JP2016133824A JP2015006014A JP2015006014A JP2016133824A JP 2016133824 A JP2016133824 A JP 2016133824A JP 2015006014 A JP2015006014 A JP 2015006014A JP 2015006014 A JP2015006014 A JP 2015006014A JP 2016133824 A JP2016133824 A JP 2016133824A
- Authority
- JP
- Japan
- Prior art keywords
- document
- word
- text data
- relevance
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、複数の文書から関連性の高い文書または文書情報を検索するための文書検索装置等に関するものである。 The present invention relates to a document search apparatus for searching highly relevant documents or document information from a plurality of documents.
従来より、複数の情報から所望の情報を検索するための検索エンジン(例えば、google(登録商標)等)が存在する。 Conventionally, there are search engines (for example, Google (registered trademark)) for searching for desired information from a plurality of information.
特許文献1には、ユーザが単語を入力するごとに入力単語に関連する他の単語の検索を繰り返して生成された単語空間に基づいて、入力単語間に存在する単語または単語情報を提示する検索システムが記載されている。 Patent Document 1 discloses a search that presents words or word information existing between input words based on a word space generated by repeatedly searching for other words related to the input word each time the user inputs a word. The system is described.
しかしながら上述の特許文献1に記載の技術では、ユーザに提示される検索結果が入力単語間に限定されるため、ユーザが全く予想としていない新たな情報が得られることがなかった。 However, in the technique described in Patent Document 1 described above, since the search result presented to the user is limited to the input words, new information that is not expected by the user has never been obtained.
本発明は、前述した問題点に鑑みてなされたもので、その目的とすることは、ユーザの選択した語と関連性の高い文書等を検索して、関連度合に応じた表示を行う文書検索装置等を提供するものである。 The present invention has been made in view of the above-described problems, and an object of the present invention is to search for a document or the like that is highly relevant to the word selected by the user, and to perform display according to the degree of relevance. A device or the like is provided.
前述の課題を解決するために第1の発明は、複数のテキストデータと、前記テキストデータ同士の関連度を記憶する記憶手段と、画面上に前記テキストデータの少なくとも一部を複数表示する第1の表示手段と、前記画面上の選択されたテキストデータに対して前記関連度を参照して他のテキストデータを抽出する抽出手段と、前記選択されたテキストデータ及び前記抽出手段により抽出されたテキストデータの少なくとも一部を前記画面上に表示する第2の表示手段と、を具備することを特徴とする文書検索装置である。
第1の発明によれば、ユーザによって選択された語と関連性の高い文書等を検索して得られた結果を、選択された語との関連度合に応じて表示することが可能となる。
なお、本発明においてテキストデータとは文書、文書に登場する単語、文書に関する情報(文書の著者名等)のいずれかを少なくとも含む。
In order to solve the above-described problem, a first invention is a first invention in which a plurality of text data, storage means for storing the degree of association between the text data, and a plurality of at least a part of the text data are displayed on a screen. Display means, extraction means for extracting other text data with reference to the degree of association with the selected text data on the screen, the selected text data and the text extracted by the extraction means And a second display means for displaying at least a part of the data on the screen.
According to the first invention, it is possible to display a result obtained by searching a document or the like highly related to the word selected by the user according to the degree of association with the selected word.
In the present invention, the text data includes at least one of a document, a word appearing in the document, and information related to the document (such as the author name of the document).
また、前記抽出手段は、前記関連度の高いテキストデータを所定数抽出することが望ましい。
これにより、ユーザによって選択された語と関連性の高い文書等を所定数抽出してユーザに提示することができる。従って、ユーザは検索された複数の文書等の中から所望の文書等を選択して、更なる文書検索を行うことが可能となる。
Further, it is desirable that the extraction means extracts a predetermined number of text data having a high degree of association.
As a result, a predetermined number of documents or the like highly related to the word selected by the user can be extracted and presented to the user. Therefore, the user can select a desired document from a plurality of retrieved documents and perform a further document search.
また、前記第1の表示手段及び/又は前記第2の表示手段は、前記関連度に応じて表示方式を変更することが望ましい。
これにより、表示される文書間の関連度合を視覚的にわかりやすくユーザに提示することが可能となる。
Further, it is desirable that the first display unit and / or the second display unit change a display method according to the degree of association.
As a result, the degree of association between the displayed documents can be presented to the user in a visually easy-to-understand manner.
また、前記第1の表示手段及び/又は前記第2の表示手段は、前記テキストデータの頻出度に応じて表示方式を変更することが望ましい。
これにより、表示される文書等の頻出度を視覚的にわかりやすくユーザに提示することが可能となる。
Further, it is desirable that the first display unit and / or the second display unit change a display method according to the frequency of the text data.
This makes it possible to present to the user the degree of frequent occurrence of the displayed document and the like in a visually easy-to-understand manner.
また、前記第2の表示手段は、前記抽出されたテキストデータの前記関連度をn倍して表示方式を変更することが望ましい。
これにより、選択された語と検索された文書等との関連度合を視覚的にわかりやすくユーザに提示することが可能となる。
The second display means may change the display method by multiplying the relevance of the extracted text data by n.
As a result, the degree of association between the selected word and the retrieved document or the like can be presented to the user in an easy-to-understand manner visually.
また、前記記憶手段は、前記選択されたテキストデータの履歴を記録し、前記抽出手段は、選択されたことのある全てのテキストデータに対する前記関連度を参照してテキストデータを抽出することが望ましい。
これにより、過去に選択された語の履歴を利用して、関連性の高い文書等を検索することが可能となる。これによりユーザの検索目的に近い情報を提示することが可能となる。
Preferably, the storage means records a history of the selected text data, and the extraction means extracts text data by referring to the degree of association with respect to all selected text data. .
This makes it possible to search for highly relevant documents using the history of words selected in the past. This makes it possible to present information close to the user's search purpose.
また、前記第2の表示手段は、最後に選択されたテキストデータの前記関連度をn倍して表示方式を変更することが望ましい。
これにより、ユーザの検索目的に近いと予想される、現在選択されている語との関連性の高い文書等を検索して、ユーザに提示することが可能となる。
The second display means may change the display method by multiplying the relevance of the text data selected last by n.
As a result, it is possible to search a document or the like highly relevant to the currently selected word, which is expected to be close to the user's search purpose, and present it to the user.
また、前記テキストデータ同士の前記関連度を算出する関連度算出手段を備えることが望ましい。
これにより、文書間の関連度、文書に登場する単語間の関連度、または文書と単語との関連度を算出することが可能となる。
Moreover, it is desirable to provide a relevance calculation means for calculating the relevance between the text data.
This makes it possible to calculate the degree of association between documents, the degree of association between words appearing in a document, or the degree of association between a document and a word.
第2の発明は、複数のテキストデータと、前記テキストデータ同士の関連度を記憶する記憶ステップと、画面上に前記テキストデータの少なくとも一部を複数表示する第1の表示ステップと、前記画面上の選択されたテキストデータに対して前記関連度を参照して他のテキストデータを抽出する抽出ステップと、前記選択されたテキストデータ及び前記抽出手段により抽出されたテキストデータの少なくとも一部を前記画面上に表示する第2の表示ステップと、を含むことを特徴とする文書検索方法である。
第2の発明によれば、ユーザによって選択された語と関連性の高い文書等を検索して得られた結果を、選択された語との関連度合に応じて表示することが可能となる。
The second invention includes a storage step of storing a plurality of text data, a degree of association between the text data, a first display step of displaying a plurality of at least a part of the text data on the screen, and the screen An extraction step of extracting other text data with reference to the relevance level of the selected text data, and at least a part of the selected text data and the text data extracted by the extraction means on the screen And a second display step for displaying on the document.
According to the second invention, it is possible to display a result obtained by searching a document or the like highly related to the word selected by the user according to the degree of association with the selected word.
第3の発明は、コンピュータを、複数のテキストデータと、前記テキストデータ同士の関連度を記憶する記憶手段と、画面上に前記テキストデータの少なくとも一部を複数表示する第1の表示手段と、前記画面上の選択されたテキストデータに対して前記関連度を参照して他のテキストデータを抽出する抽出手段と、前記選択されたテキストデータ及び前記抽出手段により抽出されたテキストデータの少なくとも一部を前記画面上に表示する第2の表示手段と、を具備する文書検索装置として機能させることを特徴とするプログラムである。
第3の発明によれば、ユーザによって選択された語と関連性の高い文書等を検索して得られた結果を、選択された語との関連度合に応じて表示することが可能となる。
In a third aspect of the invention, the computer includes a plurality of text data, a storage unit that stores the degree of association between the text data, a first display unit that displays a plurality of at least a part of the text data on a screen, Extraction means for extracting other text data with reference to the relevance level for the selected text data on the screen, at least a part of the selected text data and the text data extracted by the extraction means Is displayed on the screen as a document search device.
According to the third invention, it is possible to display a result obtained by searching a document or the like highly related to the word selected by the user according to the degree of association with the selected word.
本発明によって、ユーザの選択した語と関連性の高い文書等を検索して、関連度合に応じた表示を行うための文書検索装置等を提供することができる。 According to the present invention, it is possible to provide a document search device or the like for searching for a document or the like highly relevant to the word selected by the user and performing display according to the degree of association.
以下、図面に基づいて、本発明の好適な実施形態について詳細に説明する。
なお、本発明においてテキストデータとは文書、文書に登場する単語、文書に関する情報(文書の著者名等)のいずれかを少なくとも含む。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
In the present invention, the text data includes at least one of a document, a word appearing in the document, and information related to the document (such as the author name of the document).
図1は、本実施形態に係る文書検索システム200の構成例を示す図である。図1に示すように、文書検索サーバ100とユーザが利用する1または複数の端末101が、ネットワーク102を介して互いに通信接続されて構成される。
FIG. 1 is a diagram illustrating a configuration example of a document search system 200 according to the present embodiment. As shown in FIG. 1, a
文書検索サーバ100は、各種データベース(図3、図5参照)を記憶するサーバ装置である。詳細は後述する。
The
端末101は、ユーザが利用するコンピュータであり、ネットワーク102を介して文書検索サーバ100から送信される検索結果等を表示する。また、端末101は、ユーザから後述する第1画面(図10)や第2画面(図13)から語の選択を受付けて文書検索サーバ100に送信する。端末101は、汎用なコンピュータに代えて、携帯端末、モバイル端末などであっても良い。
A
なお、後述する文書検索サーバ100と端末101の機能を一体化して単一のコンピュータが文書検索システム200の機能を実現する構成としても良い。また、文書検索サーバ100の機能を単一のコンピュータ上に構築する必要は無く、ネットワーク102で接続された別々のコンピュータ上に構築しても良い。
It should be noted that the functions of the
本実施形態における文書検索システム200とは、ユーザが選択した語に対して、語と関連性の高い文書情報を検索して端末101に提示するものである。
The document search system 200 in this embodiment searches for document information that is highly relevant to a word selected by a user and presents the document information to the
図2は、本実施形態に係る文書検索サーバ100(端末101)のハードウエアの構成例を示すブロック図である。文書検索サーバ100(端末101)は、図2に示すように、例えば、制御部11、記憶部12、メディア入出力部13、通信制御部14、入力部15、表示部16、周辺機器I/F部17等が、バス18を介して接続されて構成される。
FIG. 2 is a block diagram illustrating a hardware configuration example of the document search server 100 (terminal 101) according to the present embodiment. As shown in FIG. 2, the document search server 100 (terminal 101) includes, for example, a control unit 11, a
制御部11は、CPU(Central Processing Unit)、ROM(Read Only
Memory)、RAM(Random Access Memory)等により構成される。
CPUは、記憶部12、ROM、記憶媒体等に格納されるプログラムをRAM上のワークメモリ領域に呼び出して実行し、バス18を介して接続された各装置を駆動制御し、文書検索サーバ100(端末101)が行う後述する処理を実現する。ROMは、不揮発性メモリであり、コンピュータのブートプログラムやBIOS等のプログラム、データ等を恒久的に保持する。RAMは、揮発性メモリであり、ロードしたプログラムや、データ等を一時的に保持すると共に、制御部11が各処理を行うために使用するワークエリアを備える。
The control unit 11 includes a CPU (Central Processing Unit) and a ROM (Read Only).
Memory), RAM (Random Access Memory) and the like.
The CPU calls and executes a program stored in the
記憶部12は、HDD(Hard Disk Drive)等であり、制御部11が実行するプログラムや、プログラム実行に必要なデータ、OS(Operating System)等が格納されている。これらのプログラムコードは、制御部11により必要に応じて読み出されてRAMに移され、CPUに読み出されて実行される。
The
メディア入出力部13は、例えば、CDドライブ、DVDドライブ、MOドライブ、フロッピー(登録商標)ディスクドライブ、等のメディア入出力装置であり、データの入出力を行う。
通信制御部14は、通信制御装置、通信ポート等を有し、コンピュータとネットワーク間の通信を媒介する通信インターフェースであり、ネットワークを介して、他の装置間との通信制御を行う。
The media input /
The
入力部15は、データ入力を行い、例えば、キーボード、マウスなどのポインティングデバイス、テンキーなどの入力装置を有する。入力されたデータを制御部11へ出力する。
表示部16は、例えば、CRTモニタ、液晶パネル等のディスプレイ装置と、ディスプレイ装置と連携して表示処理を実行するための論理回路(ビデオアダプタ等)で構成され、制御部11の制御により入力された表示情報をディスプレイ装置上に表示させる。
尚、入力部15と表示部16は、それらの機能が一体化した、例えば、タッチパネル付ディスプレイであっても良い。
The
The
The
周辺機器I/F部(インターフェース)17は、コンピュータに周辺機器を接続させるためのポートであり、周辺機器I/F部17を介してコンピュータは周辺機器とのデータの送受信を行う。周辺機器I/F部17は、USBやIEEE1394やRS−232C等で構成されており、通常複数の周辺機器I/Fを有する。周辺機器との接続形態は、有線、無線を問わない。
バス18は、各装置間の制御信号、データ信号等の授受を媒介する経路である。
The peripheral device I / F unit (interface) 17 is a port for connecting a peripheral device to the computer, and the computer transmits and receives data to and from the peripheral device via the peripheral device I /
The
続いて、文書検索サーバ100が新たな文書の登録を受付ける際に実行する文書登録処理について、図3と図4を用いて説明する。図3は、文書登録処理の流れを示すフローチャートである。図4は、文書DB、単語DB、文書単語頻度DBに記憶されるデータの一例を示す図である。
Next, document registration processing executed when the
文書検索サーバ100の制御部11は、入力部15等から文書の入力を受付けると(ステップS101)、新たなドキュメントID21を割り当てて、文書DBに登録する(ステップS102)。
When receiving the input of the document from the
図4(a)に文書DBの一例を示す。文書DBは、文書情報を保持するDBであり、新たな文書の登録を受付けるごとにデータが追加されるものである。文書DBには、ドキュメントID21、データ種類22、見出し23、著者24、テーマ名25、本文26等の情報が格納される。ドキュメントID21とは、文書を一意に識別する値であり、文書の登録を受付けるごとに割り当てられる。
FIG. 4A shows an example of the document DB. The document DB is a DB that holds document information, and data is added every time registration of a new document is accepted. The document DB stores information such as
本実施形態において文書とは、ニュース、テーマに関する解説文、書籍、雑誌、記事、論文、その他の書類等である。データ種類22とは、上記のような文書の種類を記憶するものである。
In the present embodiment, the document is news, commentary on the theme, books, magazines, articles, papers, other documents, and the like. The
文書検索サーバ100の制御部11は、新たに登録された文書(文書の見出し23、著者24、テーマ名25、本文26等)に対し、形態素解析を実行し(ステップS103)、重要語を抽出する(ステップS104)。形態素解析及び重要語抽出は、例えば、汎用的なソフトウエアを利用することができる。
The control unit 11 of the
文書検索サーバ100の制御部11は、抽出された重要語が単語DBに既に登録されているか否かを判定し、登録されていない場合には、新たな単語ID31を割り当てて、その表記32を単語DBに登録する(ステップS105)。
The control unit 11 of the
図4(b)に単語DBの一例を示す。単語DBは、単語情報を保持するDBであり、単語ID31と表記32を紐付けて記憶するものである。文書登録処理のステップS104にて抽出された重要語が単語DBに登録されていない場合に、新たにデータが追加される。単語ID31とは、単語を一意に識別する値であり、データが追加されるごとに割り当てられる。
FIG. 4B shows an example of the word DB. The word DB is a DB that holds word information, and stores the
文書検索サーバ100の制御部11は、新たに登録された文書内でステップS103にて抽出された重要語が出現する回数を、重要語ごとにカウントする。文書検索サーバ100の制御部11は、その文書のドキュメントID21とその重要語の単語ID32と出現回数を、文書単語頻度DBに登録して(ステップS107)、処理を終了する。
The control unit 11 of the
図4(c)に単語文書単語頻度DBの一例を示す。単語文書単語頻度DBは、ドキュメントID41の文書内に単語ID42の重要語が出現する頻度(出現頻度43)を表す値である。ドキュメントID41はドキュメントID21と紐づき、単語ID42は単語ID31と紐づく。
FIG. 4C shows an example of the word document word frequency DB. The word document word frequency DB is a value representing the frequency (appearance frequency 43) at which the important word with the
以上のように、文書検索サーバ100は、新たな文書登録を受付けると、データ種類、見出し、著者、本文等の文書情報を文書DBに登録し、文書の重要語を抽出する。文書検索サーバ100は、抽出された重要語を単語DBに登録すると共に、文書内の出現回数をカウントして、文書単語頻度DBに登録する。文書登録処理が実行されるごとに、文書単語頻度DBには抽出された重要語の数と同数のデータが新たに追加されることとなる。
As described above, when receiving a new document registration, the
次に、図5〜図8を参照して、文書検索サーバ100が、図4に示すDBを利用して、単語間の関連度、文書間の関連度、および単語文書間の関連度を算出して事前に記憶する処理について説明する。
Next, referring to FIG. 5 to FIG. 8, the
図5は、単語間関連度データ生成処理の流れを示すフローチャートである。
文書検索サーバ100の制御部11は、記憶部12に記憶される単語DB(図4(b))から単語Aと単語Bとを選択して、入力する(ステップS201)。文書検索サーバ100の制御部11は、単語Aと単語Bとの単語間関連度を算出する(ステップS202)。
FIG. 5 is a flowchart showing the flow of the inter-word relevance data generation process.
The control unit 11 of the
単語間関連度として、例えば、文書における単語Aと単語Bの共起の度合を測る尺度である相互情報量を算出する。具体的には、単語Aが出現する文書数、単語Bが出現する文書数、および単語Aと単語Bが共に出現する文書数を、文書単語頻度DB(図4(c))を用いてそれぞれカウントする。これらの値を用いて、単語Aと単語Bの相互情報量が算出される。 As the degree of association between words, for example, a mutual information amount that is a scale for measuring the degree of co-occurrence of word A and word B in a document is calculated. Specifically, the number of documents in which word A appears, the number of documents in which word B appears, and the number of documents in which both word A and word B appear are respectively used using the document word frequency DB (FIG. 4C). Count. Using these values, the mutual information amount of word A and word B is calculated.
文書検索サーバ100の制御部11は、単語Aの単語IDと単語Bの単語IDと算出した単語間関連度を、単語間関連度DBに新たに追加して(ステップS203)、処理を終了する。
The control unit 11 of the
以上のように、文書検索サーバ100は、単語DBに登録される異なる2つの単語間の関連度を算出し、単語間関連度DBに記憶する。
As described above, the
図8は、単語間関連度DB、文書間関連度DB、文書単語関連度DBに記憶されるデータの一例を示す図である。 FIG. 8 is a diagram illustrating an example of data stored in the inter-word relevance DB, the inter-document relevance DB, and the document word relevance DB.
図8の(a)に示す単語間関連度DBは、単語DBに登録される異なる単語(単語ID51と単語ID52)間の関連度53を記憶する。文書検索サーバ100が、図5に示す単語間関連度データ生成処理を実行するごとに新たなデータが単語関連度DBに追加される。
The inter-word association degree DB shown in FIG. 8A
図6は、文書間関連度データ生成処理の流れを示すフローチャートである。
文書検索サーバ100の制御部11は、記憶部12に記憶される文書DB(図4(a))から文書Aと文書Bとを選択して、入力する(ステップS301)。文書検索サーバ100の制御部11は、文書Aと文書Bとの文書間関連度を算出する(ステップS302)。
FIG. 6 is a flowchart showing the flow of inter-document relevance data generation processing.
The control unit 11 of the
ここで、文書間関連度として、例えば、文書Aと文書Bのコサイン類似度を算出する。具体的には、文書Aに出現する単語とその出現頻度、文書Bに出現する単語とその出現頻度を、文書単語頻度DB(図4(c))を用いてそれぞれ取得する。これらを用いて、文書Aと文書Bの特徴を表現する文書ベクトルAと文書ベクトルBを生成し、文書ベクトルAと文書ベクトルBに基づいてコサイン類似度を算出する。 Here, as the inter-document relevance, for example, the cosine similarity between the document A and the document B is calculated. Specifically, the word appearing in the document A and its appearance frequency, and the word appearing in the document B and its appearance frequency are respectively acquired using the document word frequency DB (FIG. 4C). Using these, a document vector A and a document vector B expressing the characteristics of the document A and the document B are generated, and a cosine similarity is calculated based on the document vector A and the document vector B.
文書検索サーバ100の制御部11は、文書Aの文書IDと文書Bの文書IDと算出した文書間関連度を、文書間関連度DBに新たに追加して(ステップS303)、処理を終了する。
The control unit 11 of the
以上のように、文書検索サーバ100は、文書DBに登録される異なる2つの文書間の関連度を算出し、文書間関連度DBに記憶する。
As described above, the
図8の(b)に示す文書間関連度DBは、文書DBに登録される異なる文書(ドキュメントID61とドキュメントID62)間の関連度63を記憶する。文書検索サーバ100が、図6に示す文書間関連度データ生成処理を実行するごとに新たなデータが単語関連度DBに追加される。
The inter-document relevance DB shown in FIG. 8B stores a
図7は、文書単語関連度データ生成処理の流れを示すフローチャートである。
文書検索サーバ100の制御部11は、記憶部12に記憶される文書DB(図4(a))から文書Aを選択し、単語DB(図4(b))から単語Bを選択して、入力する(ステップS401)。文書検索サーバ100の制御部11は、文書Aと単語Bとの文書単語関連度を算出する(ステップS402)。
FIG. 7 is a flowchart showing the flow of document word relevance data generation processing.
The control unit 11 of the
ここで、文書単語関連度として、例えば、文書Aと単語Bのコサイン類似度を算出する。具体的には、文書Aにおける単語Bの出現頻度を文書単語頻度DB(図4(c))を用いて取得して、文書Aの文書ベクトルを生成し、文書Aと単語Bのコサイン類似度を算出する。 Here, as the document word relevance, for example, the cosine similarity between the document A and the word B is calculated. Specifically, the appearance frequency of the word B in the document A is acquired using the document word frequency DB (FIG. 4C), the document vector of the document A is generated, and the cosine similarity between the document A and the word B is generated. Is calculated.
文書検索サーバ100の制御部11は、文書Aの文書IDと単語Bの単語IDと算出した文書単語関連度を、文書単語関連度DBに新たに追加して(ステップS403)、処理を終了する。
The control unit 11 of the
以上のように、文書検索サーバ100は、文書DBに登録される文書と単語DBに登録される単語との関連度を算出し、文書単語関連度DBに記憶する。
As described above, the
図8の(c)に示す文書単語関連度DBは、文書DBに登録される文書(ドキュメントID71)と単語DBに登録される単語(単語DB72)との関連度73を記憶する。文書検索サーバ100が、図7に示す文書単語関連度データ生成処理を実行するごとに新たなデータが単語関連度DBに追加される。
The document word relevance DB shown in FIG. 8C stores a
次に、図9〜図14を用いて、文書検索システム200が実行する文書検索処理について説明する。文書検索サーバ100は図2の文書登録処理、図5〜図7の関連度データ生成処理を実行して、文書検索サーバ100の記憶部12には予め図4に示すDBおよび図8に示すDBが記憶されているものとする。
Next, a document search process executed by the document search system 200 will be described with reference to FIGS. The
端末101に表示された遷移前の画面において、端末101はユーザから語の選択を受付けて、文書検索サーバ100は選択された語と関連性の高い文書および単語を検索して、端末101に検索結果を送信する。検索結果が表示された遷移後の画面において、端末101はユーザから新たに語の選択を受付けて、文書検索サーバ100は選択された語と関連性の高い文書および単語を再び検索する。以上のように、文書検索処理とは、繰り返し実行される処理である。
In the pre-transition screen displayed on the terminal 101, the terminal 101 accepts a word selection from the user, and the
図9は、文書検索処理の流れを示すフローチャートである。
文書検索サーバ100の制御部11は、語が配置された検索キーを表示する第1画面(遷移前の画面)を端末101に送信し、端末101の制御部11は、表示部16に受信した第1画面を表示する(ステップS501)。
FIG. 9 is a flowchart showing the flow of document search processing.
The control unit 11 of the
図10は、第1画面80の画面例を示す図である。図示されるように第1画面80には、語が配置された複数の検索ボタン81a、81b、81c、81dが表示される。検索ボタン81に配置される語とは、単語の表記、文書の著者等である。初期画面において表示する語の選択は、文書検索システム200を利用するユーザの傾向に合わせて、文書検索サーバ100によって適宜行われるものであって良い。
FIG. 10 is a diagram illustrating a screen example of the first screen 80. As shown in the figure, the first screen 80 displays a plurality of
検索ボタン81の大きさは、語と紐付く単語または文書の出現回数や重要度を表すものであり、文書検索サーバ100は文書単語頻度DBを用いて検索ボタン81の大きさを算出することができる。これにより、ユーザは表示された語が示す文書等の頻出度又は重要度を一目で認識することができる。また、検索ボタン81に配置された語が単語と文書のどちらに紐付くのかに応じて、検索ボタン81の色彩や形状等を変更しても良い。
The size of the search button 81 represents the number of occurrences and the importance of a word or document associated with a word, and the
第1画面80において、ユーザによって検索ボタン81が選択されると、選択された検索ボタン81に配置された語(以下、選択語と表記)と関連性の高い単語または文書が文書検索サーバ100によって検索され、それらを示す語を配置した検索ボタンを表示する第2画面(図13)に遷移する。
When the search button 81 is selected by the user on the first screen 80, a word or document highly related to a word (hereinafter referred to as a selected word) arranged on the selected search button 81 is displayed by the
図9の説明に戻る。端末101の制御部11は、語の選択を検知したか否かを判定する(ステップS502)。語の選択を検知しない場合には(ステップS502のNO)、端末101の制御部11は、ステップS502に戻る。 Returning to the description of FIG. The control unit 11 of the terminal 101 determines whether or not the selection of a word has been detected (step S502). When the selection of the word is not detected (NO in step S502), the control unit 11 of the terminal 101 returns to step S502.
語の選択を検知した場合には(ステップS502のYES)、端末101の制御部11は、選択語を文書検索サーバ100に送信し、文書検索サーバ100の制御部11は、受信した選択語を検索の履歴として配列に格納し、記憶部12または制御部11のRAMに記憶する(ステップS503)。
When the selection of a word is detected (YES in step S502), the control unit 11 of the terminal 101 transmits the selected word to the
図11は、履歴を保持する配列78の例を示す図である。図11に示すように、配列78にはユーザによって以前に選択された語(以下、履歴語と表記)が格納されている。文書検索サーバ1は、新たに受信した選択語を配列78の先頭に格納することによって、履歴語と区別して記憶することがきる。 FIG. 11 is a diagram illustrating an example of the array 78 that holds the history. As shown in FIG. 11, the array 78 stores words previously selected by the user (hereinafter referred to as history words). The document search server 1 can store the newly received selected word at the beginning of the array 78 to distinguish it from the history word.
文書検索サーバ100の制御部11は、配列から語を抽出し(ステップS504)、抽出された語に関連する単語および文書を検索して、関連度を取得する(ステップS505)。
The control unit 11 of the
具体的には、文書検索サーバ100は、配列から抽出された語(以下、抽出語と表記)が、単語に関する語であるのか、文書に関する語であるのかを判定する。単語に関する語である場合には、文書検索サーバ100は、単語間関連度DBを用いて、抽出語との関連度が高い上位N件(Nは任意の自然数)の単語を検索しその関連度を取得する。また、文書単語関連度DBを用いて、抽出語との関連度の高い上位N件の文書を検索しその関連度を取得する。
Specifically, the
同様にして、抽出語が文書に関する語である場合には、文書検索サーバ100は文書間関連度DBおよび文書単語関連度DBを用いて、抽出語との関連度の高い上位N件の文書と上位N件の単語を検索して、その関連度を取得する。
Similarly, when the extracted word is a word related to a document, the
文書検索サーバ100の制御部11は、抽出語が選択語であるか否かを判定し(ステップS506)、選択語である場合には(ステップS506のYES)、文書検索サーバ100の制御部11は、取得した関連度をn倍(nは任意の値)して検索した文書または単語のスコアとする(ステップS507)。
The control unit 11 of the
選択語は現在選択されている語であるため、配列の他の語(履歴語)よりユーザの検索目的に近い語であると考えられる。そのため、選択語と関連性の高い単語および文書をユーザに提示できるように、選択語と関連性の高い単語および文書の関連度に重み付けして、スコアを算出するものである。 Since the selected word is the currently selected word, it is considered that the selected word is closer to the user's search purpose than other words (history words) in the array. Therefore, the score is calculated by weighting the degree of association between the word and the document highly related to the selected word and the document so that the word and the document highly related to the selected word can be presented to the user.
選択語でない場合には(ステップS506のNO)、文書検索サーバ100の制御部11は、取得した関連度をそのまま検索した文書または単語のスコアとする(ステップS507)。
If it is not the selected word (NO in step S506), the control unit 11 of the
文書検索サーバ100の制御部11は、配列に次の語があるか否かを判定する(ステップS509)。次の語がある場合には(ステップS509のYES)、文書検索サーバ100の制御部11は、ステップS504に戻る。即ち、ステップS504〜ステップS508の処理は、配列に格納された語の数だけ繰り返し実行される。文書検索サーバ100は、配列に格納された語それぞれに対して、関連度の高い文書または単語を検索して、そのスコアを取得する。
The control unit 11 of the
次の語が無い場合には(ステップS509のNO)、文書検索サーバ100の制御部11は、スコアに基づき遷移後の画面情報(文書のスコアリスト、単語のスコアリスト等)を生成して端末101に送信し、端末101の制御部11は、受信した情報に基づいて表示部16に遷移後の画面(第2画面)を表示する(ステップS510)。端末101の制御部11は、ステップS502に戻り、第2画面において再び語の選択を受付ける。
If there is no next word (NO in step S509), the control unit 11 of the
ステップS510にて文書検索サーバ100が端末101に送信するスコアリストについて説明する。図12は、単語のスコアリストの一例を示す図である。図12に示すように、単語のスコアリストには関連度の高い単語(関連語)とそのスコアが格納される。同様に文書のスコアリスト(図示せず)には関連度の高い文書とそのスコアが格納される。
A score list transmitted from the
文書検索サーバ100は、配列に格納された各語に対して検索した単語または文書のスコアをマージ処理して、単語または文書のスコアリストを生成する。即ち、文書検索サーバ100は、現在選択されている選択語と関連性の高い単語または文書だけでなくて、履歴語と関連性の高い単語または文書も合わせてスコアリストを生成することとなる。
The
従って、ユーザが過去に選択した語の履歴を利用して、関連する文書または単語を表示することが可能となり、ユーザの検索の目的により近い検索結果を提示することができる。またこれにより、ユーザに対し新たな発想を提案できるといった効果も期待できる。 Therefore, it is possible to display related documents or words using the history of words selected by the user in the past, and to present search results closer to the purpose of the user's search. Moreover, the effect that a new idea can be proposed with respect to a user by this is also expectable.
図13は、第2画面82の画面例である。図示される第2画面82は、図10に示す第1画面80にて「微生物(81a)」がユーザによって選択された場合に、表示される遷移後の画面例を示すものである。第2画面82は2つの領域(左ペイン83と右ペイン84)に分かれる。左ペイン83には第1画面80と同様に、語が配置された複数の検索ボタン86a、86b、86c、86eが表示される。直近の選択語である「微生物(86a)」と関連性(スコア)の高い「水道光熱費(86b)」、「省エネ(86c)」は画面に残るが、関連性(スコア)の低い「ヘルスケア(86d)」は画面からフェードアウトし、関連性(スコア)の高い新たな語として「△△事業部(86e)」がフェードインする。
FIG. 13 is a screen example of the second screen 82. The illustrated second screen 82 shows a screen example after the transition that is displayed when “microorganism (81a)” is selected by the user on the first screen 80 shown in FIG. The second screen 82 is divided into two areas (left
選択語の検索ボタン86aとその他の検索ボタン86b、86c、86eとの距離は、スコアの値を反映するものである。図示される例では、「水道光熱費(86b)」、「省エネ(86c)」、「△△事業部(86e)」のスコアの値はそれぞれ「0.9」、「0.3」、「0.8」であり、これらに応じて左ペイン83に配置される検索ボタン86の位置が決定される。これにより、ユーザは選択語と検索ボタン86に表示される語との関連性を一目で認識することができる。
The distance between the
左ペイン83に表示される語が示す単語または文書は、単語または文書のスコアリストに基づいて、端末101または文書検索サーバ100によって適宜選択されるものである。
The word or document indicated by the word displayed in the
第2画面82において、ユーザによって検索ボタン86が選択されると、選択された検索ボタン86に配置された語と関連性の高い単語または文書が文書検索サーバ100によって再び検索され、それらを示す語を配置した検索ボタンを表示する画面に遷移する。従って語が選択されるごとに画面が遷移して、表示される検索ボタン86が入れ替わることとなる。
When the user selects the search button 86 on the second screen 82, the
右ペイン84には、文書検索サーバ100から受信した文書のスコアリストに従って、関連性(スコア)の高い文書の見出しまたはテーマ名88a、88b、88c、88d、88eが表示される。図示されるように文書のデータ種類によって、文書の表示領域の特定部位または背景を色分けしても良い。また、右ペイン84には、ネットワーク102を介して検索された選択語に関連するインターネット上のニュース等を表示しても良い。
In the
右ペイン84に表示される文書88のいずれかがユーザによって選択されると、端末101の制御部11は、文書検索サーバ100にアクセスして、選択された文書の詳細情報(文書DBに保持する情報)を配置する選択画面を表示部16に出力する。
When one of the documents 88 displayed in the
図14は選択画面90の画面例である。図14に示す様に、選択画面90には、選択された文書の詳細情報91と戻るボタン92とが配置される。戻るボタン92がユーザによって選択されると、第2画面82に戻る。これにより、ユーザに対し検索された関連性の高い文書の詳細な情報を提示することができる。
FIG. 14 is a screen example of the selection screen 90. As shown in FIG. 14,
以上のように、文書検索システム200は、端末101に表示された単語または文書を示す語の選択を受付けると、文書検索サーバ100は選択語を配列に格納し、配列に格納される語(選択語または履歴語)を抽出して、抽出語と関連度の高い単語または文書を単語間関連度DBまたは文書間関連度DB、および文書単語関連度DBから検索してその関連度を取得する。抽出語が選択語の場合には取得した関連度に重み付けして単語または文書のスコアとし、抽出語が履歴語の場合には取得した関連度をそのまま単語または文書のスコアとして、配列に格納される全ての語に対して取得した単語または文書のスコアをマージ処理して、単語または文書のスコアリストを作成する。端末101は単語または文書のスコアリストに基づいて選択語と、スコアリストの単語または文書を示す語との距離をそのスコアに基づいて配置して表示部16に出力する。
As described above, when the document search system 200 accepts selection of a word displayed on the terminal 101 or a word indicating a document, the
これにより、複数の文書から関連性の高い文書または単語を検索して、検索された文書または単語に対して関連性の指標であるスコアを算出し、選択語との関連性を距離によって表現して検索された語を表示する。またスコアは直近の選択語との関連度に加えて、過去にユーザによって選択された語の履歴との関連度を利用して算出される。従って、ユーザの検索目的により近い語を提示できるといった効果が得られる。 As a result, a highly relevant document or word is searched from a plurality of documents, a score that is an index of relevance is calculated for the searched document or word, and the relevance to the selected word is expressed by distance. Displays the searched word. The score is calculated using the degree of association with the history of the word selected by the user in the past in addition to the degree of association with the most recently selected word. Therefore, an effect that words closer to the user's search purpose can be presented is obtained.
本実施形態の文書検索システム200は、例えば、会社内のコミュニケーションツールとして活用することができる。例えば、会社内外のニュースや、会社内の開発テーマ等の出所の異なる複数種類の文書を目的に応じて多角的に検索して、ユーザに関連性の高い文書または単語を視覚的にわかりやすく提示することができる。ユーザは提示された検索結果が表示された画面を介してタッチパネル操作等により簡便に更に検索作業を続けることが可能である。 The document search system 200 of this embodiment can be used as, for example, a communication tool in a company. For example, multiple types of documents with different sources, such as news inside and outside the company and development themes within the company, can be searched from various perspectives according to the purpose, and highly relevant documents or words are presented to the user in an easy-to-understand manner. can do. The user can continue the search operation more easily by touch panel operation or the like via the screen on which the presented search results are displayed.
以上、添付図面を参照しながら、本発明に係る文書検索システム200等の好適な実施形態について説明したが、本発明はかかる例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例又は修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される The preferred embodiments of the document search system 200 and the like according to the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to such examples. It will be apparent to those skilled in the art that various changes or modifications can be conceived within the scope of the technical idea disclosed in the present application, and these naturally belong to the technical scope of the present invention. Understood
100………文書検索サーバ
101………端末
102………ネットワーク
200………文書検索システム
11………制御部
12………記憶部
13………メディア入出力部
14………通信制御部
15………入力部
16………表示部
17………周辺機器I/F部
80………第1画面
82………第2画面
90………選択画面
DESCRIPTION OF
Claims (10)
画面上に前記テキストデータの少なくとも一部を複数表示する第1の表示手段と、
前記画面上の選択されたテキストデータに対して前記関連度を参照して他のテキストデータを抽出する抽出手段と、
前記選択されたテキストデータ及び前記抽出手段により抽出されたテキストデータの少なくとも一部を前記画面上に表示する第2の表示手段と、
を具備することを特徴とする文書検索装置。 Storage means for storing a plurality of text data and a degree of association between the text data;
First display means for displaying a plurality of at least a part of the text data on a screen;
Extracting means for extracting other text data with reference to the relevance level for the selected text data on the screen;
Second display means for displaying at least a part of the selected text data and the text data extracted by the extraction means on the screen;
A document retrieval apparatus comprising:
前記抽出手段は、選択されたことのある全てのテキストデータに対する前記関連度を参照してテキストデータを抽出することを特徴とする請求項1乃至請求項5のいずれかに記載の文書検索装置。 The storage means records a history of the selected text data,
6. The document search apparatus according to claim 1, wherein the extraction unit extracts text data with reference to the degree of association with respect to all selected text data.
画面上に前記テキストデータの少なくとも一部を複数表示する第1の表示ステップと、
前記画面上の選択されたテキストデータに対して前記関連度を参照して他のテキストデータを抽出する抽出ステップと、
前記選択されたテキストデータ及び前記抽出手段により抽出されたテキストデータの少なくとも一部を前記画面上に表示する第2の表示ステップと、
を含むことを特徴とする文書検索方法。 A storage step of storing a plurality of text data and a degree of association between the text data;
A first display step of displaying a plurality of at least a part of the text data on a screen;
An extraction step of extracting other text data with reference to the relevance level for the selected text data on the screen;
A second display step for displaying on the screen at least a part of the selected text data and the text data extracted by the extracting means;
A document retrieval method comprising:
複数のテキストデータと、前記テキストデータ同士の関連度を記憶する記憶手段と、
画面上に前記テキストデータの少なくとも一部を複数表示する第1の表示手段と、
前記画面上の選択されたテキストデータに対して前記関連度を参照して他のテキストデータを抽出する抽出手段と、
前記選択されたテキストデータ及び前記抽出手段により抽出されたテキストデータの少なくとも一部を前記画面上に表示する第2の表示手段と、
を具備する文書検索装置として機能させることを特徴とするプログラム。
Computer
Storage means for storing a plurality of text data and a degree of association between the text data;
First display means for displaying a plurality of at least a part of the text data on a screen;
Extracting means for extracting other text data with reference to the relevance level for the selected text data on the screen;
Second display means for displaying at least a part of the selected text data and the text data extracted by the extraction means on the screen;
A program that functions as a document search apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015006014A JP6524668B2 (en) | 2015-01-15 | 2015-01-15 | Document retrieval apparatus, document retrieval method, program, |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015006014A JP6524668B2 (en) | 2015-01-15 | 2015-01-15 | Document retrieval apparatus, document retrieval method, program, |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016133824A true JP2016133824A (en) | 2016-07-25 |
JP6524668B2 JP6524668B2 (en) | 2019-06-05 |
Family
ID=56426266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015006014A Active JP6524668B2 (en) | 2015-01-15 | 2015-01-15 | Document retrieval apparatus, document retrieval method, program, |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6524668B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897994A (en) * | 2020-07-15 | 2020-11-06 | 腾讯音乐娱乐科技(深圳)有限公司 | Search method, search device, server and computer-readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004287827A (en) * | 2003-03-20 | 2004-10-14 | Fuji Xerox Co Ltd | Search system, program and presentation method of search condition alternative |
WO2008056570A1 (en) * | 2006-11-09 | 2008-05-15 | Panasonic Corporation | Content search apparatus |
-
2015
- 2015-01-15 JP JP2015006014A patent/JP6524668B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004287827A (en) * | 2003-03-20 | 2004-10-14 | Fuji Xerox Co Ltd | Search system, program and presentation method of search condition alternative |
WO2008056570A1 (en) * | 2006-11-09 | 2008-05-15 | Panasonic Corporation | Content search apparatus |
Non-Patent Citations (1)
Title |
---|
渡部 勇, 三末 和男: "単語の連想関係によるテキストマイニング", 情報処理学会研究報告 VOL.99 NO.57 IPSJ SIG NOTES, JPN6018042402, 16 July 1999 (1999-07-16), JP, pages 57 - 64, ISSN: 0003908340 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897994A (en) * | 2020-07-15 | 2020-11-06 | 腾讯音乐娱乐科技(深圳)有限公司 | Search method, search device, server and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP6524668B2 (en) | 2019-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1881428A1 (en) | Searching for documents using relevance feedback | |
US20120047454A1 (en) | Dynamic Soft Input | |
JP6390139B2 (en) | Document search device, document search method, program, and document search system | |
CN101802765B (en) | Method, and apparatus for facilitating object selection on display screen | |
CN103377288A (en) | Mathematical expression input apparatus and mathematical expression modificaltion method | |
JP5619979B2 (en) | Electronic device including a mind map user interface, and a mind map creation method using the same | |
JP2013228883A (en) | Translation support device, translation support system, and program therefor | |
CN104380286A (en) | Index generating program and search program | |
JP2012098891A (en) | Information processing system and information processing method | |
JP6667452B2 (en) | Method and apparatus for inputting text information | |
JP2016133824A (en) | Document search apparatus, document search method, and program | |
JP5661449B2 (en) | File name creation device | |
JP2019148859A (en) | Device and method supporting discovery of design pattern in model development environment using flow diagram | |
JP2009294723A (en) | Search result display method, search device and computer program | |
JP5541014B2 (en) | Book information search device, book information search system, book information search method and program | |
JP4487614B2 (en) | Information display control device and program | |
JP2018156552A (en) | Computer system and method for searching text data | |
JP5870815B2 (en) | Book information search device, book information search system, book information search method and program | |
JP4956298B2 (en) | Dictionary construction support device | |
JP2013175136A (en) | Tracing support device, tracing support system, tracing support method, and tracing support program | |
KR102356788B1 (en) | Method and Apparatus for Searching Keyword Using Keypad | |
US20230419014A1 (en) | Font recommendation | |
JP5593527B2 (en) | Headline creation device and headline creation program | |
JP5861382B2 (en) | Input support program, input support apparatus, and input support method | |
JP2004341770A (en) | Data management system and data management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20171129 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181019 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181030 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181218 |
|
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: 20190409 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190422 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6524668 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |