JP6730090B2 - Dialog processing device - Google Patents
Dialog processing device Download PDFInfo
- Publication number
- JP6730090B2 JP6730090B2 JP2016100653A JP2016100653A JP6730090B2 JP 6730090 B2 JP6730090 B2 JP 6730090B2 JP 2016100653 A JP2016100653 A JP 2016100653A JP 2016100653 A JP2016100653 A JP 2016100653A JP 6730090 B2 JP6730090 B2 JP 6730090B2
- Authority
- JP
- Japan
- Prior art keywords
- response
- knowledge
- associative
- type
- event
- 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.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は対話処理装置に関し、特に連想知識を用いる対話処理装置に関する。 The present invention relates to a dialog processing device, and more particularly to a dialog processing device using associative knowledge.
近年、ユーザとの会話を実現する対話処理装置の開発が求められている。例えば、特許文献1では、ユーザの発話を認識し、認識された発話と応答知識とに基づいて、ユーザの発話に対する応答用の発話を生成し、生成した応答用の発話を音声合成して出力する対話処理装置について開示している。
In recent years, there has been a demand for the development of a dialogue processing device that realizes a conversation with a user. For example, in
しかしながら、一般的に、対話処理装置の応答文は、発話文に対して短絡的となりがちである。このため、話題が広がり難く、ユーザとの間で会話を継続させるという点において改善の余地がある。 However, in general, the response sentence of the dialogue processing device tends to be short-circuited with respect to the utterance sentence. Therefore, there is room for improvement in that it is difficult for the topic to spread and the conversation with the user is continued.
上記目的を達成するための本発明の一態様は、事象と、該事象に対する連想知識と、該事象と該連想知識との連想関係の種別とを対応付けて記憶する第1のデータベースと、前記連想関係の種別毎に、少なくとも1つの応答の種別及び該応答の種別に対応したテンプレートを前記連想関係の種別に対応付けて記憶する第2のデータベースと、入力された発話文から事象を抽出する事象抽出手段と、前記第1のデータベースを参照して、前記事象抽出手段により抽出された事象に対応する前記連想知識及び前記連想関係の種別を特定する知識照合手段と、前記知識照合手段により特定された前記連想関係の種別に対応する前記応答の種別のうち、いずれか1つを選択する応答分類決定手段と、前記知識照合手段により特定された前記連想知識を、前記応答分類決定手段により選択された前記応答の種別に対応した前記テンプレートに適用することにより、前記発話文に対する応答文を生成する応答文生成手段とを有する対話処理装置である。
この対話処理装置では、抽出された事象に対応する連想知識を用いて応答文が生成される。また、その際、連想関係の種別に応じた応答種別のうち選択されたものに対応するテンプレートが用いられて応答文が生成される。このため、この対話処理装置によれば、多様な応答を行うことが可能となり、話題が広がりやすくなる。したがって、会話を継続しやすくなる。
One aspect of the present invention for achieving the above object is a first database that stores an event, associative knowledge for the event, and a type of an associative relationship between the event and the associative knowledge in association with each other, For each associative relation type, a second database that stores at least one response type and a template corresponding to the response type in association with the associative relation type and an event from the input utterance sentence An event extraction unit, a knowledge collation unit that refers to the first database and specifies the type of the associative knowledge and the association relation corresponding to the event extracted by the event extraction unit, and the knowledge collation unit. The response classification determining unit that selects any one of the types of the responses corresponding to the identified type of the associative relationship, and the association classification determining unit that determines the associative knowledge specified by the knowledge collating unit It is an interaction processing device comprising: a response sentence generation unit that generates a response sentence for the utterance sentence by applying the template corresponding to the selected type of the response.
In this dialogue processing device, a response sentence is generated using the associative knowledge corresponding to the extracted event. At that time, the response sentence is generated by using the template corresponding to the selected one of the response types corresponding to the type of associative relationship. Therefore, according to this dialogue processing device, it becomes possible to make various responses, and the topic easily spreads. Therefore, it becomes easy to continue the conversation.
本発明によれば、本発明の構成を用いない場合に比較して、話題が広がりやすく、ユーザとの間で会話を継続しやすい対話処理装置を提供することができる。 According to the present invention, it is possible to provide a dialogue processing device in which a topic is more likely to spread and a conversation with a user is easier to continue, as compared with a case where the configuration of the present invention is not used.
<実施の形態1>
以下、図面を参照して本発明の実施の形態について説明する。図1は、実施の形態1にかかる対話処理装置1の構成の一例を示すブロック図である。図1に示されるように、対話処理装置1は、連想知識データベース10と、応答知識データベース20と、事象抽出部30と、知識照合部40と、応答分類決定部50と、応答テンプレート結合部60とを有する。連想知識データベース10及び応答知識データベース20は、それぞれ、例えば図示しない記憶装置により実現される。また、事象抽出部30、知識照合部40、応答分類決定部50、及び、応答テンプレート結合部60は、それぞれ、例えば、対話処理装置1が有する図示しないCPUが、プログラムを実行することにより実現される。
<
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of the
連想知識データベース10は、事象と、この事象に対する連想知識と、この事象とこの連想知識との連想関係(因果関係)の種別とを対応付けて記憶するデータベースである。なお、「事象」には、例えば、事物の状態若しくは意味、又は人若しくは動物の行為などが含まれる。図2は、連想知識データベース10に記憶される対応関係の一例を示す表である。図2に示すように、連想知識データベース10は、予め定められた複数の事象毎に、当該事象から連想される知識である連想知識と、連想関係の種別である知識分類とを対応付けて記憶している。例えば、事象「ゴルフを練習する」に対し、連想知識「ゴルフが上達する」が対応付けられている。また、ゴルフの練習の目的がゴルフの上達であることから、知識分類として「目的」が対応付けられている。
The
図2に示した例では、連想関係として「目的」以外に、「利用」、「共起」、「効果」、「条件」、「習慣」、「用途」が挙げられているが、連想関係はこれらに限られず、他の連想関係が定義されてもよい。なお、本実施の形態では、例えば、事象の内容が、連想知識の内容を発生させる目的で行うものである場合、知識分類として「目的」が用いられる。また、例えば、事象の内容が行われている際に、連想知識の内容の物が利用される場合、知識分類として「利用」が用いられる。また、例えば、事象の内容が行われている際に、連想知識の内容が行われやすい場合、知識分類として「共起」が用いられる。また、例えば、事象の内容の結果、連想知識の内容が効果として現れる場合、知識分類として「効果」が用いられる。また、例えば、連想知識の内容が、事象の内容を発生させるために満たすべき条件である場合、知識分類として「条件」が用いられる。また、例えば、事象の内容が発生する場合、連想知識の内容が習慣的に発生するならば、知識分類として「習慣」が用いられる。また、例えば、事象の内容の用途として、連想知識の内容が発生する場合、知識分類として「用途」が用いられる。 In the example shown in FIG. 2, in addition to "purpose", "use", "co-occurrence", "effect", "condition", "habit", and "use" are listed as an associative relationship. Are not limited to these, and other associative relations may be defined. In the present embodiment, for example, when the content of the event is to generate the content of the associative knowledge, “purpose” is used as the knowledge classification. Further, for example, when the content of the associative knowledge is used while the content of the event is being performed, “use” is used as the knowledge classification. Further, for example, when the content of the associative knowledge is likely to be performed while the content of the event is being performed, “co-occurrence” is used as the knowledge classification. Further, for example, when the content of the associative knowledge appears as an effect as a result of the content of the event, “effect” is used as the knowledge classification. In addition, for example, when the content of the associative knowledge is a condition to be satisfied in order to generate the content of the event, “condition” is used as the knowledge classification. Further, for example, if the content of the event occurs, or if the content of the associative knowledge occurs habitually, “habit” is used as the knowledge classification. Further, for example, when the content of the associative knowledge is generated as the usage of the content of the event, the “usage” is used as the knowledge classification.
応答知識データベース20は、連想関係の種別毎に、少なくとも1つの応答の種別及びこの応答の種別に対応したテンプレートを、連想関係の種別に対応付けて記憶するデータベースである。図3は、実施の形態1にかかる応答知識データベース20に記憶される対応関係の一例を示す表である。図3に示すように、応答知識データベース20は、知識分類毎に、応答の種別である応答分類と、応答に用いられるテンプレートとを対応付けて記憶している。各知識分類において、応答分類のそれぞれに1つのテンプレートが対応付けられている。ここで、応答知識データベース20では、各知識分類に対し、1以上の応答分類が対応付けられている。つまり、応答知識データベース20では、各知識分類に対し、応答分類に応じた1以上のテンプレートが対応付けられている。例えば、図3に示した例では、知識分類「習慣」に対し、4つの応答分類が対応付けられている。また、この4つの応答分類のそれぞれに、応答分類に応じたテンプレートが対応付けられている。
The
図3に示した例では、応答の種別として「確認」、「感想」、「提案」、「習慣」が挙げられているが、応答分類はこれらに限られず、他の応答分類が定義されてもよい。なお、本実施の形態では、例えば、応答の種別「確認」に対して、連想知識の内容について対話相手に確認するための応答文のテンプレートが対応付けられている。また、例えば、応答の種別「感想」に対して、連想知識の内容で示される感想を対話相手に伝えるための応答文のテンプレートが対応付けられている。また、例えば、応答の種別「提案」に対して、連想知識の内容を対話相手に提案するための応答文のテンプレートが対応付けられている。また、例えば、応答の種別「習慣」に対して、連想知識の内容で示される習慣が対話相手にあるのかを聞くための応答文のテンプレートが対応付けられている。 In the example shown in FIG. 3, “confirmation”, “impression”, “suggestion”, and “habit” are listed as the types of responses, but the response classification is not limited to these, and other response classifications are defined. Good. In the present embodiment, for example, the response type “confirm” is associated with a response sentence template for confirming the content of the associative knowledge with the conversation partner. Further, for example, the response type “impression” is associated with a response sentence template for transmitting the impression indicated by the content of the associative knowledge to the conversation partner. Further, for example, a response sentence template for proposing the content of the associative knowledge to the conversation partner is associated with the response type “proposal”. Further, for example, the response type “habit” is associated with the template of the response sentence for asking whether the conversation partner has the habit indicated by the content of the associative knowledge.
テンプレートは、言葉を埋め込むためのスロットを有している。なお、図3のテンプレートにおいて、<…>で示される部分がスロットを示している。テンプレートのこのスロットに、連想知識に基づく言葉が埋め込まれることで応答文が完成することとなる。なお、スロットに挿入される言葉は、図3に示されるように、例えば、名詞、サ変名詞、述語、全文、述語項などのパターンのうちのいずれかであり、各スロットには、挿入すべきパターンが定義づけられている。このように、テンプレートのスロットには、例えば、連想知識データベース10に示される連想知識の語句から抽出される名詞、連想知識データベース10に示される連想知識の語句から抽出されるサ変名詞、連想知識データベース10に示される連想知識の語句から抽出される述語、連想知識データベース10に示される連想知識の語句の全文、連想知識データベース10に示される連想知識の語句から抽出される述語項などが挿入される。
The template has slots for embedding words. In addition, in the template of FIG. 3, the portion indicated by <...> indicates a slot. The response sentence is completed by embedding words based on associative knowledge in this slot of the template. As shown in FIG. 3, the word inserted in the slot is, for example, one of the patterns of noun, sahen noun, predicate, full sentence, predicate term, etc., and should be inserted in each slot. The pattern is defined. Thus, for example, in the slot of the template, the noun extracted from the word of the associative knowledge shown in the
事象抽出部30(事象抽出手段)は、入力された発話文から事象を抽出する。事象抽出部30には、例えば、対話相手であるユーザの発話音声に音声認識等の予め定められた処理を施すことにより言語化された発話文が入力される。事象抽出部30は、入力された発話文に対し、予め定められた構文解析処理を施し、単語又は述語項などにより特定される事象を抽出する。構文解析処理は、例えば、公知の形態素解析エンジン及び公知の係り受け解析エンジンを用いることで実行される。なお、事象抽出部30は、入力された発話文からの事象の抽出のみならず、さらに、例えば、図示しないカメラなどから得られた画像情報から画像情報に示される事象を抽出してもよい。事象抽出部30は、抽出した事象を、知識照合部40に通知する。
The event extracting unit 30 (event extracting means) extracts an event from the input utterance sentence. The
知識照合部40(知識照合手段)は、連想知識データベース10を参照して、事象抽出部30により抽出された事象に対応する連想知識及び知識分類(連想関係の種別)を特定する。なお、事象抽出部30により抽出された事象が複数存在する場合には、知識照合部40は、予め定められた選択規則(例えばランダムな選択)に従って複数の事象の中から1つを選択した上で、連想知識及び知識分類を特定する。知識照合部40は、特定した知識分類を応答分類決定部50に通知し、特定した連想知識を応答テンプレート結合部60に通知する。
The knowledge collating unit 40 (knowledge collating means) refers to the
応答分類決定部50(応答分類決定手段)は、知識照合部40により特定された知識分類(連想関係の種別)に対応する応答分類(応答の種別)のうち、いずれか1つを選択する。応答分類決定部50は、応答知識データベース20を参照し、知識照合部40により特定された知識分類に対応する応答分類を抽出する。抽出された応答分類が1つである場合、応答分類決定部50は、この抽出された応答分類を選択する。抽出された応答分類が複数である場合、応答分類決定部50は、予め定められた選択規則に従って、この抽出された複数の応答分類の中から1つの応答分類を選択する。例えば、応答分類決定部50は、抽出された複数の応答分類の中からランダムに1つの応答分類を選択する。応答分類決定部50は、選択した応答分類に応答知識データベース20において対応付けられているテンプレートを、応答テンプレート結合部60に通知する。
The response classification determination unit 50 (response classification determination means) selects any one of the response classifications (response types) corresponding to the knowledge classification (association type) identified by the
応答テンプレート結合部60(応答文生成手段)は、知識照合部40により特定された連想知識を、応答分類決定部50により選択された応答の種別に対応したテンプレートに適用することにより、発話文に対する応答文を生成する。より具体的には、応答テンプレート結合部60は、知識照合部40により特定された知識分類に対応付けられたテンプレートのうち、応答分類決定部50により選択された応答の種別に対応したテンプレートに、知識照合部40により特定された連想知識を適用することにより、発話文に対する応答文を生成する。応答テンプレート結合部60は、応答分類決定部50から通知されたテンプレートにおけるスロットに、知識照合部40により特定された連想知識を当てはめることにより、応答文を生成する。応答テンプレート結合部60は、テンプレートにおけるスロットに定義づけられたパターンに沿うよう、知識照合部40により特定された連想知識から言葉を抽出する。なお、この抽出は、例えば、連想知識の構文構造を解析することで可能である。また、応答テンプレート結合部60は、パターンが、述語、全文、述語項などの場合には、活用語変換(例えば、「行く」から「行き」への変換)を行い、テンプレートのスロットに言葉を挿入する。応答テンプレート結合部60は、このようにして、事象抽出部30に入力された発話文に対する応答文を生成する。
The response template combination unit 60 (response sentence generation means) applies the associative knowledge specified by the
このように、対話処理装置1は、ユーザの発話文に関連する連想知識を、応答分類に応じた加工方法により加工して、応答文を生成する。
次に、対話処理装置1の動作の一例について説明する。図4は、対話処理装置1の動作の一例を示すフローチャートである。以下、図4に示すフローチャートに沿って、対話処理装置1の動作について説明する。
In this way, the
Next, an example of the operation of the
ステップ10(S10)において、ユーザの発話(例えば、「歌を歌うことが好きなんだ」)が検出される。この検出は、例えば、図示しないマイクによりユーザの発話音声を取得することにより行われる。ステップ11(S11)において、ステップ10において検出された発話音声に対する音声認識が、図示しない音声認識部により行われる。音声認識部は、例えば、公知の音声認識ソフトウェアにより実現される。ステップ11による音声認識により、音声がテキストに変換され、ユーザの発話文が取得される。
In step 10 (S10), the user's utterance (for example, "I like to sing a song") is detected. This detection is performed, for example, by acquiring the voice uttered by the user with a microphone (not shown). In step 11 (S11), the voice recognition of the uttered voice detected in
事象抽出部30は、ステップ12(S12)において、ステップ11で取得された発話文に対し構文解析処理を行い、ステップ13(S13)において、発話文から事象を抽出する。例えば、事象抽出部30は、構文解析処理を行うことで、「歌うことが好き」などの述語項、及び、「歌」などの品詞別単語を事象として抽出する。そして、ステップ14(S14)において、知識照合部40は、連想知識データベース10を参照して、事象抽出部30により抽出された事象に対応する連想知識及び知識分類を特定する。ステップ14では、例えば、事象「歌うことが好き」に対して、連想知識「カラオケに行く」及び知識分類「習慣」が特定される。
In step 12 (S12), the
ステップ15(S15)において、応答分類決定部50は、応答知識データベース20を参照して、ステップ14で特定された知識分類に対応する応答分類を1つ選択する。ステップ15では、例えば、知識分類「習慣」に対して、4つの応答分類のうち、「感想」が選択される。ステップ16(S16)において、応答テンプレート結合部60は、ステップ14で特定された連想知識を、ステップ15で選択された応答分類に対応したテンプレートに適用することにより、発話文に対する応答文を生成する。例えば、ステップ15において応答分類「感想」が選択された場合、応答テンプレート結合部60は、知識分類「習慣」に対応付けられているテンプレートのうち、応答分類「感想」に対応したテンプレート「<述語項>たいね」を用いて、応答文を生成する。このとき、応答テンプレート結合部60は、連想知識「カラオケに行く」の述語項である「カラオケに行く」を、テンプレートのスロットに挿入することで応答文を生成する。なお、応答テンプレート結合部60は、挿入に際し、述語項の接続部を活用(変形)した上でスロットへの挿入を行う。これにより、応答文「カラオケに行きたいね」が生成されることとなる。
In step 15 (S15), the response
ステップ17(S17)において、ステップ16で生成された応答文を音声として出力するための音声合成処理が行われ、図示しないスピーカ等により応答文が音声出力される。
In step 17 (S17), a voice synthesis process for outputting the response sentence generated in
以上、対話処理装置1について説明した。対話処理装置1によれば、抽出された事象に対応する連想知識を用いて応答文が生成される。そして、その際、連想関係の種別に応じた応答種別のうち選択されたものに対応するテンプレートが用いられて応答文が生成される。このため、対話処理装置1によれば、ユーザの発話の語彙から飛躍した応答が可能となる。つまり、ユーザの発話に対し、多様な応答を行うことが可能となり、話題が広がりやすくなる。したがって、対話処理装置1によれば、会話を継続しやすくなる。また、上述の通り、連想知識データベース10及び応答知識データベース20によって、応答文生成に必要とする知識を2段構成で汎化している。このため、多様な応答を容易に生成することが可能となっている。また、データベースから選ばれた連想知識の知識分類に複数の応答分類が対応している場合には、選択する応答分類を変更することで種々の応答パターンを実現できるので、データベースに予め格納しておく文の数を抑制することができる。
The
<実施の形態2>
実施の形態2にかかる対話処理装置1では、応答分類決定部50が知識照合部40により特定された知識分類に対応する応答分類のうちいずれか1つを選択する際、応答分類決定部50が発生頻度及び履歴頻度に基づいて選択を行う点で実施の形態1にかかる対話処理装置1と異なる。以下、実施の形態2にかかる対話処理装置1について、実施の形態1にかかる対話処理装置1と異なる構成及び動作について説明し、重複する説明については省略する。
<Second Embodiment>
In the
図5は、実施の形態2にかかる応答知識データベース20に記憶される対応関係の一例を示す表である。図5に示されるように、実施の形態2にかかる応答知識データベース20は、各知識分類における応答分類それぞれに対し、さらに、発生頻度及び履歴頻度を対応付けて記憶している。ここで、発生頻度とは、対話処理装置1以外の所定の環境下における、所定の応答分類に属する表現の発生頻度をいう。この発生頻度は、応答分類ごとの応答の一般的な利用頻度に相当する。発生頻度は、例えば、ある応答分類に分類される表現が、ウェブ上にどれだけ存在するかを検索することにより得られる。また、履歴頻度とは、所定の応答分類に属する表現についての、対話処理装置1がユーザと対話した際の実際の使用頻度である。
FIG. 5 is a table showing an example of correspondences stored in the
本実施の形態にかかる応答分類決定部50は、応答知識データベース20に記憶された発生頻度及び履歴頻度に基づいて、知識照合部40により特定された知識分類に対応する応答分類のうち、いずれか1つを選択する。ここで、本実施の形態にかかる応答分類決定部50は、発生頻度が大きいほどより選択されやすく、かつ、履歴頻度が小さいほどより選択されやすくなるよう予め定められた選択ルールに従って、応答分類を選択する。本実施の形態にかかる応答分類決定部50は、知識照合部40により特定された知識分類に対応する応答分類のうち、例えば以下の算出式(式(1))による値yiが最大となるiを選択する。なお、iは、知識照合部40により特定された知識分類に対応する各応答分類を識別するためのインデックスである。
The response
ここで、a1及びa2は、重み係数であり、a1+a2=1である。また、x1iは、発生頻度についての評価値であり、以下の式(2)により定義される。なお、式(2)において、riは、インデックスがiである応答分類の発生頻度である。ただし、式(2)において、分母の値が0となる場合には、x1iの算出が不能とならぬよう、分母を例えば0.1とするものとする。 Here, a 1 and a 2 are weighting factors, and a 1 +a 2 =1. Further, x 1i is an evaluation value for the occurrence frequency and is defined by the following formula (2). In the formula (2), r i is the frequency of occurrence of the response classification having the index i. However, in Expression (2), when the value of the denominator is 0, the denominator is set to 0.1, for example, so that the calculation of x 1i is not impossible.
さらに、x2iは、履歴頻度についての評価値であり、以下の式(3)により定義される。なお、式(3)において、siは、インデックスがiである応答分類の履歴頻度である。ただし、式(3)において、分母の値が0となる場合には、x2iの算出が不能とならぬよう、分母を例えば0.1とするものとする。 Further, x 2i is an evaluation value for the history frequency, and is defined by the following expression (3). In Expression (3), s i is the history frequency of the response classification whose index is i. However, in Expression (3), when the value of the denominator is 0, the denominator is set to 0.1, for example, so that the calculation of x 2i is not impossible.
例えば、上述のステップ14において、知識照合部40によって知識分類「習慣」が特定された場合、本実施の形態にかかる応答分類決定部50は、次のように応答分類を決定する。なお、ここでは、a1=0.1であり、a2=0.9であるものとする。図5に示されるように、知識分類「習慣」には、応答分類「確認」、「習慣」、「感想」、「提案」が対応していることがわかる。ここで、応答分類「確認」の発生頻度は3であり、履歴頻度は0である。また、応答分類「習慣」の発生頻度は10であり、履歴頻度は1である。また、応答分類「感想」の発生頻度は5であり、履歴頻度は0である。また、応答分類「提案」の発生頻度は1であり、履歴頻度は0である。
For example, when the
上記式(1)〜(3)によれば、各応答分類に対する評価値(yiの値)は、次のようになる。すなわち、応答分類「確認」についての評価値は0.915であり、応答分類「習慣」についての評価値は0.052であり、応答分類「感想」についての評価値は0.926であり、応答分類「提案」についての評価値は0.905である。本実施の形態にかかる応答分類決定部50は、このように、各応答分類について評価値を算出した上で、評価値が最大である応答分類「感想」を選択する。このように、所定の環境下において応答分類「習慣」に分類される応答が比較的多く使用されている場合であっても、そのような応答が既にユーザとの対話で利用されている場合には他の応答種別が選択されうる。
According to the above equations (1) to (3), the evaluation value (value of y i ) for each response classification is as follows. That is, the evaluation value for the response classification “confirmation” is 0.915, the evaluation value for the response classification “habit” is 0.052, the evaluation value for the response classification “impression” is 0.926, The evaluation value for the response classification “proposal” is 0.905. The response
本実施の形態にかかる対話処理装置1によれば、発生頻度に基づいて応答分類が選択されるため、一般的な利用頻度に応じた応答を行うことが可能となる。また、履歴頻度に基づいて応答分類が選択されるため、変化に富んだ多様な応答を行うことが可能となる。なお、本実施の形態では、応答分類決定部50が、発生頻度及び履歴頻度に基づいて応答分類を選択する構成について説明したが、応答分類決定部50は、発生頻度又は履歴頻度のいずれか一方に基づいて応答分類を選択してもよい。
According to the
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。例えば、ユーザの発話に対する意図解析処理結果を利用して応答文が生成されてもよい。 The present invention is not limited to the above-mentioned embodiment, and can be modified as appropriate without departing from the spirit of the present invention. For example, the response sentence may be generated by using the result of the intention analysis processing for the user's utterance.
1 対話処理装置
10 連想知識データベース
20 応答知識データベース
30 事象抽出部
40 知識照合部
50 応答分類決定部
60 応答テンプレート結合部
1
Claims (4)
前記連想関係の種別毎に、少なくとも1つの応答の種別及び該応答の種別に対応したテンプレートを前記連想関係の種別に対応付けて記憶する第2のデータベースと、
入力された発話文から事象を抽出する事象抽出手段と、
前記第1のデータベースを参照して、前記事象抽出手段により抽出された事象に対応する前記連想知識及び前記連想関係の種別を特定する知識照合手段と、
前記知識照合手段により特定された前記連想関係の種別に対応する前記応答の種別のうち、いずれか1つを選択する応答分類決定手段と、
前記知識照合手段により特定された前記連想知識を、前記応答分類決定手段により選択された前記応答の種別に対応した前記テンプレートに適用することにより、前記発話文に対する応答文を生成する応答文生成手段と
を有し、
前記応答分類決定手段は、所定の環境下における、前記応答の種別に属する表現の発生頻度に基づいて選択する
対話処理装置。 A first database that stores an event, associative knowledge about the event, and a type of an associative relationship between the event and the associative knowledge in association with each other;
A second database that stores at least one response type and a template corresponding to the response type in association with each association type for each association type;
Event extraction means for extracting an event from the input utterance sentence,
Knowledge collating means for referring to the first database and specifying the type of the associative knowledge and the associative relationship corresponding to the event extracted by the event extracting means;
Response classification determining means for selecting any one of the types of responses corresponding to the type of associative relationship specified by the knowledge collating means,
Response sentence generating means for generating a response sentence to the utterance sentence by applying the associative knowledge specified by the knowledge collating means to the template corresponding to the type of the response selected by the response classification determining means. It has a door,
The response classification determining means makes a selection based on an occurrence frequency of an expression belonging to the type of the response under a predetermined environment.
Dialog processing device.
請求項1に記載の対話処理装置。 The dialogue processing device according to claim 1.
請求項2に記載の対話処理装置。 The dialogue processing device according to claim 2.
請求項1乃至3のいずれか1項に記載の対話処理装置。 The dialog processing device according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016100653A JP6730090B2 (en) | 2016-05-19 | 2016-05-19 | Dialog processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016100653A JP6730090B2 (en) | 2016-05-19 | 2016-05-19 | Dialog processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017207663A JP2017207663A (en) | 2017-11-24 |
JP6730090B2 true JP6730090B2 (en) | 2020-07-29 |
Family
ID=60416864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016100653A Active JP6730090B2 (en) | 2016-05-19 | 2016-05-19 | Dialog processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6730090B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7068077B2 (en) * | 2018-07-04 | 2022-05-16 | 株式会社日立製作所 | Voice dialogue system, voice dialogue device and voice dialogue method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008083100A (en) * | 2006-09-25 | 2008-04-10 | Toshiba Corp | Voice interactive device and method therefor |
JP5300497B2 (en) * | 2009-01-07 | 2013-09-25 | 株式会社東芝 | Dialogue device, dialogue program, and dialogue method |
JP2012027845A (en) * | 2010-07-27 | 2012-02-09 | Sony Corp | Information processor, relevant sentence providing method, and program |
JP5728527B2 (en) * | 2013-05-13 | 2015-06-03 | 日本電信電話株式会社 | Utterance candidate generation device, utterance candidate generation method, and utterance candidate generation program |
-
2016
- 2016-05-19 JP JP2016100653A patent/JP6730090B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017207663A (en) | 2017-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10936664B2 (en) | Dialogue system and computer program therefor | |
US7865356B2 (en) | Method and apparatus for providing proper or partial proper name recognition | |
US9002710B2 (en) | System and method for applying dynamic contextual grammars and language models to improve automatic speech recognition accuracy | |
US20180157960A1 (en) | Scalable curation system | |
JP5831951B2 (en) | Dialog system, redundant message elimination method, and redundant message elimination program | |
JP4918937B2 (en) | Form type identification program, form type identification method, and form type identification device | |
US20080263021A1 (en) | Methods of object search and recognition | |
US10573311B1 (en) | Generating self-support metrics based on paralinguistic information | |
JP2006244262A (en) | Retrieval system, method and program for answer to question | |
WO2009087996A1 (en) | Information extraction device and information extraction system | |
JPWO2007138875A1 (en) | Word dictionary / language model creation system, method, program, and speech recognition system for speech recognition | |
KR102476099B1 (en) | METHOD AND APPARATUS FOR GENERATING READING DOCUMENT Of MINUTES | |
Martin Morato et al. | Diversity and bias in audio captioning datasets | |
Glasser | Automatic speech recognition services: Deaf and hard-of-hearing usability | |
JP5045486B2 (en) | Dialogue device and program | |
Hörschläger et al. | Addressing tempo estimation octave errors in electronic music by incorporating style information extracted from Wikipedia | |
KR102206781B1 (en) | Method of fake news evaluation based on knowledge-based inference, recording medium and apparatus for performing the method | |
JP6730090B2 (en) | Dialog processing device | |
JP5099367B2 (en) | Request content identification system, request content identification method and program in natural language | |
WO2015053607A1 (en) | System and method for semantic-level sentiment analysis of text | |
JP7159576B2 (en) | Information presentation device, information presentation system, information presentation method and program | |
JP6375367B2 (en) | Objection generation method, objection generation system | |
CN109165277B (en) | Composition output method and learning equipment | |
JP2022067223A (en) | Generation device and generation method | |
JP2007026347A (en) | Text mining device, text mining method and text mining program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190115 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191113 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191210 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200131 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200609 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200702 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6730090 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |