JPH083795B2 - Question estimator - Google Patents

Question estimator

Info

Publication number
JPH083795B2
JPH083795B2 JP61120900A JP12090086A JPH083795B2 JP H083795 B2 JPH083795 B2 JP H083795B2 JP 61120900 A JP61120900 A JP 61120900A JP 12090086 A JP12090086 A JP 12090086A JP H083795 B2 JPH083795 B2 JP H083795B2
Authority
JP
Japan
Prior art keywords
question
item
candidate
contents
contradiction
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
JP61120900A
Other languages
Japanese (ja)
Other versions
JPS62276632A (en
Inventor
謙二 鈴木
晋 吉村
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61120900A priority Critical patent/JPH083795B2/en
Publication of JPS62276632A publication Critical patent/JPS62276632A/en
Publication of JPH083795B2 publication Critical patent/JPH083795B2/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

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、システムに対して入力された質問内容の矛
盾や省略を解析して、矛盾や省略のない本来の質問内容
を求める質問推定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial field of application) The present invention analyzes the contradiction or omission of question contents input to a system, and analyzes the original question contents without contradiction or omission. The present invention relates to a question estimator for seeking

(従来の技術) 近時、種々のオフィスにパーソナル・コンピュータや
ワードプロセッサ等の情報処理機器が数多く導入される
ようになってきた。これに伴って、専門のオペレータだ
けでなく、一般の人々がこれらの情報処理機器を使用す
る機会も増えてきた。
(Prior Art) Recently, many information processing devices such as personal computers and word processors have been introduced into various offices. Along with this, not only professional operators but also general people have more opportunities to use these information processing devices.

ところで情報処理技術の発達に伴って、これらの情報
処理機器が持つ処理機能の多種多様化が進められ、その
処理操作も複雑化する傾向にある。この為、一般の人は
もとより、或る程度その操作に熟練している人でされ、
使用頻度の低い処理機能に対する処理操作が解らなくな
ることがある。また情報処理機器の使用中にエラーが発
生した場合、その対処法が解らないことがある。その結
果、それまでに処理された情報、例えばワードプロセッ
サにあってはせっかく入力した文書情報が失われてしま
ったり、またその処理を中断せざるを得なくなる等の不
具合であった。
By the way, with the development of information processing technology, the processing functions of these information processing devices are diversified, and the processing operations thereof tend to be complicated. Therefore, not only ordinary people but also people who are somewhat skilled in the operation,
The processing operation for a processing function that is rarely used may not be understood. In addition, when an error occurs during the use of the information processing device, the coping method may not be known. As a result, the information processed up to that time, for example, the document information input in the word processor has been lost, and the processing has to be interrupted.

このような場合、一般的にはその処理操作により熟練
した人にその対処法(処理操作法)を間合せたり、或い
は情報処理機器の取扱いマニュアルを調べたりすること
が行われる。しかし熟練者が不在であったり、マニュア
ルの量が膨大であると、目的とする処理操作法を見い出
すことが著しく困難であった。
In such a case, generally, a person skilled in the processing operation is made ready for the coping method (processing operation method), or the handling manual of the information processing device is checked. However, it was extremely difficult to find a desired processing operation method when there were no skilled person and the amount of manuals was huge.

そこで最近では、操作法等の知りたい情報を質問形式
でシステムに入力し、これに対してシステム側が回答す
ることが考えられている。しかしこの場合には、システ
ムが理解できる形式で質問を入力することが必要であ
り、一般的にはその操作性の点で問題があった。例えば
質問の入力形式を理解し、また質問を入力する為の処理
操作を別個に覚えておくことが必要となった。
Therefore, recently, it is considered that the information such as an operation method to be known is input to the system in the form of a question and the system side responds to this. However, in this case, it is necessary to enter a question in a format that the system can understand, and there is generally a problem in terms of operability. For example, it became necessary to understand the input format of the question and to separately remember the processing operation for entering the question.

またマンマシン・インターフェース性を考慮して、例
えば日本語文で質問を入力することが考えられている。
しかし、例えば日本語特有の省略表現で質問を入力した
り、入力された質問に矛盾が含まれるような場合、シス
テム側ではその質問を解釈することができないので『回
答不能』と答えるしかなかった。例えばエラー発生時に
その状況が不明であり、解っている範囲内の情報だけを
用いて質問を入力しても、その質問内容の構成要件が不
十分である為、その質問を解釈することができない等の
問題があった。
Considering man-machine interface, it is considered to input a question in Japanese, for example.
However, for example, if you enter a question using abbreviated expressions peculiar to Japanese language, or if the entered question contains inconsistencies, the system cannot interpret the question and you have no choice but to say "Unable to answer". . For example, when an error occurs, the situation is unknown, and even if you enter a question using only the information within the range that you know, the question cannot be interpreted because the composition requirements of the question are insufficient. There was a problem such as.

(発明が解決しようとする問題点) 本発明は、上述したようにシステムに入力した質問に
省略や矛盾がある場合、システム側がこれに対処するこ
とができず、結局、その質問に対する回答を導き出すこ
とができないと云う不具合に鑑みてなされたもので、そ
の目的とするところは、入力された質問内容に省略や矛
盾がある場合であっても、その質問の意図を推定して該
質問に対する回答を導き出すことのできる質問推定装置
を提供することにある。
(Problems to be Solved by the Invention) In the present invention, when the question input to the system has omissions or inconsistencies as described above, the system cannot deal with this and eventually derives an answer to the question. It was made in view of the problem that it is impossible to do, and the purpose is to estimate the intent of the question and answer the question even if there are omissions or inconsistencies in the entered question contents. It is to provide a question estimating device that can derive the question.

[発明の構成] (問題点を解決するための手段) 本発明は、質問を構成する構成項目毎にその項目内
容の候補を格納した項目候補表と、構成項目間の矛盾
条件を格納した矛盾表と、質問を構成するに必要な構
成項目を格納した候補項目対応表とを用い、 例えば質問を構成する構成項目毎に呈示した複数の項
目内容の候補の中から選択的に入力された質問を、その
構成項目単位毎に各構成項目の内容をそれぞれ求め、こ
の構成項目単位毎に抽出された内容間の矛盾を上記矛盾
表を参照して調べると共に、上記質問の構成項目の省略
を上記候補項目対応表を参照して調べ、前記質問の構成
項目の内容に矛盾または省略があるときには、前記項目
候補表を参照して、また適宜システムの応用処理機能部
の状況を参照する等して項目候補リストを生成し、この
項目候補リストに従って前記矛盾や省略のある質問に対
する本来の質問を推定するようにしたものである。
[Structure of the Invention] (Means for Solving Problems) The present invention relates to an item candidate table that stores candidates for the content of each item constituting a question, and a contradiction that stores a contradiction condition between the configuration items. Using a table and a candidate item correspondence table that stores the configuration items necessary to form a question, for example, a question that is selectively entered from among a plurality of item content candidates presented for each configuration item that forms a question The content of each configuration item is obtained for each configuration item unit, and the contradiction between the extracted contents for each configuration item unit is checked with reference to the above contradiction table, and the omission of the configuration item of the above question is described above. Check with reference to the candidate item correspondence table, and if there is a contradiction or omission in the content of the constituent items of the question, refer to the item candidate table, and appropriately refer to the situation of the applied processing function part of the system, etc. Create item candidate list And, in which so as to estimate the original question about the inconsistencies or omissions of questions according to the item candidate list.

(作用) かくして本発明によれば、入力された質問内容に省略
があっても、またその質問内容に矛盾が含まれていて
も、質問を構成する構成項目の内容の係わり関係から、
例えば省略された構成項目の内容が推定され、また矛盾
のある構成項目の内容間の修正が行われる。そして入力
された質問内容の不足が補われ、その質問の意図を汲取
った省略や矛盾のない質問が生成される。
(Operation) Thus, according to the present invention, even if there is an omission in the entered question content, or even if the question content contains a contradiction, from the relationship of the content of the constituent items that make up the question,
For example, the contents of the omitted configuration items are estimated and the contents of the inconsistent configuration items are corrected. Then, the lack of the entered question content is compensated, and an omission-free and consistent question is generated which takes intent of the question.

この結果、システム側はその質問を適確に解釈して、
該質問に対する回答を効果的に導き出すことが可能とな
る。故に、解っている状況範囲内で質問の入力を行なっ
ても、それに対する回答を得て情報処理機器を有効に使
用することが可能となる。
As a result, the system properly interprets the question,
It becomes possible to effectively derive an answer to the question. Therefore, even if a question is input within the range of the understood situation, it is possible to obtain an answer and effectively use the information processing device.

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

第1図は実施例方式を適用した日本語ワードプロセッ
サの概略構成図である。
FIG. 1 is a schematic configuration diagram of a Japanese word processor to which the embodiment system is applied.

文字コードを入力する為のキーボードや音声を入力す
る為のマイクロフォン等からなる入力装置1を介して入
力された情報は、処理制御装置本体2で所定の情報処理
が施され、ディスプレイやプリンタ等からなる出力装置
3に出力される。また処理制御装置2に接続された外部
記憶装置4は磁気ディスク等からなり、後述する候補間
矛盾表や候補項目対応表等の情報を格納している。
Information input through the input device 1 including a keyboard for inputting character codes and a microphone for inputting voice is subjected to predetermined information processing by the processing control device main body 2 and is displayed from a display, a printer or the like. Is output to the output device 3. The external storage device 4 connected to the processing control device 2 is composed of a magnetic disk or the like, and stores information such as a contradiction table between candidates and a candidate item correspondence table described later.

ここで処理制御装置2の、上記入力装置1から入力さ
れた質問に対する処理を実行する機能部は、概略的には
次のように構成されている。
Here, the functional unit of the process control device 2 that executes the process for the question input from the input device 1 is roughly configured as follows.

入力部11は前記入力装置1とのインターフェースをな
すもので、入力装置1から与えられた質問を質問解析部
12に与えている。質問解析部12は、入力された質問をそ
の構成項目単位に分割し、各構成項目単位の内容間に省
略や矛盾があるか否かを解析している。そしてその解析
結果をデータバッファ部19の質問項目データバッファ20
に格納している。
The input unit 11 forms an interface with the input device 1, and asks a question given from the input device 1 to a question analysis unit.
Giving to twelve. The question analysis unit 12 divides the input question into its constituent item units, and analyzes whether or not there is omission or contradiction between the contents of each constituent item unit. Then, the analysis result is sent to the question item data buffer 20 of the data buffer unit 19.
Stored in.

また応用処理機能部13は、日本語ワードプロセッサの
ような応用処理を実行するものであり、その機能実行状
態は状態解析部14にて解析されるようになっている。
The application processing function unit 13 executes application processing such as a Japanese word processor, and the function execution state is analyzed by the state analysis unit 14.

項目候補生成部15は、後で詳述するように前記入力さ
れた質問に省略や矛盾があるとき、前記外部記憶装置4
から読出されて項目候補表データバッファ21に格納され
た項目候補表や状態解析部14で求められた応用処理機能
部13の機能状況等に基いて項目候補を生成し、その情報
を項目候補リストとして項目候補リスト・データバッフ
ァ22に格納するものである。
As will be described later in detail, when the input question has omissions or inconsistencies, the item candidate generation unit 15 causes the external storage device 4 to operate.
An item candidate table is read out from the item candidate table data buffer 21 and an item candidate is generated based on the function status of the application processing function unit 13 obtained by the state analysis unit 14, and the information is generated in the item candidate list. Is stored in the item candidate list / data buffer 22 as

質問構成部16はこの項目候補リストに従って省略や矛
盾のない質問を作成し、回答検索部17は作成された質問
に対する回答を検索している。この検索によって求めら
れた回答が出力部18から前記出力装置3に出力されてオ
ペレータに呈示される。
The question forming unit 16 creates a question without omission or contradiction according to this item candidate list, and the answer searching unit 17 searches for an answer to the created question. The answer obtained by this search is output from the output unit 18 to the output device 3 and presented to the operator.

第2図はこのように構成されたシステムにおける質問
の解析処理からその回答を得るまでの処理手続きの流れ
を示したものである。以下、この流れに沿って本方式の
詳細を説明する。
FIG. 2 shows the flow of the processing procedure from the analysis processing of a question to the acquisition of the answer in the system configured as described above. The details of this method will be described below along this flow.

入力部11に質問が入力されると(ステップa)、質問
解析部12は先ずその質問を構成項目単位に分割し、各構
成項目の内容をそれぞれ求める(ステップb)。尚、後
述するように質問を構成する各構成項目の候補を表示
し、その中から選択指定された候補を検出して質問入力
するようにしても良い。
When a question is input to the input unit 11 (step a), the question analysis unit 12 first divides the question into constituent item units, and obtains the contents of each constituent item (step b). Incidentally, as will be described later, it is possible to display the candidates of each of the constituent items that make up the question, detect the selected and designated candidate from the candidates, and input the question.

しかして入力された質問の各構成項目の内容がそれぞ
れ求められると、その質問に省略や矛盾がないかが調べ
られる(ステップc)。この質問の省略や矛盾の解析
は、例えば第3図(a)(b)にそれぞれ示すようなデ
ータ形式で前記外部記憶装置4に格納された候補間矛盾
表と候補項目対応表とを用いて行われる。
Then, when the contents of the respective constituent items of the entered question are respectively obtained, it is checked whether or not the question is omitted or inconsistent (step c). The omission of the question and the analysis of the contradiction are performed by using, for example, the inter-candidate contradiction table and the candidate item correspondence table stored in the external storage device 4 in the data formats shown in FIGS. 3 (a) and 3 (b), respectively. Done.

即ち、質問を構成する構成項目が[対象][動作]
[説明内容]の3つからなるものとすると、第3図
(a)に示すように項目矛盾表には構成項目の内容間の
矛盾条件が格納されている。例えば質問の対象が{罫
線}の場合、ワードプロセッサの動作として{挿入}が
ないことから、対象の内容{罫線}に矛盾する動作の内
容として{挿入}が記述されている。また同様にして対
象の内容{下線}に矛盾する動作の内容として{挿入,
コピー,移動}が記述されている。
That is, the configuration items that make up the question are [target] [action]
Assuming that there are three [contents of description], as shown in FIG. 3A, the item contradiction table stores the contradiction conditions between the contents of the configuration items. For example, when the target of the question is {ruled line}, there is no {insert} as the operation of the word processor, so {insert} is described as the content of the operation that contradicts the target content {ruled line}. Similarly, as the content of the operation inconsistent with the target content {underline}, {insert,
Copy, move} is described.

このような項目矛盾表を参照することによって、入力
された質問の構成項目毎に分割された項目内容間の矛盾
が調べられる。
By referring to such an item contradiction table, the contradiction between the item contents divided for each constituent item of the input question can be examined.

また第3図(b)に示す候補項目対応表には、質問を
構成するに必要な構成項目の情報が、例えば[説明内
容]の種別に対応して格納されている。即ち、[説明内
容]の種別が{方法}である場合、その質問を構成する
には[対象]と[動作]の各情報を必要とすること、ま
た[説明内容]の種別が{概念}である場合、その質問
を構成するには[対象]の情報が必要であり、[動作]
の情報は不要であること等が記述されている。
Further, in the candidate item correspondence table shown in FIG. 3B, the information of the constituent items necessary to compose the question is stored in correspondence with, for example, the type of [description content]. That is, when the type of [description content] is {method}, each information of [target] and [action] is required to compose the question, and the type of [description content] is {concept}. If yes, you need Target information to configure that question, and Behavior
It is described that the information of is unnecessary.

このような候補項目対応表を参照して、入力された質
問の構成項目に省略があるか否か、つまり質問を構成す
るに必要な構成項目の全ての情報が与えられているか否
かが調べられる。
With reference to such a candidate item correspondence table, it is checked whether or not there are omissions in the configuration items of the input question, that is, whether or not all the information of the configuration items necessary to compose the question are given. To be

そして入力された質問に省略や矛盾がない場合には、
その質問の各構成項目の内容に従って、例えば第4図
(a)に示す回答検索用データが検索され(ステップ
d)、該当する質問(構成項目の内容の組)に付された
ポインタで特定される、例えば同図(b)に示すような
回答が呈示されるようになっている(ステップe)。
And if there are no omissions or inconsistencies in the entered questions,
According to the contents of each constituent item of the question, for example, the answer search data shown in FIG. 4A is searched (step d), and the question is identified by the pointer attached to the question (set of contents of constituent item). For example, an answer as shown in FIG. 7B is presented (step e).

尚、質問に対する回答はテキストの形式のみならず、
アニメーションや音声等の形式で与えられるものであっ
ても良い。
In addition, the answer to the question is not only in text format,
It may be given in the form of animation, voice, or the like.

ここで上記質問の省略や矛盾に対する解析処理につい
て更に詳しく説明する。
Here, the analysis processing for omission or contradiction of the questions will be described in more detail.

今、例えば質問の構成項目毎にその項目候補を第5図
に示すように呈示し、項目候補を選択指定して質問を入
力するものとする。
Now, for example, it is assumed that the item candidates are presented for each component item of the question as shown in FIG. 5, the item candidates are selected and designated, and the question is input.

例えば第5図に示す例では、構成項目[対象]の候補
として{文書}{罫線}{下線}…が示され、構成項目
[動作]の候補として{作成}{削除}{移動}{コピ
ー}…が、また構成項目[説明内容]の候補として{方
法}{注意}{状況}…が示されている。尚、これらの
各候補は、例えば各構成項目毎にその項目内容が取り得
る候補を格納した項目候補表を参照する等して求められ
る。
For example, in the example shown in FIG. 5, {document} {ruled line} {underline} ... is shown as a candidate for the configuration item [target], and {create} {delete} {move} {copy as a candidate for the configuration item [action]. }, And {method} {attention} {situation} ... as candidates for the configuration item [description content]. It should be noted that each of these candidates is obtained, for example, by referring to an item candidate table that stores candidates that the item content can take for each configuration item.

第5図(a)に示す例ではa1,b2,c1なる候補が選択さ
れ、『文章の削除方法を知りたい。』と云う質問が入力
された状態を示しており、第5図(b)に示す例ではa
2,b1なる候補が選択され、『罫線の作成を知りたい。』
と云う質問が入力された状態を示している。
In the example shown in FIG. 5A, candidates a1, b2, and c1 are selected, and "I want to know how to delete a sentence." Is displayed in the example shown in FIG. 5 (b).
The candidates 2, b1 are selected and "I want to know how to create ruled lines. ]
The question has been input.

このような『文章の削除方法を知りたい。』なる質問
に対して質問解析部12は、 文章 / 削除 / 方法 (を知りたい) [対象] [動作] [説明内容] のように、その質問を構成項目単位に分け、その内容に
ついて省略があるか、矛盾があるかを前記候補間矛盾表
および候補項目対応表を参照して解析する。
Such as "I want to know how to delete sentences. The question analysis unit 12 divides the question into constituent item units like “Sentence / Delete / Method (I would like to know)” [Target] [Operation] [Explanation content] and omits the content. Whether or not there is a contradiction is analyzed with reference to the inter-candidate contradiction table and the candidate item correspondence table.

同様に『罫線の作成を知りたい。』なる質問に対して
質問解析部12は、 罫線 / 作成 / −− (を知りたい) [対象] [動作] [説明内容] のように、その質問を構成項目単位に分け、その内容に
ついて省略があるか、矛盾があるかを前記候補間矛盾表
および候補項目対応表を参照して解析する。
Similarly, "I want to know how to create ruled lines. The question analysis unit 12 divides the question into units of configuration items, such as ruled line / creation /-(I want to know) [Target] [Operation] [Description], and omits the content. Whether or not there is a contradiction is analyzed with reference to the inter-candidate contradiction table and the candidate item correspondence table.

具体的には、先ず[説明内容]の情報が入力されてい
るか否かを調べる。そして入力された質問に[説明内
容]の構成項目が含まれないとき、これを省略有りと判
断する。また[説明内容]の情報が入力されているとき
には、その内容に従って前記第3図(b)に示す候補項
目対応表を調べる。そして候補項目対応表で規定される
構成項目の情報が入力されているか否かを調べ、必要な
構成項目の情報が入力されていない場合には、これを省
略ありと判断する。
Specifically, first, it is checked whether or not the information of [description content] is input. If the input question does not include the [Explanation content] configuration item, it is determined that this is omitted. When the information of [Description content] is input, the candidate item correspondence table shown in FIG. 3B is checked according to the content. Then, it is checked whether or not the information of the configuration item defined in the candidate item correspondence table is input, and if the information of the required configuration item is not input, it is determined that this is omitted.

例えば[説明内容]が{方法}である場合、[対象]
と[動作]の情報がその質問を構成する上で必要なこと
がわかる。従って[対象]と[動作]の各情報がそれぞ
れ入力されていないとき、これを省略ありと判断する。
For example, if [Description] is {method}, [Target]
You can see that and the Action information is needed to construct the question. Therefore, when each information of [Target] and [Operation] is not input, it is determined that this is omitted.

しかして次に、前記第3図(a)に示す候補間矛盾表
を参照して各構成項目毎に入力された内容間の矛盾のチ
ェックが行われる。そしてその内容間の関係が上記矛盾
表に記述されている場合、これを矛盾ありと判定する。
Then, next, with reference to the candidate conflict table shown in FIG. 3 (a), the conflict between the contents entered for each component is checked. If the relationship between the contents is described in the above contradiction table, it is determined that there is a contradiction.

このような省略と矛盾に対する判定処理によって前述
した質問『文章の削除方法が知りたい。』は省略や矛盾
がないことが判定され、質問『罫線の作成を知りた
い。』はその[説明内容]の構成項目に省略が有り、他
に矛盾がないことが判定される。
The question "I would like to know how to delete sentences" mentioned above by the judgment processing for such omissions and inconsistencies. Is determined to have no omissions or contradictions, and the question "I want to know how to create ruled lines." ”Is omitted in the constituent items of the [description content], and it is determined that there is no contradiction.

しかして入力された質問に省略や矛盾があることが解
析され、判断されると前記状態解析部14が起動され、そ
のときの応用処理機能部13の状態が調べられる(ステッ
プf)。つまり処理制御装置2が、どのような応用処理
を実行していたかが調べられる。この結果、例えばエラ
ーの発生状況等が内部的に求められることになる。
Then, the entered question is analyzed for omission or inconsistency, and if judged, the state analysis unit 14 is activated and the state of the applied processing function unit 13 at that time is checked (step f). That is, it is possible to check what kind of applied processing the processing control device 2 was executing. As a result, for example, the status of error occurrence is internally requested.

しかして項目候補生成部15は上記応用処理機能部13の
状況情報と、前記第5図に表示例として示すような項目
候補表を参照して前記項目候補リスト・データバッファ
22に、例えば第6図(a)に示すような項目候補リスト
を作成する(ステップg)。尚、この項目候補リスト
は、項目候補表の各内容にそれぞれ対応する点数記入欄
を設ける等して実現される。そして『罫線の作成を知り
たい。』なる質問が入力され、その時、前記状態解析部
14から応用処理機能部13が罫線を取扱っていたことが示
されると、項目候補リストは次のようにして作成され
る。
Then, the item candidate generation unit 15 refers to the status information of the application processing function unit 13 and the item candidate table as a display example in FIG. 5 to refer to the item candidate list / data buffer.
For example, an item candidate list as shown in FIG. 6A is created in 22 (step g). The item candidate list is realized by providing score entry columns corresponding to the respective contents of the item candidate table. And "I want to know how to make ruled lines. ] Question is input, and at that time, the state analysis unit
When it is indicated from 14 that the application processing function unit 13 is handling ruled lines, the item candidate list is created as follows.

先ず状態解析部14から前記応用処理機能部13が罫線を
取扱っていたことが示されることから、最初に項目候補
表データバッファ21に格納されている{罫線}に対して
高い点数、例えば10点を与える。そしてこの{罫線}な
る内容と矛盾することのない[動作]を前記矛盾表から
調べ、矛盾することのない項目候補に低い点数を与え
る。具体的には{罫線}と矛盾する[動作]の内容が
{挿入}だけであるから{作成}{移動}{削除}等
に、例えばそれぞれ5点を与える。
First, since the state analysis unit 14 indicates that the applied processing function unit 13 is handling ruled lines, a score higher than {ruled lines} stored in the item candidate table data buffer 21 is high, for example, 10 points. give. Then, the [operation] that does not conflict with the content of {ruled line} is checked from the conflict table, and a low score is given to the item candidates that do not conflict. Specifically, since the only content of the [operation] that contradicts the {ruled line} is {insert}, 5 points are given to {create} {move} {delete} etc., respectively.

しかる後、質問項目データバッファ20を参照し、そこ
に格納されている構成項目の内容を求める。この場合、
{罫線}と{作成}の情報がそれぞれ格納されているこ
とから、項目候補リストの{罫線}と{作成}の点数項
目にそれぞれ高い点数、例えば20点を与える。この結
果、{罫線}の点数項目には、先の点数を加えた30点が
格納されることになる。
After that, the question item data buffer 20 is referred to and the contents of the configuration items stored therein are obtained. in this case,
Since the information of {ruled line} and {created} is stored respectively, a high score, for example, 20 points is given to the scored items of {ruled line} and {created} in the item candidate list. As a result, the score item of {ruled line} stores 30 points including the previous score.

また同時に{作成}が可能な構成項目の内容の中には
上記{罫線}のみならず{文書}等も存在することか
ら、前記矛盾表に従って[対象]の項目中の上記{罫
線}に接続可能な候補についてそれぞれ低い点数を与え
る。
At the same time, since not only the above {ruled line} but also {document} etc. exist in the contents of the constituent items that can be {created}, connect to the above {ruled line} in the item of [Target] according to the above conflict table. Give a low score for each possible candidate.

続いてこれらの[対象]と[動作]の各内容をそれぞ
れ必要とする[説明内容]を前記構成項目対応表から調
べ、その組合せが成立する各構成項目の候補に対してそ
れぞれ加点する。
Subsequently, the [explanatory content], which requires the respective contents of [object] and [operation], is checked from the configuration item correspondence table, and points are added to the respective configuration item candidates for which the combination is established.

このような加点処理を施すことによって、例えば第6
図(a)に示すように各候補に対してそれぞれ点数が与
えられることになる。この際、或る値以下の点数しか与
えられなかった候補については、質問を構成する可能性
が殆んどないとして項目候補リストから省くようにして
も良い。
By performing such point addition processing, for example, the sixth
As shown in FIG. 7A, a score will be given to each candidate. At this time, candidates that are given a score of a certain value or less may be omitted from the item candidate list because there is almost no possibility of forming a question.

しかる後、質問構成部16は上記項目候補リストに従っ
て次のようにして省略や矛盾のない質問を生成する。
After that, the question forming unit 16 creates a question without omission or contradiction as follows according to the item candidate list.

先ず上記項目候補リストから[説明内容]の項目の1
つの候補Xを抽出する(ステップh)。この候補Xの抽
出は、例えば点数の高いものから順に行われる。そして
その[説明内容]の候補Xについて前記候補項目対応表
を参照し、[対象]を必要とするか否かが判定される
(ステップi)。[対象]を必要とする場合には、前記
項目候補リストから[対象]の項目の1つの候補Yを抽
出する(ステップj)。この候補Yの抽出も同様にし
て、例えば点数の高いものから順に行われる。
First, from the item candidate list above, select item 1 of the [Description content] item.
Extract one candidate X (step h). The extraction of the candidate X is performed, for example, in descending order of score. Then, with respect to the candidate X of the [description content], the candidate item correspondence table is referred to, and it is determined whether or not the [target] is required (step i). When [target] is required, one candidate Y of the item of [target] is extracted from the item candidate list (step j). The extraction of the candidate Y is performed in the same manner, for example, from the highest score.

そしてこの[対象]の候補Yについても前記候項目対
応表を参照し、[動作]を必要とするか否かを判定し
(ステップk)、必要とする場合には[動作]の候補Z
をその点数の高いものから順に1つづつ抽出する(ステ
ップl)。この場合、抽出した[動作]の候補Zが[対
象]の候補Yと矛盾するか否かを前記矛盾表を参照して
調べ(ステップm)、矛盾する場合には[動作]の候補
Zの抽出をやり直す。
The candidate Y of this [object] is also referred to the above-mentioned weather item correspondence table, and it is judged whether or not [action] is required (step k). If it is necessary, the candidate Z of [action] is determined.
Are extracted one by one in order from the highest score (step l). In this case, whether or not the extracted [action] candidate Z is inconsistent with the [target] candidate Y is checked by referring to the inconsistency table (step m). Repeat the extraction.

このような一連の処理によって前記項目候補リストか
ら、矛盾や省略のない構成項目内容(候補X,Y,Z)の組
合せ、つまり質問候補を求め、その候補X,Y,Zにそれぞ
れ与えられた点数の合計点を計算し、これを登録する
(ステップh)。
Through such a series of processing, a combination of constituent item contents (candidates X, Y, Z) without any contradiction or omission, that is, a question candidate is obtained from the item candidate list, and is given to each of the candidates X, Y, Z. The total score is calculated and registered (step h).

以上の処理を前記項目候補リストの各候補X,Y,Zの全
ての組合せについて繰返し実行する(ステップo)。
The above process is repeated for all combinations of the candidates X, Y, Z in the item candidate list (step o).

その後、上記候補X,Y,Zの組合せとその合計点数か
ら、点数が最も大きい候補X,Y,Zの組合せを求め(ステ
ップp)、これを前記入力された質問が意図する本来の
質問であるとする。そしてこのようにして生成された質
問についてその回答を検索し(ステップd)、求められ
た回答を出力する(ステップe)。
After that, the combination of the candidates X, Y, Z having the highest score is obtained from the combination of the above candidates X, Y, Z and the total score thereof (step p), and this is the original question intended by the input question. Suppose there is. Then, the answer is retrieved for the question generated in this way (step d), and the obtained answer is output (step e).

このような処理手続きによれば、入力された質問が不
完全であっても、つまり『罫線の作成を知りたい。』の
ように日本語特有の省略表現により、その[説明内容]
の内容が入力されない場合であっても、その内容が{方
法}であることが効果的に推論される。この結果、入力
された質問の意図を汲取って『罫線の作成方法を知りた
い。』のようにその質問が正しく推論生成されることに
なる。そしてその質問に対する回答を効果的に求めるこ
とが可能となる。
According to such a processing procedure, even if the entered question is incomplete, that is, "I want to know the ruled line creation. [Explanation content]
Even if the content of is not input, it is effectively inferred that the content is {method}. As a result, taking intent of the entered question, "I want to know how to create ruled lines. That question will be inferred and generated correctly. Then, it becomes possible to effectively obtain the answer to the question.

尚、本発明は上述した実施例に限定されるものではな
い。例えば質問を構成する構成項目の数やその種類は、
その入力が予想される質問の種類に応じて定めれば良い
ものである。また項目候補リスト中の全ての候補の組合
せに対する点数を計算し、その中の最大値をとる候補の
組合せを質問として採用することに代えて、最初に矛盾
なく求められた項目候補の組合せを質問として採用する
ようにしても良い。また推論した複数の質問を利用者に
呈示し、その中から選択指定された質問について回答を
求めるようにしても良い。その他、本発明はその要旨を
逸脱しない範囲で種々変形して実施することが可能であ
る。
The present invention is not limited to the above embodiment. For example, the number and types of configuration items that make up a question are
It may be determined according to the type of question expected to be input. Instead of calculating the score for all combinations of candidates in the item candidate list and adopting the candidate combination that takes the maximum value as the question, ask the combination of item candidates that was initially obtained without contradiction. May be adopted as. Alternatively, a plurality of inferred questions may be presented to the user, and an answer may be asked for a question selected and designated from the questions. In addition, the present invention can be variously modified and implemented without departing from the scope of the invention.

[発明の効果] 以上説明したように本発明によれば、入力した質問内
容に省略や矛盾が含まれる場合であっても、その質問の
意図を汲取った質問を推定し、推定された質問に従って
その回答を求めることができる。従って質問形式による
処理操作の間合せを簡易に、且つ効果的に行なうことが
可能となり、情報処理機器を効果的に運用することが可
能となる等の実用上多大なる効果が奏せられる。
[Effects of the Invention] As described above, according to the present invention, even when an omission or a contradiction is included in the input question content, a question that takes intent of the question is estimated, and the estimated question is estimated. You can ask for the answer. Therefore, it is possible to easily and effectively perform the process operation in the question form, and it is possible to effectively operate the information processing device, which is a great practical effect.

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

図は本発明の一実施例方式を示すもので、第1図は実施
例方式を採用して構成される日本語ワードプロセッサの
質問処理部の概略構成図、第2図は実施例方式における
処理手続きの流れを示す図、第3図(a)は候補間矛盾
表の構成例を示す図、第3図(b)は候補項目対応表の
構成例を示す図、第4図(a)(b)は質問に対する回
答データの格納構造例を示す図、第5図(a)(b)は
項目候補表の構成例と質問の入力例を示す図、第6図
(a)(b)は項目候補リストの構成例を示す図であ
る。 1……入力装置、2……処理制御装置、3……出力装
置、4……外部記憶装置、11……入力部、12……質問解
析部、13……応用処理機能部、14……状態解析部、15…
…項目候補生成部、16……質問構成部、17……回答検索
部、18……出力部、19……データバッファ部、20……質
問項目データバッファ、21……項目候補表データバッフ
ァ、22……項目候補リスト・データバッファ。
FIG. 1 shows an embodiment system of the present invention. FIG. 1 is a schematic configuration diagram of a question processing unit of a Japanese word processor configured by adopting the embodiment system, and FIG. 2 is a processing procedure in the embodiment system. FIG. 3 (a) is a diagram showing a configuration example of a candidate contradiction table, FIG. 3 (b) is a diagram showing a configuration example of a candidate item correspondence table, and FIGS. 4 (a) and 4 (b). ) Is a diagram showing an example of a storage structure of answer data to a question, FIGS. 5 (a) and (b) are diagrams showing a configuration example of an item candidate table and a question input example, and FIGS. 6 (a) and (b) are items. It is a figure which shows the structural example of a candidate list. 1 ... Input device, 2 ... Processing control device, 3 ... Output device, 4 ... External storage device, 11 ... Input unit, 12 ... Question analysis unit, 13 ... Applied processing function unit, 14 ... State analysis part, 15 ...
… Item candidate generation unit, 16 …… Question composition unit, 17 …… Answer search unit, 18 …… Output unit, 19 …… Data buffer unit, 20 …… Question item data buffer, 21 …… Item candidate table data buffer, 22 …… Item candidate list / data buffer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力された質問情報を構成項目単位に分割
して各構成項目の内容をそれぞれ抽出する抽出手段と、 構成項目間の内容の応じた矛盾条件を格納した矛盾表テ
ーブルを参照して前記構成項目単位に抽出された内容間
の矛盾を調べる矛盾判定手段と、 特定の構成項目の内容について質問を構成するのに必要
な構成項目を格納した候補項目対応表テーブルを参照し
て前記質問情報の構成項目の省略を調べる省略判定手段
と、 装置の処理状態を検出する状態検出手段と、 前記質問情報に矛盾または省略があると判定された際
に、各構成項目毎にその項目内容の候補を格納した項目
候補表テーブルを参照して項目候補リストを生成し、こ
の項目候補リストの各構成項目の候補内容に前記装置の
状態情報及び質問情報の構成項目の抽出内容に応じた重
み付けを行う候補リスト生成手段と、 この項目候補リストに付与された重み情報に従って優先
度の高い各構成項目の候補内容を順次取り出し、これら
各構成項目の候補内容を組み合わせて質問候補を生成す
る質問候補生成手段と、 この質問候補に基づいて最終的な矛盾判定及び省略判定
を行う制御手段と を具備することにより、矛盾や省略のある質問に対する
本来の質問を推定するようにしたことを特徴とする質問
推定装置。
1. An extraction means for dividing input question information into constituent item units to extract the contents of each constituent item, and a contradiction table table storing contradiction conditions corresponding to the contents between constituent items. By referring to the contradiction determining means for checking the contradiction between the contents extracted in units of the configuration items and the candidate item correspondence table table storing the configuration items necessary to compose the question about the contents of the specific configuration item. Omission determination means for checking omission of configuration items of question information, state detection means for detecting the processing state of the device, and item content for each configuration item when it is determined that the question information is inconsistent or omitted The item candidate list table storing the candidates is generated to generate the item candidate list, and the candidate contents of each constituent item of the item candidate list are used as the extracted contents of the constituent items of the device status information and question information. A candidate list generating means for performing weighting according to the above, and sequentially extracting candidate contents of each high-priority constituent item according to the weight information given to this item candidate list, and combining candidate contents of these respective constituent items to generate a question candidate. By providing the question candidate generating means and the control means for making the final contradiction determination and omission determination based on the question candidate, it is possible to estimate the original question for the question with contradiction or omission. Characteristic question estimation device.
JP61120900A 1986-05-26 1986-05-26 Question estimator Expired - Lifetime JPH083795B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61120900A JPH083795B2 (en) 1986-05-26 1986-05-26 Question estimator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61120900A JPH083795B2 (en) 1986-05-26 1986-05-26 Question estimator

Publications (2)

Publication Number Publication Date
JPS62276632A JPS62276632A (en) 1987-12-01
JPH083795B2 true JPH083795B2 (en) 1996-01-17

Family

ID=14797775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61120900A Expired - Lifetime JPH083795B2 (en) 1986-05-26 1986-05-26 Question estimator

Country Status (1)

Country Link
JP (1) JPH083795B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2755585B2 (en) * 1988-01-19 1998-05-20 株式会社東芝 Question processing system
CN101339551B (en) 2007-07-05 2013-01-30 日电(中国)有限公司 Natural language query requirement expansion equipment and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
情報処理学会「第32回(昭和61年前期)全国大会講演論文集(▲II▼)」P.1305−1306P.1267−1268

Also Published As

Publication number Publication date
JPS62276632A (en) 1987-12-01

Similar Documents

Publication Publication Date Title
CN109634436B (en) Method, device, equipment and readable storage medium for associating input method
JPH11110416A (en) Method and device for retrieving document from data base
JP2002215617A (en) Method for attaching part of speech tag
CN113971212B (en) Multilingual question-answering methods, devices, electronic devices and storage media
US20240412725A1 (en) Presentation evaluation device
CN115759048A (en) A script text processing method and device
JP7216627B2 (en) INPUT SUPPORT METHOD, INPUT SUPPORT SYSTEM, AND PROGRAM
JPH083795B2 (en) Question estimator
JPS61260366A (en) Mechanical translating system having learning function
CN112732885A (en) Answer extension method and device for question-answering system and electronic equipment
JP4300056B2 (en) CONCEPT EXPRESSION GENERATION METHOD, PROGRAM, STORAGE MEDIUM, AND CONCEPT EXPRESSION GENERATION DEVICE
JP2002014751A (en) On-line help system
JP3056810B2 (en) Document search method and apparatus
JPH0748217B2 (en) Document summarization device
TWI599897B (en) Methodologies, systems, computer programs, and human readable help by asking questions Get record media
JP3210842B2 (en) Information processing device
JPS6362018A (en) Question estimating system
JP2753736B2 (en) Context processing method by area specification
JP2001325292A (en) System and method for judging similarity degree of compound word and recording medium
JP2588210B2 (en) Help guide method
JPH0695827A (en) Guide device
JP2755585B2 (en) Question processing system
CN121960400A (en) Document processing methods, apparatus, equipment, media and computer program products
JPH0410161A (en) Omission compensating processing device
JPH08235177A (en) Information processor