JP2600081B2 - Natural language dialogue device - Google Patents

Natural language dialogue device

Info

Publication number
JP2600081B2
JP2600081B2 JP63296154A JP29615488A JP2600081B2 JP 2600081 B2 JP2600081 B2 JP 2600081B2 JP 63296154 A JP63296154 A JP 63296154A JP 29615488 A JP29615488 A JP 29615488A JP 2600081 B2 JP2600081 B2 JP 2600081B2
Authority
JP
Japan
Prior art keywords
rules
conditions
classification information
stored
target problem
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.)
Expired - Lifetime
Application number
JP63296154A
Other languages
Japanese (ja)
Other versions
JPH02143331A (en
Inventor
祥子 本池
Original Assignee
工業技術院長
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 工業技術院長 filed Critical 工業技術院長
Priority to JP63296154A priority Critical patent/JP2600081B2/en
Publication of JPH02143331A publication Critical patent/JPH02143331A/en
Application granted granted Critical
Publication of JP2600081B2 publication Critical patent/JP2600081B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、質問応答・検索などを行うための自然言語
対話装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a natural language dialogue apparatus for performing question answering and searching.

従来の技術 従来の質問応答・検索などを行うための自然言語対話
装置においては、その装置の利用者をそのレベルにおい
て固定したものと仮定しており、さまざまなレベルを有
するさまざまな利用者に対する装置としては考えられて
いなかった。
2. Description of the Related Art In a conventional natural language dialogue apparatus for performing question answering / searching, etc., it is assumed that a user of the apparatus is fixed at that level, and a device for various users having various levels is provided. Was not considered as.

いま、一般的に行われている自然言語によるデータベ
ース検索装置について説明する。
Now, a database search apparatus using a natural language which is generally performed will be described.

日本語によるデータベース検索は、通常キーワードの
論理和・論理積を入力することによって行われるもので
あるが、このキーワードを自然言語入力文から抽出し、
それに基づいてデータベース検索を行い、答えを表示も
しくは生成することが実験的に行われている。例えば、 「ライセンサーがA社である*技術導入契約」 という句から ライセンサー(A社)*技術導入契約 というキーワードの論理式を、 f(「名詞1?が名詞2?である」)→ 名詞1?(名詞2?) f(係り文?∧名詞?)→ f(係り文?)*f(名詞?) ただし、?のついた単語はその構文範疇に分類しうる
文字列を表し、∧は文字列の連接を表す。というような
かたちで定義されている構文・論理式対話規則fを用い
て生成する。このような変換はデータベースの定義域に
おいて既定義である属性に対応する単語が直接用いられ
た場合のみにおいて有効である。
Database search in Japanese is usually performed by inputting the logical sum and logical product of keywords, but this keyword is extracted from natural language input sentences,
It has been experimentally performed to perform a database search based on that and display or generate an answer. For example, from the phrase “Licensor is company A * Technology introduction contract”, the logical formula of the keyword Licensor (Company A) * Technology introduction contract is f (“Noun 1? Is noun 2?”) → Noun 1? (Noun 2?) F (modification sentence? @Noun?) → f (modification sentence?) * F (noun?) However,? A word with a symbol indicates a character string that can be classified into its syntactic category, and a symbol indicates concatenation of character strings. It is generated using the syntax / logical expression interaction rule f defined in such a manner. Such a conversion is effective only when a word corresponding to an attribute already defined in the domain of the database is directly used.

これに対して、例えば 「A社が特許を売った契約」 という句から ライセンサー(A社)*技術導入契約 というキーワードの論理式を、 g(「名詞3が名詞4?を売る」)→ ‘売る(主体:名詞3?,対象:名詞4?)’ g(係り文?∧名詞?)→ ‘名詞?'@g(係り文?)# h(‘契約’@‘売る(主体:名詞3?@法人#,対象:
名詞4?@特許#)’)→ ライセンサー(名詞3?)*技術導入契約 ただし、?のついた単語はその構文範疇に分類しうる
文字列を表し、シングルクォーテーション(’)で囲わ
れた部分は意味表現を表すものとし、また、@のついた
文字列の型は、その後の#のついた意味表現で制限され
る。
On the other hand, for example, from the phrase “contract where company A sold a patent”, the logical expression of the keyword “licensor (company A) * technology introduction contract” is g (“noun 3 sells noun 4?”) → 'Sell (Subject: Noun 3 ?, Target: Noun 4?)' G (Dependent sentence ?? Noun?) → 'Noun?' @ g (Dependent sentence?) # H ('Contract' @ 'Sell (Subject: Noun) 3? @Corporate #, Target:
Noun 4? @Patent #) ') → Licensor (Noun 3?) * Technology introduction contract However,? A word with a symbol indicates a character string that can be classified into its syntactic category, a portion enclosed in single quotation marks (') indicates a semantic expression, and a type of a character string with a @ indicates the following # Is restricted by the semantic expression with.

というようなかたちで表現される構文・意味対応規則
g、意味・論理式対応規則hを用いて、生成する技術も
存在する。このような変換はデータベースの定義域中で
未定義の単語を用いて入力した場合にも有効であるが、
この場合にはデータベースに直接用いられない単語を利
用者が常に用いることが暗に仮定されている。
There is also a technique of generating using a syntax / semantic correspondence rule g and a semantic / logical expression correspondence rule h expressed in such a form. Such a conversion is also effective when input using undefined words in the domain of the database,
In this case, it is implicitly assumed that the user always uses words that are not directly used in the database.

上記二例の示すように、従来の技術による自然言語対
話装置ではその装置毎に仮定された一定のレベルの利用
者に対してのみその効果を発揮するものである。
As shown in the above two examples, the natural language dialogue device according to the related art exerts its effect only on a certain level of user assumed for each device.

発明が解決しようとする課題 従来の自然言語対話装置においては、利用者のレベル
を固定したものと仮定して質問応答・検索などを行って
おり、さまざまなレベルを有するさまざまな利用者に対
応できるものではなく、利用者のレベルに対しての汎用
性に欠けるという問題点を有していた。
Problems to be Solved by the Invention In a conventional natural language dialogue apparatus, question answering / searching and the like are performed assuming that the level of the user is fixed, and it is possible to respond to various users having various levels. However, it lacks versatility for the user level.

また、システムが利用者との対話により与えられた問
題を解決するためには、ユーザから情報を得る訳である
が、当該利用者からどれだけの情報がえられれば十分な
のかを示す情報の充足性、ユーザの置かれている状態に
対しどのような知識表現を適用すべきかである情報の表
現性の二面を考慮する必要がある。
Also, in order for the system to solve the problem given by the dialogue with the user, information is obtained from the user, but the information indicating how much information is sufficient from the user is sufficient. It is necessary to consider two aspects of sufficiency and the expressiveness of information, which is what kind of knowledge expression should be applied to the state where the user is placed.

本発明は上記に鑑み、上記システムに要求される上記
情報の充足性に加え、情報の表現性を考慮しユーザのレ
ベルに応じた柔軟な対話を実現し、利用者の様々なレベ
ルに対して対応することのできる自然言語対話装置を提
供することを目的とする。
In view of the above, in addition to the sufficiency of the information required for the system, the present invention realizes a flexible dialogue according to the level of the user in consideration of the expressibility of the information, and realizes various levels of the user. An object of the present invention is to provide a natural language dialogue device that can respond.

課題を解決するための手段 上記目的を達成するために本発明の自然言語対話装置
は、利用者の自然言語入力文を構文・意味解析装置
(2)により解析して得られる項を用いた知識表現であ
るところの意味表現から利用者の持つ情報・知識を前記
と同様の意味表現(31)の形で抽出する情報知識抽出装
置(3)と、利用者のおかれている対象問題を、データ
ベース検索を行うために必要な前記意味表現の形式で記
述された条件と、前記意味表現の形式で記述された前提
部と帰結部とを持つ規則の組として分類し、当該規則と
条件の組を複数個記憶した第1の記憶手段(4)と、前
記第1の記憶手段に格納された規則及び条件の複数個の
組それぞれに対し、当該規則及び条件の部分集合を、利
用者の知識のレベルとして対応付けて各組ごとに格納す
る第2の記憶手段(5)と、前記意味表現(31)を前記
第1の記憶手段(4)に格納されている規則及び条件の
複数個の組と比較し、規則の前提部あるいは条件に完全
に適合する、あるいは一部適合する規則及び条件の組を
探索し、規則の前提部あるいは条件との適合度が最も高
いものを一つ特定し、特定した規則及び条件を利用者の
おかれている対象問題を分類する規則及び条件と認定し
て当該規則及び条件の組と当該規則及び条件に対して前
記意味表現(31)の内容を適用した結果とを出力する第
1の判定手段(6)と、前記第1の判定手段(6)が出
力した規則及び条件の組と当該規則及び条件に対して前
記意味表現(31)の内容を適用した結果とを対象問題分
類情報知識として格納する対象問題分類情報知識格納装
置(7)と、前記意味表現(31)を前記第1の判定手段
(6)によって特定した前記第1の記憶手段(4)に格
納されている規則及び条件の組と対応関係にある、前記
第2の記憶手段(5)に格納されている複数の規則及び
条件の組と比較し、規則または条件との適合度が最も高
いもの、または、適合度が同じものが複数存在した場合
には、規則及び条件の数の少ないもの、を利用者のレベ
ルを分類する規則及び条件の組と特定し、当該規則及び
条件の組を出力する第2の判定手段(8)と、前記第2
の判定手段(8)の出力をレベル分類情報知識として格
納するレベル分類情報知識格納装置(9)と、前記第1
の記憶手段(4)に格納されている規則及び条件のう
ち、第1の判定手段(6)によって特定され前記対象問
題分類情報知識格納装置(7)に格納されている対象問
題分類情報知識に属している条件が、前記意味表現(3
1)によって直接的にも、あるいは前記意味表現(31)
を対象問題分類情報知識に属している規則に適用するこ
とによって間接的にも充足されていないときは、前記意
味表現(31)、前記対象問題分類情報知識格納装置
(7)に格納された対象問題分類情報知識、及び前記レ
ベル分類情報知識格納装置(9)に格納されたレベル分
類情報知識とから、前記対象問題分類情報知識格納装置
(7)に格納された前記対象問題分類情報知識を充足す
るために必要であって、かつ前記レベル分類情報知識格
納装置(9)に格納されたレベル分類情報知識に含まれ
る意味表現であって、かつ前記意味表現(31)に含まれ
る内容に関連のある意味表現を特定し、この特定された
意味表現を内容とする発話意図・発話内容を当該条件を
充足するために必要な発話として生成する発話意図・発
話内容生成装置(12)とを具備したものである。
Means for Solving the Problems In order to achieve the above object, a natural language dialogue device of the present invention uses knowledge obtained by analyzing a user's natural language input sentence by a syntax / semantic analysis device (2). An information knowledge extraction device (3) for extracting information and knowledge possessed by a user from a semantic expression that is an expression in the form of a semantic expression (31) similar to the above, Classify as a set of rules having a condition described in the form of the semantic expression necessary for performing a database search and a premise and consequent part described in the form of the semantic expression, and a set of the rule and the condition. A plurality of sets of rules and conditions stored in the first storage means, and a subset of the rules and conditions stored in the first storage means. And stored for each set The second storage means (5) compares the semantic expression (31) with a plurality of sets of rules and conditions stored in the first storage means (4). Search for a set of rules and conditions that completely or partially match the rules, identify the one with the highest degree of conformity with the premise or condition of the rule, and apply the specified rules and conditions to the user. First judging means for recognizing rules and conditions for classifying the target problem and outputting a set of the rules and conditions and a result of applying the contents of the semantic expression (31) to the rules and conditions (6) and a set of rules and conditions output by the first determination means (6) and a result of applying the contents of the semantic expression (31) to the rules and conditions as target problem classification information knowledge. A target problem classification information knowledge storage device (7) to be stored; The second storage means (corresponding to the set of rules and conditions stored in the first storage means (4) whose taste expression (31) is specified by the first determination means (6). Compared with a plurality of rule and condition sets stored in 5), if there is more than one that has the highest degree of conformity with the rule or condition, or if there is more than one that has the same degree of conformity, the number of rules and conditions A second set of rules and conditions for classifying the level of the user, and outputting the set of rules and conditions;
A level classification information knowledge storage device (9) for storing the output of the determination means (8) as level classification information knowledge;
Of the rules and conditions stored in the storage means (4), the target problem classification information knowledge specified by the first determination means (6) and stored in the target problem classification information knowledge storage device (7) The condition to which it belongs belongs to the semantic expression (3
Directly by 1) or the semantic expression (31)
Is not indirectly satisfied by applying to the rule belonging to the target problem classification information knowledge, the semantic expression (31), the target stored in the target problem classification information knowledge storage device (7). From the problem classification information knowledge and the level classification information knowledge stored in the level classification information knowledge storage device (9), the target problem classification information knowledge stored in the target problem classification information knowledge storage device (7) is satisfied. And a semantic expression included in the level classification information knowledge stored in the level classification information knowledge storage device (9) and related to the content included in the semantic expression (31). An utterance intention / utterance content generation device (12) for identifying a certain semantic expression and generating an utterance intention / utterance content containing the specified semantic expression as an utterance necessary to satisfy the condition; It is those equipped.

作 用 上記構成において、利用者の入力した自然言語文を解
析し、利用者の有する情報・知識を抽出して、第1およ
び第2の記憶手段に格納されている推論規則と条件と比
較して利用者のおかれている対象問題とレベルとを判定
し、その対象問題・レベルに応じて次に利用者に対して
質問する意図・内容に対応する文を生成することによ
り、利用者のレベルに応じた対話表現を生成すると共
に、問題解決に必要な情報を効率よく取得し、さまざま
なレベルのさまざまな利用者に対する適切な応答を行う
ことのできる自然言語対話装置によって質問応答・検索
などを行うことを可能とする。
In the above configuration, a natural language sentence input by the user is analyzed, and information and knowledge possessed by the user are extracted and compared with the inference rules and conditions stored in the first and second storage means. By determining the target problem and the level of the user in question, and generating a sentence corresponding to the intent / content of the next question to the user according to the target problem / level, In addition to generating dialogue expressions according to the level, it is also possible to efficiently obtain information necessary for problem solving and to answer and search questions using a natural language dialogue device that can respond appropriately to various users at various levels. Can be performed.

実施例 第1図、第2図を用いて契約文書に関するデータベー
ス検索を日本語の対話によって実行する場合に関する本
発明の実施例を説明する。
Embodiment An embodiment of the present invention will be described with reference to FIG. 1 and FIG.

第1図において、1は日本語入力を行うためのキーワ
ードなどの入力装置、2は入力された日本語の構文・意
味解析を行って、その意味表現を、項を用いた知識表現
として得るために用いる構文・意味解析装置、3は入力
文の意味表現から、検索すべき契約文書に関して利用者
が保持している情報・知識を、前記と同様の意味表現の
形で抽出する情報・知識抽出装置である。
In FIG. 1, 1 is an input device such as a keyword for performing Japanese input, and 2 is a syntax / semantic analysis of the input Japanese to obtain its semantic expression as a knowledge expression using terms. 3. A syntactic and semantic analysis device for extracting information / knowledge from a semantic expression of an input sentence, which extracts information / knowledge held by a user regarding a contract document to be searched in the same semantic expression form as described above. Device.

4は利用者のおかれている対象問題を分類するため
の、データベース検索を行うために必要な前記意味表現
の形式で記述された条件と、前記意味表現の形式で記述
された前提部と帰結部とを持つ推論規則との組を複数個
格納した対象問題分類推論規則・条件格納装置の列、5
は上記の各対象問題分類推論規則・条件格納装置の列4
の各装置に格納されている各対象問題分類推論規則・条
件それぞれに対し、当該推論規則・条件の部分集合を利
用者の知識のレベルとして対応付けて各対象問題分類推
論規則・条件格納装置ごとに格納したレベル分類推論規
則・条件格納装置の列である。
Reference numeral 4 denotes a condition described in the semantic expression format necessary for performing a database search for classifying a target problem in which the user is placed, and a premise described in the semantic expression format. Column of the target problem classification inference rule / condition storage device storing a plurality of pairs of inference rules having
Is column 4 of the target problem classification inference rule / condition storage device.
For each target problem classification inference rule and condition stored in each device, associate a subset of the inference rules and conditions as the level of user knowledge, and for each target problem classification inference rule and condition storage device Is a row of the level classification inference rule / condition storage device stored in the table.

6は情報・知識抽出装置3によって得られた情報・知
識と対象問題分類推論規則・条件格納装置4の各列に格
納されている推論規則・条件とを比較することによって
利用者のおかれている対象問題を判定し、さらに判定さ
れた対象問題分類推論規則・条件格納装置に格納されて
いる推論規則・条件と当該推論規則・条件に対して情報
・知識抽出装置3によって得られた情報・知識の内容を
適用した結果とを出力する、対象問題判定・対象問題分
類情報知識生成修正装置、7は上記対象問題判定・対象
問題分類情報知識生成修正装置6が出力した推論規則・
条件と当該推論規則・条件に対して情報・知識抽出装置
3によって得られた情報・知識の内容を適用した結果と
を対象問題分類情報知識として格納する対象問題分類情
報知識格納装置、8は情報・知識抽出装置3によって得
られた情報・知識と、対象問題判定・対象問題分類情報
知識生成修正装置6によって判定した対象問題分類推論
規則・条件格納装置の列4のうちの一つの装置に対応付
けられているレベル分類推論規則・条件格納装置の列に
格納されている推論規則・条件と、を比較することによ
って利用者のレベルを判定し、さらに判定されたレベル
分類推論規則・条件格納装置に格納されている推論規則
・条件を出力する、レベル判定・レベル分類情報知識生
成修正装置、9は上記レベル判定・レベル分類情報知識
生成修正装置8が出力した推論規則・条件をレベル分類
情報知識として格納するレベル分類情報知識格納装置で
ある。
Numeral 6 is for placing the user by comparing the information / knowledge obtained by the information / knowledge extraction device 3 with the inference rules / conditions stored in each column of the target problem classification inference rule / condition storage device 4. The inference rules / conditions stored in the determined target problem classification inference rules / condition storage device and the information obtained by the information / knowledge extraction device 3 for the inference rules / conditions are determined. A target problem determination / target problem classification information knowledge generation / correction device 7 for outputting the result of applying the content of knowledge, and the inference rule 7 output by the target problem determination / target problem classification information knowledge generation / correction device 6
A target problem classification information knowledge storage device for storing, as target problem classification information knowledge, a condition and a result obtained by applying the information / knowledge content obtained by the information / knowledge extraction device 3 to the inference rule / condition; Corresponds to information / knowledge obtained by the knowledge extraction device 3 and one of the target problem classification / inference rules determined by the target problem classification information knowledge generation / correction device 6 / column 4 of the condition storage device. The user's level is determined by comparing the inference rules and conditions stored in the column of the attached level classification inference rules and condition storage devices, and the determined level classification inference rules and condition storage devices are further determined. The level judgment / level classification information knowledge generation / correction device 9 which outputs the inference rules / conditions stored in A level classification information knowledge storage device for storing power and inference rules and conditions as the level classification information knowledge.

10は契約文書に関するデータベース、11は対象問題判
定・対象問題分類情報知識生成修正装置6の指示により
対象問題分類情報知識格納装置7に格納されている対象
問題分類情報知識を参照しデータベース検索用の命令を
生成してデータベース10に対して検索を行い検索結果の
意味表現を得るためのデータベース検索装置である。
Reference numeral 10 denotes a database relating to contract documents. Reference numeral 11 denotes a database for searching a database by referring to the target problem classification information knowledge stored in the target problem classification information knowledge storage device 7 according to an instruction of the target problem determination / target problem classification information knowledge generation and correction device 6. This is a database search device for generating an instruction, searching the database 10, and obtaining a semantic expression of a search result.

12は情報・知識抽出装置3によって得られた情報・知
識と、対象問題分類情報知識格納装置7に格納された対
象問題分類情報知識と、レベル分類情報知識格納装置9
に格納されたレベル分類情報知識とから、利用者に対す
る発話意図・発話内容に相当する意味表現を生成した
り、データベース検索装置11の出力の検索結果の意味表
現から利用者に対する発話意図・発話内容に相当する意
味表現を生成するための発話意図・発話内容生成装置、
13は発話意図・発話内容生成装置12から得られる意味表
現を用いて利用者に対する発話文を生成するために用い
る文生成装置、14は文生成装置13で得られた日本語を表
示するためのVDTなどの表示装置14である。
Reference numeral 12 denotes the information / knowledge obtained by the information / knowledge extraction device 3, the target problem classification information knowledge stored in the target problem classification information knowledge storage device 7, and the level classification information knowledge storage device 9.
From the level classification information knowledge stored in the database, a semantic expression corresponding to the utterance intention and utterance content for the user is generated, and the utterance intention and utterance content for the user are obtained from the semantic expression of the search result output from the database search device 11. A speech intention / speech content generation device for generating a semantic expression corresponding to
13 is a sentence generation device used to generate an utterance sentence for the user using the semantic expression obtained from the utterance intention / utterance content generation device 12, and 14 is for displaying the Japanese language obtained by the sentence generation device 13. It is a display device 14 such as a VDT.

以下、説明中でシングルクォーテーション(’)で囲
われている部分は項を用いた知識表現であるところの意
味表現記述であることを表している。
Hereinafter, the portion enclosed in single quotes (') in the description indicates a semantic expression description which is a knowledge expression using a term.

本実施例の装置の対象問題分類推論規則・条件格納装
置の列4、レベル分類推論規則・条件格納装置の列5中
には、あらかじめ、データベース検索を行うために必要
な意味表現の形式で記述された条件と、意味表現の形式
で記述された前提部と帰結部を「前提部→帰結部」の形
式で持つ推論規則との組がそれぞれ複数個格納されてい
る。対象問題分類推論規則・条件格納装置の列4に格納
されている推論規則・条件はその利用者のおかれている
対象問題に対して利用者が知ると知らないとに関わらず
必要な推論規則・条件である。これに対して、レベル分
類推論規則・条件格納装置の列5に格納されている推論
規則・条件はその利用者のおかれている対象問題に対し
て必要な推論規則・条件のうちその利用者が実際に保持
している推論規則・条件である。
In column 4 of the target problem classification inference rule / condition storage device and column 5 of the level classification inference rule / condition storage device of the device according to the present embodiment, they are described in advance in the form of a semantic expression necessary for performing a database search. A plurality of sets each of the set conditions and inference rules having a premise part and a consequent part described in the form of a semantic expression in the form of “premise part → consequent part” are stored. The inference rules and conditions stored in column 4 of the target problem classification inference rules and conditions storage device are necessary inference rules regardless of whether or not the user knows the target problem in which the user is located.・ It is a condition. On the other hand, the inference rules and conditions stored in column 5 of the level classification inference rules and conditions storage device are those of the inference rules and conditions necessary for the target problem in which the user is located. Are the inference rules and conditions actually held.

以下、規則の中で、英字の大文字の後に疑問符(?)
のついたものは変数を表すものとする。いま、第2図に
示すような対象問題分類推論規則・条件格納装置の列4
中の一つの対象問題分類推論規則・条件格納装置41中に
以下の推論規則・条件が格納されているとする。
Below, in the rules, a question mark (?) Is added after the uppercase letter
The ones marked with represent variables. Now, column 4 of the target problem classification inference rule / condition storage device as shown in FIG.
It is assumed that the following inference rules and conditions are stored in one of the target problem classification inference rules and conditions storage device 41.

推論規則: 特許を使う(主体:X?,特許:Y?,製品:Z?,時刻:W1?), 所有する(主体:V?,対象:Y?,時刻:W2?)→ ライセンサー(本体:V?), ライセンシー(本体:X?), 契約対象特許(本体:Y?), 契約対象製品(本体:Z?), 条件: 特許を使う(主体:X?,特許:Y?,製品:Z?,時刻:W1?), 所有する(主体:V?,対象:Y?,時刻:W2?) 重複している(時刻1:W1?,時刻2:W2?) ライセンサー(本体:V?), ライセンシー(本体:X?), 契約対象特許(本体:Y?), 契約対象製品(本体:Z?), また、第2図に示すように対象問題分類推論規則・条
件格納装置41に格納されている対象問題分類推論規則・
条件に対応付けられているレベル分類推論規則・条件格
納装置の列5中の一つのレベル分類推論規則・条件格納
装置51中に以下の推論規則・条件が格納されているとす
る。
Inference rules: Use patent (subject: X ?, patent: Y ?, product: Z ?, time: W1?), Own (subject: V ?, target: Y ?, time: W2?) → licensor ( Body: V?), Licensee (Body: X?), Contracted patent (Body: Y?), Contracted product (Body: Z?), Condition: Use patent (Subject: X ?, Patent: Y ?, Product: Z ?, Time: W1?) Owned (Subject: V ?, Target: Y ?, Time: W2?) Duplicated (Time 1: W1 ?, Time 2: W2?) Licensor (Body : V?), Licensee (main body: X?), Contracted patent (main body: Y?), Contracted product (main body: Z?), And target problem classification inference rules and conditions as shown in Fig. 2 The target problem classification and inference rules stored in the device 41
It is assumed that one level classification inference rule / condition storage device 51 in column 5 of the level classification inference rule / condition storage device associated with the condition stores the following inference rules / conditions.

推論規則: 特許を使う(主体:X?,特許:Y?,製品:Z?,時刻:W1?), 所有する(主体:V?,対象:Y?,時刻:W2?)→ ライセンサー(本体:V?), ライセンシー(本体:X?), 契約対象特許(本体:Y?), 契約対象製品(本体:Z?), 条件: 特許を使う(主体:X?,特許:Y?,製品:Z?,時刻:W1?), 所有する(主体:V?,対象:Y?,時刻:W2?) 重複している(時刻1:W1?,時刻2:W2?) ライセンサー(本体:V?), ライセンシー(本体:X?), 契約対象特許(本体:Y?), 契約対象製品(本体:Z?), また、第2図に示すようにやはり対象問題分類推論規
則・条件格納装置41に格納されている対象問題分類推論
規則・条件に対応付けられているレベル分類推論規則・
条件格納装置の列5のうちのレベル分類推論規則・条件
格納装置52中に以下の推論規則・条件が格納されている
とする。
Inference rules: Use patent (subject: X ?, patent: Y ?, product: Z ?, time: W1?), Own (subject: V ?, target: Y ?, time: W2?) → licensor ( Body: V?), Licensee (Body: X?), Contracted patent (Body: Y?), Contracted product (Body: Z?), Condition: Use patent (Subject: X ?, Patent: Y ?, Product: Z ?, Time: W1?) Owned (Subject: V ?, Target: Y ?, Time: W2?) Duplicated (Time 1: W1 ?, Time 2: W2?) Licensor (Body : V?), Licensee (main body: X?), Contracted patent (main body: Y?), Contracted product (main body: Z?), And also the target problem classification inference rules and conditions as shown in Fig. 2. The level classification inference rule corresponding to the target problem classification inference rule / condition stored in the storage device 41
It is assumed that the following inference rules and conditions are stored in the level classification inference rule and condition storage device 52 in the column 5 of the condition storage device.

推論規則:なし 条件 特許を使う(主体:X?,特許:Y?,製品:Z?,時刻:W1?), 所有する(主体:V?,対象:Y?,時刻:W2?) 重複している(時刻1:W1?,時刻2:W2?) いま、利用者が入力装置1により、「A社が特許を使
っている契約を知りたい」という文を入力するとそれが
文字列11として出力される。構文・意味解析装置2は前
記の文字列11を受け取ると、下の(21)に示すようなそ
の文の利用者の意図をあらわす意味表現21を出力する。
Inference rule: none Conditions Use patent (subject: X ?, patent: Y ?, product: Z ?, time: W1?), Own (subject: V ?, target: Y ?, time: W2?) (Time 1: W1 ?, Time 2: W2?) Now, when the user inputs a sentence "I want to know the contract in which Company A uses a patent" by using the input device 1, it becomes a character string 11. Is output. When the syntactic / semantic analysis device 2 receives the character string 11, it outputs a semantic expression 21 indicating the intention of the user of the sentence as shown in (21) below.

情報・知識抽出装置3は、意味表現21にたいして、利
用者の持つ情報・知識として(31)に示すような意味表
現(31)を出力する。
The information / knowledge extraction device 3 outputs a semantic expression (31) as shown in (31) as information / knowledge possessed by the user in response to the semantic expression 21.

(31)′特許を使う(主体:A社)′ 対象問題判定・対象問題分類情報知識生成修正装置6
は意味表現31と対象問題分類推論規則・条件格納装置の
列4の各装置に格納されている推論規則・条件とを比較
し、推論規則の前提部あるいは条件に完全に適合する、
あるいは一部適合する推論規則及び条件の組を探索し、
推論規則の前提部あるいは条件との適合度が最も高いも
のを一つ特定することにより、利用者のおかれている対
象問題を示すのにふさわしい推論規則・条件を格納した
対象問題分類推論規則・条件格納装置の列4のうちの一
つの格納装置を決定して、決定した格納装置に格納され
ている対象問題分類推論規則・条件とこの推論規則を意
味表現31に適用した結果得られた意味表現とを対象問題
分類情報知識61として対象問題分類情報知識格納装置7
に格納し、意味表現31をレベル判定・レベル分類情報知
識生成修正装置8に渡す。
(31) 'Use a patent (Subject: Company A)' Target problem determination / target problem classification information knowledge generation and correction device 6
Compares the semantic expression 31 with the inference rules and conditions stored in each device in column 4 of the target problem classification inference rules and conditions storage device, and completely matches the premise or condition of the inference rules.
Alternatively, search for a set of inference rules and conditions that partially match,
By specifying the one that has the highest degree of conformity with the premise or condition of the inference rule, the target problem classification inference rule that stores the inference rules and conditions appropriate to indicate the target problem for the user One storage device in the column 4 of the condition storage device is determined, the target problem classification inference rule / condition stored in the determined storage device, and the meaning obtained as a result of applying the inference rule to the semantic expression 31. The expression and the target problem classification information knowledge storage device 7 as the target problem classification information knowledge 61
And the semantic expression 31 is passed to the level determination / level classification information knowledge generation / correction device 8.

この例では、第2図に示した対象問題分類推論規則・
条件格納装置41に格納されている対象問題分類推論規則
・条件が選択され、この推論規則を意味表現31に適用し
た結果得られた意味表現とともに対象問題分類情報知識
61として対象問題分類情報知識格納装置7に格納され
る。
In this example, the target problem classification inference rule shown in FIG.
The target problem classification inference rules and conditions stored in the condition storage device 41 are selected, and the target problem classification information knowledge and the semantic expressions obtained as a result of applying the inference rules to the semantic expressions 31 are selected.
61 is stored in the target problem classification information knowledge storage device 7.

対象問題分類情報知識格納装置7に格納されている対
象問題分類情報知識に含まれている推論規則・条件のう
ち、条件は意味表現31によっては直接的にも、また推論
規則を適用することによって間接的にもまだ満たされて
いないので、次にレベル判定・レベル分類情報知識生成
修正装置8は意味表現31とレベル分類推論規則・条件格
納装置5に格納されている推論規則・条件のうち上記の
対象問題分類推論規則・条件格納装置41に格納されてい
る推論規則・条件の部分集合として対応付けられている
複数の推論規則・条件の組とを比較し、推論規則・また
は条件との適合度が最も高いもの、または、適合度が同
じものが複数存在した場合には、推論規則及び条件の数
の少ないものを一つ特定することにより、利用者のレベ
ルを示すのにふさわしい推論規則・条件を格納した格納
装置を特定して、特定した格納装置に格納されているレ
ベル分類推論規則・条件をレベル分類情報知識81として
レベル分類情報知識格納装置9に格納し、意味表現31を
発話意図・発話内容生成装置12に渡す。
Of the inference rules and conditions included in the target problem classification information knowledge stored in the target problem classification information knowledge storage device 7, the conditions are directly depending on the semantic expression 31, and by applying the inference rules. Since it has not been satisfied indirectly yet, the level judgment / level classification information knowledge generation / correction device 8 next selects the semantic expression 31 and the inference rules / conditions stored in the level classification inference rule / condition storage device 5 described above. Of the target problem classification inference rules and conditions stored in the inference rules and conditions storage device 41 and a plurality of sets of inference rules and conditions associated with each other as a subset of the inference rules and conditions. If there is more than one with the highest degree or with the same degree of relevance, it is appropriate to indicate the level of the user by specifying one with a small number of inference rules and conditions. The storage device storing the inference rules and conditions is specified, and the level classification inference rules and conditions stored in the specified storage device are stored in the level classification information knowledge storage device 9 as the level classification information knowledge 81, and the semantic expression 31 is stored. Is passed to the speech intention / speech content generation device 12.

この例では、第2図に示したレベル分類推論規則・条
件格納装置51、52に格納されているレベル分類推論規則
・条件がそれぞれ意味表現31と比較され、その結果、レ
ベル分類推論規則・条件格納装置52に格納されているレ
ベル分類推論規則・条件が選択され、レベル分類情報知
識81としてレベル分類情報知識格納装置9に格納され
る。
In this example, the level classification inference rules and conditions stored in the level classification inference rules and condition storage devices 51 and 52 shown in FIG. 2 are compared with the semantic expressions 31, respectively. The level classification inference rules and conditions stored in the storage device 52 are selected and stored in the level classification information knowledge storage device 9 as the level classification information knowledge 81.

次に発話意図・発話内容生成装置12は意味表現31、対
象問題分類情報知識格納装置7に格納されている対象問
題分類情報知識、およびレベル分類情報知識格納装置9
に格納されているレベル分類情報知識を用いて、対象問
題分類情報知識に記述されているデータベース検索のた
めの条件を充足するのに必要であって、かつレベル分類
情報知識に記述されている意味表現を利用したものであ
って、かつ意味表現31に関連した、利用者からの情報収
集を目的とした発話意図・発話内容を生成し、文生成装
置13に渡す。
Next, the utterance intention / utterance content generation device 12 stores the semantic expression 31, the target problem classification information knowledge stored in the target problem classification information knowledge storage device 7, and the level classification information knowledge storage device 9.
Is necessary to satisfy the database search conditions described in the target problem classification information knowledge using the level classification information knowledge stored in the The utterance intention / speech content that uses the expression and is related to the semantic expression 31 for the purpose of collecting information from the user is generated and passed to the sentence generation device 13.

この場合には、まず、対象問題分類情報知識格納装置
7に格納されている対象問題分類情報知識に記述されて
いる条件は、意味表現31によって、また、意味表現31に
同装置7に格納されている推論規則を適用することによ
って、以下に示すように元の対象問題分類推論規則・条
件格納装置41に格納されている条件のうちの変数X?の部
分のみが埋められた形となっている。
In this case, first, the conditions described in the target problem classification information knowledge stored in the target problem classification information knowledge storage device 7 are stored in the semantic expression 31 and in the semantic expression 31 in the same device 7. By applying the inference rules, only the variable X? Portion of the conditions stored in the original target problem classification inference rule / condition storage device 41 is filled in as shown below. I have.

特許を使う(主体:A社,特許:Y?,製品:Z?,時刻:W1?) 所有する(主体:V?,対象:Y?,時刻:W2?) 重複している(時刻1:W1?,時刻2:W2?) ライセンサー(本体:V?) ライセンシー(本体:A社) 契約対象特許(本体:Y?) 契約対象製品(本体:Z?) このように、対象問題分類情報知識格納装置7に格納
されている条件を充足するためには、変数Y?、Z?、V?に
ついての情報を利用者から得る必要がある。
Use a patent (Subject: Company A, Patent: Y ?, Product: Z ?, Time: W1?) Own (Subject: V ?, Target: Y ?, Time: W2?) Duplicate (Time 1: W1:?, Time 2: W2?) Licensor (main unit: V?) Licensee (main unit: Company A) Contracted patent (main unit: Y?) Contracted product (main unit: Z?) Thus, target problem classification information In order to satisfy the conditions stored in the knowledge storage device 7, it is necessary to obtain information on variables Y ?, Z ?, and V? From the user.

次に、レベル分類情報知識格納装置9に格納されてい
るレベル分類情報知識に記述されている推論規則・条件
は 推論規則:なし 条件: 特許を使う(主体:X?,特許:Y?,製品:Z?,時刻:W1?) 所有する(主体:V?,対象:Y?,時刻:W2?) 重複している(時刻1:W1?,時刻2:W2?) であるため、これら変数Y?、Z?、V?についての情報を得
るためには、 特許を使う(特許:Y?) 特許を使う(製品:Z?) 所有する(主体:V?) 所有する(対象:Y?) が候補となりうる。さらに、直前の入力文に対する意味
表現31は (31)‘特許を使う(主体:A社)’ であり、上記の四つの候補のうちからこの意味表現31に
含まれる内容に関連があるものとして 特許を使う(特許:Y?) を選択する。これは、意味表現31に含まれる知識表現と
同じものを使っているためである。したがって、Y?につ
いて聞くことを目的として、本実施例では(121)に示
すように特許に関する詳細な情報を得ることを目的とし
た発話意図・発話内容を示す意味表現121を生成する。
Next, the inference rules and conditions described in the level classification information knowledge stored in the level classification information knowledge storage device 9 are as follows: Inference rules: None Condition: Use a patent (subject: X ?, patent: Y ?, product : Z?, Time: W1?) Own (Subject: V?, Target: Y?, Time: W2?) These variables are duplicated (Time1: W1?, Time2: W2?) To obtain information about Y ?, Z ?, and V ?, use a patent (patent: Y?) Use a patent (product: Z?) Own (Subject: V?) Own (target: Y?) ) Can be a candidate. Further, the semantic expression 31 for the immediately preceding input sentence is (31) 'Use a patent (subject: Company A)', and it is assumed that the content included in this semantic expression 31 is relevant from the above four candidates. Select Use a patent (patent: Y?). This is because the same expression as the knowledge expression included in the semantic expression 31 is used. Therefore, for the purpose of listening to Y ?, in this embodiment, as shown in (121), a semantic expression 121 indicating utterance intention and utterance content is generated for the purpose of obtaining detailed information on the patent.

(121)‘知りたい(対象:特許)’ 上記の意味表現121を受け取って、文生成装置13が(1
31)に示すような日本語の発話文131を表示装置14に渡
し、表示装置14が発話文131を利用者に対して提示した
状態を表している。
(121) 'I want to know (target: patent)' The sentence generation device 13 receives the above semantic expression 121 and
31) shows a state in which a Japanese utterance sentence 131 as shown in 31) is passed to the display device 14, and the display device 14 presents the utterance sentence 131 to the user.

(131)「特許について教えてください」 利用者はこの文に応答してさらに入力を行うので、そ
の結果上記と同様の処理が行われる。
(131) "Tell me about patents" The user makes further input in response to this sentence, and as a result, the same processing as above is performed.

この例ではレベル分類推論規則・条件を格納した格納
装置としてレベル分類推論規則・条件格納装置52を選択
したが、上記の発話文131に対する利用者の応答として
「契約対象特許は日本のものです」というような入力文
が得られた場合や、はじめの入力文11の代わりに「A社
がライセンシーとして特許を使っている契約を知りた
い」というような入力文が得られていた場合にはレベル
判定・レベル分類情報知識生成修正装置8はレベル分類
推論規則・条件格納装置51を選択する。
In this example, the level classification inference rule / condition storage device 52 is selected as the storage device for storing the level classification inference rule / condition. However, the user responds to the above utterance sentence 131 by saying that the contracted patent is Japanese. If an input sentence such as "Company A wants to know the contract using a patent as a licensee" is obtained instead of the first input sentence 11, The judgment / level classification information knowledge generation / correction device 8 selects the level classification inference rule / condition storage device 51.

このようにレベル判定・レベル分類情報知識生成修正
装置8は対話の途中において利用者の入力文に応じて用
いるべき推論規則・条件を格納したレベル分類推論規則
・条件格納装置を変更することができる。変更された場
合にはレベル分類情報知識格納装置9に格納されている
レベル分類情報知識も修正され、修正されたレベル分類
情報知識格納装置9に応じて発話意図・発話内容生成装
置12は利用者に対する発話意図・発話内容を決定する。
As described above, the level determination / level classification information knowledge generation / correction device 8 can change the level classification inference rule / condition storage device that stores the inference rules / conditions to be used according to the input sentence of the user during the dialogue. . When it is changed, the level classification information knowledge stored in the level classification information knowledge storage device 9 is also corrected, and the utterance intention / utterance content generation device 12 is used by the user according to the corrected level classification information knowledge storage device 9. The utterance intention and utterance contents for are determined.

対象問題判定・対象問題分類情報知識生成修正装置6
での比較プロセスにおいて、対象問題分類情報知識格納
装置7に格納されている対象問題分類情報知識に記述さ
れている条件がすべて満たされている場合には対象問題
判定・対象問題分類情報知識生成修正装置6は検索を始
めようというコマンド62を生成してデータ検索装置11に
渡す。データベース検索装置11はその時点での対象問題
分類情報知識格納装置7に格納されている対象問題分類
情報知識に記述されている条件を用いてデータベース検
索用コマンド111を生成し、データベース10を検索し、
その検索結果である意味表現112を発話意図・発話内容
生成装置12に渡す。発話意図・発話内容生成装置12は上
記意味表現112を受け取って、それに対応する発話意図
・発話内容である意味表現122を決定して文生成装置13
に渡し、文生成装置13は意味表現122をもとに日本語文1
32を生成し、表示装置14は日本語文132を利用者に提示
する。
Target problem determination / target problem classification information knowledge generation / correction device 6
In the comparison process, if all the conditions described in the target problem classification information knowledge stored in the target problem classification information knowledge storage device 7 are satisfied, the target problem determination / target problem classification information knowledge generation correction The device 6 generates a command 62 for starting a search and passes it to the data search device 11. The database search device 11 generates a database search command 111 using the conditions described in the target problem classification information knowledge stored in the target problem classification information knowledge storage device 7 at that time, and searches the database 10. ,
The semantic expression 112 as the search result is passed to the utterance intention / utterance content generation device 12. The utterance intention / utterance content generation device 12 receives the semantic expression 112, determines the utterance intention / utterance content corresponding to the semantic expression 122, and determines the sentence generation device 13
Sentence generator 13 sends the Japanese sentence 1 based on the semantic expression 122.
32, and the display device 14 presents the Japanese sentence 132 to the user.

発明の効果 以上のように、本発明は利用者の問題対象領域に対す
る情報・知識を利用者のおかれている対象問題と利用者
のその問題に対するレベルの両方を判定するために利用
することにより、当該対象領域に関する操作を利用者の
おかれている対象問題とレベルとの両方に応じて制御
し、さらに、直前の利用者の発話に関連する内容を選択
することで、おかれたさまざまな対象問題とレベルにお
ける利用者に対応した自然な流れの自然言語の対話を行
うことができる。
As described above, the present invention uses the information and knowledge of the user's problem target area to determine both the user's target problem and the user's level for the problem. , By controlling the operation related to the target area according to both the target problem and the level of the user, and by selecting the content related to the immediately preceding user's utterance, A natural language dialogue with a natural flow corresponding to the user at the target problem and level can be performed.

また、発話意図・発話内容(12)は、前記対象問題推
論条件を前記レベル分類推論条件が満足すべき条件を識
別し、当該条件を充足すべく利用者に入力を促す内容を
次質問内容とするので、システムに必要とされる情報を
得るのに適格な発話内容を生成し得る。
Further, the utterance intention / utterance content (12) identifies the condition that the level classification inference condition should satisfy the target problem inference condition, and the content prompting the user to input to satisfy the condition is the next question content. Therefore, the utterance contents suitable for obtaining the information required for the system can be generated.

即ち、システムで解決すべき問題が同じであっても、
問題を解決する上で必要な情報が何かを本発明に係わる
自然言語対話装置により次質問を生成することで利用者
から効率よく得ることができる。
That is, even if the problem to be solved by the system is the same,
By generating the next question with the natural language dialogue device according to the present invention, what information is necessary for solving the problem can be efficiently obtained from the user.

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

第1図は本発明の一実施例のデータベース検索システム
のブロック構成図、第2図は第1図に示した対象問題分
類推論規則・条件格納装置の列4とレベル分類推論規則
・条件格納装置の列5の構成を示す概念図である。 1……入力装置、2……構文・意味解析装置、3……情
報・知識抽出装置、4……対象問題分類推論規則・条件
格納装置の列、5……レベル分類推論規則・条件格納装
置の列、6……対象問題判定・対象問題分類情報知識生
成修正装置、7……対象問題分類情報知識格納装置、8
……レベル判定・レベル分類情報知識生成修正装置、9
……レベル分類情報知識格納装置、10……データベー
ス、11……データベース検索装置、12……発話意図・発
話内容生成装置、13……文生成装置、14……表示装置、
41,42……対象問題分類推論規則・条件格納装置、51,5
2,53……レベル分類推論規則・条件格納装置。
FIG. 1 is a block diagram of a database search system according to an embodiment of the present invention. FIG. 2 is a column 4 of a target problem classification inference rule and condition storage device and a level classification inference rule and condition storage device shown in FIG. 5 is a conceptual diagram showing a configuration of a column 5 of FIG. 1 input device 2 syntactic / semantic analysis device 3 information / knowledge extraction device 4 target subject class inference rule / condition storage device column 5 level classification inference rule / condition storage device ..., Target problem determination / target problem classification information knowledge generation / correction device, 7: target problem classification information knowledge storage device, 8
... Level judgment / level classification information knowledge generation / correction apparatus, 9
...... Level classification information knowledge storage device, 10 ... Database, 11 ... Database search device, 12 ... Speech intention / speech content generation device, 13 ... Sentence generation device, 14 ... Display device,
41,42 …… Target problem classification inference rule / condition storage device, 51,5
2,53 ... Level class inference rule / condition storage device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】自然言語による入力文に基づき、データベ
ース検索を行うために必要な条件を抽出し、当該条件に
従い検索を行うとともに検索結果に対応した応答自然言
語を生成するデータベース検索のための自然言語対話装
置において、 利用者の自然言語入力文を構文・意味解析装置(2)に
より解析して得られる項を用いた知識表現であるところ
の意味表現から利用者の持つ情報・知識を前記と同様の
意味表現(31)の形で抽出する情報知識抽出装置(3)
と、 利用者のおかれている対象問題を、データベース検索を
行うために必要な前記意味表現の形式で記述された条件
と、前記意味表現の形式で記述された前提部と帰結部と
を持つ規則の組として分類し、当該規則と条件の組を複
数個記憶した第1の記憶手段(4)と、 前記第1の記憶手段に格納された規則及び条件の複数個
の組それぞれに対し、当該規則及び条件の部分集合を、
利用者の知識のレベルとして対応付けて各組ごとに格納
する第2の記憶手段(5)と、 前記意味表現(31)を前記第1の記憶手段(4)に格納
されている規則及び条件の複数個の組と比較し、規則の
前提部あるいは条件に完全に適合する、あるいは一部適
合する規則及び条件の組を探索し、規則の前提部あるい
は条件との適合度が最も高いものを一つ特定し、特定し
た規則及び条件を利用者のおかれている対象問題を分類
する規則及び条件と認定して当該規則及び条件の組と当
該規則及び条件に対して前記意味表現(31)の内容を適
用した結果とを出力する第1判定手段(6)と、 前記第1の判定手段(6)が出力した規則及び条件の組
と当該規則及び条件に対して前記意味表現(31)の内容
を適用した結果とを対象問題分類情報知識として格納す
る対象問題分類情報知識格納装置(7)と、 前記意味表現(31)を前記第1の判定手段(6)によっ
て特定した前記第1の記憶手段(4)に格納されている
規則及び条件の組と対応関係にある、前記第2の記憶手
段(5)に格納されている複数の規則及び条件の組と比
較し、規則または条件との適合度が最も高いもの、また
は、適合度が同じものが複数存在した場合には、規則及
び条件の数の少ないもの、を利用者のレベルを分類する
規則及び条件の組と特定し、当該規則及び条件の組を出
力する第2の判定手段(8)と、 前記第2の判定手段(8)の出力をレベル分類情報知識
として格納するレベル分類情報知識格納装置(9)と、 前記第1の記憶手段(4)に格納されている規則及び条
件のうち、第1の判定手段(6)によって特定され前記
対象問題分類情報知識格納装置(7)に格納されている
対象問題分類情報知識に属している条件が、前記意味表
現(31)によって直接的にも、あるいは前記意味表現
(31)を対象問題分類情報知識に属している規則に適用
することによって間接的にも充足されていないときは、
前記意味表現(31)、前記対象問題分類情報知識格納装
置(7)に格納された対象問題分類情報知識、及び前記
レベル分類情報知識格納装置(9)に格納されたレベル
分類情報知識とから、前記対象問題分類情報知識格納装
置(7)に格納された前記対象問題分類情報知識を充足
するために必要であって、かつ前記レベル分類情報知識
格納装置(9)に格納されたレベル分類情報知識に含ま
れる意味表現であって、かつ前記意味表現(31)に含ま
れる内容に関連のある意味表現を特定し、この特定され
た意味表現を内容とする発話意図・発話内容を当該条件
を充足するために必要な発話として生成する発話意図・
発話内容生成装置(12)を具備し、 前記発話意図・発話内容生成装置(12)により生成した
内容をもとに利用者に対して発話を行ない、利用者に対
する入力を促すことでデータベース検索のための利用者
との対話性を向上させたことを特徴とする自然言語対話
装置。
1. A method for extracting a condition necessary for performing a database search based on an input sentence in a natural language, performing a search in accordance with the condition, and generating a response natural language corresponding to the search result. In the language dialogue device, the information and knowledge possessed by the user are obtained from the semantic expression, which is a knowledge expression using a term obtained by analyzing the user's natural language input sentence by the syntax / semantic analysis device (2). Information knowledge extraction device (3) that extracts in the form of a similar semantic expression (31)
A condition described in the form of the semantic expression necessary for performing a database search, and a premise part and a consequent part described in the form of the semantic expression necessary for performing a database search. A first storage unit (4) storing a plurality of sets of rules and conditions, classified as a set of rules; and a plurality of sets of rules and conditions stored in the first storage unit, A subset of the rules and conditions
Second storage means (5) for storing each set in association with a user's knowledge level, and rules and conditions stored in the first storage means (4) for the semantic expression (31) Search for a set of rules and conditions that completely or partially match the prerequisites or conditions of the rule, and find the one that has the highest degree of conformity with the prerequisites or conditions of the rule. The specified rules and conditions are identified as rules and conditions for classifying the target problem in which the user is located, and the set of rules and conditions and the semantic expression for the rules and conditions (31) First determination means (6) for outputting a result obtained by applying the content of (1), a set of rules and conditions output by the first determination means (6), and the semantic expression (31) for the rules and conditions The result of applying the content of the subject as the target problem classification information knowledge A target problem classification information knowledge storage device (7) to be stored; rules and conditions stored in the first storage means (4) in which the semantic expression (31) is specified by the first determination means (6) Is compared with a plurality of sets of rules and conditions stored in the second storage means (5), which correspond to the set of rules. If there are a plurality of the same items, a second determination means for specifying a rule and condition set having a small number of rules and conditions as a set of rules and conditions for classifying the user level and outputting the set of rules and conditions (8), a level classification information knowledge storage device (9) that stores the output of the second determination means (8) as level classification information knowledge, and a rule stored in the first storage means (4). And the condition are determined by the first determination means (6). Then, the condition belonging to the target problem classification information knowledge stored in the target problem classification information knowledge storage device (7) is either directly by the semantic expression (31) or subject to the semantic expression (31). When not satisfied indirectly by applying to the rules belonging to the problem classification information knowledge,
From the semantic expression (31), the target problem classification information knowledge stored in the target problem classification information knowledge storage device (7), and the level classification information knowledge stored in the level classification information knowledge storage device (9), The level classification information knowledge necessary to satisfy the target problem classification information knowledge stored in the target problem classification information knowledge storage device (7) and stored in the level classification information knowledge storage device (9) And the semantic expression related to the content included in the semantic expression (31), and the intention and the utterance content having the specified semantic content satisfy the condition. Utterance intentions generated as utterances necessary for
An utterance content generation device (12) is provided, and utters to the user based on the content generated by the utterance intention / utterance content generation device (12), and prompts the user for input. Natural language dialogue device with improved interactivity with the user for the purpose.
JP63296154A 1988-11-25 1988-11-25 Natural language dialogue device Expired - Lifetime JP2600081B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63296154A JP2600081B2 (en) 1988-11-25 1988-11-25 Natural language dialogue device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63296154A JP2600081B2 (en) 1988-11-25 1988-11-25 Natural language dialogue device

Publications (2)

Publication Number Publication Date
JPH02143331A JPH02143331A (en) 1990-06-01
JP2600081B2 true JP2600081B2 (en) 1997-04-16

Family

ID=17829857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63296154A Expired - Lifetime JP2600081B2 (en) 1988-11-25 1988-11-25 Natural language dialogue device

Country Status (1)

Country Link
JP (1) JP2600081B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013512461A (en) * 2009-12-16 2013-04-11 浦項工科大學校 産學協力團 Foreign language learning apparatus and dialogue system
US10319378B2 (en) 2014-06-27 2019-06-11 Kabushiki Kaisha Toshiba Interaction apparatus and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63219034A (en) * 1987-03-09 1988-09-12 Agency Of Ind Science & Technol Natural language interaction device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
情報処理学会第34回(昭和62年前期)全国大会講演論文集(▲II▼)P.1513−1514

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013512461A (en) * 2009-12-16 2013-04-11 浦項工科大學校 産學協力團 Foreign language learning apparatus and dialogue system
US9767710B2 (en) 2009-12-16 2017-09-19 Postech Academy-Industry Foundation Apparatus and system for speech intent recognition
US10319378B2 (en) 2014-06-27 2019-06-11 Kabushiki Kaisha Toshiba Interaction apparatus and method

Also Published As

Publication number Publication date
JPH02143331A (en) 1990-06-01

Similar Documents

Publication Publication Date Title
JP4306894B2 (en) Natural language processing apparatus and method, and natural language recognition apparatus
Malandrakis et al. Distributional semantic models for affective text analysis
US8412514B1 (en) Method and apparatus for compiling and querying a QA database
US20040167875A1 (en) Information processing method and system
US20040054530A1 (en) Generating speech recognition grammars from a large corpus of data
JP2000112938A5 (en)
KR20050032937A (en) Method for automatically creating a question and indexing the question-answer by language-analysis and the question-answering method and system
WO2020233386A1 (en) Intelligent question-answering method and device employing aiml, computer apparatus, and storage medium
JPWO2008023470A1 (en) SENTENCE UNIT SEARCH METHOD, SENTENCE UNIT SEARCH DEVICE, COMPUTER PROGRAM, RECORDING MEDIUM, AND DOCUMENT STORAGE DEVICE
JP3765799B2 (en) Natural language processing apparatus, natural language processing method, and natural language processing program
JP2004513458A (en) User-changeable translation weights
JPH1049543A (en) Document retrieval device
CN113157887A (en) Knowledge question-answering intention identification method and device and computer equipment
JP2004355550A (en) Natural sentence retrieval device, and its method and program
JPH05282367A (en) Automatic generating device for relative key word
JP2600081B2 (en) Natural language dialogue device
JP2008204133A (en) Answer search apparatus and computer program
JP2003263441A (en) Keyword determination database preparing method, keyword determining method, device, program and recording medium
JP4435144B2 (en) Data search system and program
JP4153843B2 (en) Natural sentence search device, natural sentence search method, natural sentence search program, and natural sentence search program storage medium
JP2019003270A (en) Learning device, image search device, method and program
CN114238595A (en) Metallurgical knowledge question-answering method and system based on knowledge graph
CN112732885A (en) Answer extension method and device for question-answering system and electronic equipment
JP2005025659A (en) Zero pronoun resolving method, device and program, and recording medium to which the program is recorded
JP2006119697A (en) Question answering system, question answering method, and question answering program

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term