JP3468572B2 - Dialogue processing device - Google Patents

Dialogue processing device

Info

Publication number
JP3468572B2
JP3468572B2 JP05016294A JP5016294A JP3468572B2 JP 3468572 B2 JP3468572 B2 JP 3468572B2 JP 05016294 A JP05016294 A JP 05016294A JP 5016294 A JP5016294 A JP 5016294A JP 3468572 B2 JP3468572 B2 JP 3468572B2
Authority
JP
Japan
Prior art keywords
item
syntax
unknown word
knowledge
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05016294A
Other languages
Japanese (ja)
Other versions
JPH07261793A (en
Inventor
圭輔 渡邊
明人 永井
泰 石川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP05016294A priority Critical patent/JP3468572B2/en
Publication of JPH07261793A publication Critical patent/JPH07261793A/en
Application granted granted Critical
Publication of JP3468572B2 publication Critical patent/JP3468572B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、自然言語によるマン
・マシン・インタフェースに用いられる対話処理装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dialogue processing device used for a natural language man-machine interface.

【0002】[0002]

【従来の技術】従来、自然言語の解析は、正規文法、文
脈自由文法などの構文知識を用いて行われている。これ
らの構文知識は、テキストとして書かれた自然言語の解
析だけでなく、音声としての自然言語の解析、すなわち
音声認識においても用いられる。その例として、特開昭
63−83799号公報の従来の連続音声認識方式を図
11に示す (従来例1)。
2. Description of the Related Art Conventionally, natural language analysis is performed using syntactic knowledge such as regular grammar and context-free grammar. These syntactic knowledge is used not only in the analysis of natural language written as text, but also in the analysis of natural language as speech, that is, in speech recognition. As an example thereof, a conventional continuous speech recognition method disclosed in Japanese Patent Laid-Open No. 63-83799 is shown in FIG. 11 (conventional example 1).

【0003】この方式では、音響分析・マッチング部1
0において、音声入力を音響分析して得られる音素セグ
メントと標準パタンとのマッチングを行い正規化された
類似度を結果として出力する。単語照合部11ではこの
結果を、知識処理部14から生成された単語ネットワー
ク13に通して単語同定を行い、前記単語ネットワーク
13を通過した単語とそのスコアから最適単語列を選択
する。そしてその単語列の構文的妥当性を、前記知識処
理部14の知識を用いて単語列検証部12で行い連続音声
を認識する。
In this method, the acoustic analysis / matching unit 1
At 0, the phoneme segment obtained by acoustically analyzing the voice input is matched with the standard pattern, and the normalized similarity is output as a result. The word collating unit 11 passes this result through the word network 13 generated by the knowledge processing unit 14 for word identification, and selects the optimum word string from the words that have passed through the word network 13 and their scores. Then, the word string verifier 12 verifies the syntactic validity of the word string by using the knowledge of the knowledge processor 14, and recognizes the continuous speech.

【0004】一方、例えば、図12は平成4年10月日
本音響学会講演論文集の39頁に掲載された従来の音声
対話システムの構成図である(従来例2)。
On the other hand, for example, FIG. 12 is a block diagram of a conventional voice dialogue system published on page 39 of the proceedings of the Acoustical Society of Japan in October 1992 (Prior art example 2).

【0005】この方式では、対話の流れが状態遷移ネッ
ト17によって表現される。音声認識部15では入力音
声に対して認識処理が行われ認識結果を出力する。対話
管理部16では、前記状態遷移ネット17を用い、前記
音声認識部15からの結果に応じて遷移先の状態を決
め、現在の状態から遷移先状態への前記状態遷移ネット
17中のアークの上に書かれている情報検索の指示を出
力する。情報検索部18はその指示を入力として情報検
索を行い検索結果を出力する。前記対話管理部16では
前記情報検索部18からの結果を入力とし、前記アーク
上に書かれている応答生成の指示にしたがって応答を生
成する。この応答は応答生成出力部19に入力され音声
出力、画像出力などによりユーザに応答を出力する。前
記対話管理部16においては、新しい状態に移ると音声
認識部15を起動し同様の手続きを進める。
In this system, the flow of dialogue is represented by the state transition net 17. The voice recognition unit 15 performs a recognition process on the input voice and outputs a recognition result. The dialogue management unit 16 uses the state transition net 17 to determine the state of the transition destination according to the result from the voice recognition unit 15, and determines the arc in the state transition net 17 from the current state to the transition destination state. Outputs the information retrieval instructions written above. The information retrieving unit 18 retrieves information by inputting the instruction and outputs the retrieval result. The dialogue management unit 16 receives the result from the information retrieval unit 18, and generates a response according to the response generation instruction written on the arc. This response is input to the response generation / output unit 19 and the response is output to the user by voice output, image output, or the like. In the dialogue management unit 16, when the new state is entered, the voice recognition unit 15 is activated and the same procedure is performed.

【0006】一方、例えば、図13は特開平2−298
997号公報の従来の音声認識装置である(従来例
3)。
On the other hand, for example, FIG.
This is a conventional voice recognition device of Japanese Patent No. 997 (conventional example 3).

【0007】この方式では、音声認識部20によって入
力音声が音韻または音節単位で認識され、認識結果が言
語処理部21に出力される。前記言語処理部21は前記
認識結果を用いて言語処理を行い、単語単位または文節
単位に“確からしさ”を表すスコアが付加された候補列
を生成する。さらに、この生成された候補列と言語処理
用辞書部22の登録内容との照合を行い、前記候補列の
中から前記言語処理用辞書部22に登録された文法的に
正しい候補と前記言語処理用辞書部22に未登録である
が前記スコアが所定値以上である候補とが選出されて候
補列が再編される。この再編された候補列は表示部23
に入力されメニュー方式で表示される。したがって、前
記言語処理用辞書部22に未登録であるが前記スコアが
所定値以上の候補も、入力音声の認識候補として表示さ
れる。
In this method, the voice recognition unit 20 recognizes the input voice in units of phonemes or syllables, and outputs the recognition result to the language processing unit 21. The language processing unit 21 performs language processing using the recognition result, and generates a candidate string to which a score representing "probability" is added in word units or phrase units. Further, the generated candidate string is collated with the registered contents of the language processing dictionary unit 22, and the grammatically correct candidate registered in the language processing dictionary unit 22 and the language processing are registered from the candidate string. Candidates which have not been registered in the dictionary unit 22 but whose score is equal to or higher than a predetermined value are selected and the candidate sequence is reorganized. This reorganized candidate sequence is displayed on the display unit 23.
Is input to and displayed in the menu system. Therefore, candidates that are not registered in the language processing dictionary unit 22 but have the score equal to or higher than the predetermined value are also displayed as the recognition candidates of the input voice.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、前記従
来の方式(従来例1、従来例2)では、自然言語を用い
た対話的なユーザインターフェースを構築する場合、自
然言語解析での構文知識と対話管理での対話管理知識が
独立であるため、自然言語解析での構文知識と対話管理
での対話管理知識の対応付け、すなわち自然言語処理で
受理されるユーザの入力文と、それを受理したときにシ
ステムがとる動作の対応付けが明確でなかった。例え
ば、自然言語解析部で受理される入力文にもかかわら
ず、対話管理部には対応する動作が規定されていない、
などの不整合が生じた。また、自然言語解析部での解析
結果を対話管理部において再評価し、システムの動作に
必要なパラメータを抽出する必要があり、処理量が多く
なり効率が悪いという問題があった。さらに、構文知識
と対話管理知識を個別に設計するので設計・管理の効率
が悪いことも問題点であった。
However, in the conventional method (conventional example 1 and conventional example 2), when constructing an interactive user interface using natural language, syntactic knowledge and dialogue in natural language analysis are used. Since the dialogue management knowledge in management is independent, the syntactic knowledge in natural language analysis is associated with the dialogue management knowledge in dialogue management, that is, the user's input sentence accepted in natural language processing and when it is accepted. The correspondence between the actions taken by the system was not clear. For example, even though the input sentence is accepted by the natural language analysis unit, the corresponding operation is not defined in the dialogue management unit,
Inconsistency such as occurred. In addition, it is necessary to re-evaluate the analysis result in the natural language analysis section in the dialogue management section and extract the parameters required for the operation of the system, which causes a large amount of processing and is inefficient. Another problem is that the design and management are inefficient because the syntactic knowledge and the dialogue management knowledge are designed separately.

【0009】また、構文知識に規定外の単語および単語
の並びである未知語がユーザの入力文に含まれている場
合、前記従来の方法(従来例3)は、ユーザに対して未
知語を含む認識候補を表示するのみで、その後のシステ
ムの対話管理知識が規定されていなかった。そのため、
ユーザとシステムの対話の流れが途切れ、対話が円滑に
継続されないことが問題であった。
Further, when the syntactic knowledge includes an unspecified word and an unknown word that is a sequence of words in the input sentence of the user, the conventional method (conventional example 3) uses the unknown word to the user. Only the recognition candidates that include it were displayed, and the subsequent system interaction management knowledge was not specified. for that reason,
The problem is that the flow of the dialogue between the user and the system is interrupted and the dialogue cannot be continued smoothly.

【0010】本発明は前記の課題を解決するためになさ
れたもので、第1の目的は、構文知識と対話管理知識に
不整合が生じず、自然言語解析部での解析結果を対話管
理部において再評価する必要がなく、設計・管理が効率
よく行える対話処理装置を提供するものである。
The present invention has been made to solve the above-mentioned problems. A first object of the present invention is to ensure that the syntactic knowledge and the dialogue management knowledge do not become inconsistent, and that the result of analysis by the natural language analysis section is displayed in the dialogue management section. It is an object of the present invention to provide an interactive processing device that can be efficiently designed and managed without having to re-evaluate.

【0011】また、第2の目的は、ユーザの入力文に未
知語が含まれている場合にもシステムとユーザとの対話
が途切れることなく円滑に対話を維持できる対話処理装
置を提供するものである。
A second object of the present invention is to provide a dialogue processing device capable of smoothly maintaining a dialogue between the system and the user without interruption even when the user's input sentence contains an unknown word. is there.

【0012】[0012]

【課題を解決するための手段】前述の目的を達成するた
めに、この発明にかかわる対話処理装置は、対話処理装
置が外部装置に出力する動作指令のパラメータを項目と
定義し、対話の一状態をステージと定義し、各ステージ
に対して、前記項目の並びで表現された自然言語の構文
と、その構文に対応する前記動作指令と、その構文に対
応する遷移先ステージとを記述したステージ知識、およ
び項目に対する自然言語を規定する項目構文知識を保持
する統合知識記憶部と、前記統合知識記憶部のステージ
知識と項目構文知識を読み出し、前記ステージ知識の各
構文に対して構文番号を与え、その構文番号と、その構
文番号に対応する前記動作指令と、その構文番号に対応
する遷移先ステージとを記述した対話状態知識を生成し
て対話状態知識記憶部に出力し、前記番号付けされた構
文と前記項目構文知識からなる構文知識を生成して構文
知識記憶部に出力する知識生成部と、前記構文知識を保
持する構文知識記憶部と、前記対話状態知識を保持する
対話状態知識記憶部と、自然言語を入力とし、対話状態
管理部から指定される構文番号の構文を前記構文知識記
憶部から選択し、選択した構文を用いて自然言語を解析
し、前記入力が受理された構文の構文番号、各項目、お
よび各項目に対する解析結果を出力する自然言語解析部
と、前記自然言語解析部からの構文番号、各項目、およ
び各項目に対する解析結果を入力とし、この構文番号に
対応する前記動作指令を前記対話状態知識から決定し
て、動作指令の各項目および各項目に対する解析結果と
ともに外部装置に出力し、前記構文番号に対応する前記
遷移先ステージを前記対話状態知識から決定してステー
ジを遷移させ、遷移先ステージに対する構文番号を前記
対話状態知識から決定して前記自然言語解析部に出力す
る対話状態管理部を設けたものである。 また、前記構
文知識に規定外の単語および単語の並びを未知語と定義
し、自然言語を入力とし、この入力に未知語が含まれる
場合、未知語の区間を検出し、その未知語区間に対応す
る構文の項目を未知語項目として推定し、未知語の文字
列を推定し、前記入力を受理する可能性のある構文の構
文番号、各項目、各項目に対する解析結果、解析結果が
未知語の推定文字列である項目、および未知語の推定文
字列を未知語処理部に出力し、前記入力に未知語が含ま
れない場合は、前記入力を受理する可能性のある構文の
構文番号、各項目、各項目に対する解析結果を未知語処
理部に出力する自然言語解析部と、前記自然言語解析部
からの構文番号、各項目、各項目に対する解析結果、未
知語項目、および未知語の推定文字列を入力とし、未知
語項目が複数ある場合には、未知語処理知識記憶部に保
持される項目と項目の特徴となる文字列との対応関係を
規定する未知語処理知識を用いて、複数ある前記未知語
項目の中から未知語項目を一つに推定し、この推定され
た未知語項目と、前記自然言語解析部から入力される構
文番号のうち前記一つに推定された未知語項目を含む構
文の構文番号と、前記各項目、前記各項目に対する解析
結果、および前記未知語の推定文字列を対話状態管理部
に出力し、前記未知語項目が一つの場合には、前記構文
番号、前記各項目、前記各項目に対する解析結果、前記
未知語項目、および前記未知語の推定文字列を対話状態
管理部に出力し、前記未知語項目が存在しない場合に
は、前記構文番号、前記各項目、前記各項目に対する解
析結果を対話状態管理部に出力する未知語処理部と、各
ステージに対して、未知語項目に対応する前記動作指令
を記述したステージ知識を保持する統合知識記憶部と、
項目と項目の特徴となる文字列との対応関係を規定する
未知語処理知識を保持する未知語処理知識記憶部と、前
記未知語処理部からの構文番号、各項目、各項目に対す
る解析結果、未知語の推定文字列、および未知語項目を
入力とし、未知語項目が存在する場合は、前記構文番号
と前記未知語項目に対応する前記動作指令を前記対話状
態知識から決定して、動作指令の各項目と、前記各項目
に対する解析結果とを、前記未知語の推定文字列ととも
に外部装置に出力する対話状態管理部と、を設けたもの
である。
In order to achieve the above-mentioned object, a dialogue processing apparatus according to the present invention defines a parameter of an operation command which the dialogue processing apparatus outputs to an external device as an item, and sets one state of the dialogue. Is defined as a stage, and for each stage, the stage language describing the syntax of the natural language expressed by the sequence of the items, the operation command corresponding to the syntax, and the transition destination stage corresponding to the syntax. , And an integrated knowledge storage unit that holds item syntax knowledge that defines a natural language for an item, read stage knowledge and item syntax knowledge from the integrated knowledge storage unit, and give a syntax number to each syntax of the stage knowledge, A dialog state knowledge record is generated by generating dialog state knowledge describing the syntax number, the operation command corresponding to the syntax number, and the transition destination stage corresponding to the syntax number. Output to a syntactic knowledge storage unit for generating syntactic knowledge including the numbered syntax and the item syntactic knowledge and outputting the syntactic knowledge to the syntactic knowledge storage unit, the syntactic knowledge storage unit that holds the syntactic knowledge, and the dialogue. A dialogue state knowledge storage unit holding state knowledge and a natural language are input, and a syntax of a syntax number specified by a dialogue state management unit is selected from the syntax knowledge storage unit, and a natural language is analyzed using the selected syntax. Then, the syntax number of the syntax received the input, each item, and a natural language analysis unit that outputs the analysis result for each item, and the syntax number from the natural language analysis unit, each item, and the analysis result for each item , The operation command corresponding to this syntax number is determined from the conversation state knowledge, and is output to an external device together with each item of the operation command and the analysis result for each item. A transition state management unit that determines the transition destination stage corresponding to the transition state from the conversation state knowledge, transitions the stage, determines the syntax number for the transition destination stage from the conversation state knowledge, and outputs the determination result to the natural language analysis unit. It is a thing. In addition, a word and a sequence of words that are not defined in the syntactic knowledge are defined as an unknown word, and natural language is used as an input. When the input includes an unknown word, the unknown word section is detected and the unknown word section is set to the unknown word section. Estimate the item of the corresponding syntax as an unknown word item, estimate the character string of the unknown word, the syntax number of the syntax that may accept the input, each item, the analysis result for each item, the analysis result is an unknown word An item that is an estimated character string of, and output an estimated character string of an unknown word to an unknown word processing unit, and if the input does not include an unknown word, the syntax number of the syntax that may accept the input, Each item, a natural language analysis unit that outputs the analysis result for each item to the unknown word processing unit, and the syntax number from the natural language analysis unit, each item, the analysis result for each item, the unknown word item, and the estimation of the unknown word Input a character string, unknown term When there are a plurality of unknown word processing knowledge items, the unknown word processing knowledge that defines the correspondence between the items held in the unknown word processing knowledge storage unit and the character strings that characterize the items is used to select from among the plurality of unknown word items. Estimate the unknown word item to one, the estimated unknown word item, and the syntax number of the syntax including the unknown word item estimated to one of the syntax numbers input from the natural language analysis unit, Each item, the analysis result for each item, and the estimated character string of the unknown word are output to the dialogue state management unit, and if there is one unknown word item, the syntax number, each item, each item The analysis result, the unknown word item, and the estimated character string of the unknown word are output to the dialogue state management unit, and when the unknown word item does not exist, the syntax number, each item, and the analysis for each item The result is the dialogue state management unit And unknown word processor for outputting, for each stage, and the integrated knowledge storage unit for holding a stage knowledge describing the operation command corresponding to the unknown word entries,
An unknown word processing knowledge storage unit that holds the unknown word processing knowledge that defines the correspondence relationship between the item and the character string that is the characteristic of the item, the syntax number from the unknown word processing unit, each item, the analysis result for each item, An estimated character string of an unknown word and an unknown word item are input, and if an unknown word item exists, the operation command corresponding to the syntax number and the unknown word item is determined from the dialogue state knowledge, and the operation command And an interaction state management unit that outputs the analysis result for each item to the external device together with the estimated character string of the unknown word.

【0013】[0013]

【作用】前記のように構成された請求項1の対話処理装
置においては、対話処理装置が外部装置に出力する動作
指令のパラメータである項目の並びで構文を表現し、構
文と動作指令を対応付けてステージ知識として記述する
ため、自然言語解析で受理されるユーザの入力文と、そ
れを受理したときにシステムがとる動作の対応付けを同
時に明示的に行なうことができるようになる。
According to the dialogue processing apparatus of the present invention configured as described above, the dialogue processing apparatus expresses the syntax by a sequence of items which are parameters of the operation command output to the external device, and associates the syntax with the operation command. Since it is added as a stage knowledge, the input sentence of the user accepted by the natural language analysis and the action taken by the system when the sentence is accepted can be explicitly associated at the same time.

【0014】請求項2の対話処理装置においては、未知
語処理部により、未知語を含む入力文に対しても、未知
語の項目を一つに推定して、入力を受理する構文を一つ
に推定し、構文に対応付けられた動作指令を出力し、ス
テージの遷移ができるようになる。
In the dialog processing apparatus according to the second aspect, the unknown word processing unit estimates one item of the unknown word even for an input sentence including the unknown word, and has one syntax for accepting the input. Then, the operation command associated with the syntax is output and the stage transition can be performed.

【0015】[0015]

【実施例】実施例1 図1は請求項1の発明の一実施例である対話処理装置を
示すものである。対話処理装置が外部装置に出力する動
作指令のパラメータを項目とし、対話の一状態をステー
ジとすると、1は各ステージに対して、項目の並びで表
現された自然言語の構文と、その構文に対応する動作指
令と、その構文に対応する遷移先ステージとを記述した
ステージ知識、および項目に対する自然言語を規定する
項目構文知識を保持する統合知識記憶部であり、2は前
記統合知識記憶部1のステージ知識と項目構文知識を読
み出し、前記ステージ知識の各構文に対して構文番号を
与え、その構文番号と、その構文番号に対応する前記動
作指令と、その構文番号に対応する遷移先ステージとを
記述した対話状態知識を生成して対話状態知識記憶部4
に出力し、前記番号付けされた構文と前記項目構文知識
からなる構文知識を生成して構文知識記憶部3に出力す
る知識生成部である。3は前記構文知識を保持する構文
知識記憶部であり、4は前記対話状態知識を保持する対
話状態知識記憶部である。5は自然言語を入力とし、対
話状態管理部6から指定される構文番号の構文を前記構
文知識記憶部3から選択し、選択した構文を用いて自然
言語を解析し、前記入力が受理された構文の構文番号、
各項目、および各項目に対する解析結果を出力する自然
言語解析部である。6は前記自然言語解析部5からの構
文番号、各項目、および各項目に対する解析結果を入力
とし、この構文番号に対応する前記動作指令を前記対話
状態知識から決定して、動作指令の各項目および各項目
に対する解析結果とともに外部装置に出力し、前記構文
番号に対応する前記遷移先ステージを前記対話状態知識
から決定してステージを遷移させ、遷移先ステージに対
する構文番号を前記対話状態知識から決定して自然言語
解析部5に出力する対話状態管理部である。
Embodiment 1 FIG. 1 shows an interactive processing apparatus according to an embodiment of the present invention. When the parameter of the operation command output to the external device by the dialogue processing device is an item, and one state of the dialogue is a stage, 1 represents the natural language syntax expressed by a sequence of items and the syntax for each stage. An integrated knowledge storage unit that holds stage knowledge describing a corresponding operation command and a transition destination stage corresponding to the syntax, and item syntax knowledge that defines a natural language for an item, and 2 is the integrated knowledge storage unit 1 Of the stage knowledge and item syntax knowledge, and gives a syntax number to each syntax of the stage knowledge, the syntax number, the operation command corresponding to the syntax number, and the transition destination stage corresponding to the syntax number. Dialogue state knowledge storage unit 4 for generating dialogue state knowledge describing
Is output to the syntactic knowledge storage unit 3 to generate syntactic knowledge including the numbered syntax and the item syntactic knowledge. Reference numeral 3 is a syntactic knowledge storage unit that holds the syntactic knowledge, and 4 is a dialogue state knowledge storage unit that holds the dialogue state knowledge. Reference numeral 5 is a natural language input, the syntax of the syntax number designated by the dialogue state management unit 6 is selected from the syntax knowledge storage unit 3, the natural language is analyzed using the selected syntax, and the input is accepted. The syntax number of the syntax,
It is a natural language analysis unit that outputs each item and the analysis result for each item. Reference numeral 6 is an input of the syntax number from the natural language analysis unit 5, each item, and the analysis result for each item, and the action command corresponding to this syntax number is determined from the conversation state knowledge, and each item of the action command is determined. And output to an external device together with the analysis result for each item, determine the transition destination stage corresponding to the syntax number from the dialogue state knowledge and transition the stage, and determine the syntax number for the transition destination stage from the dialogue state knowledge It is a dialogue state management unit that outputs to the natural language analysis unit 5.

【0016】図3は統合知識記憶部1に保持されるステ
ージ知識に記述される動作指令の一例を示すもので、動
作指令「予約」は項目「〈ホテル〉」「〈日時〉」
「〈人数〉」をパラメータとして外部装置に出力され
る。
FIG. 3 shows an example of the operation command described in the stage knowledge held in the integrated knowledge storage unit 1. The operation command "reservation" includes items "<hotel>""<date>".
It is output to an external device with "<number of people]" as a parameter.

【0017】図4は統合知識記憶部1に保持されるステ
ージ知識に記述される構文の一例を示すもので、構文は
「〈ホテル〉」「〈日時〉」「〈人数〉」などの項目の
並びとして表現される。
FIG. 4 shows an example of the syntax described in the stage knowledge held in the integrated knowledge storage unit 1. The syntax is for items such as "<Hotel>""<Date>""<Number of people>". Expressed as a sequence.

【0018】図5は統合知識記憶部1 に保持される項目
構文知識の一例を示すもので、各項目「〈ホテル〉」
「〈日時〉」「〈人数〉」に対する自然言語が規定され
る。
FIG. 5 shows an example of the item syntax knowledge held in the integrated knowledge storage unit 1. Each item "<hotel>"
The natural language for "<Date>" and "<Number>" is defined.

【0019】統合知識記憶部1に保持されるステージ知
識は、対話の一状態を設計の単位として、その状態で受
理される構文、その構文に対応付けられた動作指令、そ
の構文に対応付けられた遷移先ステージが記述されたも
のである。図6はその一例を示すもので、ホテル予約を
タスクとした対話での予約項目変更の状態におけるステ
ージ知識である。これは、構文セットAに定義された入
力が自然言語解析部5で認識された場合、対話状態管理
部6が構文セットAに結びつけられた動作指令を出力
し、遷移先として定義されたステージに対話のステージ
を遷移させることを意味している。このようなステージ
知識を対話の各ステージに応じて設計し、統合知識記憶
部1に保持しておく。
The stage knowledge held in the integrated knowledge storage unit 1 is associated with a syntax accepted in that state, an operation command associated with the syntax, and the syntax with one state of the dialogue as a design unit. The transition destination stage is described. FIG. 6 shows an example thereof, which is stage knowledge in a state where a reservation item is changed in a dialogue with a hotel reservation as a task. This is because, when the input defined in the syntax set A is recognized by the natural language analysis unit 5, the dialogue state management unit 6 outputs the operation command linked to the syntax set A and the stage defined as the transition destination. It means changing the stage of dialogue. Such stage knowledge is designed according to each stage of the dialogue and stored in the integrated knowledge storage unit 1.

【0020】知識生成部2は、統合知識記憶部1に保持
されるすべてのステージ知識を読み出し、各ステージ知
識に記述されたすべての構文に対して構文番号を与え
る。例えば図6の予約項目変更のステージにおける構文
「〈ホテル〉〈変更希望〉」に対して構文番号1、
「〈ホテル〉〈語尾〉」に対して構文番号2を与える。
このようにして図6のステージ知識から知識生成部2 に
よって生成される対話状態知識の例を図7に示す。生成
された対話状態知識は対話状態知識記憶部4に保持され
る。また、知識生成部2は、構文番号が付与された構文
と、統合知識記憶部1に保持される項目構文知識から、
構文知識を生成して構文知識記憶部3へ出力する。図8
に構文知識の例を示す。
The knowledge generation unit 2 reads all stage knowledge held in the integrated knowledge storage unit 1 and gives syntax numbers to all the syntax described in each stage knowledge. For example, for the syntax "<Hotel><Request to change>" in the reservation item change stage of FIG.
Syntax number 2 is given to "<hotel><wordending>".
FIG. 7 shows an example of the dialogue state knowledge generated by the knowledge generation unit 2 from the stage knowledge shown in FIG. 6 in this way. The generated dialogue state knowledge is held in the dialogue state knowledge storage unit 4. Further, the knowledge generation unit 2 uses the syntax to which the syntax number is given and the item syntax knowledge held in the integrated knowledge storage unit 1,
Generates syntactic knowledge and outputs it to the syntactic knowledge storage unit 3. Figure 8
Shows an example of syntactic knowledge.

【0021】自然言語解析部5は、入力文に対して構文
解析、音声認識などの自然言語解析を行う。このとき、
対話状態管理部6からの構文番号により、解析に用いら
れる構文が現在のステージで受理可能なものに制限され
る。例えば、現在の対話のステージが図6に示した予約
項目変更の状態であれば、解析に用いられる構文は構文
番号1、2、3、4のものに制限される。自然言語解析
部5は対話状態管理部6から指定された構文を、構文知
識記憶部3から読み出し入力文の解析を行う。一例とし
て、入力文「東京ホテルに変更して下さい」を仮定する
と、解析の結果、入力を受理する構文は構文番号1の
「〈ホテル〉〈変更希望〉」と決定され、自然言語解析
部5は、この構文番号、各項目および項目に対する解析
結果〈ホテル〉:=「東京ホテル」、〈変更希望〉:=
「に変更して下さい」を、対話状態管理部6 に出力す
る。ここで、〈ホテル〉:=「東京ホテル」は項目〈ホ
テル〉に対する解析結果が「東京ホテル」であることを
意味し、以後この明細書において項目と項目に対する解
析結果はこのように表記する。
The natural language analysis unit 5 performs natural language analysis such as syntax analysis and voice recognition on the input sentence. At this time,
The syntax number from the dialog state management unit 6 limits the syntax used for analysis to the syntax that can be accepted at the current stage. For example, if the current stage of the dialogue is the state of changing the reservation item shown in FIG. 6, the syntax used for analysis is limited to the syntax numbers 1, 2, 3, and 4. The natural language analysis unit 5 reads the syntax designated by the dialogue state management unit 6 from the syntax knowledge storage unit 3 and analyzes the input sentence. As an example, if the input sentence “please change to Tokyo Hotel” is assumed, as a result of the analysis, the syntax that accepts the input is determined to be “<hotel><request to change>” with the syntax number 1, and the natural language analysis unit 5 Is the syntax number, the analysis result for each item and item <Hotel>: = “Tokyo Hotel”, <Request for change>: =
“Change to” is output to the dialogue state management unit 6. Here, <hotel>: = “Tokyo hotel” means that the analysis result for the item <hotel> is “Tokyo hotel”, and henceforth in this specification, the item and the analysis result for the item are described in this way.

【0022】自然言語解析部5の出力する、構文番号、
各項目、各項目に対する解析結果を入力として、対話状
態管理部6は、対話状態知識記憶部4から読み出した対
話状態知識を参照して、構文番号に対する動作指令を外
部装置に出力し、指定されたステージへと対話の状態を
遷移させ、遷移先ステージで受理可能な構文番号を自然
言語解析部5に出力する。前記具体例では構文番号1に
対応付けられた動作指令「応答(“日本ホテルです
ね”)」を外部装置に出力して、対話のステージを「変
更確認」に遷移させ、ステージ「変更確認」で受理可能
な構文番号を自然言語解析部5に出力する。
The syntax number output by the natural language analysis unit 5,
Using each item and the analysis result for each item as input, the dialogue state management unit 6 refers to the dialogue state knowledge read from the dialogue state knowledge storage unit 4, outputs an operation command for the syntax number to an external device, and specifies it. The state of the dialogue is transited to another stage, and the syntactic number acceptable in the transition destination stage is output to the natural language analysis unit 5. In the above specific example, the operation command “response (“ Nippon Hotel ””) associated with syntax number 1 is output to an external device, the stage of the dialogue is changed to “change confirmation”, and the stage “change confirmation” Outputs a syntax number that can be accepted by the natural language analysis unit 5.

【0023】実施例2 図2は対話管理部に未知語処理部を設けた請求項2の発
明の一実施例を示すもので、1は各ステージに対して、
項目の並びで表現された自然言語の構文と、その構文に
対応する動作指令と、その構文に対応する遷移先ステー
ジと、未知語項目に対応する動作指令を記述したステー
ジ知識、および項目に対する自然言語を規定する項目構
文知識を保持する統合知識記憶部であり、2は前記統合
知識記憶部のステージ知識と項目構文知識を読み出し、
前記ステージ知識の各構文に対して構文番号を与え、そ
の構文番号と、その構文番号に対応する前記動作指令
と、その構文番号に対応する遷移先ステージとを記述し
た対話状態知識を生成して対話状態知識記憶部4に出力
し、前記番号付けされた構文と前記項目構文知識からな
る構文知識を生成して構文知識記憶部3に出力する知識
生成部である。3は前記構文知識を保持する構文知識記
憶部であり、4は前記対話状態知識を保持する対話状態
知識記憶部である。5は自然言語を入力とし、この入力
に未知語が含まれる場合、未知語の区間を検出し、その
未知語区間に対応する構文の項目を未知語項目として推
定し、未知語の文字列を推定し、前記入力を受理する可
能性のある構文の構文番号、各項目、各項目に対する解
析結果、解析結果が未知語の推定文字列である項目、お
よび未知語の推定文字列を未知語処理部8に出力し、前
記入力に未知語が含まれない場合は、前記入力を受理す
る可能性のある構文の構文番号、各項目、各項目に対す
る解析結果を未知語処理部8に出力する自然言語解析部
である。6は未知語処理部からの構文番号、各項目、各
項目に対する解析結果、未知語の推定文字列、および未
知語項目を入力とし、未知語項目が存在する場合は、前
記構文番号と前記未知語項目に対応する前記動作指令を
前記対話状態知識から決定して、動作指令の各項目と、
前記各項目に対する解析結果と、前記未知語の推定文字
列とともに外部装置に出力する対話状態管理部である。
7は項目と項目の特徴となる文字列との対応関係を規定
する未知語処理知識を保持する未知語処理知識記憶部で
ある。8は前記自然言語解析部 5からの構文番号、各項
目、各項目に対する解析結果、未知語項目、および未知
語の推定文字列を入力とし、未知語項目が複数ある場合
には、未知語処理知識記憶部7に保持される項目と項目
の特徴となる文字列との対応関係を規定する未知語処理
知識を用いて、複数ある前記未知語項目の中から未知語
項目を一つに推定し、この推定された未知語項目と、前
記自然言語解析部から入力される構文番号のうち前記一
つに推定された未知語項目を含む構文の構文番号と、前
記各項目、前記各項目に対する解析結果、および前記未
知語の推定文字列を対話状態管理部6に出力し、前記未
知語項目が一つの場合には、前記構文番号、前記各項
目、前記各項目に対する解析結果、前記未知語項目、お
よび前記未知語の推定文字列を対話状態管理部6に出力
し、前記未知語項目が存在しない場合には、前記構文番
号、前記各項目、前記各項目に対する解析結果を対話状
態管理部6に出力する未知語処理部である。
Embodiment 2 FIG. 2 shows an embodiment of the invention of claim 2 in which the dialogue management unit is provided with an unknown word processing unit, where 1 is for each stage,
A natural language syntax expressed by a sequence of items, an operation command corresponding to the syntax, a transition destination stage corresponding to the syntax, stage knowledge describing an operation command corresponding to an unknown word item, and a natural for an item. An integrated knowledge storage unit that holds item syntax knowledge that defines a language, 2 reads out stage knowledge and item syntax knowledge from the integrated knowledge storage unit,
A syntax number is given to each syntax of the stage knowledge, and a dialogue state knowledge describing the syntax number, the operation command corresponding to the syntax number, and the transition destination stage corresponding to the syntax number is generated. It is a knowledge generation unit that outputs to the dialogue state knowledge storage unit 4, generates syntactic knowledge including the numbered syntax and the item syntactic knowledge, and outputs the syntactic knowledge to the syntactic knowledge storage unit 3. Reference numeral 3 is a syntactic knowledge storage unit that holds the syntactic knowledge, and 4 is a dialogue state knowledge storage unit that holds the dialogue state knowledge. Reference numeral 5 is an input of natural language, and when an unknown word is included in this input, the section of the unknown word is detected, the item of the syntax corresponding to the unknown word section is estimated as the unknown word item, and the character string of the unknown word is obtained. Estimate, the syntax number of the syntax that may accept the input, each item, the analysis result for each item, the item whose analysis result is the estimated character string of the unknown word, and the estimated character string of the unknown word unknown word processing If the unknown word is not included in the input, the syntax number of the syntax that may accept the input, each item, and the analysis result for each item are output to the unknown word processing unit 8. It is a language analysis unit. Reference numeral 6 is a syntax number from the unknown word processing unit, each item, an analysis result for each item, an estimated character string of an unknown word, and an unknown word item. When an unknown word item exists, the syntactic number and the unknown word are input. The operation command corresponding to a word item is determined from the conversation state knowledge, and each item of the operation command is
A dialogue state management unit that outputs the analysis result for each item and the estimated character string of the unknown word to an external device.
An unknown word processing knowledge storage unit 7 holds unknown word processing knowledge that defines the correspondence between items and character strings that are the characteristics of the items. 8 is a syntax number from the natural language analysis unit 5, each item, an analysis result for each item, an unknown word item, and an estimated character string of the unknown word are input, and when there are a plurality of unknown word items, unknown word processing is performed. An unknown word item is estimated as one from a plurality of unknown word items using the unknown word processing knowledge that defines the correspondence between the items held in the knowledge storage unit 7 and the character strings that are the features of the items. , The estimated unknown word item, and the syntax number of the syntax including the unknown word item estimated to be one of the syntax numbers input from the natural language analysis unit, the items, and the analysis for the items. The result and the estimated character string of the unknown word are output to the dialogue state management unit 6, and when there is one unknown word item, the syntax number, each item, the analysis result for each item, the unknown word item. , And the estimated characters of the unknown word Is output to the dialogue state management unit 6, and when the unknown word item does not exist, the unknown word processing unit that outputs the syntax number, each item, and the analysis result for each item to the dialogue state management unit 6. ..

【0024】以下、自然言語解析部5として連続音声認
識装置を用い、予約項目変更ステージのステージ知識が
図9で定義され、その状態において未知語「日本ホテ
ル」を含む文「日本ホテルに変更して下さい」が入力さ
れたものと仮定して具体的な動作を説明する。
Hereinafter, using a continuous speech recognition device as the natural language analysis unit 5, the stage knowledge of the reservation item change stage is defined in FIG. 9, and in that state, the sentence "change to Japanese hotel" containing the unknown word "Japan hotel" is changed. Please explain. ”The specific operation will be described assuming that".

【0025】まず自然言語解析部5において、未知語以
外の部分である「に変更して下さい」が項目〈変更希
望〉として構文解析され、入力文を受理する可能性のあ
る構文の候補が「〈ホテル〉〈変更希望〉」、「〈人
数〉〈変更希望〉」の二つに決まる。未知語「日本ホテ
ル」の項目の候補(未知語項目)としては「〈ホテ
ル〉」と「〈人数〉」の二つに決まる。また未知語「日
本ホテル」に対しては音素列推定が行われ、例えば音韻
タイプライタにより推定音素列「mihoNrotebu 」を得
る。そして、これら構文候補の構文番号、未知語項目、
未知語の推定音素列を未知語処理部8に出力する。
First, the natural language analysis unit 5 parses "change to", which is a part other than an unknown word, as an item <request for change>, and finds a syntax candidate that may accept the input sentence. There are two choices: <Hotel><Request for change> and “<Number of people><Request for change>”. The candidates for the unknown word “Japan Hotel” (unknown word items) are determined to be “<hotel>” and “<number of people>”. Further, phoneme string estimation is performed on the unknown word "Japan Hotel", and the estimated phoneme string "mihoNrotebu" is obtained by, for example, a phoneme typewriter. Then, the syntax numbers of these syntax candidates, unknown word items,
The estimated phoneme sequence of the unknown word is output to the unknown word processing unit 8.

【0026】未知語処理部8では、未知語項目が複数あ
る場合、未知語処理知識記憶部7に保持される、項目の
特徴となる文字列を規定する未知語処理知識を用いて、
複数ある前記未知語項目の中から未知語項目を一つに推
定する。図10に未知語処理知識記憶部7に保持される
未知語処理知識の一例を示す。ここでは項目「〈ホテ
ル〉」に特徴的な音素列として「hoteru」「rjokaN」
「soo 」の3つが定義されている。前記具体例では、未
知語処理部8 は、未知語「日本ホテル」に対する推定音
素列「mihoNrotebu 」と前記項目に特徴的な音素列と
の、例えば文字列のマッチングによって求まる類似度よ
り、未知語「日本ホテル」の項目を複数ある未知語項目
「〈ホテル〉」「〈人数〉」などの中から「〈ホテ
ル〉」と推定する。この推定した未知語項目と、この未
知語項目が存在する構文「〈ホテル〉〈変更希望〉」の
構文番号、項目と項目に対する解析結果〈変更希望〉:
=「に変更して下さい」、および認識誤りを含む未知語
の推定音素列「mihoNrotebu 」を対話状態管理部6に出
力する。
When there are a plurality of unknown word items, the unknown word processing unit 8 uses the unknown word processing knowledge stored in the unknown word processing knowledge storage unit 7 for defining the character string that is the characteristic of the item,
An unknown word item is estimated as one out of the plurality of unknown word items. FIG. 10 shows an example of the unknown word processing knowledge stored in the unknown word processing knowledge storage unit 7. Here, "hoteru" and "rjokaN" are phoneme strings characteristic of the item "<hotel>".
Three "soo" are defined. In the specific example, the unknown word processing unit 8 uses the similarity between the estimated phoneme string “mihoNrotebu” for the unknown word “Japan Hotel” and the phoneme string characteristic of the item, for example, the similarity obtained by matching the character strings, and the unknown word The "Japan Hotel" item is estimated to be "<Hotel>" from multiple unknown word items such as "<Hotel>" and "<Number of people>". The estimated unknown word item, the syntax number of the syntax "<hotel><changerequest>" in which this unknown word item exists, the analysis result for the item and item <change request>:
= “Please change to” and the estimated phoneme sequence “mihoNrotebu” of the unknown word including the recognition error are output to the dialogue state management unit 6.

【0027】未知語の項目が推定されると、前記対話状
態管理部6は前記対話状態知識に記述された、未知語に
対する動作指令を出力して、対話のステージを指定され
たステージに遷移させ、対話を継続する。前記具体例に
おいては、未知語「日本ホテル」の項目が前記未知語処
理部8で項目「〈ホテル〉」と推定され、前記対話状態
管理部6は項目「〈ホテル〉」が未知語である場合の動
作を実行し、対話を継続する。項目「〈ホテル〉」が未
知語であった場合の動作は、図9に示すように前記ステ
ージ知識に定義され、前記対話状態知識として前記対話
状態知識記憶部4に保持される。
When the item of the unknown word is estimated, the dialogue state management unit 6 outputs an operation command for the unknown word described in the dialogue state knowledge, and transitions the dialogue stage to the designated stage. , Continue the dialogue. In the above specific example, the unknown word “Japan Hotel” is estimated to be the item “<hotel>” by the unknown word processing unit 8, and the dialogue state management unit 6 determines that the item “<Hotel>” is an unknown word. If so, perform the action and continue the conversation. The operation when the item “<hotel>” is an unknown word is defined in the stage knowledge as shown in FIG. 9, and is held in the dialogue state knowledge storage unit 4 as the dialogue state knowledge.

【0028】[0028]

【発明の効果】以上のように、本発明によれば、対話処
理装置が外部装置に出力する動作指令のパラメータであ
る項目の並びで構文を表現するため、対話管理部におい
て自然言語解析部の解析結果を再評価して前記項目を抽
出する必要がない。また、構文と動作指令を対応付けて
ステージ知識として記述するため、自然言語解析部で受
理されるユーザの入力文と、それを受理したときにシス
テムがとる動作の対応付けが明確になり、構文知識と対
話管理知識の設計・管理が効率よく行えるという効果が
ある。
As described above, according to the present invention, since the syntax is expressed by the sequence of items which are the parameters of the operation command output to the external device by the dialogue processing device, the dialogue management unit of the natural language analysis unit It is not necessary to re-evaluate the analysis results and extract the items. In addition, since the syntax and motion commands are associated and described as stage knowledge, the correspondence between the user's input sentence accepted by the natural language analysis unit and the action taken by the system when it is accepted becomes clear. Knowledge and dialogue management Effectively design and manage knowledge effectively.

【0029】また、未知語処理部を設けることにより、
構文知識にない単語あるいは単語の並びである未知語が
含まれる入力文に対しても、対話システムはユーザとの
対話を途切れさせず円滑に継続することが可能となる。
By providing an unknown word processing unit,
The dialogue system can smoothly continue the dialogue with the user even for an input sentence including a word or an unknown word that is a sequence of words that is not in the syntactic knowledge.

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

【図1】本発明の一実施例を示す対話処理装置の機能ブ
ロック構成図である。
FIG. 1 is a functional block configuration diagram of a dialogue processing device according to an embodiment of the present invention.

【図2】本発明の他の実施例を示す対話処理装置の機能
ブロック構成図である。
FIG. 2 is a functional block configuration diagram of a dialogue processing device according to another embodiment of the present invention.

【図3】本発明の統合知識記憶部1に保持されるステー
ジ知識の動作指令の一例を示す図である。
FIG. 3 is a diagram showing an example of an operation command of stage knowledge held in an integrated knowledge storage unit 1 of the present invention.

【図4】本発明の統合知識記憶部1に保持されるステー
ジ知識の構文の一例を示す図である。
FIG. 4 is a diagram showing an example of a syntax of stage knowledge held in an integrated knowledge storage unit 1 of the present invention.

【図5】本発明の統合知識記憶部1に保持される項目構
文知識の構文の一例を示す図である。
FIG. 5 is a diagram showing an example of the syntax of item syntax knowledge held in the integrated knowledge storage unit 1 of the present invention.

【図6】本発明の実施例1での統合知識記憶部1に保持
されるステージ知識の一例を示す図である。
FIG. 6 is a diagram showing an example of stage knowledge held in the integrated knowledge storage unit 1 according to the first embodiment of the present invention.

【図7】本発明の実施例1での対話状態知識記憶部4に
保持される対話状態知識の一例を示す図である。
FIG. 7 is a diagram showing an example of dialogue state knowledge held in a dialogue state knowledge storage unit 4 according to the first embodiment of the present invention.

【図8】本発明の実施例1での構文知識記憶部3に保持
される構文知識の一例を示す図である。
FIG. 8 is a diagram showing an example of syntactic knowledge held in the syntactic knowledge storage unit 3 according to the first embodiment of the present invention.

【図9】本発明の実施例2での統合知識記憶部1に保持
されるステージ知識の一例を示す図である。
FIG. 9 is a diagram showing an example of stage knowledge held in the integrated knowledge storage unit 1 according to the second embodiment of the present invention.

【図10】本発明の実施例2での未知語処理知識記憶部
7に保持される未知語処理知識の一例を示す図である。
FIG. 10 is a diagram showing an example of unknown word processing knowledge held in an unknown word processing knowledge storage unit 7 according to the second embodiment of the present invention.

【図11】従来の連続音声認識方式を示す図である。FIG. 11 is a diagram showing a conventional continuous speech recognition method.

【図12】従来の音声対話システムを示す図である。FIG. 12 is a diagram showing a conventional voice dialogue system.

【図13】従来の音声認識装置を示す図である。FIG. 13 is a diagram showing a conventional voice recognition device.

【符号の説明】[Explanation of symbols]

1 統合知識記憶部 2 知識生成部 3 構文知識記憶部 4 対話状態知識記憶部 5 自然言語解析部 6 対話状態管理部 7 未知語処理知識記憶部 8 未知語処理部 10 音響分析・マッチング部 11 単語照合部 12 単語列検証部 13 単語ネットワーク 14 知識処理部 15 音声認識部 16 対話管理部 17 状態遷移ネット 18 情報検索部 19 応答生成出力部 20 音声認識部 21 言語処理部 22 辞書部 23 表示部 1 Integrated knowledge storage 2 Knowledge generator 3 Syntax knowledge storage 4 Dialogue state knowledge storage 5 Natural Language Analysis Department 6 Dialogue state management section 7 Unknown word processing knowledge storage 8 Unknown word processing section 10 Acoustic analysis and matching section 11 Word matching unit 12 Word string verifier 13 word network 14 Knowledge Processing Department 15 Speech recognition unit 16 Dialog Management Department 17 State transition net 18 Information Retrieval Department 19 Response generation / output section 20 Speech recognition unit 21 Language Processing Department 22 dictionary 23 Display

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−80793(JP,A) 特開 平5−216618(JP,A) 特開 平7−5891(JP,A) 特開 平6−202688(JP,A) (58)調査した分野(Int.Cl.7,DB名) G10L 15/22 JICSTファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-5-80793 (JP, A) JP-A-5-216618 (JP, A) JP-A-7-5891 (JP, A) JP-A-6- 202688 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) G10L 15/22 JISST file (JOIS)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 対話処理装置が外部装置に出力する動作
指令のパラメータを項目と定義し、対話の一状態をステ
ージと定義し、各ステージに対して、前記項目の並びで
表現された自然言語の構文と、その構文に対応する前記
動作指令と、その構文に対応する遷移先ステージとを記
述したステージ知識、および項目に対する自然言語を規
定する項目構文知識を保持する統合知識記憶部と、 前記統合知識記憶部のステージ知識と項目構文知識を読
み出し、前記ステージ知識の各構文に対して構文番号を
与え、その構文番号と、その構文番号に対応する前記動
作指令と、その構文番号に対応する遷移先ステージとを
記述した対話状態知識を生成して対話状態知識記憶部に
出力し、前記番号付けされた構文と前記項目構文知識か
らなる構文知識を生成して構文知識記憶部に出力する知
識生成部と、 前記構文知識を保持する構文知識記憶部と、 前記対話状態知識を保持する対話状態知識記憶部と、 自然言語を入力とし、対話状態管理部から指定される構
文番号の構文を前記構文知識記憶部から選択し、選択し
た構文を用いて自然言語を解析し、前記入力が受理され
た構文の構文番号、各項目、および各項目に対する解析
結果を出力する自然言語解析部と、 前記自然言語解析部からの構文番号、各項目、および各
項目に対する解析結果を入力とし、この構文番号に対応
する前記動作指令を前記対話状態知識から決定して、動
作指令の各項目および各項目に対する解析結果とともに
外部装置に出力し、前記構文番号に対応する前記遷移先
ステージを前記対話状態知識から決定してステージを遷
移させ、遷移先ステージに対する構文番号を前記対話状
態知識から決定して前記自然言語解析部に出力する対話
状態管理部と、を備えることを特徴とする対話処理装
置。
1. A natural language in which a parameter of an operation command output from an interaction processing device to an external device is defined as an item, and one state of the interaction is defined as a stage, and a natural language expressed by a sequence of the items for each stage. And a stage knowledge describing the operation command corresponding to the syntax and the transition destination stage corresponding to the syntax, and an integrated knowledge storage unit that holds item syntax knowledge that defines a natural language for the item, The stage knowledge and the item syntax knowledge in the integrated knowledge storage unit are read, the syntax number is given to each syntax of the stage knowledge, the syntax number, the operation command corresponding to the syntax number, and the syntax number It generates dialogue state knowledge describing the transition destination stage and outputs it to the dialogue state knowledge storage unit, and generates syntactic knowledge consisting of the numbered syntax and the item syntactic knowledge. Output to the syntactic knowledge storage unit, a syntactic knowledge storage unit that holds the syntactic knowledge, a dialogue state knowledge storage unit that holds the dialogue state knowledge, and a natural language as an input from the dialogue state management unit. The syntax of the specified syntax number is selected from the syntax knowledge storage unit, natural language is analyzed using the selected syntax, and the syntax number of the syntax for which the input is accepted, each item, and the analysis result for each item are displayed. Natural language analysis unit to output, the syntax number from the natural language analysis unit, each item, and the analysis result for each item is input, and the operation command corresponding to this syntax number is determined from the conversation state knowledge, Output to the external device together with each item of the operation command and the analysis result for each item, determine the transition destination stage corresponding to the syntax number from the conversation state knowledge, and transit the stage So, dialogue processing apparatus characterized by comprising: a dialogue state management unit for outputting a syntax number for transition destination stage to the natural language analysis unit determines from the dialogue state knowledge.
【請求項2】 請求項1記載の対話処理装置であって、 前記構文知識に規定外の単語および単語の並びを未知語
と定義し、自然言語を入力とし、この入力に未知語が含
まれる場合、未知語の区間を検出し、その未知語区間に
対応する構文の項目を未知語項目として推定し、未知語
の文字列を推定し、前記入力を受理する可能性のある構
文の構文番号、各項目、各項目に対する解析結果、解析
結果が未知語の推定文字列である項目、および未知語の
推定文字列を未知語処理部に出力し、前記入力に未知語
が含まれない場合は、前記入力を受理する可能性のある
構文の構文番号、各項目、各項目に対する解析結果を未
知語処理部に出力する自然言語解析部と、 前記自然言語解析部からの構文番号、各項目、各項目に
対する解析結果、未知語項目、および未知語の推定文字
列を入力とし、未知語項目が複数ある場合には、未知語
処理知識記憶部に保持される項目と項目の特徴となる文
字列との対応関係を規定する未知語処理知識を用いて、
複数ある前記未知語項目の中から未知語項目を一つに推
定し、この推定された未知語項目と、前記自然言語解析
部から入力される構文番号のうち前記一つに推定された
未知語項目を含む構文の構文番号と、前記各項目、前記
各項目に対する解析結果、および前記未知語の推定文字
列を対話状態管理部に出力し、前記未知語項目が一つの
場合には、前記構文番号、前記各項目、前記各項目に対
する解析結果、前記未知語項目、および前記未知語の推
定文字列を対話状態管理部に出力し、前記未知語項目が
存在しない場合には、前記構文番号、前記各項目、前記
各項目に対する解析結果を対話状態管理部に出力する未
知語処理部と、 各ステージに対して、未知語項目に対応する前記動作指
令を記述したステージ知識を保持する統合知識記憶部
と、 項目と項目の特徴となる文字列との対応関係を規定する
未知語処理知識を保持する未知語処理知識記憶部と、 前記未知語処理部からの構文番号、各項目、各項目に対
する解析結果、未知語の推定文字列、および未知語項目
を入力とし、未知語項目が存在する場合は、前記構文番
号と前記未知語項目に対応する前記動作指令を前記対話
状態知識から決定して、動作指令の各項目と、前記各項
目に対する解析結果とを、前記未知語の推定文字列とと
もに外部装置に出力する対話状態管理部と、を備えるこ
とを特徴とする対話処理装置。
2. The dialogue processing device according to claim 1, wherein a word and a sequence of words that are not defined in the syntactic knowledge are defined as unknown words, and natural language is used as an input, and the input includes the unknown words. In this case, the section of the unknown word is detected, the item of the syntax corresponding to the unknown word section is estimated as the unknown word item, the character string of the unknown word is estimated, and the syntax number of the syntax that may accept the input. , Each item, the analysis result for each item, the item whose analysis result is the estimated character string of the unknown word, and the estimated character string of the unknown word are output to the unknown word processing unit, and when the unknown word is not included in the input, , A syntax number of a syntax that may accept the input, each item, a natural language analysis unit that outputs an analysis result for each item to an unknown word processing unit, a syntax number from the natural language analysis unit, each item, Analysis result for each item, unknown word item, And an unknown word estimated character string are input, and when there are a plurality of unknown word items, unknown word processing that defines the correspondence relationship between the items held in the unknown word processing knowledge storage unit and the character strings that characterize the items With knowledge,
An unknown word item is estimated to be one from a plurality of unknown word items, and the estimated unknown word item and the unknown word estimated to be one of the syntax numbers input from the natural language analysis unit. The syntax number of the syntax including the item, each item, the analysis result for each item, and the estimated character string of the unknown word is output to the dialogue state management unit, and if the unknown word item is one, the syntax Number, each item, the analysis result for each item, the unknown word item, and outputs an estimated character string of the unknown word to the dialogue state management unit, if the unknown word item does not exist, the syntax number, An unknown word processing unit that outputs each item, an analysis result for each item to the dialogue state management unit, and an integrated knowledge memory that holds, for each stage, stage knowledge that describes the operation command corresponding to the unknown word item Department, An unknown word processing knowledge storage unit that holds the unknown word processing knowledge that defines the correspondence relationship between the item and the character string that is the characteristic of the item, the syntax number from the unknown word processing unit, each item, the analysis result for each item, An estimated character string of an unknown word and an unknown word item are input, and if an unknown word item exists, the operation command corresponding to the syntax number and the unknown word item is determined from the dialogue state knowledge, and the operation command And a dialogue state management unit for outputting the analysis result for each item together with the estimated character string of the unknown word to an external device.
JP05016294A 1994-03-22 1994-03-22 Dialogue processing device Expired - Fee Related JP3468572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05016294A JP3468572B2 (en) 1994-03-22 1994-03-22 Dialogue processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05016294A JP3468572B2 (en) 1994-03-22 1994-03-22 Dialogue processing device

Publications (2)

Publication Number Publication Date
JPH07261793A JPH07261793A (en) 1995-10-13
JP3468572B2 true JP3468572B2 (en) 2003-11-17

Family

ID=12851510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05016294A Expired - Fee Related JP3468572B2 (en) 1994-03-22 1994-03-22 Dialogue processing device

Country Status (1)

Country Link
JP (1) JP3468572B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004109323A (en) * 2002-09-17 2004-04-08 Denso Corp Voice interaction apparatus and program
US7813928B2 (en) 2004-06-10 2010-10-12 Panasonic Corporation Speech recognition device, speech recognition method, and program

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035267A (en) * 1996-09-26 2000-03-07 Mitsubishi Denki Kabushiki Kaisha Interactive processing apparatus having natural language interfacing capability, utilizing goal frames, and judging action feasibility
US6199043B1 (en) 1997-06-24 2001-03-06 International Business Machines Corporation Conversation management in speech recognition interfaces
US6321198B1 (en) * 1999-02-23 2001-11-20 Unisys Corporation Apparatus for design and simulation of dialogue
EP1079615A3 (en) * 1999-08-26 2002-09-25 Matsushita Electric Industrial Co., Ltd. System for identifying and adapting a TV-user profile by means of speech technology
JP3452257B2 (en) * 2000-12-01 2003-09-29 株式会社ナムコ Simulated conversation system and information storage medium
JP3533371B2 (en) * 2000-12-01 2004-05-31 株式会社ナムコ Simulated conversation system, simulated conversation method, and information storage medium
JP3450823B2 (en) * 2000-12-01 2003-09-29 株式会社ナムコ Simulated conversation system, simulated conversation method, and information storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580793A (en) * 1991-09-20 1993-04-02 Kokusai Denshin Denwa Co Ltd <Kdd> Interactive understanding device with word predicting function
JPH05216618A (en) * 1991-11-18 1993-08-27 Toshiba Corp Voice interactive system
JPH06202688A (en) * 1992-12-28 1994-07-22 Sony Corp Speech recognition device
JP3397372B2 (en) * 1993-06-16 2003-04-14 キヤノン株式会社 Speech recognition method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004109323A (en) * 2002-09-17 2004-04-08 Denso Corp Voice interaction apparatus and program
US7813928B2 (en) 2004-06-10 2010-10-12 Panasonic Corporation Speech recognition device, speech recognition method, and program

Also Published As

Publication number Publication date
JPH07261793A (en) 1995-10-13

Similar Documents

Publication Publication Date Title
JP3454897B2 (en) Spoken dialogue system
JP4267081B2 (en) Pattern recognition registration in distributed systems
US5390279A (en) Partitioning speech rules by context for speech recognition
JP4510953B2 (en) Non-interactive enrollment in speech recognition
US7478037B2 (en) Assigning meanings to utterances in a speech recognition system
US5384892A (en) Dynamic language model for speech recognition
EP1693827B1 (en) Extensible speech recognition system that provides a user with audio feedback
US6801897B2 (en) Method of providing concise forms of natural commands
JP3459712B2 (en) Speech recognition method and device and computer control device
JP2000035799A (en) Position operation in speech recognition
JP2002132287A (en) Speech recording method and speech recorder as well as memory medium
JP3468572B2 (en) Dialogue processing device
JP2000200273A (en) Speaking intention recognizing device
JP3634863B2 (en) Speech recognition system
JP4220151B2 (en) Spoken dialogue device
JP3790038B2 (en) Subword type speakerless speech recognition device
JP4042435B2 (en) Voice automatic question answering system
JP2001013992A (en) Voice understanding device
JP2000330588A (en) Method and system for processing speech dialogue and storage medium where program is stored
JP4223841B2 (en) Spoken dialogue system and method
Macherey et al. Multi-level error handling for tree based dialogue course management
JPH07282081A (en) Voice interactive information retrieving device
JP2001042883A (en) Text speech synthesis apparatus
JPH0792987A (en) Question sentence contents constitution system
JP2004145014A (en) Apparatus and method for automatic vocal answering

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080905

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees