JP2018151471A - Dialogue method, dialogue system, dialogue apparatus, and program - Google Patents
Dialogue method, dialogue system, dialogue apparatus, and program Download PDFInfo
- Publication number
- JP2018151471A JP2018151471A JP2017046363A JP2017046363A JP2018151471A JP 2018151471 A JP2018151471 A JP 2018151471A JP 2017046363 A JP2017046363 A JP 2017046363A JP 2017046363 A JP2017046363 A JP 2017046363A JP 2018151471 A JP2018151471 A JP 2018151471A
- Authority
- JP
- Japan
- Prior art keywords
- utterance
- user
- presenting
- question
- dialogue
- 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.)
- Granted
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Manipulator (AREA)
Abstract
【課題】質問に対するユーザの応答に関わらず、少数のシナリオで対話を継続する。【解決手段】対話システム100は、ある質問である第一発話と第一発話に関係する発話である第二発話とをユーザ101へ提示する。人型ロボット50−1は、第一発話を提示する。マイクロホン11−1は、第一発話後にユーザ101が発したユーザ発話を受け付ける。人型ロボット50−1は、第一発話に関係する発話から、ユーザ発話の内容の少なくとも一部を省略した、第二発話を提示する。【選択図】図1PROBLEM TO BE SOLVED: To continue a dialogue in a small number of scenarios regardless of a user's response to a question. A dialogue system 100 presents a first utterance, which is a question, and a second utterance, which is a utterance related to the first utterance, to a user 101. The humanoid robot 50-1 presents the first utterance. The microphone 11-1 receives the user utterance uttered by the user 101 after the first utterance. The humanoid robot 50-1 presents a second utterance in which at least a part of the content of the user's utterance is omitted from the utterance related to the first utterance. [Selection diagram] Fig. 1
Description
この発明は、人とコミュニケーションを行うロボットなどに適用可能な、コンピュータが人間と自然言語を用いて対話を行う技術に関する。 The present invention relates to a technology in which a computer interacts with a human using a natural language, which can be applied to a robot that communicates with a human.
近年、人とコミュニケーションを行うロボットの研究開発が進展しており、様々な現場で実用化されてきている。例えば、コミュニケーションセラピーの現場において、ロボットが孤独感を抱える人の話し相手となる利用形態がある。具体的には、老人介護施設においてロボットが入居者の傾聴役となることで、入居者の孤独感を癒す役割を担うことができると共に、ロボットとの会話している姿を見せ、入居者とその家族や介護士など周りの人々との会話のきっかけを作ることができる。また、例えば、コミュニケーション訓練の現場において、ロボットが練習相手となる利用形態がある。具体的には、外国語学習施設においてロボットが外国語学習者の練習相手となることで、外国語学習を効率的に進めることができる。また、例えば、情報提示システムとしての応用において、ロボット同士の対話を聞かせることを基本としながら、時折人に話しかけることで、退屈させずに人を対話に参加させ、人が受け入れやすい形で情報を提示することができる。具体的には、街中の待ち合わせ場所やバス停、駅のホームなどで人が時間を持て余している際や、自宅や教室などで対話に参加する余裕がある際に、ニュースや商品紹介、蘊蓄・知識紹介、教育(例えば、子供の保育・教育、大人への一般教養教授、モラル啓発など)など、効率的な情報提示が期待できる。さらに、例えば、情報収集システムとしての応用において、ロボットが人に話しかけながら情報を収集する利用形態がある。ロボットとのコミュニケーションにより対話感を保持できるため、人に聴取されているという圧迫感を与えずに情報収集することができる。具体的には、個人情報調査や市場調査、商品評価、推薦商品のための趣向調査などに応用することが想定されている。このように人とロボットのコミュニケーションは様々な応用が期待されており、ユーザとより自然に対話を行うロボットの実現が期待される。また、スマートフォンの普及により、LINE(登録商標)のように、複数ユーザでほぼリアルタイムにチャットを行うことにより、人との会話を楽しむサービスも実施されている。このチャットサービスにロボットとの会話の技術を適用すれば、チャット相手がいなくても、ユーザとより自然に対話を行うチャットサービスの実現が可能となる。 In recent years, research and development of robots that communicate with people have progressed and have been put to practical use in various fields. For example, in the field of communication therapy, there is a usage form in which a robot is a conversation partner of a person who is lonely. Specifically, in a nursing home for the elderly, the robot can play a role of listening to the resident, so he can play a role in healing the loneliness of the resident and show a conversation with the robot. You can create conversation opportunities with the family and caregivers. Further, for example, there is a usage form in which a robot is a practice partner in a communication training field. Specifically, the foreign language learning can be efficiently advanced by having the robot become a practice partner of the foreign language learner at the foreign language learning facility. Also, for example, in application as an information presentation system, it is basic to let robots talk to each other, but by talking to people from time to time, people can participate in the conversation without being bored, and information that is easy for people to accept Can be presented. Specifically, news, product introductions, accumulation / knowledge when people have time in meeting places in the city, bus stops, station platforms, etc. or when there is room to participate in dialogues at home or in classrooms. Efficient information presentation such as introduction and education (for example, childcare / education for children, general education professor for adults, moral education, etc.) can be expected. Furthermore, for example, in application as an information collection system, there is a utilization form in which a robot collects information while talking to a person. Since communication can be maintained through communication with the robot, information can be collected without giving a sense of pressure that people are listening. Specifically, it is assumed to be applied to personal information surveys, market surveys, product evaluations, preference surveys for recommended products, and the like. As described above, various applications of human-robot communication are expected, and realization of a robot that can more naturally interact with users is expected. In addition, with the spread of smartphones, services such as LINE (registered trademark) that allow users to enjoy conversations with people by chatting in almost real time are also being implemented. If the technology of conversation with the robot is applied to this chat service, it becomes possible to realize a chat service for more natural dialogue with the user even when there is no chat partner.
本明細書では、これらのサービスで用いられるロボットやチャット相手などのユーザとの対話相手となるハードウェアやユーザとの対話相手となるハードウェアとしてコンピュータを機能させるためのコンピュータソフトウェアなどを総称してエージェントと呼ぶこととする。エージェントは、ユーザとの対話相手となるものであるため、ロボットやチャット相手などのように擬人化されていたり、人格化されていたり、性格や個性を有していたりするものであってもよい。 In this specification, the hardware used as a conversation partner with a user such as a robot and a chat partner used in these services, and the computer software for causing the computer to function as the hardware as a conversation partner with the user are collectively referred to. It will be called an agent. Since the agent is a conversation partner with the user, the agent may be anthropomorphic, personalized, or have personality or individuality, such as a robot or a chat partner.
これらのサービスの実現のキーとなるのは、ハードウェアやコンピュータソフトウェアにより実現されるエージェントが人間と自然に対話を行うことができる技術である。 The key to the realization of these services is a technology that enables agents realized by hardware and computer software to naturally interact with humans.
上記のエージェントの一例として、例えば、非特許文献1に記載されたような、ユーザの発話を音声認識し、発話の意図を理解・推論して、適切な応答をする音声対話システムがある。音声対話システムの研究は、音声認識技術の進展に伴って活発に進められ、例えば音声自動応答システムなどで実用化されている。 As an example of the agent described above, there is a voice dialogue system that recognizes a user's utterance, understands / infers the intention of the utterance, and responds appropriately as described in Non-Patent Document 1, for example. Research on speech dialogue systems has been actively promoted with the progress of speech recognition technology, and has been put to practical use in, for example, automatic speech response systems.
また、上記のエージェントの一例として、あらかじめ定められたシナリオに沿って特定の話題についてユーザと対話を行うシナリオ対話システムがある。シナリオ対話システムでは、シナリオに沿って対話が展開する限り対話を続けることが可能である。例えば、非特許文献2に記載された対話システムは、ユーザと複数のエージェント間で、エージェントによる割り込みやエージェント同士のやり取りを含めながら対話を行うシステムである。例えば、エージェントは、ユーザに対してシナリオに用意された質問を発話し、質問に対するユーザの回答の発話がシナリオに用意された選択肢に対応する場合に、その選択肢に対応する発話を行うように機能する。すなわち、シナリオ対話システムは、システムに予め記憶されたシナリオに基づいた発話をエージェントが行う対話システムである。この対話システムでは、エージェントがユーザに問いかけ、ユーザからの返答を受けた際に、ユーザの発話内容に関わらず「そっか」といった相槌で流したり、エージェントの割り込みで話題を変えたりすることで、ユーザの発話が本来の話題から外れた場合であってもストーリーの破綻をユーザに感じさせないように応答することが可能である。
Further, as an example of the agent, there is a scenario dialogue system that performs dialogue with a user on a specific topic according to a predetermined scenario. In the scenario dialogue system, the dialogue can be continued as long as the dialogue develops along the scenario. For example, the dialogue system described in Non-Patent
また、上記のエージェントの一例として、ユーザの発話内容に沿った発話をエージェントが行うことにより、ユーザとエージェントとが自然な対話を行う雑談対話システムがある。例えば、非特許文献3に記載された対話システムは、ユーザとエージェントとの間で行われる複数回の対話の中で文脈に特有のものをより重視しながら、ユーザまたはエージェントの発話に含まれる単語をトリガーとして、あらかじめ記述しておいたルールに従ってシステムが発話することで、ユーザとシステムとの間で雑談対話を実現するシステムである。雑談対話システムが用いるルールは、あらかじめ記述したものだけでなく、ユーザの発話内容に基づいて自動的に生成したものであってもよいし、ユーザまたはエージェントによる直前の発話またはその近傍に発話された発話に基づいて自動的に生成したものであってもよいし、ユーザまたはエージェントによる直前の発話またはその近傍に発話された発話を少なくとも含む発話に基づいて自動的に生成したものであってもよい。非特許文献3には、ユーザの発話に含まれる単語と共起関係や係り受け関係にある単語に基づいて、自動的にルールを生成する技術が記載されている。また、例えば、非特許文献4に記載された対話システムは、人手で記述したルールと統計的発話生成手法で記述したルールを融合することで、ルール生成のコストを低減したシステムである。雑談対話システムは、シナリオ対話システムとは異なり、予め用意されたシナリオに沿った発話をエージェントが行うものではないため、ユーザの発話によっては、エージェントの発話がユーザの発話に対応しないものとなってしまうという事態は生じずに、少なくともユーザの発話内容、もしくはユーザまたはエージェントによる直前の発話またはその近傍に発話された発話、もしくはユーザまたはエージェントによる直前の発話またはその近傍に発話された発話を少なくとも含む発話に基づいた発話をエージェントが行うことが可能である。すなわち、雑談対話システムは、少なくともユーザの発話内容、もしくはユーザまたはエージェントによる直前の発話またはその近傍に発話された発話、もしくはユーザまたはエージェントによる直前の発話またはその近傍に発話された発話を少なくとも含む発話に基づいた発話をエージェントが行う対話システムである。これらの雑談対話システムでは、ユーザの発話に対して明示的に応答することが可能である。 Further, as an example of the above-described agent, there is a chat dialogue system in which a user and an agent have a natural dialogue when the agent utters according to the content of the user's utterance. For example, in the dialogue system described in Non-Patent Document 3, words included in the utterance of the user or the agent while giving more importance to the context-specific ones in a plurality of dialogues between the user and the agent. Is a system that realizes a chat conversation between the user and the system by the system speaking according to the rules described in advance. The rules used by the chat dialogue system are not limited to those described in advance, but may be automatically generated based on the user's utterance content, or uttered in the immediate utterance by the user or agent or in the vicinity thereof. It may be automatically generated based on the utterance, or may be automatically generated based on the utterance including at least the utterance immediately before or near the utterance by the user or the agent. . Non-Patent Document 3 describes a technique for automatically generating a rule based on words that have a co-occurrence relationship or a dependency relationship with words included in a user's utterance. Further, for example, the dialogue system described in Non-Patent Document 4 is a system that reduces the cost of rule generation by fusing rules described manually and rules described using a statistical utterance generation method. The chat dialogue system is different from the scenario dialogue system because the agent does not utter the utterance according to the prepared scenario. Therefore, depending on the user's utterance, the agent's utterance does not correspond to the user's utterance. At least the content of the user's utterance, the utterance spoken immediately before or near the user or agent, or the utterance spoken immediately before or near the user or agent An agent can make an utterance based on the utterance. That is, the chat dialogue system includes at least the utterance content of the user, the utterance spoken immediately before or by the user or agent, or the utterance uttered immediately before or by the user or agent. It is a dialogue system in which an agent utters speech based on. In these chat dialogue systems, it is possible to explicitly respond to the user's utterance.
対話のシナリオを人手で構築するには膨大なコストがかかる。Web上の記事など既存のリソースを収集して多数の話題についての発話文を生成することは可能であるが、通常は対話調の文ではなく、また、情報量が多いため、対話では理解しにくい場合が多い。 It takes a huge amount of money to build a dialogue scenario manually. Although it is possible to collect existing resources such as articles on the Web and generate utterance sentences on many topics, it is not usually a dialogue-like sentence, and since the amount of information is large, it is understood in the conversation. Often difficult.
ユーザの理解を促すために、上記のような方法で生成した文を複数の文に分割し、複数のエージェントが分担して発話することもできるが、ユーザが受動的に聞くのみとなると対話感が低減する。そのため、ユーザへの質問を挿入するなどしてユーザに発話させることで、対話感を向上することが考えられる。しかしながら、ユーザの発話を完全にコントロールすることは難しいため、想定されるユーザの発話それぞれに対してシナリオを用意する必要があり、大きくコストを下げることは困難である。 In order to encourage the user's understanding, the sentence generated by the method described above can be divided into multiple sentences, and multiple agents can share and speak, but if the user only listens passively, the feeling of dialogue Is reduced. Therefore, it is conceivable to improve the sense of dialogue by causing the user to speak by inserting a question to the user. However, since it is difficult to completely control the user's utterance, it is necessary to prepare a scenario for each assumed user's utterance, and it is difficult to greatly reduce the cost.
この発明の目的は、上述のような点に鑑みて、対話システムからの質問に対するユーザの応答に関わらず、あらかじめ用意した少数のシナリオで対話を継続することができる対話システム、対話装置を実現することである。 In view of the above-described points, an object of the present invention is to realize a dialogue system and a dialogue device capable of continuing a dialogue in a small number of scenarios prepared in advance regardless of a user's response to a question from the dialogue system. That is.
上記の課題を解決するために、この発明の第一の態様の対話方法は、ある質問である第一発話と第一発話に関係する発話である第二発話とをユーザへ提示する対話システムが実行する対話方法であって、提示部が、第一発話を提示する第一提示ステップと、入力部が、第一発話後にユーザが発したユーザ発話を受け付ける発話受付ステップと、提示部が、第一発話に関係する発話から、ユーザ発話の内容の少なくとも一部を省略した、第二発話を提示する第二提示ステップと、を含む。 In order to solve the above-described problem, the dialogue method according to the first aspect of the present invention is a dialogue system that presents a user with a first utterance that is a question and a second utterance that is an utterance related to the first utterance. In the interactive method to be executed, a presentation unit presents a first utterance, a first presentation step, an input unit accepts a user utterance uttered by a user after the first utterance, and a presentation unit A second presentation step of presenting a second utterance in which at least a part of the content of the user utterance is omitted from the utterance related to the one utterance.
この発明の第二の態様の対話方法は、特定の単語クラスに属する単語を発話させる質問である第一発話と第一発話に関係する発話である第二発話とをユーザへ提示する対話システムが実行する対話方法であって、提示部が、第一発話を提示する第一提示ステップと、入力部が、第一発話後にユーザが発したユーザ発話を受け付ける発話受付ステップと、提示部が、ユーザ発話に単語クラスに属する単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話を提示する第二提示ステップと、提示部が、第二発話を提示する第三提示ステップと、を含む。 In the dialogue method according to the second aspect of the present invention, there is provided a dialogue system for presenting a user with a first utterance that is a question for uttering a word belonging to a specific word class and a second utterance that is an utterance related to the first utterance. A dialogue method to be executed, wherein a presentation unit presents a first utterance, a first presentation step, an input unit accepts a user utterance uttered by a user after the first utterance, and a presentation unit A second presentation step for presenting an additional utterance selected from a predetermined utterance sentence according to whether or not a word belonging to the word class is included in the utterance, and a third presentation step for the presentation unit to present the second utterance And including.
この発明の第三の態様の対話方法は、ある知識を問う質問である第一発話と第一発話に関係する発話である第二発話とをユーザへ提示する対話システムが実行する対話方法であって、提示部が、第一発話を提示する第一提示ステップと、入力部が、第一発話後にユーザが発したユーザ発話を受け付ける発話受付ステップと、提示部が、ユーザ発話に知識を表す単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話を提示する第二提示ステップと、提示部が、第二発話を提示する第三提示ステップと、を含む。 The dialogue method according to the third aspect of the present invention is a dialogue method executed by a dialogue system that presents to a user a first utterance that is a question asking a certain knowledge and a second utterance that is an utterance related to the first utterance. The presentation unit presents the first utterance, the input unit accepts the user utterance uttered by the user after the first utterance, and the presentation unit represents the knowledge in the user utterance. Depending on whether or not is included, a second presentation step of presenting an additional utterance selected from a predetermined utterance sentence and a third presentation step of presenting a second utterance by the presenting unit are included.
この発明によれば、対話システムから提示した質問に対するユーザの発話内容に関わらず、あらかじめ用意したシナリオに復帰することができるため、少数のシナリオを用意しておくだけで対話を継続することができる対話システム、対話装置を実現することが可能となる。 According to the present invention, it is possible to return to a scenario prepared in advance regardless of the content of the user's utterance to the question presented from the dialogue system, so that the dialogue can be continued only by preparing a small number of scenarios. An interactive system and an interactive device can be realized.
この発明では、対話システムがあらかじめ記憶しておいたシナリオに沿った対話を行う際に、対話感を向上するためにユーザへ質問を行い、その質問に対するユーザの発話内容に応じて、以降の発話内容を変更する。ある質問に対してユーザが発話した内容が、対話システムが直後に発話する内容に含まれる場合、そのまま発話すると同じ内容を繰り返すことになり冗長な印象を与える。そのため、対話システムが直後に発話する内容からユーザの発話内容を省略して発話を提示する。また、ある質問に対してユーザが発話する単語クラスが想定できる場合、その単語クラス内の単語がユーザの発話に含まれるときの発話と、その単語クラス内の単語がユーザの発話に含まれないときの発話とをあらかじめ用意しておき、ユーザの発話した内容がその単語クラスに含まれるか否かに応じて、ユーザの発話の直後に発話する内容を切り替える。さらに、ある知識を問う質問を行う場合、ユーザの発話が正解を含むときの発話と、ユーザの発話が正解を含まないときの発話とをあらかじめ用意しておき、ユーザの発話した内容が正解を含むか否かに応じて、ユーザの発話の直後に発話する内容を切り替える。従来は対話システムからの質問に対するユーザの応答を網羅して多数のシナリオを用意する必要があり、そのためのコストが膨大になっていたが、上記のように構成することにより、ユーザの応答の内容に関わらず少数のシナリオで対応することができ、シナリオを用意するコストを削減することができる。 In the present invention, when a dialogue is performed in accordance with a scenario stored in advance by the dialogue system, a question is asked to the user in order to improve the feeling of dialogue, and the subsequent utterance is determined according to the content of the user's utterance with respect to the question. Change the contents. If the content spoken by a user in response to a certain question is included in the content spoken immediately after by the dialog system, the same content is repeated if the speech is spoken as it is, giving a redundant impression. For this reason, the utterance content of the user is omitted from the content that the dialog system utters immediately, and the utterance is presented. In addition, when a word class spoken by a user can be assumed for a certain question, the utterance when a word in the word class is included in the user's utterance and the word in the word class are not included in the user's utterance Utterance at the time is prepared in advance, and the content to be uttered immediately after the user's utterance is switched according to whether or not the content uttered by the user is included in the word class. Furthermore, when asking a question that asks for certain knowledge, an utterance when the user's utterance includes the correct answer and an utterance when the user's utterance does not include the correct answer are prepared in advance, and the content uttered by the user is correct. The content to be uttered immediately after the user's utterance is switched depending on whether or not it is included. Conventionally, it has been necessary to prepare a large number of scenarios covering the user's response to the question from the interactive system, and the cost for that has been enormous, but by configuring as above, the content of the user's response Regardless of this, it is possible to cope with a small number of scenarios, and the cost for preparing the scenarios can be reduced.
以下、この発明の実施の形態について詳細に説明する。なお、図面中において同じ機能を有する構成部には同じ番号を付し、重複説明を省略する。 Hereinafter, embodiments of the present invention will be described in detail. In addition, the same number is attached | subjected to the component which has the same function in drawing, and duplication description is abbreviate | omitted.
実施形態の対話システムは、少なくとも一台の人型ロボットがユーザとの対話を行うシステムである。すなわち、実施形態の対話システムは、エージェントが人型ロボットである場合の一例である。対話システム100は、図1に示すように、例えば、対話装置1と、マイクロホン11からなる入力部10と、少なくともスピーカ51を備える提示部50とを含む。対話装置1は、例えば、音声認識部20、発話決定部30、および音声合成部40を備える。この対話システム100が後述する各ステップの処理を行うことにより実施形態の対話方法が実現される。
The dialogue system of the embodiment is a system in which at least one humanoid robot interacts with a user. That is, the dialogue system of the embodiment is an example in the case where the agent is a humanoid robot. As shown in FIG. 1, the dialogue system 100 includes, for example, a dialogue device 1, an
対話装置1は、例えば、中央演算処理装置(CPU: Central Processing Unit)、主記憶装置(RAM: Random Access Memory)などを有する公知又は専用のコンピュータに特別なプログラムが読み込まれて構成された特別な装置である。対話装置1は、例えば、中央演算処理装置の制御のもとで各処理を実行する。対話装置1に入力されたデータや各処理で得られたデータは、例えば、主記憶装置に格納され、主記憶装置に格納されたデータは必要に応じて読み出されて他の処理に利用される。また、対話装置1の各処理部の少なくとも一部が集積回路等のハードウェアによって構成されていてもよい。 The interactive device 1 is a special device configured by reading a special program into a known or dedicated computer having a central processing unit (CPU), a main storage device (RAM), and the like. Device. For example, the interactive device 1 executes each process under the control of the central processing unit. The data input to the interactive device 1 and the data obtained in each process are stored in, for example, the main storage device, and the data stored in the main storage device is read out as necessary and used for other processing. The Further, at least a part of each processing unit of the interactive apparatus 1 may be configured by hardware such as an integrated circuit.
[入力部10]
入力部10は提示部50と一体もしくは部分的に一体として構成してもよい。図1の例では、入力部10の一部であるマイクロホン11−1、11−2が、提示部50である人型ロボット50−1、50−2の頭部(耳の位置)に搭載されている。図1の例では、提示部50は二台の人型ロボット50−1、50−2から構成されているが、一台の人型ロボットから構成されていてもよく、三台以上の人型ロボットから構成されていてもよい。
[Input unit 10]
The
入力部10は、ユーザの発話を対話システム100が取得するためのインターフェースである。言い換えれば、入力部10は、ユーザの発話を対話システム100へ入力するためのインターフェースである。例えば、入力部10はユーザの発話音声を収音して音声信号に変換するマイクロホン11である。マイクロホン11は、ユーザ101が発話した発話音声を収音可能とすればよい。つまり、図1は一例であって、マイクロホン11−1,11−2の何れか一方を備えないでもよい。また、ユーザ101の近傍などの人型ロボット50−1,50−2とは異なる場所に設置された1個以上のマイクロホン、または、複数のマイクロホンを備えたマイクロホンアレイを入力部とし、マイクロホン11−1,11−2の双方を備えない構成としてもよい。マイクロホン11は、変換により得たユーザの発話音声の音声信号を出力する。マイクロホン11が出力した音声信号は、音声認識部20へ入力される。
The
[音声認識部20]
音声認識部20は、マイクロホン11から入力されたユーザの発話音声の音声信号を音声認識してユーザの発話内容を表すテキストに変換し、発話決定部30に対して出力する。音声認識部20が行う音声認識の方法は、既存のいかなる音声認識技術であってもよく、利用環境等に合わせて最適なものを適宜選択すればよい。
[Voice recognition unit 20]
The
[発話決定部30]
発話決定部30は、対話システム100からの発話内容を表すテキストを決定し、音声合成部40に対して出力する。音声認識部20からユーザの発話内容を表すテキストが入力された場合には、入力されたユーザの発話内容を表すテキストに基づいて、対話システム100からの発話内容を表すテキストを決定し、音声合成部40に対して出力する。なお、対話システム100の提示部50が複数の人型ロボットで構成される場合には、発話決定部30は、当該発話をいずれの人型ロボットが提示するかを決定してもよい。この場合には、当該発話を提示する人型ロボットを表す情報も併せて音声合成部40へ出力する。また、この場合には、発話決定部30は、当該発話を提示する相手、すなわち、当該発話をユーザに対して提示するのか、何れかの人型ロボットに対して提示するのか、を決定してもよい。この場合には、当該発話を提示する相手を表す情報も併せて音声合成部40へ出力する。
[Speech determination unit 30]
The
[音声合成部40]
音声合成部40は、発話決定部30から入力された発話内容を表すテキストを、発話内容を表す音声信号に変換し、提示部50に対して出力する。音声合成部40が行う音声合成の方法は、既存のいかなる音声合成技術であってもよく、利用環境等に合わせて最適なものを適宜選択すればよい。なお、対話システム100の提示部50が複数の人型ロボットで構成される場合に、発話決定部30から発話内容を表すテキストと共に当該発話を提示する人型ロボットを表す情報が入力された場合には、音声合成部40は、当該情報に対応する人型ロボットへ発話内容を表す音声信号を出力する。また、発話決定部30から発話内容を表すテキストと当該発話を提示する人型ロボットを表す情報に併せて発話を提示する相手を表す情報も入力された場合には、音声合成部40は、当該情報に対応する人型ロボットへ発話内容を表す音声信号と発話を提示する相手を表す情報を出力する。
[Speech synthesizer 40]
The
[提示部50]
提示部50は、発話決定部30が決定した発話内容をユーザへ提示するためのインターフェースである。例えば、提示部50は、人間の形を模して製作された人型ロボットである。この人型ロボットは、音声合成部40から入力された発話内容を表す音声信号に対応する音声を、例えば頭部に搭載したスピーカ51から発音する、すなわち、発話を提示する。スピーカ51は、音声合成部40から入力された発話内容を表す音声信号に対応する音声を発音可能とすればよい。つまり、図1は一例であって、スピーカ51−1,51−2の何れか一方を備えないでもよい。また、ユーザ101の近傍などの人型ロボット50−1,50−2とは異なる場所に1個以上のスピーカ、または、複数のスピーカを備えたスピーカアレイを設置し、スピーカ51−1,51−2の双方を備えない構成としてもよい。また、人型ロボットは、顔の表情や、身体の動作等の非言語的な行動により発話決定部30が決定した発話内容をユーザへ提示してもよい。例えば、直前の発話に対して同意する旨を提示する際には、首を縦に振り、同意しない旨を提示する際には、首を横に振るなどの非言語的な行動を提示することが挙げられる。また、人型ロボットは、発話を提示する際に、顔や体全体をユーザまたは他の人型ロボットの方へ向けることで、顔や身体を向いた方にいるユーザまたは他の人型ロボットに対して発話を提示していることを表現することができる。提示部50を人型ロボットとした場合には、例えば、対話に参加する人格(エージェント)ごとに一台の人型ロボットを用意する。以下では、二人の人格が対話に参加する例として、二台の人型ロボット50−1および50−2が存在するものとする。なお、対話システム100の提示部50が複数の人型ロボットで構成される場合に、発話決定部30が当該発話をいずれの人型ロボットから提示するかを決定していた場合には、音声合成部40が出力した発話内容を表す音声信号を受け取った人型ロボット50−1または50−2が当該発話を提示する。また、発話決定部30が決定した発話を提示する相手を表す情報も入力された場合には、人型ロボット50−1または50−2は、発話を提示する相手を表す情報に対応する人型ロボットまたはユーザの発話に顔や視線を向けた状態で、発話を提示する。
[Presentation section 50]
The presentation unit 50 is an interface for presenting the utterance content determined by the
以下、図2を参照して、実施形態の対話方法の処理手続きを説明する。 Hereinafter, with reference to FIG. 2, a processing procedure of the interactive method of the embodiment will be described.
ステップS1において、対話システム100は、第一発話の内容を表す音声を、人型ロボット50−1が備えるスピーカ51−1から出力する、すなわち、第一発話を提示する。第一発話の内容を表す音声は、発話決定部30が決定した第一発話の内容を表すテキストを音声合成部40が音声信号に変換したものである。
In step S1, the dialogue system 100 outputs a voice representing the content of the first utterance from the speaker 51-1 included in the humanoid robot 50-1, that is, presents the first utterance. The voice representing the content of the first utterance is obtained by converting the text representing the content of the first utterance determined by the
第一発話の内容を表すテキストは、発話決定部30が、例えば、直前までの発話内容に応じて決定する。直前までの発話内容に応じて発話内容を決定する技術は、従来の対話システムにおいて用いられているものを利用すればよく、例えば、非特許文献2に記載されたシナリオ対話システムなどを用いることができる。発話決定部30がシナリオ対話システムにおいて用いられている技術を用いる場合は、例えば、発話決定部30は、直前の5発話程度を含む対話について、各発話に含まれる単語や各発話を構成する焦点語と発話決定部30内の図示しない記憶部に記憶された各シナリオに含まれる単語や焦点語との単語間距離が所定の距離より近いシナリオを選択し、選択したシナリオに含まれるテキストを選択することにより第一発話の内容を表すテキストを決定する。
The text representing the content of the first utterance is determined by the
発話決定部30内の図示しない記憶部に記憶されたシナリオは、例えば、Web上の記事など既存のリソースを取得して、複数の文に分割し、分割された各文を対話調に変換して生成した複数の発話文により構成される。シナリオには、複数のエージェント間で対話を行うために、生成した複数の発話文に、例えば相槌等の簡単な発話を挿入したものであってもよい。シナリオには、対話感を向上するために、記事の話題に関する質問や記事中のキーワードに関する質問をユーザに対して問いかける発話文を含むものとする。以降では、シナリオ中の質問までの発話文を第一発話と呼び、質問より後の発話文を質問後発話と呼ぶ。
The scenario stored in the storage unit (not shown) in the
発話決定部30内の図示しない記憶部に予め記憶しておくシナリオの生成方法について説明する。例えば、以下の内容の時事に関する記事が取得できたとする。
A scenario generation method stored in advance in a storage unit (not shown) in the
A.「○○県△△市で訓練中の輸送機が墜落・大破、二人ケガ」
この文章Aを分割して、対話調へ変換し、質問を含むようにすることで、例えば、以下の発話文A−1〜A−4により構成されるシナリオを生成する。ここでは、事件に関する知識を問う質問をユーザへ問いかける発話文(A−2)を生成してシナリオに含めている。この例では、シナリオに含まれる発話文A−1〜A−2が第一発話であり、発話文A−3〜A−4が質問後発話である。
A−1.「ねぇ、○○県でね」
A−2.「輸送機の話しってる?」
A−3.「△△市なんだけど、訓練中に墜落・大破して二人ケガしたんだって」
A−4.「こわいねぇ」
A. "The transport aircraft being trained in XX city in XX prefecture crashed, wrecked, and injured."
By dividing this sentence A, converting it into a dialogue style, and including a question, for example, a scenario composed of the following utterance sentences A-1 to A-4 is generated. Here, an utterance sentence (A-2) for asking the user questions regarding knowledge about the incident is generated and included in the scenario. In this example, utterance sentences A-1 to A-2 included in the scenario are first utterances, and utterance sentences A-3 to A-4 are utterances after a question.
A-1. "Hey, in XX prefecture"
A-2. "Are you talking about transport planes?"
A-3. “△△ It ’s a city, but it crashed and was wrecked during training.
A-4. "I'm scared"
また、例えば、以下の内容の時事に関する記事が取得できたとする。
B.「老舗映画雑誌『○○○』が年間ベストテンを発表し、アニメ作品『×××』が『△△△』や『□□□』といった強豪を抑え邦画第一位に決定した」
この文章Bを分割して、対話調へ変換し、質問を含むようにすることで、例えば、以下の発話文B−1−1〜B−1−3により構成されるシナリオを生成する。ここでは、任意の映画名を回答させる質問をユーザへ問いかける発話文(B−1−1)を生成してシナリオに含めている。この例では、シナリオに含まれる発話文B−1−1が第一発話であり、発話文B−1−2〜B−1−3が質問後発話である。
B−1−1.「最近映画どれみた?」
B−1−2.「×××が第一位に決定したね」
B−1−3.「そうそう、すごいよね」
Also, for example, suppose that an article about current events with the following contents has been acquired.
B. “A long-established movie magazine“ XX ”announced the best ten of the year, and the animated film“ XXX ”was decided to be the first Japanese film to control strong players such as“ △△△ ”and“ □□□ ”.
By dividing this sentence B, converting it into a dialogue style, and including a question, for example, a scenario composed of the following utterance sentences B-1-1 to B-1-3 is generated. Here, an utterance sentence (B-1-1) for asking the user a question for answering an arbitrary movie name is generated and included in the scenario. In this example, the utterance sentence B-1-1 included in the scenario is the first utterance, and the utterance sentences B-1-2 to B-1-3 are utterances after the question.
B-1-1. "Did you watch a movie recently?"
B-1-2. “XXX was the first place.”
B-1-3. "Yes, that's amazing"
また、例えば、上記の文章Bを分割して、対話調へ変換し、質問を含むようにすることで、以下の発話文B−2−1〜B−2−3により構成されるシナリオを生成する。ここでは、特定の映画名を回答させる質問をユーザへ問いかける発話文(B−2−1)を生成してシナリオに含めている。この例では、シナリオに含まれる発話文B−2−1が第一発話であり、発話文B−2−2〜B−2−3が質問後発話である。
B−2−1.「最近今年の日本の映画ベストテンが発表されたんだけど、何だか知ってる?」
B−2−2.「正解は×××でした!第一位に決定したんだよ」
B−2−3.「へぇ、すごいね」
Also, for example, by dividing the above sentence B, converting it into a dialogue style and including a question, a scenario composed of the following utterance sentences B-2-1 to B-2-3 is generated. To do. Here, an utterance sentence (B-2-1) for asking the user a question for answering a specific movie name is generated and included in the scenario. In this example, the utterance sentence B-2-1 included in the scenario is the first utterance, and the utterance sentences B-2-2 to B-2-3 are utterances after the question.
B-2-1. "Recently, this year's Japanese movie Best Ten was announced, do you know what?"
B-2-2. "The correct answer was XXX! I decided on the first place."
B-2-3. "Hey, amazing"
ステップS2において、マイクロホン11は、第一発話を提示した後にユーザ101が発した発話を受け付ける。以下、この発話をユーザ発話と呼ぶ。マイクロホン11が取得したユーザの発話内容を表す音声信号は音声認識部20へ入力される。音声認識部20は、マイクロホン11が取得したユーザの発話内容を表す音声信号を音声認識し、認識結果として得たテキストを、ユーザの発話内容を表すテキストとして発話決定部30に対して出力する。
In step S2, the
ステップS3において、発話決定部30は、音声認識部20が出力したユーザの発話内容を表すテキストを受け取り、第一発話の内容を表すテキストおよびユーザの発話内容を表すテキストに基づいて、第二発話の内容を表すテキストを決定し、音声合成部40に対して出力する。第二発話は、一つの発話であってもよいし、複数の発話であってもよい。対話システム100の提示部50が複数の人型ロボットで構成される場合は、発話決定部30は第二発話を提示する人型ロボットを決定してもよく、その場合、第二発話の内容を表すテキストと共に第二発話を提示する人型ロボットを表す情報を出力する。また、発話決定部30は第二発話を提示する相手を決定してもよく、その場合、第二発話の内容を表すテキストと共に第二発話を提示する相手を表す情報を出力する。
In step S <b> 3, the
発話決定部30は、第二発話の内容を表すテキストを、発話決定部30内の図示しない記憶部に記憶されたシナリオのうちの、第一発話と同一のシナリオに含まれる発話文のうち、質問後発話の内容を表すテキスト、すなわち、質問より後の発話文のテキスト、から生成する。発話決定部30は、生成に際しては、第一発話の内容を表すテキストおよびユーザの発話内容を表すテキストに応じて、第二発話の内容を表すテキストを生成する方法を選択する。具体的には、発話決定部30は、以下の方法から、第二発話の内容を表すテキストを生成する方法を選択する。
The
1.発話決定部30は、第一発話の内容を表すテキストが、ある話題に関する任意の情報を問う質問であり、ユーザの発話内容を表すテキストが、質問後発話の内容を表すテキストの少なくとも一部を含んでいる場合、質問後発話の内容を表すテキストからその部分の全部または一部を省略したものを、第二発話の内容を表すテキストとして生成する。
1. In the
2.発話決定部30は、第一発話の内容を表すテキストが、ある話題に関して特定の単語クラスに属する任意の情報を問う質問である場合、ユーザの発話内容を表すテキストが、その単語クラスに属する情報を含んでいるか否かを判定して、発話決定部30内の図示しない記憶部に記憶された発話文、すなわち、あらかじめ定めた発話文から選択した追加発話の内容を表すテキストを質問後発話の内容を表すテキストに追加したものを、第二発話の内容を表すテキストとして生成する。追加発話の内容を表すテキストは、ユーザの発話内容を表すテキストから、質問後発話の内容を表すテキストへ話題を遷移させる内容を表すものである。
2. When the text representing the content of the first utterance is a question asking any information belonging to a specific word class regarding a certain topic, the
例えば、ユーザの発話内容を表すテキストが、その単語クラスに属する情報を含んでいる場合、「あれはいいね」「そう言えば」などのようにユーザに同調する追加発話の内容を表すテキストと、質問後発話の内容を表すテキストとを決定する。また、例えば、ユーザの発話内容を表すテキストが、その単語クラスに属する情報を含んでいない場合、第一発話を提示した人型ロボットとは異なる人型ロボットが提示するための、その単語クラスに属する情報を含む追加発話の内容を表すテキストと、質問後発話の内容を表すテキストとを決定する。 For example, if the text representing the utterance content of the user includes information belonging to the word class, the text representing the content of the additional utterance synchronized with the user, such as “That ’s good” or “That ’s right” The text representing the content of the utterance after the question is determined. Also, for example, when the text representing the user's utterance content does not include information belonging to the word class, the word class for presentation by a humanoid robot different from the humanoid robot that presented the first utterance The text representing the content of the additional utterance including the belonging information and the text representing the content of the post-question utterance are determined.
3.発話決定部30は、第一発話の内容を表すテキストが、ある知識を問う(すなわち、正解が存在する)質問である場合、ユーザの発話内容を表すテキストが、その正解を含んでいるか否か、もし正解を含んでいない場合は正解と同じ単語クラスに属する情報を含んでいるか否かを判定して、発話決定部30内の図示しない記憶部に記憶された発話文、すなわち、あらかじめ定めた発話文から選択した追加発話の内容を表すテキストを質問後発話の内容を表すテキストに追加したものを、第二発話の内容を表すテキストとして生成する。追加発話の内容を表すテキストは、ユーザの発話内容を表すテキストから、質問後発話の内容を表すテキストへ話題を遷移させる内容を表すものである。
3. When the text representing the content of the first utterance is a question asking a certain knowledge (that is, there is a correct answer), the
例えば、ユーザの発話内容を表すテキストが、質問の正解を含んでいる場合、第一発話を提示した人型ロボットが提示するための、「そう!」「よくわかったね!」など正解であることを表す追加発話の内容を表すテキストと、質問後発話の内容を表すテキストとを決定する。また、ユーザの発話内容を表すテキストが、正解ではないが正解と同じ単語クラスに属する情報を含んでいる場合、第一発話を提示した人型ロボットが提示するための、「ううん!」「違うよ!」など不正解であることを表す追加発話の内容を表すテキストと、質問後発話の内容を表すテキストとを決定する。 For example, if the text describing the user's utterance content contains the correct answer to the question, the correct answer such as “Yes!” Or “I understand well!” For the humanoid robot that presented the first utterance. And a text representing the content of the additional utterance representing the text and a text representing the content of the post-question utterance. In addition, when the text representing the user's utterance content includes information that is not the correct answer but belongs to the same word class as the correct answer, “Yes!” “No” for the humanoid robot that presented the first utterance to present. The text indicating the content of the additional utterance indicating the incorrect answer such as “Yo!” And the text indicating the content of the utterance after the question are determined.
さらに、例えば、ユーザの発話内容を表すテキストが、正解と同じ単語クラスに属する情報を含む場合、第一発話を提示した人型ロボットとは異なる人型ロボットが提示するための、不正解の情報を含む追加発話の内容を表すテキストと、質問後発話の内容を表すテキストとを決定する。また、ユーザの発話内容を表すテキストが、正解と同じ単語クラスに属する情報を含まない場合、第一発話を提示した人型ロボットとは異なる人型ロボットが提示するための、正解の情報を含む追加発話の内容を表すテキストと、質問後発話の内容を表すテキストとを決定する。 Furthermore, for example, when the text representing the user's utterance content includes information belonging to the same word class as the correct answer, the incorrect answer information to be presented by a humanoid robot different from the humanoid robot that presented the first utterance The text representing the content of the additional utterance including the text and the text representing the content of the post-question utterance are determined. In addition, when the text representing the user's utterance content does not include information belonging to the same word class as the correct answer, it includes correct information for presentation by a humanoid robot different from the humanoid robot that presented the first utterance. A text representing the content of the additional utterance and a text representing the content of the post-question utterance are determined.
ステップS4において、音声合成部40は、発話決定部30が出力した第二発話の内容を表すテキストを音声合成し、第二発話の内容を表す音声を生成し、人型ロボット50−1が備えるスピーカ51−1または人型ロボット50−2が備えるスピーカ51−2から出力する、すなわち、第二発話を提示する。発話決定部30から第二発話の内容を表すテキストと共に第二発話を提示する人型ロボットを表す情報が入力された場合、音声合成部40は、当該情報に対応する人型ロボット50が備えるスピーカ51から当該第二発話の内容を表す音声を出力する。発話決定部30から第二発話の内容を表すテキストと共に第二発話を提示する相手を表す情報が入力された場合、提示部50は、当該情報に対応する相手のいる方向へ人型ロボット50の顔もしくは体全体を向けて当該第二発話の内容を表す音声を出力する。なお、図2では、ステップS4において第二発話を提示するように記載されているが、第二発話に複数の発話が含まれる場合(例えば、追加発話と質問後発話とを含むような場合)には、ステップS4の内容が複数のサブステップにより実行される。
In step S4, the
以降、対話システムは第二発話の内容を話題とした発話を行うことで、ユーザとの対話を続行する。例えば、質問後発話がシナリオ対話システムにおいて用いられている技術により選択したシナリオの途中の発話である場合には、そのシナリオに沿った対話がユーザと対話システムとの間で実行されるように、対話システムはシナリオ対話システムにおいて用いられている技術により決定したシナリオ発話の発話内容を表す音声をスピーカから出力する。また、例えば、質問後発話がシナリオ対話システムにおいて用いられている技術により選択したシナリオの最後の発話である場合には、ユーザの発話に基づいて雑談対話システムにおいて用いられている技術により決定した雑談発話の発話内容を表す音声をスピーカから出力する。以降の発話を提示する人型ロボットは、何れか一台の人型ロボットであってもよいし、複数台の人型ロボットであってもよい。 Thereafter, the dialogue system continues the dialogue with the user by performing the utterance with the content of the second utterance as a topic. For example, when the post-question utterance is an utterance in the middle of the scenario selected by the technology used in the scenario dialogue system, the dialogue according to the scenario is executed between the user and the dialogue system. The dialogue system outputs a voice representing the utterance content of the scenario utterance determined by the technology used in the scenario dialogue system from the speaker. Also, for example, when the post-question utterance is the last utterance of the scenario selected by the technique used in the scenario dialogue system, the chat decided by the technique used in the chat dialogue system based on the user's utterance A voice representing the utterance content of the utterance is output from the speaker. The humanoid robot that presents the subsequent utterances may be any one humanoid robot or a plurality of humanoid robots.
[具体例]
以下、実施形態の対話システムによる対話内容の具体例を示す。以降の具体例の記載では、Rはロボットを表し、Hはユーザを表す。Rの後の数字は人型ロボットの識別子である。t(i)(i=0, 1, 2, …)は対話中の発話を表し、iは発話の順番を表す数字である。発話中の括弧に囲まれた部分は発話を省略することを表す。
[Concrete example]
Hereinafter, specific examples of dialogue contents by the dialogue system of the embodiment will be shown. In the following description of specific examples, R represents a robot and H represents a user. The number after R is the identifier of the humanoid robot. t (i) (i = 0, 1, 2,...) represents an utterance during conversation, and i is a number representing the order of utterances. The part enclosed in parentheses during utterance represents omitting the utterance.
(具体例1−1)
具体例1−1は、ある話題に関する任意の情報を問う質問を含む第一発話を提示した後に、質問後発話からユーザ発話に含まれる情報の一部を省略した第二発話を提示する例である。
t(1) R1:ねぇ、○○県でね
t(2) H:うん?
t(3) R1:輸送機の話しってる?
t(4) H:あぁ、△△市の
t(5) R2:そう、(△△市なんだけど、)訓練中に墜落・大破して二人ケガしたんだって
t(6) R1:こわいねぇ
(Specific Example 1-1)
Specific example 1-1 is an example in which after presenting a first utterance including a question asking about arbitrary information regarding a certain topic, a second utterance in which a part of information included in the user utterance is omitted from the post-question utterance is presented. is there.
t (1) R1: Hey, in XX prefecture
t (2) H: Yeah?
t (3) R1: Are you talking about transport aircraft?
t (4) H: Ah, △△ of the city
t (5) R2: (Yes, it ’s a city), but crashed and wrecked during training and two people were injured
t (6) R1: scary
この例では、まず、対話システム100は、上記の文章Aの話題に関する第一発話t(1), t(3)を提示する。この際、第一発話t(1)と第一発話t(3)の間でユーザが発話することにより、第一発話t(1)と第一発話t(3)の間にユーザ発話t(2)が含まれてしまってもよい。次に、対話システム100は、第一発話の最後の発話である文章Aの話題に関する任意の情報を問う質問である第一発話t(3)に対するユーザの発話であるユーザ発話t(4)を取得する。次に、対話システム100は、ユーザ発話t(4)に「△△市」の情報が含まれているため、質問後発話から「△△市なんだけど、」の部分を省略した第二発話t(5)を提示する。これにより、ユーザが発話した前提の知識である「△△市」に関して重複して発話することがなく、冗長な印象を与えることを回避することができる。 In this example, first, the dialogue system 100 presents the first utterances t (1) and t (3) related to the topic of the sentence A. At this time, when the user utters between the first utterance t (1) and the first utterance t (3), the user utterance t (1) and the first utterance t (3) 2) may be included. Next, the dialogue system 100 determines a user utterance t (4) that is a user's utterance with respect to the first utterance t (3) that is a question asking any information about the topic of the sentence A that is the last utterance of the first utterance. get. Next, since the dialogue system 100 includes the information of “△△ city” in the user utterance t (4), the second utterance t in which the part of “△△ city is what it is” is omitted from the utterance after the question. Present (5). Thereby, it is possible to avoid giving redundant impressions with respect to “ΔΔ city”, which is the premise knowledge spoken by the user, and avoiding redundant impressions.
(具体例1−2)
具体例1−2は、ある話題に関する任意の情報を問う質問を含む第一発話を提示した後に、質問後発話からユーザ発話に含まれる情報の一部を省略した第二発話を提示する例である。
t(1) R1:ねぇ、○○県でね
t(2) H:うん?
t(3) R1:輸送機の話しってる?
t(4) H:あぁ、墜落したんでしょ
t(5) R2:そう、△△市なんだけど、訓練中に(墜落・)大破して二人ケガしたんだって
t(6) R1:こわいねぇ
(Specific example 1-2)
Specific example 1-2 is an example in which after presenting a first utterance including a question asking about arbitrary information related to a certain topic, a second utterance in which a part of information included in the user utterance is omitted from the post-question utterance is presented. is there.
t (1) R1: Hey, in XX prefecture
t (2) H: Yeah?
t (3) R1: Are you talking about transport aircraft?
t (4) H: Oh, you've crashed
t (5) R2: Yes, it ’s a △ city, but during the training, it crashed and two people were injured.
t (6) R1: scary
この例では、まず、対話システム100は、上記の文章Aの話題に関する任意の情報を問う第一発話t(1), t(3)を提示する。この際、第一発話t(1)と第一発話t(3)の間でユーザが発話することにより、第一発話t(1)と第一発話t(3)の間にユーザ発話t(2)が含まれてしまってもよい。次に、対話システム100は、第一発話の最後の発話である文章Aの話題に関する任意の情報を問う質問である第一発話t(3)に対するユーザの発話であるユーザ発話t(4)を取得する。次に、対話システム100は、ユーザ発話t(4)に「墜落」の情報が含まれているため、質問後発話から「墜落・」の部分を省略した第二発話t(5)を提示する。 In this example, first, the dialogue system 100 presents first utterances t (1) and t (3) asking for arbitrary information related to the topic of the sentence A. At this time, when the user utters between the first utterance t (1) and the first utterance t (3), the user utterance t (1) and the first utterance t (3) 2) may be included. Next, the dialogue system 100 determines a user utterance t (4) that is a user's utterance with respect to the first utterance t (3) that is a question asking any information about the topic of the sentence A that is the last utterance of the first utterance. get. Next, the dialogue system 100 presents the second utterance t (5) in which the “falling” part is omitted from the post-question utterance because the user utterance t (4) includes the information “falling”. .
(具体例2−1)
具体例2−1は、ある話題に関する特定の単語クラスに属する任意の情報を問う質問である第一発話を提示した後に、ユーザ発話がその単語クラスに属する情報を含む発話であると判定して、ユーザに同調する旨の追加発話と、追加発話より後の質問後発話とを含む第二発話を提示する例である。
t(1) R1:最近映画どれみた?
t(2) H:□□□をみたよ
t(3) R2:あれ人気だよね
t(4) R1:そう言えば、×××が第一位に決定したね
t(5) R2:そうそう、すごいよね
(Specific example 2-1)
Specific example 2-1 determines that a user utterance is an utterance including information belonging to the word class after presenting a first utterance that is a question asking about arbitrary information belonging to a specific word class regarding a certain topic. This is an example of presenting a second utterance including an additional utterance to synchronize with the user and a post-question utterance after the additional utterance.
t (1) R1: How many movies have you seen recently?
t (2) H: I saw □□□
t (3) R2: That's popular
t (4) R1: Speaking of which, XXX has been decided as the first place
t (5) R2: Yeah, awesome
この例では、まず、対話システム100は、上記の文章Bの話題に関して映画名のクラスに属する単語をユーザが発話することが予測できる質問である第一発話t(1)を提示する。次に、対話システム100は、第一発話t(1)に対するユーザの発話であるユーザ発話t(2)を取得する。次に、対話システム100は、ユーザ発話t(2)に「□□□」という映画名が含まれているため、「あれ人気だよね」のようにユーザに同調する旨の追加発話t(3)を提示する。さらに、対話システム100は、「そう言えば」のように話題を遷移させる内容を追加した質問後発話t(4)を提示する。これにより、ユーザが発話した映画名がどのようなものであっても同じ話題へ復帰させることができ、かつ、ユーザが自分の発話が無視されたと感じることを回避することができる。 In this example, first, the dialogue system 100 presents the first utterance t (1), which is a question that can predict that the user utters a word belonging to the movie name class regarding the topic of the sentence B. Next, the dialogue system 100 acquires a user utterance t (2) that is a user's utterance for the first utterance t (1). Next, since the movie name “□□□” is included in the user utterance t (2), the dialogue system 100 adds an additional utterance t (3) indicating that the user tunes to the user like “That ’s popular”. ). Furthermore, the dialogue system 100 presents the post-question utterance t (4) to which the content of transition of the topic is added as “speaking so”. This makes it possible to return to the same topic regardless of the movie name spoken by the user, and to prevent the user from feeling that his / her utterance has been ignored.
(具体例2−2)
具体例2−2は、ある話題に関する特定の単語クラスに属する任意の情報を問う質問である第一発話を提示した後に、ユーザ発話がその単語クラスに属する情報を含まない発話であると判定して、単語クラスに属する情報を含む追加発話と、追加発話より後の質問後発話とを含む第二発話を提示する例である。
t(1) R1:最近映画どれみた?
t(2) H:最近映画みてないな
t(3) R2:ぼくは□□□をみたよ
t(4) R1:あれ人気だよね。そう言えば、×××が第一位に決定したね
t(5) R2:そうそう、すごいよね
(Specific example 2-2)
Specific example 2-2 determines that the user utterance is an utterance that does not include information belonging to the word class after presenting the first utterance that is a question asking about arbitrary information belonging to a specific word class related to a certain topic. This is an example in which a second utterance including an additional utterance including information belonging to the word class and a post-question utterance after the additional utterance is presented.
t (1) R1: How many movies have you seen recently?
t (2) H: I haven't seen a movie recently
t (3) R2: I saw □□□
t (4) R1: That's popular. Speaking of which, XXX was the first place
t (5) R2: Yeah, awesome
この例では、まず、対話システム100は、上記の文章Bの話題に関して映画名のクラスに属する単語をユーザが発話することが予測できる質問である第一発話t(1)を提示する。次に、対話システム100は、第一発話t(1)に対するユーザの発話であるユーザ発話t(2)を取得する。次に、対話システム100は、ユーザ発話t(2)に映画名が含まれていないため、質問t(1)を提示した人型ロボットR1以外の人型ロボットR2が「□□□」という映画名を含む追加発話t(3)を提示する。さらに、対話システム100は、追加発話t(3)に関する質問後発話t(4), t(5)を人型ロボット同士で提示することで、元の話題へ復帰させている。 In this example, first, the dialogue system 100 presents the first utterance t (1), which is a question that can predict that the user utters a word belonging to the movie name class regarding the topic of the sentence B. Next, the dialogue system 100 acquires a user utterance t (2) that is a user's utterance for the first utterance t (1). Next, since the dialogue system 100 does not include the movie name in the user utterance t (2), the humanoid robot R2 other than the humanoid robot R1 that has presented the question t (1) has a movie “□□□”. An additional utterance t (3) including the name is presented. Furthermore, the dialogue system 100 returns the original topic by presenting post-question utterances t (4) and t (5) regarding the additional utterance t (3) between the humanoid robots.
(具体例3−1)
具体例3−1は、正解が存在する質問である第一発話を提示した後に、ユーザ発話がその正解を含む発話であると判定して、不正解を含む追加発話と、追加発話より後の質問後発話とを含む第二発話を提示する例である。
t(1) R1:最近今年の日本の映画トップテンが発表されたんだけど、何だか知ってる?
t(2) H:×××でしょ
t(3) R2:□□□かな?
t(4) R1:正解は×××でした!第一位に決定したんだよ
t(5) R2:へぇ、すごいね
(Specific example 3-1)
In specific example 3-1, after presenting the first utterance which is a question with a correct answer, it is determined that the user utterance is an utterance including the correct answer, an additional utterance including an incorrect answer, and an additional utterance after the additional utterance. It is an example which shows the 2nd utterance containing the utterance after a question.
t (1) R1: Recently, this year's Japanese movie top ten was announced, do you know what?
t (2) H: XXX
t (3) R2: Is it □□□?
t (4) R1: The correct answer was XXX! I decided on the first place
t (5) R2: Hey, amazing
この例では、まず、対話システム100は、上記の文章Bの話題に関して日本の映画ベストテンに決定した映画名を問う質問である第一発話t(1)を提示する。次に、対話システム100は、第一発話t(1)に対するユーザの発話であるユーザ発話t(2)を取得する。次に、対話システム100は、ユーザ発話t(2)に「×××」という正解の映画名が含まれているため、第一発話t(1)を提示した人型ロボットR1以外の人型ロボットR2から「□□□」という不正解の映画名を含む追加発話t(3)を提示する。さらに、対話システム100は、追加発話t(3)に関する質問後発話t(4), t(5)を人型ロボット同士で提示することで、元の話題へ復帰させている。正解を含むユーザ発話t(2)の直後に正解を明かす質問後発話t(4)を提示すると、ユーザは自分の発話t(2)が無視されたような印象を受けるため、これを回避するために、あえて不正解の追加発話t(3)を人型ロボットR2により提示する。 In this example, first, the dialogue system 100 presents a first utterance t (1), which is a question asking a movie name determined as a Japanese movie best ten on the topic of the sentence B. Next, the dialogue system 100 acquires a user utterance t (2) that is a user's utterance for the first utterance t (1). Next, since the correct utterance name “xxx” is included in the user utterance t (2), the dialogue system 100 has a human type other than the humanoid robot R1 that presented the first utterance t (1). An additional utterance t (3) including an incorrect movie name “□□□” is presented from the robot R2. Furthermore, the dialogue system 100 returns the original topic by presenting post-question utterances t (4) and t (5) regarding the additional utterance t (3) between the humanoid robots. If you present a post-question utterance t (4) that reveals the correct answer immediately after the user's utterance t (2), including the correct answer, the user will get the impression that his utterance t (2) was ignored, so avoid this Therefore, the additional utterance t (3) of the incorrect answer is presented by the humanoid robot R2.
(具体例3−2)
具体例3−2は、正解が存在する質問である第一発話を提示した後に、ユーザ発話がその正解を含まない発話であると判定して、正解と同じ単語クラスを含む追加発話と、追加発話より後の質問後発話とを含む第二発話を提示する例である。
t(1) R1:最近今年の日本の映画ベストテンが発表されたんだけど、何だか知ってる?
t(2) H:□□□でしょ
t(3) R2:□□□かな?
t(4) R1:正解は×××でした!第一位に決定したんだよ
t(5) R2:へぇ、すごいね
(Specific Example 3-2)
Specific Example 3-2 shows that after presenting the first utterance that is a question with a correct answer, it is determined that the user utterance is an utterance that does not include the correct answer, and an additional utterance including the same word class as the correct answer is added. It is an example which presents the 2nd utterance including the utterance after the question after the utterance.
t (1) R1: Recently this year's Japanese movie Best Ten was announced, do you know what?
t (2) H: □□□
t (3) R2: Is it □□□?
t (4) R1: The correct answer was XXX! I decided on the first place
t (5) R2: Hey, amazing
この例では、まず、対話システム100は、上記の文章Bの話題に関して日本の映画ベストテンに決定した映画名を問う質問である第一発話t(1)を提示する。次に、対話システム100は、第一発話t(1)に対するユーザの発話であるユーザ発話t(2)を取得する。次に、対話システム100は、ユーザ発話t(2)に「□□□」という不正解の映画名が含まれているため、第一発話t(1)を提示した人型ロボットR1以外の人型ロボットR2から「□□□」という不正解の映画名を含む追加発話t(3)を提示する。さらに、対話システム100は、追加発話t(3)に関する質問後発話t(4), t(5)を人型ロボット同士で提示することで、元の話題へ復帰させている。この場合、人型ロボットR2の追加発話t(3)は、映画名の単語クラスに属するものであれば、正解でも不正解でもよい。 In this example, first, the dialogue system 100 presents a first utterance t (1), which is a question asking a movie name determined as a Japanese movie best ten on the topic of the sentence B. Next, the dialogue system 100 acquires a user utterance t (2) that is a user's utterance for the first utterance t (1). Next, since the user's utterance t (2) includes an incorrect movie name “□□□” in the dialogue system 100, a person other than the humanoid robot R1 who presented the first utterance t (1). The additional utterance t (3) including the incorrect movie name “□□□” is presented from the robot R2. Furthermore, the dialogue system 100 returns the original topic by presenting post-question utterances t (4) and t (5) regarding the additional utterance t (3) between the humanoid robots. In this case, the additional utterance t (3) of the humanoid robot R2 may be correct or incorrect as long as it belongs to the word class of the movie name.
(具体例3−3)
具体例3−3は、正解が存在する質問である第一発話を提示した後に、ユーザ発話がその正解を含まない発話であるが、正解と同じ単語クラスに属する情報を含む発話であると判定して、不正解であることを示す追加発話と、追加発話より後の質問後発話とを含む第二発話を提示する例である。
t(1) R1:最近今年の日本の映画ベストテンが発表されたんだけど、何だか知ってる?
t(2) H:□□□でしょ
t(3) R1:ううん、正解は×××でした!第一位に決定したんだよ
t(4) R2:へぇ、すごいね
(Specific Example 3-3)
Specific Example 3-3 determines that the user utterance is an utterance that does not include the correct answer after presenting the first utterance that is a question for which there is a correct answer, but that includes information belonging to the same word class as the correct answer. In this example, the second utterance including the additional utterance indicating the incorrect answer and the post-question utterance after the additional utterance is presented.
t (1) R1: Recently this year's Japanese movie Best Ten was announced, do you know what?
t (2) H: □□□
t (3) R1: Yes, the correct answer was XXX! I decided on the first place
t (4) R2: Hey, amazing
この例では、まず、対話システム100は、上記の文章Bの話題に関して日本の映画ベストテンに決定した映画名を問う質問である第一発話t(1)を提示する。次に、対話システム100は、第一発話t(1)に対するユーザの発話であるユーザ発話t(2)を取得する。次に、対話システム100は、ユーザ発話t(2)に「□□□」という不正解の映画名が含まれているため、第一発話t(1)を提示した人型ロボットR1から「ううん」のように不正解であることを表す追加発話を付加した上で、正解を明かす質問後発話t(3)を提示する。仮にユーザ発話t(2)に正解の映画名が含まれている場合には、「よくわかったね!」のように正解であることを表す追加発話を付加することで、正解を明かす質問後発話t(3)を提示しても冗長な印象を与えることを回避することができる。 In this example, first, the dialogue system 100 presents a first utterance t (1), which is a question asking a movie name determined as a Japanese movie best ten on the topic of the sentence B. Next, the dialogue system 100 acquires a user utterance t (2) that is a user's utterance for the first utterance t (1). Next, since the incorrect utterance movie name “□□□” is included in the user utterance t (2), the dialogue system 100 receives “Yeah” from the humanoid robot R1 that presented the first utterance t (1). After adding an additional utterance indicating that it is an incorrect answer such as “”, a post-question utterance t (3) that reveals the correct answer is presented. If the correct movie name is included in the user utterance t (2), an utterance after the question that reveals the correct answer is added by adding an additional utterance indicating that the answer is correct, such as "I understand well!" Even if t (3) is presented, a redundant impression can be avoided.
(具体例3−4)
具体例3−4は、正解が存在する質問である第一発話を提示した後に、ユーザ発話がその正解を含まない発話であり、正解と同じ単語クラスに属する情報も含まない発話であると判定して、正解と同じ単語クラスを含む追加発話と、追加発話より後の質問後発話とを含む第二発話を提示する例である。
t(1) R1:最近今年の日本の映画ベストテンが発表されたんだけど、何だか知ってる?
t(2) H:最近映画みてないから、わからないな
t(3) R2:□□□かな?
t(4) R1:正解は×××でした!第一位に決定したんだよ
t(5) R2:へぇ、すごいね
(Specific Example 3-4)
Specific example 3-4 determines that the user utterance is an utterance that does not include the correct answer after presentation of the first utterance that is a question with a correct answer, and does not include information that belongs to the same word class as the correct answer. In this example, the second utterance including the additional utterance including the same word class as the correct answer and the post-question utterance after the additional utterance is presented.
t (1) R1: Recently this year's Japanese movie Best Ten was announced, do you know what?
t (2) H: I don't know because I haven't seen a movie recently.
t (3) R2: Is it □□□?
t (4) R1: The correct answer was XXX! I decided on the first place
t (5) R2: Hey, amazing
この例では、まず、対話システム100は、上記の文章Bの話題に関して日本の映画ベストテンに決定した映画名を問う質問である第一発話t(1)を提示する。次に、対話システム100は、第一発話t(1)に対するユーザの発話であるユーザ発話t(2)を取得する。次に、対話システム100は、ユーザ発話t(2)に映画名の単語クラスに属する単語が含まれていないため、第一発話t(1)を提示した人型ロボットR1以外の人型ロボットR2から「□□□」という不正解の映画名を含む追加発話t(3)を提示する。さらに、対話システム100は、追加発話t(3)に関する質問後発話t(4), t(5)を人型ロボット同士で提示することで、元の話題へ復帰させている。人型ロボットR2が提示する追加発話t(3)は正解の映画名を含むものであってもよく、その場合には人型ロボットR1の発話に「そう!」のように正解であることを表す追加発話を付加すればよい。 In this example, first, the dialogue system 100 presents a first utterance t (1), which is a question asking a movie name determined as a Japanese movie best ten on the topic of the sentence B. Next, the dialogue system 100 acquires a user utterance t (2) that is a user's utterance for the first utterance t (1). Next, since the user utterance t (2) does not include a word belonging to the word class of the movie name, the dialogue system 100 has a humanoid robot R2 other than the humanoid robot R1 that presented the first utterance t (1). Presents an additional utterance t (3) that includes the incorrect movie name “□□□”. Furthermore, the dialogue system 100 returns the original topic by presenting post-question utterances t (4) and t (5) regarding the additional utterance t (3) between the humanoid robots. The additional utterance t (3) presented by the humanoid robot R2 may include the correct movie name, and in that case, the utterance of the humanoid robot R1 is correct as "Yes!" An additional utterance to represent may be added.
[変形例]
上述した実施形態では、エージェントとして人型ロボットを用いて音声による対話を行う例を説明したが、上述した実施形態の提示部は身体等を有する人型ロボットであっても、身体等を有さないロボットであってもよい。また、この発明の対話技術はこれらに限定されず、人型ロボットのように身体等の実体がなく、発声機構を備えないエージェントを用いて対話を行う形態とすることも可能である。そのような形態としては、例えば、コンピュータの画面上に表示されたエージェントを用いて対話を行う形態が挙げられる。より具体的には、「LINE」(登録商標)や「2ちゃんねる」(登録商標)のような、複数アカウントがテキストメッセージにより対話を行うグループチャットにおいて、ユーザのアカウントと対話装置のアカウントとが対話を行う形態に適用することも可能である。この形態では、エージェントを表示する画面を有するコンピュータは人の近傍にある必要があるが、当該コンピュータと対話装置とはインターネットなどのネットワークを介して接続されていてもよい。つまり、本対話システムは、人とロボットなどの話者同士が実際に向かい合って話す対話だけではなく、話者同士がネットワークを介してコミュニケーションを行う会話にも適用可能である。
[Modification]
In the above-described embodiment, an example in which a voice conversation is performed using a humanoid robot as an agent has been described. However, even if the presentation unit of the above-described embodiment is a humanoid robot having a body or the like, it has a body or the like. There may be no robot. In addition, the dialogue technique of the present invention is not limited to these, and it is also possible to adopt a form in which a dialogue is performed using an agent that does not have an entity such as a human body and does not have an utterance mechanism like a humanoid robot. As such a form, for example, a form in which dialogue is performed using an agent displayed on a computer screen can be cited. More specifically, in a group chat in which multiple accounts interact by text messages, such as “LINE” (registered trademark) and “2 channel” (registered trademark), the user's account and the dialog device account interact. It is also possible to apply to the form which performs. In this form, the computer having the screen for displaying the agent needs to be in the vicinity of the person, but the computer and the interactive device may be connected via a network such as the Internet. That is, this dialogue system can be applied not only to a dialogue in which speakers such as a person and a robot actually talk each other but also to a conversation in which the speakers communicate via a network.
変形例の対話システム200は、図3に示すように、例えば、一台の対話装置2からなる。変形例の対話装置2は、例えば、入力部10、音声認識部20、発話決定部30、および提示部50を備える。対話装置2は、例えば、マイクロホン11、スピーカ51を備えていてもよい。
As shown in FIG. 3, the interactive system 200 according to the modification includes, for example, a single
変形例の対話装置2は、例えば、スマートフォンやタブレットのようなモバイル端末、もしくはデスクトップ型やラップトップ型のパーソナルコンピュータなどの情報処理装置である。以下、対話装置2がスマートフォンであるものとして説明する。提示部50はスマートフォンが備える液晶ディスプレイである。この液晶ディスプレイにはチャットアプリケーションのウィンドウが表示され、ウィンドウ内にはグループチャットの対話内容が時系列に表示される。グループチャットとは、チャットにおいて複数のアカウントが互いにテキストメッセージを投稿し合い対話を展開する機能である。このグループチャットには、対話装置2が制御する仮想的な人格に対応する複数の仮想アカウントと、ユーザのアカウントとが参加しているものとする。すなわち、本変形例は、エージェントが、対話装置であるスマートフォンの液晶ディスプレイに表示された仮想アカウントである場合の一例である。ユーザはソフトウェアキーボードを用いてグループチャットのウィンドウ内に設けられた入力エリアである入力部10へ発話内容を入力し、自らのアカウントを通じてグループチャットへ投稿することができる。発話決定部30はユーザのアカウントからの投稿に基づいて対話装置2からの発話内容を決定し、各仮想アカウントを通じてグループチャットへ投稿する。なお、スマートフォンに搭載されたマイクロホン11と音声認識機能を用い、ユーザが発声により入力部10へ発話内容を入力する構成としてもよい。また、スマートフォンに搭載されたスピーカ51と音声合成機能を用い、各対話システムから得た発話内容を、各仮想アカウントに対応する音声でスピーカ51から出力する構成としてもよい。
The
以上、この発明の実施の形態について説明したが、具体的な構成は、これらの実施の形態に限られるものではなく、この発明の趣旨を逸脱しない範囲で適宜設計の変更等があっても、この発明に含まれることはいうまでもない。実施の形態において説明した各種の処理は、提示部が提示する発話順を除いて、記載の順に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。 As described above, the embodiments of the present invention have been described, but the specific configuration is not limited to these embodiments, and even if there is a design change or the like as appropriate without departing from the spirit of the present invention, Needless to say, it is included in this invention. The various processes described in the embodiments are not only executed in time series according to the order described, except for the utterance order presented by the presentation unit, but also in parallel according to the processing capability of the apparatus that executes the process or as necessary. Or may be performed individually.
[プログラム、記録媒体]
上記実施形態で説明した各装置における各種の処理機能をコンピュータによって実現する場合、各装置が有すべき機能の処理内容はプログラムによって記述される。そして、このプログラムをコンピュータで実行することにより、上記各装置における各種の処理機能がコンピュータ上で実現される。
[Program, recording medium]
When various processing functions in each device described in the above embodiment are realized by a computer, the processing contents of the functions that each device should have are described by a program. Then, by executing this program on a computer, various processing functions in each of the above devices are realized on the computer.
この処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、例えば、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリ等どのようなものでもよい。 The program describing the processing contents can be recorded on a computer-readable recording medium. As the computer-readable recording medium, for example, any recording medium such as a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory may be used.
また、このプログラムの流通は、例えば、そのプログラムを記録したDVD、CD-ROM等の可搬型記録媒体を販売、譲渡、貸与等することによって行う。さらに、このプログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することにより、このプログラムを流通させる構成としてもよい。 This program is distributed by selling, transferring, or lending a portable recording medium such as a DVD or CD-ROM in which the program is recorded. Furthermore, the program may be distributed by storing the program in a storage device of the server computer and transferring the program from the server computer to another computer via a network.
このようなプログラムを実行するコンピュータは、例えば、まず、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、一旦、自己の記憶装置に格納する。そして、処理の実行時、このコンピュータは、自己の記録媒体に格納されたプログラムを読み取り、読み取ったプログラムに従った処理を実行する。また、このプログラムの別の実行形態として、コンピュータが可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することとしてもよく、さらに、このコンピュータにサーバコンピュータからプログラムが転送されるたびに、逐次、受け取ったプログラムに従った処理を実行することとしてもよい。また、サーバコンピュータから、このコンピュータへのプログラムの転送は行わず、その実行指示と結果取得のみによって処理機能を実現する、いわゆるASP(Application Service Provider)型のサービスによって、上述の処理を実行する構成としてもよい。なお、本形態におけるプログラムには、電子計算機による処理の用に供する情報であってプログラムに準ずるもの(コンピュータに対する直接の指令ではないがコンピュータの処理を規定する性質を有するデータ等)を含むものとする。 A computer that executes such a program first stores, for example, a program recorded on a portable recording medium or a program transferred from a server computer in its own storage device. When executing the process, the computer reads a program stored in its own recording medium and executes a process according to the read program. As another execution form of the program, the computer may directly read the program from a portable recording medium and execute processing according to the program, and the program is transferred from the server computer to the computer. Each time, the processing according to the received program may be executed sequentially. A configuration in which the above-described processing is executed by a so-called ASP (Application Service Provider) type service that realizes a processing function only by an execution instruction and result acquisition without transferring a program from the server computer to the computer. It is good. Note that the program in this embodiment includes information that is used for processing by an electronic computer and that conforms to the program (data that is not a direct command to the computer but has a property that defines the processing of the computer).
また、この形態では、コンピュータ上で所定のプログラムを実行させることにより、本装置を構成することとしたが、これらの処理内容の少なくとも一部をハードウェア的に実現することとしてもよい。 In this embodiment, the present apparatus is configured by executing a predetermined program on a computer. However, at least a part of these processing contents may be realized by hardware.
1、2 発話装置
10 入力部
11 マイクロホン
20 音声認識部
30 発話決定部
40 音声合成部
50 提示部
51 スピーカ
100、200 対話システム
101 ユーザ
1, 2
Claims (12)
提示部が、上記第一発話を提示する第一提示ステップと、
入力部が、上記第一発話後に上記ユーザが発したユーザ発話を受け付ける発話受付ステップと、
上記提示部が、上記第一発話に関係する発話から、上記ユーザ発話の内容の少なくとも一部を省略した、上記第二発話を提示する第二提示ステップと、
を含む対話方法。 A dialogue method executed by a dialogue system for presenting a user with a first utterance that is a certain question and a second utterance that is an utterance related to the first utterance,
A first presentation step in which the presenting unit presents the first utterance;
An utterance receiving step in which the input unit receives a user utterance uttered by the user after the first utterance;
A second presentation step in which the presenting unit presents the second utterance in which at least a part of the content of the user utterance is omitted from the utterance related to the first utterance;
Interactive method including
提示部が、上記第一発話を提示する第一提示ステップと、
入力部が、上記第一発話後に上記ユーザが発したユーザ発話を受け付ける発話受付ステップと、
上記提示部が、上記ユーザ発話に上記単語クラスに属する単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話を提示する第二提示ステップと、
上記提示部が、上記第二発話を提示する第三提示ステップと、
を含む対話方法。 A dialogue method executed by a dialogue system that presents a user with a first utterance that is a question that utters a word belonging to a specific word class and a second utterance that is an utterance related to the first utterance,
A first presentation step in which the presenting unit presents the first utterance;
An utterance receiving step in which the input unit receives a user utterance uttered by the user after the first utterance;
A second presentation step in which the presenting unit presents an additional utterance selected from a predetermined utterance sentence according to whether or not the user utterance includes a word belonging to the word class;
A third presentation step in which the presenting unit presents the second utterance;
Interactive method including
提示部が、上記第一発話を提示する第一提示ステップと、
入力部が、上記第一発話後に上記ユーザが発したユーザ発話を受け付ける発話受付ステップと、
上記提示部が、上記ユーザ発話に上記知識を表す単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話を提示する第二提示ステップと、
上記提示部が、上記第二発話を提示する第三提示ステップと、
を含む対話方法。 A dialogue method executed by a dialogue system that presents to a user a first utterance that is a question asking a certain knowledge and a second utterance that is an utterance related to the first utterance,
A first presentation step in which the presenting unit presents the first utterance;
An utterance receiving step in which the input unit receives a user utterance uttered by the user after the first utterance;
A second presentation step in which the presenting unit presents an additional utterance selected from a predetermined utterance sentence according to whether or not the word representing the knowledge is included in the user utterance;
A third presentation step in which the presenting unit presents the second utterance;
Interactive method including
上記第二提示ステップは、上記ユーザ発話に上記知識を表す単語が含まれない場合に、上記ユーザ発話に上記知識を表す単語と同じ単語クラスに属する単語が含まれるか否かに応じて、上記追加発話を選択して提示する、
対話方法。 The dialogue method according to claim 3,
In the case where the user utterance does not include a word representing the knowledge, the second presentation step determines whether the user utterance includes a word belonging to the same word class as the word representing the knowledge. Select and present additional utterances,
How to interact.
上記第一発話後に上記ユーザが発したユーザ発話を受け付ける入力部と、
上記第一発話と、上記第一発話に関係する発話から、上記ユーザ発話の内容の少なくとも一部を省略した、上記第二発話と、を決定する発話決定部と、
上記第一発話を提示し、上記ユーザ発話を受け付けた後に上記第二発話を提示する提示部と、
を含む対話システム。 An interactive system for presenting a user with a first utterance that is a certain question and a second utterance that is an utterance related to the first utterance,
An input unit for receiving a user utterance uttered by the user after the first utterance;
An utterance determination unit for determining the second utterance, in which at least a part of the content of the user utterance is omitted from the utterance related to the first utterance and the first utterance;
Presenting the first utterance and presenting the second utterance after accepting the user utterance;
Interactive system including
上記第一発話後に上記ユーザが発したユーザ発話を受け付ける入力部と、
上記第一発話と、上記ユーザ発話に上記単語クラスに属する単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話と、上記第二発話と、を決定する発話決定部と、
上記第一発話を提示し、上記ユーザ発話を受け付けた後に上記追加発話を提示し、上記第二発話を提示する提示部と、
を含む対話システム。 An interactive system for presenting a user with a first utterance that is a question that utters a word belonging to a specific word class and a second utterance that is an utterance related to the first utterance,
An input unit for receiving a user utterance uttered by the user after the first utterance;
An utterance determination unit that determines an additional utterance selected from a predetermined utterance sentence and the second utterance according to whether the first utterance and a word belonging to the word class are included in the user utterance When,
Presenting the first utterance, presenting the additional utterance after accepting the user utterance, and presenting the second utterance;
Interactive system including
上記第一発話後に上記ユーザが発したユーザ発話を受け付ける入力部と、
上記第一発話と、上記ユーザ発話に上記知識を表す単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話と、上記第二発話と、を決定する発話決定部と、
上記第一発話を提示し、上記ユーザ発話を受け付けた後に上記追加発話を提示し、上記第二発話を提示する提示部と、
を含むシステム。 An interactive system for presenting a user with a first utterance that is a question asking a certain knowledge and a second utterance that is an utterance related to the first utterance,
An input unit for receiving a user utterance uttered by the user after the first utterance;
An utterance determination unit that determines the first utterance, an additional utterance selected from a predetermined utterance sentence, and the second utterance according to whether or not the word representing the knowledge is included in the user utterance; ,
Presenting the first utterance, presenting the additional utterance after accepting the user utterance, and presenting the second utterance;
Including system.
ある質問である第一発話と、上記第一発話に関係する発話から、上記第一発話後に上記ユーザが発したユーザ発話の内容の少なくとも一部を省略した、上記第二発話と、を決定する発話決定部
を含む対話装置。 An interactive device for determining an utterance to be presented by an interactive system including at least an input unit that receives a user's utterance and a presentation unit that presents the utterance,
A first utterance that is a certain question and an utterance related to the first utterance, and the second utterance in which at least a part of the content of the user utterance uttered by the user after the first utterance is omitted are determined. An interactive device that includes an utterance determination unit.
特定の単語クラスに属する単語を発話させる質問である第一発話と、上記ユーザ発話に上記単語クラスに属する単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話と、上記第二発話と、を決定する発話決定部
を含む対話装置。 An interactive device for determining an utterance to be presented by an interactive system including at least an input unit that receives a user's utterance and a presentation unit that presents the utterance,
A first utterance which is a question for uttering a word belonging to a specific word class, and an additional utterance selected from a predetermined utterance sentence according to whether or not the word belonging to the word class is included in the user utterance; An interactive device including the second utterance and an utterance determination unit for determining the second utterance.
ある知識を問う質問である第一発話と、上記ユーザ発話に上記知識を表す単語が含まれるか否かに応じて、あらかじめ定めた発話文から選択した追加発話と、上記第二発話と、を決定する発話決定部
を含む対話装置。 An interactive device for determining an utterance to be presented by an interactive system including at least an input unit that receives a user's utterance and a presentation unit that presents the utterance,
A first utterance which is a question asking a certain knowledge, an additional utterance selected from a predetermined utterance sentence according to whether or not the word representing the knowledge is included in the user utterance, and the second utterance An interactive device including an utterance determining unit for determining.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017046363A JP6610965B2 (en) | 2017-03-10 | 2017-03-10 | Dialogue method, dialogue system, dialogue apparatus, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017046363A JP6610965B2 (en) | 2017-03-10 | 2017-03-10 | Dialogue method, dialogue system, dialogue apparatus, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018151471A true JP2018151471A (en) | 2018-09-27 |
JP6610965B2 JP6610965B2 (en) | 2019-11-27 |
Family
ID=63681576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017046363A Active JP6610965B2 (en) | 2017-03-10 | 2017-03-10 | Dialogue method, dialogue system, dialogue apparatus, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6610965B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020070923A1 (en) * | 2018-10-05 | 2020-04-09 | 日本電信電話株式会社 | Dialogue device, method therefor, and program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002099404A (en) * | 2000-07-21 | 2002-04-05 | Matsushita Electric Ind Co Ltd | Dialogue control method and device |
JP2002169804A (en) * | 2000-12-01 | 2002-06-14 | Namco Ltd | Simulated conversation system, simulated conversation method, and information storage medium |
JP2003255991A (en) * | 2002-03-06 | 2003-09-10 | Sony Corp | Interactive control system, interactive control method, and robot apparatus |
JP2006039120A (en) * | 2004-07-26 | 2006-02-09 | Sony Corp | Interactive device and interactive method, program and recording medium |
-
2017
- 2017-03-10 JP JP2017046363A patent/JP6610965B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002099404A (en) * | 2000-07-21 | 2002-04-05 | Matsushita Electric Ind Co Ltd | Dialogue control method and device |
JP2002169804A (en) * | 2000-12-01 | 2002-06-14 | Namco Ltd | Simulated conversation system, simulated conversation method, and information storage medium |
JP2003255991A (en) * | 2002-03-06 | 2003-09-10 | Sony Corp | Interactive control system, interactive control method, and robot apparatus |
JP2006039120A (en) * | 2004-07-26 | 2006-02-09 | Sony Corp | Interactive device and interactive method, program and recording medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020070923A1 (en) * | 2018-10-05 | 2020-04-09 | 日本電信電話株式会社 | Dialogue device, method therefor, and program |
JPWO2020070923A1 (en) * | 2018-10-05 | 2021-10-28 | 日本電信電話株式会社 | Dialogue device, its method, and program |
JP7060106B2 (en) | 2018-10-05 | 2022-04-26 | 日本電信電話株式会社 | Dialogue device, its method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP6610965B2 (en) | 2019-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6719747B2 (en) | Interactive method, interactive system, interactive device, and program | |
JP6818280B2 (en) | Dialogue system, dialogue method, dialogue device, and program | |
US11183187B2 (en) | Dialog method, dialog system, dialog apparatus and program that gives impression that dialog system understands content of dialog | |
JP6719740B2 (en) | Interactive method, interactive system, interactive device, and program | |
JP6719741B2 (en) | Dialogue method, dialogue device, and program | |
JP6970413B2 (en) | Dialogue methods, dialogue systems, dialogue devices, and programs | |
WO2018163647A1 (en) | Dialogue method, dialogue system, dialogue device, and program | |
JP6699010B2 (en) | Dialogue method, dialogue system, dialogue device, and program | |
JP6667855B2 (en) | Acquisition method, generation method, their systems, and programs | |
US11354517B2 (en) | Dialogue method, dialogue system, dialogue apparatus and program | |
JP6682104B2 (en) | Dialogue method, dialogue system, dialogue device, and program | |
JP6601625B2 (en) | Dialogue method, dialogue system, dialogue apparatus, and program | |
JP6610965B2 (en) | Dialogue method, dialogue system, dialogue apparatus, and program | |
WO2017200077A1 (en) | Dialog method, dialog system, dialog device, and program | |
WO2017200075A1 (en) | Dialog method, dialog system, dialog scenario generation method, dialog scenario generation device, and program | |
WO2021064947A1 (en) | Interaction method, interaction system, interaction device, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170313 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180614 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20180614 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190411 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190416 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190529 |
|
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: 20191015 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20191016 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6610965 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |