JPH01279321A - Question/answer device - Google Patents

Question/answer device

Info

Publication number
JPH01279321A
JPH01279321A JP63108892A JP10889288A JPH01279321A JP H01279321 A JPH01279321 A JP H01279321A JP 63108892 A JP63108892 A JP 63108892A JP 10889288 A JP10889288 A JP 10889288A JP H01279321 A JPH01279321 A JP H01279321A
Authority
JP
Japan
Prior art keywords
semantic
meaning
processing
question
document
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
JP63108892A
Other languages
Japanese (ja)
Inventor
Nobuta Shibuya
展太 澁谷
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63108892A priority Critical patent/JPH01279321A/en
Publication of JPH01279321A publication Critical patent/JPH01279321A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To process a complicated question in a short time by performing the direct execution of the meaning process for the entire structure of a document stored in a meaning expression document file and the meaning structure of the document based on the data structure expressed logically. CONSTITUTION:A retrieving instruction and/or a meaning processing instruction are sent to an entire control part 2 out of those questions supplied from a question/input/answer output terminal 1. Then the meaning processing instruction is sent to a meaning processing part 4. An information retrieval processing part 3 retrieves the corresponding items of a meaning expression document file 5 based on the given information. These retrieving results are all given to the part 2. At the same time, the part 4 carries out the meaning processing to the contents of the file 5 based on the given information. This processing result is supplied to the part 2. The part 2 integrates these two results and outputs the answers to users via the terminal 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入力された質問を解析し、文書ファイルに対し
て検索および意味的処理を実行して適切な回答を出力す
る質問応答装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a question answering device that analyzes input questions, performs search and semantic processing on document files, and outputs appropriate answers. It is.

〔従来の技術〕[Conventional technology]

従来、入力された質問を解析し、文書ファイルを検索し
て適切な回答を出力する質問応答装置にあっては、回答
を得るベースとなるファイルとして、文字の一次元的な
つながりで構成された自然言語表現による文書ファイル
(自然言語表現文書ファイル)を使用していた。
Conventionally, in question answering devices that analyze input questions, search document files, and output appropriate answers, the base file for obtaining answers is a file consisting of one-dimensional connections of characters. A document file with natural language expression (natural language expression document file) was used.

しかして、ユーザから質問が与えられると、質問の中か
ら検索すべきキーワードを抽出し、自然言語表現文書フ
ァイルの該当する項目を検索し、回答を出力するように
していた。
When a question is given by a user, the keyword to be searched is extracted from the question, the corresponding item in the natural language expression document file is searched, and the answer is output.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、従来の質問応答装置にあっては、我々
が日常的に使うような文字の一次元的なつながりで構成
された自然言語表現による文書ファイルを使用していた
ため、質問に対応する検索は意味的処理、例えば言語の
意味1文法等に基づくような高度な処理を除いたキーワ
ードのバクーンマッチング程度のものしか行えず、充分
な回答を得られないという欠点があった。
As mentioned above, conventional question answering devices use document files expressed in natural language that are composed of one-dimensional connections of characters that we use on a daily basis, so it is difficult to respond to questions. Searches can only perform semantic processing, such as basic matching of keywords, excluding advanced processing based on the meaning and grammar of a language, and have the drawback of not being able to obtain sufficient answers.

一方、上記の意味的処理を行わせるには、意味の抽出を
行う処理により自然言語表現から意味表現への変換を行
えばよいわけであるが、この自然言語表現を意味表現に
置き換える処理は膨大なものであり、更に、単に自然言
語表現を意味表現に置き換えるだけでな(、自然言語に
含まれる論理的な曖昧さを取り除く付加的な処理をも行
わなければならないため、処理に時間がかかり、即時的
な処理を行う二七ができなくなるという欠点があった。
On the other hand, in order to carry out the above semantic processing, it is sufficient to convert the natural language expression into a semantic expression through the process of extracting meaning, but the process of converting this natural language expression into a semantic expression is enormous. In addition to simply replacing natural language expressions with semantic expressions, additional processing must be performed to remove logical ambiguities contained in natural language, so processing takes a long time. However, there was a drawback that it was impossible to perform immediate processing.

本発明は上記の点に鑑み提案されたものであり、その目
的とするところは、単なる検索のみならず意味的処理も
行わせることのできる質問応答装置を提供することにあ
る。
The present invention has been proposed in view of the above points, and its purpose is to provide a question answering device that can perform not only simple searches but also semantic processing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するため、文書の全体構造と
文書の意味構造とを論理的に表現したデータ構造を有す
る意味表現文書ファイルと、質問の中の検索の指示に応
じて前記意味表現文書ファイルの該当項目を検索する情
報検索処理部と、質問の中の意味的処理の指示に応じて
前記意味表現文書ファイルの内容に対して意味的処理を
実行する意味的処理部とを備えるようにしている。
In order to achieve the above object, the present invention provides a semantic expression document file having a data structure logically expressing the overall structure of a document and the semantic structure of the document, and The present invention includes an information search processing unit that searches for a corresponding item in a document file, and a semantic processing unit that performs semantic processing on the contents of the semantic expression document file in response to a semantic processing instruction in a question. I have to.

〔作用〕[Effect]

本発明の質問応答装置にあっては、質問の中に検索の指
示がある場合には情報検索処理部が意味表現文書ファイ
ルの該当項目を検索し、また、質問の中に意味的処理の
指示がある場合には意味表現文書ファイルに含まれる文
書の全体構造と文書の意味構造とを論理的に表現したデ
ータ構造に基づき意味的処理部が直接に意味的処理を実
行する。
In the question answering device of the present invention, when a search instruction is included in the question, the information search processing section searches for the corresponding item in the semantic expression document file, and also includes an instruction for semantic processing in the question. If there is a semantic expression document file, the semantic processing unit directly executes the semantic processing based on a data structure that logically expresses the overall structure of the document and the semantic structure of the document included in the semantic expression document file.

〔実施例〕〔Example〕

以下、本発明の実施例につき図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の質問応答装置の一実施例の構成を示す
図である。第1図において、本発明の質問応答装置は、
ユーザからの質問を入力すると共に回答(応答)を出力
するための質問人力/応答出力用端末1と、装置全体を
制御する全体制御部2と、質問人力/応答出力用端末1
から入力された質問の中の検索の指示に応じて後述する
意味表現文書ファイル5の該当項目を検索する情報検索
処理部3と、質問の中の意味的処理の指示に応じて意味
表現文書ファイル5の内容に対して意味的処理を実行す
る意味的処理部4と、文書の全体構造と文書の意味構造
とを論理的に表現したデータ構造を有する意味表現文書
ファイル5とから構成されている。
FIG. 1 is a diagram showing the configuration of an embodiment of the question answering device of the present invention. In FIG. 1, the question answering device of the present invention is
A human question/response output terminal 1 for inputting questions from the user and outputting answers (responses), an overall control section 2 for controlling the entire device, and a human question/response output terminal 1
an information search processing unit 3 that searches for a corresponding item in a semantic expression document file 5 (to be described later) in response to a search instruction in a question input from an information search processing unit 3; 5, and a semantic expression document file 5 having a data structure that logically expresses the overall structure of the document and the semantic structure of the document. .

第2図は意味表現文書ファイル5のデータ構造の例を概
念的に示した図であり、51は意味表現文書ファイル5
の表題および目次に関する内容であり、主として文書の
全体構造すなわち各項目の見出し、その順序および相互
の関係等を示している。また、52は内容51における
項目「概要」についての詳細な内容であり、主として文
書の意味構造、すなわち文書を構成する語の性質(主語
S、述語■、目的語O・・・等)およびそれらの関係等
を示している0例えば、内容52は自然言語表現であれ
ば「本仕様はAがB@CするためのDをEする。Jに対
応する。また、53は内容51の項目「制限」について
の詳細な内容であり、内容52と同様に主として文書の
意味構造を示している。
FIG. 2 is a diagram conceptually showing an example of the data structure of the semantic expression document file 5, and 51 is a diagram conceptually showing an example of the data structure of the semantic expression document file 5.
The contents relate to the title and table of contents, and mainly indicate the overall structure of the document, that is, the headings of each item, their order, and their mutual relationships. Further, 52 is the detailed content of the item "Summary" in the content 51, mainly the semantic structure of the document, that is, the properties of the words that make up the document (subject S, predicate ■, object O, etc.) and their For example, if the content 52 is a natural language expression, "This specification E does D for A to B@C. It corresponds to J. Also, 53 is the item of content 51" This is the detailed content regarding "Restrictions", and similarly to the content 52, it mainly shows the semantic structure of the document.

しかして、第1図において、質問人力/応答出力用端末
1から入力された質問の中の検索の指示および/もしく
は意味的処理の指示は全体制御部2に伝えられ、検索の
指示は情報検索処理部3に与えられ、意味的処理の指示
は意味的処理部4に与えられる。次いで、情報検索処理
部3では与えられた情報に基づいて意味表現文書ファイ
ル5の該当する項目が検索され、その結果は全体制御部
2に与えられる。また、意味的処理部4では与えられた
情報に基づいて意味表現文書ファイル5の内容に対して
意味的処理が実行され、その結果は全体制御部2に与え
られる。意味的処理の例として「表題“××・・・・・
・×”の項目「概要」に書かれている内容の要約を日本
語と英語とで出力する」というものが与えられた場合、
処理は次のようになる。
In FIG. 1, search instructions and/or semantic processing instructions in questions input from the question/response output terminal 1 are transmitted to the overall control unit 2, and the search instructions are information search instructions. The processing unit 3 is given an instruction for semantic processing, and the semantic processing instruction is given to a semantic processing unit 4. Next, the information search processing unit 3 searches for a corresponding item in the semantic expression document file 5 based on the provided information, and the result is provided to the overall control unit 2. Furthermore, the semantic processing unit 4 executes semantic processing on the contents of the semantic expression document file 5 based on the provided information, and the result is provided to the overall control unit 2. As an example of semantic processing, the title “××...
・If you are given the option to output a summary of the content written in the ``Summary'' section in Japanese and English,
The process is as follows.

■意味表現文書ファイル5における文書の全体構造を示
す内容51を参照して項目「概要」に対応する内容52
を捜す。
■ Content 52 corresponding to the item "Summary" with reference to the content 51 indicating the overall structure of the document in the semantic expression document file 5
Search for.

■項目「概要」の内容52が意味構造を論理的に表現す
るデータ構造であることをLL!ikする。
■It is LL that the content 52 of the item "Summary" is a data structure that logically expresses the semantic structure! Ik.

■要約を作成する。■Create a summary.

■日本語化処理および英語化処理を起動する。■Start Japaneseization processing and Englishization processing.

■結果を全体制御部2に与える。(2) Give the results to the overall control section 2;

そして、全体制御部2では両者の結果が統合され質問人
力/応答出力用端末1に与えられ、ユーザに対して回答
が出力される。
Then, in the overall control section 2, the results of both are integrated and given to the question/response output terminal 1, where the answer is output to the user.

〔発明の効果〕〔Effect of the invention〕

以上のように、本発明の質問応答装置にあっては、キー
ワード等による単なる検索以外に、意味表現文書ファイ
ルの文書の全体構造と文書の意味構造とを論理的に表現
したデータ構造に基づいて意味的処理が直接に実行でき
、複雑な質問に対しても短時間のうちに充分な回答が得
られる効果がある。
As described above, in the question answering device of the present invention, in addition to a simple search using keywords or the like, search is performed based on a data structure that logically represents the overall structure of the document of the semantic expression document file and the semantic structure of the document. Semantic processing can be performed directly, and even complex questions can be answered in a short amount of time.

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

第1図は本発明の質問応答装置の一実施例の構成を示し
た図および、 第2図は意味表現文書ファイルのデータ構造を概念的に
示した図である。 図において、1・・・質問人力/応答出力用端末、2・
・・全体制御部、3・・・情報検索処理部、4・・・意
味的処理部、5・・・意味表現文書ファイル、51.5
2.53・・・内容。
FIG. 1 is a diagram showing the configuration of an embodiment of the question answering device of the present invention, and FIG. 2 is a diagram conceptually showing the data structure of a semantic expression document file. In the figure, 1... terminal for question/response output, 2...
...Overall control unit, 3...Information search processing unit, 4...Semantic processing unit, 5...Semantic expression document file, 51.5
2.53...Content.

Claims (1)

【特許請求の範囲】 文書の全体構造と文書の意味構造とを論理的に表現した
データ構造を有する意味表現文書ファイルと、 質問の中の検索の指示に応じて前記意味表現文書ファイ
ルの該当項目を検索する情報検索処理部と、 質問の中の意味的処理の指示に応じて前記意味表現文書
ファイルの内容に対して意味的処理を実行する意味的処
理部とを備えたことを特徴とする質問応答装置。
[Scope of Claims] A semantic expression document file having a data structure that logically expresses the overall structure of a document and the semantic structure of the document, and a corresponding item of the semantic expression document file according to a search instruction in a question. and a semantic processing unit that performs semantic processing on the content of the semantic expression document file in response to a semantic processing instruction in a question. Question answering device.
JP63108892A 1988-04-30 1988-04-30 Question/answer device Pending JPH01279321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63108892A JPH01279321A (en) 1988-04-30 1988-04-30 Question/answer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63108892A JPH01279321A (en) 1988-04-30 1988-04-30 Question/answer device

Publications (1)

Publication Number Publication Date
JPH01279321A true JPH01279321A (en) 1989-11-09

Family

ID=14496256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63108892A Pending JPH01279321A (en) 1988-04-30 1988-04-30 Question/answer device

Country Status (1)

Country Link
JP (1) JPH01279321A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016133919A (en) * 2015-01-16 2016-07-25 日本電信電話株式会社 Question-answering method, device, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016133919A (en) * 2015-01-16 2016-07-25 日本電信電話株式会社 Question-answering method, device, and program

Similar Documents

Publication Publication Date Title
Zock et al. Word lookup on the basis of associations: from an idea to a roadmap
JPH0756948A (en) Information retrieval device
JPH01279321A (en) Question/answer device
KR100225855B1 (en) Schedule management method
JPH0728687A (en) Multimedia knowledge base device and information offering device
Bihdai et al. Syntactic Concepts Analyzer Based on the English Complex Sentences with an Object Clause.
JP2009128948A (en) Document data analyzer and program
Bishop Actions Speak Louder than Words.
JP2788283B2 (en) Important sentence retrieval device
JPH05242147A (en) Natural language interpreting method
Bekas Watson debater: conversation with a machine
Eichler et al. Interactive dynamic information extraction
JPS62282329A (en) Information processor
Bolioli et al. From ir to ie through gl
JPS62284459A (en) Document formation supporting device
JP2734826B2 (en) Natural language interpretation method
Barklund et al. A modular architecture for knowledge systems
JPH0340067A (en) Sentence retrieving system
Winn Real-time graphics for CAI: A rudimentary grammar and demonstration program
JPH0412046U (en)
Stewart RESEARCH IN PROGRESS--SOCIAL DIALECTS OF ENGLISH.
Nomura et al. Artificial intelligence approach to machine translation: Musashino Electrical Communication Laboratory, Japan
Laird A Rules Approach as a Supplement to Organizational Communication Research.
JPH04257077A (en) Picture processor
Shaner Keiji Nishitani," Religion And Nothingness"(Book Review)