JP2007264199A - Interactive device, interactive method, interactive system, and computer program - Google Patents
Interactive device, interactive method, interactive system, and computer program Download PDFInfo
- Publication number
- JP2007264199A JP2007264199A JP2006087671A JP2006087671A JP2007264199A JP 2007264199 A JP2007264199 A JP 2007264199A JP 2006087671 A JP2006087671 A JP 2006087671A JP 2006087671 A JP2006087671 A JP 2006087671A JP 2007264199 A JP2007264199 A JP 2007264199A
- Authority
- JP
- Japan
- Prior art keywords
- topic information
- topic
- dialog
- dialogue
- update
- 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.)
- Abandoned
Links
Images
Abstract
Description
本発明は、ユーザと対話を行う対話装置、対話方法、対話システム及びコンピュータプログラムに関するものである。 The present invention relates to a dialogue apparatus, a dialogue method, a dialogue system, and a computer program that perform a dialogue with a user.
近年、音声や自然言語入力を可能とするインタフェースに関する研究が盛んである。また、そのようなインタフェースを用いるエキスパートシステムなどが多数開発され、入力された音声やテキストなどを受理する装置が一般向けにも利用可能となっている。 In recent years, research on interfaces that enable speech and natural language input has been active. In addition, many expert systems using such an interface have been developed, and a device that accepts input speech, text, and the like is also available to the general public.
自然言語による入力を行う場合にはユーザはシステムが必要とする全ての条件を一度に入力することは少なく、ユーザとシステムとの間でのやりとりが必要となる。例えばユーザの入力内容に不備がある場合には、システムは、その足りない条件をユーザに問い合わせ、その問い合わせに対するユーザの回答を統合するなどの処理が必要となる。このような処理を行うためにユーザとシステムとの対話処理技術が不可欠である。 When inputting in a natural language, the user rarely inputs all the conditions required by the system at once, and exchange between the user and the system is required. For example, when the user input is incomplete, the system needs to inquire the user about the missing condition and integrate the user's answer to the inquiry. In order to perform such processing, dialogue processing technology between the user and the system is indispensable.
このような自然言語入力は、人間にとって普段から慣れている入力方法であるため、特に操作が複雑で大規模なシステムのインタフェースでの利用が望まれている。こういった大規模なシステムでは、全体の目的を達成するために複数の副目的を達成するといった対話が必要となる。このため、対話処理技術ではそれぞれの目的に対応した複数の話題を取り扱う必要がある。同時にユーザの対話中の翻意などに対応した白由な対話を可能とするという観点では、システムが望む情報に関するユーザ入力のみを受理するのではなくユーザから自由に実行したい話題を指定でき、かつユーザによって対話に導入された様々な話題を統合して全体の目的を達成するような対話が可能であることが望ましい。 Since such natural language input is an input method that is commonly used by humans, it is particularly desired to use it in an interface of a large-scale system that is complicated in operation. In such a large-scale system, it is necessary to have a dialogue that achieves a plurality of sub-purposes in order to achieve the overall purpose. For this reason, it is necessary to handle a plurality of topics corresponding to each purpose in the dialogue processing technology. At the same time, from the viewpoint of enabling white conversations that correspond to the user's conversation during the conversation, it is possible to specify topics that the user wants to execute freely rather than accepting only user input related to information desired by the system, and It is desirable to be able to have a dialogue that achieves the overall goal by integrating various topics introduced in the dialogue by
従来の対話技術においては、例えば、特許文献1に開示されるように話題をスタックで管理する方法が提案されている。この方法は、ユーザとの対話に現れた話題をスタックで管理し、目的を達成していないためにユーザとの対話が終了していない話題(未解決話題)をスタックに蓄積する。ユーザ或いはシステムによって新規話題を導入した場合には、その話題をスタックにプッシュし、ある話題についてユーザとの対話が終了した(以下『話題を解決した』と表記する)場合はスタックからポップするという操作を行う。ユーザとの対話を実行する話題はスタックの最後(スタックトップ)にある話題である。そして、ある話題を解決した時にその話題の対話結果に基づき、対話を再開する未解決話題をスタックから探索した結果を次の話題として選択する。
特許文献1の方法は、対話中にユーザ入力等によって新規話題が導入されると、その新規話題に関する対話を直ちに実行するために、新規話題がスタックトップとなるように話題のスタックを操作する。即ち、新規話題の導入時において、未解決話題の対話内容の変更に新規話題が使用できる場合は、その未解決話題の対話を実行するために現在対話中の話題の対話内容を破棄(話題をポップ)するか、或いは未解決話題の対話内容の変更に新規話題を使用できない場合は新規話題の対話を割り込ませるためにスタックにプッシュする。 In the method of Patent Document 1, when a new topic is introduced by a user input or the like during a conversation, the topic stack is operated so that the new topic becomes the top of the stack in order to immediately execute the conversation related to the new topic. In other words, when a new topic can be used to change the conversation content of an unresolved topic when a new topic is introduced, the conversation content of the current conversation topic is discarded in order to execute the conversation of the unresolved topic. Pop), or if the new topic cannot be used to change the conversation content of an unresolved topic, it is pushed onto the stack to interrupt the conversation of the new topic.
しかし、導入する新規話題の種類によって、現在対話中の話題を先に解決し、その解決結果を利用して新規話題の対話を進行した方が良い場合があるが、特許文献1の方法では、このような場合であっても現在対話中の話題の対話内容を破棄してしまうか、或いは新規話題をプッシュして対話を進行させるため現在対話中の話題の対話内容を無視してしまう。いずれにしてもユーザは、現在対話中の話題の内容を再度入力しなければならなくなるという問題がある。 However, depending on the type of new topic to be introduced, it may be better to solve the topic currently being talked about first and proceed with the conversation of the new topic using the solution result. Even in such a case, the conversation contents of the topic currently being talked about are discarded, or the conversation contents of the topic currently being talked about are ignored in order to push the new topic and advance the conversation. In any case, there is a problem that the user has to input the content of the topic currently being talked about again.
本発明は上記事情に鑑みてなされたもので、新規に導入された対話内容と現在実行中の対話に対し柔軟な対話制御を行うことが可能な対話装置、対話方法、対話システム及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and includes a dialog apparatus, a dialog method, a dialog system, and a computer program capable of performing flexible dialog control on newly introduced dialog contents and a dialog that is currently being executed. The purpose is to provide.
本発明に係る対話装置は、
ユーザとの対話の進行処理を行うとともに、前記対話中の新規の話題情報の導入を検出する対話進行手段と、
前記対話進行手段による前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する話題情報管理手段と、
前記対話進行手段により検出される新規の話題情報により前記話題情報管理手段から所定の関係を有する話題情報を探索し、該検索された話題情報に対して前記新規の話題情報に基づく対話を優先して進行させるように前記検索された話題情報の更新又は前記新規の話題情報の挿入を実行する話題情報反映手段とを具備したことを特徴とする。
The interactive apparatus according to the present invention is:
Dialogue progress means for performing progress of dialogue with the user and detecting introduction of new topic information during the dialogue;
Topic information management means for storing topic information including at least the type of topic and the progress state of the dialog appearing during the dialog with the user by the dialog progressing means in a priority order for proceeding with the dialog;
Search for topic information having a predetermined relationship from the topic information management means based on the new topic information detected by the dialog progress means, and prioritize the dialog based on the new topic information with respect to the searched topic information. Topic information reflecting means for updating the searched topic information or inserting the new topic information so as to proceed.
本発明に係る対話装置は、
ユーザとの対話の進行処理を行うとともに、前記対話中の新規の話題情報の導入を検出する対話進行手段と、
前記対話進行手段による前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する話題情報管理手段と、
前記対話進行手段により検出される新規の話題情報により前記話題情報管理手段から更新可能な話題情報を探索し、該検索された更新可能な話題情報の対話進行状況を前記新規の話題情報における対話進行状況に関する情報を用いて更新するとともに、該対話進行状況の更新が局所的な話題を更新対象とするとき、該更新対象の更新と共に前記更新対象を現在の話題とするように前記話題情報管理手段の話題情報を消去する話題情報反映手段とを具備したことを特徴とする。
The interactive apparatus according to the present invention is:
Dialogue progress means for performing progress of dialogue with the user and detecting introduction of new topic information during the dialogue;
Topic information management means for storing topic information including at least the type of topic and the progress state of the dialog appearing during the dialog with the user by the dialog progressing means in a priority order for proceeding with the dialog;
The topic information management means searches for topic information that can be updated from the new topic information detected by the dialog progress means, and the dialog progress of the searched topic information that can be updated is the dialog progress in the new topic information. The topic information management unit updates the information using status information, and updates the progress of the conversation to a local topic when updating the topic to be the current topic together with the update of the update target. And topic information reflecting means for erasing the topic information.
本発明に係る対話装置は、
ユーザとの対話の進行処理を行うとともに、前記対話中の新規の話題情報の導入を検出する対話進行手段と、
前記対話進行手段による前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する話題情報管理手段と、
各話題における利用・被利用に関する依存関係を管理する話題依存関係データベースと、
前記対話進行手段により検出される新規の話題情報との利用関係を確認する話題情報を挿入確認対象として前記話題情報管理手段から検索し、該検索された挿入確認対象について前記話題依存関係データベースを参照して前記新規の話題情報に対する依存関係を判断し、この判断結果に基づいて前記新規の話題情報を前記挿入確認対象の前に挿入可能にする前記話題情報反映手段とを具備したことを特徴とする。
The interactive apparatus according to the present invention is:
Dialogue progress means for performing progress of dialogue with the user and detecting introduction of new topic information during the dialogue;
Topic information management means for storing topic information including at least the type of topic and the progress state of the dialog appearing during the dialog with the user by the dialog progressing means in a priority order for proceeding with the dialog;
A topic dependency database that manages dependency relations for usage and usage in each topic;
The topic information management means is searched for the topic information for confirming the usage relationship with the new topic information detected by the dialog advancing means as the insertion confirmation target, and the topic dependency relation database is referred to for the searched insertion confirmation target. And determining the dependency relationship with respect to the new topic information, and including the topic information reflecting means that allows the new topic information to be inserted before the insertion confirmation target based on the determination result. To do.
本発明によれば、新規に導入された対話内容が直ちに実行すべきものかどうかを判定し、その判定結果に応じて新規に導入された対話内容と現在実行中の対話の順序を変更するなど柔軟な対話制御を行うことが可能となる。 According to the present invention, it is determined whether or not the newly introduced dialogue content should be executed immediately, and the order of the newly introduced dialogue content and the currently executed dialogue is changed in accordance with the judgment result. Interactive control is possible.
以下、本発明の実施の形態に係る対話装置、対話方法及びプログラムについて図面を用いて説明する。 Hereinafter, a dialogue apparatus, a dialogue method, and a program according to embodiments of the present invention will be described with reference to the drawings.
本発明による対話装置は何らかのアプリケーションのユーザインタフェースからなるもので、アプリケーションにある機能を有効に動作させることを目的とするものである。特に、本発明による対話装置はアプリケーションによる一つ以上の種類の機能を取り扱うために一つ以上の目的を取り扱うものであり、個々の目的を達成するためにそれぞれの目的と対応付けた話題についてユーザとの対話を行うものである。 The interactive apparatus according to the present invention comprises a user interface of some application, and aims to effectively operate a function in the application. In particular, the interactive device according to the present invention handles one or more purposes in order to handle one or more types of functions depending on the application, and the user can use the topic associated with each purpose to achieve each purpose. Dialogue with
(第1の実施の形態)
図1は、本発明の第1の実施の形態に係わる対話装置を示すブロック図である。
(First embodiment)
FIG. 1 is a block diagram showing an interactive apparatus according to the first embodiment of the present invention.
対話装置は、話題情報管理部101、対話進行部102、話題情報反映部103を備えている。話題情報管理部101は、ユーザAとの対話の進行状態(対話状態)として対話中に現れた話題情報をユーザAとの対話を進行させる優先順序で順序付けて記憶するリストからなっている。本説明ではリストの後ろに記憶されている話題情報がユーザAと対話をする優先度が高い話題情報であるとする。話題情報は話題の種類と対話の進行状態を含む情報である。これにより、話題情報管理部101の最後に記憶されている話題情報が対話進行部102においてユーザAとの対話対象となる話題情報(現在の話題情報)である。
The dialogue apparatus includes a topic
話題情報管理部101は、対話進行部102や話題情報反映部103からの更新操作をも受付ける。更新操作の内容としては、リスト内の特定位置に話題情報を挿入したり、特定位置の話題情報の内容を修正したり、特定位置の話題情報を消去したりすることを含む。
The topic
対話進行部102は、話題情報管理部101に格納されている現在の話題情報を対象としてユーザAとの対話を行い、現在の話題情報の話題(現在の話題)の目的をユーザAとの対話によって達成する(話題を解決する)。対話進行部102は、ユーザAとの対話の際には、ユーザ入力を値や話題情報に対応付けるなどといった入力解釈や、送出プロンプトの決定などの対話進行処理を行う。ここで、送出プロンプトは音声信号やテキスト表示等によってユーザAに提示される。対話進行部102は、話題情報管理部101が空になり、更に導入する新規話題情報がないことを検出するとユーザAとの対話を終了する。
The
対話進行部102は、現在の話題を解決した場合は解決時の話題情報の内容でアプリケーションの動作を実行させ、話題情報管理部101から現在の話題情報を消去する。更に、対話進行部102は現在の話題に関する対話結果を話題情報管理部101に反映させる。ここで、対話結果はデータベースの検索結果のような値となる場合や新規に対話を行うべき話題情報となる場合がある。対話結果が単なる値の場合は、対話進行部102は話題情報管理部101の中から対話結果の値が利用可能な話題情報を探索し、探索結果の話題情報に値を通知することで対話結果を反映させる。一方、対話結果として新規に対話を行うべき話題情報を取得した場合には、対話進行部102は対話結果を反映させるために話題情報反映部103に、その話題情報を利用して話題情報管理部101を更新させる。対話進行部102は、ユーザAとの対話中に新しい話題情報(新規話題情報)の導入を検出した場合には、話題情報反映部103に新規話題情報を用いて話題情報管理部101を更新させる。対話進行部102は、(a)ユーザ入力の解釈結果が話題情報であった場合、(b)現在の話題を解決するための手続きとして別の話題の対話が必要であると判定し、その話題の話題情報を導入する場合、(c)ある話題の対話結果として新たな話題情報を取得した場合に新規話題情報の導入を検出する。話題情報反映部103が新規話題情報を用いて話題情報管理部101を更新した後に、対話進行部102は更新された話題情報管理部101における現在の話題情報を対象にしてユーザAとの対話を継続する。
When the current topic is resolved, the
対話進行部102における入力解釈では、ユーザAから入力される自然言語を解釈し、ユーザ入力を何らかの話題情報か或いは値に変換する。例えば、ユーザAが話題の名称を入力した場合には対話進行状況が初期状態の話題情報に変換したり、ユーザが動作条件としての値を指定した場合にはその値の種類の情報(例えば品詞情報など)を付与したりする。また、話題名称を省略した入力であっても話題を特定できる場合はある条件を指定された対話進行状況の話題情報に変換することもある。このような自然言語解釈方式は既存のものが使用できる。
In the input interpretation in the
対話進行部102は各話題に対応付けられた対話手順と対話中の話題情報にある対話進行状況を参照して対話を行う。対話手順が終了した時に対話進行部101はその話題を解決したと判断する。このような一つの話題を解決する対話処理は、各話題に関連付けられた対話の状態遷移図などのシナリオを参照して対話を進め、シナリオの終了まで対話状態が遷移すると話題の解決とみなす手法や、話題解決のために不足している情報を検出してユーザAに要求し、不足情報がなくなれば話題の解決とみなす手法など、既存の手法を利用することができる。また、対話の際にユーザAに提示する応答(送出プロンプト)はシナリオに指定された定型文や、応答文のテンプレートに情報を与えて自動生成してユーザAに応答文を提示したり、シナリオに指定された画面出力等の動作指定などに基づき動作したりするなど既存の手法を利用して生成してことが可能である。
The
対話進行部102が参照する対話手順は対話装置内外のどのような箇所に格納されていても構わない。対話装置外に格納されている場合、対話進行部102はネットワークを介して対話手順にアクセスする。
The dialogue procedure referred to by the
話題情報反映部103は、対話進行部102とユーザとの対話中に現れた新規話題情報を話題情報管理部101に反映させ、話題情報管理部101を更新する。話題情報反映部103の動作の詳細は後に詳述する。
The topic
次に、本発明の第1の実施の形態に係わる対話装置の動作について図2に示すフローチャートを参照して説明する。 Next, the operation of the interactive apparatus according to the first embodiment of the present invention will be described with reference to the flowchart shown in FIG.
本対話装置は所定の話題についてユーザAとの対話を行うものである。ユーザA或いは本対話装置によって対話を開始した段階が図2に示した「Start」に相当し、対話を継続する必要性がなくなったときに対話を終了する。すなわち、図2に示す「End」で対話を終了する。 This dialogue apparatus performs dialogue with the user A on a predetermined topic. The stage where the dialogue is started by the user A or the dialogue apparatus corresponds to “Start” shown in FIG. 2, and the dialogue is terminated when it is no longer necessary to continue the dialogue. That is, the dialog is terminated at “End” shown in FIG.
本対話装置はユーザAとの対話を開始すると、対話進行部102がユーザAとの対話を進行する(ステップS201)。対話進行中にはシステム応答を出力してユーザ入力を待ち受ける場合も含まれるが、このような状態はステップS201でユーザ入力まで一時停止している状態であると言える。この場合はユーザ入力やタイマイベント等を受理することでステップS201の処理が継続される。さらに対話進行部102は、ユーザ入力のタイミングに限らず対話が進行する各段階で、対話が終了したか(ステップS202)、新たな話題情報の導入があるか(ステップS203)を逐一確認する。
When the dialogue apparatus starts a dialogue with the user A, the
ステップS202において対話進行部102が対話の終了を検出するとユーザAとの対話を終了する(End)。ステップS203において対話進行部102が新たな話題情報の導入を検出できなかった場合は、そのままユーザAとの対話処理を継続し(ステップS201)、新規話題情報の導入を検出すると、話題情報反映部103に新規話題情報を用いて話題情報管理部101を更新させる。話題情報反映部103は、話題情報管理部101の更新方法を判定し(ステップS204)、その更新方法に応じて話題情報管理部101の内容を更新する(ステップS205)。話題情報管理部101の内容が更新されると、対話処理部102は更新後の現在の話題情報を対象としてユーザAとの対話を進行する(ステップS201)。話題情報反映部103の処理の詳細(ステップS204,ステップS205)については後に詳述する。
When the
次に、話題情報管理部101に格納される話題情報の具体例について図4を参照して説明する。図4は話題情報管理部101とこれに格納される話題情報の例を示す。図4では、話題情報管理部101は、話題「ルート設定」、「目的地設定」、「住所検索」の順に対話が進行した場合の話題情報の登録状態を示している。
Next, a specific example of topic information stored in the topic
話題情報は少なくとも話題の種類と各話題の対話進行状況に関する情報を含む情報である。対話進行状況に関する情報は各話題に関する対話手順の指定方法に依存する。例えば状態遷移図によるシナリオ指定の場合は対話によって遷移したノードに相当し、或いは話題を解決するために必要な情報を要求する対話処理の場合は、解決に必要な情報のリストなどが挙げられる。 The topic information is information including at least information on the type of topic and the progress of conversation of each topic. Information on the progress of dialogue depends on the method for specifying the dialogue procedure for each topic. For example, in the case of scenario specification based on a state transition diagram, it corresponds to a node that has transitioned due to dialogue, or in the case of dialogue processing that requires information necessary for solving a topic, a list of information necessary for solution is included.
ここで本発明の説明に使用する話題情報及びその表記について図4を用いて説明する。話題情報は名称と引数に分割できる。名称は話題の種類を表す情報であり、“("の左側に表記する。『日的地設定』や『住所検索』などがこれに相当する。引数は本対話装置が対話によってユーザAから情報を取得すべき属性であり、“()"の内部に相当する。引数の数は話題によって異なり、表記上では各引数を“、"によって区切る。各引数は属性の呼び名である属性名と実際に対話によって指定された値である属性値の組み合わせで定義されており、これを(属性名):(属性値)と表記する。属性値を取得していない場合は“φ"を(属性値)に格納する。例えば図4における話題情報403は『話題「住所」において都道府県名として「○○県」という値をユーザAから取得した』状態であることを意味する。話題情報401、402は、属性値を取得していないことを示している。尚、詳細な属性情報の表記が必要でない場合は、話題情報を単純に話題の名称のみで表記する。
Here, the topic information used to describe the present invention and the notation thereof will be described with reference to FIG. Topic information can be divided into names and arguments. The name is information indicating the type of the topic, and is written on the left side of “(”. This corresponds to “daily location setting”, “address search”, etc. The argument is information from the user A through dialogue by the dialogue device. Is the attribute that should be acquired, and corresponds to the inside of “().” The number of arguments varies depending on the topic, and in the notation, each argument is separated by “,”. Is defined as a combination of attribute values, which are values specified by dialogue, and is expressed as (attribute name) :( attribute value) .If the attribute value is not acquired, "φ" For example, the
ここで図4に示す話題情報を用いた対話進行部102における個々の話題に対する対話処理方法の例について説明する。話題情報の属性には話題解決のために取得が必須である必須属性と必須ではない属性がある。対話進行部102は属性値が指定されていない必須属性が現在の話題情報の中にあれば、対話処理としてその必須属性に代入する属性値を取得するように動作する。例えば必須属性の値を入力するようにユーザAに要求し、ユーザ入力を各属性に対応付けたり、ユーザAに問い合わす必要がない情報であれば(現在時刻など)ユーザAに要求せずに暗黙的に取得したりする。また、ユーザAに情報を要求する過程において、情報を要求するための手続きとして別の話題の対話を行う必要があれば、その話題の話題情報を導入して対話を行い、導入した話題情報に関する対話の結果を属性値として使用する。その際に、情報を要求する対象となった属性を話題情報に記憶させておく。一方、単純なコマンドの場合などには話題情報の属性数が0個の場合もあるが、そのような話題の場合は全必須属性が指定されているものとみなせる。そして、話題情報において不足している必須属性が無くなるとその話題は解決したと判定する。尚、以下では表記を簡単にするために断りがない限り各話題情報における属性は全て必須属性とし、全必須属性が指定されればその話題を解決したものとして説明する。
Here, an example of a dialogue processing method for each topic in the
次に、本発明において重要な役割を持つ話題情報反映部103について図2、図3を参照して説明する。図3は本実施の形態における話題情報反映部103における話題情報管理部101の更新方法を判定するステップS204のフローチャートである。
Next, the topic
話題情報反映部103は、対話進行部102が新規話題情報の導入を検出した時に動作する。話題情報反映部103は先ず話題情報管理部101の更新方法を判定(ステップS204)し、次にその更新方法に基づいて話題情報管理部101を更新する(ステップS205)。以下それぞれの処理について説明する。
The topic
話題情報反映部103における話題情報管理部101の更新方法判定の処理(ステップS204)について図3を用いて説明する。話題情報反映部103はまず、新規話題情報が導入された状況を確認する(ステップS301)。この状況が現在の話題を解決するための手続きとして対話進行部102が新規話題情報を導入する場合であれば、直ちに新規話題情報の対話を行う必要があるので新規話題情報を話題情報管理部101の最後に追加すると決定する(ステップS309)。従って、話題情報管理部101は属性値を決定するといったより局所的な話題の話題情報をより後ろの方に格納することになる。それ以外であればステップS302に進む。
The update information determination process (step S204) of the topic
ここでステップS302以降における話題情報反映部103の動作方針について説明する。話題情報反映部103は、話題情報管理部101の中から新規話題情報によって話題情報の内容を修正(話題情報の更新)が可能な話題情報を探索する。ある話題情報が更新されると、その話題情報の手続きとして導入された局所的な話題の解決がなされたものとみなすことができる。よって更新後は更新された話題情報を対象とした対話を実行する。しかしながら、話題情報の更新は対話内容の更新を意味するため、対話の継続性を重視するならば更新可能な話題情報の中からより局所的な話題の話題情報の更新を行う必要がある。従って話題情報反映部103は、新規話題情報で更新可能な話題情報を話題情報管理部101に記憶されている話題情報を現在の話題情報から順に遡って探索し、最初に検出される更新可能な話題情報を新規話題情報によって更新する話題情報とする。
Here, the operation policy of the topic
話題情報反映部103の処理におけるステップS302以降の処理について説明する。新規話題情報で更新可能な話題情報を探索する初期段階として、更新可能性を確認する話題情報(更新確認対象)を現在の話題情報とする(ステップS302)。更新確認対象を取得できたかどうかを確認し(ステップS303)、取得できなければ(ステップS303Yes)新規話題情報の対話を割り込ませるために新規話題情報を話題情報管理部101の最後に迫加すると決定する(ステップS309)。更新確認対象を取得できた場合(ステップS303No)は、新規話題情報を用いて更新確認対象が更新可能かを確認するために、更新確認対象の話題と新規話題情報の話題が同じであるかどうかを確認し(ステップS304)、違う種類であれば(ステップS304No)更新確認対象を一つ遡った話題情報とする(ステップS308)。
The process after step S302 in the process of the topic
更新確認対象の話題と新規話題情報の話題が同じ種類であれば(ステップS304Yes)、新規話題情報における対話進行状況に関する情報(例えば属性値)を用いて更新確認対象の対話進行状況を更新することが可能である。更新可能と判定された更新確認対象を更新対象と呼ぶ。 If the topic of the update confirmation target and the topic of the new topic information are the same type (Yes in step S304), update the conversation progress status of the update confirmation target using information (for example, attribute value) regarding the dialog progress status in the new topic information. Is possible. An update confirmation target determined to be updatable is called an update target.
更新対象の話題を解決するための手続きとして局所的な話題を利用している場合は、更新処理によって局所的な話題が不要となる場合がある。局所的な話題の目的は更新対象の対話進行状況(或いはその一部)を更新することであるが、その対話進行状況を新規話題情報に基づき更新すると局所的な話題の目的が達成されたことになる。従って局所的な話題が更新の対象とする対話進行状況を更新すると、局所的な話題の対話は不要になる。 When a local topic is used as a procedure for solving a topic to be updated, the local topic may become unnecessary by the update process. The purpose of the local topic is to update the dialog progress status (or part of it) to be updated, but when the dialog progress status is updated based on new topic information, the local topic purpose has been achieved. become. Therefore, when the conversation progress status updated by the local topic is updated, the local topic conversation becomes unnecessary.
ステップS305では局所的な話題を更新の対象とする対話進行状況が更新されているか否かを判定する。更新されていれば(ステップS305Yes)局所的な話題の対話は不要となるため、更新対象の更新と共に更新対象を現在の話題とするように話題情報管理部101の話題情報を消去すると判定する(ステップS306)。更新されていなければ(ステップS305No)局所的な話題の対話を継続する必要があるため、更新対象の更新のみを行うと判定する(ステップS307)。なお、ステップS305における確認処理の詳細は後述する。
In step S305, it is determined whether or not the dialog progress status for updating the local topic is updated. If it has been updated (Yes in step S305), it is determined that the topic information in the topic
話題情報反映部103は、上述の判定結果に基づいて話題情報管理部101を更新する(ステップS205)。判定結果が『新規話題情報を話題情報管理部101の最後に追加(ステップS309を通過)』の場合は、新規話題情報を話題情報管理部101の最後に追加し、新規話題情報を現在の話題情報とする。判定結果が『更新対象を更新し、更新対象を現在の話題とする(ステップS306を通過)』の場合は、更新対象の更新処理を行うと共に、話題情報管理部101に記憶されている更新対象以後の話題情報を消去する。判定結果が『更新対象を更新する(ステップS307を通過)』の場合は、更新対象の更新処理のみを実行する。この時、新規話題情報がユーザ入力の解釈結果である場合は、対話進行部102にユーザ入力を受理したことを応答文などによってユーザAに提示させる。そして対話進行部102は更新後の話題情報管理部101における現在の話題情報を対象にしてユーザAとの対話を継続する。新規話題情報による更新対象の更新処理については後に詳述する。
The topic
次に話題情報反映部103における新規話題情報による更新対象の更新処理、並びにステップS305における確認処理について図5を参照して説明する。更新処理は『新規話題情報における対話進行状況にある有意な情報を用いて、更新対象の対話進行状況を更新する』処理である。例えば対話進行状況が状態遷移図形式のシナリオの一状態であるならば、新規話題情報にある有意な情報を取得した状態に遷移させることに相当し、ステップS305では現在の対話状態が取得対象を定めて情報を取得する状態であり、且つ新規話題情報に取得対象の有意な情報が存在する場合であれば、情報取得対象の情報を更新した(ステップS305Yes)と判定できる。
Next, the update process of the update target by the new topic information in the topic
図5は図4に示す形式の話題情報「ルート設定」の更新処理を模式的に表している。このような話題情報の形式において、更新処理は『新規話題情報にある“φ"ではない属性値で更新対象の属性値を上書きする』処理となる。つまり、新規話題情報の属性値が“φ"であれば更新対象の属性値を残し(図5(1))、新規話題情報の属性値が“φ"でなければ更新対象の属性値を上書きする(図5(2)(3))という処理を実行する。このような処理に基づき、ステップS305においては、『新規話題情報の属性値が“φ"や更新対象の属性値と同じ場合は属性値の更新はなく、それ以外0は属性値の更新がある』と判定する。図5の例においては、更新対象において局所的な話題を利用して属性値を取得中の属性(対話進行中の属性)が「目的地」であった場合は属性値の更新がないので(ステップS305No)、「目的地」を取得するための局所的な話題の対話を継続する必要があると判定する。一方、対話進行中の属性が「経由地」、「計算条件」であれば属性値の更新があるので(ステップS305Yes)、これらの属性の属性値を取得するための局所的な話題の対話を継続する必要はないと判定する。 FIG. 5 schematically shows update processing of topic information “route setting” in the format shown in FIG. In such a topic information format, the update process is a process of “overwriting the attribute value to be updated with an attribute value other than“ φ ”in the new topic information”. That is, if the attribute value of the new topic information is “φ”, the attribute value to be updated is left (FIG. 5 (1)), and if the attribute value of the new topic information is not “φ”, the attribute value to be updated is overwritten. (2 (3) in FIG. 5) is executed. Based on such processing, in step S305, “If the attribute value of the new topic information is the same as“ φ ”or the attribute value to be updated, the attribute value is not updated, otherwise 0 is the attribute value update. It is determined. In the example of FIG. 5, if the attribute for which the attribute value is being acquired using the local topic in the update target (the attribute during the dialog) is “destination”, the attribute value is not updated ( In step S305, it is determined that it is necessary to continue a local conversation for acquiring the “destination”. On the other hand, since the attribute value is updated if the attribute in progress of the dialogue is “route point” or “calculation condition” (Yes in step S305), a local topic dialogue for acquiring the attribute values of these attributes is performed. It is determined that there is no need to continue.
次に、具体例として、カーナビゲーションシステム(以下カーナビ)に本発明を適用した場合を例に、本実施の形態の動作について図2、図3、図6を参照してより詳細に説明する。 Next, as a specific example, a case where the present invention is applied to a car navigation system (hereinafter referred to as a car navigation system) will be described as an example, and the operation of the present embodiment will be described in more detail with reference to FIGS.
カーナビで対話を行うことが可能な話題は、指定された条件でルート計算を行う「ルート設定」と、指定された場所を目的地として登録する「目的地設定」と、場所を検索する場合に使用する、住所を都道府県名から順に指定することで位置を特定する「住所検索」である。このようなカーナビを用いて図6のような対話を行う場合の動作を詳細に説明する。 Topics that can be interacted with by car navigation are “Route setting” that calculates the route under the specified conditions, “Destination setting” that registers the specified location as the destination, and when searching for a location This is an “address search” in which the address is specified by specifying the address in order from the prefecture name. The operation in the case of performing the dialogue as shown in FIG. 6 using such a car navigation will be described in detail.
ユーザ入力USR1によって対話が開始される(ステップS201)。USR1を解釈すると「ルート設定(目的地:φ、経由地:φ、計算条件:φ)」という入力となる。対話進行部102は、このユーザ入力によって新規話題情報の導入が行われことを検出し(ステップS202No,ステップS203Yes)、話題情報反映部103に話題情報管理部101の更新を依頼する(ステップS204)。
A dialog is started by the user input USR1 (step S201). When USR1 is interpreted, the input is “route setting (destination: φ, waypoint: φ, calculation condition: φ)”. The
話題情報反映部103はステップS204において図3のようにして新規話題情報「ルート設定(目的地:φ、経由地:φ、計算条件:φ)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報はユーザ入力から通知されたものであるのでステップS301でNoと判定する。初期段階では現在の話題情報が存在しないのでステップS302で更新確認対象の取得に失敗するため(ステップS303Yes)、新規話題情報を話題情報管理部101の最後に追加するように判定する(ステップS309)。
In step S204, the topic
話題情報反映部103はステップS205においてステップS204の判定結果に基づいて話題情報管理部101を更新する。即ち、ユーザ入力によって通知された新規話題情報を話題情報管理部101の最後に追加する。現在の話題情報は「ルート設定」となる。対話進行部102は「ルート設定」を対象としてユーザAとの対話を継続する(ステップS201)。対話進行部102の対話進行処理(ステップS201)において「ルート設定」を解決するために属性「目的地」を取得すると決定されたとすると、対話進行部102は「ルート設定」の対話手順に基づき新たに話題「目的地設定」を利用すると決定する。この決定に伴い対話進行部102は新規話題情報「目的地設定(目的地:φ)」を導入し、話題情報反映部103に話題情報管理部101の更新を依頼する(ステップS202No,ステップS203Yes,ステップS204)。
In step S205, the topic
話題情報反映部103はステップS204において新規話題情報「目的地設定(目的地:φ)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報は話題「ルート設定」を解決するため(属性「目的地」を取得するため)に対話進行部102の手続きとして利用されるものであるので、ステップS301でYesと判定される。新規話題情報を話題情報管理部101の最後に追加するように判定する(ステップS309)。
In step S204, the topic
話題情報反映部103はステップS205において話題情報管理部101を更新する。新規話題情報「目的地」を話題情報管理部101の最後に追加し、現在の話題情報を「目的地設定」とする。対話進行部102は「目的地設定」を対象としてユーザAとの対話を継続する(ステップS201)。
The topic
対話進行部102の対話進行処理(ステップS201)において「目的地設定」を解決するために属性「目的地」を取得すると決定されたとすると、対話進行部102は「目的地設定」の対話手順に基づき、「目的地」の決定方法をユーザAに問い合わせると決定する。この決定に従いユーザAに対して応答SYS1を出力する。
If it is determined that the attribute “destination” is acquired in order to solve the “destination setting” in the dialog progression process (step S201) of the
続いてUSR2が入力された。USR2を解釈すると“住所検索(場所検索方法)"という入力となる。対話進行部102においてこの入力は応答SYS1に対する回答であり、「目的地」決定方法として話題「住所検索」が選択されたと判断する。引き続き対話進行処理(ステップS201)を継続し、対話進行部102は話題「目的地設定」の対話手順に基づきユーザAによって選択された話題「住所検索」を実行すると決定する。この決定に伴い対話進行部102は新規話題情報「住所検索(都道府県名:φ、市区町村名:φ)」を導入し、話題情報反映部103に話題情報管理部101の更新を依頼する(ステップS202No,ステップS203Yes,ステップS204)。
Subsequently, USR2 was input. When USR2 is interpreted, the input is “address search (location search method)”. This input is an answer to the response SYS1 in the
話題情報反映部103はステップS204において新規話題情報「住所検索(都道府県名:φ、市区町村名:φ)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報は話題「目的地設定」を解決するために対話進行部102の手続きとして利用されるものであるので、新規話題情報を話題情報管理部101の最後に追加するように判定する(ステップS301Yes,ステップS309)。そして話題情報反映部103はステップS205において話題情報管理部101の最後に「住所検索」を追加し、現在の話題情報を「住所検索」に更新する。このときの話題情報管理部101の状態は図7のようになる。
In step S204, the topic
対話進行部102は「住所検索」を対象とした対話進行処理を行う(ステップS201)。対話進行部102は「住所検索」の対話手順に基づき、属性「都道府県名」を取得すると決定する。この決定に従いユーザAに対して応答SYS2を出力する。
The
続いてUSR3が入力された。USR3を解釈すると「ルート設定(目的地:φ、経由地:φ、計算条件:高速優先)」という入力となる。対話進行部102は、このユーザ入力によって新規話題情報の導入が行われことを検出し(ステップS202No,ステップS203Yes)、話題情報反映部103に話題情報管理部101の更新を依頼する(ステップS204)。
Subsequently, USR3 was input. When USR3 is interpreted, the input is “route setting (destination: φ, waypoint: φ, calculation condition: high-speed priority)”. The
話題情報反映部103はステップS204において新規話題情報「ルート設定(目的地:φ、経由地:φ、計算条件:高速優先)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報はユーザ入力から通知されたものであるのでステップS301でNoと判定する。話題情報反映部103は新規話題情報により更新可能な話題情報を話題情報管理部101(図7)から探索する。話題情報管理部101に記憶されている最後の話題情報(703)から順に更新可能性を確認するが、話題情報703,702は「ルート設定」ではないので種類が一致しないと判定する(ステップS302,ステップS303No,ステップS304No,ステップS308,ステップS303No,ステップS304No)。
In step S204, the topic
次に更新確認対象を話題情報701に設定する(ステップS308)。話題情報701は「ルート設定」であるため、新規話題情報による更新が可能であると判定する(ステップS303No、ステップS304Yes)。話題情報701では属性「目的地」を取得するための対話中である。新規話題情報は「ルート設定(目的地:φ、経由地:φ、計算条件:高速優先)」であり、この属性「目的地」には属性値が指定されていないので、話題情報701の更新処理によって取得中の属性である「目的地」を更新しないと判定できる(ステップS305No)。従って話題情報反映部103は更新対象である話題情報701を新規話題情報により更新すると更新内容を決定する。
Next, the update confirmation target is set in the topic information 701 (step S308). Since the topic information 701 is “route setting”, it is determined that updating with new topic information is possible (No in step S303, step S304 Yes). The topic information 701 is in a dialogue for acquiring the attribute “destination”. The new topic information is “route setting (destination: φ, waypoint: φ, calculation condition: high speed priority)”, and no attribute value is specified for this attribute “destination”, so the topic information 701 is updated. It can be determined that the “destination” which is the attribute being acquired by the process is not updated (No in step S305). Accordingly, the topic
話題情報反映部103はステップS205において新規話題情報により話題情報管理部101を更新する。話題情報701を新規話題情報で更新し、更新結果は「ルート設定(目的地:φ、経由地:φ、計算条件:高速優先)」となる。また、現在の話題情報は703のまま変更が無く、新規話題情報がユーザ入力から入力されたものであるため、対話進行部102にユーザ入力の受理内容をユーザAに通知させる。
The topic
対話進行部102は話題情報703を対象としてユーザAとの対話を継続する(ステップS201)。まず、話題情報反映部103からUSR3の受理内容をユーザAに通知するように指定されているため、応答SYS3を出力する。次に話題情報703はユーザ入力(USR3)によって対話進行状況が変更されていないので、再度属性「都道府県名」を取得すると決定し、応答SYS4を出カする。
The
以上のように、本実施の形態では現在対話進行中の属性を更新するか否かに基づいて局所的な話題情報を消去するか否かを決定することが可能である。従って、入力USR3によって『目的地を「住所検索」で決定中である』という対話状態を消去せずに、「高速優先」であることを話題情報701に反映させることが可能となる。一方、USR3による話題情報を現在の話題情報として話題情報管理部101の最後に追加する方法も考えられるが、このような場合は再度「目的地」属性の決定からユーザAとの対話を再開せねばならず、結果的には『目的地を「住所検索」で決定中である』という対話状態を消去(無視)することと同じ動作となってしまう。
As described above, according to the present embodiment, it is possible to determine whether or not to delete local topic information based on whether or not to update an attribute that is currently in a conversation. Therefore, the topic information 701 can be reflected in the topic information 701 without deleting the dialogue state that “the destination is being determined by“ address search ”” by the input USR3. On the other hand, a method of adding topic information based on USR3 as the current topic information to the end of the topic
ここでユーザ入力USR3のところで「○○に目的地設定」という入力が成された場合について述べる。この入力は「目的地設定(目的地:○○)」と解釈され、対話進行部102は新規話題情報の導入であると判定する(ステップS202No、ステップS203Yes)。話題情報反映部103は新規話題情報「目的地設定」を利用した話題情報管理部101の更新方法を判定する(ステップS204)。図7の話題情報においては、この新規話題情報「目的地設定」は話題情報702と同種なので話題情報702を更新することが可能であると判定できる(ステップS304Yes)。話題情報702は属性「目的地」を決定中であり、新規話題情報「目的地設定(目的地:○○)」では属性「目的地」に“○○"が格納されているので、現在情報取得中の属性の属性値を更新すると判定される(ステップS305Yes)。従って、ステップS204で話題情報反映部103が決定する話題情報管理部101の更新内容は「話題情報702を更新すると共に、話題情報702を現在の話題情報とする」となる。
Here, a case where an input of “setting destination to XX” is made at the user input USR3 will be described. This input is interpreted as “destination setting (destination: OO)”, and the
話題情報反映部103は上記決定内容に基づいて話題情報管理部101を更新する(ステップS205)。即ち、話題情報702を新規話題情報に基づいて更新し「目的地設定(日的地:○○)」とすると共に、話題情報702を現在の話題情報とするために話題情報703を消去する。対話進行部102は更新された話題情報702を対象としてユーザAとの対話を継続する(ステップS201)。このような場合に対話進行部102は、「○○に目的地を設定します。よろしいですか?」といったユーザAに確認を求めるような応答を提示するなどの反応を返す。
The topic
以上のように、本実施の形態では現在対話進行中の属性を更新するような新規話題情報が通知された場合は、対話実行中の話題情報を消去してユーザAとの対話を進行させることが可能である。上述の例ではユーザAは「目的地として“○○"を指定」しているため、それまでの対話状態であった『目的地を「住所検索」で決定中である』は不要となる。これを残しているとユーザAが「○○を目的地に指定」していても、対話装置は住所検索で目的地を設定する対話を再開してしまい、ユーザAはこの対話をキャンセルせねばならない。 As described above, in the present embodiment, when new topic information that updates the attribute currently in progress of the dialogue is notified, the topic information during the dialogue is deleted and the dialogue with the user A is advanced. Is possible. In the above example, since user A has “designated“ XX ”as the destination”, “the destination is being determined by“ address search ””, which was the previous conversation state, is unnecessary. If this is left, even if user A “designates XX as the destination”, the dialogue apparatus resumes the dialogue for setting the destination by address search, and user A must cancel this dialogue. Don't be
従って、このように第1の実施の形態に係わる対話装置によれば、新規導入される話題情報により対話状態の更新を行い、その際に局所的な話題が更新する対象となっている対話進行状況を更新するか否かに基づき現在対話中の話題情報が今後の対話に必要であるかどうかを判定し、現在対話中の話題情報が今後の対話に必要であればその話題情報を残すことで、新規話題情報により更新すべき情報は更新すると共に、ユーザAと対話を継続すべき話題情報の対話を継続することが可能となる。 Therefore, according to the dialogue apparatus according to the first embodiment as described above, the dialogue progress is updated by the topic information newly introduced, and the topic is updated at that time. Determine whether the topic information currently being talked about is necessary for future conversations based on whether the situation is updated, and leave the topic information if topic information currently being talked about is needed for future conversations Thus, the information to be updated by the new topic information can be updated, and the conversation of the topic information that should continue the conversation with the user A can be continued.
なお、上述の説明では話題情報反映部103におけるステップS304おいて新規話題情報による更新が可能な話題情報を新規話題情報と同種の話題情報であると記述しているが、本実施の形態はそのような判定方法に限定されるものではない。例えば、類似話題を定義しておき、新規話題情報の話題と類似した話題の話題情報であれば更新可能としても良い。また、話題情報間が類似するか否かを判定するルールを用いて更新が可能であるかを判定しても良い。或いは更新確認対象が新規話題情報と共通の属性を持った話題情報であれば更新可能であると判定しても良い。このような場合は複数の話題情報が更新可能となることもあるが、更新可能な話題情報の中で最後に位置する話題情報を対象としてステップS305以降の処理を実行する。
In the above description, topic information that can be updated with new topic information in step S304 in topic
また、上述の説明では図3のステップS301において、ある話題を解決するための手続きとして新規話題情報を利用すると対話進行部102が決定した場合は、無条件に新規話題情報を話題情報管理部101の最後に追加するように記述しているが、このような場合であってもステップS302以降の更新可能性を確認する処理を通しても良い。逆に話題情報反映部103を通さずに対話進行部102が新規話題情報を話題情報管理部101の最後に追加しても良い。
Further, in the above description, when the
また、上述の説明では話題情報の更新方法を図5のように更新対象の話題情報の属性値を新規話題情報内の有効な属性値で上書きするように記述しているが、例えばユーザ入力の解釈の段階で図5のような更新処理が行われるならば、話題情報そのものを上書きするようにしても良い。或いは新規話題情報導入の場面に基づいて更新処理と話題情報そのものの上書き処理を切り替えたり、新規話題情報に更新処理が必要か否かのフラグを与えてそれに基づいて処理内容を切り替えたりしても良い。 In the above description, the topic information update method is described so as to overwrite the attribute value of the topic information to be updated with the valid attribute value in the new topic information as shown in FIG. If update processing as shown in FIG. 5 is performed at the interpretation stage, the topic information itself may be overwritten. Or the update process and the overwrite process of the topic information itself may be switched based on the scene of the introduction of new topic information, or the processing content may be switched based on a flag indicating whether the update process is necessary for the new topic information. good.
また、上述の説明では話題情報反映部103の更新処理において、ユーザ入力により導入された新規話題情報であれば、ユーザ入力の受理内容を提示すると記述しているが、システムから導入された新規話題情報であっても、その内容を応答として提示するようにしても良い。このような応答を提示すればシステムの対話実行状態をユーザAが把握することが可能となる。
Further, in the above description, in the update process of the topic
また、上述の説明では話題情報反映部103は、ユーザ入力の受理内容を提示すると判定した時に対話進行部102に提示するように依頼しているが、話題情報反映部103がユーザAに直接受理内容を提示しても良い。
Further, in the above description, the topic
また、上述の説明ではユーザ入力の受理内容を提示するための応答(図6に示すSYS3)をユーザAとの対話再開前に行うように記述しているが、ユーザAとの対話実行中に挿入したり、ユーザ入力待ちとなった時に挿入したりしても良い。 Further, in the above description, it is described that a response (SYS3 shown in FIG. 6) for presenting the contents of acceptance of the user input is performed before the dialog with the user A is resumed. It may be inserted or inserted when waiting for user input.
以上のように、新規話題情報を対話状態に導入し、対話状態を更新する際に局所的な話題が更新する対象となっている対話進行状況を更新するか否かに基づき現在の対話内容を継続する必要があるかどうかを判定し、その判定結果に応じて現状の対話進行状態の対話を継続するものであれば本発明の主旨の範囲内である。 As described above, new topic information is introduced into the conversation state, and when the conversation state is updated, the current conversation content is determined based on whether or not the conversation progress status for which the local topic is updated is updated. It is within the scope of the gist of the present invention if it is determined whether or not it is necessary to continue, and the dialog in the current dialog progress state is continued according to the determination result.
(第2の実施の形態)
第1の実施の形態は、ユーザAとの対話によって現れた各話題情報における対話進行状況に基づいて、新規話題情報導入時に話題情報の更新判定と現状の対話を継続する必要があるかどうかを判定するものである。これに対し、第2の実施の形態では各話題における利用・被利用に関する依存関係に基づいて詳細に局所的な話題の話題情報であるかどうかを判定し、対話状態の更新に利用する対話装置について説明する。
(Second Embodiment)
In the first embodiment, it is determined whether or not it is necessary to continue the topic information update determination and the current dialogue when introducing new topic information based on the dialogue progress status in each topic information that appears by the dialogue with the user A. Judgment. On the other hand, in the second embodiment, an interactive device that determines whether or not topic information of a local topic is detailed in detail based on the dependency relationship regarding use / use in each topic, and is used for updating the conversation state Will be described.
本第2の実施の形態に係る対話装置の構成図を図8に示す。本実施の形態に係る対話装置は、図8に示すように、話題情報管理部101、対話進行部102、話題情報反映部803、話題依存関係データベース804を備えている。ここで、話題情報管理部101、対話進行部102に関しては第1の実施の形態で説明したものと同様であるので、ここでの説明は省略する。
FIG. 8 shows a configuration diagram of the interactive apparatus according to the second embodiment. As shown in FIG. 8, the dialogue apparatus according to the present embodiment includes a topic
話題情報反映部803は、対話進行部102とユーザAとの対話中に現れた新規話題情報を話題情報管理部101に反映させ、話題情報管理部101を更新する。この更新処理の際に話題依存関係データベース804を参照して、局所的な話題の話題情報であるかどうかを詳細に判定し、その判定結果に基づいて話題情報管理蔀101の更新処理を実行する。話題情報反映部803の動作の詳細は後に説明する。
The topic
話題依存関係データベース804は、話題間の利用関係を表すデータベースである。例えば「ルート設定」を解決するために「目的地設定」、「経由地設定」を実行する必要があれば「ルート設定」は「目的地設定」、「経由地設定」を利用するといえる。利用・被利用関係においては被利用側にある話題は、利用側の話題を解決するために利用される局所的な話題である。話題依存関係データベース804は、このような話題同士の利用関係を管理する。
The topic
図10は話題依存関係データベース804の例である。図10では話題間の利用関係をグラフ形式で表している。即ち、グラフの各ノードが話題に相当し、各ノード間のリンクが話題の利用・被利用関係を表す。各リンクは『リンク元の話題の解決のためにリンク先の話題を利用する』ことを表している。例えばリンク1001は『ルート設定は経由地設定を利用している』ということを表現している。話題間の利用関係が成立する場合に、利用する側を親話題、利用される側を子話題と呼ぶ。また子話題へのリンクを再帰的に辿って到達可能である間接的な利用関係を持つ話題を子孫話題と呼ぶ。子話題・子孫話題は親話題と比較して局所的な話題となる。
FIG. 10 shows an example of the
続いて本実施の形態における対話装置の動作説明を行う。本実施の形態においても対話装置の動作は図2となる。但し、本実施の形態では話題情報反映部803の詳細処理(図2におけるステップS204,ステップS205)が変更される。従って、本実施の形態の動作説明は変更部分である話題情報反映部803の詳細動作説明のみを行う。その他の動作については第1の実施の形態と同様であるので省略する。
Subsequently, the operation of the interactive apparatus in the present embodiment will be described. Also in this embodiment, the operation of the dialogue apparatus is as shown in FIG. However, in the present embodiment, the detailed processing (step S204, step S205 in FIG. 2) of the topic
図9は本実施の形態における話題情報反映部803の新規話題情報による更新内容の判定処理(ステップS204に相当)を表すフローチャートである。以下図面に沿って更新内容の判定処理について説明する。
FIG. 9 is a flowchart showing an update content determination process (corresponding to step S204) based on new topic information of topic
話題情報反映部803は対話進行部102において新規話題情報の導入が検出されたとき(ステップS202No、ステップS203Yes)に話題情報管理部101の更新を依頼される。話題情報反映部803はまず新規話題情報による話題情報管理部101の更新内容を判定する(ステップS204)。まず、話題情報反映部803は、対話進行部102が現在の話題を解決するための手続きとして新規話題情報を導入したかどうかを判定する(ステップS901)。これは第1の実施の形態における話題情報反映部103のステップS301と同様である。別の話題を解決するための手続きであれば、その話題情報を対象とした対話を実行するために話題情報管理部101の最後に新規話題情報を迫加する(ステップS913)。従って、話題情報管理部101は属性値を決定するといったより局所的な話題の話題情報をより後ろの方に格納することになる。
The topic
新規話題情報が別の話題を解決するための手続きでなければ、新規話題情報で更新可能な話題情報が話題情報管理部101にあるかどうかを確認する(ステップS902)。ステップS902の確認処理には第1の実施の形態における更新内容の判定処理(図3)を利用する。ステップS902の判定結果が「新規話題情報を話題情報管理部101の最後に追加する」でなければ(ステップS903No)、新規話題情報で内容を更新することが可能な話題情報が存在するので、その判定結果を採用する(ステップS910)。ステップS902の判定結果が「新規話題情報を話題情報管理部101の最後に追加する」の場合は(ステップS903Yes)、新規話題情報を挿入する位置を決定するためにステップS904に進む。
If the new topic information is not a procedure for solving another topic, it is confirmed whether there is topic information that can be updated with the new topic information in the topic information management unit 101 (step S902). For the confirmation processing in step S902, the update content determination processing (FIG. 3) in the first embodiment is used. If the determination result in step S902 is not “add new topic information to the end of topic
前述のように話題情報管理部101にはより局所的な話題の話題情報をより後ろの方に格納する。新規話題情報が局所的な話題の話題情報でなければ、新規話題情報は話題情報管理部101のより前の方に挿入した方が良い。即ち、現在対話中の局所的な話題を先に解決し、その結果を利用して新規話題情報の対話を開始した方が望ましい。本実施の形態における話題情報反映部803は、話題依存関係データベース804に基づき話題情報管理部101内の話題情報と新規話題情報との利用関係を参照し、新規話題情報の挿入位置を決定する。
As described above, the topic
話題情報反映部803は、挿入位置を決定するために「挿入確認対象」と「挿入対象」という変数を利用する。両方とも話題情報管理部101に記憶されている話題情報を指し示すものであるが、挿入確認対象は新規話題情報との利用関係を確認する対象の話題情報であり、挿入対象は新規話題情報をその前に挿入することが可能な話題情報を示す。挿入確認対象の初期設定は話題情報管理部101の最後の話題情報であり、挿入対象の初期設定は無効とする(ステップS904)。
The topic
話題情報管理部101が空の場合は挿入確認対象の取得に失敗するので(ステップS905No)、話題情報反映部803は、新規話題情報を話題情報管理部101の最初に追加すると判定する(ステップS912)。挿入確認対象の話題情報があれば(ステップS905Yes)、話題情報反映部803は、挿入確認対象が挿入対象となりうるかどうかを順次確認し、挿入位置の決定を行う。
When the topic
挿入確認対象が挿入対象となり得るかを確認する第一段階として、挿入確認対象と話題情報管理部101において挿入確認対象の前に記憶されている話題情報との対話手続き上における関係の有無を確認する(ステップS906)。挿入確認対象が前の話題情報の話題を解決することを目的として導入された話題情報であれば、挿入確認対象と前の話題情報には対話手続き上の関係があると言える。従って挿入確認対象の前の話題情報と対話手続き上の関係がある場合は、新規話題情報をその間に挿入することは適切ではない。本実施の形態では、挿入確認対象が対話進行部102における対話手順によって追加された話題情報であれば対話手続き上の関係があると判定し(ステップS906Yes)、そうでなければ対話手続き上の関係がないと判定する(ステップS906No)。対話手続き上の関係がある場合(ステップS906Yes)は、挿入位置として不適であるので挿入確認対象を一つ前に設定し(ステップS908)、挿入位置決定処理を継続する。手続き上の関係がなければ(ステップS906No)ステップS907に進む。
As a first step of confirming whether the insertion confirmation target can be the insertion target, it is confirmed whether there is a relationship in the dialog procedure between the insertion confirmation target and the topic information stored in the topic
話題情報反映部803は、挿入確認対象が新規話題情報の子孫話題かどうかを確認する(ステップS907)。挿入確認対象が新規話題情報の子孫話題であれば(ステップS907Yes)、挿入確認対象の話題を先に解決すべきである。従って話題情報反映部803は新規話題情報を挿入確認対象の前に挿入可能であると判定し、挿入対象を挿入確認対象とする(ステップS909)。この場合は挿入対象の更に前の話題情報も新規話題情報の子孫話題である可能性があるので、話題情報反映部803は、挿入確認対象を一つ前の話題情報として(ステップS908)、新たな挿入確認対象が新規話題情報の子孫話題であるかどうかを確認する(ステップS905〜)。この時、新たな挿入確認対象を取得できなかった場合は(ステップS905No)、話題情報管理部101の最初の話題情報が新規話題情報の子孫話題であるので、話題情報反映部803は新規話題情報を話題情報管理部101の先頭に挿入すると判定する(ステップS912)。
The topic
一方、挿入確認対象が新規話題情報の子孫話題でなければ(ステップS907No)、新規話題情報の対話を先に実行すべきである。従って話題情報反映部803は、既に挿入可能であると判定されている挿入対象の前に新規話題情報を挿入すると判定する(ステップS911)。但し、ステップS911では挿入対象が無効ならば新規話題情報を最後に追加すると判定する。
On the other hand, if the insertion confirmation target is not a descendant topic of the new topic information (No in step S907), the conversation of the new topic information should be executed first. Therefore, the topic
続いて話題情報反映部803における話題情報管理部101の更新処理(ステップS205)について説明する。話題情報反映部803のステップS204では、第1の実施の形態によるステップS204の判定内容に加えて、特定位置に話題情報を挿入する(ステップS911、ステップS912を通過)という判定内容が追加される。この判定内容が出力された場合は、話題情報反映部803は新規話題情報を指定された位置に挿入する処理を行う。新規話題情報がユーザ入力によって導出されたものであり、挿入位置が話題情報管理部101の最後でなければ、対話進行部102に新規話題情報を受理したことのユーザAヘの提示を実行させる。その他の更新処理は第1の実施の形態での更新処理と同様である。
Next, an update process (step S205) of the topic
次に、具体例として、カーナビゲーションシステム(以下カーナビ)に本発明を適用した場合を例に、本実施の形態の動作について図2、図3、図9、図10、図11を参照してより詳細に説明する。 Next, as a specific example, a case where the present invention is applied to a car navigation system (hereinafter referred to as a car navigation system) is taken as an example, and the operation of this embodiment will be described with reference to FIGS. 2, 3, 9, 10, and 11. This will be described in more detail.
カーナビで対話を行うことが可能な話題は、指定された条件でルート計算を行う「ルート設定」(属性=「目的地」、「経由地」、「計算条件(必須属性ではない)」)と、指定された場所を目的地として登録する「目的地設定」(属性=「目的地」)と、指定された場所を経由地として登録する「経由地設定」(属性=「経由地」)と、場所を検索する場合に使用する、住所を都道府県名から順に指定することで位置を特定する「住所検索」(属性=「都道府県名」、「市区町村名」)である。これらの話題に関する依存関係情報が話題依存関係データベース804に図10のような内容で格納されている。このようなカーナビを用いて図11のような対話を行う場合の動作を詳細に説明する。
The topics that can be interacted with by car navigation are “route setting” (attribute = “destination”, “route via”, “calculation condition (not mandatory attribute))” that performs route calculation under specified conditions. ”Destination setting” (attribute = “Destination”) for registering the specified location as the destination, “Via-point setting” (attribute = “Via”) for registering the specified location as the waypoint, , “Address search” (attribute = “prefecture name”, “city name”) that specifies the location by specifying the address in order from the prefecture name, which is used when searching for a place. Dependency relationship information regarding these topics is stored in the
ユーザ入力USR5によって対話が開始される(ステップS201)。USR1を解釈すると「目的地設定(目的地:φ)」という入力となる。対話進行部102は、このユーザ入力によって新規話題情報の導入が行われことを検出し(ステップS202No、ステップS203Yes)、話題情報反映部803に話題情報管理部101の更新を依頼する(ステップS204)。
A dialog is started by the user input USR5 (step S201). When USR1 is interpreted, the input is “destination setting (destination: φ)”. The
話題情報反映部803はステップS204において図9のようにして新規話題情報「目的地設定(日的地:φ)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報はユーザ入力から通知されたものであるのでステップS901でNoと判定する。ステップS902では図3に基づいて更新方法を判定するが、初期段階では話題情報管理部101が空であるので新規話題情報を反映させる話題情報も無く、新規話題情報を最後に追加すると判定する(ステップS903Yes)。ステップS904以降においてもやはり挿入確認対象の取得に失敗するため(ステップS905No)、新規話題情報を話題情報管理部101の最初に挿入する(ステップS912)と判定する。
In step S204, the topic
話題情報反映部803はステップS205においてステップS204の判定結果に基づいて話題情報管理部101を更新する。即ち、ユーザ入力によって通知された新規話題情報を話題情報管理部101の最初に挿入する。但し、初期段階では話題情報管理部101が空なので、挿入した新規話題情報「目的地設定」が現在の話題情報となる。対話進行部102は「目的地設定」を対象としてユーザAとの対話を継続する(ステップS201)。
In step S205, the topic
対話進行部102の対話進行処理(ステップS201)において「目的地設定」を解決するために属性「目的地」を取得すると決定されたとすると、対話進行部102は「目的地設定」の対話手順に基づき、「目的地」の決定方法をユーザAに問い合わせると決定する。この決定に従いユーザAに対して応答SYS5を出カする。
If it is determined that the attribute “destination” is acquired in order to solve the “destination setting” in the dialog progression process (step S201) of the
続いてUSR6が入力され、USR6を解釈すると“住所検索(場所検索方法)"という入力となる。対話進行部102においてこの入力は応答SYS5に対する回答であり、「目的地」決定方法として話題「住所検索」が選択されたと判断する。引き続き対話進行処理(ステップS201)を継続し、対話進行部102は話題「目的地設定」の対話手順に基づきユーザAによって選択された話題「住所検索」を実行すると決定する。この決定に伴い対話進行部102は新規話題情報「住所検索(都道府県名:φ、市区町村名:φ)」を導入し、話題情報反映部803に話題情報管理部101の更新を依頼する(ステップS202No、ステップS203Yes、ステップS204)。
Subsequently, USR6 is input, and when USR6 is interpreted, the input is “address search (location search method)”. This input is an answer to the response SYS5 in the
話題情報反映部803はステップS204において新規話題情報「住所検索(都道府県名:φ、市区町村名:φ)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報は話題「目的地設定」を解決するために対話進行部102の手続きとして利用されるものであるので、新規話題情報を話題情報管理部101の最後に追加するように判定する(ステップS901Yes,ステップS913)。そして話題情報反映部803はステップS205において話題情報管理部101の最後に「住所検索」を追加し、現在の話題情報を「住所検索」に更新する。
In step S204, the topic
対話進行部102は「住所検索」を対象とした対話進行処理を行う(ステップS201)。対話進行部102は「住所検索」の対話手順に基づき、属性「都道府県名」を取得すると決定する。この決定に従いユーザAに対して応答SYS6を出力する。このときの話題情報管理部101の状態は図12のようになる。
The
続いてUSR7が入力され、USR7を解釈すると「経由地設定(経由地:○○タワー)」という入力になる。対話進行部102は、このユーザ入力によって新規話題情報の導入が行われことを検出し(ステップS202No,ステップS203Yes)、話題情報反映部803に話題情報管理部101の更新を依頼する(ステップS204)。
Subsequently, USR7 is input, and when USR7 is interpreted, the input becomes “route setting (route: XX tower)”. The
話題情報反映部803はステップS204において新規話題情報「経由地設定(経由地:○○タワー)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報はユーザ入力から通知されたものであるのでステップS901でNoと判定する。ステップS902では図3に基づいて更新方法を判定するが、話題情報管理部101には図12のように「経由地設定」が存在しないため、新規話題情報「経由地設定」を反映できる話題が存在しない。従って、ステップS902の判定結果は話題情報管理部101の最後に追加となる(ステップS903Yes)。
In step S204, the topic
話題情報反映部803はステップS904以降で新規話題情報の挿入位置を決定する。挿入確認対象の初期段階として話題情報「住所検索」(1202)を選択する(ステップS904,ステップS905Yes)。挿入確認対象1202は対話進行部102において「目的地設定」(1201)の「目的地」属性を取得するために利用されている話題情報であるので、話題情報反映部803は、挿入確認対象1202には1201と対話手続き上の関係があると判定し(ステップS906Yes)、挿入確認対象を一つ前の「目的地設定」(1201)に設定する(ステップS908,ステップS905Yes)。次の挿入確認対象1201は話題情報管理部101の先頭にあるので、話題情報反映部803は、その前の話題情報と対話手続き上の関係はないと判定する(ステップS906No)。話題依存関係データベース804を参照すると、挿入確認対象「目的地設定」は新規話題情報「経由地設定」の子孫話題ではないことがわかる(ステップS907No)ので、話題情報反映部803はステップS911において挿入対象が初期段階の無効状態であることに基づき、話題情報管理部101の最後に新規話題情報を迫加すると判定する(ステップS911)。
The topic
話題情報反映部803はステップS205においてステップS204の判定結果に基づいて話題情報管理部101を更新する。即ち、ユーザ入力によって通知された新規話題情報を話題情報管理部101の最後に追加する。対話進行部102は「経由地設定」を対象としてユーザAとの対話を継続する(ステップS201)。
In step S205, the topic
対話進行部102は追加された話題情報「経由地設定(経由地:○○タワー)」を対象としてユーザAとの対話を実行するが、既に経由地を取得しているので話題「経由地」を解決したと判定する。対話進行部102は、解決結果の話題情報に基づきカーナビに「○○タワーを経由地に設定」するように依頼し、その結果に基づいてユーザAに応答SYS7を提示する。更に、解決した話題の話題情報「経由地設定」を話題情報管理部101から取り除く。このときの話題情報管理部101は図12のようになる。
The
対話進行部102は解決した「経由地設定」の対話結果を話題情報管理部101に反映させる。この場合の反映方法として話題依存関係データベース804の親話題の話題情報を作成すると対話進行部102が決定したとする。「経由地設定」の親話題は「ルート設定」であるので、対話進行部102は話題「ルート設定」の「経由地」に経由地に設定された場所“○○タワー"を格納した話題情報「ルート設定(目的地:φ、経由地:○○タワー、計算条件:φ)」を対話結果として話題情報管理部101に反映させると決定する。この場合も対話進行部102が新規話題情報「ルート設定」を導入すると判定し(ステップS202No、ステップS203Yes)、話題情報反映部803に話題情報管理部101の更新を依頼する(ステップS204)。
The
話題情報反映部803はステップS204において新規話題情報「ルート設定(目的地:φ、経由地:○○タワー、計算条件:φ)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報は対話結果から導出されたものであるのでステップS901でNoと判定する。ステップS902では図3に基づいて更新方法を判定するが、話題情報管理部101には図12のように「ルート設定」が存在しないため、新規話題情報「ルート設定」を反映できる話題が存在しない。従って、ステップS902の判定結果は話題情報管理部101の最後に追加となる(ステップS903Yes)。
In step S204, the topic
話題情報反映部803はステップS904以降で新規話題情報の挿入位置を決定する。挿入確認対象の初期段階として話題情報「住所検索」(1202)を選択する(ステップS904、ステップS905Yes)。挿入確認対象1202は対話進行部102において「目的地設定」(1201)の「目的地」属性を取得するために利用されている話題情報であるので、話題情報反映部803は、挿入確認対象1202には1201と対話手続き上の関係があると判定し(ステップS906Yes)、挿入確認対象を一つ前の「目的地設定」(1201)に設定する(ステップS908,ステップS905Yes)。次の挿入確認対象1201は話題情報管理部101の先頭にあるので、話題情報反映部803は、その前の話題情報と対話手続き上の関係はないと判定する(ステップS906No)。話題依存関係データベース804を参照すると、挿入確認対象「目的地設定」は新規話題情報「ルート設定」の子孫話題であることがわかる(ステップS907Yes)ので、挿入対象として話題情報1201を設定する(ステップS909)。更に挿入確認対象を一つ前に設定する(ステップS908)が、挿入確認対象の取得に失敗する(ステップS905No)ために、話題情報反映部803は、新規話題情報を話題情報管理部101の先頭に挿入すると判定する(ステップS912)。
The topic
話題情報反映部803はステップS205においてステップS204の判定結果に基づいて話題情報管理部101を更新する。即ち、対話結果から導出された新規話題情報を話題情報管理部101の最初に挿入する。この時の話題情報管理部101は図13のようになっている。対話進行部102は「住所検索」(1202)を対象としてユーザAとの対話を継続する(ステップS201)。
In step S205, the topic
対話進行部102は「住所検索」を対象とした対話進行処理を行う(ステップS201)。対話進行部102は「住所検索」の対話手順に基づき、属性「都道府県名」を取得すると決定する。この決定に従いユーザAに対して応答SYS8を出力する。
The
続いてUSR9が入力された。USR9を解釈すると「住所検索(都道府県名:□□県、市区町村名:△△市)」という入力となる。対話進行部102は、このユーザ入力によって新規話題情報の導入が行われことを検出し(ステップS202No、ステップS203Yes)、話題情報反映部803に話題情報管理部101の更新を依頼する(ステップS204)。
Subsequently, USR9 was input. When USR9 is interpreted, the input is “address search (prefecture name: □□ prefecture, city name: ΔΔ city)”. The
話題情報反映部803はステップS204において新規話題情報「住所検索(都道府県名:□□県、市区町村名:△△市)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報はユーザ入力から通知されたものであるのでステップS901でNoと判定する。ステップS902では図3に基づいて更新方法を判定する。このときの話題情報管理部101は図13のようになっており、現在の話題情報が「住所検索」(1202)であるため、新規話題情報を1202に反映でき、全属性を更新すると判定できる。従って、ステップS902の判定結果は「話題情報1202を更新対象として新規話題情報を反映させ、1202を現在の話題情報と設定する」となる(ステップS903No)ため、話題情報反映部803はこの判定結果を採用する(ステップS910)。
In step S204, the topic
話題情報反映部803はステップS205においてステップS204の判定結果に基づいて話題情報管理部101を更新する。即ち、話題情報1202を新規話題情報「住所検索(都道府県名:□□県、市区町村名:△△市)」で更新する。話題情報1202の各属性を新規話題情報の属性で上書きし、話題情報1202は「住所検索(都道府県名:□□県、市区町村名:△△市)」に更新される。対話進行部102は更新後の話題情報1202を対象としてユーザAとの対話を継続する(ステップS201)。
In step S205, the topic
対話進行部102は更新された話題情報「住所検索(都道府県名:□□県、市区町村名:△△市)」を対象としてユーザAとの対話を実行するが、既に全属性を取得しているので話題「住所検索」を解決したと判定する。対話進行部102は、解決結果の話題情報に基づきカーナビに「□□県△△市の場所情報を取得」するように依頼する。更に、解決した話題の話題情報「住所検索」(1202)を話題情報管理部101から取り除く。この時の話題情報管理部101は図14のようになる。
The
対話進行部102は解決した「住所検索」(1202)の対話結果を話題情報管理部101に反映させる。話題情報1202は話題情報「目的地設定」(1201)の「目的地」属性を取得するために利用されていた話題情報であるので、対話進行部102は対話結果の場所情報“□□県△△市"を話題情報1201の「目的地」属性に代入する。代入後の「目的地設定」(1201)を対象にして更にユーザAとの対話を継続する(ステップS201)。
The
対話進行部102は更新された話題情報「目的地設定(日的地:□□県△△市)」を対象としてユーザAとの対話を継続するが、既に全属性を取得しているので話題「目的地設定」を解決したと判定する。対話進行部102は、解決結果の話題情報に基づきカーナビに「“□□県△△市"に目的地設定」するように依頼し、その結果に基づいてユーザAに応答SYS9を提示する。更に、解決した話題の話題情報「目的地設定」(1201)を話題情報管理部101から取り除く。この時の話題情報管理部101には話題情報「ルート設定」(1303)のみが残っている。
The
対話進行部102は解決した「目的地設定」の対話結果を話題情報管理部101に反映させる。この場合の反映方法として話題依存関係データベース804の親話題の話題情報を作成すると対話進行部102が決定したとする。「目的地設定」の親話題は「ルート設定」であるので、対話進行部102は話題「ルート設定」の「日的地」に目的地に設定された場所“□□県△△市"を格納した話題情報「ルート設定(目的地:□□県△△市、経由地:φ、計算条件:φ)」を対話結果として話題情報管理部101に反映させると決定する。この場合も対話進行部102が新規話題情報「ルート設定」を導入すると判定し(ステップS202No、ステップS203Yes)、話題情報反映部803に話題情報管理部101の更新を依頼する(ステップS204)。
The
話題情報反映部803はステップS204において新規話題情報「ルート設定(目的地=□□県△△市、経由地:φ、計算条件1φ)」を利用した話題情報管理部101の更新方法を判定する。新規話題情報は対話結果から導出されたものであるのでステップS901でNoと判定する。ステップS902では図3に基づいて更新方法を判定する。このときの話題情報管理部101には話題情報「ルート設定」(1303)のみが残っており、話題情報1303に新規話題情報を反映させることが可能であると判定できる。従って、ステップS902の判定結果は「話題情報1303を更新対象として新規話題情報を反映させる」となる(ステップS903No)ため、話題情報反映部803はこの判定結果を採用する(ステップS910)。
In step S204, the topic
話題情報反映部803はステップS205においてステップS204の判定結果に基づいて話題情報管理部101を更新する。即ち、話題情報1303を新規話題情報「ルート設定(目的地1□□県△△市、経由地:φ、計算条件:φ)」で更新する。話題情報1303の「目的地」属性を新規話題情報の「日的地」属性で上書きし、話題情報1303は「ルート設定(目的地:□□県△△市、経由地:○○タワー、計算条件:φ)」に更新される。対話進行部102は更新後の話題情報1303を対象としてユーザAとの対話を継続する(ステップS201)。対話進行部102は更新された話題情報「ルート設定(目的地:□□県△△市、経由地:○○タワー、計算条件:φ)」を対象としてユーザAとの対話を継続するが、既に「ルート設定」における必須属性(「計算条件」以外)を全て取得しているので、対話進行部102は「ルート設定」を解決したと判定し、対話結果に基づいてカーナビを動作させると共に応答SYS10を出カする。対話進行部102は解決した話題情報「ルート設定」を話題情報管理部101から取り除く。この時、話題情報管理部101が空になるので対話進行部102はユーザAとの対話が終了したと判定し(ステップS202Yes)、ユーザAとの対話を終了する。
In step S205, the topic
以上のように、本実施の形態では話題の利用関係に基づき局所的ではない話題情報を話題情報管理部101における現在の話題情報ではない箇所への挿入位置を決定することが可能である。従って、入力USR7による「経由地設定」の解決結果である「ルート設定」を話題情報管理部101の最初に挿入し、後の「目的地設定」による対話結果も統合したルート計算条件を導出することが可能となる。一方、「経由地設定」の解決結果である「ルート設定」を現在の話題情報として話題情報管理部101に追加することも可能であるが、このような場合は再度「目的地」属性の決定からユーザAとの対話を再開せねばならず、結果的には『目的地を「住所検索」で決定中である』という対話状態を消去(無視)することと同じ動作となってしまう。
As described above, according to the present embodiment, it is possible to determine a position where topic information that is not local is inserted into a location that is not current topic information in the topic
USR7解釈時に発生する「ルート設定」の挿入は、話題解決時のみに発生するものではない。例えば、話題情報管理部101が図12の状態の時に「高速優先で」というユーザ入力が行われた場合は、その解釈結果である「ルート設定(目的地:φ、経由地:φ、計算条件:高速優先)」を話題情報1201の前に挿入する必要がある。このような場合でも本実施の形態では話題手順データベース804に基づき適切に挿入位置を決定することが可能である。
The insertion of “route setting” that occurs at the time of USR7 interpretation does not occur only at the time of topic resolution. For example, when the topic
このように本発明の第2の実施の形態に係わる対話装置によれば、新規導入される話題情報により対話状態の更新を行い、その際に対話状態にある各話題情報と新規導入される話題情報との利用・被利用関係に基づき新規話題情報を挿入することで、現在実行中の先に実行すべき局所的な対話を優先的に実行し、その対話結果を新規導入された話題情報の内容と統合することが可能となる。 As described above, according to the conversation device according to the second embodiment of the present invention, the conversation state is updated with the newly introduced topic information, and each topic information in the conversation state at that time and the newly introduced topic are updated. By inserting new topic information based on the usage / usage relationship with information, the local conversation that should be executed first is executed preferentially, and the result of the conversation is added to the newly introduced topic information. It becomes possible to integrate with the contents.
なお、上述の説明では話題依存関係データベース804が話題をノードとするグラフ形式で表現し、そのノードの親子関係に基づいて子孫話題であるかを判定すると記述しているが、本実施の形態はそのような判定方式に限定されるものではない。例えば、個別の話題について親話題、子話題を分散して指定する方法でも良い。このような場合は参照すべき各話題を逐次取得して子話題であるかどうかを判定したり、全話題を参照してグラフ形式の話題依存関係データベース804を構成したりしても良い。或いは、例えば各話題を解決するための手順情報から他の話題の利用・被利用関係を推定しても良い。この他の形式であっても話題間の利用・被利用関係に基づき被利用側の話題を子話題と判定するものであれば本実施の形態の主旨の範囲内である。
In the above description, the
また、図9の話題情報反映部803の動作説明において、先に新規話題情報で更新可能な話題情報を探索(ステップS902)しているが、この処理と挿入位置判定処理(ステップS905〜ステップS909)とを並行して進めても良い。このような場合は最後の話題情報から順に更新可能性、挿入可能性を確認していき、更新可能性のある話題情報を見つけるか、挿入位置を特定するかの時に反映内容を決定することが可能である。
Further, in the explanation of the operation of the topic
また、図9のステップS906における「対話手続き上における関連の有無」の判定方法について、対話進行部102が親話題を解決するために直接利用した話題情報であるかどうかに基づいて判定しているが、話題情報管理部101に格納された話題情報の順序関係に基づいて判定しても良い。例えば「目的地設定」の属性「目的地」が決定状態の場合にその後に続く場所検索式は全て目的地の候補であると判定することが可能である。
Further, the determination method of “relevance / non-relevance in the dialog procedure” in step S906 in FIG. 9 is determined based on whether or not the topic information is directly used by the
また、上述の説明では話題情報反映部803の更新処理において、ユーザ入力により導入された新規話題情報であれば、ユーザ入力の受理内容を提示すると記述しているが、システムから導入された新規話題情報であっても、その内容を応答として提示するようにしても良い。このような応答を提示すればシステムの対話実行状態をユーザAが把握することが可能となる。
Further, in the above description, in the update process of the topic
また、上述の説明では話題情報反映部803は、ユーザ入力の受理内容を提示すると判定した時に対話進行部102に提示するように依頼しているが、話題情報反映部803がユーザAに直接受理内容を提示しても良い。
Further, in the above description, the topic
以上のように、新規話題情報を対話状態に導入し、その内容を反映させる際に、その際に対話状態にある各話題情報と新規導入される話題情報との利用・被利用関係に基づき新規話題情報の挿入位置を決定して新規話題情報を挿入し、その挿入位置に応じて現状の対話進行状態の対話を継続するものであれば本発明の主旨の範囲内である。 As described above, when new topic information is introduced into the conversation state and the contents are reflected, new information is created based on the usage / use relationship between each topic information in the conversation state and the newly introduced topic information. It is within the scope of the present invention as long as the topic information insertion position is determined, new topic information is inserted, and the dialog in the current dialog progress state is continued according to the insertion position.
(第3の実施の形態)
第1,2の実施の形態は、ユーザAとの対話によって現れた話題情報による話題情報管理部の更新を即座に行うものである。これに対し第3の実施の形態では、話題情報管理部の更新前にユーザAと更新する話題に関する対話を実行し、より柔軟にユーザAとの対話を実行することが可能な対話装置について説明する。
(Third embodiment)
In the first and second embodiments, the topic information management unit is immediately updated with the topic information that appears in the dialog with the user A. On the other hand, in the third embodiment, an interactive device capable of executing a dialog regarding the topic to be updated with the user A before updating the topic information management unit and executing the dialog with the user A more flexibly will be described. To do.
本実施の形態に係る対話装置の構成図を図15に示す。本実施の形態に係る対話装置は、図15に示すように、話題情報管理部1501、対話進行部1502、話題情報反映部1503、更新前対話ルール管理部1504、話題依存関係データベース804を備えている。ここで、話題依存関係データベース804に関しては第2の実施の形態で説明したものと同様であるので本実施の形態での説明は省略する。
FIG. 15 shows a configuration diagram of the interactive apparatus according to the present embodiment. As shown in FIG. 15, the dialogue apparatus according to the present embodiment includes a topic
話題情報管理部1501は、第1、第2の実施の形態における話題情報管理部101と同様であり、ユーザAとの対話中に現れた話題情報をユーザAとの対話を進行させる優先順序で順序付けて記憶するリストである。第1、第2の実施の形態における話題情報管理部101と異なる点は、話題情報管理部1501における話題情報のリストを更新するための新規話題情報を話題情報のリストとは別に記憶することである。話題情報管理部1501の詳細は後述する。
The topic
対話進行部1502は、第1、第2の実施の形態における対話進行部102と同様であり、ユーザAとの対話を行い、ユーザAとの対話中に新規話題情報を検出した場合には話題情報反映部1503に新規話題情報を用いた話題情報管理部1501の更新を依頼する。第1、第2の実施の形態における対話進行部102と異なる点は、話題情報管理部1501を更新するための新規話題情報を対象とし、更新前対話ルール管理部1504における対話手順を参照してユーザAと対話する機能を備えることである。この話題情報管理部1501を更新する前の新規話題情報を対象とした対話進行処理を更新前対話と呼ぶ。対話進行部1502の詳細は後述する。
The
話題情報反映部1503は、第2の実施の形態における話題情報反映部803と同様であり、対話進行部1502とユーザAとの対話中に現れた新規話題情報を話題情報管理部1501に反映させ、話題情報管理部1501を更新する。第2の実施の形態における話題情報反映部803と異なる点は、新規話題情報による更新内容の判定と、話題情報管理部1501の更新処理との間に対話進行部1502による更新前対話を挿入することと、話題情報管理部1501の更新処理において「新規話題情報がユーザ入力によって導入された場合に、その受理内容を提示するように対話進行部1502依頼する」ことを省略することである。
The topic
更新前対話ルール管理部1504は、対話進行部1502がユーザAと更新前対話をするための対話手順を記憶する。更新前対話ルール管理部1504の詳細は後述する。
The pre-update dialogue
次に、本発明の第3の実施の形態に係わる対話装置の動作について図16を参照して説明する。なお、図16は、本発明の第3の実施の形態に係わる対話装置の動作を示すフローチャートである。 Next, the operation of the interactive apparatus according to the third embodiment of the present invention will be described with reference to FIG. FIG. 16 is a flowchart showing the operation of the dialogue apparatus according to the third embodiment of the present invention.
本対話装置は所定の話題についてユーザAとの対話を行うものである。ユーザA或いは本対話装置によって対話を開始した段階が図16に示した「Start」に相当し、対話を継続する必要性がなくなったときに対話を終了する。すなわち、図16の「End」で対話を終了する。 This dialogue apparatus performs dialogue with the user A on a predetermined topic. The stage where the dialogue is started by the user A or the dialogue apparatus corresponds to “Start” shown in FIG. 16, and the dialogue is terminated when it is no longer necessary to continue the dialogue. That is, the dialog is terminated at “End” in FIG.
本対話装置はユーザAとの対話を開始すると、対話進行部1502がユーザAとの対話を進行する(ステップS1601)。この対話進行処理は第1、第2の実施の形態における対話進行処理(ステップS201)と同様である。更に対話進行部1502は、ユーザ入力のタイミングに限らず対話が進行する各段階で、対話が終了したか(ステップS1602)、新規話題情報の導入があるか(ステップS1603)を逐一確認する。
When the dialogue apparatus starts the dialogue with the user A, the
ステップS1602において対話進行部1502が対話の終了を検出するとユーザAとの対話を終了する(End)。ステップS1603において対話進行部1502が新規話題情報の導入を検出できなかった場合は、そのままユーザAとの対話処理を継続し(ステップS1601)、新規話題情報の導入を検出すると、対話進行部1502は話題情報反映部1503に新規話題情報を用いた話題情報管理部1501の更新方法を判定させる(ステップS1604)。
In step S1602, when the
話題情報反映部1503は、話題情報管理部1501の更新方法を判定する(ステップS1604)。話題情報反映部1503が更新方法を判定すると、対話進行部1502が新規話題情報を対象とした更新前対話を実行する(ステップS1605)。更新前対話中に新規話題情報による更新処理を棄却された場合には(ステップS1606Yes)、話題情報反映部1503は更新前対話の対象であった新規話題情報を破棄し(ステップS1607)、対話進行部1502は話題情報管理部1501における現在の話題情報を対象とした対話を再開する(ステップS1601)。更新前対話中に新規話題情報による更新処理を棄却されなかった場合には(ステップS1606No)、話題情報反映部1503は、新規話題情報を利用した話題情報管理部1501の更新処理を実行し(ステップS1608)、対話進行部1502は更新後の話題情報管理部1501を対象とした対話進行処理を継続する(ステップS1601)。
The topic
なお、話題情報反映部1503における話題情報管理部1501の更新方法判定処理(ステップS1604)や、話題情報管理部1501の更新処理(ステップS1608)の具体例は第2の実施の形態における話題情報反映部803のものと同様であるので詳細な説明は省略する。対話進行部1502における更新前対話処理(ステップS1605)の詳細については後述する。
Note that specific examples of the update method determination process (step S1604) of the topic
次に、話題情報管理部1501に格納される話題情報の具体例について図17、図18を参照して説明する。本実施の形態における話題情報管理部1501は第1、第2の実施の形態における話題情報管理部101が管理する話題情報のリスト(1701)に加えて、更新処理を実行するための新規話題情報(更新前話題情報)1702を記憶する。更新前話題情報1702を記憶する際には、話題情報反映部1503で反映方法を決定した結果として得た、新規前話題情報を反映させる位置(更新対象の話題情報、或いは挿入位置)を併せて記憶する。図面ではこの位置情報を更新前話題情報から出ている矢印(1705)で表している。図17では『「目的地設定」のための場所を「住所検索」で決定中に、新規話題情報である「ルート設定」を優先順位の最も低い位置に挿入する』状態を表している。従って挿入位置は話題情報1704の下であり、矢印1705は話題情報1704の下を指している。一方、更新前話題情報1802で話題情報のリスト1801にある話題情報の内容を更新する場合は、更新前話題情報を反映させる位置を指す矢印1805をリスト1801にある話題情報1806の中央を指すように表記する(図18)。
Next, specific examples of topic information stored in the topic
次に、更新前対話ルール管理部1504の詳細について図19を用いて説明する。更新前対話ルール管理部1504は、対話進行部1502における更新前対話を実行するための手順を管理する。本実施の形態では新規話題情報による更新方法や、更新前対話の進行状態などの状況に応じて適用可能なルール(更新前対話ルール)が更新前対話ルール管理部1504に登録されている。
Next, details of the pre-update dialog
図19には4種類の更新前対話ルールが登録されている。更新前対話ルール1901は、新規話題情報が現在の話題情報として登録される場合は、新規話題情報を割り込ませることを優先するためのルールである。更新前対話ルール1902は、ユーザAによって導入された新規話題情報を対話の優先順位を下げた位置に反映させる場合は、ユーザ入力を受理したことを表明するために、その受理内容を出力するためのルールである。更新前対話ルール1903は、新規話題情報を話題情報管理部1501に挿入すると決定した場合に適用するルールである。新規話題情報の挿入位置のすぐ後にある話題情報(被挿入話題情報)と新規話題情報との直接の利用・被利用関係がない場合(被挿入話題情報は一つ以上の他の話題を介して新規話題情報の子孫話題となっている場合など)は、被挿入話題情報を対象とした対話の結果の明確な利用方法が明らかではないので新規話題情報の導入が適しているかどうかが不明であるとし、挿入処理の実行可否を問い合わせるためのルールである。更新前対話ルール1904は、新規話題情報の挿入処理が許可された時に適用するルールである。被挿入話題情報と新規話題情報の話題依存関係データベース804における親子関係の経路が一意ではない場合(図10における「ルート検索」(新規話題情報)と「住所検索」(被挿入話題情報)の関係)では、被挿入話題情報を対象とした対話の結果を利用する経路が定かではないので、挿入前対話の時点で経路を明らかにするためのルールである。以上のように更新前対話ルールは、更新処理の実行可否や関連情報の取得・提示と言った新規話題情報による更新処理に関連した対話を行うように指定する。
In FIG. 19, four types of pre-update dialogue rules are registered. The
次に、対話進行部1502における更新前対話(ステップS1605)の詳細について説明する。話題情報反映部1503により話題情報管理部1501の更新方法が決定されると(ステップS1604)、対話進行部1502は、話題情報管理部1501の更新前話題情報(例えば図17の1702)に新規話題情報を登録する。登録の際には新規話題情報を話題情報管理部1501に反映させる位置も併せて登録する。その後対話進行部1502は、ユーザAと更新前対話を実行する(ステップS1605)。
Next, details of the pre-update dialogue (step S1605) in the
対話進行部1502は、更新前対話を実行する際には話題情報管理部1501に記憶されている更新前話題情報と、更新前対話ルール管理部1504を参照してユーザAとの対話を行う。対話進行部1502は、更新前対話ルール管理部1504において適用可能なルールを収集し、その収集結果による動作をユーザAに対する応答として提示することを繰り返すことで、ユーザAと更新前対話を実行する。更新前対話ルール1903、1904のような被挿入話題情報といった新規話題情報を反映させる位置を利用したルールが適用可能かどうかは、話題情報管理部1501に更新前話題情報を登録した際の位置情報を参照して決定する。また、何度も同じ更新前対話ルールを適用しないように一度適用した更新前対話ルールは収集対象から除外する。
When executing the pre-update dialog, the
更新前対話実行中には、ユーザAに応答を提示しユーザ入力を待つ状態があるが、このような場合は更新前対話実行状態(ステップS1605)で一時停止しているものとみなす。そしてユーザ入力によって別の新規話題情報が通知された場合には、更新前対話状態を抜け出し、通知された新規話題情報を対象とした話題情報管理部1501の更新方法を判定する処理(ステップS1604)に移行する。
During the execution of the pre-update dialog, there is a state in which a response is presented to the user A and a user input is waited. In such a case, it is assumed that the pre-update dialog execution state (step S1605) is temporarily stopped. When another new topic information is notified by user input, the process exits the pre-update dialog state and determines the update method of the topic
なお、このような更新前対話ルールを用いてユーザAに提示する応答を提示する場合にはシナリオに指定された定型文や、応答文のテンプレートに情報を与えて自動生成してユーザAに応答文を提示したり、シナリオに指定された画面出カ等の動作指定などに基づき動作したりするなど既存の手法を利用して生成してことが可能である。また、複数の更新前対話ルールを適用する場合には、複数のルールの組み合わせに関する応答文のテンプレートや動作指定を定義し、それを参照して動作するなど既存の手法が利用可能である。 In addition, when presenting a response to be presented to the user A using the pre-update dialog rule, information is automatically generated by giving information to a template or a response sentence template specified in the scenario and responding to the user A. It can be generated using an existing method such as presenting a sentence or operating based on an operation specification such as a screen output specified in a scenario. In addition, when applying a plurality of pre-update interaction rules, an existing method can be used such as defining a response sentence template or action designation for a combination of a plurality of rules, and operating by referring to them.
ユーザAが更新前対話をキャンセルした場合や、更新前ルールにより更新処理を棄却されたと判定する入力をユーザAが入力した場合には、対話進行部1502は更新前対話を終了し、更新処理を棄却されたものと判定する(ステップS1606Yes)。更新処理を棄却することなく更新前対話を終了するルールが適用された場合や、適用可能な更新前対話ルールが見つからなかった場合には、対話進行部1502は更新前対話を終了する。この場合には更新処理が受理されたものと判定する(ステップS1606No)。対話進行部1502は、更新前対話が終了した時に話題情報管理部1501から更新前話題情報をクリアする。
When the user A cancels the pre-update dialog, or when the user A inputs an input that determines that the update process is rejected by the pre-update rule, the
次に、具体例として、カーナビに本発明を適用した場合を例に、本実施の形態の動作について図10、図16、図19、図20を参照してより詳細に説明する。カーナビで対話を行うことが可能な話題は、指定された条件でルート計算を行う「ルート設定」(属性=「目的地」、「経由地」、「計算条件(必須属性ではない)」)と、指定された場所を目的地として登録する「目的地設定」(属性=「目的地」)と、指定された場所を経由地として登録する「経由地設定」(属性=「経由地」)と、場所を検索する場合に使用する、住所を都道府県名から順に指定することで位置を特定する「住所検索」(属性=「都道府県名」、「市区町村名」)である。これらの話題に関する依存関係情報が話題依存関係データベース804に図10のような内容で格納されている。また、更新前対話ルール管理部1504には図19のような内容の更新前対話ルールが管理されている。このようなカーナビを用いて図20のような対話を行う場合の動作を詳細に説明する。
Next, as a specific example, the operation of the present embodiment will be described in more detail with reference to FIGS. 10, 16, 19, and 20, taking the case where the present invention is applied to a car navigation system as an example. Topics that can be interacted with by car navigation are `` route setting '' (attribute = `` destination '', `` route via '', `` calculation condition (not mandatory attribute)) '' that calculates the route under the specified conditions `` Destination setting '' (attribute = `` Destination '') that registers the specified location as the destination, `` Route setting '' (attribute = `` Route '') that registers the specified location as the waypoint, and This is an “address search” (attribute = “prefecture name”, “city name”) that specifies a location by specifying an address in order from the prefecture name, which is used when searching for a place. Dependency relationship information regarding these topics is stored in the
ユーザ入力USR11によって対話が開始される(ステップS1601)。USR11を解釈すると「住所検索(都道府県名:φ、市区町村名:φ)」という入力となる。対話進行部1502は、このユーザ入力によって新規話題情報の導入が行われことを検出し(ステップS1602No,ステップS1603Yes)、話題情報反映部1503に話題情報管理部1501の更新を依頼する(ステップS1604)。
A dialog is started by the user input USR11 (step S1601). When USR11 is interpreted, the input is “address search (prefecture name: φ, city name: φ)”. The
話題情報反映部1503はステップS1604において新規話題情報「住所検索(都道府県名:φ、市区町村名:φ)」を利用した話題情報管理部1501の更新方法を判定する(ステップS1604)。第2の実施の形態における更新方法判定処理と同様に処理を行い、話題情報管理部1501が空であるので、新規話題情報を話題情報管理部1501の最初に挿入すると判定する。
In step S1604, the topic
対話進行部1502は、話題情報反映部1503による更新方法の判定結果を受けて更新前対話を実行する(ステップS1605)。対話進行部1502はまず話題情報管理部1501に更新前話題情報を登録する。即ち新規話題情報を更新前話題情報に登録し、新規話題情報を反映させる位置を話題情報管理部1501の最初であると登録する。対話進行部1502は次に更新前話題情報を対象とした更新前対話を実行する。対話進行部1502は更新前対話ルル管理部1504から適用可能なルールを収集する。話題情報管理部1501は空であるので、新規話題情報は話題情報管理部1501の最後に挿入される。従って新規話題情報は現在の話題情報として登録されることになるため、対話進行部1501は更新前対話ルール1901が適用可能であると判定する。更新前対話ルール1901によると、更新前対話を終了すると指定されているので、対話進行部1502はユーザAとの更新前対話を実行せずに終了する。対話進行部1502は話題情報管理部1501から更新前話題情報をクリアする。
In response to the update method determination result from the topic
更新前対話中にユーザAによって更新処理を棄却されなかったので(ステップS1606No)、対話進行部1502は話題情報反映部1503に話題情報管理部1501の更新を依頼する(ステップS1608)。話題情報反映部1503は新規話題情報「住所検索(都道府県名:φ、市区町村名:φ)」を話題情報管理部1501の最初に挿入する(ステップS1608)。
Since the update process was not rejected by the user A during the pre-update dialogue (No in step S1606), the
対話進行部1502は、現在の話題情報である「住所検索」を対象としてユーザAとの対話を継続する(ステップS1601)。対話進行部102は「住所検索」の対話手順に基づき、属性「都道府県名」を取得すると決定する。この決定に従いユーザAに対して応答SYS11を出カする。
The
続いてUSR12が入力された。USR12を解釈すると「ルート設定(目的地:Φ、経由地:φ、計算条件:高速優先)」という入力になる。対話進行部1502は、このユーザ入力によって新規話題情報の導入が行われたことを検出し(ステップS1602No,ステップS1603Yes)、話題情報反映部1503に、話題情報管理部1501の更新を依頼する(ステップS1604)。
Subsequently, USR12 was input. When USR12 is interpreted, the input becomes “route setting (destination: Φ, waypoint: φ, calculation condition: high-speed priority)”. The
話題情報反映部1503はステップS1604において新規話題情報「ルート設定」を利用した話題情報管理部1501の更新方法を判定する(ステップS1604)。第2の実施の形態における更新方法判定処理と同様に処理を行い、話題情報管理部1501に唯一登録されている「住所検索」が「ルート設定」の子孫話題であるので、新規話題情報「ルート設定」を「住所検索」の前に挿入すると判定する。
The topic
対話進行部1502は、話題情報反映部1503による更新方法の判定結果を受けて更新前対話を実行する(ステップS1605)。対話進行部1502はまず話題情報管理部1501に更新前話題情報を登録する。即ち新規話題情報を更新前話題情報に登録し、新規話題情報を反映させる位置を話題情報管理部1501の最初であると登録する。この時の話題情報管理部1501の状態は図21のようになっている。対話進行部1502は次に更新前話題情報を対象とした更新前対話を実行する。
In response to the update method determination result from the topic
対話進行部1502は更新前対話ルール管理部1504から適用可能なルールを収集する。新規話題情報は話題情報2101の前に挿入されるので現在の話題情報ではなく、更に新規話題情報はユーザ入力によって導入されたので更新前対話ルール1902の適用が可能である。また、被挿入話題情報が「住所検索」(2101)で、新規話題情報が「ルート設定」であり、話題依存関係データベース804(図10)を参照すると被挿入話題情報は新規話題情報の子孫話題ではあるが子話題ではないことがわかる。従って対話進行部1502は更新前対話ルール1903の適用も可能であると判定する。
The
更新前対話ルール1902、1903によると、『ユーザAに受理内容を提示し、更に新規話題情報を話題情報管理部1502に挿入してよいかどうかを確認する』という動作を行うように指定されている。従って対話進行部1502は更新前対話処理としてユーザAに対して応答SYS12を提示し、ユーザ入力を待つ。対話装置の処理状態はS1605で一時停止状態となる。
According to the
続いてUSR13が入力された。USR13を解釈すると“肯定"という入力になる。対話進行部1502においてこの入力は応答SYS12に対する回答であり、更新処理の実行を許可する入力であると判断する。対話進行部1502は、引き続き更新前対話処理(S1605)を継続する。
Subsequently, USR13 was input. When USR13 is interpreted, the input becomes “affirmative”. In the
対話進行部1502は更新前対話ルル管理部1504から適用可能なルールを収集する。更新前対話ルール1902、1903を収集対象から除外する。新規話題情報の挿入がユーザAによって許可されており、また、話題依・存関係データベース804を参照すると被挿入話題情報「住所検索」(2101)と新規話題情報「ルート設定」を辿る経路には話題「目的地設定」を経由するものと、「経由地設定」を経由するものの2種類が存在する。従って、対話進行部1502は更新前対話ルール1904の適用が可能であると判定する。更新前対話ルール1904によると、『被挿入話題情報が新規話題情報におけるどの利用・被利用関係を意図するものか問い合わせる』という動作を行うように指定されており、この動作を「住所検索」と「ルート設定」の関係に対応させると、『「住所検索」が「目的地設定」、「経由地設定」のどちらを意図するものか確認する』という動作を行うことになる。従って対話進行部1502は『「住所検索」が「目的地設定」を意図するものか』を確認するために更新前対話処理としてユーザAに対して応答SYS13を提示し、ユーザ入力を待つ。対話装置の処理状態はステップS1605で一時停止状態となる。
The
続いてUSR14が入力された。USR14を解釈すると“肯定"という入力になる。対話進行部1502においてこの入力は応答SYS13に対する回答であり、被挿入話題情報「住所検索」は「目的地設定」を意図した話題情報であると判断する。対話進行部1502は被挿入話題情報が「目的地設定」を意図した話題情報であることを登録し、引き続き更新前対話処理(ステップS1605)を継続する。
Subsequently, USR14 was input. When USR14 is interpreted, the input becomes “affirmative”. This input is a reply to the response SYS13 in the
対話進行部1502は更新前対話ルール管理部1504から適用可能なルールを収集する。更新前対話ルール1902、1903、1904を収集対象から除外すると適用可能な更新前対話ルールがなくなるため、適用可能な更新前対話ルールの収集に失敗する。従って、対話進行部1502は更新前対話が終了したと判定し、話題情報管理部1501から更新前話題情報をクリアする。
The
更新前対話中に更新処理の棄却がなかったため(ステップS1606No)、話題情報反映部1503は新規話題情報「ルート設定(目的地:φ、経由地:φ、計算条件:高速優先)」を話題情報管理部1501の先頭に挿入する(ステップS1608)。その後、対話進行部1502は現在の話題情報を対象とした対話進行を再開する(ステップS1601)。現在の話題情報は「住所検索」のまま変更が無いため、再び属性「都道府県名」を取得するためにユーザAに対して応答SYS14を提示する。
Since the update process was not rejected during the pre-update dialogue (No in step S1606), the topic
以上のように、本実施の形態では新規話題情報を用いて話題情報管理部1501を更新する前に更新前対話を実行することが可能である。従って、入力USR12のような被挿入話題情報とは直接関係のない話題の新規話題情報を挿入する場合には更新処理の実行可否を問い合わせたり(SYS12)、同時にユーザAが意図する被挿入話題情報の利用方法を確認したり(SYS13)することが可能となる。SYS13に対する確認結果を話題情報「住所検索」に登録することで、「住所検索」の解決後に検索結果の場所情報が「経由地設定」であるか「目的地設定」であるかを問い合わせることなく「目的地設定」に利用するとして対話を進めることが可能であり、スムーズにユーザAとの対話を進めることが可能となる。以上のように、本実施の形態では新規話題情報を用いて直ちに更新処理を行うよりもより柔軟性の高い対話管理が可能となる。
As described above, in this embodiment, it is possible to execute the pre-update dialog before updating the topic
上述の説明では更新前対話ルール管理部1504には新規話題情報の話題の種類によらず適用可能で汎用な更新前対話ルールのみを記述していたが、例えば図22のように新規話題情報の話題の種類に応じた更新前対話ルールを追加することも可能である。
In the above description, the pre-update dialog
図22における更新前対話ルール管理部1504では図19にある更新前対話ルール群(2202)に話題「ルート設定」を新規話題情報として加える際に適用可能な更新前対話ルール群(2201)を加えている。更新前対話ルール群2201にある更新前対話ルールには、「更新処理によって不適切と思われる値への更新が発生する場合には問い合わせる」(2203)、「対話順序(属性の決定順序)が固定されている場合には、その順序に応じた状況になるまで部分的に話題の解決を行う」(2204)といった意味合いのルールが登録されている。以上のように、新規話題情報の種類を特定した更新前対話ルール群では、新規話題情報の意味的な内容に応じた更新前対話ルールを登録することが可能である。
The pre-update dialog
更に、話題情報管理部1501における更新前話題情報を一つの話題情報ではなく、対話の優先順位順に話題情報を記憶するリスト(更新前話題情報リスト)とすることも可能である。更新前話題情報リストも話題情報管理部101と同様に対話を最優先する話題情報を最後に格納するようにし、更新前対話中では更新前話題情報リストの最後の話題情報を対象としてステップS1601と同様に対話を進行させる。更新前対話中に新規話題情報が導入された場合は更新前話題情報リストの最後に追加する。但し、更新前話題情報リストにある話題情報数が最初の一つだけになったときには更新前対話ルール管理部1504にある更新前対話ルールを適用する。
Further, topic information before update in the topic
以上のように変形した構成で、図22のような更新前対話ルール管理部1504の登録内容である場合に、図23のような対話を行った場合について説明する。この例のカーナビではルート設定を行うためには目的地、経由地の順に場所を決定しなければならないものとする。話題「ルート設定」に関する対話シナリオと、更新前対話ルール(2204)はこの制限を守って対話を進めるように設計されているものとする。
A description will be given of a case where a dialogue as shown in FIG. 23 is performed when the content is registered in the pre-update dialogue
図23におけるUSR11〜SYS13までは上述の対話例の説明と同様である。即ち、対話進行部1502はUSR12で新規話題情報「ルート設定」を検出し(ステップS1603Yes)、話題情報反映部1503は、新規話題情報を話題情報管理部1501の先頭に挿入すると決定している(ステップS1604)。SYS12からは更新前対話を行っており(ステップS1605)、この時の話題情報管理部1501は図21のようになっている。被挿入話題情報「住所検索」でユーザAが意図する利用法はUSR15により「目的地設定」への利用が否定されているため、対話進行部1502は「経由地設定」であると判定する。
USR11 to SYS13 in FIG. 23 are the same as those in the above-described dialog example. That is, the
ユーザAが「経由地設定」を先に解決しようとしているので、更新前対話ルール2204を適用し、先に「目的地設定」を解決すると動作する。対話進行部1502はこのことをSYS15でユーザAに提示し、「ルート設定」の(更新前対話用ではない)対話シナリオを参照し、ユーザAとの対話を実行する。例えば話題情報「目的地設定(目的地:φ)」を対話進行の対象として更新前話題情報リストの最後に追加し、ユーザAとの更新前対話を継続する。そしてユーザAが属性「目的地」を“○○タワー"と決定し、更新前話題情報リストの内容が「ルート設定(目的地:○○タワー、経由地:φ、計算条件=高速優先)」一つになると、対話進行部1502は、再度更新前対話ルール管理部1504を参照して適用可能な更新前対話ルールを収集する。しかしながら、適用可能な更新前対話ルールが存在しないため対話進行部1502は、更新前対話を終了する。
Since the user A intends to solve “route place setting” first, it operates when the
更新前対話中に「ルート設定」による話題情報管理部1501の更新を棄却されなかったので(ステップS1606No)、目的地のみを決定した話題情報「ルート設定(目的地:○○タワー、経由地:φ、計算条件:高速優先)」を話題情報管理部1501の先頭に挿入する(ステップS1608)。そして、話題情報管理部1501にある現在の話題情報「住所検索」を対象にしてユーザAとの対話を継続する(ステップS1601)。
Since the update of the topic
以上のように、このような変形例では話題情報の内容にまで立ち入った詳細な更新前対話ルールを参照し、更に新規話題情報による更新処理が可能な状態になるまで新規話題情報を修正するために更新前対話ルールではない通常の対話シナリオの一部を実行することが可能となる。従って、本実施の形態では新規話題情報を用いて話題情報管理部1501を更新する前に、その更新処理を実行する前に必要な情報を収集する更新前対話を実行することが可能である。
As described above, in such a modification, a detailed pre-update dialog rule that goes into the content of topic information is referred to, and the new topic information is corrected until update processing with new topic information is possible. It is possible to execute a part of a normal dialogue scenario that is not a pre-update dialogue rule. Therefore, in the present embodiment, before updating the topic
このように本発明の第3の実施の形態に係る対話装置によれば、新規導入される話題情報による話題情報管理部1501の更新処理を実行する前に、更新前対話をユーザAと行うことによって、更新処理の前に取得すべき情報を予め取得したり、更新処理の実行可否を確認したりするなどの柔軟な対話制御が可能となる。
As described above, according to the dialogue apparatus according to the third embodiment of the present invention, the pre-update dialogue is performed with the user A before the update processing of the topic
なお、上述の説明では話題情報管理部1501が管理する更新前話題情報、或いは更新前話題情報リストが一つだけであるかのように記述しているが、本実施の形態はそのような構成に限定されるものではない。例えば、更新前話題情報リストに対して再帰的に更新前話題情報リストを追加する構成でも良い。このような場合は、更新前話題情報リストを対象として更新前対話を行う際(ステップS1605)に、新規話題情報の導入を検出した際には話題情報反映部1503による更新前話題情報リストの更新方法の判定を行い、判定結果に基づいて再帰的に更新前話題情報リストを構築する。このような構成では再帰的に更新前対話を実行するように動作させることが可能である。
In the above description, the topic
また、上述の説明では話題情報管理部1501には話題情報管理部101に更新前話題情報、或いは更新前話題情報リストを加えた構成であるかのように記述しているが、本実施の形態はそのような構成に限定されるものではない。例えば、新規話題情報に更新前対話状態であることを示すフラグを付与し、現在の話題情報として話題情報管理部1501に追加しても良い。このような場合には、対話進行部1502は現在の話題情報が更新前対話状態であれば更新前対話を実行し、更新前対話が終了したら話題情報反映部1503に更新処理を依頼するか、或いは更新前対話が終了した話題情報を新規話題情報とみなして再度ステップS1604の更新内容の判定を実行する。このような動作をする場合では話題情報管理部1501における更新前話題情報(リスト)は不要となる。
In the above description, the topic
また、上述の説明では更新前対話ルール管理部1504は個別の対話ルールの形で対話手順を管理しているが、本実施の形態はそのような対話方式に限定されない。例えば、更新前対話の手順を状態遷移図形式のシナリオで記述することも可能である。或いは個別の話題に関する対話シナリオに更新前対話手順を組み込んで良く、このような場合は、更新前対話ルール管理部1504は、各話題の対話シナリオにおける更新前対話手順を取得する手段とみなすことが可能である。
In the above description, the pre-update interaction
また、上述の説明では更新前対話中にはユーザAとの対話の終了を検出しないように記述しているが、例えばユーザAが対話の継続を拒否したことを検出した場合などにはユーザAとの対話を終了しても良い。 In the above description, it is described that the end of the dialogue with the user A is not detected during the pre-update dialogue. However, for example, when it is detected that the user A refuses to continue the dialogue, the user A You may end the conversation with.
また、上述の説明では話題依存関係データベース804を備え、話題情報反映部1503の詳細動作は第2の実施の形態における話題情報反映部803とほぼ同様であるかのように記述しているが、この構成から話題依存関係データベース804を除外し、話題情報反映部1503の詳細動作を第1の実施の形態における話題情報反映部103によるものとしても良い。
In the above description, the
以上のように、新規話題情報による対話状態の更新の際に、更新前対話を行うものであれば、そのようなものは本発明の主旨の範囲内である。 As described above, if the pre-update conversation is performed when the conversation state is updated by the new topic information, such a thing is within the scope of the gist of the present invention.
以上に示した実施の形態によれば、新規に導入された対話内容と現在実行中の対話の順序を前後させ、柔軟な対話制御を行うことが可能となる。 According to the embodiment described above, it is possible to perform flexible dialog control by changing the order of newly introduced dialog contents and the order of dialogs currently being executed.
なお、上述の各実施の形態において話題情報管理部101、1501は話題情報のリストであるとしたが、ユーザAとの対話により現れた話題情報を対話の優先順に参照できる構成であれば良く、そのような構成は本発明の主旨の範囲内である。
In each of the above-described embodiments, the topic
また、上述の各実施の形態において話題情報反映部103、803で反映させる新規話題情報は単一の話題情報であるように記述しているが、複数の話題情報を対象にしても良い。例えば、新規話題情報導入時に話題依存関係データベース804に基づき遡及的に親話題を取得し、予め全ての親話題を反映させることも可能である。このような場合は、個々の話題情報の順序関係を保つようにして個別に新規話題情報の反映を行ってもよい。これとは別の方法として、それら複数の話題情報をまとめて反映させる場合もある。反映させる話題情報群全てを対象にして話題情報管理部101から更新可能な話題情報を検索し、更新可能な話題情報が見つかれば対象の話題情報を更新すると共に、他の反映させる話題情報群をその順序関係を保つように更新した話題情報の前後に挿入する。反映可能な話題情報が見つからなかった場合は、反映させる話題情報群の中で順序が最後の話題情報を対象として挿入位置を定める。以上のようにすれば複数の新規話題情報が導入されてもその内容を対話状態に反映させることが可能となる。
In the above-described embodiments, the new topic information reflected by the topic
上述の各実施の形態において、対話中に新規話題情報の導入を検出するタイミングが、ユーザ入力時、対話進行のために必要な情報を取得するために別の話題を利用すると決定した時、現在の話題を解決した時の3種類であると記述しているが、新規話題清報の導入を検出するタイミングはそれだけに限定されない。例えば、アプリケーションのイベントに応じて新規話題情報を導入する場合や、新規話題情報の侯補を予め作成しておき、何らかのイベントと連動してその候補を導入する場合も考えられる。このような場合においても話題情報反映部103、803、1503は導入すると決定した新規話題情報を対象とした更新判定・更新処理を行うことが可能である。
In each of the above-described embodiments, when the timing of detecting the introduction of new topic information during a conversation is determined to use another topic to acquire information necessary for the progress of the conversation at the time of user input, However, the timing for detecting the introduction of a new topic clearing is not limited to that. For example, when new topic information is introduced according to an application event, a candidate for new topic information is prepared in advance and the candidate is introduced in conjunction with some event. Even in such a case, the topic
上述の各実施の形態において、話題情報管理部101、1501や、話題依存関係データベース804や、更新前対話ルール管理部1504が、一つの装置であるかのような構成で記述しているが、図24に示すように話題情報管理部101(1501)、対話進行部102(1502)、話題情報反映部103(803、1503)、話題依存関係データベース804、更新前対話ルール管理部1504の各構成要素を独立して配置し、それぞれの構成要素の間をネットワークや無線回線などの通信媒体200を介して接続し情報の送受信を行なうようにしても良い。
In each of the above-described embodiments, the topic
なお、本発明の対話装置はアプリケーションと分離した構成であるかのように記述しているが、アプリケーションの機能を含有する対話装置であっても本発明の適用が可能である。例えばユーザAに提示する情報を管理するデータベースを保持し、ユーザAの要求する条件に基づいてそのデータベースを検索する機能を含有する対話装置の場合について考える。このような対話装置において、ユーザAとの対話によってデータベース検索条件を取得し、取得した検索条件に基づいてそのデータベースを検索し、ユーザAに対して回答を返す動作をする場合は、そのようなデータベース検索機能は本発明におけるアプリケーションの機能であり、データベース検索条件を取得することが本発明における話題に相当する。また、データベース検索の他に種々の機能を保有する対話装置であっても、ユーザAと対話をして各種機能の動作条件を決定しそれに基づいて各種機能を動作させる場合は、その機能は全て本発明におけるアプリケーションの機能と同一とみなせる。例えばユーザAとの対話によって指定された条件で各種機能を動作させる構成や、対話装置から動作条件を提示してユーザAからの承諾を得ることで各種機能を動作させる構成であっても、動作させる各種機能は本発明におけるアプリケーションの機能であると言える。 Note that although the interactive device of the present invention is described as if it is a configuration separated from the application, the present invention can also be applied to an interactive device that includes application functions. For example, consider the case of an interactive apparatus that holds a database for managing information to be presented to user A and contains a function for searching the database based on conditions requested by user A. In such an interactive device, when a database search condition is acquired by interaction with the user A, the database is searched based on the acquired search condition, and an answer is returned to the user A, such an operation is performed. The database search function is a function of the application in the present invention, and acquiring the database search condition corresponds to the topic in the present invention. Further, even if the interactive device has various functions in addition to the database search, when the user A interacts with the user A to determine the operating conditions of the various functions and operate the various functions based on the operating conditions, all the functions are This can be regarded as the same as the function of the application in the present invention. For example, even in a configuration in which various functions are operated under conditions specified by a dialog with the user A, or in a configuration in which various functions are operated by obtaining an operation condition from the dialog device and obtaining consent from the user A, It can be said that the various functions to be performed are functions of the application in the present invention.
また、本発明の対象とするアプリケーションが単一であるかのように記述しているが、複数のアプリケーションの機能を利用することも可能である。本発明では複数のアプリケーションに含まれる個々の機能を実行させることを個別の目的として、それぞれを個別の話題として取り扱うことが可能である。 In addition, the application is described as if it is a single application, but it is also possible to use functions of a plurality of applications. In the present invention, each function included in a plurality of applications can be executed as an individual topic for the purpose of executing each function.
また、各実施の形態の説明においてはアプリケーションの機能を実行させることを話題解決時の一回だけ行うかのように記述しているが、本発明における話題は「アプリケーションにある機能を有効に動作させる」ことを目的とするものであり、その実行結果が有意なものでなければ(検索結果の件数が0件や多すぎる場合、コマンドの実行失敗など)話題を解決していないとみなし、再度その機能の実行条件の変更を行いアプリケーションの機能を複数回実行しても良い。実行条件はユーザAから対話的に変更することも、対話装置から白動的に変更することも可能である。或いはある話題の対話中の途中経過において、ユーザAとの対話進行のための手順として必要な機能を実行しても良い。また、各実施の形態の説明においてはユーザAから話題情報を導入することで対話が開始しているが、シナリオに基づきユーザ入力前に対話装置側から話題情報を導入しても良い。また、各実施の形態の説明においてはカーナビを例にして説明しているが、本発明は家電の操作などカーナビ以外のアプリケーションにも適用することも可能である。 Also, in the description of each embodiment, it is described as if the application function is executed only once at the time of topic resolution, but the topic in the present invention is that “the function in the application operates effectively. If the execution result is not significant (if the number of search results is 0 or too many, command execution failure, etc.) The function of the application may be executed a plurality of times by changing the execution condition of the function. The execution condition can be interactively changed from the user A or can be changed dynamically from the interactive apparatus. Alternatively, a function necessary as a procedure for progressing the dialog with the user A may be executed in the middle of the conversation on a certain topic. Further, in the description of each embodiment, the conversation is started by introducing the topic information from the user A. However, the topic information may be introduced from the dialog device side before the user input based on the scenario. In the description of each embodiment, a car navigation is described as an example. However, the present invention can also be applied to applications other than car navigation such as operation of home appliances.
その他、本発明は、上記実施の形態に限定されるものでなく、実施段階では、その要旨を変更しない範囲で種々変形することが可能である。 In addition, this invention is not limited to the said embodiment, In the implementation stage, it can change variously in the range which does not change the summary.
さらに、上記実施の形態には、種々の段階の発明が含まれており、開示されている複数の構成要件における適宜な組み合わせにより種々の発明が抽出できる。例えば、実施の形態に示されている全構成要件から幾つかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題を解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出できる。 Furthermore, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and is described in the column of the effect of the invention. If the above effect is obtained, a configuration from which this configuration requirement is deleted can be extracted as an invention.
101、1501・・・話題情報管理部
102、1502・・・対話進行部
103、803、1503・・・話題情報反映部
804・・・話題依存関係データベース
1504・・・更新前対話ルール管理部
401、402、403、701、702、703、1201、1202、1303、1703、1704、2101・・・話題情報
1901、1902、1903、1904、2203、2204・・・更新前対話ルール
2201、2202・・・更新前対話ルール群
101, 1501 ... Topic
Claims (9)
前記対話進行手段による前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する話題情報管理手段と、
前記対話進行手段により検出される新規の話題情報により前記話題情報管理手段から所定の関係を有する話題情報を探索し、該検索された話題情報に対して前記新規の話題情報に基づく対話を優先して進行させるように前記検索された話題情報の更新又は前記新規の話題情報の挿入を実行する話題情報反映手段と
を具備したことを特徴とする対話装置。 Dialogue progress means for performing progress of dialogue with the user and detecting introduction of new topic information during the dialogue;
Topic information management means for storing topic information including at least the type of topic and the progress state of the dialog appearing during the dialog with the user by the dialog progressing means in a priority order for proceeding with the dialog;
Search for topic information having a predetermined relationship from the topic information management means based on the new topic information detected by the dialog progress means, and prioritize the dialog based on the new topic information with respect to the searched topic information. And a topic information reflecting means for updating the searched topic information or inserting the new topic information so as to proceed.
前記対話進行手段による前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する話題情報管理手段と、
前記対話進行手段により検出される新規の話題情報により前記話題情報管理手段から更新可能な話題情報を探索し、該検索された更新可能な話題情報の対話進行状況を前記新規の話題情報における対話進行状況に関する情報を用いて更新するとともに、該対話進行状況の更新が局所的な話題を更新対象とするとき、該更新対象の更新と共に前記更新対象を現在の話題とするように前記話題情報管理手段の話題情報を消去する話題情報反映手段と
を具備したことを特徴とする対話装置。 Dialogue progress means for performing progress of dialogue with the user and detecting introduction of new topic information during the dialogue;
Topic information management means for storing topic information including at least the type of topic and the progress state of the dialog appearing during the dialog with the user by the dialog progressing means in a priority order for proceeding with the dialog;
The topic information management means searches for topic information that can be updated from the new topic information detected by the dialog progress means, and the dialog progress of the searched topic information that can be updated is the dialog progress in the new topic information. The topic information management unit updates the information using status information, and updates the progress of the conversation to a local topic when updating the topic to be the current topic together with the update of the update target. A conversation apparatus characterized by comprising topic information reflecting means for erasing topic information.
前記対話進行手段による前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する話題情報管理手段と、
各話題における利用・被利用に関する依存関係を管理する話題依存関係データベースと、
前記対話進行手段により検出される新規の話題情報との利用関係を確認する話題情報を挿入確認対象として前記話題情報管理手段から検索し、該検索された挿入確認対象について前記話題依存関係データベースを参照して前記新規の話題情報に対する依存関係を判断し、この判断結果に基づいて前記新規の話題情報を前記挿入確認対象の前に挿入可能にする前記話題情報反映手段と
を具備したことを特徴とする対話装置。 Dialogue progress means for performing progress of dialogue with the user and detecting introduction of new topic information during the dialogue;
Topic information management means for storing topic information including at least the type of topic and the progress state of the dialog appearing during the dialog with the user by the dialog progressing means in a priority order for proceeding with the dialog;
A topic dependency database that manages dependency relations for usage and usage in each topic;
The topic information management means is searched for the topic information for confirming the usage relationship with the new topic information detected by the dialog advancing means as the insertion confirmation target, and the topic dependency relation database is referred to for the searched insertion confirmation target. And determining the dependency relationship with respect to the new topic information, and the topic information reflecting means for enabling the new topic information to be inserted before the insertion confirmation target based on the determination result. Interactive device.
前記話題情報反映手段は、前記新規話題情報を用いて前記話題情報管理手段を更新する前に前記更新前対話ルール管理手段を参照し、該更新前対話ルール管理手段に登録された更新前対話ルールに従って更新前対話を実行可能としたことを特徴とする請求項2又は4記載の対話装置。 It further has a pre-update dialogue rule management means for registering a pre-update dialogue rule,
The topic information reflecting means refers to the pre-update dialog rule management means before updating the topic information management means using the new topic information, and the pre-update dialog rules registered in the pre-update dialog rule management means 5. The dialogue apparatus according to claim 2, wherein the dialogue before update can be executed according to the above.
前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する第2のステップと、
前記新規の話題情報により前記第2のステップで記憶された内容から所定の関係を有する話題情報を探索し、該検索された話題情報に対して前記新規の話題情報に基づく対話を優先して進行させるように前記検索された話題情報の更新又は前記新規の話題情報の挿入を実行する第3のステップと
を有することを特徴とする対話方法。 A first step of performing a progress process of a dialog with a user and detecting introduction of new topic information during the dialog;
A second step of storing topic information including at least a type of topic and a progress state of the dialog appearing during the dialog with the user in a priority order for proceeding with the dialog;
The topic information having a predetermined relationship is searched from the content stored in the second step by the new topic information, and the dialog based on the new topic information is advanced with respect to the searched topic information. And a third step of updating the searched topic information or inserting the new topic information so as to make it happen.
前記対話進行部による前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する話題情報管理部と、
前記対話進行部により検出される新規の話題情報により前記話題情報管理部から所定の関係を有する話題情報を探索し、該検索された話題情報に対して前記新規の話題情報に基づく対話を優先して進行させるように前記検索された話題情報の更新又は前記新規の話題情報の挿入を実行する話題情報反映部と、
前記対話進行部、話題情報管理部及び話題情報反映部の少なくとも2つの間を接続し情報の送受信を行なう通信媒体と
を具備したことを特徴とする対話システム。 A dialogue progress unit for performing a dialogue progress process with the user and detecting introduction of new topic information during the dialogue;
A topic information management unit for storing topic information including at least the type of topic and the progress state of the dialog that appeared during the dialog with the user by the dialog progress unit in a priority order for the dialog to proceed;
Search for topic information having a predetermined relationship from the topic information management unit based on the new topic information detected by the dialog progression unit, and prioritize the dialog based on the new topic information with respect to the searched topic information. Updating the searched topic information or inserting the new topic information so as to proceed,
A communication system comprising: a communication medium that connects and transmits at least two of the dialog progression unit, the topic information management unit, and the topic information reflection unit.
ユーザとの対話の進行処理を行うとともに、前記対話中の新規の話題情報の導入を検出する第1のステップと、
前記ユーザとの対話中に現れた少なくとも話題の種類と対話の進行状態を含む話題情報を前記対話を進行させる優先順序で記憶する第2のステップと、
前記新規の話題情報により前記第2のステップで記憶された内容から所定の関係を有する話題情報を探索し、該検索された話題情報に対して前記新規の話題情報に基づく対話を優先して進行させるように前記検索された話題情報の更新又は前記新規の話題情報の挿入を実行する第3のステップと
を有することを特徴とするコンピュータプログラム。 A computer program for controlling a dialog device for executing a dialog with a user,
A first step of performing a progress process of a dialog with a user and detecting the introduction of new topic information during the dialog;
A second step of storing topic information including at least the type of topic and a progress state of the dialog appearing during the dialog with the user in a priority order for proceeding with the dialog;
The topic information having a predetermined relationship is searched from the content stored in the second step by the new topic information, and the dialog based on the new topic information is prioritized with respect to the searched topic information. And a third step of executing the update of the searched topic information or the insertion of the new topic information so as to cause the computer program to be executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006087671A JP2007264199A (en) | 2006-03-28 | 2006-03-28 | Interactive device, interactive method, interactive system, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006087671A JP2007264199A (en) | 2006-03-28 | 2006-03-28 | Interactive device, interactive method, interactive system, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007264199A true JP2007264199A (en) | 2007-10-11 |
Family
ID=38637261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006087671A Abandoned JP2007264199A (en) | 2006-03-28 | 2006-03-28 | Interactive device, interactive method, interactive system, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007264199A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016147400A1 (en) * | 2015-03-19 | 2016-09-22 | 株式会社 東芝 | Dialog data collection system, dialog data collection method, dialog data collection program, dialog data collection assist device, dialog data collection assist method, and dialog data collection assist program |
-
2006
- 2006-03-28 JP JP2006087671A patent/JP2007264199A/en not_active Abandoned
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016147400A1 (en) * | 2015-03-19 | 2016-09-22 | 株式会社 東芝 | Dialog data collection system, dialog data collection method, dialog data collection program, dialog data collection assist device, dialog data collection assist method, and dialog data collection assist program |
JPWO2016147400A1 (en) * | 2015-03-19 | 2017-06-08 | 株式会社東芝 | Dialog data collection system, dialog data collection method, dialog data collection program, dialog data collection support device, dialog data collection support method, and dialog data collection support program |
US11379768B2 (en) | 2015-03-19 | 2022-07-05 | Kabushiki Kaisha Toshiba | Dialogue data collection system and dialogue data collection supporting apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007264198A (en) | Interactive device, interactive method, interactive system, computer program and interactive scenario generation device | |
JP4322907B2 (en) | Dialogue device, dialogue method and computer program | |
JP2008083100A (en) | Voice interactive device and method therefor | |
JP2010086083A (en) | Editing apparatus, editing program and editing method | |
JP2007058414A (en) | Log management program for computer, its log management method, and computer system | |
JP2001022779A (en) | Interactive information retrieval device, method for interactive information retrieval using computer, and computer-readable medium where program performing interactive information retrieval is recorded | |
JP5892444B2 (en) | Information processing device | |
JP2006277519A (en) | Interaction device, interaction scenario editing device, interaction method and program | |
JP5327737B2 (en) | Dialogue device, weight information learning device, dialogue method, weight information learning method, and program | |
JP2007264199A (en) | Interactive device, interactive method, interactive system, and computer program | |
JP2008203516A (en) | Information processor and information processing method | |
JPWO2004092967A1 (en) | Dialogue device, dialogue method and dialogue program | |
JP2007082104A (en) | Network system, network management apparatus, and management method thereof | |
JP2008015209A (en) | Voice recognition device and its recognition dictionary update method, program and recording medium | |
WO2022213986A1 (en) | Voice recognition method and apparatus, electronic device, and readable storage medium | |
JP4824043B2 (en) | Knowledge structure construction method of natural language dialogue agent, automatic response creation method and automatic response creation apparatus using knowledge structure | |
CN114090304B (en) | Message playback method and device based on message middleware | |
JP2008243048A (en) | Interaction device, interaction method and program | |
JP4689635B2 (en) | Metadata management method, metadata management system, and metadata management program | |
WO2009139165A1 (en) | Service combination support apparatus and service combination support method and, memory medium | |
JP2010009195A (en) | Batch processing method, batch processing program, request execution device and database system | |
JP5206675B2 (en) | Structured document converter | |
JP2006239849A (en) | Robot control system | |
JP2007018245A (en) | Interactive device, interactive method and program | |
JP2006185380A (en) | Character processor with prediction function, method, recording medium and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070926 |
|
A762 | Written abandonment of application |
Free format text: JAPANESE INTERMEDIATE CODE: A762 Effective date: 20100201 |