Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0416826B2 - - Google Patents
[go: Go Back, main page]

JPH0416826B2 - - Google Patents

Info

Publication number
JPH0416826B2
JPH0416826B2 JP60155995A JP15599585A JPH0416826B2 JP H0416826 B2 JPH0416826 B2 JP H0416826B2 JP 60155995 A JP60155995 A JP 60155995A JP 15599585 A JP15599585 A JP 15599585A JP H0416826 B2 JPH0416826 B2 JP H0416826B2
Authority
JP
Japan
Prior art keywords
dialogue
pair
stack
topic
management means
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
JP60155995A
Other languages
Japanese (ja)
Other versions
JPS6217871A (en
Inventor
Hitomi Shimada
Taizo Myaji
Koichi Furukawa
Shozo Kondo
Takashi Tasai
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 JP60155995A priority Critical patent/JPS6217871A/en
Publication of JPS6217871A publication Critical patent/JPS6217871A/en
Publication of JPH0416826B2 publication Critical patent/JPH0416826B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、コンピユータとそのユーザとのコ
ミユニケーシヨンにおける話題の認識と管理に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to the recognition and management of topics in communication between a computer and its users.

[従来の技術] 一般に、現在利用されているコンピユータとそ
のユーザとのコミユニケーシヨンにおいては、話
題を認識及び管理するという概念も方式も用いら
れておらず、そのため、コンピユータのマンマシ
ンインタフエースは柔軟さに欠け、使いにくい。
[Prior Art] In general, currently used communication between computers and their users does not use the concept or method of recognizing and managing topics, and therefore the man-machine interface of computers is It lacks flexibility and is difficult to use.

これに対し、データベースアクセスを制限され
た日本語を用いて行う、という動作に対象を限定
し、ユーザの入力を1つの話題とみなしてそれを
管理する方式と、それをプログラムとして実現し
利用するコンピユータシステムが提案されてい
る。第9図にこのコンピユータシステムの構成
を、第10図にそのコントローラの処理の流れを
示す。また、第11図はコントローラが利用する
短期記憶(Short Term Memory:STMと略
す)形式である。
In contrast, we have developed a method that limits the target to database access using restricted Japanese, treats user input as one topic, and manages it, and implements and utilizes it as a program. A computer system has been proposed. FIG. 9 shows the configuration of this computer system, and FIG. 10 shows the processing flow of the controller. Further, FIG. 11 shows the short term memory (abbreviated as STM) format used by the controller.

第9図において、73は、このコンピユータシ
ステム全体を制御するコントローラであり、この
コントローラの処理順序が第10図に相当する。
このコンピユータシステムはユーザ75から入力
された質問76を文解析80が解析し、STM7
4の中に第11図の形式で格納する。この形式の
1つの単位86が1つの質問に対応している。問
題解決処理81では、STM74の中身に応じて、
ユーザ問い合わせ82,確認83,解答84を行
う。
In FIG. 9, 73 is a controller that controls the entire computer system, and the processing order of this controller corresponds to that in FIG. 10.
In this computer system, a sentence analyzer 80 analyzes a question 76 input by a user 75, and the STM7
4 in the format shown in FIG. One unit 86 of this format corresponds to one question. In the problem solving process 81, depending on the contents of the STM 74,
A user inquiry 82, confirmation 83, and answer 84 are performed.

上記コンピユータシステムにおいては、ユーザ
から入力された質問が話題である。そしてその質
問に対し、解答が出された場合には、その話題は
終了したとみなされる。キー85は、このような
質問の処理状態を示すものであり、処理中/処理
済がある。そして質問がデータベースアクセスに
対し十分な情報を持つか否かが問題解決処理81
により判定され、もし不足情報があればユーザ問
い合わせ82が起こる。この時ユーザは、問い合
わせに対する解を入力する代わりに他の質問を行
うことができる。他の質問が入力された場合には
先の質問のキーが処理済になつていないため話題
転換が起つたとみなされ、コントローラ73が再
帰的に呼び出され、新しい質問の処理が進む。新
しい質問が処理済になると、コントローラはもと
の状態に自動的に戻る。ここで、先のユーザ問い
合わせの場面に復帰する。
In the computer system described above, questions input by users are topics of discussion. If an answer is given to the question, the topic is considered to have ended. The key 85 indicates the processing status of such a question, and includes processing/processed. Problem solving process 81 determines whether the question has sufficient information for database access.
If there is missing information, a user inquiry 82 occurs. At this time, the user can ask other questions instead of inputting an answer to the query. If another question is input, since the key for the previous question has not been processed, it is assumed that a change in topic has occurred, and the controller 73 is called recursively to proceed with the processing of the new question. Once the new question has been processed, the controller automatically returns to its original state. Here, the scene returns to the previous user inquiry.

[発明が解決しようとする問題点] 以上のような話題の認識・管理方法では、次の
ような問題点があつた。
[Problems to be solved by the invention] The following problems arose in the topic recognition and management method described above.

(1) 「話題=ユーザの質問」であり、話題転換
を、質問処理中の別の質問入力ととらえている
ため、コントローラを再帰的に呼び出して処理
しなければならず、数段の話題転換(話題転換
中にさらに話題転換がおこつていくような状
態)が生じると著しく効率が低下する。
(1) Since "topic = user's question" and topic change is treated as another question input during question processing, the controller must be called recursively for processing, resulting in several steps of topic change. If this happens (a situation in which a topic change occurs while the topic is being changed), efficiency will drop significantly.

(2) ユーザ問い合わせに対し、もとの質問文を入
力しなおすこと(いい直し)ができず、使い方
が限定されてしまう。
(2) In response to a user inquiry, it is not possible to re-enter the original question (revise), which limits its usage.

(3) 対象がこのように限定されているため、汎用
性がない。
(3) Since the scope is limited in this way, there is no versatility.

(4) STMの大きさに制限がなく、また、話題転
換が何段おこつてもよいようになつているが、
実際のユーザとのコミユニケーシヨンにおいて
は、あまり何段も前に転換した話題まで逐一復
帰しても、返つてマンマシンインタフエースの
柔軟性を損う。
(4) There is no limit to the size of STM, and it is possible to change the topic in any number of steps.
In communication with actual users, even if you return to a topic that was changed several steps ago one by one, it will impair the flexibility of the man-machine interface.

この発明は、このような問題点を解消するため
になされたもので、ユーザにとつて使い易い、柔
軟なマンマシンインタフエースを実現することを
目的とするものである。
The present invention was made to solve these problems, and aims to realize a flexible man-machine interface that is easy to use for users.

[問題点を解決するための手段] この発明にかかる話題管理方式は、あらかじめ
質問文の型と応答文との型とが定義された対話対
を納めた対話対辞書と、コンピユータとユーザと
のコミユニケーシヨンの過程を対話対の履歴とし
て保持する対話対スタツクを用いて対話対の成立
を判定する対話対管理手段と、その判定結果によ
り話題の転換を認識し、認識結果に基づいて対話
対スタツクを操作して話題を管理する話題管理手
段を備えたものである。
[Means for Solving the Problems] The topic management method according to the present invention uses a dialogue pair dictionary containing dialogue pairs in which question sentence types and response sentence types are defined in advance, and a dialogue pair dictionary between a computer and a user. Dialogue pair management means that determines the establishment of a dialogue pair using a dialogue pair stack that maintains the process of communication as a history of dialogue pairs; It is equipped with topic management means for managing topics by manipulating the stack.

[作用] この発明においては、対話対が成立しなかつた
場合に話題転換がおこつたとみなし対話対スタツ
クを、新たな別の対話対スタツクに切り換える。
次に、対話対が成立した場合には、話題転換が終
了したとみなし、ユーザに復帰するか否かを確認
する。復帰する場合には、もとの対話対スタツク
に再び切り換える。話題転換が何段もおこつて切
り換える対話対スタツクがなくなつた場合には、
もつとも以前に使用していた対話対スタツクを用
いる。対話対スタツクをいくつ用意するかによつ
て、何段の話題転換を許すかが決る。
[Operation] In this invention, when a dialogue pair is not established, it is assumed that a topic change has occurred, and the dialogue pair stack is switched to a new, different dialogue pair stack.
Next, if a dialogue pair is established, it is assumed that the topic change has ended, and it is confirmed whether or not to return to the user. When returning, switch back to the original dialogue pair stack. When the dialogue stack that changes the topic after many steps is no longer available,
Instead, use the dialogue stack that was used previously. Depending on how many dialogue stacks you prepare will determine how many steps of topic change are allowed.

[発明の実施例] 第1図は、この発明による話題管理方式の一実
施例のブロツク図である。この実施例は第1図か
ら明らかなように、入出力処理手段1、話題管理
手段2、対話対管理手段3、ユーザ入力実行体4
と、対話対辞書5、対話対スタツク群6からな
る。1〜6の各ブロツクは、各々の名称が示す機
能を実現するプログラムである。また、第1図の
矢印は、これらブロツク間でやりとりされるデー
タ・要求が存在すること、及び、存在する場合の
やりとりの方向を示している。7はユーザ入力解
析結果、8は対話対管理手段3からのアクセス結
果、9は対話対管理手段へのアクセス要求、10
は入出力処理手段へのアクセス要求、11はユー
ザ入力実行形式、12はユーザ入力実行結果、1
3は対話対又はメツセージ、14は対話対スタツ
クへのアクセス要求、15は対話対スタツクから
のアクセス結果、16は対話対辞書へのアクセス
要求である。
[Embodiment of the Invention] FIG. 1 is a block diagram of an embodiment of a topic management system according to the present invention. As is clear from FIG.
, a dialogue pair dictionary 5, and a dialogue pair stack group 6. Each of blocks 1 to 6 is a program that implements the function indicated by each name. Further, the arrows in FIG. 1 indicate the existence of data/requests exchanged between these blocks, and the direction of the exchange if they exist. 7 is a user input analysis result, 8 is an access result from the dialogue management means 3, 9 is an access request to the dialogue management means, 10
is an access request to the input/output processing means, 11 is a user input execution format, 12 is a user input execution result, 1
3 is a dialogue pair or message, 14 is a request for access to the dialogue pair stack, 15 is an access result from the dialogue pair stack, and 16 is a request for access to the dialogue pair dictionary.

次に上記実施例の動作を第2図〜第8図を参照
しながら説明する。第2図は話題管理手段2の動
作を示すフローチヤート、第3図は対話対辞書の
形式と例、及び対話対辞書アクセスのフローチヤ
ート、第4図は対話対管理手段の動作を示すフロ
ーチヤート、第5図は対話対スタツク群の動作を
示すフローチヤート、第6図は入出力処理の動作
を示すフローチヤート、第7図はユーザ入力実行
体の動作を示すフローチヤート、そして第8図は
ユーザと、実施例の対話例、及びその時の対話対
スタツクの状態の変化の模式図である。
Next, the operation of the above embodiment will be explained with reference to FIGS. 2 to 8. FIG. 2 is a flowchart showing the operation of the topic management means 2, FIG. 3 is a flowchart showing the format and example of dialogue vs. dictionary, and dialogue vs. dictionary access, and FIG. 4 is a flowchart showing the operation of the dialogue vs. management means. , FIG. 5 is a flowchart showing the operation of the dialog pair stack group, FIG. 6 is a flowchart showing the operation of input/output processing, FIG. 7 is a flowchart showing the operation of the user input executable, and FIG. 8 is a flowchart showing the operation of the user input executable. FIG. 4 is a schematic diagram of an example of a user's interaction with the embodiment, and a change in the state of the interaction versus the stack at that time;

まず、ユーザからの入力を入出力処理手段1が
解析し、ユーザ入力解析結果7を話題管理手段2
に送る[第6図ステツプ66]。入出力処理手段
1は次の状態指定待ちとなる[同70]。
First, the input/output processing means 1 analyzes the input from the user, and the user input analysis result 7 is sent to the topic management means 2.
[Step 66 in Figure 6]. The input/output processing means 1 waits for the next state designation [70].

話題管理手段2はユーザ入力解析結果7をもと
に、対話対辞書5にアクセスし[第1図16]、
対話対辞書5から対話対13を得る[第3図2
8,29,31]。この時、対話対13として、
ユーザ入力解析結果7に対応するものがなけれ
ば、対話対辞書5はエラーメツセージ13を話題
管理手段2に返す[同30]。
The topic management means 2 accesses the dialogue pair dictionary 5 based on the user input analysis result 7 [FIG. 1 16],
Dialogue pair 13 is obtained from dialogue pair dictionary 5 [Fig.
8, 29, 31]. At this time, as dialogue pair 13,
If there is no corresponding user input analysis result 7, the dialogue pair dictionary 5 returns an error message 13 to the topic management means 2 [30].

話題管理手段2はエラーメツセージ13が送ら
れてきたら[第2図ステツプ17の「NO」側]、
それを入出力処理手段1に送る[同18]、入出
力処理手段1は、メツセージを表示した[第6図
67]後、再びユーザの入力をうけつける[同6
6]。
When the topic management means 2 receives the error message 13 [“NO” side in step 17 in FIG. 2],
The input/output processing means 1 sends it to the input/output processing means 1 [see 67], and after displaying the message [Fig. 6 67], the input/output processing means 1 receives the user's input again [see 6.
6].

対話対辞書5から対話対13を得られた場合に
は[第2図ステツプ17の「YES」側]、話題管
理手段2は、まず対話対管理手段3対話対スタツ
クの状態を問い合わせる[同19]。第2図ステ
ツプ20において対話対スタツクが空ならば、対
話対管理手段3に対話対13を送り、対話対スタ
ツクに登録させて[同21]、入出力処理手段1
を再びユーザの入力を受け付ける状態にし[同2
5]、ユーザとの対話を続ける。ステツプ20に
おいて対話対スタツクが空でないならば、前回の
ユーザ入力の言い直しが行なわれたのではない
か、チエツクする[同22]。
When the dialogue pair 13 is obtained from the dialogue pair dictionary 5 [“YES” side in step 17 in FIG. ]. If the dialogue pair stack is empty at step 20 in FIG.
to accept user input again [same 2
5], continue the dialogue with the user. If the dialogue pair stack is not empty in step 20, it is checked whether the previous user input was reworded [22].

これは、前回のユーザ入力解析結果7と、今回
のユーザ入力解析結果7を比較し中心となる対象
や、その対象に対する動作内容が一致しているな
ら、言い直しと判定される。言い直しの場合には
ステツプ24において、ユーザ入力解析結果7か
らユーザ入力実行形式11を作成し、ユーザ入力
実行体4に渡す。
This is determined to be a rewording if the previous user input analysis result 7 and the current user input analysis result 7 are compared and the central object and the action content for that object match. In the case of rewording, a user input execution form 11 is created from the user input analysis result 7 and passed to the user input execution body 4 in step 24 .

第7図に示すように、ユーザ入力実行体4で
は、ユーザ入力実行形式11を実行し71、実行
結果を入出力処理手段1に送る72。入出力処理
手段1では、第6図に示すように、ユーザ入力実
行結果12を整形し表示した後68、話題管理手
段2に実行結果12を送る69。
As shown in FIG. 7, the user input executable 4 executes the user input execution format 11 (71) and sends the execution result to the input/output processing means 1 (72). In the input/output processing means 1, as shown in FIG. 6, after formatting and displaying the user input execution result 12 (68), the execution result 12 is sent to the topic management means 2 (69).

話題管理手段2では、ユーザ入力解析結果7に
対するのと同様の手順を実行結果12に対しても
行う。言い直しではないと判定された場合には、
話題管理手段2は対話対管理手段3に対話対13
を送り[第2図23]、対話対が成立しているか
否かを確認させる[同26]。成立している場合
には、入出力処理手段1を再び入力を受けつける
状態にして[同25]、対話を続ける。成立して
いない場合には話題転換がおこつたとみなし、対
話対管理手段3に対話対13を送り、スタツク変
更要求と、登録要求を送る[同27]。その後、
入出力処理1を新しい入力を受け付ける状態にし
て[同25]、再び、対話を続ける。
The topic management means 2 performs the same procedure for the execution result 12 as it does for the user input analysis result 7. If it is determined that it is not a restatement,
The topic management means 2 is the dialogue management means 3 and the dialogue management means 3 is the dialogue management means 3.
[Figure 2, 23] and confirm whether or not a dialogue pair is established [Figure 2, 26]. If so, the input/output processing means 1 is put into a state of accepting input again [same 25], and the dialogue continues. If this has not been established, it is assumed that a change of topic has occurred, and the dialogue pair 13 is sent to the dialogue management means 3, and a stack change request and a registration request are sent [ibid. 27]. after that,
The input/output processing 1 is set to accept new input [25], and the dialogue continues again.

対話対管理手段3では、話題管理手段2から送
られる要求に対し、対話対スタツク群6を使用し
て処理する[第4図32〜47]。登録要求は対
話対スタツク群6に対話対登録14を要求し[同
45]、結果15を得る[同46]。結果が成功な
ら、話題管理手段2に処理が戻る[同44]。成
功でなかつたら、入出力処理1に対話の中断を知
らせるメツセージを表示させる[同47]。
The dialogue pair management means 3 processes requests sent from the topic management means 2 using the dialogue pair stack group 6 [FIG. 4, 32 to 47]. The registration request requests the dialogue pair stack group 6 to register the dialogue pair 14 [45] and obtains the result 15 [46]. If the result is successful, the process returns to the topic management means 2 [44]. If it is not successful, the input/output processing 1 displays a message informing that the dialogue has been interrupted [47].

上記登録要求の成功、不成功は、対話対スタツ
ク群6で判定される。あらかじめ設定されたスタ
ツクの深さ(max)より深いところに登録しよ
うとすると失敗する[第5図61〜65]。スタ
ツクの深さは通常の人間の短期記憶(一時的な記
憶。前記STMもこれを模倣するもの)に対応し
て、たとえば、5〜7とする。スタツクが空か否
かのチエツクは、やはり対話対スタツク群6でス
タツクの深さが0か否か、チエツクすることによ
り行なわれる[第5図55,56]。
The success or failure of the registration request is determined by the dialog pair stack group 6. Attempts to register deeper than the preset stack depth (max) will fail [FIG. 5, 61-65]. The depth of the stack is, for example, 5 to 7, corresponding to the short-term memory (temporary memory, which is also imitated by the above-mentioned STM) of a normal human being. Checking whether the stack is empty is also performed by checking whether the depth of the stack is 0 in the dialog pair stack group 6 [FIG. 5, 55, 56].

スタツクの変更は、対話対スタツク群6で、現
在のスタツクIDを次のスタツクIDに切り換え、
そのIDを返すことで実現される[第5図57〜
60]。切り換え用のスタツクは、たとえば3本
とする。これは、話題転換が一度に3段まで深く
起こつてもよいことを意味する。これも、短期記
憶との関係による。
To change the stack, use dialogue to stack group 6 to switch the current stack ID to the next stack ID,
This is achieved by returning that ID [Figure 5 57~
60]. For example, there are three stacks for switching. This means that topic changes may occur up to three levels deep at once. This also depends on the relationship with short-term memory.

対話対成立の確認は、対話対スタツク群6から
最新の対話対をとり出し[第4図33]、それを
対話対13と比較して、行なわれる[同34]。
対話対スタツク群6から取り出した最新の対話対
の含まれる応答分類ID[第3図]とユーザの入力
文に対応する対話対13の文型文類[第3図]が
一致したとき、対話対が成立したと判定する。成
立でないときはその旨話題管理手段2に返す[第
4図41]。成立しているときは、対話対スタツ
ク群6にスタツクを一つpop upさせる[同3
5]。
Confirmation of the establishment of a dialogue pair is performed by extracting the latest dialogue pair from the dialogue pair stack group 6 [FIG. 4, 33] and comparing it with dialogue pair 13 [FIG. 4, 34].
When the response classification ID [Fig. 3] included in the latest dialogue pair extracted from dialogue pair stack group 6 matches the sentence pattern sentence type [Fig. 3] of dialogue pair 13 corresponding to the user's input sentence, the dialogue pair is is determined to have been established. If it is not established, that fact is returned to the topic management means 2 [FIG. 4 41]. If it is true, pop up one stack in dialogue pair stack group 6 [Double 3]
5].

pop upして空になつたら[同36]、話題転換
からの復帰を意味するので対話対スタツク群6に
スタツク復帰要求を出し[同37]、1つ前に使
用していたスタツクを現在のスタツクにさせ[第
5図49〜52]、その後話題管理手段2に成立
を返す[第4図38]。pop upして空でなかつた
ら、まだ一連の対話が続いていると考えらるの
で、話題管理手段2に成立を返すだけである。
When it pops up and becomes empty [Ibid. 36], it means returning from the topic change, so I send a stack recovery request to dialogue stack group 6 [Ibid. 37], and change the previously used stack to the current one. Stack [FIG. 5 49-52], and then return success to the topic management means 2 [FIG. 4 38]. If it pops up and is not empty, it is considered that the series of dialogues is still continuing, so just return success to the topic management means 2.

以上のようにして、ユーザと実施例の間で対話
が進んでいく。実施例における対話例と、それに
伴う対話対スタツクの状態の変化を第8図に模式
的に示した。
In the manner described above, the dialogue progresses between the user and the embodiment. FIG. 8 schematically shows an example of dialogue in the embodiment and the accompanying change in the state of the dialogue pair stack.

なお上記実施例では、話題管理手段2、対話対
管理手段3、対話対スタツク群6は各々前者のサ
ブルーチンプログラムのように実現しているが、
このわけ方は上記話題管理方式を実現するのであ
れば、記述言語等の応じて任意である。また、対
話対スタツクの深さ、切り換え用対話対スタツク
の数は、実施例のユーザ入力実行体4の機能に依
存して変更することが可能である。もちろんユー
ザ入力実行体4は任意の分野が考えられる。ま
た、入出力処理1は第6図に示した動作が保証さ
れる範囲で、各種技術が適用可能である。
In the above embodiment, the topic management means 2, the dialogue pair management means 3, and the dialogue pair stack group 6 are each realized like the former subroutine program, but
This division is arbitrary depending on the description language, etc., as long as the topic management method described above is realized. Further, the depth of the dialogue pair stack and the number of dialogue pair stacks for switching can be changed depending on the function of the user input executable 4 of the embodiment. Of course, the user input executable 4 can be in any field. Furthermore, various techniques can be applied to the input/output processing 1 as long as the operation shown in FIG. 6 is guaranteed.

[発明の効果] 以上のようにこの発明によれば、対話対辞書を
利用して話題の転換を認識し、対話対スタツクを
切り換えることによつて話題の管理を行うように
したので、処理効率を低下させることなく、また
使い方が限定されず、汎用性があり、ユーザにと
つてより自然なマンマシンインタフエースを供給
することができる。
[Effects of the Invention] As described above, according to the present invention, the conversation pair dictionary is used to recognize the change in topic, and the topics are managed by switching the conversation pair stack, which improves processing efficiency. It is possible to provide a man-machine interface that has versatility and is more natural to the user without degrading the performance, is not limited in usage, and is versatile.

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

第1図はこの発明による話題管理方式の一実施
例の全体構成図、第2図はその話題管理手段の動
作を示すフローチヤート、第3図はその対話対辞
書の形式と例、及び対話対辞書アクセスのフロー
チヤート、第4図はその対話対管理手段の動作を
示すフローチヤート、第5図はその対話対スタツ
ク群の動作を示すフローチヤート、第6図はその
入出力処理手段の動作を示すフローチヤート、第
7図はそのユーザ入力実行体の動作を示すフロー
チヤート、第8図はユーザとその実施例の対話
例、及びその時の対話対スタツクの状態の変化の
模式図である。また第9図は従来の話題管理方式
を実現しているコンピユータシステムの構成図、
第10図はそのコントローラの処理の流れ、第1
1図はそのコントローラが利用する短期記憶の形
式である。 図において、2は話題管理手段、3は対話対管
理手段、5は対話対辞書、6は対話対スタツク群
である。なお、各図中同一符号は同一、または相
当部分を示す。
FIG. 1 is an overall configuration diagram of an embodiment of the topic management method according to the present invention, FIG. 2 is a flowchart showing the operation of the topic management means, and FIG. 3 is a format and example of the dialogue pair dictionary, and a dialogue pair dictionary. Flowchart of dictionary access; FIG. 4 is a flowchart showing the interaction and operation of the management means; FIG. 5 is a flowchart showing the interaction and operation of the stack group; FIG. 6 is a flowchart showing the operation of the input/output processing means. FIG. 7 is a flowchart showing the operation of the user input executable, and FIG. 8 is a schematic diagram of an example of interaction between the user and the embodiment, and a change in the state of the interaction versus stack at that time. Figure 9 is a configuration diagram of a computer system that implements the conventional topic management method.
Figure 10 shows the processing flow of the controller, the first
Figure 1 shows the format of short-term memory used by the controller. In the figure, 2 is a topic management means, 3 is a dialogue pair management means, 5 is a dialogue pair dictionary, and 6 is a dialogue pair stack group. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 1 コンピユータとユーザとのコミユニケーシヨ
ンにより処理を実行するコンピユータシステムに
おいて、質問文の型と応答文の型との対応関係を
規定した対話対を納めた対話対辞書と、質問文の
解析結果として得た質問文の型をキーに対話対辞
書から取り出した対話対を蓄える複数個の対話対
スタツクと、応答文の解析結果として得た応答文
の型をキーに対話対辞書から取り出した対話対と
対話対スタツクに蓄えられている対話対とを比較
し、質問文と応答文の対応関係が成立するか否か
を判定して、判定結果が一致であれば対話対を対
話対スタツクから取り除く対話対管理手段と、判
定結果が不一致のときに別の対話対スタツクに対
話対スタツクを切り替える話題管理手段とを備え
たことを特徴とするコンピユータシステムにおけ
る話題管理方式。
1. In a computer system that executes processing through communication between a computer and a user, there is a dialogue pair dictionary that stores dialogue pairs that define the correspondence between question sentence types and response sentence types, and a dialogue pair dictionary that stores dialogue pairs that define the correspondence between question sentence types and response sentence types, and the analysis results of question sentences. A plurality of dialogue pair stacks store dialogue pairs retrieved from a dialogue pair dictionary using the obtained question sentence type as a key, and a dialogue pair stack that stores dialogue pairs retrieved from a dialogue pair dictionary using the response sentence type obtained as a result of analysis of response sentences as a key. and the dialogue pairs stored in the dialogue pair stack, determine whether the correspondence between the question sentence and the response sentence is established, and if the judgment results match, remove the dialogue pair from the dialogue pair stack. 1. A topic management method in a computer system, comprising a dialog pair management means and a topic management means for switching a dialog pair stack to another dialog pair stack when the determination results do not match.
JP60155995A 1985-07-17 1985-07-17 Topic control system in computer system Granted JPS6217871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60155995A JPS6217871A (en) 1985-07-17 1985-07-17 Topic control system in computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60155995A JPS6217871A (en) 1985-07-17 1985-07-17 Topic control system in computer system

Publications (2)

Publication Number Publication Date
JPS6217871A JPS6217871A (en) 1987-01-26
JPH0416826B2 true JPH0416826B2 (en) 1992-03-25

Family

ID=15618042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60155995A Granted JPS6217871A (en) 1985-07-17 1985-07-17 Topic control system in computer system

Country Status (1)

Country Link
JP (1) JPS6217871A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63153631A (en) * 1986-12-17 1988-06-27 Fujitsu Ltd Control system for interactive processing of natural language
JPS6428777A (en) * 1987-07-23 1989-01-31 Atr Jido Honyaku Denwa System for defining omitted part of interactive sentence
SE466029B (en) * 1989-03-06 1991-12-02 Ibm Svenska Ab DEVICE AND PROCEDURE FOR ANALYSIS OF NATURAL LANGUAGES IN A COMPUTER-BASED INFORMATION PROCESSING SYSTEM
WO2001003006A1 (en) * 1999-07-06 2001-01-11 Cai Co., Ltd. System and method for natural language dialog by computer and recorded medium
JP6210934B2 (en) * 2014-05-26 2017-10-11 日本電信電話株式会社 Topic conversion detection device, method, and program

Also Published As

Publication number Publication date
JPS6217871A (en) 1987-01-26

Similar Documents

Publication Publication Date Title
EP0441089B1 (en) Using command similarity in an intelligent help system
US6314411B1 (en) Artificially intelligent natural language computational interface system for interfacing a human to a data processor having human-like responses
CN110019753B (en) Method and device for outputting rhetorical questions for user questions
JPH0416826B2 (en)
US5946499A (en) Method and apparatus for processing text inputs from multiple input devices in a plurality of applications
CN120930384A (en) Simulation modeling method, system and computer equipment based on natural language
JP2024009724A (en) Dialogue answer candidate suggestion system and dialogue answer candidate proposal method
WO2005048064A2 (en) Programming virtual robots using template
CN117827674A (en) Defect and test case matching method and device, electronic equipment and storage medium
Roberts Help: a question answering system
JPH02128246A (en) Control system in discrete data base system
JPS63106042A (en) Method for recognizing intention of conversation text
Little et al. Standards for user procedures and data formats in automated information systems and networks
CN119202163A (en) Question answering method, device and storage medium based on language large model
Rohr How people comprehend unknown system structures: Conceptual primitives in systems' surface representations
JPH0244463A (en) Original text input method in machine translation system
CN116628170A (en) AI-based reference material generation method and its application in code writing
MIKULECKÝ et al. PVT-Computer Technique Corporation, 949 01 Nitra, Slovak Republic
JP2734826B2 (en) Natural language interpretation method
JPH03126159A (en) Emulator for distributed processing terminal
HK40042649B (en) Intelligent question-answering method, device, server and computer-readable storage medium
Appelt Planning and language generation in problem-soiving systems
JPS62276632A (en) Question estimation system
JPH02245932A (en) Apparatus and method for assisting the operation of applied systems
Maravall et al. Self-emergence of a common lexicon by evolution in teams of autonomous agents

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term