JPH08314976A - Method and device for retrieving document and document editing device - Google Patents

Method and device for retrieving document and document editing device

Info

Publication number
JPH08314976A
JPH08314976A JP7145377A JP14537795A JPH08314976A JP H08314976 A JPH08314976 A JP H08314976A JP 7145377 A JP7145377 A JP 7145377A JP 14537795 A JP14537795 A JP 14537795A JP H08314976 A JPH08314976 A JP H08314976A
Authority
JP
Japan
Prior art keywords
search
knowledge
item
document
file
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.)
Pending
Application number
JP7145377A
Other languages
Japanese (ja)
Inventor
Yukiko Morimoto
由起子 森本
Hisao Mase
久雄 間瀬
Hiroshi Tsuji
洋 辻
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7145377A priority Critical patent/JPH08314976A/en
Publication of JPH08314976A publication Critical patent/JPH08314976A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To reduce the operation quantity which a person inputs a retrieval instructing sentence again to the retrieval instructing sentence which is judged to the unretrievable by a machine. CONSTITUTION: A word dividing part 22 divides an inputted retrieval instructing sentence through the use of a word dictionary. A retrieving processing part 23 obtaines an item index related to the contents of the retrieval instructing sentence and a relation degree expressing the relation degree of the item index by referring to this result, retrieving knowledge and an item index list. A retrieving result judging part 24 by referring to retrieving judging knowledge judges whether the obtained relation degree meets the retrieving judging reference of retrieving judging knowledge or not, and automatically selects retrieval processing to a retrieval instructing sentence which does not meets the reference. When the retrieval instructing sentence meets the reference, a sretrieving result display part 25 displays the item index meeting the retrieving judging reference and attached information belonging to the item index on a display 3. At the time of selecting retrieving processing, a second retrieval instructing sentence preparing part 26 prepares a second retrieval instructing sentence based on the item index and the relation degree by referring to second retrieval instructing sentence preparing knowledge.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、自動文書検索に係り、
あらかじめ格納してある検索知識を用いて、あらかじめ
格納してある複数の項目見出しの中から、ユーザが入力
装置を介して入力した検索指示文の内容と関連している
項目見出しを選択する文書検索並びに該文書検索を適用
した文書編集に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to automatic document retrieval,
Document search for selecting an item heading related to the content of the search instruction sentence input by the user through the input device from among a plurality of item headings stored in advance using the search knowledge stored in advance It also relates to document editing to which the document search is applied.

【0002】[0002]

【従来の技術】現在、あらかじめ作成した知識を用い
て、テキストをあらかじめ用意した複数の項目の中から
特定の項目に分類する、あるいは特定の項目を検索する
研究が広く行われている。例えば、大量の文書データか
ら自動抽出した名詞間共起関係による文書の自動分類
(情報処理学会研究報告Vol.93,No.101,
1993)がある。一般に、ユーザが入力装置を介して
入力した検索指示文の内容と関連する項目を検索する際
には、すでに項目の内容を表すテキストから自動作成し
た検索の基準となる知識を参照し、文書中に出現する単
語の頻度情報や単語同士の共起情報を用いて、各項目と
の関連度を算出し、その関連度の高い項目を検索してい
る。
2. Description of the Related Art Currently, there is widely researched to classify a text into a specific item from a plurality of items prepared in advance or to search for a specific item by using knowledge created in advance. For example, automatic classification of documents by noun co-occurrence relations automatically extracted from a large amount of document data (IPSJ Research Report Vol. 93, No. 101,
1993). Generally, when searching for an item related to the content of the search instruction text input by the user through the input device, the knowledge that is automatically created from the text representing the content of the item is used as a reference for searching, and The degree of relevance to each item is calculated using the frequency information of the words appearing in and the co-occurrence information between the words, and the item having the high degree of relevance is searched.

【0003】[0003]

【発明が解決しようとする課題】従来の自動で検索知識
を作成し、その検索知識を用いて検索指示文の内容と関
連する項目見出しを検索する場合、100%正しく関連
する項目見出しを検索することは不可能である。そのた
め、機械が検索不可能と判断した場合、あるいは、検索
結果が得られた場合においても、人間が判断して、検索
結果から第2の検索指示文を入力して、再度検索を行う
ことが多く、人間に余計な手間をかけるといった問題が
ある。本発明の目的は、上記の課題を解決し、機械が検
索不可能と判断した検索指示文に対して、人間が再度検
索指示文を入力する作業量を軽減するような文書検索方
法および文書検索装置および該文書検索装置を適用した
文書編集装置を提供することにある。
When the conventional search knowledge is automatically created and the item knowledge related to the content of the search instruction sentence is searched using the search knowledge, the related information item is searched 100% correctly. Is impossible. Therefore, even when the machine determines that the search is impossible, or when the search result is obtained, it is possible for the person to make a determination, input the second search instruction sentence from the search result, and perform the search again. In many cases, there is the problem of putting extra effort on humans. An object of the present invention is to solve the above-mentioned problems, and for a search instruction text that a machine judges to be unsearchable, a document search method and a document search that reduce the amount of work for a human to input the search instruction text again. An object is to provide an apparatus and a document editing apparatus to which the document searching apparatus is applied.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、あらかじめ格納してある検索知識を用い
て、あらかじめ格納してある複数の項目見出しの中か
ら、ユーザが入力装置を介して入力した、ユーザが所望
する検索指示を表す1単語以上からなる自然言語で記述
された検索指示文の内容と関連している項目見出しを選
択して出力装置に表示する文書検索方法において、前記
検索指示文の内容と関連している項目見出しと、項目見
出しの関連している度合いを表す関連度を求め、該求め
られた関連度の値に応じて、予め格納された次に実行す
る処理の内容を選択する基準を記述した検索判定知識を
参照し、該検索判定知識の検索判定基準を満たすか否か
判定し、満たさなかった場合、検索指示文に対して再検
索処理を自動的に選択するようにしている。さらに、前
記検索指示文に対する再検索処理が自動的に選択された
とき、前記項目見出しおよび関連度に基づき第2の検索
指示文を作成するようにしている。さらに、前記第2の
検索指示文を、予め格納された第2の検索指示文を作成
する方法を記述した第2検索指示文作成知識を参照して
作成するようにしている。また、単語辞書、検索知識、
複数の項目見出しを格納した外部記憶装置と、ディスプ
レイと、入力装置と、処理装置を備え、ユーザが入力装
置を介して入力した検索指示文の内容と関連している項
目見出しを選択する文書検索装置において、前記外部記
憶装置に検索判定知識、第2の検索指示文を作成する方
法を記述した第2検索指示文作成知識を格納し、前記処
理装置は、ユーザが入力装置を介して入力した検索指示
文を前記単語辞書を用いて単語分割し、その単語分割結
果を出力する単語分割手段と、前記単語分割結果と検索
知識と項目見出しを参照して、前記検索指示文の内容と
関連する項目見出しと、該項目見出しの関連している度
合いを表す関連度を求める検索処理手段と、前記検索判
定知識を参照して、前記求めた関連度が前記検索判定知
識の検索判定基準を満たすか否か判定し、満たさなかっ
た検索指示文に対して、再検索処理を自動的に選択する
検索結果判定手段と、前記判定の結果、検索判定基準を
満たす場合は、検索判定基準を満たす項目見出しと、該
項目見出しがもつ付属情報を前記ディスプレイ上に表示
する検索結果表示手段と、再検索処理を選択した場合
に、前記第2の検索指示文を作成する方法を記述した第
2検索指示文作成知識を参照して、前記項目見出しおよ
び関連度に基づき第2の検索指示文を作成する第2検索
指示文作成手段を備えるようにしている。また、文書フ
ァイルを格納した外部記憶装置と、ディスプレイと、入
力装置と、処理装置を備え、ユーザが入力装置を介して
入力した文書ファイルを編集する文書編集装置におい
て、前記外部記憶装置に単語辞書、検索知識、複数の項
目見出し、検索判定知識、第2の検索指示文を作成する
方法を記述した第2検索指示文作成知識を格納し、前記
処理装置に、ユーザが入力装置を介して入力した検索指
示文を前記単語辞書を用いて単語分割し、その単語分割
結果を出力する単語分割手段と、前記単語分割結果と検
索知識と項目見出しを参照して、前記検索指示文の内容
と関連する項目見出しと、該項目見出しの関連している
度合いを表す関連度を求める検索処理手段と、前記検索
判定知識を参照して、前記求めた関連度が前記検索判定
知識の検索判定基準を満たすか否か判定し、満たさなか
った検索指示文に対して、再検索処理を自動的に選択す
る検索結果判定手段と、前記判定の結果、検索判定基準
を満たす場合は、検索判定基準を満たす項目見出しと、
該項目見出しがもつ付属情報を前記ディスプレイ上に表
示する検索結果表示手段と、再検索処理を選択した場合
に、前記第2の検索指示文を作成する方法を記述した第
2検索指示文作成知識を参照して、前記項目見出しおよ
び関連度に基づき第2の検索指示文を作成する第2検索
指示文作成手段を設け、ユーザが入力装置を介して入力
した検索指示文の内容と関連している項目見出しを選択
してディスプレイ上に表示するようにしている。
In order to achieve the above object, the present invention uses a search knowledge stored in advance to allow a user to select from a plurality of item headings stored in advance via an input device. In the document search method, the item heading related to the content of the search instruction sentence written in natural language consisting of one or more words representing the search instruction desired by the user and input is selected and displayed on the output device. An item heading that is related to the content of the search instruction, and a degree of relevance that indicates the degree of relevance of the item heading, and a process that is stored in advance and that is executed next according to the value of the obtained degree of relevance Refer to the search judgment knowledge that describes the criteria for selecting the content of, and determine whether the search determination criteria of the search determination knowledge are satisfied. If not, re-search processing is automatically performed for the search directive. Choice It has to so that. Further, when the re-search process for the search instruction text is automatically selected, the second search instruction text is created based on the item heading and the degree of association. Further, the second search instruction text is created by referring to the second search instruction text creation knowledge that describes the method of creating the second search instruction text that is stored in advance. Also, word dictionary, search knowledge,
A document search that includes an external storage device that stores a plurality of item headings, a display, an input device, and a processing device, and selects an item heading that is related to the content of the search instruction text input by the user via the input device. In the apparatus, the search determination knowledge and the second search instruction sentence creation knowledge describing the method for producing the second search instruction sentence are stored in the external storage device, and the processing device is input by the user through the input device. The search instruction is word-divided using the word dictionary, and the word division means for outputting the word division result, and the word division result, the search knowledge, and the item heading are referred to and are related to the content of the search instruction. With reference to the item heading, a search processing unit that obtains a degree of relevance that indicates the degree of association of the item heading, and the search determination knowledge, the obtained degree of association is a search determination criterion of the search determination knowledge. Search result determination means that determines whether or not the search is satisfied and automatically selects re-search processing for the search directive that is not satisfied; and if the result of the determination is that the search determination criterion is satisfied, the search determination criterion is satisfied. A second search that describes an item heading, a search result display unit that displays attached information of the item heading on the display, and a method of creating the second search directive when the re-search process is selected. A second search instruction statement creating means for creating a second search instruction statement based on the item heading and the degree of association is provided by referring to the instruction statement creation knowledge. Further, in a document editing device that includes an external storage device storing a document file, a display, an input device, and a processing device, and edits a document file input by a user via the input device, a word dictionary is stored in the external storage device. , A search knowledge, a plurality of item headings, a search determination knowledge, and a second search instruction sentence creation knowledge describing a method for creating a second search instruction sentence are stored, and the user inputs them to the processing device through an input device. The search instruction sentence is divided into words using the word dictionary, and a word dividing unit that outputs the word division result, and the word division result, the search knowledge, and the item heading are referenced to relate the contents of the search instruction sentence. The item heading to be searched, the search processing means for obtaining the degree of association indicating the degree of association of the item heading, and the search determination knowledge are referred to, and the obtained degree of association is the search determination knowledge. Search result determination means for determining whether or not the search determination criteria are satisfied, and automatically selecting re-search processing for search directives that are not satisfied, and a search result if the determination results satisfy the search determination criteria, Item headings that meet the criteria,
Search result display means for displaying attached information of the item heading on the display, and second search instruction sentence creation knowledge describing a method for producing the second search instruction statement when re-search processing is selected. Referring to, a second search instruction statement creating means for creating a second search instruction statement based on the item heading and the degree of association is provided, and related to the content of the search instruction statement input by the user via the input device. The selected item heading is displayed on the display.

【0005】[0005]

【作用】上記手段によれば、あらかじめ格納してある検
索知識を用いて、あらかじめ格納してある複数の項目見
出しの中から、ユーザが入力装置を介して入力した検索
指示文の内容と関連している項目見出しを選択する際
に、検索指示文の内容と項目見出しとの関連している度
合いを表す関連度が検索判定基準を満たさなかった検索
指示文に対しても、得られた検索結果を用いて再検索処
理を自動的に選択し、ユーザが入力装置を介して入力し
た検索指示文と検索結果から作成した第2の検索指示文
を用いて、再度検索を行うので、ユーザが所望する項目
見出しを一度で検索することが可能である。
According to the above means, the search knowledge stored in advance is used to correlate with the content of the search instruction sentence input by the user through the input device from among the plurality of item headings stored in advance. Search results obtained even for search directives in which the degree of association between the content of the search directive and the item header does not satisfy the search criterion when selecting the item header User selects a re-search process automatically using the search instruction sentence input by the user through the input device and the second search instruction sentence created from the search result. It is possible to search for item headings to be performed at once.

【0006】[0006]

【実施例】図2に本発明の一実施例のハードウェア構成
を示す。外部記憶装置1は、単語辞書、単語分割結果フ
ァイル、検索知識である検索知識ベースファイル、項目
見出し一覧が記述してあるファイル、検索結果が記述し
てあるファイル、検索判定知識が記述してあるファイ
ル、判定後の検索結果が記述してあるファイル、第2検
索指示文作成知識、及び、文書データベースが記述して
あるファイルを格納する。コンピュータ2は、ユーザが
入力装置を介して入力した、ユーザが所望する検索指示
を表す1単語以上からなる自然言語で記述された検索指
示文に対してあらかじめ定義した検索知識ベースの中か
ら関連する項目見出しを選択する、また、選択した項目
見出しとの関連度が検索判定基準に満たないと判断され
た前記検索指示文に対しては第2検索指示文作成知識に
従って再度、関連する項目見出しを選択する。ディスプ
レイ3は結果を表示し、入力装置4はユーザにより検索
指示文を入力する。
FIG. 2 shows the hardware configuration of an embodiment of the present invention. The external storage device 1 describes a word dictionary, a word division result file, a search knowledge base file that is search knowledge, a file that describes an item heading list, a file that describes search results, and a search determination knowledge. The file, the file in which the search result after the determination is described, the second search instruction sentence creation knowledge, and the file in which the document database is described are stored. The computer 2 is associated with a search instruction base defined by a user through an input device and described in a natural language consisting of one or more words representing a search instruction desired by the user, from a search knowledge base defined in advance. An item heading is selected, and for the search instruction sentence whose degree of relevance to the selected item heading is determined to be less than the search determination criterion, the related item heading is again determined according to the second search instruction sentence creation knowledge. select. The display 3 displays the result, and the input device 4 inputs the search instruction text by the user.

【0007】図1は、本発明の実施例の構成を機能ブロ
ック図で示したものである。図1において、入力装置4
を介してユーザからの検索指示文を入力する指示入力部
21、単語辞書101を入力して検索指示文を単語分割
し、抽出した単語を単語分割結果ファイル102に出力
する単語分割部22、単語分割結果ファイル102、検
索知識ベースファイル103、及び、項目見出し一覧フ
ァイル104を入力し、各項目見出しに対する関連度を
計算し、その結果を検索結果ファイル105に出力する
検索処理部23、検索結果ファイル105、及び、検索
判定知識ファイル106を入力し、検索判定条件に従っ
て検索結果の各項目見出しが検索判定基準を満たすか否
かを判定し、その結果を判定後検索結果ファイル107
に出力する検索結果判定部24、判定後検索結果ファイ
ル107、及び、文書データベースファイル109を入
力し、検索結果である項目見出し及びその付属内容であ
る項目内容をディスプレイ3に表示する検索結果表示部
25、判定後検索結果ファイル107、及び、第2検索
指示文作成知識ファイル108を入力し、判定後検索結
果ファイル107の内容に従って第2の検索指示文を生
成し、単語分割部に出力する第2検索指示文作成部2
6、項目見出しとその項目見出しに関連する内容を記述
した項目内容から構成される文書データベースファイル
109を参照し、検索知識ベースファイル103及び項
目見出し一覧ファイル104を予め作成する検索知識作
成部27は、それぞれコンピュータ2内にプログラムと
して格納されている。また、単語辞書101、単語分割
結果ファイル102、検索知識ベースファイル103、
項目見出し一覧が記述してあるファイル104、検索結
果ファイル105、検索判定知識が記述してあるファイ
ル106、判定後の検索結果が記述してあるファイル1
07、第2検索指示文作成知識が記述してあるファイル
108、及び、文書データベースファイル109は、外
部記憶装置1に格納されている。
FIG. 1 is a functional block diagram showing the configuration of an embodiment of the present invention. In FIG. 1, the input device 4
An instruction input unit 21 for inputting a search instruction sentence from a user through the user, a word dictionary 101 for inputting the search instruction sentence into words, and a word dividing unit 22 for outputting the extracted words to the word division result file 102, a word The search processing unit 23 that inputs the division result file 102, the search knowledge base file 103, and the item headline list file 104, calculates the degree of association with each item headline, and outputs the result to the search result file 105, the search result file 105 and the search determination knowledge file 106 are input, it is determined whether or not each item heading of the search result satisfies the search determination criteria according to the search determination conditions, and the result is a search result file 107 after determination.
A search result display unit for inputting the search result judgment unit 24, the post-judgment search result file 107, and the document database file 109 to be output to and displaying the item headings that are the search results and the item contents that are ancillary contents thereof on the display 3. 25, the post-judgment search result file 107 and the second search instruction sentence creation knowledge file 108 are input, a second search instruction sentence is generated according to the contents of the post-judgment search result file 107, and is output to the word division unit. 2 Search instruction sentence creation unit 2
6. The search knowledge creating unit 27 that creates the search knowledge base file 103 and the item heading list file 104 in advance by referring to the document database file 109 composed of the item contents describing the item headings and the contents related to the item headings. , Which are stored as programs in the computer 2, respectively. Also, a word dictionary 101, a word division result file 102, a search knowledge base file 103,
File 104 in which a list of item headings is described, search result file 105, file 106 in which search determination knowledge is described, file 1 in which search results after determination are described
07, the file 108 in which the second search instruction sentence creation knowledge is described, and the document database file 109 are stored in the external storage device 1.

【0008】指示入力部21は、入力装置4を介してユ
ーザからの検索指示文を入力し、その内容を単語分割部
22に出力する。単語分割部22は、単語辞書101を
入力し、検索指示文を単語分割し、抽出した単語を単語
分割結果ファイル102に出力する。単語分割処理に関
しては、すでに多くの公知例(例えば、情報処理学会第
44回全国大会講演論文集3−181、’92.3)が
あるので、ここでは説明を省略する。検索処理部23
は、単語分割結果ファイル102、検索知識ベースファ
イル103、及び、項目見出し一覧ファイル104を入
力し、各項目見出しに対する関連度を計算し、その結果
を検索結果ファイル105に出力する。検索結果判定部
24は、検索結果ファイル105、及び、検索判定知識
ファイル106を入力し、検索判定条件に従って検索結
果の各項目見出しが検索判定基準を満たすか否かを判定
し、その結果を判定後検索結果ファイル107に出力す
る。検索結果表示部25は、判定後検索結果ファイル1
07、及び、文書データベースファイル109を入力
し、検索結果である項目見出し及びその付属内容である
項目内容をディスプレイ3に表示する。第2検索指示文
作成部26は、判定後検索結果ファイル107、及び、
第2検索指示文作成知識ファイル108を入力し、判定
後検索結果ファイル107の内容に従って第2の検索指
示文を生成し、単語分割部に出力する。検索知識作成部
27は、複数の項目見出しとその各項目見出しに関連す
る内容を記述した項目内容から構成される文書データベ
ースファイル109を参照し、検索知識ベースファイル
103、及び、項目見出し一覧ファイル104を作成す
る。
The instruction input unit 21 inputs a search instruction sentence from the user via the input device 4, and outputs the content thereof to the word dividing unit 22. The word division unit 22 inputs the word dictionary 101, divides the search instruction sentence into words, and outputs the extracted words to the word division result file 102. There are already many well-known examples of word segmentation processing (for example, the 44th National Conference of Information Processing Society of Japan, 3-181, '92 .3), so the explanation is omitted here. Search processing unit 23
Inputs the word division result file 102, the search knowledge base file 103, and the item headline list file 104, calculates the degree of association with each item headline, and outputs the result to the search result file 105. The search result determination unit 24 inputs the search result file 105 and the search determination knowledge file 106, determines whether or not each item heading of the search result satisfies the search determination criterion according to the search determination condition, and determines the result. It is output to the post-search result file 107. The search result display unit 25 displays the search result file 1 after the determination.
07 and the document database file 109 are input, and the item headings that are the search results and the item contents that are the ancillary contents thereof are displayed on the display 3. The second search instruction sentence creating unit 26 determines the post-judgment search result file 107, and
The second search instruction sentence creation knowledge file 108 is input, a second search instruction sentence is generated according to the contents of the post-judgment search result file 107, and the second search instruction sentence is output to the word division unit. The search knowledge creation unit 27 refers to the document database file 109 composed of a plurality of item headings and the item contents describing the contents related to each item heading, and searches the search knowledge base file 103 and the item headline list file 104. To create.

【0009】図3に、ディスプレイ3上の一画面例1を
示す。ディスプレイ3上の画面は、表示可能領域31上
において、現在対象となっている検索指示文を入力する
領域32、判定後検索結果ファイル107を表示する領
域33、検索指示文に対する答となる項目見出しを回答
文として表示する領域34から構成される。この画面
は、未だ回答が決定していない場合の画面であり、回答
文の欄には回答が表示されていない。
FIG. 3 shows a screen example 1 on the display 3. The screen on the display 3 has, on the displayable area 31, an area 32 for inputting the current search target statement, an area 33 for displaying the post-judgment search result file 107, and an item heading that is an answer to the search target text. Is displayed as an answer sentence. This screen is a screen when the answer has not been decided yet, and the answer is not displayed in the answer sentence column.

【0010】図4に本実施例における全体処理フロー図
を示す。図4を用いて本実施例の処理を説明する。まず
最初に指示入力部21において、入力装置4を介してユ
ーザからの検索指示文を入力し、その内容を単語分割部
22に出力する(ステップ201)。次に、単語分割部
22において、単語辞書101を入力し、検索指示文を
単語分割し、抽出した単語を単語分割結果ファイル10
2に出力する(ステップ202)。次に、検索処理部2
3において、単語分割結果ファイル102、検索知識ベ
ースファイル103、及び、項目見出し一覧ファイル1
04を入力し、各項目見出しに対する関連度を計算し、
その結果を検索結果ファイル105に出力する(ステッ
プ203)。次に検索結果判定部24において、検索結
果ファイル105、検索判定知識ファイル106を入力
し、検索結果が検索判定基準を満たしているか否かを判
定し、基準を満たしたもののみを判定後検索結果ファイ
ル107に出力する(ステップ204)。次に、ステッ
プ204で検索処理が終了した場合は、検索結果表示部
25において、判定後検索結果ファイル107、及び、
文書データベースファイル109を入力し、検索指示文
の回答文として検索結果をディスプレイ3に表示する
(ステップ205)。次に、ステップ204で検索処理
が終了しなかった場合は、第2検索指示文作成部26に
おいて、判定後検索結果ファイル107、及び、第2検
索指示文作成知識ファイル108を入力し、判定後検索
結果ファイル107の内容に従って、ユーザが入力した
検索指示文と検索結果を合わせた第2の検索指示文を生
成し、ステップ202に戻る(ステップ206)。
FIG. 4 shows an overall processing flow chart in this embodiment. The processing of this embodiment will be described with reference to FIG. First, the instruction input unit 21 inputs a search instruction sentence from the user via the input device 4, and outputs the content thereof to the word dividing unit 22 (step 201). Next, the word dividing unit 22 inputs the word dictionary 101, divides the search instruction sentence into words, and extracts the extracted words from the word division result file 10.
2 (step 202). Next, the search processing unit 2
3, the word division result file 102, the search knowledge base file 103, and the item heading list file 1
Enter 04 to calculate the degree of association for each item heading,
The result is output to the search result file 105 (step 203). Next, in the search result determination unit 24, the search result file 105 and the search determination knowledge file 106 are input, it is determined whether or not the search result satisfies the search determination criterion, and only those satisfying the criterion are determined and the search result is determined. Output to the file 107 (step 204). Next, when the search processing ends in step 204, the search result display unit 25 displays the post-judgment search result file 107, and
The document database file 109 is input and the search result is displayed on the display 3 as the answer sentence of the search instruction sentence (step 205). Next, when the search processing is not completed in step 204, the second search instruction statement creating unit 26 inputs the post-judgment search result file 107 and the second search instruction statement creation knowledge file 108, and after the decision According to the contents of the search result file 107, a second search instruction sentence that combines the search instruction sentence input by the user and the search result is generated, and the process returns to step 202 (step 206).

【0011】図5は、単語辞書101のファイル構成を
示したものである。単語辞書101は、複数のレコード
1011から構成され、各レコードは、「見出し語」、
「品詞」の2つのデータ項目1012から構成されるデ
ータの一記憶単位である。例えば、図5の単語辞書10
1では、「平安時代」という「見出し語」をもつ単語の
「品詞」が「名詞」であること、「仕える」という「見
出し語」をもつ単語の「品詞」が「動詞」であること、
「随筆」という「見出し語」をもつ単語の「品詞」が
「名詞」であることを示している。この単語辞書101
はあらかじめ用意したものである。
FIG. 5 shows the file structure of the word dictionary 101. The word dictionary 101 is composed of a plurality of records 1011 and each record is a “headword”,
It is one storage unit of data composed of two data items 1012 of “part of speech”. For example, the word dictionary 10 in FIG.
In 1, the word "part of speech" with the word "headword" of "Heian period" is "noun", and the word "part of speech" with the word "headword" of "serving" is "verb".
It indicates that the word “part of speech” with the word “entry word” of “essay” is a “noun”. This word dictionary 101
Is prepared in advance.

【0012】図6は、単語分割結果ファイル102のフ
ァイル構成を示したものである。単語分割結果ファイル
102は、複数のレコード1021から構成され、各レ
コードは、「単語」、「品詞」、「出現頻度」の3つの
データ項目1022から構成されるデータの一記憶単位
である。例えば、図6の単語分割結果ファイル102で
は、ユーザが入力した検索指示文から、「平安時代」、
「宮中」、「仕える」、「随筆」、「作品」、「作者」
という「単語」を抽出し、また、「平安時代」という
「単語」の「品詞」は「名詞」であり、検索指示文中に
1回、出現したことを示している。この単語分割結果フ
ァイル102は、単語分割部22で作成されるファイル
である。
FIG. 6 shows the file structure of the word division result file 102. The word division result file 102 is composed of a plurality of records 1021, and each record is one storage unit of data composed of three data items 1022 of “word”, “part of speech”, and “appearance frequency”. For example, in the word division result file 102 shown in FIG. 6, the search instruction sentence input by the user indicates “Heian period”,
"Miyanaka", "serving", "essay", "work", "author"
Is extracted, and the "part of speech" of the "word" called "Heian period" is "noun", which means that the word appears once in the search instruction sentence. The word division result file 102 is a file created by the word division unit 22.

【0013】図7は、検索知識ベースファイル103の
ファイル構成を示したものである。検索知識ベースファ
イル103は、複数のレコード1031から構成され、
各レコードは、「項目見出し」、「キーワード」、「品
詞」、「重み」の4つのデータ項目1032から構成さ
れるデータの一記憶単位である。例えば、図7の検索知
識ベースファイル103では、「項目見出し」が「枕草
子」、「キーワード」が「平安時代」、「品詞」が「名
詞」、「重み」が「2」であることを示している。この
検索知識ベースファイル103は、あらかじめ、検索知
識作成部27で作成したものである。
FIG. 7 shows the file structure of the search knowledge base file 103. The search knowledge base file 103 is composed of a plurality of records 1031.
Each record is a storage unit of data composed of four data items 1032 of “item heading”, “keyword”, “part of speech”, and “weight”. For example, in the search knowledge base file 103 of FIG. 7, it is shown that the “item heading” is “Makurasoshi”, the “keyword” is “Heian period”, the “part of speech” is “noun”, and the “weight” is “2”. ing. The search knowledge base file 103 is created in advance by the search knowledge creating unit 27.

【0014】図8は、項目見出し一覧ファイル104の
ファイル構成を示したものである。項目見出し一覧ファ
イル104は、複数のレコード1041から構成され、
各レコードは、「項目見出し」のデータ項目1042か
ら構成されるデータの一記憶単位である。例えば、図8
の項目見出し一覧ファイル104では、「枕草子」、
「源氏物語」、「平家物語」、「清少納言」という「項
目見出し」があることを示している。この項目見出し一
覧ファイル104は、あらかじめ、検索知識作成部27
で作成したものである。
FIG. 8 shows the file structure of the item heading list file 104. The item heading list file 104 is composed of a plurality of records 1041.
Each record is one storage unit of data composed of the data item 1042 of “item heading”. For example, in FIG.
In the item heading list file 104 of
It indicates that there are "item headings" such as "The Tale of Genji", "The Story of Heike", and "Seishonagon". This item headline list file 104 is stored in advance in the search knowledge creation unit 27.
It was created in.

【0015】図9は、検索結果ファイル105のファイ
ル構成を示したものである。検索結果ファイル105
は、複数のレコード1051から構成され、各レコード
は、「検索指示文」、「項目見出し」、「関連度」のデ
ータ項目1052から構成されるデータの一記憶単位で
ある。例えば、図8の検索結果ファイル105では、
「検索指示文」が「平安時代に宮中に仕えた体験を随筆
にした作品の作者」である場合に、「項目見出し」が
「枕草子」である項目に対して「関連度」が「130」
という値で関連している、「項目見出し」が「とはずが
かり」である項目に対して「関連度」が「120」とい
う値で関連している、「項目見出し」が「紫式部日記」
である項目に対して「関連度」が「105」という値で
関連している、「項目見出し」が「土佐日記」である項
目に対して「関連度」が「80」という値で関連してい
る、ことを示している。この検索結果ファイル105
は、検索処理部23で作成されるファイルである。
FIG. 9 shows the file structure of the search result file 105. Search result file 105
Is composed of a plurality of records 1051, and each record is one storage unit of data composed of data items 1052 of “search instruction sentence”, “item heading”, and “degree of association”. For example, in the search result file 105 shown in FIG.
When the "search directive" is "the author of the work that wrote the experience of serving in the court during the Heian period", the "relevance" is "130" for the item whose "item heading" is "Makurasoshi"
"Item heading" is related with the value "Tomagariga", "relevance" is related with the value "120", "item heading" is "purple Shikibu diary"
"Relevance" is associated with the value "105" for items that are "," Relevance "is associated with the value" 80 "for items whose" Item heading "is" Tosa Diary " It indicates that This search result file 105
Is a file created by the search processing unit 23.

【0016】図10は、検索判定知識ファイル106の
ファイル構成を示したものである。検索判定知識ファイ
ル106は、複数のレコード1061から構成され、各
レコードは、「関連度の条件」、「検索結果ファイル記
述内容」、「処理内容」の3つのデータ項目1062か
ら構成されるデータの一記憶単位である。例えば、図1
0の検索判定知識ファイル106では、「関連度の条
件」の項目が「関連度の値が100以上の項目見出しが
1つ存在」である時、「記述内容」は「検索指示文、関
連度の条件を満たす項目見出し、関連度」であり、「処
理内容」は「検索結果表示、検索処理終了」であること
を示している。また、「関連度の条件」の項目が「関連
度の値が100以上の項目見出しが2つ以上存在」であ
る時、「記述内容」は「検索指示文、関連度の条件を満
たす項目見出し、関連度」であり、「処理内容」は「再
検索処理」であることを示している。また、「関連度の
条件」の項目が「関連度の値が100以下の項目見出し
が0より多く存在」である時、「記述内容」は「検索指
示文、項目見出しなし」であり、「処理内容」は「ユー
ザに詳細な検索指示文再入力を促す」ことを示してい
る。この検索判定知識ファイル106の内容は、ユーザ
による変更が可能であり、ユーザが入力装置を介して検
索判定知識ファイル106の記述内容を入力することに
より、その内容を変更できる。
FIG. 10 shows the file structure of the search judgment knowledge file 106. The search determination knowledge file 106 is composed of a plurality of records 1061, and each record is composed of three data items 1062 of “relevance condition”, “search result file description content”, and “processing content”. It is a memory unit. For example, FIG.
In the search determination knowledge file 106 of 0, when the item “relevance degree condition” is “one item heading with a degree of relevance value of 100 or more exists”, the “description content” is “search instruction sentence, relevance degree”. It indicates that "the item heading and the degree of relevance satisfying the condition (1)" and "the processing content" are "search result display and search processing end". When the item “relevance degree condition” is “two or more item headings with relevance value of 100 or more exist”, “description content” is “search instruction sentence, item heading condition relevance condition”. , Relevance ”, and“ processing content ”is“ re-search processing ”. Further, when the item of "relevance degree condition" is "more than 0 item headings with relevance value of 100 or less exist", "description content" is "search instruction sentence, no item heading", and " “Processing content” indicates “prompt the user to re-enter detailed search instruction text”. The content of the search determination knowledge file 106 can be changed by the user, and the user can change the content by inputting the description content of the search determination knowledge file 106 via the input device.

【0017】図11は、判定後検索結果ファイル107
のファイル構成を示したものである。判定後検索結果フ
ァイル107は、複数のレコード1071から構成さ
れ、各レコードは、「検索指示文」、「項目見出し」、
「関連度」の3つのデータ項目1072から構成される
データの一記憶単位である。例えば、図11の判定後検
索結果ファイル107では、「検索指示文」が「平安時
代に宮中に仕えた体験を随筆にした作品の作者」である
場合に、「項目見出し」が「枕草子」である項目に対し
て、「関連度」が「130」という値で関連している、
「項目見出し」が「とはずがかり」である項目に対し
て、「関連度」が「120」という値で関連している、
「項目見出し」が「紫式部日記」である項目に対して、
「関連度」が「105」という値で関連している、こと
を示している。検索結果ファイル105との違いは、検
索判定基準を満たさない項目見出しの記述がなくなった
ことである。この判定後検索結果ファイル107は、検
索処理部23で作成されるファイルである。
FIG. 11 shows the post-judgment search result file 107.
Shows the file structure of. The post-judgment search result file 107 is composed of a plurality of records 1071, and each record includes a “search instruction sentence”, an “item heading”,
It is a storage unit of data composed of three data items 1072 of “degree of association”. For example, in the post-judgment search result file 107 of FIG. 11, when the “search directive” is “the author of the work that wrote the experience of serving in the court during the Heian period”, the “item heading” is “Makurasoshi” "Relevance" is related to a certain item with a value of "130",
An item whose "item heading" is "Togagarakari" is associated with a value of "120" for "relevance",
For items whose "Item Heading" is "Murasaki Shikibu Diary",
The value "105" indicates that the "relevance" is related. The difference from the search result file 105 is that there is no description of item headings that do not satisfy the search determination criteria. The post-judgment search result file 107 is a file created by the search processing unit 23.

【0018】図12は、第2検索指示文作成知識ファイ
ル108のファイル構成を示したものである。第2検索
指示文作成知識ファイル108は、複数のレコード10
81から構成され、各レコードは、「再検索方法の条
件」、「検索方法」の2つのデータ項目1082から構
成されるデータの一記憶単位である。例えば、図12の
第2検索指示文作成知識ファイル108では、「再検索
方法の条件」の項目が「最も高い関連度の偏差値が70
以上」である時、「検索方法」は「最も高い関連度の値
をもつ項目見出しを第2の検索指示文とする」ことを示
している。また、「再検索方法の条件」の項目が「最も
高い関連度の偏差値が70未満」である時、「検索方
法」は「最も高い関連度の値をもつ項目見出しと、検索
知識ファイルに記述してある該当項目見出しのキーワー
ドを第2の検索指示文とする」ことを示している。この
第2検索指示文作成知識ファイル108の内容は、ユー
ザによる変更が可能であり、ユーザが入力装置を介して
第2検索指示文作成知識ファイル108の記述内容を入
力することにより、その内容を変更できる。
FIG. 12 shows the file structure of the second search instruction sentence creation knowledge file 108. The second search instruction sentence creation knowledge file 108 includes a plurality of records 10
Each record is a storage unit of data composed of two data items 1082 of “condition of re-search method” and “search method”. For example, in the second search instruction sentence creation knowledge file 108 of FIG. 12, the item “condition of re-search method” is “the deviation value of the highest degree of association is 70”.
When it is "above", the "search method" indicates that "the item heading having the highest value of the degree of association is the second search instruction sentence". Further, when the item of “condition of re-search method” is “the deviation value of the highest degree of association is less than 70”, the “search method” is set to the item heading having the value of the highest degree of association and the search knowledge file. The keyword of the described applicable item heading is used as the second search instruction sentence. " The contents of the second search instruction sentence creation knowledge file 108 can be changed by the user, and the user inputs the description contents of the second search instruction sentence creation knowledge file 108 via the input device to change the contents. Can be changed.

【0019】図13は、文書データベースファイル10
9のファイル構成を示したものである。文書データベー
スファイル109は、複数のレコード1091から構成
され、各レコードは、「項目見出し」、「項目内容」の
2つのデータ項目1092から構成されるデータの一記
憶単位である。例えば、図13の文書データベースファ
イル109では、「項目見出し」の項目が「枕草子」で
ある時、「項目内容」は「平安時代の随筆。清少納言
作。作者が宮中に仕えていた時の体験をまとめたもので
ある。」ことを示している。この文書データベースファ
イル109は、あらかじめ用意したものである。
FIG. 13 shows the document database file 10.
9 shows the file structure of No. 9. The document database file 109 is composed of a plurality of records 1091, and each record is one storage unit of data composed of two data items 1092 of “item heading” and “item content”. For example, in the document database file 109 of FIG. 13, when the item in the “item heading” is “Makurasoshi”, the “item content” is “an essay in the Heian period. It is a summary. " The document database file 109 is prepared in advance.

【0020】図14は、指示入力部21の処理フローで
ある。図14を用いて指示入力部21の処理を説明す
る。まず最初に、ユーザが入力装置4を介して検索指示
文を入力すると、その入力内容を単語分割部に出力する
(ステップ2101)。次に、検索処理部23、及び、
第2検索指示文作成部26での一連の検索が終了し、次
の検索指示文の入力を許可する信号が検索処理部23か
ら入力されるまで入力待ち状態に入る(ステップ210
2)。次に、入力許可信号を入力した場合には、ユーザ
が入力装置4を介して検索指示文を入力するまで入力待
ち状態に入る(ステップ2103)。
FIG. 14 is a processing flow of the instruction input unit 21. The processing of the instruction input unit 21 will be described with reference to FIG. First, when the user inputs a search instruction sentence via the input device 4, the input content is output to the word dividing unit (step 2101). Next, the search processing unit 23, and
The series of searches in the second search instruction sentence creating unit 26 is completed, and the input waiting state is entered until a signal permitting the input of the next search instruction sentence is input from the search processing unit 23 (step 210).
2). Next, when the input permission signal is input, the input waiting state is entered until the user inputs the search instruction text via the input device 4 (step 2103).

【0021】図15は、単語分割部22の処理フローで
ある。図15を用いて単語分割部22の処理を説明す
る。まず最初に、検索指示文、単語辞書101を入力す
る(ステップ2201)。次に、検索指示文を単語分割
し、抽出した単語を単語分割結果ファイル102に出力
する(ステップ2202)。次に、単語分割が終了した
ことを検索処理部23に出力する(ステップ220
3)。
FIG. 15 is a processing flow of the word dividing unit 22. The process of the word dividing unit 22 will be described with reference to FIG. First, the search instruction sentence and the word dictionary 101 are input (step 2201). Next, the search instruction sentence is divided into words, and the extracted words are output to the word division result file 102 (step 2202). Next, the fact that the word division is completed is output to the search processing unit 23 (step 220).
3).

【0022】図16は、検索処理部23の処理フローで
ある。図16を用いて検索処理部23の処理を説明す
る。まず最初に、単語分割結果ファイル102、検索知
識ベースファイル103、項目見出し一覧ファイル10
4を入力する(ステップ2301)。次に、項目見出し
一覧ファイルに記述されているすべての項目見出し毎
に、検索指示文との関連度を計算する。各項目見出しの
関連度の計算方法は、検索知識ベースファイル103の
該当「項目見出し」がもつ「キーワード」毎に、単語分
割結果ファイル102の「キーワード」と合致すれば、
その「キーワード」の「重み」と「出現頻度」の積の合
計を出す。そして、各項目見出しごとに算出した合計の
値の偏差値をその項目見出しの関連度とする(ステップ
2302)。次に、その算出した関連度を関連度の降順
で、検索結果ファイル105に出力する(ステップ23
03)。次に、検索処理部23での処理が終了したこと
を検索結果判定部24に出力する(ステップ230
4)。
FIG. 16 is a processing flow of the search processing section 23. The processing of the search processing unit 23 will be described with reference to FIG. First, the word division result file 102, the search knowledge base file 103, the item heading list file 10
4 is input (step 2301). Next, the degree of association with the search directive is calculated for every item heading described in the item heading list file. As for the method of calculating the degree of association of each item heading, if each “keyword” of the corresponding “item heading” of the search knowledge base file 103 matches the “keyword” of the word division result file 102,
The sum of the products of the "weight" and "appearance frequency" of the "keyword" is calculated. Then, the deviation value of the total value calculated for each item heading is set as the degree of association of the item heading (step 2302). Next, the calculated relevance is output to the search result file 105 in descending order of relevance (step 23).
03). Next, the fact that the processing in the search processing unit 23 is completed is output to the search result determination unit 24 (step 230).
4).

【0023】図17は、検索結果判定部24の処理フロ
ーである。図17を用いて検索結果判定部24の処理を
説明する。まず最初に、検索結果ファイル105と検索
判定知識ファイル106を入力する(ステップ240
1)。次に、検索の判定を行う。検索の判定方法は、検
索結果ファイル105の記述してある内容が、検索判定
知識ファイル106の「関連度の条件」を満たす場合
に、「検索結果ファイル記述内容」に従って判定後検索
結果ファイル107に記述し、「処理内容」に従って次
の処理を行う(ステップ2402)。
FIG. 17 is a processing flow of the search result judging section 24. The processing of the search result determination unit 24 will be described with reference to FIG. First, the search result file 105 and the search determination knowledge file 106 are input (step 240).
1). Next, determination of search is performed. The search determination method is as follows. When the content described in the search result file 105 satisfies the “relationship condition” of the search determination knowledge file 106, the post-judgment search result file 107 is determined according to the “search result file description content”. It is described and the following processing is performed according to the "processing content" (step 2402).

【0024】図18は、検索結果表示部25の処理フロ
ーである。図18を用いて検索結果表示部25の処理を
説明する。まず最初に、判定後検索結果ファイル107
を入力する(ステップ2501)。次に、図3のディス
プレイ3の領域32に、現在対象となっている検索指示
文を表示する(ステップ2502)。次に、領域33
に、判定後検索結果ファイル107を表示する(ステッ
プ2503)。次に、領域34に、検索指示文に対する
答となる項目見出しが1つ決定した場合に、この項目見
出しを回答文として表示する(ステップ2504)。
FIG. 18 is a processing flow of the search result display unit 25. The processing of the search result display unit 25 will be described with reference to FIG. First, the post-judgment search result file 107
Is input (step 2501). Next, the search instruction sentence currently targeted is displayed in the area 32 of the display 3 of FIG. 3 (step 2502). Next, the area 33
After that, the search result file 107 is displayed (step 2503). Next, in the area 34, when one item heading to be the answer to the search instruction sentence is determined, this item heading is displayed as the answer sentence (step 2504).

【0025】図19は、第2検索指示文作成部26の処
理フローである。図19を用いて第2検索指示文作成部
26の処理を説明する。まず最初に、判定後検索結果フ
ァイル107、第2検索指示文作成知識ファイル108
を入力する(ステップ2601)。次に、判定後検索結
果ファイル107に記述してある内容が、第2検索指示
文作成知識の「再検索方法の条件」を満たしている場合
は、その「検索方法」の内容に従って第2の検索指示文
を生成する(ステップ2602)。次に、生成した第2
の検索指示文を単語分割部21に出力する(ステップ2
603)。
FIG. 19 is a processing flow of the second search instruction sentence creating section 26. The process of the second search instruction sentence creating unit 26 will be described with reference to FIG. First, the post-judgment search result file 107 and the second search instruction sentence creation knowledge file 108
Is input (step 2601). Next, when the content described in the post-judgment search result file 107 satisfies the “condition of the re-search method” of the second search instruction sentence creation knowledge, the second content is searched according to the content of the “search method”. A search instruction sentence is generated (step 2602). Next, the second generated
Is output to the word division unit 21 (step 2
603).

【0026】図20は、検索知識作成部27の処理フロ
ーである。図20を用いて検索知識作成部27の処理を
説明する。まず最初に、文書データベースファイル10
9を入力する(ステップ2701)。次に、文書データ
ベースファイル109から項目見出しを抽出し、項目見
出し一覧ファイル104に出力する(ステップ270
2)。次に、文書データベースファイル109から項目
見出し毎に抽出したキーワード、品詞、出現頻度を検索
知識ベースファイル103に出力する(ステップ276
03)。
FIG. 20 is a processing flow of the search knowledge creating unit 27. The process of the search knowledge creating unit 27 will be described with reference to FIG. First, the document database file 10
9 is input (step 2701). Next, item headings are extracted from the document database file 109 and output to the item heading list file 104 (step 270).
2). Next, the keywords, parts of speech, and appearance frequencies extracted for each item heading from the document database file 109 are output to the search knowledge base file 103 (step 276).
03).

【0027】次に、実際に図3に示した検索指示文「平
安時代に宮中に仕えた体験を随筆にした作品の作者は
?」を入力した場合について、上記の一連の処理を説明
する。図6は、図5に示した単語辞書101を用いて、
単語分割を行った結果、出力した単語分割結果ファイル
102である。つまり、この検索指示文から、「平安時
代」、「仕える」、「随筆」等の単語を抽出したことを
示している。また、図9は、この単語分割結果ファイル
102を図7に示した検索知識ベースファイル103、
図8に示した項目見出し一覧ファイル104を用いて検
索した検索結果ファイル105である。また、図11
は、図10に示した検索判定知識ファイル106を用い
て判定した結果を示した判定後検索結果ファイル107
である。図9の検索結果ファイル105では、関連度が
100以上の項目見出しが3つ存在する。したがって、
判定後検索結果ファイル107には、検索指示文とこの
3つの項目見出しと関連度を記述し、ディスプレイ3に
検索指示文と、判定後検索結果としてこの3つの項目見
出しを表示する。回答文の欄には、回答が1つに決定し
ていないため表示をしない。さらに次の処理内容として
は、再検索処理を行う。
Next, the above-mentioned series of processing will be described for the case where the search instruction sentence shown in FIG. 3 "Who is the author of the work that wrote the experience of serving in the court during the Heian period?" FIG. 6 uses the word dictionary 101 shown in FIG.
This is the word division result file 102 output as a result of word division. That is, it indicates that words such as “Heian period”, “serving”, and “essay” have been extracted from this search instruction sentence. Further, FIG. 9 shows the word division result file 102 as the search knowledge base file 103 shown in FIG.
It is a search result file 105 searched by using the item heading list file 104 shown in FIG. In addition, FIG.
Is the post-judgment search result file 107 showing the result of judgment using the search judgment knowledge file 106 shown in FIG.
Is. In the search result file 105 of FIG. 9, there are three item headings having a degree of association of 100 or more. Therefore,
In the post-judgment search result file 107, the search instruction text, the three item headings and the degree of association are described, and the display instruction text and the three item headings are displayed as the post-judgment search results on the display 3. No answer is displayed in the answer text column because only one answer has been determined. Further, as the next processing content, re-search processing is performed.

【0028】次に、第2検索指示文作成部26では、第
2検索指示文作成知識の条件として、この3つの関連度
の偏差値の内で最も高い値が61になるので、検索方法
として、「最も高い関連度の値をもつ項目見出しとキー
ワードを第2の検索指示文とする」を選択する。従っ
て、第2の検索指示文として、「枕草子」、「平安時
代」、「仕える」、「随筆」等が第2の検索指示文とな
る。そして、この第2の検索指示文を単語分割部22に
出力する。そして、さらに検索処理部で検索した結果
を、図21の2度目の検索後の検索結果ファイルに示
す。図21の検索結果ファイルでは、関連度が100以
上の項目見出しは、「清少納言」の1つだけである。し
たがって、図22の判定後検索結果ファイルには、第2
の検索指示文とこの項目見出しと関連度を記述し、その
結果をディスプレイに表示する。今度は回答が1つに決
定しているので回答文の欄に回答を表示し、一連の検索
処理を終了する。図23は、この再帰検索を行った結果
の画面例である。
Next, in the second search instruction sentence creating section 26, as the condition of the second search instruction sentence producing knowledge, the highest value among the deviation values of these three degrees of association is 61, so the search method is , “Set item heading and keyword with highest relevance value as second search directive”. Therefore, as the second search instruction text, "Makura-soshi", "Heian period", "serving", "essay", etc. are the second search instruction texts. Then, the second search instruction sentence is output to the word dividing unit 22. The result of further search by the search processing unit is shown in the search result file after the second search in FIG. In the search result file of FIG. 21, the item heading with the degree of association of 100 or more is only one of “Seishonagon”. Therefore, the second search result file in FIG.
The search instruction sentence, the item heading, and the degree of association are described, and the result is displayed on the display. Since only one answer has been determined this time, the answer is displayed in the field of the answer sentence, and the series of search processing ends. FIG. 23 is a screen example of a result of the recursive search.

【0029】このように、本実施例によれば、あらかじ
め格納してある検索知識を用いて、あらかじめ格納して
ある複数の項目見出しの中から、ユーザが入力装置4を
介して入力した検索指示文の内容と関連している項目見
出しを選択する際に、検索指示文の内容と項目見出しと
の関連している度合いを表す関連度が検索判定基準を満
たさなかった検索指示文に対しても、得られた検索結果
を用いて再検索処理を自動的に選択し、ユーザが入力し
た検索指示文と検索結果から作成した第2の検索指示文
を用いて、再度、検索を行うので、ユーザが所望する項
目見出しを一度で検索することが可能である。
As described above, according to the present embodiment, the search instruction input by the user through the input device 4 is selected from the plurality of item headings stored in advance using the search knowledge stored in advance. When selecting an item heading that is related to the content of a sentence, even if the degree of relevance that indicates the degree of association between the content of the search heading and the item heading does not satisfy the search determination criteria, , The re-search process is automatically selected using the obtained search result, and the search is performed again using the search instruction sentence input by the user and the second search instruction sentence created from the search result. It is possible to search for the desired item heading at once.

【0030】次に、本発明の拡張例について述べる。図
24は、本拡張例である辞書の逆検索機能付き文書編集
装置の全体構成図である。図24において、入力装置4
を介してユーザが入力した文書を入力する文書入力部2
8、あらかじめ格納してある文書ファイル111、ユー
ザが入力装置4を介して入力した文書を編集し、ディス
プレイ3に表示する表示部29、ユーザが入力した入力
文に対して、単語辞書101、検索知識ベース103、
項目見出し一覧104、検索判定知識106、第2検索
指示文作成知識108、辞書データベースファイル11
0を参照し、入力文の内容に関連する項目見出しを出力
する辞書逆検索部2a、表示部29で編集した文書ファ
イルを一時記憶しておく一時記憶部2bは、コンピュー
タ2内にプログラムとして格納されている。辞書逆検索
部2aにおいては、本実施例で述べた一連の再帰検索処
理を行い、その結果を文書編集部29に出力する。ま
た、これにより、ユーザは文章で記述した意味内容に対
応する項目見出しを取得することができる。これによ
り、ユーザが文書を編集中に意味、読み方、用例を調べ
たい場合においても、検索した結果を、そのまま編集中
の文書に利用することができる。この拡張例は、特に、
文書編集装置に適用する場合に有効である。
Next, an extended example of the present invention will be described. FIG. 24 is an overall configuration diagram of a document editing apparatus with a dictionary reverse search function, which is an example of this extension. In FIG. 24, the input device 4
Document input unit 2 for inputting a document input by the user via the
8, a document file 111 stored in advance, a display unit 29 that edits a document input by the user via the input device 4 and displays it on the display 3, a word dictionary 101, a search for an input sentence input by the user Knowledge base 103,
Item headline list 104, search determination knowledge 106, second search instruction sentence creation knowledge 108, dictionary database file 11
The reverse dictionary search unit 2a that outputs an item heading related to the content of the input sentence with reference to 0, and the temporary storage unit 2b that temporarily stores the document file edited on the display unit 29 are stored in the computer 2 as a program. Has been done. The dictionary reverse search unit 2a performs the series of recursive search processing described in this embodiment, and outputs the result to the document editing unit 29. Further, this allows the user to acquire the item heading corresponding to the meaning content described in the text. Thus, even when the user wants to check the meaning, reading, and example while editing a document, the search result can be used as it is for the document being edited. This extended example
This is effective when applied to a document editing device.

【0031】[0031]

【発明の効果】本発明によれば、あらかじめ格納してあ
る検索知識を用いて、あらかじめ格納してある複数の項
目見出しの中から、ユーザが入力装置4を介して入力し
た検索指示文の内容と関連している項目見出しを選択す
る際に、検索指示文の内容と項目見出しとの関連してい
る度合いを表す関連度が検索判定基準を満たさなかった
検索指示文に対しても、得られた検索結果を用いて再検
索処理を自動的に選択し、ユーザが入力した検索指示文
と検索結果から作成した第2の検索指示文を用いて、再
度、検索を行うのため、ユーザが所望する項目見出しを
一度で検索することが可能である。
According to the present invention, the contents of the search instruction sentence input by the user via the input device 4 from the plurality of prestored item headings using the prestored search knowledge. When selecting an item heading that is related to, the degree of relevance that indicates the degree of relevance between the content of the search heading and the item heading is obtained even for a search heading that does not satisfy the search determination criteria. The user selects a re-search process automatically by using the retrieved search result, and the second search directive created by the user and the second search directive created from the search result are used to perform the search again. It is possible to search for item headings to be performed at once.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例の構成を示す機能ブロック図で
ある。
FIG. 1 is a functional block diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】本発明の一実施例のハードウェア構成を示す図
である。
FIG. 2 is a diagram showing a hardware configuration of an embodiment of the present invention.

【図3】ディスプレイ上の画面例を示す図である。FIG. 3 is a diagram showing an example of a screen on a display.

【図4】実施例における全体処理のフロー図である。FIG. 4 is a flowchart of the overall processing in the embodiment.

【図5】単語辞書のファイル構成図である。FIG. 5 is a file configuration diagram of a word dictionary.

【図6】単語分割結果ファイルのファイル構成図であ
る。
FIG. 6 is a file configuration diagram of a word division result file.

【図7】検索知識ベースファイルのファイル構成図であ
る。
FIG. 7 is a file configuration diagram of a search knowledge base file.

【図8】項目見出し一覧ファイルのファイル構成図であ
る。
FIG. 8 is a file configuration diagram of an item heading list file.

【図9】検索結果ファイルのファイル構成図である。FIG. 9 is a file configuration diagram of a search result file.

【図10】検索判定知識ファイルのファイル構成図であ
る。
FIG. 10 is a file configuration diagram of a search determination knowledge file.

【図11】判定後分類結果ファイルのファイル構成図で
ある。
FIG. 11 is a file configuration diagram of a post-judgment classification result file.

【図12】第2検索指示文作成知識ファイルのファイル
構成図である。
FIG. 12 is a file configuration diagram of a second search instruction sentence creation knowledge file.

【図13】文書データベースファイルのファイル構成図
である。
FIG. 13 is a file configuration diagram of a document database file.

【図14】指示入力部の処理フローを示す図である。FIG. 14 is a diagram showing a processing flow of an instruction input unit.

【図15】単語分割部の処理フローを示す図である。FIG. 15 is a diagram showing a processing flow of a word dividing unit.

【図16】検索処理部の処理フローを示す図である。FIG. 16 is a diagram illustrating a processing flow of a search processing unit.

【図17】検索結果判定部の処理フローを示す図であ
る。
FIG. 17 is a diagram illustrating a processing flow of a search result determination unit.

【図18】検索結果表示部の処理フローを示す図であ
る。
FIG. 18 is a diagram showing a processing flow of a search result display unit.

【図19】第2検索指示文作成部の処理フローを示す図
である。
FIG. 19 is a diagram showing a processing flow of a second search instruction sentence creating unit.

【図20】検索知識作成部の処理フローを示す図であ
る。
FIG. 20 is a diagram showing a processing flow of a search knowledge creating unit.

【図21】2度目の検索後の検索結果ファイルのファイ
ル例を示す図である。
FIG. 21 is a diagram showing a file example of a search result file after the second search.

【図22】2度目の検索後の判定後検索結果ファイルの
ファイル例を示す図である。
FIG. 22 is a diagram showing a file example of a post-judgment search result file after the second search.

【図23】ディスプレイ上の他の画面例を示す図であ
る。
FIG. 23 is a diagram showing another example of a screen on the display.

【図24】本発明の拡張例である辞書の逆検索機能付き
文書編集装置の機能ブロック図である。
FIG. 24 is a functional block diagram of a document editing device with a dictionary reverse search function that is an extension example of the present invention.

【符号の説明】[Explanation of symbols]

1 外部記憶装置 2 コンピュータ 2a 辞書逆検索部 2b 一時記憶部 3 ディスプレイ 4 入力装置 101 単語辞書 102 単語分割結果ファイル 103 検索知識ベースファイル 104 項目見出し一覧ファイル 105 検索結果ファイル 106 検索判定知識ファイル 107 判定後検索結果ファイル 108 第2検索指示文作成知識ファイル 109 文書データベースファイル 110 辞書データベース 111 文書ファイル 21 指示入力部 22 単語分割部 23 検索処理部 24 検索結果判定部 25 検索結果表示部 26 第2検索指示文作成部 27 検索知識作成部 28 入力部 29 表示部 1 External Storage Device 2 Computer 2a Reverse Dictionary Search Unit 2b Temporary Storage Unit 3 Display 4 Input Device 101 Word Dictionary 102 Word Division Result File 103 Search Knowledge Base File 104 Item Headline List File 105 Search Result File 106 Search Judgment Knowledge File 107 After Judgment Search result file 108 Second search instruction sentence creation knowledge file 109 Document database file 110 Dictionary database 111 Document file 21 Instruction input section 22 Word division section 23 Search processing section 24 Search result determination section 25 Search result display section 26 Second search instruction statement Creation unit 27 Search knowledge creation unit 28 Input unit 29 Display unit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 あらかじめ格納してある検索知識を用い
て、あらかじめ格納してある複数の項目見出しの中か
ら、ユーザが入力装置を介して入力した、ユーザが所望
する検索指示を表す1単語以上からなる自然言語で記述
された検索指示文の内容と関連している項目見出しを選
択して出力装置に表示する文書検索方法において、 前記検索指示文の内容と関連している項目見出しと、項
目見出しの関連している度合いを表す関連度を求め、 該求められた関連度の値に応じて、予め格納された次に
実行する処理の内容を選択する基準を記述した検索判定
知識を参照し、該検索判定知識の検索判定基準を満たす
か否か判定し、 満たさなかった場合、検索指示文に対して再検索処理を
自動的に選択することを特徴とする文書検索方法。
1. One or more words representing a search instruction desired by the user, which is input by the user through an input device, from a plurality of item headings stored in advance using search knowledge stored in advance. In a document search method for selecting and displaying an item heading related to the content of a search instruction written in natural language on an output device, an item heading related to the content of the search instruction and an item The degree of relevance indicating the degree of relevance of headings is obtained, and the search determination knowledge describing the criteria for selecting the content of the process to be executed next, which is stored in advance, is referred to according to the value of the obtained degree of relevance. A document search method characterized by determining whether or not a search determination criterion of the search determination knowledge is satisfied, and if not, automatically selecting a re-search process for a search instruction sentence.
【請求項2】 請求項1記載の文書検索方法において、 入力装置を介してユーザによる前記検索判定知識の記述
内容の変更入力が行なわれたとき、前記予め格納された
検索判定知識の記述内容を変更することを特徴とする文
書検索方法。
2. The document search method according to claim 1, wherein when the user inputs a change in the description content of the search determination knowledge via an input device, the description content of the search determination knowledge stored in advance is stored. A document retrieval method characterized by changing.
【請求項3】 請求項1記載の文書検索方法において、 前記検索指示文に対する再検索処理が自動的に選択され
たとき、前記項目見出しおよび関連度に基づき第2の検
索指示文を作成することを特徴とする文書検索方法。
3. The document search method according to claim 1, wherein when a re-search process for the search instruction sentence is automatically selected, a second search instruction sentence is created based on the item heading and the degree of association. A document retrieval method characterized by.
【請求項4】 請求項3記載の文書検索方法において、 前記第2の検索指示文を、予め格納された第2の検索指
示文を作成する方法を記述した第2検索指示文作成知識
を参照して作成することを特徴とする文書検索方法。
4. The document search method according to claim 3, wherein the second search instruction statement refers to second search instruction statement creation knowledge that describes a method of creating a second search instruction statement stored in advance. A document retrieval method characterized by being created by.
【請求項5】 請求項4記載の文書検索方法において、 入力装置を介してユーザによる前記第2検索指示文作成
知識の記述内容の変更入力が行なわれたとき、前記予め
格納された第2検索指示文作成知識の記述内容を変更す
ることを特徴とする文書検索方法。
5. The document search method according to claim 4, wherein when the user inputs a change in the description content of the second search instruction sentence creation knowledge through an input device, the second search stored in advance. A document retrieval method characterized by changing the description content of instruction sentence creation knowledge.
【請求項6】 単語辞書、検索知識、複数の項目見出し
を格納した外部記憶装置と、ディスプレイと、入力装置
と、処理装置を備え、ユーザが入力装置を介して入力し
た検索指示文の内容と関連している項目見出しを選択す
る文書検索装置において、 前記外部記憶装置に検索判定知識、第2の検索指示文を
作成する方法を記述した第2検索指示文作成知識を格納
し、 前記処理装置は、 ユーザが入力装置を介して入力した検索指示文を前記単
語辞書を用いて単語分割し、その単語分割結果を出力す
る単語分割手段と、 前記単語分割結果と検索知識と項目見出しを参照して、
前記検索指示文の内容と関連する項目見出しと、該項目
見出しの関連している度合いを表す関連度を求める検索
処理手段と、 前記検索判定知識を参照して、前記求めた関連度が前記
検索判定知識の検索判定基準を満たすか否か判定し、満
たさなかった検索指示文に対して、再検索処理を自動的
に選択する検索結果判定手段と、 前記判定の結果、検索判定基準を満たす場合は、検索判
定基準を満たす項目見出しと、該項目見出しがもつ付属
情報を前記ディスプレイ上に表示する検索結果表示手段
と、 再検索処理を選択した場合に、前記第2の検索指示文を
作成する方法を記述した第2検索指示文作成知識を参照
して、前記項目見出しおよび関連度に基づき第2の検索
指示文を作成する第2検索指示文作成手段を備えること
を特徴とする文書検索装置。
6. A content of a search instruction sentence input by a user via an input device, comprising a word dictionary, search knowledge, an external storage device storing a plurality of item headings, a display, an input device, and a processing device. In a document search device for selecting related item headings, the external storage device stores search determination knowledge and second search instruction sentence creation knowledge describing a method of creating a second search instruction sentence, and the processing device Refers to the word division means for dividing the search instruction sentence input by the user through the input device into words using the word dictionary and outputting the word division result, the word division result, the search knowledge, and the item heading. hand,
An item heading related to the content of the search instruction sentence, a search processing unit that obtains a degree of relevance that indicates the degree of relevance of the item heading, and the retrieval degree is referred to by the retrieval processing unit. Search result determination means for determining whether or not the search determination criterion of the determination knowledge is satisfied, and automatically selecting re-retrieval processing for the search instruction statement that is not satisfied; and the result of the determination, when the search determination criterion is satisfied Is an item heading that satisfies the search judgment criteria, a search result display means for displaying the attached information of the item heading on the display, and creates the second search instruction sentence when re-search processing is selected. A document inspection comprising a second search instruction statement creating means for creating a second search instruction statement based on the item heading and the degree of association with reference to the second search instruction statement creation knowledge describing the method. Apparatus.
【請求項7】 請求項6記載の文書検索装置において、 項目見出しと項目内容から構成される文書データベース
を設け、 前記処理装置は、該文書データベースの項目見出しと項
目内容を読み出し、前記検索知識を作成する検索知識作
成手段を備えることを特徴とする文書検索装置。
7. The document search device according to claim 6, further comprising a document database including item headings and item contents, wherein the processing device reads out the item headings and item contents of the document database to obtain the search knowledge. A document search device comprising a search knowledge creating means for creating.
【請求項8】 請求項6記載の文書検索装置において、 前記処理装置は、前記検索判定知識または第2検索指示
文作成知識の記述内容を、入力装置を介してユーザによ
り入力される変更入力にしたがって変更する手段を備え
ることを特徴とする文書検索装置。
8. The document search device according to claim 6, wherein the processing device changes the description content of the search determination knowledge or the second search instruction sentence creation knowledge into a change input input by a user via an input device. Therefore, the document retrieval apparatus is provided with a changing unit.
【請求項9】 文書ファイルを格納した外部記憶装置
と、ディスプレイと、入力装置と、処理装置を備え、ユ
ーザが入力装置を介して入力した文書ファイルを編集す
る文書編集装置において、 前記外部記憶装置に単語辞書、検索知識、複数の項目見
出し、検索判定知識、第2の検索指示文を作成する方法
を記述した第2検索指示文作成知識を格納し、 前記処理装置に、 ユーザが入力装置を介して入力した検索指示文を前記単
語辞書を用いて単語分割し、その単語分割結果を出力す
る単語分割手段と、 前記単語分割結果と検索知識と項目見出しを参照して、
前記検索指示文の内容と関連する項目見出しと、該項目
見出しの関連している度合いを表す関連度を求める検索
処理手段と、 前記検索判定知識を参照して、前記求めた関連度が前記
検索判定知識の検索判定基準を満たすか否か判定し、満
たさなかった検索指示文に対して、再検索処理を自動的
に選択する検索結果判定手段と、 前記判定の結果、検索判定基準を満たす場合は、検索判
定基準を満たす項目見出しと、該項目見出しがもつ付属
情報を前記ディスプレイ上に表示する検索結果表示手段
と、 再検索処理を選択した場合に、前記第2の検索指示文を
作成する方法を記述した第2検索指示文作成知識を参照
して、前記項目見出しおよび関連度に基づき第2の検索
指示文を作成する第2検索指示文作成手段を設け、 ユーザが入力装置を介して入力した検索指示文の内容と
関連している項目見出しを選択してディスプレイ上に表
示することを特徴とする文書編集装置。
9. A document editing apparatus, comprising an external storage device storing a document file, a display, an input device, and a processing device, for editing a document file input by a user via the input device. A word dictionary, a search knowledge, a plurality of item headings, a search determination knowledge, and a second search instruction sentence creation knowledge in which a method for creating a second search instruction sentence is described are stored in the processing device. Word division of the search instruction sentence input via the word dictionary using the word dictionary, the word division means for outputting the word division result, with reference to the word division result, search knowledge and item heading,
An item heading related to the content of the search instruction sentence, a search processing unit that obtains a degree of relevance that indicates the degree of relevance of the item heading, and the retrieval degree is referred to by the retrieval processing unit. Search result determination means for determining whether or not the search determination criterion of the determination knowledge is satisfied, and automatically selecting re-retrieval processing for the search instruction statement that is not satisfied; and the result of the determination, when the search determination criterion is satisfied Is an item heading that satisfies the search judgment criteria, a search result display means for displaying the attached information of the item heading on the display, and creates the second search instruction sentence when re-search processing is selected. A second search instruction statement creating means for creating a second search instruction statement based on the item heading and the degree of association is provided by referring to the knowledge of creating the second search instruction statement that describes the method, and the user uses the input device. A document editing apparatus, which selects an item heading related to the content of a search instruction sentence input by a user and displays it on a display.
JP7145377A 1995-05-19 1995-05-19 Method and device for retrieving document and document editing device Pending JPH08314976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7145377A JPH08314976A (en) 1995-05-19 1995-05-19 Method and device for retrieving document and document editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7145377A JPH08314976A (en) 1995-05-19 1995-05-19 Method and device for retrieving document and document editing device

Publications (1)

Publication Number Publication Date
JPH08314976A true JPH08314976A (en) 1996-11-29

Family

ID=15383834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7145377A Pending JPH08314976A (en) 1995-05-19 1995-05-19 Method and device for retrieving document and document editing device

Country Status (1)

Country Link
JP (1) JPH08314976A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022046759A (en) * 2021-06-30 2022-03-23 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Retrieval method, device, electronic apparatus and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022046759A (en) * 2021-06-30 2022-03-23 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Retrieval method, device, electronic apparatus and storage medium

Similar Documents

Publication Publication Date Title
US5523945A (en) Related information presentation method in document processing system
JP3691844B2 (en) Document processing method
US6442540B2 (en) Information retrieval apparatus and information retrieval method
US20040167875A1 (en) Information processing method and system
US7305406B2 (en) Computer aided authoring, electronic document browsing, retrieving, and subscribing and publishing
US5761666A (en) Document retrieval system
JP2005122295A (en) Relationship figure creation program, relationship figure creation method, and relationship figure generation device
JPH11110413A (en) Method and device for generating data base retrieved result
JP2000200281A (en) Device and method for information retrieval and recording medium where information retrieval program is recorded
JP3178421B2 (en) Text search device and computer-readable recording medium storing text search program
JP2003162531A (en) Document retrieval system and document retrieval method
JPH08161343A (en) Related word dictionary preparing device
JP3385913B2 (en) Related word presentation device and medium recording related word presentation program
JPH0934911A (en) Information retrieval device
JPH08314976A (en) Method and device for retrieving document and document editing device
JPH03191475A (en) Document summarizing system
JP2002288189A (en) Method and apparatus for classifying documents, and recording medium with document classification processing program recorded thereon
JPH08329108A (en) Method for converting text into hypertext
JPH07192010A (en) Document processing unit
JP3652086B2 (en) Speed reading support device
JPH09153049A (en) Method and device for supporting document classification
JPH07134720A (en) Method and device for presenting relative information in sentence preparing system
JPH09185632A (en) Method and device for retrieving/editing information
JP3627445B2 (en) Document search apparatus and storage medium storing document search program
JPH10340271A (en) Document abstract preparation device, and storage medium where document abstract generation program is recorded