JPH11232297A - Information retrieving method, information retrieving device and storage medium in which information retrieving program is stored - Google Patents

Information retrieving method, information retrieving device and storage medium in which information retrieving program is stored

Info

Publication number
JPH11232297A
JPH11232297A JP10035630A JP3563098A JPH11232297A JP H11232297 A JPH11232297 A JP H11232297A JP 10035630 A JP10035630 A JP 10035630A JP 3563098 A JP3563098 A JP 3563098A JP H11232297 A JPH11232297 A JP H11232297A
Authority
JP
Japan
Prior art keywords
work memory
rule
event
rules
fact
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
JP10035630A
Other languages
Japanese (ja)
Inventor
Yoshihiro Seki
良博 関
Shigeto Iwase
成人 岩瀬
Yoshiharu Tobe
美春 戸部
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP10035630A priority Critical patent/JPH11232297A/en
Publication of JPH11232297A publication Critical patent/JPH11232297A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently decide a proper field especially when an object of user's interest is extended to plural fields and when user's intention related to fields with wide range is inputted in information retrieval which is categorized into the fields. SOLUTION: A fact and a question are generated about an inputted event and set in a work memory 28 by using event knowledge 31 formed by collecting knowledge about the event corresponding to the user's intention and a set 32 of rules formed by collecting rules to be expressed by a conditional part and an action part. When the rule whose conditional part is established by the generated fact exist in the set 32 of rules, the rule is extracted and executed. The fact obtained by execution is set in the work memory 28. In addition, a user is inquired about the generated question again, input is prompted, the fact is generated from an input result and set in the work memory 28. When no question and rule exist in the work memory 28, the fact to express the field to be served is extracted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は,分野にカテゴライ
ズされた情報を検索する技術に関し,特に,興味対象が
複数分野にわたる場合や,広い範囲の分野に関連するよ
うなユーザの意図が入力された場合に,効率よく適切な
分野を決定する情報検索方法,情報検索装置および情報
検索プログラムを格納した記憶媒体に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for retrieving information categorized into fields, and particularly to a case where an object of interest covers a plurality of fields or a user's intention related to a wide range of fields is input. More particularly, the present invention relates to an information search method, an information search device, and a storage medium storing an information search program for efficiently determining an appropriate field.

【0002】[0002]

【従来の技術】不特定多数の利用者が,イエローページ
サービスにおいて目的とする分野の情報(以下,サービ
スと呼ぶ)を容易に入手可能とする方法として,自然語
による情報検索方法がある。本方法に関して,ユーザの
自然語による入力から,形態素解析,意味解析,意図理
解を行うことによって,“商品+動詞”のキーワードを
取り出し,それをサービスへとマッピングする分野推論
方式がある。
2. Description of the Related Art An information search method using a natural language is a method by which an unspecified number of users can easily obtain information on a target field (hereinafter referred to as a service) in a yellow page service. For this method, there is a field inference method in which a keyword of "product + verb" is extracted by performing morphological analysis, semantic analysis, and intent understanding from a user's input in a natural language, and mapping the keyword to a service.

【0003】図5に従来の分野推論方式システムにおけ
るサービスマッピング部の構成図を示す。入力部11か
らはサービスマッピング部12に対して分野名が入力さ
れる。サービスマッピング部12は,分野・サービス対
応テーブル14と分野・サービスマッチング手段13を
備え,分野・サービスマッチング手段13において,分
野・サービス対応テーブル14を用いることによって,
分野に応じたサービスを導き出し,それを出力部15へ
と出力する。これによって,分野に対応するサービスを
導き出す。
FIG. 5 shows a configuration diagram of a service mapping unit in a conventional field inference system. The field name is input from the input unit 11 to the service mapping unit 12. The service mapping unit 12 includes a field / service correspondence table 14 and a field / service matching means 13, and the field / service matching means 13 uses the field / service correspondence table 14.
The service corresponding to the field is derived and output to the output unit 15. In this way, services corresponding to the field can be derived.

【0004】この分野推論方式では,例えば“酒が飲み
たい”という入力に対して“居酒屋”を推論して,その
結果を直接利用者に案内する1インタラクション方式を
採用していた。
In this field inference method, for example, a one-interaction method of inferring "Izakaya" in response to an input of "want to drink" and guiding the result directly to the user has been adopted.

【0005】[0005]

【発明が解決しようとする課題】上述したように,推論
された分野をサービスへとマッピングする際,従来の分
野推論方式におけるサービスマッピング部12において
は,分野・サービス対応テーブル14を用いることによ
ってサービスの案内内容を固定的に決定した。その結
果,興味対象が複数分野にわたったり,あるいは,例え
ば旅行の場合で,旅行が複数日にわたるときだけ宿泊が
必要であるといったように,観点・場合によって案内範
囲が異なるようなユーザの意図(以下,イベントと呼
ぶ)などの処理が困難であった。
As described above, when mapping an inferred field to a service, the service mapping unit 12 in the conventional field inference method uses the field / service correspondence table 14 to provide a service. Is fixedly decided. As a result, the user's intention (for example, in the case where the object of interest spans multiple fields, or where the guidance range is different depending on the viewpoint / case, such as in the case of travel, where accommodation is required only when the travel spans multiple days). (Hereinafter referred to as events.)

【0006】本発明は上記の点に鑑みてなされたもの
で,その目的とするところは,サービスマッピング部に
おいて,分野に対してイベント知識と規則集合,ユーザ
との会話による情報の獲得を用い,推論を行い,サービ
スへと結び付けることによって,上記の状況に柔軟に対
応することができる情報の案内を可能とする手段を提供
することにある。
[0006] The present invention has been made in view of the above points, and an object of the present invention is to provide a service mapping unit that uses event knowledge and a rule set for a field and information acquisition by conversation with a user. An object of the present invention is to provide a means that can guide information that can flexibly cope with the above situation by performing inference and linking to a service.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め,本発明は,ユーザ意図に対応するイベントに関する
知識を集めたイベント知識と,条件部とアクション部に
より表現される規則を集めた規則集合とを利用し,事実
と質問を生成し,ワークメモリに設定し,ワークメモリ
内の事実が規則の条件部を成立させるような規則が規則
集合内に存在する場合,その規則を抽出し,ワークメモ
リに設定しワークメモリ内に規則が存在する場合に,そ
の規則を実行し,得られた事実をワークメモリに設定
し,ワークメモリ内に質問が存在する場合,ユーザに問
い返し,入力を促し,入力結果から事実を生成し,ワー
クメモリに設定し,ワークメモリ内に質問,規則がなく
なった場合,サービス分野を表す事実を抽出する手段を
備えることを要旨とする。
In order to achieve the above object, the present invention provides an event knowledge which collects knowledge about an event corresponding to a user intention, and a rule set which collects rules expressed by a condition part and an action part. Using the rules, a fact and a question are generated, set in the work memory, and if there is a rule in the rule set such that the fact in the work memory satisfies the condition part of the rule, the rule is extracted. If the rule is set in the memory and the rule exists in the work memory, the rule is executed and the obtained fact is set in the work memory. If the question exists in the work memory, the user is asked a question and prompted for input. The gist is to provide means for generating facts from input results, setting them in the work memory, and extracting the facts representing the service field when there are no more questions and rules in the work memory. .

【0008】以上の処理手段をコンピュータによって実
現するためのプログラムは,コンピュータが読み取り可
能な可搬媒体メモリ,半導体メモリ,ハードディスクな
どの適当な記憶媒体に格納することができる。
[0008] A program for realizing the above processing means by a computer can be stored in an appropriate storage medium such as a computer-readable portable medium memory, a semiconductor memory, and a hard disk.

【0009】上記手段により,推論された分野がイベン
トであった場合,イベント展開手段においてイベント知
識を用いることによって,そのイベントに関する情報に
ついて,既知の情報を事実とし,未知の情報を含む事実
を質問としてワークメモリに格納する。そのワークメモ
リ内の事実に対して規則集合内で適用できる規則を適用
規則抽出手段によって抽出し,規則実行部で規則を適用
することによって,新たな事実を得,ワークメモリ内に
格納する。ワークメモリ内の事実に関して適用可能な規
則がない場合,質問を検索し,質問があった場合に会話
誘導手段でユーザへと問い返し,新たな事実をワークメ
モリ内に格納する。適用可能な規則も質問も無くなった
時点で,サービス抽出手段でワークメモリ内からサービ
ス分野を表す事実を抽出することによって,観点・場合
によって案内サービスが異なるようなユーザ意図,すな
わちイベントに対して,不足情報を会話により補い,規
則によって,より確からしいサービスを導くことが可能
となる。
When the field inferred by the above means is an event, by using the event knowledge in the event expanding means, the known information is made into fact and the fact including unknown information is asked about the information about the event. And store it in the work memory. A rule applicable to the fact set in the work memory in the rule set is extracted by an application rule extracting unit, and a new fact is obtained by applying the rule in the rule execution unit and stored in the work memory. If there is no applicable rule for the facts in the work memory, a question is searched, and if there is a question, a question is returned to the user by the conversation guiding means, and the new fact is stored in the work memory. When there are no more applicable rules or questions, the service extraction means extracts the facts representing the service field from the work memory, so that the user's intention, that is, the guidance service differs from viewpoint to viewpoint, that is, for events, Missing information can be supplemented by conversation, and rules can lead to more reliable services.

【0010】[0010]

【発明の実施の形態】以下,図面を用いて本発明の実施
の形態について説明する。図1は,本発明の一実施形態
に関わる情報検索装置の構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an information search device according to one embodiment of the present invention.

【0011】同図において,20はCPUやメモリと情
報検索プログラムによって実現される情報検索部であ
る。21は情報検索部20にイベントや質問に対する回
答を入力する入力部であり,例えば,キーボードや入力
ファイルなどである。22は情報検索部20からの質問
や検索結果であるサービスを表示または出力する出力部
であり,例えば,ディスプレイや出力ファイルなどであ
る。
In FIG. 1, reference numeral 20 denotes an information search unit implemented by a CPU, a memory, and an information search program. Reference numeral 21 denotes an input unit for inputting an event or a response to a question to the information search unit 20, such as a keyboard or an input file. Reference numeral 22 denotes an output unit for displaying or outputting a service from the information search unit 20 as a question or a search result, such as a display or an output file.

【0012】知識データベース部30として,イベント
知識31および規則集合32があり,情報検索部20
は,知識データベース部30を利用して情報検索を行
う。情報検索部20におけるイベント展開手段23は,
イベント知識31を利用して,入力部21より入力され
たイベントに対応する情報をワークメモリ28に出力す
る。適用規則抽出手段24は,規則集合32とワークメ
モリ28内の情報とを照合し,適合した規則をワークメ
モリ28に出力する。規則実行手段25は,ワークメモ
リ28内の規則をワークメモリ28内の情報に対して適
用し,その結果をワークメモリ28に出力する。会話誘
導手段26は,ワークメモリ28内に質問が存在する場
合には,その質問を実行し,その結果をワークメモリ2
8に出力する。サービス抽出手段27は,ワークメモリ
28内の情報からサービスに関する情報を抽出し,出力
部22に出力する。
The knowledge database unit 30 includes an event knowledge 31 and a rule set 32.
Performs an information search using the knowledge database unit 30. The event expansion means 23 in the information search unit 20
Using the event knowledge 31, information corresponding to the event input from the input unit 21 is output to the work memory 28. The application rule extraction unit 24 compares the rule set 32 with information in the work memory 28 and outputs a suitable rule to the work memory 28. The rule executing means 25 applies the rules in the work memory 28 to the information in the work memory 28 and outputs the result to the work memory 28. If there is a question in the work memory 28, the conversation guiding means 26 executes the question and stores the result in the work memory 2.
8 is output. The service extracting unit 27 extracts information about the service from the information in the work memory 28 and outputs the information to the output unit 22.

【0013】図2は,イベント知識の一例を示す図であ
る。イベント知識は,各イベントを示す一つのイベント
レコードと,#で始まり特別な規定をしないコメントレ
コードの2種類で構成される。イベントレコードは,イ
ベント名およびイベントの親レコード名,各イベントが
持つ属性名,属性に対する属性値を規定する。第一要素
は属性名が“イベント名”の属性値であり,第二要素は
属性名が“上位イベント”の属性値である。親レコード
が存在しない場合や,属性名だけが決まり,それに対応
する属性値が決まらない場合には,ヌルコードで埋め
る。第三要素以降は,イベントの持つ属性の属性名と属
性値である。
FIG. 2 is a diagram showing an example of event knowledge. The event knowledge is composed of two types, one event record indicating each event, and a comment record that starts with # and does not have special rules. The event record defines an event name, a parent record name of the event, an attribute name of each event, and an attribute value for the attribute. The first element is an attribute value having an attribute name of “event name”, and the second element is an attribute value having an attribute name of “upper event”. If the parent record does not exist or if only the attribute name is determined and the corresponding attribute value is not determined, fill in with a null code. The third and subsequent elements are the attribute name and attribute value of the attribute of the event.

【0014】例えば,図2に示すイベントレコード2−
2のイベント知識は,イベント名が“神社巡り”で,そ
の上位イベント(親イベント)が“旅行”であること,
また,“神社巡り”のイベントの持つ属性の属性名とし
て“興味対象”があり,その属性値が“神社”であるこ
とを意味している。
For example, an event record 2 shown in FIG.
Event knowledge of 2 is that the event name is “Go around the shrine” and the upper event (parent event) is “Travel”.
In addition, the attribute name of the attribute of the event “visiting a shrine” is “interesting object”, which means that the attribute value is “shrine”.

【0015】図3は規則集合の一例を示す図である。規
則集合は,各規則を示す一つの規則と,#で始まり特別
な規定をしないコメント文の2種類で構成される。規則
は,属性名とそれに対応する属性値を記述し,各規則ご
とに,規則適用条件を示す条件部と,規則が適用された
結果発生する属性名とそれに対応する属性値からなるア
クション部とを記述する。
FIG. 3 is a diagram showing an example of a rule set. The rule set is composed of two types, one rule indicating each rule, and a comment sentence that starts with # and has no special rules. A rule describes an attribute name and its corresponding attribute value. For each rule, a condition part indicating the rule application condition, and an action part consisting of the attribute name generated as a result of applying the rule and the corresponding attribute value are included. Describe.

【0016】例えば,図3の規則3−1は,属性名“場
所”の属性値が“京都”である事実があった場合,属性
名が“興味対象”でその属性値が“京料理”である事実
を生成することを示している。
For example, the rule 3-1 in FIG. 3 is that if there is a fact that the attribute value of the attribute name “place” is “Kyoto”, the attribute name is “interesting” and the attribute value is “Kyoto” Which produces the fact that

【0017】次に,図4に示したフローチャートを参照
して,本発明の情報検索方法について説明する。なお,
具体例としては入力部21からイベント“神社巡り”が
入力された例を使って説明する。
Next, an information retrieval method according to the present invention will be described with reference to the flowchart shown in FIG. In addition,
A specific example will be described using an example in which the event “shrine tour” is input from the input unit 21.

【0018】〔イベント展開過程S1〕まず,イベント
展開過程S1において,入力部21から入力されたイベ
ントをキーとして,イベント知識31を検索し,イベン
ト名が合致するイベントレコードを抽出する。イベント
レコードにおいて,属性値にヌルコードが入っている場
合には,情報が確定していないものとし,それ以外は情
報が確定しているものとして,確定している情報からは
事実,確定していない情報からは質問を生成し,ワーク
メモリ28に格納する。
[Event Expansion Step S1] First, in the event expansion step S1, the event knowledge 31 is searched by using the event input from the input unit 21 as a key, and an event record having the same event name is extracted. In the event record, if the attribute value contains a null code, the information is not determined, otherwise the information is determined to be determined, and in fact, it is not determined from the determined information A question is generated from the information and stored in the work memory 28.

【0019】イベント知識31として,各イベントの親
イベントを定義し,あるイベントを定義する際に,親イ
ベントの特徴を継承し定義することにより,イベント知
識の管理の容易性,定義の容易性を向上させることがで
きる。この場合,入力されたイベントに対応するイベン
トレコードの親イベント名を取り出し,この親イベント
名に対応するイベントレコードについて,同様に事実お
よび質問を生成し,ワークメモリ28に格納する。
As the event knowledge 31, a parent event of each event is defined, and when a certain event is defined, the characteristics of the parent event are inherited and defined, thereby facilitating the management and definition of the event knowledge. Can be improved. In this case, the parent event name of the event record corresponding to the input event is extracted, and facts and questions are similarly generated for the event record corresponding to the parent event name and stored in the work memory 28.

【0020】このような操作を,親イベント名がヌルコ
ードになるまで繰り返すことにより,入力されたイベン
トとそのすべての親イベントに関連する事実および質問
を,ワークメモリ28に設定することができる。
By repeating such an operation until the parent event name becomes a null code, facts and questions relating to the input event and all the parent events can be set in the work memory 28.

【0021】例えば,イベント“神社巡り”が入力され
た場合,図2に示すイベントレコード2−2が選択さ
れ,以下の事実がワークメモリ28に格納される。 [事実1]:イベント名(神社巡り) [事実2]:興味対象(神社) また,親イベント名が“旅行”であることから,次にイ
ベントレコード2−1が選択され,以下の事実および質
問がワークメモリ28に追加格納される。
For example, when the event "tour to shrines" is input, the event record 2-2 shown in FIG. 2 is selected, and the following facts are stored in the work memory 28. [Fact 1]: Event name (tour to shrines) [Fact 2]: Interest object (shrines) Also, since the parent event name is “travel”, event record 2-1 is selected next, and the following facts and The question is additionally stored in the work memory 28.

【0022】[事実3]:イベント名(旅行) [質問1]:期間() [質問2]:場所() ここで,期間(),場所()は,属性名に対する属性値
である()内パラメータが設定されていないため,質問
である。
[Fact 3]: Event name (travel) [Question 1]: Period () [Question 2]: Location () Here, the period () and the location () are attribute values for the attribute name (). This is a question because no parameters have been set.

【0023】以上は,入力部21からイベントが入力さ
れた場合を説明したが,後で説明する規則実行過程S3
または会話誘導過程S4から戻ってくる場合にも,同様
に処理する。すなわち,規則を実行した結果または会話
誘導に基づく入力の結果,新たなイベントが生成された
場合には,上記のようにイベント知識31を検索し,新
たな事実,質問を生成する。一方,新たなイベントが生
成されない場合には,このイベント展開過程S1では何
もしないで適用規則抽出過程S2へ進む。
The case where an event is input from the input unit 21 has been described above.
Alternatively, the same processing is performed when returning from the conversation guidance process S4. That is, when a new event is generated as a result of executing a rule or input based on conversation guidance, the event knowledge 31 is searched as described above, and a new fact or question is generated. On the other hand, if a new event is not generated, the process proceeds to the application rule extraction process S2 without doing anything in this event expansion process S1.

【0024】〔適用規則抽出過程S2〕次に,適用規則
抽出過程S2において,規則集合32を検索し,ワーク
メモリ28内の事実が規則集合32内の規則の条件部を
満たすような規則が存在する場合,その規則をすべて適
用可能な規則としてワークメモリ28に格納する。
[Applied Rule Extracting Step S2] Next, in the applied rule extracting step S2, the rule set 32 is searched, and a rule exists such that the fact in the work memory 28 satisfies the condition part of the rule in the rule set 32. If so, all the rules are stored in the work memory 28 as applicable rules.

【0025】例えば,図3の規則集合の場合,条件部に
事実“興味対象(神社)”を持つ規則3−2が抽出さ
れ,ワークメモリ28に格納される。 [規則1]:if 興味対象(神社)then サービ
ス(神社案内); ここで,ワークメモリ28内に適用可能な規則が格納さ
れていれば,規則実行過程S3を行う。適用可能な規則
が存在せず,質問が存在する場合には,会話誘導過程S
4を行う。適用可能な規則と質問のいずれも存在しない
場合には,サービス抽出過程S5を行う。
For example, in the case of the rule set shown in FIG. 3, the rule 3-2 having the fact “interest (shrine)” in the condition part is extracted and stored in the work memory 28. [Rule 1]: if Interest (shrine) then service (shrine guide); If applicable rules are stored in the work memory 28, the rule execution process S3 is performed. If there are no applicable rules and there are questions, the conversation guidance process S
Perform 4. If neither applicable rule nor question exists, a service extraction step S5 is performed.

【0026】〔規則実行過程S3〕規則実行過程S3に
おいて,ワークメモリ28内の適用可能な規則を実行
し,該規則のアクション部に記述された事実をワークメ
モリ28に格納する。
[Rule Executing Step S3] In the rule executing step S3, the applicable rule in the work memory 28 is executed, and the fact described in the action part of the rule is stored in the work memory 28.

【0027】例えば,上述した[規則1]が適用可能な
規則としてワークメモリ28に存在する場合,以下の事
実がワークメモリ28に追加される。 [事実4]:サービス(神社案内) ここで,実行したワークメモリ28内の[規則1]は,
今後実行する必要がないため,実行済みフラグを付け,
未実行の規則と区別する。
For example, if the above [Rule 1] exists in the work memory 28 as an applicable rule, the following facts are added to the work memory 28. [Fact 4]: Service (Shrine Information) Here, [Rule 1] in the executed work memory 28 is
Since it does not need to be executed again,
Distinguish from unexecuted rules.

【0028】〔会話誘導過程S4〕会話誘導過程S4に
おいて,ワークメモリ28内の質問を抽出し,質問の属
性名を出力部22に提示し,入力を促す。その結果,入
力部21からの入力値を該質問属性値に設定した事実と
して,ワークメモリ28に格納する。
[Conversation Inducing Step S4] In the conversation inducing step S4, a question in the work memory 28 is extracted, the attribute name of the question is presented to the output unit 22, and the input is prompted. As a result, the input value from the input unit 21 is stored in the work memory 28 as a fact that the question attribute value is set.

【0029】これまでの例で,[質問1]の“期
間()”と[質問2]の“場所()”に対して,“3日
間”および“京都”が入力された場合,これらの質問
は,ワークメモリ28内で,以下の事実に置き換えられ
る。
In the above example, if "3 days" and "Kyoto" are input for "period ()" of [Question 1] and "location ()" of [Question 2], The question is translated into the following facts in the work memory 28:

【0030】[事実5]:期間(3) [事実6]:場所(京都) これにより,ワークメモリ28内の内容が更新されたた
め,改めてイベント展開過程S1に戻り,処理を継続す
る。
[Fact 5]: Period (3) [Fact 6]: Location (Kyoto) As a result, the content in the work memory 28 has been updated, so that the process returns to the event development process S1 and continues.

【0031】〔イベント展開過程S1(2回目)〕新た
なイベントは生成されていないので,そのまま,適用規
則抽出過程S2へ進む。
[Event Expansion Step S1 (Second Time)] Since no new event has been generated, the process directly proceeds to the application rule extraction step S2.

【0032】〔適用規則抽出過程S2(2回目)〕ワー
クメモリ28内の[事実3]と新たに格納された[事実
5]により,条件部が満たされる図3の規則3−5と,
新たに格納された[事実6]により条件部が満たされる
図3の規則3−1が適用可能な規則として抽出され,ワ
ークメモリ28に格納される。
[Applied Rule Extracting Step S2 (Second Time)] The rule 3-5 in FIG. 3 in which the condition part is satisfied by [Fact 3] in the work memory 28 and [Fact 5] newly stored is as follows:
The rule 3-1 in FIG. 3 in which the condition part is satisfied by the newly stored [Fact 6] is extracted as an applicable rule and stored in the work memory 28.

【0033】[規則2]:if(イベント名(旅行)&
期間(>1))then 要望(宿泊); [規則3]:if 場所(京都)then 興味対象
(京料理); このようにして,適用可能規則が新たにできたため,次
に規則実行過程S3を行う。
[Rule 2]: if (event name (travel) &
Period (> 1)) then Request (Accommodation); [Rule 3]: if Place (Kyoto) then Interest (Kyoto cuisine); In this way, a new applicable rule was created. I do.

【0034】〔規則実行過程S3(2回目)〕ワークメ
モリ28内の[規則2]と[規則3]を実行し,新たに
以下の事実をワークメモリ28に追加し,イベント展開
過程S1に戻る。
[Rule execution process S3 (second time)] [Rule 2] and [Rule 3] in the work memory 28 are executed, the following facts are newly added to the work memory 28, and the process returns to the event development process S1. .

【0035】[事実7]:要望(宿泊) [事実8]:興味対象(京料理) ここで,実行した[規則2]および[規則3]は,今後
実行する必要がないため,実行済みフラグを付け,区別
する。
[Fact 7]: Request (accommodation) [Fact 8]: Interest (Kyoto cuisine) Here, the executed [Rule 2] and [Rule 3] do not need to be executed in the future, so the executed flag To distinguish them.

【0036】〔イベント展開過程S1(3回目)〕新た
なイベントは生成されていないので,そのまま,適用規
則抽出過程S2へ進む。
[Event Development Step S1 (Third Time)] Since no new event has been generated, the process directly proceeds to the application rule extraction step S2.

【0037】〔適用規則抽出過程S2(3回目)〕ワー
クメモリ28内の[事実7],[事実8]により,条件
部が満たされる図3の規則3−3,規則3−4が適用可
能な規則として抽出され,ワークメモリ28内に格納さ
れる。
[Applied Rule Extracting Step S2 (Third)] According to [Fact 7] and [Fact 8] in the work memory 28, the rules 3-3 and 3-4 in FIG. These rules are extracted and stored in the work memory 28.

【0038】[規則4]:if 要望(宿泊)then
サービス(宿泊案内); [規則5]:if 興味対象(京料理)then サー
ビス(京料理案内); このようにして,適用可能な規則が新たにできたため,
次に規則実行過程S3を行う。
[Rule 4]: if Request (Accommodation) then
Service (Accommodation guide); [Rule 5]: if Interest (Kyoto cuisine) then Service (Kyoto cuisine guide);
Next, a rule execution step S3 is performed.

【0039】〔規則実行過程S3(3回目)〕ワークメ
モリ28内の[規則4]と[規則5]を実行し,新たに
以下の事実をワークメモリ28に追加し,イベント展開
過程S1に戻る。
[Rule execution process S3 (third time)] [Rule 4] and [Rule 5] in the work memory 28 are executed, the following fact is newly added to the work memory 28, and the process returns to the event development process S1. .

【0040】[事実9]:サービス(宿泊案内) [事実10]:サービス(京料理案内) ここで,実行した[規則4]および[規則5]は,今後
実行する必要がないため,実行済みフラグを付け,区別
する。
[Fact 9]: Service (Accommodation information) [Fact 10]: Service (Kyoto cooking information) [Rule 4] and [Rule 5] executed here have been executed because they need not be executed in the future. Add flags and distinguish.

【0041】〔イベント展開過程S1(4回目)〕新た
なイベントは生成されていないので,そのまま,適用規
則抽出過程S2へ進む。
[Event Expansion Step S1 (Fourth Time)] Since no new event has been generated, the process directly proceeds to the application rule extraction step S2.

【0042】〔適用規則抽出過程S2(4回目)〕ワー
クメモリ28内の[事実1]ないし[事実10]によ
り,新たに条件部が満たされるような規則が,規則集合
32内に存在しないため,適用可能な規則が抽出されな
い。さらに,ワークメモリ28内には質問もないため,
サービス抽出過程S5へ進む。
[Applied Rule Extraction Step S2 (Fourth)] Because there is no new rule that satisfies the condition part in the rule set 32 due to [Fact 1] to [Fact 10] in the work memory 28, , Applicable rules are not extracted. Further, since there is no question in the work memory 28,
Proceed to service extraction step S5.

【0043】〔サービス抽出過程S5〕次に,サービス
抽出過程S5において,ワークメモリ28内の事実で,
サービスに関する事実を抽出する。これまでの例では,
以下の事実が抽出される。
[Service Extraction Step S5] Next, in the service extraction step S5, the fact in the work memory 28 is
Extract facts about the service. In the examples so far,
The following facts are extracted.

【0044】[事実4]:サービス(神社案内) [事実9]:サービス(宿泊案内) [事実10]:サービス(京料理案内) このようにして得られたサービスに関する事実のパラメ
ータ値を,提示するサービスとして取り出し,入力され
たイベントに対して,これらのサービスを出力部22に
提示する。これにより,ユーザの意図に柔軟に対応した
サービスの提示が可能になる。
[Fact 4]: Service (shrine information) [Fact 9]: Service (accommodation information) [Fact 10]: Service (Kyoto cuisine information) The parameter values of the facts regarding the service obtained in this way are presented. The service is extracted as a service to be performed, and these services are presented to the output unit 22 in response to the input event. This makes it possible to present a service flexibly corresponding to the user's intention.

【0045】[0045]

【発明の効果】以上説明したように,本発明によれば,
分野自体が複数の異なった分野にまたがっているイベン
トであった場合,情報検索部によるサービスマッピング
において,イベントに対してイベント知識と規則集合,
ユーザとの会話による情報の獲得を用い,推論を行い,
サービスに結び付けることによって,興味対象が複数分
野にわたる場合,あるいは,観点・場合によって案内範
囲が異なるようなユーザの意図の処理等の状況に柔軟に
対応することができるようになる。
As described above, according to the present invention,
If the field itself is an event that spans a plurality of different fields, the service mapping by the information retrieval unit will use the event knowledge and rule set,
Reasoning is performed using information acquisition through conversation with the user.
By linking to a service, it is possible to flexibly cope with a situation where the object of interest covers a plurality of fields, or a process of processing a user's intention in which a guidance range is different depending on viewpoints and cases.

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

【図1】本発明の構成例を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration example of the present invention.

【図2】イベント知識の一例を示す図である。FIG. 2 is a diagram illustrating an example of event knowledge.

【図3】規則集合の一例を示す図である。FIG. 3 is a diagram illustrating an example of a rule set.

【図4】情報検索処理を示すフローチャートである。FIG. 4 is a flowchart illustrating an information search process.

【図5】従来方式の分野推論方式におけるサービスマッ
ピング部の構成図である。
FIG. 5 is a configuration diagram of a service mapping unit in a conventional field inference method.

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

11 入力部 12 サービスマッピング部 13 分野・サービスマッチング手段 14 分野・サービス対応テーブル 15 出力部 20 情報検索部 21 入力部 22 出力部 23 イベント展開手段 24 適用規則抽出手段 25 規則実行手段 26 会話誘導手段 27 サービス抽出手段 28 ワークメモリ 30 知識データベース部 31 イベント知識 32 規則集合 DESCRIPTION OF SYMBOLS 11 Input part 12 Service mapping part 13 Field / service matching means 14 Field / service correspondence table 15 Output part 20 Information search part 21 Input part 22 Output part 23 Event expansion means 24 Application rule extraction means 25 Rule execution means 26 Conversation guidance means 27 Service extraction means 28 Work memory 30 Knowledge database unit 31 Event knowledge 32 Rule set

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 テキストで表現されたユーザ意図を表す
キーワードを入力として,検索対象のサービス分野を決
定する情報検索方法であって,ユーザ意図に対応するイ
ベントに関する知識を集めたイベント知識と,条件部と
アクション部により表現される規則を集めた規則集合と
を用い,入力したキーワードを前記イベント知識と照合
し,キーワードが対応するイベントに関する知識から,
事実と質問を生成し,ワークメモリに設定するイベント
展開過程と,ワークメモリ内の事実が規則の条件部を成
立させるような規則が前記規則集合内に存在する場合,
その規則を抽出し,ワークメモリに設定する適用規則抽
出過程と,ワークメモリ内に規則が存在する場合に,そ
の規則を実行し,得られた事実をワークメモリに設定す
る規則実行過程と,ワークメモリ内に質問が存在する場
合,ユーザに問い返し,入力を促し,入力結果から事実
を生成し,ワークメモリに設定する会話誘導過程と,ワ
ークメモリ内に質問,規則がなくなった場合,サービス
分野を表す事実を抽出するサービス抽出過程とを有する
ことを特徴とする情報検索方法。
1. An information search method for determining a service field to be searched by using a keyword representing a user intention expressed as a text as an input, the event knowledge collecting knowledge about an event corresponding to the user intention, and a condition The input keyword is collated with the event knowledge using a rule set in which rules expressed by the action part and the action part are collected.
An event expansion process for generating facts and questions and setting them in the work memory, and when a rule in the work memory that satisfies the condition part of the rule exists in the rule set,
An application rule extraction process of extracting the rules and setting them in the work memory; a rule execution process of executing the rules if the rules exist in the work memory and setting the obtained facts in the work memory; If there is a question in the memory, the user is asked a question, prompted for input, a fact is generated from the input result, and the conversation guidance process of setting it in the work memory. A service extracting step of extracting facts to be represented.
【請求項2】 テキストで表現されたユーザ意図を表す
キーワードを入力として,検索対象のサービス分野を決
定する情報検索装置であって,ユーザ意図に対応するイ
ベントに関する知識を集めたイベント知識を記憶する手
段と,条件部とアクション部により表現される規則を集
めた規則集合を記憶する手段と,一時的な情報の記憶に
利用されるワークメモリと,入力したキーワードを前記
イベント知識と照合し,キーワードが対応するイベント
に関する知識から,事実と質問を生成し,ワークメモリ
に設定するイベント展開手段と,ワークメモリ内の事実
が規則の条件部を成立させるような規則が前記規則集合
内に存在する場合,その規則を抽出し,ワークメモリに
設定する適用規則抽出手段と,ワークメモリ内に抽出さ
れた規則が存在する場合に,その規則を実行し,得られ
た事実をワークメモリに設定する規則実行手段と,ワー
クメモリ内に質問が存在する場合,ユーザに問い返し,
入力を促し,入力結果から事実を生成し,ワークメモリ
に設定する会話誘導手段と,ワークメモリ内に質問,規
則がなくなった場合,サービス分野を表す事実を抽出す
るサービス抽出手段とを備えることを特徴とする情報検
索装置。
2. An information retrieval apparatus which determines a service field to be searched by using a keyword representing a user intention expressed in text as an input, and stores event knowledge obtained by collecting knowledge on an event corresponding to the user intention. Means, means for storing a rule set in which rules expressed by a condition part and an action part are stored, a work memory used for temporary storage of information, and a keyword inputted is checked against the event knowledge. Event expansion means for generating facts and questions from the knowledge of the corresponding event and setting them in the work memory, and when rules in the work memory that satisfy the condition part of the rules exist in the rule set Rule extraction means for extracting the rules and setting them in the work memory, and the extracted rules exist in the work memory A rule execution means for executing the rule and setting the obtained fact in the work memory; and, when a question exists in the work memory, asking the user,
A conversation guidance means for prompting an input, generating a fact from the input result, and setting the result in a work memory, and a service extracting means for extracting a fact representing a service field when there are no questions or rules in the work memory. Characteristic information retrieval device.
【請求項3】 テキストで表現されたユーザ意図を表す
キーワードを入力として,検索対象のサービス分野を決
定する情報検索装置を実現するための情報検索プログラ
ムを格納した記憶媒体であって,ユーザ意図に対応する
イベントに関する知識を集めたイベント知識と,条件部
とアクション部により表現される規則を集めた規則集合
とを用い,入力したキーワードを前記イベント知識と照
合し,キーワードが対応するイベントに関する知識か
ら,事実と質問を生成し,ワークメモリに設定するイベ
ント展開処理と,ワークメモリ内の事実が規則の条件部
を成立させるような規則が前記規則集合内に存在する場
合,その規則を抽出し,ワークメモリに設定する適用規
則抽出処理と,ワークメモリ内に抽出された規則が存在
する場合に,その規則を実行し,得られた事実をワーク
メモリに設定する規則実行処理と,ワークメモリ内に質
問が存在する場合,ユーザに問い返し,入力を促し,入
力結果から事実を生成し,ワークメモリに設定する会話
誘導処理と,ワークメモリ内に質問,規則がなくなった
場合,サービス分野を表す事実を抽出するサービス抽出
処理とをコンピュータに実行させるためのプログラムを
格納したことを特徴とする情報検索プログラムを格納し
た記憶媒体。
3. A storage medium storing an information search program for realizing an information search apparatus for determining a service field to be searched by using a keyword representing a user intention expressed in text as an input. Using the event knowledge that collects the knowledge about the corresponding event and the rule set that collects the rules expressed by the condition part and the action part, the input keyword is compared with the event knowledge, and the knowledge about the event corresponding to the keyword is obtained. , An event expansion process for generating facts and questions and setting the same in the work memory; and, when there is a rule in the rule set where the fact in the work memory satisfies the condition part of the rule, extracting the rule, Applying rule extraction processing to be set in the work memory and, if the extracted rule exists in the work memory, the rule Is executed, and the obtained fact is set in the work memory. If there is a question in the work memory, a question is returned to the user, prompting for input, the fact is generated from the input result, and the result is set in the work memory. Stores an information retrieval program that stores a program for causing a computer to execute a conversation guidance process and a service extraction process for extracting facts representing a service field when there are no questions or rules in the work memory. Storage media.
JP10035630A 1998-02-18 1998-02-18 Information retrieving method, information retrieving device and storage medium in which information retrieving program is stored Pending JPH11232297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10035630A JPH11232297A (en) 1998-02-18 1998-02-18 Information retrieving method, information retrieving device and storage medium in which information retrieving program is stored

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10035630A JPH11232297A (en) 1998-02-18 1998-02-18 Information retrieving method, information retrieving device and storage medium in which information retrieving program is stored

Publications (1)

Publication Number Publication Date
JPH11232297A true JPH11232297A (en) 1999-08-27

Family

ID=12447199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10035630A Pending JPH11232297A (en) 1998-02-18 1998-02-18 Information retrieving method, information retrieving device and storage medium in which information retrieving program is stored

Country Status (1)

Country Link
JP (1) JPH11232297A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017517776A (en) * 2014-10-29 2017-06-29 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Dialog processing method, dialog management system, and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0612445A (en) * 1992-06-25 1994-01-21 Agency Of Ind Science & Technol Interactive processing controller
JPH06149884A (en) * 1992-10-30 1994-05-31 Fuji Rojitetsuku:Kk System and method for data base material
JPH06162090A (en) * 1992-11-20 1994-06-10 Nippon Telegr & Teleph Corp <Ntt> Question sentence generating device
JPH0962684A (en) * 1995-08-22 1997-03-07 Nippon Telegr & Teleph Corp <Ntt> Information retrieval method and information retrieval device, and information guiding method and information guiding device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0612445A (en) * 1992-06-25 1994-01-21 Agency Of Ind Science & Technol Interactive processing controller
JPH06149884A (en) * 1992-10-30 1994-05-31 Fuji Rojitetsuku:Kk System and method for data base material
JPH06162090A (en) * 1992-11-20 1994-06-10 Nippon Telegr & Teleph Corp <Ntt> Question sentence generating device
JPH0962684A (en) * 1995-08-22 1997-03-07 Nippon Telegr & Teleph Corp <Ntt> Information retrieval method and information retrieval device, and information guiding method and information guiding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017517776A (en) * 2014-10-29 2017-06-29 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Dialog processing method, dialog management system, and computer equipment

Similar Documents

Publication Publication Date Title
JP3067966B2 (en) Apparatus and method for retrieving image parts
JP3934325B2 (en) Document search method, document search apparatus, and storage medium for document search program
WO2019169858A1 (en) Searching engine technology based data analysis method and system
JP2018088242A (en) Data processing apparatus, method, and program
JP2005122295A (en) Relationship figure creation program, relationship figure creation method, and relationship figure generation device
KR101933953B1 (en) Software domain topics extraction system using PageRank and topic modeling
US11449676B2 (en) Systems and methods for automated document graphing
JPWO2003034279A1 (en) Information retrieval method, information retrieval program, and computer-readable recording medium on which information retrieval program is recorded
CN113343692B (en) Search intention recognition method, model training method, device, medium and equipment
JP2011100208A (en) Action estimation device, action estimation method, and action estimation program
CN116304347A (en) Git command recommendation method based on crowd-sourced knowledge
JPH05324728A (en) Information retrieving device
JP2020071678A (en) Information processing device, control method, and program
US11113314B2 (en) Similarity calculating device and method, and recording medium
KR20120070713A (en) Method for indexing natural language and mathematical formula, apparatus and computer-readable recording medium with program therefor
CN115329753A (en) Intelligent data analysis method and system based on natural language processing
JP2006023968A (en) Unique expression extracting method and device and program to be used for the same
JP2004102818A (en) Retrieval support method and retrieval support device
JPH11232297A (en) Information retrieving method, information retrieving device and storage medium in which information retrieving program is stored
JPH11272709A (en) File retrieval system
KR100504632B1 (en) Apparatus for extracting information desired by users from unstructured documents and method thereof
JP2012108710A (en) Program component retrieval method, program component retrieval system, and component retrieval program
JP2001249935A (en) Document digest preparation method, document retrieval davice and recording medium
JP2007164462A (en) Question answering system, question answering method and question answering program
JPH10228488A (en) Information retrieval collecting method and its system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040810