JPS63219034A - Natural language interaction device - Google Patents

Natural language interaction device

Info

Publication number
JPS63219034A
JPS63219034A JP62051953A JP5195387A JPS63219034A JP S63219034 A JPS63219034 A JP S63219034A JP 62051953 A JP62051953 A JP 62051953A JP 5195387 A JP5195387 A JP 5195387A JP S63219034 A JPS63219034 A JP S63219034A
Authority
JP
Japan
Prior art keywords
natural language
expression
topic
sentence
semantic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62051953A
Other languages
Japanese (ja)
Other versions
JPH0564810B2 (en
Inventor
Sachiko Motoike
本池 祥子
Hiroyuki Suzuki
浩之 鈴木
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP62051953A priority Critical patent/JPS63219034A/en
Publication of JPS63219034A publication Critical patent/JPS63219034A/en
Publication of JPH0564810B2 publication Critical patent/JPH0564810B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To operate an objective region through an interaction in a natural language, without the knowledge of a technical term by providing a means, which stores the correspondence relation between the natural language and a meaning expression to express a technical knowledge, and obtains the technical knowledge from an input sentence. CONSTITUTION:When a user inputs a question through the natural language by an input device 1, a syntax.meaning analyzing device 2 generates the meaning expression of it. A topic selecting device 4 searches a rule, embedded in the meaning expression, among contents, stored in a topic.condition correspondence table storing device 5, and makes a not fulfilled part be the candidate of the meaning expression of the contents, to inquire of the user next time. A sentence generating device 8 outputs a Japanese sentence, corresponding to the meaning expression of the contents to inquire of the user next time, and displays it by a display device 9. When the applicable rule does not exist any longer, and there is no more candidate, the topic selecting device 4 searches a data base 7, and delivers the resulted meaning expression to the device 8, and displays the Japanese sentence, corresponding to a solution, on the display device 9.

Description

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

従来の技術 従来の質問応答・検索などを行うための自然言語対話装
置においては、質問応答・検索などを行う問題対象領域
に固有の専門用語を用いた文を生成し、それに対する利
用者が選択した選択肢や専門的な文を解釈する方式の装
置を用いていた。
BACKGROUND OF THE INVENTION Conventional natural language dialogue devices for question answering, searching, etc. generate sentences using specialized terminology specific to the problem area to be answered, searching, etc. They used a device that interpreted the options and specialized sentences.

一般的に行われている自然言語によるデータベース検索
装置について示す。
A commonly used database search device using natural language will be described.

日本語によるデータベース検索においては、通常はキー
ワードの論理和・論理積の形で行われる。実験的に自然
言語からキーワードを抽出し、それに基づいてデータベ
ース検索を行い、答えを表示もしくは生成することが行
われている。例えば、 「ライセンサ−がA社である技術導入契約」(1)とい
う句から ライセンサ−(A社)*技術導入契約(11)というキ
ーワードの論理式を、 f(r名詞1?が名詞2?である」)→名詞1?(名詞
2?) f(係り文?−名詞?)→ f(係り文?)*f(名詞?) 但、?のついた単語はその構文範鴫に分類しうる文字列
を表し、°は文字列の連接を表わす。
Database searches in Japanese are usually performed in the form of logical sums and logical products of keywords. Experiments are being carried out to extract keywords from natural language, perform database searches based on them, and display or generate answers. For example, from the phrase "Technology introduction contract where the licensor is Company A" (1), the logical expression of the keyword licensor (Company A) * Technology introduction contract (11) is written as f(r noun 1? is noun 2? ") → Noun 1? (Noun 2?) f (Dependent sentence? - Noun?) → f (Dependent sentence?) * f (Noun?) However,? Words marked with a mark represent character strings that can be classified into that syntactic category, and ° represents a concatenation of character strings.

というようなかたちで定義される構文・論理式対応規則
fを用いて、生成する。このような変換はデータベース
の定義域において既定義である属性に対応する単語が直
接用いられた場合のみにおいて有効である。
It is generated using a syntax/logical expression correspondence rule f defined as follows. Such conversion is effective only when words corresponding to attributes that are already defined in the domain of the database are used directly.

発明が解決しようとする問題点 従来の自然言語対話装置においては、質問応答検索など
を行う問題対象領域に固有の専門用語を用いた文を生成
し、それに対する利用者が選択した選択肢や専門的な文
を解釈する方式であり、問題対象領域についての専門的
な知識を有しない利用者には利用しにくいという問題点
を有していた本発明は専門的な知識を有しない利用者で
も操作可能にすることを目的とする。
Problems to be Solved by the Invention Conventional natural language dialogue devices generate sentences using technical terminology specific to the problem area used for question-answer searches, etc. This method has the problem that it is difficult to use for users who do not have specialized knowledge of the subject area.However, the present invention can be operated even by users without specialized knowledge. The purpose is to make it possible.

問題点を解決するための手段 本発明の自然言語対話装置は、利用者の自然言語入力文
の意味表現を得るための手段と、意味表現と専門的な知
識を表す意味表現との対応関係を記憶するための手段と
、前記入力文の意味表現と前記対応関係とから専門的な
知識を得る手段と、前記入力文の意味表現と前記対応関
係とから利用者への炭質間の意味表現を得る手段と、最
終的に得られた意味表現から自然言語を生成する手段と
を有することにより問題対象領域に関する専門的知識の
ない利用者が自然言語対話により質問応答・検索などを
行うことを可能とする。
Means for Solving the Problems The natural language dialogue device of the present invention has a means for obtaining a semantic expression of a user's natural language input sentence, and a correspondence relationship between the semantic expression and a semantic expression representing specialized knowledge. a means for storing; a means for obtaining specialized knowledge from the semantic representation of the input sentence and the correspondence; and a means for obtaining specialized knowledge from the semantic representation of the input sentence and the correspondence; By having a means to obtain natural language and a means to generate natural language from the finally obtained semantic expression, it is possible for users without specialized knowledge of the subject area to perform question answering, searching, etc. through natural language dialogue. shall be.

作用 上記の手段を用いて、利用者の入力した自然言語を解析
し、その意図・状況に対応する専門的な知識を導出し、
同時に利用者に対して次に質問する意図・状況に関する
文を生成する。
Function: Using the above-mentioned methods, it analyzes the natural language input by the user, derives specialized knowledge corresponding to the user's intention and situation,
At the same time, it generates sentences related to the intention and situation to ask the user next.

実施例 第1図を用いて契約文書に関するデータベース検索を日
本語の対話によって実行する場合に関する本発明の詳細
な説明する。
EMBODIMENT OF THE INVENTION The present invention will be described in detail with reference to FIG. 1 regarding the case where a database search regarding contract documents is executed through dialogue in Japanese.

実施例は、日本語入力を行うためのキーボードなどの入
力装置1、入力された日本語の構文・意味解析を行って
その意味表現を得るために用いる構文・意味解析装置2
、利用者よりの概念に基づく意味表現の列と契約に関す
る専門的な概念に基づ(意味表現との対応関係を表す話
題・条件対応規則を格納している話題・条件対応表記憶
装置5、構文・意味解析装置2で得られた意味表現と上
記の話題・条件対応規則とからデータベース検索の条件
となる意味表現を得るための条件抽出装置3、構文・意
味解析装置2で得られた意味表現と上記の話題・条件対
応規則とから次に利用者に質問するべき内容の意味表現
を得るための話題選択装置4、契約文書に関するデータ
ベース7、条件抽出装置3で得られたデータベース検索
の条件となる意味表現からデータベース検索用の命令を
生成してデータベース7に対して検索を行い検索結果の
意味表現を得るためのデータベース検索装置6、話題選
択装置4で得られた次に利用者に質問するべき内容の意
味表現やデータベース検索装置6で得られたデータベー
ス検索結果の意味表現を日本語として生成するための文
生成装置8、文生成装置8で得られた日本語を表示する
ためのVDTなどの表示装置9から構成される。
The embodiment includes an input device 1 such as a keyboard for inputting Japanese, and a syntactic/semantic analyzer 2 used to perform syntactic/semantic analysis of input Japanese to obtain its semantic expression.
, a topic/condition correspondence table storage device 5 that stores topic/condition correspondence rules representing the correspondence between a series of semantic expressions based on concepts provided by the user and a specialized concept regarding the contract (based on the semantic expressions); The meaning obtained by the condition extraction device 3 and the syntactic/semantic analyzer 2 is used to obtain the semantic expression that becomes the condition for database search from the semantic expression obtained by the syntactic/semantic analyzer 2 and the above-mentioned topic/condition correspondence rules. A topic selection device 4 for obtaining a semantic expression of the next question to be asked to the user from the expression and the above-mentioned topic/condition correspondence rules, a database 7 related to contract documents, and database search conditions obtained by the condition extraction device 3. A database search device 6 generates a command for database search from the semantic expression, searches the database 7, and obtains the semantic expression of the search result.The topic selection device 4 then asks the user the following questions. a sentence generation device 8 for generating, in Japanese, a semantic expression of the content to be performed and a semantic expression of the database search results obtained by the database search device 6; a VDT for displaying the Japanese language obtained by the sentence generation device 8; It is composed of a display device 9 such as.

以下、説明中でシングルクォーテーション(゛)で囲わ
れている部分は意味表現記述であることを表している。
Below, in the explanation, the part surrounded by single quotation marks (゛) indicates a semantic expression description.

本実施例の装置の話題・条件対応表記憶装置5中には、
あらかじめ、「左辺→右辺」の形式をした話題・条件対
応規則が格納されている。同規則の左辺は利用者よりの
概念に基づく意味表現の並びが変数を持った形で書かれ
ており、右辺には契約に関する専門的な概念に基づ(意
味表現が左辺と同じ変数をもったものとして書かれてい
る。以下、規則の中で、英字の大文字の後に疑問符(?
)のついたものは変数を表すものとする。いま、話題・
条件対応表記憶装置5中には、 ′売る(主体:X?、対象:技術) → 2ライセンサ−(X?)’ ′使う(主体:X?、対象:特許) → ′ライセンシー(X?)’ ′訴える(主体:X72客体:Y?) → ′ライセンサー(X?)’。
In the topic/condition correspondence table storage device 5 of the device of this embodiment,
Topic/condition correspondence rules in the format of "left side → right side" are stored in advance. The left side of the rule is written as a sequence of semantic expressions with variables based on concepts provided by the user, and the right side is written based on specialized concepts regarding contracts (if the semantic expressions have the same variables as the left side). Below, in the rules, a question mark (?) is placed after a capital letter.
) indicates variables. Current topics/
In the condition correspondence table storage device 5, 'Sell (subject: X?, target: technology) → 2 licensor (X?)''Use (subject: ''Sue (Subject: X72 Object: Y?) → 'Licensor (X?)'.

′ライセンシー(Y?)’ といった規則が多数格納されている。'Licensee (Y?)' A large number of rules are stored.

第1図は、このとき、利用者が入力装置1により、「A
社が技術を売った契約を知りたい」という文を入力した
ことによってそれが文字列11として出力された状態を
表している〇 構文・意味解析装置2は前記の文字列11を受は取ると
、その文の利用者の意図をあられす意味表現 (21)’知りたい( 対象:契約( 内容:売る( 主体:A社。
FIG. 1 shows that at this time, the user inputs "A" using the input device 1.
``I want to know the contract under which the company sold its technology'' is input, and it is output as a character string 11. The syntactic/semantic analyzer 2 receives the above character string 11. , I want to know the meaning of the user of the sentence (21)' (Object: Contract ( Content: Sell ( Subject: Company A.

対象:技術) )。Target: Technology) ).

と構文的主題22技術を第2図示すように出力する。and syntactic theme 22 techniques are output as shown in Figure 2.

条件抽出装置3は、第3図に示すように、意味表現21
に対して、話題・条件対応表記憶装置5に格納されてい
る話題・条件対応規則の中で規則の左辺か意味表現21
中に埋め込まれているような規則を捜し、そのような規
則の全てに対して、その右辺を集めてデータベース検索
の条件となる意味表現31を生成する。この場合、他に
当てはまる規則がなければ意味表現31は′ライセンサ
ー(A社)′となる。その意味表現31は、データベー
ス検索装置6中に、データベース検索の条件として格納
される。
The condition extracting device 3, as shown in FIG.
, the left side of the rule or the semantic expression 21 among the topic/condition correspondence rules stored in the topic/condition correspondence table storage device 5
The right-hand sides of all such rules are collected to generate a semantic expression 31 that is a condition for database search. In this case, if there are no other applicable rules, the semantic expression 31 becomes 'Licensor (Company A)'. The semantic expression 31 is stored in the database search device 6 as a condition for database search.

同時に、第4図に示すように、話題選択装置4は前記の
意味表現21を用い、話題・条件対応表記憶装置5に格
納されている話題・条件対応規則の中で、 ′売る(主体:X?。
At the same time, as shown in FIG. 4, the topic selection device 4 uses the above-mentioned semantic expression 21 to select 'sell (subject: X?

対象:技術(分野:Y?) )” ′ライセンス対象製品(Y?)’ というような規則の左辺が一部分だけ意味表現21中に
埋め込まれている規則を捜し、左辺の満たされていない
部分゛技術(分野:Y?)’を次に利用者に質問するべ
き内容の意味表現の候補とする0候補が一つの場合には
それを次に利用者に質問するべき内容の意味表現41と
するが・候補が複数ある場合には、前記の構文的主題2
2と同じ構文的主題を持つ候補を選び、それを次に利用
者に質問するべき内容の意味表現41とする。この場合
、前記の構文的主題22は「技術」であり、′技術(分
野: Y?)’の構文的主題も「技術」であるので、意
味表現41は′技術(分野:Y?)’となる。
Target: Technology (Field: Y?)'' ``Licensed product (Y?)'' Search for rules where only a portion of the left side of the rule is embedded in the semantic expression 21, and find the unsatisfied portion of the left side. Technology (Field: Y?)' as a candidate for the semantic expression of the content to be asked to the user next. If there is one 0 candidate, use it as the semantic expression 41 of the content to be asked next to the user.・If there are multiple candidates, use the syntactic theme 2 above.
A candidate having the same syntactic theme as 2 is selected and used as the semantic expression 41 of the next question to be asked to the user. In this case, the syntactic subject 22 is "technology" and the syntactic subject of 'technology (field: Y?)' is also "technology", so the semantic expression 41 is 'technology (field: Y?)'. becomes.

第5図の文生成装置8は前記の次に利用者に質問するべ
き内容の意味表現41に対応する日本語文の文字列81
「何に関する技術ですか」を出力し、表示装置9を通し
て、利用者への表示を行う。
The sentence generating device 8 in FIG.
``What is the technology related to?'' is output and displayed to the user through the display device 9.

第4図に示した状況において、もはや、当てはまる規則
が存在せず、候補がない場合には、話題選択装置4は、
データベース検索の開始を指示する命令42を出力する
。すると、第6図に示すように、データベース検索装置
6は、格納していた検索条件をデータベース検索用の命
令61に変換してデータベース7を検索し、結果をデー
タベース検索結果の意味表現62として文生成装置8に
わたす。以下は、第5図と同様の処理を行い、解答に対
応する日本語文を表示装置9に表示する。
In the situation shown in FIG. 4, if there are no applicable rules and no candidates, the topic selection device 4
An instruction 42 instructing the start of database search is output. Then, as shown in FIG. 6, the database search device 6 converts the stored search condition into a database search instruction 61, searches the database 7, and converts the result into a sentence as a semantic expression 62 of the database search result. It is passed to the generation device 8. Below, the same processing as in FIG. 5 is performed, and the Japanese sentence corresponding to the answer is displayed on the display device 9.

上記の、第4図において話題選択装置4が複数の候補の
中から一つのものを選択する場合に、データベース検索
装置6の方で特に必要としている条件を右辺に持つ規則
を優先的に用いるという手法を同時に用いることも可能
である。
In FIG. 4, when the topic selection device 4 selects one topic from a plurality of candidates, the database search device 6 preferentially uses a rule that has a particularly required condition on the right side. It is also possible to use the techniques simultaneously.

発明の効果 利用者が問題対象領域に関する専門用語などの知識なじ
に、自然言語による対話により当該対象領域に関する操
作を行うことを可能とする。
Effects of the invention It is possible for the user to perform operations related to the target area through dialogue using natural language, as well as knowledge of technical terminology related to the target area.

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

第1図から第6図は本発明の一実施例のデータベース検
索システムのブロック構成図である。 1・・・・・・入力装置、2・・・・・・構文・意味解
析装置、3・・・・・・条件抽出装置、4・・・・・・
話題選択装置、5・・・・・・話題・条件対応表記憶装
置、6・・・・・・データベース検索装置、7・・・・
・・データベース、8・・・・・・文生成装置、9・・
・・・・表示装置。 出願人 工業技術院長 飯 塚 幸 三筒1図 第2図 第3図 第4図 第5図
1 to 6 are block diagrams of a database search system according to an embodiment of the present invention. 1...Input device, 2...Syntax/semantic analysis device, 3...Condition extraction device, 4...
Topic selection device, 5... topic/condition correspondence table storage device, 6... database search device, 7...
...Database, 8...Sentence generation device, 9...
...Display device. Applicant Director of the Agency of Industrial Science and Technology Yuki Iizuka Santsutsu Figure 1 Figure 2 Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 利用者の自然言語入力文の意味表現を得るための手段と
、前記意味表現と専門的な知識を表す意味表現との対応
関係を記憶するための手段と、前記入力文の意味表現と
前記対応関係とから専門的な知識を得る手段と、前記入
力文の意味表現と前記対応関係とから利用者への次質問
の意味表現を得る手段と、最終的に得られた意味表現か
ら自然言語を生成する手段とを有する自然言語対話装置
means for obtaining a semantic representation of a user's natural language input sentence; means for storing a correspondence relationship between the semantic expression and a semantic expression representing specialized knowledge; A means for obtaining specialized knowledge from the relationship, a means for obtaining a semantic expression for the next question to the user from the semantic expression of the input sentence and the correspondence relationship, and a means for generating natural language from the finally obtained semantic expression. A natural language dialogue device having means for generating.
JP62051953A 1987-03-09 1987-03-09 Natural language interaction device Granted JPS63219034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62051953A JPS63219034A (en) 1987-03-09 1987-03-09 Natural language interaction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62051953A JPS63219034A (en) 1987-03-09 1987-03-09 Natural language interaction device

Publications (2)

Publication Number Publication Date
JPS63219034A true JPS63219034A (en) 1988-09-12
JPH0564810B2 JPH0564810B2 (en) 1993-09-16

Family

ID=12901236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62051953A Granted JPS63219034A (en) 1987-03-09 1987-03-09 Natural language interaction device

Country Status (1)

Country Link
JP (1) JPS63219034A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01265323A (en) * 1988-04-18 1989-10-23 Sharp Corp Document file retrieving system
JPH02143331A (en) * 1988-11-25 1990-06-01 Agency Of Ind Science & Technol Natural language interaction device
JPH02184973A (en) * 1989-01-11 1990-07-19 Nec Corp Information retrieval supporting system
US5197005A (en) * 1989-05-01 1993-03-23 Intelligent Business Systems Database retrieval system having a natural language interface
US5584024A (en) * 1994-03-24 1996-12-10 Software Ag Interactive database query system and method for prohibiting the selection of semantically incorrect query parameters

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6275731A (en) * 1985-09-30 1987-04-07 Ricoh Co Ltd Commanding device for information processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6275731A (en) * 1985-09-30 1987-04-07 Ricoh Co Ltd Commanding device for information processor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01265323A (en) * 1988-04-18 1989-10-23 Sharp Corp Document file retrieving system
JPH02143331A (en) * 1988-11-25 1990-06-01 Agency Of Ind Science & Technol Natural language interaction device
JPH02184973A (en) * 1989-01-11 1990-07-19 Nec Corp Information retrieval supporting system
US5197005A (en) * 1989-05-01 1993-03-23 Intelligent Business Systems Database retrieval system having a natural language interface
US5584024A (en) * 1994-03-24 1996-12-10 Software Ag Interactive database query system and method for prohibiting the selection of semantically incorrect query parameters
US5812840A (en) * 1994-03-24 1998-09-22 Speedware Ltee./Ltd. Database query system

Also Published As

Publication number Publication date
JPH0564810B2 (en) 1993-09-16

Similar Documents

Publication Publication Date Title
Lu et al. Query expansion via wordnet for effective code search
Saggion et al. Generating indicative-informative summaries with sumum
US20090119584A1 (en) Software Tool for Creating Outlines and Mind Maps that Generates Subtopics Automatically
US20040229194A1 (en) Study aid system
AbuShawar et al. Usefulness, localizability, humanness, and language-benefit: additional evaluation criteria for natural language dialogue systems
JP2000112938A5 (en)
JPS62163173A (en) Mechanical translating device
JPH08101836A (en) Learning method for machine translation
JP4866153B2 (en) Interactive question method, interactive question system, interactive question program, and recording medium recording the program
Rasywir et al. Removal of Modulo as Hashing Modification Process in Essay Scoring System Using Rabin-Karp
JPH02270067A (en) Inteligent inquiry system
JPH06215049A (en) Document summarizing device
JPS63219034A (en) Natural language interaction device
JPH1078969A (en) Information retrieving device
Amado et al. The spreadsheet affordances in solving complex word problems
CN112732885A (en) Answer extension method and device for question-answering system and electronic equipment
CN114238595A (en) Metallurgical knowledge question-answering method and system based on knowledge graph
Deena et al. Objective type question generation using natural language processing
JP2600081B2 (en) Natural language dialogue device
Poots et al. Automatic annotation of text with pictures
JP2922701B2 (en) Language conversion method
JP2885489B2 (en) Document content search device
Dissanayake et al. Enhancing conversational ai model performance and explainability for sinhala-english bilingual speakers
CYFEKU Technology integration and SkELL: A novelty in English foreign language teaching and learning
JP4088176B2 (en) Question answering apparatus and question answering program

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term