JP2001188785A - Device and method for processing conversation and recording medium - Google Patents

Device and method for processing conversation and recording medium

Info

Publication number
JP2001188785A
JP2001188785A JP37576899A JP37576899A JP2001188785A JP 2001188785 A JP2001188785 A JP 2001188785A JP 37576899 A JP37576899 A JP 37576899A JP 37576899 A JP37576899 A JP 37576899A JP 2001188785 A JP2001188785 A JP 2001188785A
Authority
JP
Japan
Prior art keywords
topic
conversation
user
information
transition
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.)
Withdrawn
Application number
JP37576899A
Other languages
Japanese (ja)
Inventor
Takashi Toyoda
崇 豊田
Katsuki Minamino
活樹 南野
Hideki Shimomura
秀樹 下村
Osamu Hanagata
理 花形
Hiroki Saijo
弘樹 西條
Toshiya Ogura
稔也 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP37576899A priority Critical patent/JP2001188785A/en
Publication of JP2001188785A publication Critical patent/JP2001188785A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)
  • Toys (AREA)
  • Manipulator (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain natural topic transition. SOLUTION: For example, when conversation is started between a user and a robot in a step S1, a frame for a robot and a frame for a user are prepared by a control part in the robot. Items such as when, where, who, and what are set in those frames, and the conversation is progressed so that the set items can be filled. Those items are respectively managed by a value indicating the level of conversation, and the mean value of those values is calculated in a step S3. Then, whether or not the transition of the topic should be operated is judged based on the calculated value in a step S4, When it is judged that the transition of the topic should be operated, the transition of the topic is operated, and conversation related with the new topic is started.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は会話処理装置および
方法、並びに記録媒体に関し、特に、ユーザと会話を行
うロボットなどに用いて好適な会話処理装置および方
法、並びに記録媒体。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a conversation processing apparatus and method, and a recording medium, and more particularly to a conversation processing apparatus and method and a recording medium suitable for use in a robot or the like that has a conversation with a user.

【0002】[0002]

【従来の技術】従来より、玩具等として、タッチスイッ
チが押圧操作されると、合成音を出力するロボット(ぬ
いぐるみ状のものを含む)が数多く製品化されている。
2. Description of the Related Art Hitherto, as toys and the like, a large number of robots (including stuffed ones) that output a synthetic sound when a touch switch is pressed have been commercialized.

【0003】また、コンピュータとの定型的な会話方式
(タスクオリエンテッド)が用いられ、航空券の予約が
行なわれたり、旅行案内のサービスを提供するなどのサ
ービスがある。これは、予め決められたことを話すだけ
で、雑談を含む人間との自然な会話を行うものではなか
った。コンピュータと人間とが、雑談を含む自然な会話
を行うための試みとして、Eliza(James Allen:Natura
l Language Understanding,6乃至9頁などに開示され
ている)などの実験的なものがある。
[0003] In addition, a standard conversation system (task-oriented) with a computer is used, and there are services such as reservation of air tickets and provision of a travel guide service. This does not mean a natural conversation with a person, including a chat, only by talking about a predetermined matter. Eliza (James Allen: Natura) tried to make natural conversations, including chats, between computers and humans.
l Language Understanding, disclosed on pages 6-9).

【0004】[0004]

【発明が解決しようとする課題】上述したElizaなど
は、人間(ユーザ)とやりとりしている会話の内容は、
殆ど理解しておらず、換言すれば、オウム返し的な会話
しかできないので、ユーザは、すぐに飽きてしまうとい
った課題があった。
The above-mentioned Eliza and others describe that the contents of conversations with humans (users) are as follows.
He hardly understands, in other words, he can only talk back like a parrot, so that there is a problem that the user gets tired immediately.

【0005】ユーザが飽きないような、かつ自然な流れ
での会話を行うには、1つの話題を長々と話したり、逆
に、話題を次々と変えていったりといったことがないよ
うにすることが必要である。すなわち、自然な話題遷移
が、自然な会話を行うためには大切な要素となる。
[0005] In order for the user to have a conversation in a natural flow without getting tired, it is necessary to avoid talking one topic for a long time and conversely changing the topic one after another. It is necessary. That is, a natural topic transition is an important element for performing a natural conversation.

【0006】本発明はこのような状況に鑑みてなされた
ものであり、フレームという概念を用い、会話している
話題がどの程度話されたかを数値として算出し、その算
出された値に従って、話題を遷移させることにより、ユ
ーザとの会話を自然に行えるようにすることを目的とす
る。
The present invention has been made in view of such a situation, and uses a concept of a frame to calculate, as a numerical value, how much a talking topic is spoken, and calculates a topic according to the calculated value. The purpose of the present invention is to allow a conversation with the user to be performed naturally by causing the transition of.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の会話処
理装置は、ユーザと会話する第1の話題に関し、複数の
項目から構成されるフレームを生成する生成手段と、生
成手段により生成されたフレーム内の項目毎に、第1の
話題に関してユーザと会話した内容に基づいて所定の値
を設定する設定手段と、設定手段により設定された値の
平均値を算出する算出手段と、算出手段により算出され
た平均値に基づき、第2の話題に遷移するか否かを判断
する判断手段と、判断手段による判断の結果に基づい
て、第2の話題に遷移する遷移手段とを含むことを特徴
とする。
According to a first aspect of the present invention, there is provided a conversation processing apparatus for generating a frame composed of a plurality of items with respect to a first topic for conversation with a user. Setting means for setting a predetermined value for each item in the frame based on the content of the conversation with the user on the first topic, calculating means for calculating an average value set by the setting means, and calculating means A determination means for determining whether or not to transition to the second topic based on the average value calculated by the above, and a transition means for transitioning to the second topic based on the result of the determination by the determination means. Features.

【0008】前記項目は、いつ、どこで、だれが、どう
した、なぜのうち、少なくても1つを含み、設定手段
は、第1の話題に関してユーザと会話した内容に、項目
に当てはまるものがあった場合、その項目の値が所定量
だけ大きくなるように設定するようにすることができ
る。
[0008] The items include at least one of when, where, who, what, why, and the setting means is adapted to apply the item to the content of the conversation with the user on the first topic. If there is, the value of the item can be set so as to increase by a predetermined amount.

【0009】前記項目のうち、値が小さい項目を抽出す
る抽出手段と、抽出手段により抽出された項目につい
て、ユーザと会話を行うための文を作成する作成手段と
をさらに含むようにすることができる。
[0009] The information processing apparatus may further include an extracting means for extracting an item having a small value from the items, and a creating means for creating a sentence for conversation with a user for the item extracted by the extracting means. it can.

【0010】前記判断手段は、平均値と、話題を遷移す
る確率値とを用いて、話題を遷移するか否かを判断する
ようにすることができる。
[0010] The determining means may determine whether or not to change the topic by using the average value and the probability value of changing the topic.

【0011】前記判断手段は、平均値が閾値より大きい
と判断される場合、話題を遷移すると判断するようにす
ることができる。
When the average value is determined to be larger than the threshold value, the determining means may determine that the topic is to be changed.

【0012】前記会話は、音声または文字で行われるよ
うにすることができる。
[0012] The conversation may be conducted by voice or text.

【0013】ロボットに内蔵されるようにすることがで
きる。
The robot can be built in the robot.

【0014】請求項8に記載の会話処理方法は、ユーザ
と会話する第1の話題に関し、複数の項目から構成され
るフレームを生成する生成ステップと、生成ステップの
処理で生成されたフレーム内の項目毎に、第1の話題に
関してユーザと会話した内容に基づいて所定の値を設定
する設定ステップと、設定ステップの処理で設定された
値の平均値を算出する算出ステップと、算出ステップの
処理で算出された平均値に基づき、第2の話題に遷移す
るか否かを判断する判断ステップと、判断ステップの処
理による判断の結果に基づいて、第2の話題に遷移する
遷移ステップとを含むことを特徴とする。
[0014] In the conversation processing method according to the present invention, a generation step of generating a frame composed of a plurality of items with respect to a first topic for conversation with a user, A setting step of setting a predetermined value for each item based on the content of a conversation with the user on the first topic, a calculating step of calculating an average value set in the processing of the setting step, and a processing of the calculating step A determination step of determining whether or not to transition to the second topic based on the average value calculated in the step, and a transition step of transitioning to the second topic based on the result of the determination in the processing of the determination step. It is characterized by the following.

【0015】請求項9に記載の記録媒体のプログラム
は、ユーザと会話する第1の話題に関し、複数の項目か
ら構成されるフレームを生成する生成ステップと、生成
ステップの処理で生成されたフレーム内の項目毎に、第
1の話題に関してユーザと会話した内容に基づいて値を
設定する設定ステップと、設定ステップの処理で設定さ
れた値の平均値を算出する算出ステップと、算出ステッ
プの処理で算出された平均値に基づき、第2の話題に遷
移するか否かを判断する判断ステップと、判断ステップ
の処理による判断の結果に基づいて、第2の話題に遷移
する遷移ステップとを含むことを特徴とする。
According to a ninth aspect of the present invention, a program for a recording medium according to the first aspect of the invention relates to a first topic for conversation with a user. A setting step of setting a value for each item based on the content of conversation with the user on the first topic, a calculating step of calculating an average value of the values set in the processing of the setting step, and a processing of the calculating step. A determination step of determining whether to transition to the second topic based on the calculated average value; and a transition step of transitioning to the second topic based on a result of the determination in the determination step. It is characterized by.

【0016】請求項1に記載の会話処理装置、請求項8
に記載の会話処理方法、および請求項9に記載の記録媒
体においては、第1の話題に関し、複数の項目から構成
されるフレームが生成され、生成されたフレーム内の項
目毎に、第1の話題に関してユーザと会話した内容に基
づく所定の値が設定され、その設定された値の平均値に
基づき、第2の話題に遷移するか否かが判断される。
[0016] The conversation processing apparatus according to claim 1, claim 8.
In the conversation processing method according to the first aspect and the recording medium according to the ninth aspect, a frame including a plurality of items is generated with respect to the first topic, and a first frame is generated for each item in the generated frame. A predetermined value is set based on the content of the conversation with the user regarding the topic, and it is determined whether or not to transition to the second topic based on the average value of the set values.

【0017】[0017]

【発明の実施の形態】図1は、本発明を適用したロボッ
トの一実施の形態の外観構成例を示しており、図2は、
その電気的構成例を示している。
FIG. 1 shows an example of the appearance of a robot according to an embodiment of the present invention, and FIG.
An example of the electrical configuration is shown.

【0018】本実施の形態では、ロボットは、犬形状の
ものとされており、胴体部ユニット2の前後左右に、そ
れぞれ脚部ユニット3A,3B,3C,3Dが連結され
るとともに、胴体部ユニット2の前端部と後端部に、そ
れぞれ頭部ユニット4と尻尾部ユニット5が連結される
ことにより構成されている。
In this embodiment, the robot has a dog shape, and leg units 3A, 3B, 3C, 3D are connected to the front, rear, left and right of the body unit 2, respectively. The head unit 4 and the tail unit 5 are connected to the front end and the rear end of the head unit 2, respectively.

【0019】尻尾部ユニット5は、胴体部ユニット2の
上面に設けられたベース部5Bから、2自由度をもって
湾曲または揺動自在に引き出されている。胴体部ユニッ
ト2には、ロボット全体の制御を行うコントローラ1
0、ロボットの動力源となるバッテリ11、並びにバッ
テリセンサ12および熱センサ13からなる内部センサ
部14などが収納されている。
The tail unit 5 is drawn out from a base 5B provided on the upper surface of the body unit 2 so as to bend or swing with two degrees of freedom. The body unit 2 includes a controller 1 for controlling the entire robot.
0, a battery 11 serving as a power source of the robot, and an internal sensor unit 14 including a battery sensor 12 and a heat sensor 13 are housed.

【0020】頭部ユニット4には、「耳」に相当するマ
イク(マイクロフォン)15、「目」に相当するCCD(Ch
arge Coupled Device)カメラ16、触覚に相当するタッ
チセンサ17、「口」に相当するスピーカ18などが、
それぞれ所定位置に配設されている。
The head unit 4 includes a microphone (microphone) 15 corresponding to “ears” and a CCD (Ch) corresponding to “eyes”.
arge Coupled Device) camera 16, touch sensor 17 corresponding to tactile sensation, speaker 18 corresponding to "mouth", and the like.
Each is arranged at a predetermined position.

【0021】脚部ユニット3A乃至3Dそれぞれの関節
部分や、脚部ユニット3A乃至3Dそれぞれと胴体部ユ
ニット2の連結部分、頭部ユニット4と胴体部ユニット
2の連結部分、並びに尻尾部ユニット5と胴体部ユニッ
ト2の連結部分などには、図2に示すように、それぞれ
アクチュエータ3AA1乃至3AAK、3BA1乃至3B
K、3CA1乃至3CAK、3DA1乃至3DAK、4A1
乃至4AL、5A1および5A2が配設されており、これ
により、各連結部分は、所定の自由度をもって回転する
ことができるようになっている。
The joints of the leg units 3A to 3D, the joints of the leg units 3A to 3D and the body unit 2, the joints of the head unit 4 and the body unit 2, and the tail unit 5 etc. the coupling portion of the body unit 2, as shown in FIG. 2, the actuators 3AA 1 to 3AA K, respectively, 3BA 1 to 3B
A K , 3CA 1 to 3CA K , 3DA 1 to 3DA K , 4A 1
To 4A L, and 5A 1 and 5A 2 are arranged, whereby each coupling part is adapted to be able to rotate with a predetermined degree of freedom.

【0022】頭部ユニット4におけるマイク15は、ユ
ーザからの発話を含む周囲の音声(音)を集音し、得ら
れた音声信号を、コントローラ10に送出する。CCDカ
メラ16は、周囲の状況を撮像し、得られた画像信号
を、コントローラ10に送出する。
The microphone 15 in the head unit 4 collects surrounding sounds (sounds) including utterances from the user, and sends out the obtained sound signals to the controller 10. The CCD camera 16 captures an image of the surroundings and sends the obtained image signal to the controller 10.

【0023】タッチセンサ17は、例えば、頭部ユニッ
ト4の上部に設けられており、ユーザからの「なでる」
や「たたく」といった物理的な働きかけにより受けた圧
力を検出し、その検出結果を圧力検出信号としてコント
ローラ10に送出する。
The touch sensor 17 is provided, for example, on the upper part of the head unit 4 and “strokes” from the user.
It detects the pressure received by a physical action such as tapping or tapping, and sends the detection result to the controller 10 as a pressure detection signal.

【0024】胴体部ユニット2におけるバッテリセンサ
12は、バッテリ11の残量を検出し、その検出結果
を、バッテリ残量検出信号としてコントローラ10に送
出する。熱センサ13は、ロボット内部の熱を検出し、
その検出結果を、熱検出信号としてコントローラ10に
送出する。
The battery sensor 12 in the body unit 2 detects the remaining amount of the battery 11 and sends the detection result to the controller 10 as a battery remaining amount detection signal. The heat sensor 13 detects heat inside the robot,
The detection result is sent to the controller 10 as a heat detection signal.

【0025】コントローラ10は、CPU(Central Proces
sing Unit)10Aやメモリ10B等を内蔵しており、CP
U10Aにおいて、メモリ10Bに記憶された制御プロ
グラムが実行されることにより、各種の処理を行う。即
ち、コントローラ10は、マイク15や、CCDカメラ1
6、タッチセンサ17、バッテリセンサ12、熱センサ
13から与えられる音声信号、画像信号、圧力検出信
号、バッテリ残量検出信号、熱検出信号に基づいて、周
囲の状況や、ユーザからの指令、ユーザからの働きかけ
などの有無を判断する。
The controller 10 has a CPU (Central Processes).
sing Unit) 10A, memory 10B, etc.
In the U10A, various processes are performed by executing a control program stored in the memory 10B. That is, the controller 10 includes the microphone 15 and the CCD camera 1
6. Based on the sound signal, image signal, pressure detection signal, remaining battery level detection signal, and heat detection signal provided from the touch sensor 17, the battery sensor 12, and the heat sensor 13, the surrounding conditions, commands from the user, To determine if there is any action from

【0026】さらに、コントローラ10は、この判断結
果等に基づいて、続く行動を決定し、その決定結果に基
づいて、アクチュエータ3AA1乃至3AAK、3BA1
乃至3BAK、3CA1乃至3CAK、3DA1乃至3DA
K、4A1乃至4AL、5A1、5A2のうちの必要なもの
を駆動させ、これにより、頭部ユニット4を上下左右に
振らせたり、尻尾部ユニット5を動かせたり、各脚部ユ
ニット3A乃至3Dを駆動して、ロボットを歩行させる
などの行動を行わせる。
Furthermore, the controller 10, based on the determination results and the like, to determine the subsequent actions, based on the determination result, the actuators 3AA 1 to 3AA K, 3BA 1
To 3BA K, 3CA 1 to 3CA K, 3DA 1 to 3DA
K, 4A 1 to 4A L, 5A 1, to drive the necessary of 5A 2, thereby, or to shake the head unit 4 up and down and right and left, or to move the tail unit 5, the leg units By driving 3A to 3D, the robot performs an action such as walking.

【0027】また、コントローラ10は、必要に応じ
て、合成音を生成し、スピーカ18に供給して出力させ
たり、ロボットの「目」の位置に設けられた図示しない
LED(Light Emitting Diode)を点灯、消灯または点滅
させる。
The controller 10 generates a synthesized sound as required, and supplies the synthesized sound to the speaker 18 for output, or a not-shown provided at the position of the "eye" of the robot.
Turns on, off or blinks the LED (Light Emitting Diode).

【0028】以上のようにして、ロボットは、周囲の状
況等に基づいて自律的に行動をとることができるように
なっている。
As described above, the robot can take an autonomous action based on the surrounding situation and the like.

【0029】次に、図3は、図2のコントローラ10の
機能的構成例を示している。なお、図3に示す機能的構
成は、CPU10Aが、メモリ10Bに記憶された制御プ
ログラムを実行することで実現されるようになってい
る。
FIG. 3 shows an example of a functional configuration of the controller 10 shown in FIG. Note that the functional configuration illustrated in FIG. 3 is realized by the CPU 10A executing a control program stored in the memory 10B.

【0030】コントローラ10は、特定の外部状態を認
識するセンサ入力処理部31、センサ入力処理部31の
認識結果等を累積して、感情および本能の状態を表現す
る感情/本能モデル部32、センサ入力処理部31の認
識結果等に基づいて、続く行動を決定する行動決定機構
部33、行動決定機構部33の決定結果に基づいて、実
際にロボットに行動を起こさせる姿勢遷移機構部34、
各アクチュエータ3AA1乃至5A1および5A2を駆動
制御する制御機構部35、合成音を生成する音声合成部
36、並びに音声合成部36の出力を制御する音響処理
部37から構成されている。
The controller 10 includes a sensor input processing unit 31 for recognizing a specific external state, an emotion / instinct model unit 32 for accumulating the recognition results of the sensor input processing unit 31 and expressing the state of emotion and instinct, and a sensor. An action determining mechanism unit 33 that determines a subsequent action based on a recognition result of the input processing unit 31 and the like, a posture transition mechanism unit 34 that actually causes the robot to perform an action based on the determination result of the action determining mechanism unit 33,
Each actuator 3AA 1 to control mechanism 35 for driving and controlling the 5A 1 and 5A 2, and a sound processing unit 37 for controlling the output of the speech synthesizer 36, and speech synthesis unit 36 for generating a synthesized sound.

【0031】センサ入力処理部31は、マイク15や、
CCDカメラ16、タッチセンサ17等から与えられる音
声信号、画像信号、圧力検出信号等に基づいて、特定の
外部状態や、ユーザからの特定の働きかけ、ユーザから
の指示等を認識し、その認識結果を表す状態認識情報
を、感情/本能モデル部32および行動決定機構部33
に通知する。
The sensor input processing unit 31 includes a microphone 15,
Based on audio signals, image signals, pressure detection signals, and the like provided from the CCD camera 16, the touch sensor 17, and the like, a specific external state, a specific action from the user, an instruction from the user, and the like are recognized, and the recognition result is obtained. Is transmitted to the emotion / instinct model unit 32 and the action determination mechanism unit 33.
Notify.

【0032】即ち、センサ入力処理部31は、音声認識
部31Aを有しており、音声認識部31Aは、行動決定
機構部33からの制御にしたがい、マイク15から与え
られる音声信号を用いて、音声認識を行う。そして、音
声認識部31Aは、その音声認識結果としての、例え
ば、「歩け」、「伏せ」、「ボールを追いかけろ」等の
指令その他を、状態認識情報として、感情/本能モデル
部32および行動決定機構部33に通知する。
That is, the sensor input processing unit 31 has a voice recognition unit 31A. The voice recognition unit 31A uses a voice signal given from the microphone 15 in accordance with the control from the action determination mechanism unit 33. Perform voice recognition. Then, the speech recognition unit 31A uses the emotion / instinct model unit 32 and the action determination as instructions on the result of the speech recognition, such as “walk”, “down”, “follow the ball” and the like as state recognition information. Notify the mechanism unit 33.

【0033】音声認識部31Aは、また、音声認識を行
った認識結果を、会話処理部38にも出力する。これは、
後述するユーザとの会話を行うためである。
The speech recognition section 31A also outputs the result of the speech recognition to the conversation processing section 38. this is,
This is for conducting a conversation with a user to be described later.

【0034】また、センサ入力処理部31は、画像認識
部31Bを有しており、画像認識部31Bは、CCDカメ
ラ16から与えられる画像信号を用いて、画像認識処理
を行う。そして、画像認識部31Bは、その処理の結
果、例えば、「赤い丸いもの」や、「地面に対して垂直
なかつ所定高さ以上の平面」等を検出したときには、
「ボールがある」や、「壁がある」等の画像認識結果
を、状態認識情報として、感情/本能モデル部32およ
び行動決定機構部33に通知する。
The sensor input processing section 31 has an image recognizing section 31B. The image recognizing section 31B performs an image recognizing process using an image signal supplied from the CCD camera 16. When the image recognition unit 31B detects, for example, a “red round object” or a “plane that is perpendicular to the ground and equal to or more than a predetermined height” as a result of the processing,
Image recognition results such as "there is a ball" and "there is a wall" are notified to the emotion / instinct model unit 32 and the action determination mechanism unit 33 as state recognition information.

【0035】さらに、センサ入力処理部31は、圧力処
理部31Cを有しており、圧力処理部31Cは、タッチ
センサ17から与えられる圧力検出信号を処理する。そ
して、圧力処理部31Cは、その処理の結果、所定の閾
値以上で、かつ短時間の圧力を検出したときには、「た
たかれた(しかられた)」と認識し、所定の閾値未満
で、かつ長時間の圧力を検出したときには、「なでられ
た(ほめられた)」と認識して、その認識結果を、状態
認識情報として、感情/本能モデル部32および行動決
定機構部33に通知する。
Further, the sensor input processing section 31 has a pressure processing section 31C, and the pressure processing section 31C processes a pressure detection signal given from the touch sensor 17. Then, as a result of the processing, when detecting a pressure that is equal to or more than a predetermined threshold value and for a short period of time, the pressure processing unit 31C recognizes that “hit (struck)”, and if the pressure is less than the predetermined threshold value, When a long-term pressure is detected, it is recognized as “patched (complained)”, and the recognition result is notified to the emotion / instinct model unit 32 and the action determination mechanism unit 33 as state recognition information. I do.

【0036】感情/本能モデル部32は、ロボットの感
情と本能の状態を表現する感情モデルと本能モデルをそ
れぞれ管理している。行動決定機構部33は、センサ入
力処理部31からの状態認識情報や、感情/本能モデル
部32からの感情/本能状態情報、時間経過等に基づい
て、次の行動を決定し、決定された行動の内容を行動指
令情報として、姿勢遷移機構部34に送出する。
The emotion / instinct model unit 32 manages an emotion model and an instinct model expressing the emotion of the robot and the state of the instinct. The action determining mechanism unit 33 determines the next action based on the state recognition information from the sensor input processing unit 31, the emotion / instinct state information from the emotion / instinct model unit 32, the passage of time, and the like. The contents of the action are sent to the attitude transition mechanism unit 34 as action command information.

【0037】姿勢遷移機構部34は、行動決定機構部3
3から供給される行動指令情報に基づいて、ロボットの
姿勢を、現在の姿勢から次の姿勢に遷移させるための姿
勢遷移情報を生成し、これを制御機構部35に出力す
る。制御機構部35は、姿勢遷移機構部34からの姿勢
遷移情報に従って、アクチュエータ3AA1乃至5A1
よび5A2を駆動するための制御信号を生成し、これを
アクチュエータ3AA1乃至5A1および5A2に送出す
る。これにより、アクチュエータ3AA1乃至5A1およ
び5A2は、制御信号に従って、駆動し、ロボットは、
自律的に行動を起こす。
The posture transition mechanism section 34 includes the action determination mechanism section 3
Based on the action command information supplied from 3, posture change information for changing the posture of the robot from the current posture to the next posture is generated and output to the control mechanism unit 35. Control mechanism unit 35 in accordance with the posture transition information from the attitude transition mechanism part 34 generates control signals for driving the actuators 3AA 1 to 5A 1 and 5A 2, which actuator 3AA 1 to 5A 1 and 5A 2 Send out. Thus, the actuator 3AA 1 to 5A 1 and 5A 2 in accordance with the control signal, to drive the robot,
Take action autonomously.

【0038】上述したような構成をもつことにより、ロ
ボット1は、動作すると共に、ユーザと会話することも
できる。会話を行うための音声会話システムは、音声認
識部31A、会話処理部38、音声合成部36、および
音響処理部37から構成される。
With the above-described configuration, the robot 1 can operate and also have a conversation with the user. The voice conversation system for performing a conversation includes a voice recognition unit 31A, a conversation processing unit 38, a voice synthesis unit 36, and a sound processing unit 37.

【0039】図4は、音声認識部31Aの詳細な構成を
示す図である。ユーザの発話は、マイク15に入力さ
れ、マイク15では、その発話が、電気信号としての音
声信号に変換される。この音声信号は、音声認識部31
AのAD(Analog Digital)変換部51に供給される。A
D変換部51では、マイク15からのアナログ信号であ
る音声信号がサンプリング、量子化され、デジタル信号
である音声データに変換される。この音声データは、特
徴抽出部52に供給される。
FIG. 4 is a diagram showing a detailed configuration of the speech recognition section 31A. The utterance of the user is input to the microphone 15, which converts the utterance into an audio signal as an electric signal. This voice signal is transmitted to the voice recognition unit 31
A is supplied to an AD (Analog Digital) converter 51 of A. A
In the D conversion unit 51, an audio signal as an analog signal from the microphone 15 is sampled, quantized, and converted into audio data as a digital signal. This audio data is supplied to the feature extraction unit 52.

【0040】特徴抽出部52は、AD変換部51からの
音声データについて、適当なフレームごとに、例えば、
スペクトルや、線形予測係数、ケプストラム係数、線ス
ペクトル対等の特徴パラメータを抽出し、特徴量バッフ
ァ53およびマッチング部54に供給する。特徴量バッ
ファ53では、特徴抽出部52からの特徴パラメータが
一時記憶される。
The feature extraction unit 52 determines, for each appropriate frame, the audio data from the AD conversion unit 51, for example,
A feature parameter such as a spectrum, a linear prediction coefficient, a cepstrum coefficient, and a line spectrum pair is extracted and supplied to a feature buffer 53 and a matching unit 54. In the feature buffer 53, the feature parameters from the feature extracting unit 52 are temporarily stored.

【0041】マッチング部54は、特徴抽出部52から
の特徴パラメータ、または特徴量バッファ53に記憶さ
れた特徴パラメータに基づき、音響モデルデータベース
55、辞書データベース56、および文法データベース
57を必要に応じて参照しながら、マイク15に入力さ
れた音声(入力音声)を認識する。
The matching unit 54 refers to the acoustic model database 55, the dictionary database 56, and the grammar database 57 as necessary based on the feature parameters from the feature extraction unit 52 or the feature parameters stored in the feature buffer 53. While recognizing the voice input to the microphone 15 (input voice).

【0042】即ち、音響モデルデータベース55は、音
声認識する音声の言語における個々の音素や音節などの
音響的な特徴を表す音響モデルを記憶している。ここ
で、音響モデルとしては、例えば、HMM(Hidden Markov
Model)などを用いることができる。辞書データベース5
6は、認識対象の各単語について、その発音に関する情
報が記述された単語辞書を記憶している。文法データベ
ース57は、辞書データベース56の単語辞書に登録さ
れている各単語が、どのように連鎖する(つながる)か
を記述した文法規則を記憶している。ここで、文法規則
としては、例えば、文脈自由文法(CFG)や、統計的な
単語連鎖確率(N-gram)などに基づく規則を用いること
ができる。
That is, the acoustic model database 55 stores acoustic models representing acoustic features such as individual phonemes and syllables in the language of the speech to be recognized. Here, as the acoustic model, for example, HMM (Hidden Markov
Model) can be used. Dictionary database 5
Reference numeral 6 stores a word dictionary in which information on pronunciation of each word to be recognized is described. The grammar database 57 stores grammar rules that describe how words registered in the word dictionary of the dictionary database 56 are linked (connected). Here, as the grammar rule, for example, a rule based on a context-free grammar (CFG), a statistical word chain probability (N-gram), or the like can be used.

【0043】マッチング部54は、辞書データベース5
6の単語辞書を参照することにより、音響モデルデータ
ベース55に記憶されている音響モデルを接続すること
で、単語の音響モデル(単語モデル)を構成する。さら
に、マッチング部54は、幾つかの単語モデルを、文法
データベース57に記憶された文法規則を参照すること
により接続し、そのようにして接続された単語モデルを
用いて、特徴パラメータに基づき、例えば、HMM法等に
よって、マイク15に入力された音声を認識する。そし
て、マッチング部54による音声認識結果は、例えば、
テキスト等で出力される。
The matching section 54 is a dictionary database 5
The sound model stored in the sound model database 55 is connected by referring to the word dictionary No. 6 to form a sound model (word model) of the word. Further, the matching unit 54 connects several word models by referring to the grammar rules stored in the grammar database 57, and uses the thus connected word models based on the feature parameters, for example, The voice input to the microphone 15 is recognized by the HMM method or the like. Then, the speech recognition result by the matching unit 54 is, for example,
It is output as text.

【0044】なお、マッチング部54は、会話処理部3
8から、そこで得られる情報を受信することができるよ
うになっており、その会話管理情報に基づいて、精度の
高い音声認識を行うことができるようになっている。ま
た、マッチング部54は、入力された音声を対象とし
て、再度、処理を行うことが必要な場合は、特徴量バッ
ファ53に記憶された特徴パラメータを用いて処理を行
うようになっており、これにより、ユーザに再度の発話
を要求せずに済むようになっている。
It should be noted that the matching section 54 is provided for the conversation processing section 3.
8, the information obtained therefrom can be received, and highly accurate speech recognition can be performed based on the conversation management information. Further, when it is necessary to perform the process again on the input voice, the matching unit 54 performs the process using the feature parameters stored in the feature amount buffer 53. This eliminates the need to request the user to speak again.

【0045】図5は、会話処理部38の詳細な構成を示
す図である。音声認識部31Aから出力された認識結果
(テキストデータ)は、会話処理部38の言語処理部7
1に入力される。言語処理部71は、辞書データベース
72と解析用文法データベース73に記憶されているデ
ータを基に、入力された音声認識結果を、形態素解析、
構文解析などの解析を行うことにより、単語の情報や構
文の情報などの言語情報を抽出する。また、辞書に記述
された内容を基に、入力の音声発話の意味、意図なども
抽出する。
FIG. 5 is a diagram showing a detailed configuration of the conversation processing unit 38. The recognition result (text data) output from the voice recognition unit 31A is sent to the language processing unit 7 of the conversation processing unit 38.
1 is input. The language processing unit 71 converts the input speech recognition result based on the data stored in the dictionary database 72 and the grammatical database for analysis 73 into morphological analysis,
By performing an analysis such as a syntax analysis, language information such as word information and syntax information is extracted. Further, based on the contents described in the dictionary, the meaning and intention of the input speech utterance are also extracted.

【0046】すなわち、辞書データベース72には、単
語の表記や解析用文法を適用するために必要な品詞情報
などの情報、単語の個別の意味情報などを記憶されてお
り、解析用文法データベース73には、辞書データベー
ス72に記憶されている各単語の情報を基に、単語連鎖
に関する制約を記述したデータが記憶されている。これ
らのデータを用いて言語処理部71は、入力された音声
認識結果のテキストデータを解析する。
That is, the dictionary database 72 stores information such as word notation and part-of-speech information necessary for applying the grammar for analysis, individual semantic information of words, and the like. Stores data describing restrictions on word chains based on information on each word stored in the dictionary database 72. Using these data, the language processing unit 71 analyzes the text data of the input speech recognition result.

【0047】解析用文法データベース73に記憶されて
いるデータは、正規文法、文脈自由文法、統計的な単語
連鎖確立、意味的な解析までを含める場合はHPSGなどの
意味論を含んだ言語理論などを用いる、テキスト解析に
必要なデータである。
The data stored in the analysis grammar database 73 includes regular grammar, context-free grammar, statistical word chain establishment, and language theory including semantics such as HPSG when including semantic analysis. Is data necessary for text analysis.

【0048】言語処理部71により抽出された情報に基
づき、話題管理部74は、現在の話題を会話中話題メモ
リ77に管理、更新させると共に、次の話題遷移(詳細
は後述する)に備えて、会話履歴メモリ75に管理され
ている情報を適宜更新する。また、話題管理部74は、
話題遷移を起こす場合、話題メモリ76に記憶されてい
る情報を参照して遷移する話題を決定する。
Based on the information extracted by the language processing section 71, the topic management section 74 manages and updates the current topic in the topic memory 77 during conversation, and prepares for the next topic transition (details will be described later). , The information managed in the conversation history memory 75 is appropriately updated. In addition, the topic management unit 74
When a topic transition occurs, the topic to be transitioned is determined with reference to information stored in the topic memory 76.

【0049】会話履歴メモリ75は、会話された会話の
内容自身、あるいは、会話から抽出された情報が蓄積さ
れており、現在会話されている話題(会話中話題メモリ
77に記憶されてる話題)より以前の会話で、どのよう
な話題が話されたのかを調査し、話題の遷移をコントロ
ールする際に用いられるデータが記憶されている。
The conversation history memory 75 stores the contents of the conversation or the information extracted from the conversation, and is based on the topic currently being conversed (the topic stored in the topic memory 77 during conversation). It investigates what topic was spoken in the previous conversation and stores data used to control the transition of the topic.

【0050】話題メモリ76は、ユーザと会話を実行し
ている際、その会話の内容に一貫性を保つための情報が
複数格納されている。話題メモリ76は、話題管理部7
4から話題の遷移を起こす際の遷移先の話題を探索する
とき、或いは、ユーザからの話題の変更に追従して話題
を変更するときに、参照される情報を蓄積しているメモ
リである。この話題メモリ76に記憶されている情報
は、後述する方法により追加、更新される。
The topic memory 76 stores a plurality of pieces of information for maintaining consistency in the content of the conversation when the conversation is being performed with the user. The topic memory 76 includes the topic management unit 7
4 is a memory that stores information to be referred to when searching for a transition destination topic at the time of causing a topic transition from 4, or when changing a topic following a change in topic from a user. The information stored in the topic memory 76 is added and updated by a method described later.

【0051】会話中話題メモリ77は、現在話している
話題に関する情報が格納されている。具体的には、話題
メモリ76に記憶されている話題に関する情報から1
つ、話題管理部74により選択された情報を記憶してい
る。話題管理部74は、会話中話題メモリ77に記憶さ
れている情報を基に、ユーザとの会話を進めていく。そ
のため、会話でやりとりされる情報により、例えば、ど
の内容を既に話し終わったかなどを管理し、その情報
は、適宜更新される。
The conversation topic memory 77 stores information about the topic currently being talked about. Specifically, the information about the topic stored in the topic memory 76 is 1
First, the information selected by the topic management unit 74 is stored. The topic management unit 74 proceeds with the conversation with the user based on the information stored in the topic memory 77 during the conversation. Therefore, the information exchanged in the conversation manages, for example, which content has already been spoken, and the information is updated as appropriate.

【0052】会話生成部78は、会話中話題メモリ77
で管理されている会話中の話題に関する情報と、直前の
ユーザの発話から言語処理部71により抽出された情報
などに基づき、辞書データベース79と会話生成規則デ
ータベース80に記憶されているデータを参照して適切
な応答文(テキストデータ)を生成する。
The conversation generation unit 78 includes a topic memory 77 during conversation.
The data stored in the dictionary database 79 and the conversation generation rule database 80 are referred to based on the information on the topic in the conversation managed in the above and the information extracted by the language processing unit 71 from the utterance of the immediately preceding user. To generate an appropriate response sentence (text data).

【0053】辞書データベース79は、応答文を作成す
るのに必要な単語情報が記憶されている。辞書データベ
ース72と辞書データベース79は、同じ情報を記憶す
るようにしても良い。従って、共用することも可能であ
る。
The dictionary database 79 stores word information necessary for creating a response sentence. The dictionary database 72 and the dictionary database 79 may store the same information. Therefore, they can be shared.

【0054】会話生成規則データベース80は、会話中
話題メモリ77の内容に基づいて、どのような応答文
を、どのように生成するのかに関する規則が記憶されて
いる。例えば、話題の中の、まだ話していない内容を話
す、相槌を最初に入れる、などの話題に対する話の進め
方と共に、仮に、話題が意味的なフレーム構造などで管
理されているなら、そこから自然言語文を生成する規則
なども書かれている。この意味構造から自然言語文を生
成する方法は、言語処理部71により行われる処理の逆
の処理として行うことにより、実現することが可能であ
る。
The conversation generation rule database 80 stores rules regarding what kind of response sentence is generated and how based on the contents of the conversation topic memory 77. For example, if the topic is managed in a semantic frame structure, etc., together with the way of talking about the topic, such as talking about content that has not been talked about, putting in a companion first, etc. It also contains rules for generating language sentences. The method of generating a natural language sentence from this semantic structure can be realized by performing the reverse processing of the processing performed by the language processing unit 71.

【0055】このようにして、会話生成部78により生
成された、テキストデータとしての応答文は、音声合成
部36に出力される。
In this way, the response sentence as text data generated by the conversation generation unit 78 is output to the speech synthesis unit 36.

【0056】図6は、音声合成部36の構成例を示して
いる。テキスト解析部91には、会話処理部38が出力
するテキストが、音声合成処理の対象として入力される
ようになっており、テキスト解析部91は、辞書データ
ベース92や解析用文法データベース93を参照しなが
ら、そのテキストを解析する。
FIG. 6 shows an example of the configuration of the speech synthesizer 36. The text output from the conversation processing unit 38 is input to the text analysis unit 91 as a target of the speech synthesis processing. The text analysis unit 91 refers to the dictionary database 92 and the analysis grammar database 93. While parsing that text.

【0057】即ち、辞書データベース92には、各単語
の品詞情報や、読み、アクセント等の情報が記述された
単語辞書が記憶されており、また、解析用文法データベ
ース93には、辞書データベース92の単語辞書に記述
された単語について、単語連鎖に関する制約等の解析用
文法規則が記憶されている。そして、テキスト解析部9
1は、この単語辞書および解析用文法規則に基づいて、
そこに入力されるテキストの形態素解析や構文解析等の
解析を行い、後段の規則合成部94で行われる規則音声
合成に必要な情報を抽出する。ここで、規則音声合成に
必要な情報としては、例えば、ポーズの位置や、アクセ
ントおよびイントネーションを制御するための情報、そ
の他の韻律情報や、各単語の発音等の音韻情報などがあ
る。
That is, the dictionary database 92 stores a word dictionary in which part-of-speech information of each word, and information such as readings and accents are described. The analysis grammar database 93 stores the dictionary database 92. For words described in the word dictionary, grammatical rules for analysis such as restrictions on word chains are stored. Then, the text analysis unit 9
1 is based on the word dictionary and the grammatical rules for analysis,
An analysis such as morphological analysis or syntax analysis of the text input thereto is performed, and information necessary for rule-based speech synthesis performed by the rule synthesis unit 94 at the subsequent stage is extracted. Here, the information necessary for the rule speech synthesis includes, for example, information for controlling the position of a pause, accent and intonation, other prosody information, and phonological information such as pronunciation of each word.

【0058】テキスト解析部91で得られた情報は、規
則合成部94に供給され、規則合成部94では、音素片
データベース95を用いて、テキスト解析部91に入力
されたテキストに対応する合成音の音声データ(デジタ
ルデータ)が生成される。
The information obtained by the text analysis section 91 is supplied to a rule synthesis section 94, which uses a speech segment database 95 to generate a synthesized speech corresponding to the text input to the text analysis section 91. (Digital data) is generated.

【0059】即ち、音素片データベース95には、例え
ば、CV(Consonant, Vowel)や、VCV、CVC等の形で音素
片データが記憶されており、規則合成部94は、テキス
ト解析部91からの情報に基づいて、必要な音素片デー
タを接続し、さらに、ポーズ、アクセント、イントネー
ション等を適切に付加することで、テキスト解析部91
に入力されたテキストに対応する合成音の音声データを
生成する。
That is, the speech segment database 95 stores speech segment data in the form of, for example, CV (Consonant, Vowel), VCV, CVC, and the like. Based on the information, necessary phoneme segment data is connected, and a pause, an accent, an intonation, and the like are appropriately added.
To generate speech data of a synthesized sound corresponding to the text input to the.

【0060】この音声データは、DA変換部96に供給
され、そこで、アナログ信号としての音声信号に変換さ
れる。この音声信号は、図示せぬスピーカに供給され、
これにより、テキスト解析部91に入力されたテキスト
に対応する合成音が出力される。
This audio data is supplied to a DA converter 96, where it is converted into an audio signal as an analog signal. This audio signal is supplied to a speaker (not shown),
As a result, a synthesized sound corresponding to the text input to the text analysis unit 91 is output.

【0061】上述したように、音声会話システムは構成
される。ロボット1は、音声会話システムを備えること
により、ユーザと会話を行うことができるのだが、ここ
で、人と人との会話について考える。人と人とが会話し
ているとき、1つの話題を永遠と話していることはな
く、きりのいいところで、話題を変えることが一般的で
ある。話題を変える際、全く関連性のない話題に切り変
わる場合もあるが、関連性がある話題に切り変わること
の方が自然な会話である。このようなことは、人(ユー
ザ)とロボット1との間で交わされる会話においても当
てはまることである。
As described above, the voice conversation system is configured. The robot 1 can have a conversation with the user by having the voice conversation system. Here, a conversation between people will be considered. When a person talks with another person, one topic is never talked about forever, and it is common to change the topic in a well-defined place. When a topic is changed, it may be switched to a completely unrelated topic, but switching to a related topic is a more natural conversation. This applies to a conversation between a person (user) and the robot 1.

【0062】そこで、ロボット1は、ユーザと会話をし
ているとき、適切な場面で話題を変える(遷移)する機
能をもつ。その為には、話題となる情報を記憶しておく
必要がある。また、その話題となる情報は、ユーザと話
を合わせる上で、ユーザが知っている情報は勿論、ユー
ザに話題を提供する上で、ユーザが知らないような情報
も記憶しておく必要がある。従って、古い情報ばかりで
なく、最新の情報を記憶する必要性も出てくる。
Therefore, the robot 1 has a function of changing a topic (transition) in an appropriate scene when talking with the user. For that purpose, it is necessary to store topical information. In addition, it is necessary to store not only information that the user knows but also information that the user does not know when providing the topic to the user in order to talk with the user. . Therefore, it is necessary to store not only old information but also the latest information.

【0063】そこで、ロボット1には、最新の情報(以
下、適宜、情報nと記述する)を取得するために、通信
機能(図2の通信部19)を備える。ここでは、情報n
を提供するサーバから、その情報nをダウンロードする
場合を説明する。図7(A)は、ロボット1に備えられ
た通信部19が、直接サーバ101と通信を行う場合を
示し、図7(B)は、通信ネットワークとして、例え
ば、インターネット102を介して通信部19とサーバ
101が通信を行う場合を示している。
Therefore, the robot 1 is provided with a communication function (communication section 19 in FIG. 2) in order to obtain the latest information (hereinafter referred to as information n as appropriate). Here, information n
A case where the information n is downloaded from a server that provides the information will be described. 7A shows a case where the communication unit 19 provided in the robot 1 directly communicates with the server 101, and FIG. 7B shows a case where the communication unit 19 is provided as a communication network via the Internet 102, for example. And the server 101 communicate with each other.

【0064】図7(A)に示したような構成にした場
合、ロボット1の通信部19は、例えば、PHS(Persona
l Handyphone System)に用いられている技術を流用す
ることにより実現することができる。例えば、通信部1
9は、ロボット1が充電している間に、サーバ101の
ダイヤルをダイヤリングすることで、サーバ101と接
続し、情報nをダウンロードする。
In the case of the configuration shown in FIG. 7A, the communication unit 19 of the robot 1 is, for example, a PHS (Persona
l It can be realized by utilizing the technology used for the Handyphone System). For example, the communication unit 1
9 dials the dial of the server 101 while the robot 1 is charging, thereby connecting to the server 101 and downloading the information n.

【0065】図7(B)に示したような構成の場合、通
信装置103とロボット1は、有線または無線により通
信が行われる。例えば、通信装置103をパーソナルコ
ンピュータで構成する。まず、ユーザは、パーソナルコ
ンピュータを、インターネット102を介してサーバ1
01と接続させる。そして、サーバ101から、情報n
をダウンロードし、パーソナルコンピュータ内の記憶装
置に、一旦記憶させる。その記憶された情報nを、例え
ば、赤外線による無線や、 USB(Universal Serial Bu
s)などの有線によりロボット1の通信部19に送信す
る。このようにしてロボット1が情報nを取得すること
ができる。
In the case of the configuration shown in FIG. 7B, communication between the communication device 103 and the robot 1 is performed by wire or wirelessly. For example, the communication device 103 is configured by a personal computer. First, the user connects the personal computer to the server 1 via the Internet 102.
01. Then, from the server 101, information n
Is downloaded and temporarily stored in a storage device in the personal computer. The stored information n is transmitted, for example, by infrared radio or USB (Universal Serial Bus).
s) to the communication unit 19 of the robot 1 via a wire. Thus, the robot 1 can acquire the information n.

【0066】さらに、通信装置103は、所定の時間
に、自動的にサーバ101と接続し、情報nをダウンロ
ードし、ロボット1に送信するようにしても良い。
Further, the communication device 103 may automatically connect to the server 101 at a predetermined time, download the information n, and transmit the information n to the robot 1.

【0067】次に、ダウンロードされる情報nについて
説明する。情報nとして、全てのユーザに、同一の情報
nを提供するようにしても良いが、全てのユーザに対し
て、その情報nが有効な情報であるとは限らない。換言
すれば、ユーザ毎に趣向は異なり、ユーザとの会話を成
り立たせるには、そのユーザの趣向に合った情報nのみ
をダウンロードし記憶する、または、全ての情報nをダ
ウンロードした後、選択し、ユーザの趣向に合った情報
nのみを記憶するようにすればよい。
Next, the information n to be downloaded will be described. The same information n may be provided to all users as the information n, but the information n is not always valid information for all users. In other words, the taste differs for each user, and in order to establish a conversation with the user, only the information n that matches the taste of the user is downloaded and stored, or after all the information n is downloaded, the information n is selected. It is sufficient to store only information n that matches the user's taste.

【0068】図8は、サーバ101側で、ロボット1に
提供する情報nを選択する場合のシステム構成を示す図
である。サーバ101は、話題データベース110、プ
ロファイルメモリ111、およびフィルタ112Aを備
えている。話題データベース110は、情報nを記憶し
ている。情報nは、芸能情報、経済情報といったカテゴ
リ毎に記憶されている。これらの情報nは、後述するよ
うに、ロボット1が、情報nを用いて、ユーザに話題を
提供することにより、ユーザが知らなかった情報を提供
することができ、宣伝効果がある。従って、宣伝を行い
たい会社などを含む提供者から、話題データベース11
0に記憶される情報nは提供される。
FIG. 8 is a diagram showing a system configuration when the server 101 selects information n to be provided to the robot 1. The server 101 includes a topic database 110, a profile memory 111, and a filter 112A. The topic database 110 stores information n. The information n is stored for each category such as entertainment information and economic information. As will be described later, the robot 1 can provide information that the user did not know by providing a topic to the user using the information n, as described later, and has an advertising effect. Accordingly, a provider including a company that wants to advertise, etc.
Information n stored in 0 is provided.

【0069】プロファイルメモリ111は、ユーザの趣
向などの情報を記憶している。プロファイルは、ロボッ
ト1から供給され、適宜、更新される。また、プロファ
イルは、ロボット1が、ユーザと会話を重ねていくうえ
で、何度も出てくる話題(キーワード)を記憶すること
で作成するようにしても良いし、ユーザが、ロボット1
に入力し、記憶させるような機能を備えるようにしても
良い。また、会話形式で、ロボット1がユーザに対して
質問し、その質問に対して答えたユーザの答えをプロフ
ァイルとして作成するようにしても良い。
The profile memory 111 stores information such as user preferences. The profile is supplied from the robot 1 and is updated as appropriate. Further, the profile may be created by storing topics (keywords) appearing many times when the robot 1 repeats the conversation with the user.
May be provided with a function of inputting and storing the information. Alternatively, the robot 1 may ask the user a question in a conversational manner, and create the user's answer to the question as a profile.

【0070】フィルタ112Aは、プロファイルメモリ
111に記憶されているプロファイルを基に、話題デー
タベース110に記憶されている情報nの中から、その
プロファイルに適した情報n、すなわちユーザの趣向に
合った情報nを選択して出力する。
The filter 112A, based on the profile stored in the profile memory 111, selects information n suitable for the profile from information n stored in the topic database 110, that is, information suitable for the user's taste. Select n and output.

【0071】図7を参照して説明したような方法によ
り、フィルタ112Aから出力された情報nは、ロボッ
ト1の通信部19に受信される。通信部19に受信され
た情報nは、メモリ10B内の話題メモリ76に記憶さ
れる。記憶メモリ76に記憶された情報nは、話題を遷
移させる時に用いられる。
The information n output from the filter 112A is received by the communication unit 19 of the robot 1 by the method described with reference to FIG. The information n received by the communication unit 19 is stored in the topic memory 76 in the memory 10B. The information n stored in the storage memory 76 is used when a topic is changed.

【0072】会話処理部38により処理され、出力され
た情報は、適宜、プロファイル作成部123に出力され
る。上述したように、ユーザと会話を交わすなかで、プ
ロファイルが作成される場合、プロファイル作成部12
3によりプロファイルが作成され、プロファイルメモリ
121に記憶される。プロファイルメモリ121に記憶
されたプロファイルは、適宜、通信部19を介して、サ
ーバ101のプロファイルメモリ111に送信されるこ
とにより、プロファイルメモリ111内の、ロボット1
のユーザに対応するプロファイルが更新される。
The information processed and output by the conversation processing unit 38 is output to the profile creation unit 123 as appropriate. As described above, when a profile is created during a conversation with the user, the profile creation unit 12
3, a profile is created and stored in the profile memory 121. The profile stored in the profile memory 121 is appropriately transmitted to the profile memory 111 of the server 101 via the communication unit 19, so that the robot 1 in the profile memory 111
The profile corresponding to the user is updated.

【0073】図8に示したような構成にした場合、プロ
ファイルメモリ111に記憶されているプロファイル
(ユーザ情報)が、外部に漏れる可能性があり、プライ
バシーを保護するという観点から、問題が生じる可能性
がある。そこで、プロファイルをサーバ101に管理さ
せないような構成とすることも可能である。図9は、サ
ーバ101側でプロファイルを管理しない場合のシステ
ム構成を示す図である。
In the case of the configuration shown in FIG. 8, the profile (user information) stored in the profile memory 111 may leak to the outside, which may cause a problem from the viewpoint of protecting privacy. There is. Therefore, it is possible to adopt a configuration in which the server 101 does not manage the profile. FIG. 9 is a diagram showing a system configuration when the profile is not managed on the server 101 side.

【0074】図9に示した構成では、サーバ101は、
話題データベース110のみを備える。ロボット1のコ
ントローラ10は、フィルタ112Bを備える構成とな
り、ロボット1のコントローラ10は、フィルタ112
Bを新たに備える構成となる。このような構成にした場
合、サーバ101は、話題データベース110に記憶さ
れている全ての情報nを、ロボット1に対して提供す
る。ロボット1の通信部19により受信された情報n
は、フィルタ112Bにより、フィルタリングされ、そ
の結果、残った情報nのみが、話題メモリ76に記憶さ
れる。
In the configuration shown in FIG. 9, the server 101
Only the topic database 110 is provided. The controller 10 of the robot 1 includes a filter 112B, and the controller 10 of the robot 1
B is newly provided. In the case of such a configuration, the server 101 provides all the information n stored in the topic database 110 to the robot 1. Information n received by the communication unit 19 of the robot 1
Are filtered by the filter 112B, and only the remaining information n is stored in the topic memory 76 as a result.

【0075】このように、ロボット1の方で、情報nを
選択するようにすれば、ユーザのプロファイルを、外部
に送信することがない(外部で管理することがない)の
で、ユーザのプライバシーは守られる。
As described above, if the robot 1 selects the information n, the user's profile is not transmitted to the outside (it is not managed externally), so that the privacy of the user is reduced. It is protected.

【0076】ここで、プロファイルとして扱う情報につ
いて説明する。プロファイルの情報としては、年齢、性
別、出身地、好きな俳優、好きなスポーツ、好きな場
所、好きな食べ物、趣味、最寄り駅などであり、また、
経済情報、芸能情報、スポーツ情報などに対して、どの
程度興味があるか数値で表した情報も含まれる。
Here, information handled as a profile will be described. Profile information includes age, gender, hometown, favorite actor, favorite sport, favorite place, favorite food, hobbies, nearest station, etc.
It also includes numerical information on how much you are interested in economic information, entertainment information, sports information, and the like.

【0077】このようなプロファイルに基づき、選択さ
れることにより、ユーザの趣向に合った情報nのみが、
話題メモリ76に記憶される。ロボット1は、話題メモ
リ76に記憶された情報nを基に、ユーザとの会話が自
然に流れるように、話題を遷移する。会話を自然に行う
ためには、話題を遷移するタイミングも大切である。次
に、話題を遷移させるタイミングの決定の仕方について
説明する。
By selecting based on such a profile, only information n that matches the user's taste can be obtained.
It is stored in the topic memory 76. The robot 1 transitions topics based on the information n stored in the topic memory 76 such that conversation with the user flows naturally. In order for conversations to take place naturally, the timing of topic transitions is also important. Next, a method of determining the timing for changing the topic will be described.

【0078】話題を遷移させるための処理として、ロボ
ット1は、ユーザとの会話が開始されると、自分用のフ
レームとユーザ用のフレームを作成する。フレームにつ
いて、図10を参照して説明する。時刻t1において、
ロボット1が、ユーザに対して、”昨日、成田で、事故
があったんだって”という新しい話題を持ちかけたとす
る。このとき、ロボット用フレーム141とユーザ用フ
レーム142が話題管理部74内に作成される。
As a process for changing the topic, when a conversation with the user is started, the robot 1 creates a frame for itself and a frame for the user. The frame will be described with reference to FIG. At time t 1,
It is assumed that the robot 1 has introduced a new topic to the user, saying, "There was an accident in Narita yesterday." At this time, the robot frame 141 and the user frame 142 are created in the topic management unit 74.

【0079】ロボット用フレーム141とユーザ用フレ
ーム142には、同一の項目が用意されており、すなわ
ち、”いつ”、”どこで”、”だれが”、”どうし
た”、”なぜ”という5項目が用意されている。ロボッ
ト1側が、”昨日、成田で、事故があったんだって”と
いう話題を提供したことにより、ロボット側のフレーム
141の各項目は0.5に設定される。なお、ここで
は、各項目に設定される値は、0.0乃至1.0の値を
とるとする。値が0.0の場合は、その項目について全
く知らない(全く話していない)ことを示し、1.0の
場合は、全ての情報を知っている(その項目について
は、話し尽くした)ことを示す。
The same items are prepared in the robot frame 141 and the user frame 142, that is, five items such as “when”, “where”, “who”, “what” and “why”. Is prepared. Since the robot 1 has provided the topic "The accident occurred in Narita yesterday", each item of the frame 141 on the robot side is set to 0.5. Here, it is assumed that the value set for each item takes a value of 0.0 to 1.0. A value of 0.0 indicates that the item is completely unknown (not talking at all), and a value of 1.0 indicates that all information is known (the item has been completely talked about). Is shown.

【0080】ロボット1が話題を提供した場合、ロボッ
ト1は、その話題についての情報を得ていることを示し
ている。換言すれば、提供した話題は、話題メモリ76
に記憶されている(話題メモリ76に記憶されていた
が、現在話している話題となることにより、会話中話題
メモリ77に移され、記憶されている)ことになる。
When the robot 1 provides a topic, it indicates that the robot 1 has obtained information on the topic. In other words, the provided topic is stored in the topic memory 76.
(Which was stored in the topic memory 76, but is moved to and stored in the topic memory 77 during conversation by becoming the topic currently being talked about).

【0081】その記憶されている情報は、その情報に関
する情報をユーザは、さらに多く知っている場合も想定
されるし、そうでない場合も想定される。従って、ロボ
ット1が話題を提供した場合、その話題に関するロボッ
ト用フレーム141の各項目には、初期値として0.5
が設定され、ユーザ側は何もしらないと想定し、ユーザ
用フレーム142の各項目は0.0に設定される。
As for the stored information, it is assumed that the user knows more information about the information, and it is assumed that the user does not. Therefore, when the robot 1 provides a topic, each item of the robot frame 141 relating to the topic has an initial value of 0.5.
Is set, and assuming that the user does nothing, each item of the user frame 142 is set to 0.0.

【0082】初期値として設定される値として、ここで
は、0.5としたが、その他の値を設定するようにして
も良い。また、例えば、”いつ”という項目は、具体的
には、通常、”年”、”月”、”日”、”時”、”分”
の5つの情報(”秒”も含めれば6つの情報になるが、
会話では、通常、秒まで、話題になることはないと仮定
し、ここでは、含めない)がそろえば、”いつ”という
項目に対しては、全ての情報がそろったとしても良い。
そこで、単純に、1.0を5等分した0.2を、1つの
情報に当てはめ、例えば、”昨日”という単語には、”
年”、”月”、”日”の3つの情報を含むと判断し、
0.6という値を設定するようにしても良い。
Although the value set as the initial value is 0.5 here, another value may be set. In addition, for example, the item “when” is specifically, usually “year”, “month”, “day”, “hour”, “minute”.
(Including the "second", it becomes 6 information,
In a conversation, it is usually assumed that it will not be a topic until the second, and it is not included here), and all information may be collected for the item "when".
Therefore, simply dividing 0.2 by dividing 1.0 into 5 equals one piece of information. For example, the word “yesterday” includes “
Judge that it contains three information of "year", "month", "day",
A value of 0.6 may be set.

【0083】また、上述した説明においては、初期値と
して全ての項目に0.5を設定したが、話題メモリ76
内に、その時、話題にしていることに関して、例え
ば、”いつ”という項目にあたるキーワードが存在しな
いときは、その項目には0.0を設定するようにしても
良い。
In the above description, 0.5 is set for all items as initial values.
For example, when there is no keyword corresponding to the item "when" regarding the topic at that time, 0.0 may be set in the item.

【0084】このように、会話が開始されると、その話
題に関して、フレームと、そのフレーム内の各項目の値
が設定される。ユーザは、ロボット1の”昨日、成田
で、事故が、あったんだって”という発話に対し、ユー
ザが、時刻t2において、”えっ?”という、言われた
事を聞き返すような場合に用いられる発話をしたとする
と、ロボット1は、時刻t3において、もう一度、同じ
発話を繰り返す。
As described above, when the conversation is started, a frame and a value of each item in the frame are set for the topic. The user is used when the robot 1 hears the utterance of “there was an accident at Narita yesterday, yesterday” at time t 2 , saying “Eh?” If you made a speech, the robot 1, at time t 3, once again, to repeat the same speech.

【0085】繰り返し発話された事により、ユーザがロ
ボット1が発話したことを理解し、時刻t4におい
て、”そうだね”という、発話された事を理解したとい
う場合に用いられる発話をしたとすると、ユーザ用フレ
ーム142が書き換えられる。ユーザ側は、”昨日”と
いう情報から”いつ”という項目が、”成田で”という
情報から”どこ”という項目が、”事故があった”とい
う情報から”どうした”という項目が、それぞれ知り得
たと判断し、それらの項目の値が0.2に設定される。
Suppose that the user understands that the robot 1 has spoken due to repeated speeches, and at time t 4 utters “yes”, which is used when it is understood that the speech has been made. , The user frame 142 is rewritten. The user knows the item “when” from the information “yesterday”, the item “where” from the information “at Narita”, and the item “what happened” from the information “there was an accident”. It is determined that they have been obtained, and the values of those items are set to 0.2.

【0086】0.2に設定されるというのは、一例であ
り、その他の値が設定されるようにしても良い。例え
ば、現在話している話題のうち、”いつ”という項目に
対してロボット1が知り得ている情報の全てを発話して
しまった場合、その項目に関しては、同じ値を設定する
ようにしても良い。例えば、この場合、ロボット1が”
いつ”という項目に対して”昨日”というキーワードし
か取得していなかった場合、既に、ユーザに対して発話
してしまっているので、ユーザ用フレーム142の”い
つ”という項目の値は、ロボット用フレーム141の”
いつ”という項目に設定されている0.5が設定され
る。
The setting of 0.2 is merely an example, and other values may be set. For example, if the robot 1 has uttered all of the information that the robot 1 knows for the item “when” of the topic currently being talked about, the same value may be set for that item. good. For example, in this case, the robot 1
If only the keyword “Yesterday” has been acquired for the item “when”, the value of the item “when” in the user frame 142 has already been spoken to the user. Frame 141 "
0.5 set in the item "when" is set.

【0087】ここで、ユーザが時刻t4に、”そうだ
ね”ではなく、図11に示すように、”何時ごろ?”と
質問してきた場合、ユーザ用フレーム142に設定され
る値が異なってくる。すなわち、ロボット1は、今、ユ
ーザは、”いつ”の項目に関わる質問をしてきたの
で、”いつ”という項目に関する情報に興味があると判
断し、ユーザ用フレーム142の”いつ”という項目の
値を、他の項目に設定される値である0.2よりも大き
い0.4に設定する。このように、会話の内容により、
それぞれのフレームの項目に設定される値は異なる。
Here, if the user asks, at time t 4 , instead of “yes”, but “when?” As shown in FIG. 11, the value set in the user frame 142 differs. come. That is, since the user has now asked a question relating to the item “when”, the robot 1 determines that the user is interested in the information regarding the item “when”, and the robot 1 The value is set to 0.4 which is larger than 0.2 which is a value set for another item. Thus, depending on the content of the conversation,
The values set for the items of each frame are different.

【0088】上述した説明では、ロボット1側からユー
ザに対して話題を提供した場合を説明したが、ユーザ側
からロボット1に対して話題を提供した場合を説明す
る。図12に示すように、時刻t1において、ユーザ
が”成田で、事故が、あったんだって”とロボット1に
対して発話したとする。その発話を受けて、ロボット1
は、ロボット用フレーム141とユーザ用フレーム14
2を作成する。
In the above description, the case where the robot 1 provided a topic to the user has been described. However, the case where the user provided a topic to the robot 1 will be described. As shown in FIG. 12, at time t 1 , it is assumed that the user has uttered to the robot 1 “There is an accident in Narita”. Robot 1 receives the utterance
Are the robot frame 141 and the user frame 14
Create 2.

【0089】まず、ユーザ用フレーム142の各項目の
値についてだが、”成田”という情報から”どこで”と
いう項目の値が、”事故があった”という情報から”ど
うした”という項目の値が、それぞれ設定される。同様
の判断に基づき、ロボット用フレーム141内の各項目
も、ユーザ用フレーム142内の各項目の値と同じ値に
設定される。
First, regarding the value of each item of the user frame 142, the value of the item “where” from the information “Narita” and the value of the item “what happened” from the information “there was an accident” , Respectively. Based on the same determination, each item in the robot frame 141 is set to the same value as the value of each item in the user frame 142.

【0090】このようなユーザの発音に対し、ロボット
1が、時刻t2において返答を行う。ロボット1は、各
フレーム内の項目のなかで、値が0.0という項目がな
くなるような方向で会話が進むように、返答文を作成す
る。この場合、まず、”いつ”という項目の値が、ロボ
ット用フレーム141、ユーザ用フレーム142共に
0.0であるので、ロボット1は、時刻t2におい
て、”いつ?”という質問をユーザに対してする。
[0090] for the pronunciation of such user, the robot 1 performs a response at time t 2. The robot 1 creates a response sentence so that the conversation proceeds in such a direction that there is no item having a value of 0.0 among the items in each frame. In this case, first, the value of the item of "when" the robot frame 141, since both the user frame 142 is 0.0, the robot 1 is at time t 2, the relative user question "When?" You

【0091】この質問に対し、ユーザは、時刻t3にお
いて、”昨日”という発話をしたとすると、その発話を
受けて、フレーム内の各項目の値が設定し直される。即
ち、”昨日”という、”いつ”という項目に関する情報
が得られた事により、ロボット用フレーム141とユー
ザ用フレーム142の”いつ”という項目の値が0.0
から0.2に設定し直される。
[0091] For this question, the user is, at time t 3, when it is assumed that the speech that "yesterday", in response to the speech, the value of each item in the frame is re-set. That is, since the information about the item “when” “yesterday” is obtained, the value of the item “when” in the robot frame 141 and the user frame 142 becomes 0.0.
Is reset to 0.2.

【0092】さらに、時刻t4(図13)においてロボ
ット1が”何時頃?”という質問をユーザにし、ユーザ
が時刻t5において、”夜8時過ぎ”と返答した場合、
ロボット用フレーム141とユーザ用フレーム142
の”いつ”という項目の値が、0.2より高い値の0.
6に設定し直される。このように、ロボット1が質問を
ユーザにすることにより、値が0.0である項目がなく
なる方向で話が進められる事により、自然な会話が成立
する。
Further, at time t 4 (FIG. 13), when the robot 1 asks the user the question “What time is it?”, And at time t 5 , the user replies “After 8:00 p.m.”
Robot frame 141 and user frame 142
Has a value of 0.2 when the value of the item “when” is higher than 0.2.
It is reset to 6. As described above, when the robot 1 asks the user a question, the conversation proceeds in a direction in which the item having the value of 0.0 disappears, and a natural conversation is established.

【0093】なお、時刻t5において、ユーザが”知ら
ない”という返答をした場合にも、上述したように、ロ
ボット用フレーム141とユーザ用フレーム142の”
いつ”という項目の値は0.6に設定される。このよう
にするのは、互いに知らない事に対して再度、質問する
ようなことがないようにする、換言すれば、値が小さい
ままにしておくと、再度、質問するようなことが想定さ
れるため、そのような事を防ぐために行う。従って、”
知らない”というような返答を受けた場合は、その項目
に関する会話は、それ以上できないと判断することが可
能なので、そのような項目の値は、1.0に設定される
ようにしても良い。
At time t 5 , if the user replies “I do not know”, as described above, the robot frame 141 and the user frame 142
The value of the item "when" is set to 0.6. This is done so that there is no need to ask a question again if you do not know each other, in other words, keep the value small. If you do so, it is assumed that you will ask a question again, so do it in order to prevent such a thing.
If a response such as "I do not know" is received, it is possible to determine that conversation about the item cannot be further performed, and the value of such item may be set to 1.0. .

【0094】このような会話が続けられることにより、
ロボット用フレーム141とユーザ用フレーム142の
各項目の値が1.0に近づいていくことになる。全ての
項目の値が1.0になるということは、その話題に付い
ては、語り尽くした事を示す。そのような場合は、話題
を遷移する事が自然の会話の流れである。また、語り尽
くす前に、話題を遷移する場合があるというのも、自然
の会話の流れである。換言すれば、1つの話題に対し
て、常に語り尽くさなければ、次の話題に遷移できない
という設定にしてしまうと、会話はしつこくなり、楽し
くなくなる場合が想定されるので、語り尽くす前に(全
ての項目の値が1.0になる前に)、話題を遷移する場
合もあるように設定しておく。
By continuing such a conversation,
The value of each item of the robot frame 141 and the user frame 142 approaches 1.0. A value of 1.0 for all items indicates that the topic has been exhausted. In such a case, the transition of topics is a natural flow of conversation. Also, it is a natural flow of conversation that there is a case where a topic is changed before the story is exhausted. In other words, if a setting is made so that it is not possible to transition to the next topic unless one has always spoken out of one topic, the conversation may be persistent and fun. (Before the value of the item of item (1) becomes 1.0), a setting is made so that the topic may be changed.

【0095】図14のフローチャートを参照して、上述
したようなフレームを用いて、話題の遷移を行うタイミ
ングを制御する方法について説明する。ステップS1に
おいて、新しい話題に対して会話が開始されると、ステ
ップS2において、ロボット用フレーム141とユーザ
用フレーム142が話題管理部74に生成され、各項目
の値が設定される。ステップS3において、平均値が算
出される。平均値は、ロボット用フレーム141とユー
ザ用フレーム142の各項目、この場合10項目の値の
平均値である。
With reference to the flowchart of FIG. 14, a method of controlling the timing at which a topic transition is performed using the above-described frame will be described. When a conversation is started for a new topic in step S1, a robot frame 141 and a user frame 142 are generated in the topic management unit 74 in step S2, and the value of each item is set. In step S3, an average value is calculated. The average value is the average value of the values of each item of the robot frame 141 and the user frame 142, in this case, 10 items.

【0096】平均値が算出されたら、ステップS4にお
いて、話題を遷移するか否かが判断される。平均値の値
が、閾値T1以上になったら、話題を遷移するという規
則を設けて話題を遷移するか否かを判断しても良いが、
閾値T1を小さく設定した場合、会話が中途半端な状態
で遷移してしまうことが多くなり、逆に、閾値T1を大
きく設定した場合、会話にしつこさが出てきてしまうこ
とが多くなるといったような不都合が生じる事が想定さ
れる。
After the average value is calculated, it is determined in step S4 whether or not the topic is to be changed. The value of the average value, when the threshold value above T 1 since, may determine whether to transition the topic is provided a rule that transitions topic but,
If set to a small threshold value T 1, the conversation is often result in changes in limbo, conversely, when set large the threshold value T 1, the more that will come out importunity conversations It is assumed that such inconveniences as described above occur.

【0097】そこで、本実施の形態においては、図15
に示したような関数を用い、平均値により、話題が遷移
する確率を変動させる。すなわち、平均値が0.0乃至
0.2の間の値の場合、話題が遷移する確率は0なの
で、話題は遷移しない。平均値が、0.2乃至0.5の
間の値の場合、0.1の確率で話題が遷移する。平均値
が、0.5乃至0.8の間の値の場合、確率=3×平均
値−1.4の式に従って確率が算出され、その確率に従
って、話題が遷移する。平均値が、0.8乃至1.0の
間の値の場合、1.0の確率、すなわち、必ず話題が遷
移する。
Therefore, in this embodiment, FIG.
The probability that a topic transitions is changed by an average value using a function as shown in FIG. That is, when the average value is between 0.0 and 0.2, the topic does not transition because the probability of the topic transitioning is zero. If the average value is between 0.2 and 0.5, the topic transitions with a probability of 0.1. When the average value is a value between 0.5 and 0.8, the probability is calculated according to the formula of probability = 3 × average value−1.4, and the topic transitions according to the probability. When the average value is a value between 0.8 and 1.0, a probability of 1.0, that is, a topic always transitions.

【0098】このように、平均値と確率値を用いること
により、話題が遷移するタイミングを、異ならせること
が可能となり、より自然な会話を行わせる事が可能とな
る。なお、図15に示したのは、一例であり、他の関数
にしたがっても良い。また、平均値が0.2以上の値の
場合、確率値は0.0ではないが、例えば、フレーム内
の10項目のうち、4項目の値が0.0の場合は、話題
が遷移する確率値を0.0にするなどの規則を設けるよ
うにしても良い。
As described above, by using the average value and the probability value, it is possible to make the timing at which the topic changes, so that a more natural conversation can be performed. FIG. 15 shows an example, and another function may be used. When the average value is 0.2 or more, the probability value is not 0.0. For example, when the value of 4 items out of 10 items in the frame is 0.0, the topic changes. Rules such as setting the probability value to 0.0 may be provided.

【0099】さらに、会話が行われる時刻により、用い
られる関数を変化させるようにしてもよい。例えば、朝
と夜とで異なる関数を用いることにより、朝は、夜と比
べて、浅く広い会話ができるといった機能を持たせる事
も可能である。
Further, the function to be used may be changed depending on the time at which the conversation takes place. For example, by using different functions for morning and night, it is also possible to provide a function such that a conversation can be made shallower and wider in the morning than in the night.

【0100】図14のフローチャートの説明に戻り、ス
テップS4において、話題を遷移すると判断された場
合、話題を遷移し(遷移する先の話題の抽出の仕方につ
いては後述する)、その遷移した先の話題について、ス
テップS1以下の処理が繰り返される。一方、ステップ
S4において、話題を遷移しないと判断された場合、ス
テップS5に進み、新たな発話に対してフレーム内の項
目の値が設定し直され、その値に対してステップS3以
下の処理が繰り返される。
Returning to the description of the flowchart of FIG. 14, when it is determined in step S4 that the topic is to be changed, the topic is changed (the method of extracting the target topic to be changed will be described later). The process from step S1 is repeated for the topic. On the other hand, if it is determined in step S4 that the topic does not change, the process proceeds to step S5, where the value of the item in the frame is reset for a new utterance, and the processing in step S3 and subsequent steps is performed on the value. Repeated.

【0101】上述した話題を遷移するタイミングの決定
の方法は、フレームというものを用いて行ったが、他の
方法を用いても良い。ロボット1とユーザとの間で会話
が行われているとき、その会話が交わされた回数をカウ
ントするようにしても良い。これは、通常、会話が交わ
される回数が増せば、その話題については十分話し合っ
たと判断することが可能であるので、会話が交わされた
回数で、話題を遷移するか否かを判断することも可能で
ある。
Although the method of determining the timing of transition of the topic described above is performed using a frame, another method may be used. When a conversation is being held between the robot 1 and the user, the number of times the conversation is exchanged may be counted. This usually means that if the number of conversations increases, it is possible to judge that the topic has been sufficiently discussed, and it is also possible to determine whether or not to transition the topic based on the number of conversations. It is possible.

【0102】会話が交わされた回数をカウントした値を
カウント値Nとした場合、そのカウント値Nが、単に所
定の閾値を越えたとき、話題を遷移するようにしても良
いし、P=1−1/Nという式により算出される値P
を、図15の平均値の代わりに用いて話題を遷移するよ
うにしても良い。
When the value obtained by counting the number of conversations is set as the count value N, the topic may be changed when the count value N exceeds a predetermined threshold value, or P = 1. The value P calculated by the formula of −1 / N
May be used instead of the average value in FIG.

【0103】会話が交わされた回数をカウントする代わ
りに、会話が交わされている時間をカウントすることに
より、話題を遷移するタイミングを決定するようにして
も良い。ロボット1が発話した時間と、ユーザが発話し
た時間を累積加算する。その累積加算した加算値Tを、
上述したカウンタ値Nの代わりに用いるようにする。加
算値Tが所定の閾値を越えた場合に話題を遷移するよう
にしても良いし、基準会話時間Trという値を設け、P
=T/Trという式に基づいて算出された値Pを、図1
5の平均値の代わりに用いるようにしても良い。
Instead of counting the number of times conversations are exchanged, the timing at which topics are changed may be determined by counting the time during which conversations are exchanged. The time when the robot 1 speaks and the time when the user speaks are cumulatively added. The accumulated value T obtained by the cumulative addition is
The counter value N is used instead of the above-described counter value N. The topic may be changed when the added value T exceeds a predetermined threshold value.
= T / Tr, the value P calculated based on the equation
5 may be used instead of the average value.

【0104】このようにカウント値Nまたは加算値Tを
用いた場合、話題を遷移させるタイミングを決定する処
理は、図14のフローチャートを参照して説明したのと
基本的に同様だが、ステップS2のフレームを作成する
という処理が、カウンタ値N(加算値T)を0に初期化
する処理となり、ステップS3の処理は省略され、ステ
ップS5の処理が、カウンタ値N(加算値T)を更新す
る処理となる。
When the count value N or the added value T is used as described above, the process of determining the timing for changing the topic is basically the same as that described with reference to the flowchart of FIG. The process of creating a frame is a process of initializing the counter value N (addition value T) to 0, the process of step S3 is omitted, and the process of step S5 updates the counter value N (addition value T). Processing.

【0105】会話のなかでは、相槌というのも、話して
いる内容に興味があるかないかを判断するのに重要な要
素となるものであり、興味がないと判断される時には、
話題を遷移することが好ましい。そこで、話題を遷移す
るタイミングを決定する方法として、ユーザの発話の音
圧の時変化を用いる方法もある。図16(A)に示すよ
うに、入力されたユーザの発話(入力パターン)を、区
間正規化することにより入力パターンの解析を行う。
[0105] In a conversation, a hammer is an important factor in determining whether or not the user is interested in the content being spoken.
It is preferable to change topics. Therefore, as a method of determining the timing of transition of a topic, there is a method of using the time change of the sound pressure of the utterance of the user. As shown in FIG. 16A, the input pattern is analyzed by section normalizing the input utterance (input pattern) of the user.

【0106】ユーザの発話(相槌)に関して、正規化し
た解析結果として想定されるのは、例えば、図16
(B)に示したように、肯定を意図するパターン、無関
心を意図するパターン、標準(意志表現を含まない、単
なる相槌)を意図するパターン、および疑問を意図する
パターンの4パターンである。入力された入力パターン
を区間正規化した結果が、どのパターンに近似している
かは、例えば、いくつかの基準関数との内積値をベクト
ルとして距離を計算するなどの方法を用いて行う事が可
能である。
As for the user's utterance (sooting), what is assumed as a normalized analysis result is, for example, as shown in FIG.
As shown in (B), there are four patterns: a pattern intended to be affirmative, a pattern intended to be indifferent, a pattern intended to be a standard (which does not include intentional expression, merely a companion) and a pattern intended to be questionable. Which pattern is approximated by the result of section normalization of the input pattern can be determined by, for example, calculating the distance using the inner product value of some reference functions as a vector. It is.

【0107】入力された入力パターンが、無関心を意図
するパターンであると判断された場合、すぐに話題を遷
移するようにしても良いし、無関心を意図するパターン
であると判断された回数を累積し、その累積値Qが所定
値以上になった時に、話題を遷移するようにしても良
い。さらに、対話回数もカウントするようにし、累積値
Qをカウンタ値Nで割った数値を度数Rとし、その度数
Rが所定値以上になったときに話題を遷移させるように
しても良いし、その度数を図15の平均値の代わりとし
て用いて、話題を遷移させるようにしても良い。
When it is determined that the input pattern is a pattern intended for indifference, the topic may be changed immediately, or the number of times determined to be a pattern intended for indifference may be accumulated. Then, when the cumulative value Q becomes equal to or more than a predetermined value, the topic may be changed. Further, the number of conversations may be counted, and a value obtained by dividing the cumulative value Q by the counter value N is set as a frequency R, and the topic may be changed when the frequency R becomes a predetermined value or more. The frequency may be used as a substitute for the average value in FIG. 15 to transition the topic.

【0108】会話をしているときに、相手が発話したこ
とに対して同じ事を言う(オウム返しする)ようなこと
は、その話題に興味がないことを示していることが多
い。このような事を利用し、ロボット1が発話した事
と、その発話に対してユーザが発話した事の一致度を測
定し、スコア値を得、そのスコア値を用いて話題を遷移
させる。スコア値の算出の仕方としては、例えば、ロボ
ット1が発話した言葉の文字の並びと、ユーザが発話し
た言葉の文字の並びを単純に比較し、一致する文字数を
スコア値とする。
[0108] During a conversation, saying the same thing (parrot return) to what the other party has spoken often indicates that the subject is not interested in the topic. Utilizing such a thing, the degree of coincidence between what the robot 1 uttered and what the user uttered to the utterance is measured, a score value is obtained, and the topic is transited using the score value. As a method of calculating the score value, for example, the character sequence of words spoken by the robot 1 is simply compared with the character sequence of words spoken by the user, and the number of matching characters is used as the score value.

【0109】このようにして得られたスコア値を用い
て、上述した方法と同じく、所定の閾値以上になったら
話題を遷移させる、または、図15の平均値の代わりに
用いて話題を遷移させる。
Using the score values obtained in this way, the topic is changed when the threshold value is exceeded, or the topic is changed using the average value in FIG. 15, similarly to the above-described method. .

【0110】上述した方法では、無関心を意図するパタ
ーン(音圧と時間との関係におけるパターン)を用いた
が、無関心を意図する言葉をトリガーとして話題を遷移
させるようにしても良い。無関心を意図する言葉として
は、「ふーん」、「へえ」、「あ、そう」、「はいは
い」などであり、これらの言葉を無関心を意図する言葉
の群として登録しておく。この登録された群内の言葉
が、ユーザから発せられたと判断された場合には、話題
が遷移されるようにする。
In the above-described method, a pattern intended to be indifferent (a pattern in relation between sound pressure and time) is used, but topics may be transited by using a word intended to be indifferent as a trigger. The words that are intended to be indifferent are “Hm”, “Hee”, “A, yes”, “Yes, yes”, and the like, and these words are registered as a group of words that are intended to be indifferent. When it is determined that the words in the registered group have been uttered by the user, the topic is changed.

【0111】さらに会話をしている場合に、その会話が
止まった、換言すれば、返答に時間がかかったとき、ユ
ーザは、その話題に関して興味がなく、返答したくない
といった意思表示であると考える事ができる。そこで、
ロボット1は、自己が発話した事に対して、ユーザが返
答するまでの時間を測定し、その測定時間に応じて、話
題を遷移させるか否かを判断するようにしても良い。
Further, when a conversation is stopped, that is, when the conversation is stopped, in other words, when it takes a long time to reply, the user is not interested in the topic and does not want to reply. You can think. Therefore,
The robot 1 may measure the time until the user responds to the utterance of the robot 1 itself, and may determine whether or not to change the topic according to the measured time.

【0112】例えば、図17に示すように、返答までに
かかった時間が、0.0乃至1.0秒のときは話題を遷
移させない、1.0乃至12.0秒のときは所定の関数
により算出される確率値に従い話題を遷移させる、1
2.0秒以上のときは、必ず話題を遷移させる。図17
に示した例は一例であり、用いる関数や秒の設定は、ど
のようなものを用いても良い。
For example, as shown in FIG. 17, when the time required for a response is 0.0 to 1.0 seconds, the topic is not changed, and when the time is 1.0 to 12.0 seconds, a predetermined function is used. Transition topics according to the probability value calculated by
When the time is longer than 2.0 seconds, the topic is always changed. FIG.
Is an example, and any function and second setting may be used.

【0113】上述した方法のうち、1つ、または、複数
の組み合わせにより、話題を遷移させるタイミングが決
定される。
The transition timing of a topic is determined by one or a combination of a plurality of the methods described above.

【0114】なお、ユーザが、「もうその話題はいい
よ」、「いいかげんにしろ」、「話題変えようよ」な
ど、話題を遷移することが望まれる発話を受けた場合
は、上述した方法による、話題を遷移させるタイミング
でないときにも関わらず、話題を遷移させる。
When the user receives an utterance that is desired to change the topic, such as “I'm good at that topic”, “Let's change”, “Let's change topic”, the above-described method is used. The topic is changed regardless of the timing for changing the topic.

【0115】次に、ロボット1の38により、会話処理
部話題を遷移させると判断された際、遷移先の話題の抽
出の仕方について説明する。その時話している話題Aか
ら他の話題Bに遷移する場合、話題Aと話題Bとの間
に、全く関連性がなくても良いが、多少ながら関連性が
ある話題に遷移するのが会話の流れを妨げず、自然の流
れとなる場合が多い。そこで、本実施の形態では、話題
Aに関連がある話題Bに遷移するようにする。
Next, a method of extracting the topic of the transition destination when it is determined by the robot 38 that the conversation processing section topic is to be changed will be described. When transitioning from topic A talking to another topic B at that time, topic A and topic B need not have any relevance at all, but the transition to a topic that is somewhat relevant is that of conversation. In many cases, it does not impede the flow and is a natural flow. Therefore, in the present embodiment, transition to topic B related to topic A is made.

【0116】話題を遷移するための情報は、話題メモリ
76に記憶されており、会話処理部38は、上述したよ
うな方法で、話題を遷移すると判断した場合、話題メモ
リ76に記憶されている情報を基に、遷移先の話題を抽
出する。ここで、話題メモリ76に記憶されている情報
について説明する。
The information for changing the topic is stored in the topic memory 76, and when the conversation processing unit 38 determines that the topic is to be changed by the above-described method, the information is stored in the topic memory 76. The topic of the transition destination is extracted based on the information. Here, information stored in the topic memory 76 will be described.

【0117】上述したように、話題メモリ76に記憶さ
れている情報は、インターネットなどの通信ネットワー
クを介してダウンロードされ、記憶されている。図18
は、話題メモリ76内の情報について説明する図であ
る。この場合、話題メモリ76には、4つの情報が記憶
されている。各情報は、”事項”、”いつ”、”どこ
で”、”だれが”、”どうした”といった項目から構成
されており、”事項”以外の項目は、ロボット用フレー
ム141(ユーザ用フレーム142)内の項目と同じで
ある。
As described above, the information stored in the topic memory 76 is downloaded and stored via a communication network such as the Internet. FIG.
Is a diagram for explaining information in a topic memory 76. FIG. In this case, the topic memory 76 stores four pieces of information. Each piece of information is composed of items such as "item", "when", "where", "who" and "what happened", and items other than "item" include the robot frame 141 (the user frame 142). Same as the item in parentheses.

【0118】事項は、タイトル的な意味合いをもち、そ
の情報の内容を識別するために設けられたものである。
各情報は、その内容を代表する属性をもつ。図19に示
した例では、属性としてキーワードを用いた場合を示し
ている。キーワードとしては、各情報に含まれる自立語
(名詞や動詞などで、単独で意味を持つ単語)が選択さ
れ、設定される。各情報は、その内容を表すテキスト形
式で保持しても良いが、図18に示した例では、項目と
その値(属性:キーワード)の対で構成したフレーム構
造に内容を抽出して保持している。
Items have a title-like meaning and are provided for identifying the contents of the information.
Each piece of information has an attribute representing its contents. The example shown in FIG. 19 shows a case where a keyword is used as an attribute. As the keyword, an independent word (a word having a single meaning such as a noun or a verb) included in each information is selected and set. Each piece of information may be stored in a text format representing the content, but in the example shown in FIG. 18, the content is extracted and stored in a frame structure composed of pairs of items and their values (attributes: keywords). ing.

【0119】図20のフローチャートを参照して、ロボ
ット1側から話題を遷移させる場合の、会話処理部38
において行われる処理について説明する。会話処理部3
8の話題管理部74は、ステップS11において、上述
したような方法を用いて、話題の遷移を起こすか否かを
判断する。ステップS11において、話題の遷移を起こ
すと判断された場合、ステップS12に進み、現在の話
題の情報と、話題メモリ76内に記憶されている話題の
情報との関連度を計算する。ここで、関連度の計算の仕
方について説明する。
Referring to the flowchart of FIG. 20, the conversation processing unit 38 when the topic is changed from the robot 1 side.
The processing performed in will be described. Conversation processing unit 3
In step S11, the topic management unit 74 determines whether or not to cause a topic transition using the method described above. If it is determined in step S11 that a topic transition occurs, the process proceeds to step S12, and the degree of association between the current topic information and the topic information stored in the topic memory 76 is calculated. Here, a method of calculating the relevance will be described.

【0120】関連度の計算としては、例えば、情報の属
性であるキーワードのベクトルが成す角、分類の一致度
(同じ分類や近い分類がなされている情報が近似してい
る情報であると判断)などを用いる方法が考えられる。
また、キーワード間の関連度をテーブルとして定義し、
そのテーブルを用いて、現在の話題の情報のキーワード
と、話題メモリ76内に記憶されている話題の情報のキ
ーワードとの関連度を計算する方法もある。このような
方法を採ると、異なるキーワード間の結び付きまで含め
た関連度の計算ができるので、自然な流れで話題を遷移
させる事が可能となる。
As the calculation of the degree of relevance, for example, the angle formed by the keyword vector, which is the attribute of the information, and the degree of coincidence of the classification (determining that information of the same classification or similar classification is similar information) For example, a method using such a method can be considered.
Also, define the relevance between keywords as a table,
There is also a method of calculating the relevance between the keyword of the current topic information and the keyword of the topic information stored in the topic memory 76 using the table. By adopting such a method, it is possible to calculate the degree of relevance including the connection between different keywords, and it is possible to transition topics in a natural flow.

【0121】ここでは、キーワード間の関連度を定義し
たテーブルに基づく方法について説明する。図21に、
テーブルの一例を示す。図21には、”事項”という項
目が”バスの事故”という情報と、”飛行機事故”とい
う情報による作成されたテーブルである。このテーブル
として選択される情報は、現在話されている話題の情報
と次の話題となる可能性のある情報、換言すれば、会話
中話題メモリ77(図5)に記憶されている情報と、話
題メモリ76に記憶されている情報である。
Here, a method based on a table defining the degree of association between keywords will be described. In FIG.
4 shows an example of a table. FIG. 21 is a table in which the item “item” is created based on the information “bus accident” and the information “airplane accident”. The information selected as this table includes information on the topic currently talked and information that may be the next topic, in other words, information stored in the topic memory 77 during conversation (FIG. 5). This is information stored in the topic memory 76.

【0122】事項が”バスの事故”という情報には、”
バス”、”事故”、”2月”、”10日”、”札
幌”、”乗客”、”10人”、”けが”、”スリップ”
という9個のキーワードが存在し、事項が”飛行機事
故”という情報には、”飛行機”、”事故”、”2
月”、”10日”、”インド”、”乗客”、”100
人”、”けが”という8個のキーワードが存在する。
The information that the item is “bus accident” includes “
"Bus", "Accident", "February", "10th", "Sapporo", "Passenger", "10 people", "Injuries", "Slip"
There are nine keywords such as “Airplane”, “Accident”, and “2”
"Month", "10th", "India", "Passenger", "100"
There are eight keywords, "person" and "injury".

【0123】それぞれのキーワードによる組み合わせ
は、72(=9×8)通りある。各キーワード間には、
関連度のスコアが記載されている。これらのスコアの総
和を、それらの2つの情報の関連度とする。図21に示
したようなテーブルは、情報を提供するサーバ101
(図7)において作成し、その作成されたテーブルと共
に、情報をロボット1に提供するようにして良いし、ロ
ボット1側で、サーバ101からダウンロードした情報
を記憶する際、テーブルを作成し、記憶するようにして
も良い。
There are 72 (= 9 × 8) combinations for each keyword. Between each keyword,
The relevance score is described. The sum of these scores is defined as the degree of relevance of the two pieces of information. The table as shown in FIG.
(FIG. 7), the information may be provided to the robot 1 together with the created table. When the robot 1 stores information downloaded from the server 101, a table is created and stored. You may do it.

【0124】予めテーブルを作成しておく場合、会話中
話題メモリ77に記憶されている情報と、話題メモリ7
6に記憶されている情報との両方の情報が、サーバ10
1からダウンロードされたものであるということが前提
である。換言すれば、話題遷移を起こしたのが、ロボッ
ト1の場合、また、ユーザが話題遷移を起こした場合で
も、話題メモリ76に、ユーザが話しているだろうと判
断される話題の情報が記憶されている場合は、予め作成
されたテーブルを用いることが可能である。しかしなが
ら、ユーザが話題遷移を起こし、その話題が話題メモリ
76に記憶されていないと判断される場合は、予め作成
されたテーブルが存在しないので、新たに作成する必要
がある。そのような処理については後述する。
When a table is prepared in advance, information stored in the topic memory 77 during conversation and the topic memory 7
6 and the information stored in the server 10
It is assumed that it is downloaded from No. 1. In other words, when the topic transition occurs in the robot 1 or when the user transitions the topic, the topic memory 76 stores the information of the topic determined to be talking to the user. If so, it is possible to use a table created in advance. However, if the user causes a topic transition and it is determined that the topic is not stored in the topic memory 76, there is no table created in advance, and it is necessary to create a new one. Such processing will be described later.

【0125】テーブルは、シソーラス(Thesaurus)
(語句を意味により分類し、配列したもの。分類語彙
表)を参考に、大量のコーバスから統計的に同じ文脈に
現れやすい言葉の関連度を取得するなどして作成され
る。
The table is a thesaurus.
It is created by acquiring the relevance of words that are likely to appear statistically in the same context from a large amount of corpus with reference to (words are classified and arranged according to meaning. Classified vocabulary table).

【0126】次に、具体的に、図21に示したテーブル
を参照して、関連度の計算の仕方について説明する。上
述したように、”バスの事故”という情報と”飛行機事
故”という情報との間でのキーワードの組み合わせとし
ては、例えば、「バス」と「飛行機」、「バス」と「事
故」など、72通り存在する。図21に示した例では、
「バス」と「飛行機」の関連度は0.5、「バス」と
「事故」の関係度が0.3というようになっている。
Next, a method of calculating the degree of association will be specifically described with reference to the table shown in FIG. As described above, as the combination of keywords between the information “bus accident” and the information “airplane accident”, for example, “bus” and “airplane”, “bus” and “accident”, etc. Exists. In the example shown in FIG.
The degree of association between "bus" and "airplane" is 0.5, and the degree of association between "bus" and "accident" is 0.3.

【0127】このように、会話中話題メモリ77と、話
題メモリ76に、それぞれ記憶されている情報により、
テーブルを作成し、そのスコアの総和を算出する。ただ
し、このようにして総和を算出するようにすると、キー
ワードの数が多い話題(情報)だと、大きなスコアを持
つ可能性が高くなり、キーワードの数が少ない話題だと
関連度が低いスコアしか持たない可能性が高くなる。そ
こで、総和を算出する際、関連度を計算するときに用い
られたキーワードの組み合わせの個数(図21に示した
例では72)で除算するなどして、正規化するようにし
ても良い。
As described above, the information stored in the conversation topic memory 77 and the topic memory 76, respectively,
Create a table and calculate the sum of the scores. However, when the sum is calculated in this manner, a topic (information) having a large number of keywords has a high possibility of having a large score, and a topic having a small number of keywords has only a score having a low relevance. More likely not to have. Therefore, when calculating the sum, the sum may be normalized by dividing by the number of keyword combinations used in calculating the relevance (72 in the example shown in FIG. 21).

【0128】話題Aから話題Bへと遷移する場合の、各
キーワード間の関連度を関連度abとし、話題Bから話
題Aへと遷移する場合の、各キーワード間の関連度を関
連度baとしたとき、関連度abと関連度baが同じス
コア値をとる時は、図21に示したように、図中左下半
分(或いは右上半分)を用いるようにする。しかし、話
題の遷移に方向性を持たせると設定した場合、テーブル
の全面を使用する必要がる。しかしながら、テーブルの
一部分を用いる場合でも、テーブルの全面を用いる場合
でも、同じアルゴリズムにより処理できる。
When the transition from the topic A to the topic B is performed, the relevance between the keywords is referred to as the relevance ab. When the transition from the topic B to the topic A is performed, the relevance between the keywords is referred to as the relevance ba. Then, when the degree of association ab and the degree of association ba take the same score value, the lower left half (or upper right half) in the figure is used as shown in FIG. However, if it is set that the transition of a topic has a direction, it is necessary to use the entire table. However, the same algorithm can be used when using a part of the table or when using the entire table.

【0129】図21に示したようなテーブルを作成し、
総和を算出する場合、単に総和を算出するのではなく、
現在話している話題の流れを考慮し、キーワードに重み
付けをして総和を算出するようにしても良い。例えば、
現在、話している話題が、”バスの事故が起きたこと”
であるとする。その内容に含まれるキーワードとして、
「バス」、「事故」があるわけだが、それらのキーワー
ドに重み付けをすることにより、それらのキーワードを
含むようなテーブルの総和が高くなる。例えば、重み付
けを2と設定すると、図21のテーブルにおいて、「バ
ス」と「飛行機」の関連度は0.5であるが、重み付け
を行うことにより、2倍の1.0となる。
Create a table as shown in FIG.
When calculating the sum, instead of just calculating the sum,
The sum may be calculated by weighting the keywords in consideration of the current topic flow. For example,
The topic I am currently talking about is "A bus accident happened"
And As a keyword included in the content,
Although there are "buses" and "accidents", by weighting those keywords, the total sum of tables including those keywords is increased. For example, if the weight is set to 2, the degree of association between “bus” and “airplane” is 0.5 in the table of FIG. 21, but is doubled to 1.0 by performing the weighting.

【0130】このように重み付けを行うことにより、遷
移する前の話題と遷移した後の話題との内容が、関連性
のあるものとなり、話題遷移を伴う会話の自然性を増す
ことができる。なお、重み付けしたものをテーブルとし
て用いても良い(テーブルを書き換えるようにしても良
い)し、テーブルは書き換えずに、関連度の総和を計算
する際に重み付けを行うようにしても良い。
By performing the weighting in this way, the contents of the topic before the transition and the topic after the transition become relevant, and the naturalness of conversation involving the topic transition can be increased. The weighted table may be used as a table (the table may be rewritten), or the table may be weighted without calculating the totality of the relevance.

【0131】図20のフローチャートの説明に戻り、ス
テップS12において、上述したように、現在の話題と
別の話題との関連度が計算されると、ステップS13に
おいて、関連度が最も高い話題、換言すれば、総和値が
一番高いテーブルの情報を選択し、その選択した話題を
遷移先の話題として設定する。そして、ステップS14
において、設定された話題に遷移し、新たな会話が開始
される。
Returning to the description of the flowchart in FIG. 20, when the relevance between the current topic and another topic is calculated in step S12 as described above, in step S13, the topic having the highest relevance, that is, Then, the information of the table with the highest total value is selected, and the selected topic is set as the transition destination topic. Then, step S14
In, a transition is made to the set topic, and a new conversation is started.

【0132】ステップS15において、以前の話題遷移
の評価と、その評価に従って、関連度のテーブルの更新
が行われる。このようなステップを設けるのは、同じ話
題でも、ユーザにより感じ方が異なるため、自然な会話
を行うためには、ユーザ毎に適したテーブルが作成され
る必要があるからである。例えば、「事故」というキー
ワードに対して、ユーザAは「列車事故」を思い出し、
ユーザBは「飛行機事故」を思い出し、ユーザCは「交
通事故」を思い出すというように、ユーザにより異な
る。また、ユーザAが札幌に旅行に行く計画をたて、実
際にその計画に従って旅行に出かけた場合、「札幌」と
いうキーワードに対して、同じユーザAであっても、旅
行に行く前と後とでは、思い出すこと、会話の内容の進
め方が異なってくる。
In step S15, the previous topic transition is evaluated, and the relevance table is updated according to the evaluation. The reason for providing such steps is that a user needs to create a table suitable for each user in order to have a natural conversation, because the same topic is felt differently by each user. For example, for the keyword “accident”, user A remembers “train accident”
User B remembers "airplane crash" and user C remembers "traffic accident". Also, if the user A makes a plan to travel to Sapporo and actually goes on a trip according to the plan, even if the user A is the same for the keyword “Sapporo”, before and after the travel, Then, remembering and proceeding with the contents of the conversation will be different.

【0133】即ち、同一の話題であっても、全ユーザに
対して共通の感じ方をするわけではなく、また、同一ユ
ーザにおいても、時間や、その時の状況により感じ方は
変化するので、テーブルの関連度は動的に変化させるよ
うにした方が、より自然に、かつ、ユーザにとって楽し
い会話を提供することができる。そこで、ステップS1
5の処理を設ける。図22は、ステップS15の処理の
詳細を説明するフローチャートである。
That is, even if the topic is the same, not all users have a common feeling, and even the same user has a different feeling depending on time and the situation at that time. If the degree of association is dynamically changed, a more natural and fun conversation for the user can be provided. Therefore, step S1
Step 5 is provided. FIG. 22 is a flowchart illustrating details of the process in step S15.

【0134】ステップS21において、話題の遷移は妥
当であったか否かが判断される。この判断は、ステップ
S14において遷移した話題(話題Tとする)を基準と
した場合、その前の話題T-1と、さらに前の話題T-2の間
で判断される。この判断は、例えば、ロボット1側で、
話題T-2に関して記憶していた情報を、どの程度ユーザ
に伝えたか、例えば、話題T-2に関するキーワードが1
0個であった場合、その10個のキーワードの内、何個
のキーワードを、ユーザに伝えた時点で話題T-1に遷移
したかを調査することにより判断することができる。
In step S21, it is determined whether or not the topic transition was appropriate. This determination is made between the previous topic T-1 and the further previous topic T-2, based on the topic (topic T) transitioned in step S14. This determination is made, for example, on the robot 1 side.
How much information memorized about topic T-2 was conveyed to the user, for example, the keyword about topic T-2 was 1
If the number is 0, it can be determined by investigating how many of the 10 keywords have transitioned to topic T-1 at the time of transmission to the user.

【0135】また、キーワードを多く伝えられたと判断
される場合は、会話時間が長かったということになる。
そこで、話題T-2についての会話が、長時間続いた後に
話題T-1に遷移したか否かを判断することにより遷移が
妥当であったか否かを判断することもできる。このよう
な判断は、ユーザが話題T-2に関して、好意的であった
か否かを判断していることになる。
When it is determined that many keywords have been transmitted, it means that the conversation time has been long.
Therefore, it is also possible to determine whether the transition was appropriate by determining whether the conversation about the topic T-2 has transitioned to the topic T-1 after a long time. Such a determination is to determine whether or not the user was favorable with respect to the topic T-2.

【0136】このような判断の方法を用い、ステップS
21において、話題遷移が妥当であったと判断された場
合、ステップS22に進み、話題T-1と話題T-2との間の
キーワード対を全て作成し、ステップS23において、
その対の部分のスコア値が大きくなるように関連度テー
ブルを更新する。このように、関連度テーブルを更新す
ることにより、次から類似の組み合わせでの遷移が起こ
りやすくなる。
Using such a determination method, step S
If it is determined in step 21 that the topic transition is appropriate, the process proceeds to step S22, in which all keyword pairs between the topics T-1 and T-2 are created. In step S23,
The relevance table is updated so that the score value of the pair becomes large. In this way, by updating the relevance table, the transition in a similar combination is likely to occur from the next time.

【0137】なお、ステップS21において、話題遷移
は妥当ではなかったと判断された場合、関連度テーブル
の更新処理は行われない。これは、妥当ではないと判断
された話題遷移に関する情報を用いないようにするため
である。
If it is determined in step S21 that the topic transition is not appropriate, the relevancy table is not updated. This is to avoid using information on topic transitions determined to be inappropriate.

【0138】このように、話題を遷移するために、会話
中話題メモリ77に記憶されている情報と、話題メモリ
76に記憶されている全ての話題の情報との関連度を計
算し、その総和を比べることにより、遷移先の話題を決
定するのは、計算コストが高くなってしまう。そこで、
話題メモリ76に記憶されている全ての情報について総
和を計算してから、遷移先の話題を決定するのではな
く、遷移先の対象となる話題を選択しながら、話題の遷
移を行うようにすることにより、計算コストを低く抑え
るようにする。そのような場合の会話処理部38の動作
について、図23のフローチャートを参照して説明す
る。
As described above, in order to change the topic, the degree of relevance between the information stored in the topic memory 77 during conversation and the information of all topics stored in the topic memory 76 is calculated, and the sum is calculated. , The determination of the transition destination topic increases the computational cost. Therefore,
After calculating the sum of all the information stored in the topic memory 76, the transition of the topic is performed while selecting the topic to be the transition destination, instead of determining the topic of the transition destination. Thereby, the calculation cost is kept low. The operation of the conversation processing unit 38 in such a case will be described with reference to the flowchart in FIG.

【0139】ステップS31において、話題管理部74
は、既に上述したような方法により、話題の遷移を起こ
すか否かを判断し、話題の遷移を起こすと判断した場
合、ステップS32に進む。ステップS32において、
話題メモリ76から1つの話題の情報を選択する。その
選択された情報と、会話中話題メモリ77に記憶されて
いる情報との関連度を、ステップS33において計算す
る。ステップS33において行われる関連度の計算、お
よび総和は、図20のフローチャートを参照して説明し
た場合と同様に行われる。
In step S31, the topic management unit 74
Determines whether or not to cause a topic transition by the method described above, and if it is determined to cause a topic transition, the process proceeds to step S32. In step S32,
One topic information is selected from the topic memory 76. In step S33, the degree of association between the selected information and the information stored in the topic memory 77 during conversation is calculated. The calculation of the relevance and the summation performed in step S33 are performed in the same manner as in the case described with reference to the flowchart in FIG.

【0140】ステップS34において、ステップS33
において計算された総和値が、閾値を越えたか否かが判
断される。ステップS33において、総和値が閾値を越
えてはいないと判断された場合、ステップS32に戻
り、新たな話題に関する情報が話題メモリ76から読み
出され、その情報に対して処理が行われる。
In step S34, in step S33
It is determined whether or not the total value calculated in the step has exceeded the threshold value. If it is determined in step S33 that the total value does not exceed the threshold value, the process returns to step S32, where information on a new topic is read from the topic memory 76, and the information is processed.

【0141】一方、ステップS34において、総和値が
閾値を越えたと判断された場合、ステップS35に進
み、最近話した話題であるか否かが判断される。例え
ば、ステップS32における処理で、話題メモリ76か
ら読み出された話題の情報が、現在話している話題の前
の話題であったという場合が想定される。同じ話題が繰
り返されるというのは不自然であり、会話を不愉快なも
のにしてしまう原因となるので、そのような事を防ぐた
めに、ステップS35における処理を設ける。
On the other hand, if it is determined in step S34 that the total value has exceeded the threshold value, the flow advances to step S35 to determine whether or not the topic has recently been talked about. For example, it is assumed that the topic information read from the topic memory 76 in the process in step S32 is a topic before the topic currently being talked about. The repetition of the same topic is unnatural and may cause the conversation to be unpleasant. To prevent such a situation, the process in step S35 is provided.

【0142】ステップS35の処理は、会話履歴メモリ
75(図5)を調査することにより行われる。会話履歴
メモリ75内の情報を調査することにより、最近話した
話題ではないと判断された場合、ステップS36に進
み、最近話した話題であると判断された場合、ステップ
S32に戻り、それ以降の処理が繰り返される。ステッ
プS36において、選択された話題に遷移される。
The processing in step S35 is performed by checking the conversation history memory 75 (FIG. 5). By examining the information in the conversation history memory 75, if it is determined that the topic is not a topic recently talked, the process proceeds to step S36. If it is determined that the topic is a topic recently spoken, the process returns to step S32, and the subsequent steps are performed. The process is repeated. In step S36, a transition is made to the selected topic.

【0143】図24にロボット1とユーザとの間で交わ
される会話の一例を示す。時刻t1において、ロボット
1が、話題メモリ76に記憶されている情報のなかで、
事項(図19)という項目が”バスの事故”というのを
選択し、会話を始める。まず、ロボット1が、”札幌で
バスの事故がありましたね。”と発話し、それに対して
ユーザが、時刻t2において、”いつ?”と質問する。
ロボット1は、その質問に対し、時刻t3において、”
12月10日”と答え、ユーザは、その答えを受けて、
時刻t4において、”けがをした人はいたの?”と新た
な質問をする。
FIG. 24 shows an example of a conversation between the robot 1 and the user. At time t 1 , the robot 1 determines that among the information stored in the topic memory 76,
The item "item (FIG. 19)" is selected as "bus accident" and conversation is started. First, the robot 1, "we had an accident of bus in Sapporo." And speaks, the user is against it, at time t 2, to question and "When?".
The robot 1 responds to the question at time t 3 by saying “
December 10 ", the user receives the answer,
At time t 4, to the new questions and "to No person is you want to hurt?".

【0144】ロボット1は、時刻t5において”10人
です”と返答する。ユーザは、時刻t6において、”ふ
ーん”と相づちを打つ。このような会話が交わされてい
る間、上述したような処理が繰り返し行われている。そ
して、ロボット1が、時刻t 7において、話題の遷移を
起こすと判断し、新たな話題として、事項という項目
が”飛行機事故”という話題を選択する。これは、上述
したように、遷移する前と後とでの話題には、”事
故”、”2月”、”10日”、”けが”といったキーワ
ードが一致し、関連度が高いと判断されるからである。
At the time tFiveIn "10 people
The user responds at time t6In,
And that ’s a conversation.
During this time, the above-described processing is repeatedly performed. So
Then, the robot 1 moves at time t 7In, the transition of the topic
Judge that it will happen, and as a new topic, item
Chooses the topic "airplane crash". This is
As mentioned before, the topics before and after the transition
Keys such as "", "February", "10th", "Injury"
This is because the codes match and the degree of association is determined to be high.

【0145】ロボット1は、話題の遷移を起こした結
果、時刻t7において、”同じ日に、飛行機事故もあっ
たんですよね”と発話する。それに対し、ユーザは、時
刻t8において、”インドのやつ?”と興味を持ち、確
認するような発話をする。そこで、ロボット1は、さら
に会話を続けるために、ユーザの質問に対し、時刻t9
において、”そうです、原因がわからない事故です”と
肯定し、さらに、原因不明である事実を、ユーザに提供
する。ユーザは、時刻t10におて、”どれくらいけがし
たの?”と質問し、ロボット1が、時刻t11におい
て、”100人です”と返答する。
[0145] The robot 1, a result that caused the transition of the topic, at time t 7, "on the same day, but it is there was also an airplane accident" speaks. In contrast, a user is, at time t 8, "the guy in India?" And interested, to the speech, such as to check. Then, in order to continue the conversation further, the robot 1 responds to the user's question at time t 9.
Affirmatively, "Yes, this is an accident whose cause is unknown," and further provide the user with facts of unknown cause. The user you to time t 10, "how much hurt was that?" And ask questions, the robot 1, at time t 11, to reply with "100 people".

【0146】このように、上述した方法により話題を遷
移させることにより、自然な会話を成立させる事が可能
となる。
As described above, by transiting topics by the above-described method, a natural conversation can be established.

【0147】なお、図24に示した会話例において、ユ
ーザが、時刻t8において、”ちょっと待ってよ。バス
の事故の原因はなんだったの?”といったような、話題
の遷移を受け入れず、遷移前の話題に戻るような明示的
な発話がなされたり、または、遷移した話題に対しての
応答に時間が空いたような場合、遷移した話題がユーザ
に受け入れられなかったと判断し、遷移する前の話題に
戻り、会話を続ける。
[0147] It should be noted that, in conversation example shown in FIG. 24, the user is, at time t 8, "I Wait a minute. Was it what the cause of the bus accident?", Such as, not accept the transition of the topic If an explicit utterance is made to return to the topic before the transition, or if there is time to respond to the transitioned topic, it is determined that the transitioned topic was not accepted by the user, and the transition is made. Return to the topic before the conversation and continue the conversation.

【0148】上述して説明(全ての話題に関するテーブ
ルを作成し、その中で総和値が最も高いのを遷移先の話
題として選択する場合の説明)では、話題を遷移させる
とき、話題メモリ76に、遷移させるのに適した話題の
情報がある、換言すれば、関連度が低い情報でも、他の
情報に比べて高ければ、遷移先の話題として選択される
ので、場合によっては、自然な会話の流れではなくなる
(全く異なる話題に遷移される)時が想定される。
In the above description (in the case where a table relating to all topics is created and the highest sum value is selected as the transition destination topic), when transitioning the topic, the topic memory 76 If there is information on a topic that is suitable for making a transition, in other words, even if the degree of relevance is low compared to other information, it will be selected as the transition destination topic. It is assumed that the flow will no longer flow (transition to a completely different topic).

【0149】そのような事を防ぐため、例えば、関連度
(総和値)が所定値以下の話題しか、選択できないよう
な状況の場合、または、上述した説明で、1つの話題を
選択し、その話題の総和値が閾値以上であれば、その話
題を遷移先の話題とする方法において、閾値以上の話題
が見つからなかったような場合、”ところで”、”そう
いえば”などの言葉を発話し、全く異なる話題をユーザ
に提供するようにしても良い。
In order to prevent such a situation, for example, in a situation where only topics whose relevance (sum value) is equal to or less than a predetermined value can be selected, or by selecting one topic in the above description, If the sum of the topics is equal to or greater than the threshold, in the method of using that topic as the transition destination topic, if no topic with the threshold or higher is found, say words such as "By the way" or "Speaking", A completely different topic may be provided to the user.

【0150】また、上述した説明では、ロボット1が話
題を遷移する場合を説明したが、ユーザが話題を遷移す
る場合も想定される。図25のフローチャートを参照し
て、ユーザが話題を遷移させた場合に対応した処理を行
うために会話処理部38が行う動作について説明する。
ステップS41において、ロボット1の話題管理部74
は、ユーザが発話した話題が、現在会話している話題
(会話中話題メモリ77に記憶されている話題)と関連
しているか否かを判断する。この判断は、上述したロボ
ット1が自発的に話題を遷移させる際に用いた、話題間
(キーワード)間の関連度の計算の方法と同様の方法を
用いて行う事が可能である。
Further, in the above description, the case where the robot 1 makes a transition to a topic has been described. However, it is also assumed that the user makes a transition to a topic. With reference to the flowchart of FIG. 25, an operation performed by the conversation processing unit 38 to perform a process corresponding to a case where the user has changed topics will be described.
In step S41, the topic management unit 74 of the robot 1
Determines whether the topic spoken by the user is related to the topic currently being talked about (the topic stored in the talking topic memory 77). This determination can be made using the same method as the method of calculating the degree of association between topics (keywords) used when the robot 1 voluntarily transitions topics.

【0151】すなわち、ユーザの単発の発話から取り出
されたキーワード群と、現在話されている話題のキーワ
ードとの関連度を計算し、所定の閾値の条件を満たすな
ら、関連性があると判断する。例えば、ユーザが、”そ
ういえば、札幌で雪祭りがあるんだよね”と発話したと
する。その発話からキーワードを抽出した場合、「札
幌」、「雪祭り」などがある。これらのキーワードと、
現在話している話題のキーワード群とを用いて、話題間
の関連度の計算を行い、その計算結果により関連性があ
るか否かを判断する。
That is, the degree of relevance between the keyword group extracted from the single utterance of the user and the keyword of the topic currently being talked on is calculated, and if a predetermined threshold condition is satisfied, it is determined that there is relevance. . For example, suppose the user uttered, "Speaking of which, there is a snow festival in Sapporo, right?" When keywords are extracted from the utterance, there are "Sapporo" and "Snow Festival". These keywords,
The degree of relevance between topics is calculated using the keyword group of the topic currently being talked about, and whether or not there is relevance is determined based on the calculation result.

【0152】ステップS41において、現在の話題と関
連していると判断された場合、ユーザの話題遷移に追従
する処理を行う必要はないので、フローチャートの処理
は終了される。一方、ステップS41において、現在話
している話題と関連していないと判断された場合、ステ
ップS42に進む。ステップS42において、話題の遷
移を許容するか否かが判断される。
If it is determined in step S41 that the process is related to the current topic, the process of the flowchart ends because there is no need to perform the process of following the topic transition of the user. On the other hand, when it is determined in step S41 that the topic is not related to the topic currently being talked to, the process proceeds to step S42. In step S42, it is determined whether or not topic transition is allowed.

【0153】話題の遷移を許容するか否かの判断は、例
えば、ロボット1側が、現在話している話題に対して、
まだ話す情報がある場合は許容しないなどの規則を設け
ることにより行われる。また、上述したロボット1側か
ら話題を遷移する場合の処理と、同様に行うようにして
も良い。すなわち、ロボット1側で、話題を遷移するタ
イミングではないと判断される場合は、話題の遷移を許
容しないようにする。しかしながら、このように設定し
てしまうと、話題の遷移の決定は、ロボット1側のみし
か行えないことになるので、ロボット1側から話題を遷
移する場合に対して、ユーザ側から話題を遷移する場合
は、遷移しやすいように、確率値を設定するなどの処理
が必要である。
The determination as to whether or not the topic transition is allowed is made, for example, by the robot 1
This is done by setting rules such as not permitting if there is still information to be spoken. Further, the above-described processing when the topic is changed from the robot 1 side may be performed in the same manner. In other words, when it is determined that the timing of the topic transition is not reached on the robot 1 side, the topic transition is not permitted. However, if the setting is made in this way, the topic transition can be determined only by the robot 1 side. Therefore, when the topic is transitioned from the robot 1 side, the topic is transitioned from the user side. In such a case, processing such as setting a probability value is required so that the transition is easy.

【0154】ステップS42において、話題の遷移を許
容しないと判断された場合、話題を遷移しないので、こ
のフローチャートの処理は終了される。一方、ステップ
S42において、話題の遷移を許容すると判断された場
合、ユーザが話している話題を認識する必要があるの
で、ステップS43において、ユーザが話している話題
を話題メモリ76から検索する。
If it is determined in step S42 that the transition of the topic is not permitted, the topic is not changed, and the process of this flowchart is terminated. On the other hand, if it is determined in step S42 that the transition of the topic is permitted, it is necessary to recognize the topic that the user is talking about. Therefore, in step S43, the topic that the user is talking is retrieved from the topic memory 76.

【0155】話題メモリ76から、ユーザが話している
話題を検索する方法としては、ステップS41において
行った方法と同じように、ユーザの発話から抽出された
キーワードと話題メモリ76に記憶されている全ての話
題(情報)のキーワード群との関連度(の総和)を計算
することにより、その計算結果が最も大きい値の情報
を、まずユーザが話している話題の候補とし、その候補
の計算結果が所定値以上であれば、その情報をユーザが
話している話題であるとして決定する。このような方法
は、ユーザが話している話題と一致する確率が高く、信
頼性があるが、計算コストが高くなる。
As a method of searching the topic memory 76 for the topic that the user is talking about, the keyword extracted from the user's utterance and all the keywords stored in the topic memory 76 are the same as in the method performed in step S41. By calculating the degree of relevance (sum) of the topics (information) to the keyword group, the information having the largest calculation result is first set as a candidate for the topic that the user is talking about, and the calculation result of the candidate is If the value is equal to or more than the predetermined value, the information is determined to be a topic that the user is talking about. Such a method has a high probability of being consistent with the topic the user is talking about and is reliable, but at the expense of computational cost.

【0156】そこで、話題メモリ76から、1つの情報
を選択し、その情報のキーワード群との関連度を計算
し、その計算結果が所定値以上であれば、その話題をユ
ーザが話している話題として決定する。このような処理
を所定値以上である情報が検出されるまで繰り返し行う
ことにより、ユーザが遷移したであろう話題を検索す
る。
Therefore, one piece of information is selected from the topic memory 76, the degree of relevance of the information to the keyword group is calculated, and if the calculation result is equal to or more than a predetermined value, the topic is discussed by the user. To be determined. By repeatedly performing such processing until information having a value equal to or more than a predetermined value is detected, a topic to which the user has transitioned is searched.

【0157】このような検索処理が行われることによ
り、ユーザが話している話題であると推定される話題が
検索されたか否かが、ステップS44において行われ
る。ステップS44において、話題が検索されたと判断
された場合、ステップS45に進み、その検索された話
題(情報)を会話中話題メモリ77に移すことにより、
話題を遷移したこととする。
By performing such a search process, it is determined in step S44 whether or not a topic presumed to be the topic talked by the user has been searched. If it is determined in step S44 that the topic has been searched, the process proceeds to step S45, in which the searched topic (information) is moved to the topic memory 77 during conversation.
The topic has changed.

【0158】一方、ステップS44において、話題が検
索されなかったと判断された場合、換言すれば、関連度
の総和値が所定値を越えた情報がなかったと判断された
場合、ステップS46に進む。ステップS46の処理に
来るということは、ロボット1が知り得ている情報以外
の情報を、ユーザが話していると言うことなので、ロボ
ット1にとっては未知の話題に遷移したとして、会話中
話題メモリ77内の情報をクリアする。
On the other hand, if it is determined in step S44 that no topic has been searched, in other words, if it is determined that there is no information in which the total value of the relevance exceeds a predetermined value, the flow proceeds to step S46. Since coming to the process of step S46 means that the user is talking information other than the information that the robot 1 can know, it is determined that the topic has changed to a topic unknown to the robot 1 and the conversation topic memory 77 Clear the information in

【0159】未知の話題に遷移した場合、ロボット1
は、ユーザに対して質問をするなどして会話を続ける。
また、会話を交わすなかで、会話中話題メモリ77に話
題に関する情報を記憶していく。ロボット1は、このよ
うして新しい話題が入力された場合、上述した関連度の
テーブルを更新する。図26のフローチャートを参照し
て、新しく入力された話題によりテーブルが更新される
際の処理について説明する。ステップS51において、
新しい話題が入力される。新しい話題が入力される状況
としては、このように、ユーザがロボット1が取得して
いない情報の話題を話す場合と、ネットワークなどを介
して情報nをダウンロードした場合などが想定される。
When a transition to an unknown topic occurs, the robot 1
Keeps talking by asking a question to the user.
Further, during the conversation, information about the topic is stored in the topic memory 77 during the conversation. When a new topic is thus input, the robot 1 updates the above-described relevance table. With reference to the flowchart in FIG. 26, a process when the table is updated with a newly input topic will be described. In step S51,
A new topic is entered. As situations in which a new topic is input, it is assumed that the user speaks about a topic of information that the robot 1 has not acquired, or that the user downloads the information n via a network or the like.

【0160】新しい話題が入力されると、ステップS5
2において、その入力された話題からキーワードが抽出
される。そして、ステップS53において、抽出された
キーワードの対が全て生成される。その結果を受けてス
テップS54において、キーワード間の関連度テーブル
が更新される。ステップS54の処理は、図21に示し
たフローチャートのステップS23の処理と同様なの
で、その説明は省略する。
When a new topic is input, step S5
In 2, a keyword is extracted from the input topic. Then, in step S53, all pairs of the extracted keywords are generated. In response to the result, in step S54, the relevance table between the keywords is updated. The processing in step S54 is the same as the processing in step S23 in the flowchart shown in FIG. 21, and a description thereof will be omitted.

【0161】このように、話題の遷移は、ロボット1側
から起こす場合と、ユーザ側から起こす場合とが、実際
の会話のなかでは混在している。そこで、会話処理部3
8が行う話題の遷移に関する大筋の流れとしては、図2
6のフローチャートに従う。すなわち、ステップS61
において、ユーザ側の話題遷移への追従処理が行われ
る。この処理は、図25のフローチャートの処理のこと
である。
As described above, the case where the topic transition occurs from the robot 1 side and the case where the topic transition occurs from the user side are mixed in the actual conversation. Therefore, the conversation processing unit 3
Figure 8 shows the general flow of topic transitions
6 is followed. That is, step S61
, A process of following the topic transition on the user side is performed. This processing is the processing of the flowchart in FIG.

【0162】ステップS61の処理の結果、ステップS
62において、ユーザが話題を遷移させたか否かが判断
される。すなわち、図25のフローチャートにおいて、
ステップS41において、現在の話題と関連していると
判断された場合、ステップS62では、話題を遷移させ
てはいないと判断され、ステップS41において、現在
の話題と関連していないと判断され、それ以降の処理が
された場合、ステップS62では、話題を遷移させたと
して判断される。
As a result of the processing in step S61, step S61
At 62, it is determined whether the user has transitioned the topic. That is, in the flowchart of FIG.
If it is determined in step S41 that the topic is related to the current topic, it is determined in step S62 that the topic has not been changed, and in step S41 it is determined that the topic is not related to the current topic. If the subsequent processing has been performed, it is determined in step S62 that the topic has been changed.

【0163】ステップS62において、話題は遷移され
ていないと判断された場合、ステップS63に進み、ロ
ボット1側の自発的な話題遷移が行われる。この処理
は、図20または図23のフローチャートの処理のこと
である。
If it is determined in step S62 that the topic has not been changed, the process proceeds to step S63, in which the robot 1 voluntarily changes the topic. This processing is the processing of the flowchart in FIG. 20 or FIG.

【0164】このように、ユーザの話題遷移をロボット
1の話題遷移よりも優先することは、ユーザ側に会話の
主導権を与えていることになる。ステップS61とステ
ップS63の処理を入れ替えた場合、ロボット1側に会
話の主導権を与えていることになる。このようなことを
利用し、例えば、ユーザの接し方により、ロボット1が
わがままに育ってしまった場合、ロボット1が会話の主
導権を握るように設定され、ロボット1にしつけが行き
届いている場合、ユーザが会話の主導権を握るように設
定されるようにしても良い。
As described above, giving priority to the topic transition of the user over the topic transition of the robot 1 means giving the user the initiative of the conversation. When the processes of step S61 and step S63 are interchanged, it means that the robot 1 has been given the initiative of the conversation. Utilizing such a thing, for example, when the robot 1 grows up by the way of contact of the user, when the robot 1 is set to take the initiative of the conversation, and when the robot 1 is well-trained Alternatively, the setting may be made so that the user takes the initiative in the conversation.

【0165】上述した説明においては、属性として情報
に含まれるキーワードを用いる場合を説明したが、属性
として、図28に示すように、分類、場所、時間などを
用いるようにしても良い。このような属性を用いた場
合、図28に示した例では、1つの情報に、1つ又は2
つの値しか持たない時が多い。このような場合において
も、キーワードの場合と同じように処理することが可能
である。例えば、属性として分類の場合、基本的に1つ
の値しか持たないが、キーワードのように複数の値を持
つ場合の特殊な例として扱うことが可能なため、上述し
たキーワードの場合と同様に扱うこと(テーブルを作成
すること)が可能である。
In the above description, the case where the keyword included in the information is used as the attribute has been described. However, as shown in FIG. 28, the classification, location, time, etc. may be used. When such attributes are used, in the example shown in FIG. 28, one or two
Often only has one value. In such a case, it is possible to perform the same processing as in the case of the keyword. For example, in the case of classification as an attribute, it basically has only one value, but it can be handled as a special example in the case of having a plurality of values like a keyword. (Creating a table) is possible.

【0166】属性は、例えば、キーワードと分類という
ように複数併用するようにしても良い。複数の属性を併
用する場合、それぞれの属性において、関連度の計算を
し、重み付け線形和をとって最終的な判断結果として用
いるようにする。
A plurality of attributes such as a keyword and a classification may be used in combination. When a plurality of attributes are used in combination, the relevance is calculated for each attribute, a weighted linear sum is obtained, and the result is used as a final determination result.

【0167】自然な会話を行うために、また、自然な話
題遷移を行うために、話題メモリ76には、ユーザの趣
向(プロファイル)にあった話題(情報)が記憶されて
いることは上述した。また、そのプロファイルは、ロボ
ット1とユーザとの会話のなかで取得する、または、ロ
ボット1がコンピュータと接続され、そのコンピュータ
を用いてユーザがロボット1に入力するなどされるとい
うことも上述した。ここでは、ユーザとの会話により、
ロボット1が、そのユーザのプロファイルを作成する場
合を、具体例を挙げて説明する。
As described above, the topic memory 76 stores topics (information) suitable for the user's tastes (profiles) for natural conversation and natural topic transition. . In addition, it has been described above that the profile is acquired in a conversation between the robot 1 and the user, or that the robot 1 is connected to a computer and the user inputs to the robot 1 using the computer. Here, by conversation with the user,
A case where the robot 1 creates a profile of the user will be described with a specific example.

【0168】図29に示すように、時刻t1において、
ロボット1が、”昨日、何かおもしろいことがあった
?”とユーザに対して質問する。この質問に対して、ユ
ーザが時刻t2において、”タイトルAという映画を見
たよ”と返答する。この返答から、ユーザのプロファイ
ルに「タイトルA」という情報が追加される。さらに、
時刻t3において、ロボット1が”おもしろかった?”
と質問すると、ユーザは、時刻t4において、”おもし
ろかったよ。特に、B役で出ていた俳優Cさんが良い演
技をしていたよ”と返答する。この返答から、「俳優
C」という情報がプロファイルに追加される。
As shown in FIG. 29, at time t 1 ,
The robot 1 asks the user "What happened yesterday?" To this question, the user at time t 2, to reply with "I saw a movie called title A". From this response, information “Title A” is added to the user profile. further,
At time t 3 , the robot 1 asked “was interesting?”
At time t 4 , the user replies, “It was interesting. In particular, actor C, who was in the role of B, was performing well.” From this response, the information “Actor C” is added to the profile.

【0169】このようにして、ロボット1は、会話の中
からユーザの趣向を取得していく。なお、趣向を取得す
るという目的から、図29に示した会話例において、ユ
ーザが時刻t4において、”おもしろくなかった”と返
答した場合、「タイトルA」をプロファイルに追加しな
いようにしても良い。
In this way, the robot 1 acquires the user's preferences from the conversation. For the purpose of acquiring the taste, in the example of the conversation shown in FIG. 29, if the user replies “not interesting” at time t 4 , “Title A” may not be added to the profile. .

【0170】数日後、このようなプロファイルに従い、
サーバ101からロボット1に、例えば、”俳優C主演
の最新作「タイトルB」、明日公開、新宿では○○館で
上映”という情報がダウンロードされたとする。ロボッ
ト1は、その情報から、ユーザに対して、時刻t1’に
おいて、”俳優Cさんが主演している新しい映画が公開
されるよ”と話かける。ユーザは、数日前に、俳優Cさ
んの演技をほめていることから、その話題に興味を持
ち、時刻t2’において、”いつから?”と質問する。
ロボット1は、既にいつ公開されるのかの情報を取得し
ている。また、既にユーザの最寄り駅の情報(プロファ
イル)から、最寄りの映画館の情報も取得することが可
能であり、この例では、既に取得している。
After several days, according to such a profile,
For example, it is assumed that information such as “Latest work“ Title B ”starring actor C, released tomorrow, and screened at XX hall in Shinjuku” is downloaded from the server 101 to the robot 1. On the other hand, at time t 1 ′, the user says, “A new movie starring Actor C will be released.” Since the user praised Actor C several days ago, Interested in the topic, at time t 2 ′, “From when? "
The robot 1 has already acquired information on when it will be released. In addition, information on the nearest movie theater can already be obtained from the information (profile) of the station nearest to the user. In this example, the information has already been obtained.

【0171】ロボット1は、時刻t3’において、ユー
ザの質問に対し、取得している情報を基に、”明日から
です。新宿だと、○○館で上映しますよ”と返答する。
ユーザは、その情報を得て、時刻t4’において、”見
たいなー”と発話する。
At time t 3 ′, the robot 1 replies to the user's question, “From tomorrow. If it is Shinjuku, it will be screened at the XX hall” based on the acquired information.
The user obtains the information and utters “I want to see” at time t 4 ′.

【0172】このようにして、ユーザのプロファイルに
基づく情報を、会話という方法で伝えることにより、自
然な宣伝を行うことが可能となる。すなわち、上述した
会話例では、”タイトルB”という映画の宣伝を行えた
ことになる。
[0172] In this way, by transmitting information based on the user's profile in a manner of conversation, natural advertising can be performed. That is, in the above-described conversation example, the advertisement of the movie "Title B" was performed.

【0173】なお、サーバ101に記憶されたプロファ
イル、または、ユーザが自発的に提供したプロファイル
を用いて、広告代理店などは、ユーザに対して自社の製
品宣伝などのダイレクトメールを送付できるようにして
も良い。
By using the profile stored in the server 101 or the profile voluntarily provided by the user, the advertising agency or the like can send a direct mail such as a product advertisement of the company to the user. May be.

【0174】上述した実施の形態においては、音声によ
りユーザと会話を行ったが、文字により会話を行うよう
な場合にも適用できる。
In the above-described embodiment, the conversation with the user is made by voice. However, the present invention can be applied to a case where the conversation is made by text.

【0175】上述した一連の処理は、ハードウェアによ
り実行させることもできるが、ソフトウェアにより実行
させることもできる。一連の処理をソフトウェアにより
実行させる場合には、そのソフトウェアを構成するプロ
グラムが専用のハードウェアに組み込まれているコンピ
ュータ、または、各種のプログラムをインストールする
ことで、各種の機能を実行することが可能な、例えば汎
用のパーソナルコンピュータなどに、記録媒体からイン
ストールされる。
The above-described series of processing can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, it is possible to execute various functions by installing a computer in which the programs constituting the software are embedded in dedicated hardware, or by installing various programs For example, it is installed from a recording medium to a general-purpose personal computer or the like.

【0176】この記録媒体は、図30に示すように、コ
ンピュータとは別に、ユーザにプログラムを提供するた
めに配布される、プログラムが記録されている磁気ディ
スク211(フロッピディスクを含む)、光ディスク2
12(CD-ROM(Compact Disk-Read Only Memory),DVD
(Digital Versatile Disk)を含む)、光磁気ディスク
213(MD(Mini-Disk)を含む)、若しくは半導体メ
モリ214などよりなるパッケージメディアにより構成
されるだけでなく、コンピュータに予め組み込まれた状
態でユーザに提供される、プログラムが記憶されている
ROM202や記憶部208が含まれるハードディスクな
どで構成される。
As shown in FIG. 30, this recording medium is distributed separately from a computer in order to provide the user with the program. The magnetic disk 211 (including a floppy disk) on which the program is recorded, the optical disk 2
12 (CD-ROM (Compact Disk-Read Only Memory), DVD
(Including a Digital Versatile Disk), a magneto-optical disk 213 (including an MD (Mini-Disk)), or a package medium such as a semiconductor memory 214, as well as a user installed in a computer in advance. Is stored in the program
The hard disk includes a ROM 202 and a storage unit 208.

【0177】なお、本明細書において、媒体により提供
されるプログラムを記述するステップは、記載された順
序に従って、時系列的に行われる処理は勿論、必ずしも
時系列的に処理されなくとも、並列的あるいは個別に実
行される処理をも含むものである。
[0177] In this specification, the steps of describing a program provided by a medium are not necessarily performed in chronological order but may be performed in chronological order according to the described order. Alternatively, it also includes individually executed processing.

【0178】また、本明細書において、システムとは、
複数の装置により構成される装置全体を表すものであ
る。
In this specification, the system is defined as:
It represents the entire device composed of a plurality of devices.

【0179】[0179]

【発明の効果】以上の如く請求項1に記載の会話処理装
置、請求項8に記載の会話処理方法、および請求項9に
記載の記録媒体によれば、第1の話題に関し、複数の項
目から構成されるフレームを生成し、生成されたフレー
ム内の項目毎に、第1の話題に関してユーザと会話した
内容に基づく所定の値を設定し、その設定された値の平
均値に基づき、第2の話題に遷移するか否かを判断する
ようにしたので、ユーザと自然な会話を行うことが可能
となる。
As described above, according to the conversation processing apparatus of the first aspect, the conversation processing method of the eighth aspect, and the recording medium of the ninth aspect, a plurality of items relating to the first topic are provided. Is generated, and for each item in the generated frame, a predetermined value is set based on the content of the conversation with the user on the first topic, and based on the average value of the set values, Since it is determined whether or not to transition to the second topic, it is possible to have a natural conversation with the user.

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

【図1】本発明を適用したロボットの一実施の形態の外
観構成例を示す斜視図である。
FIG. 1 is a perspective view illustrating an external configuration example of a robot according to an embodiment of the present invention.

【図2】図1のロボットの内部構成例を示すブロック図
である。
FIG. 2 is a block diagram showing an example of the internal configuration of the robot shown in FIG.

【図3】図2のコントローラ10の機能的構成例を示す
ブロック図である。
FIG. 3 is a block diagram illustrating a functional configuration example of a controller 10 of FIG. 2;

【図4】音声認識部31Aの内部構成を示すブロック図
である。
FIG. 4 is a block diagram showing an internal configuration of a speech recognition unit 31A.

【図5】会話処理部38の内部構成を示すブロック図で
ある。
FIG. 5 is a block diagram showing an internal configuration of a conversation processing unit 38.

【図6】音声合成部36の内部構成を示すブロック図で
ある。
FIG. 6 is a block diagram showing an internal configuration of a speech synthesis unit 36.

【図7】情報nをダウンロードする際のシステム構成を
示すブロック図である。
FIG. 7 is a block diagram showing a system configuration when downloading information n.

【図8】図7のシステムの詳細な構成を示す図である。FIG. 8 is a diagram showing a detailed configuration of the system of FIG. 7;

【図9】図7のシステムの詳細な他の構成を示す図であ
る。
FIG. 9 is a diagram showing another detailed configuration of the system of FIG. 7;

【図10】話題遷移のタイミングについて説明する図で
ある。
FIG. 10 is a diagram illustrating the timing of topic transition.

【図11】話題遷移のタイミングについて説明する図で
ある。
FIG. 11 is a diagram illustrating the timing of topic transition.

【図12】話題遷移のタイミングについて説明する図で
ある。
FIG. 12 is a diagram illustrating the timing of topic transition.

【図13】話題遷移のタイミングについて説明する図で
ある。
FIG. 13 is a diagram illustrating the timing of topic transition.

【図14】話題遷移のタイミングを説明するフローチャ
ートである。
FIG. 14 is a flowchart illustrating the timing of topic transition.

【図15】話題遷移のタイミングを決定する平均値と確
率値との関係を示す図である。
FIG. 15 is a diagram illustrating a relationship between an average value for determining a topic transition timing and a probability value.

【図16】発話パターンを説明する図である。FIG. 16 is a diagram illustrating an utterance pattern.

【図17】話題遷移のタイミングを決定する会話が途絶
えた時間と確率値との関係を示す図である。
FIG. 17 is a diagram illustrating a relationship between a time at which a conversation for determining a topic transition timing is interrupted and a probability value;

【図18】話題メモリ76に記憶された情報について説
明する図である。
FIG. 18 is a diagram illustrating information stored in a topic memory 76.

【図19】属性がキーワードである場合について説明す
る図である。
FIG. 19 is a diagram illustrating a case where an attribute is a keyword.

【図20】話題遷移について説明するフローチャートで
ある。
FIG. 20 is a flowchart illustrating topic transition.

【図21】テーブルについて説明する図である。FIG. 21 is a diagram illustrating a table.

【図22】図20のフローチャートのステップS15の
処理の詳細を示すフローチャートである。
FIG. 22 is a flowchart showing details of a process in step S15 of the flowchart in FIG. 20;

【図23】話題遷移について説明する他のフローチャー
トである。
FIG. 23 is another flowchart illustrating topic transition.

【図24】ロボット1とユーザの間で交わされる会話の
一例を説明する図である。
FIG. 24 is a diagram illustrating an example of a conversation exchanged between the robot 1 and a user.

【図25】ユーザ側が話題遷移した場合のロボット1の
動作について説明するフローチャートである。
FIG. 25 is a flowchart illustrating an operation of the robot 1 when a user makes a topic transition.

【図26】関連度テーブルの更新について説明するフロ
ーチャートである。
FIG. 26 is a flowchart illustrating updating of a relevance table.

【図27】会話処理部38の動作について説明するフロ
ーチャートである。
FIG. 27 is a flowchart illustrating the operation of the conversation processing unit 38.

【図28】属性について説明する図である。FIG. 28 is a diagram illustrating attributes.

【図29】ロボット1とユーザの間で交わされる会話の
一例を説明する図である。
FIG. 29 is a diagram illustrating an example of a conversation exchanged between the robot 1 and a user.

【図30】媒体を説明する図である。FIG. 30 is a diagram illustrating a medium.

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

10 コントローラ, 10A CPU, 10B メモ
リ, 15 マイク,16 CCD, 17 タッチセン
サ, 18 スピーカ, 19 通信部,31 センサ
入力処理部, 31A 音声認識部, 31B 画像認
識部, 31C 圧力処理部, 32 感情/本能モデ
ル部, 33 行動決定機構部,34 姿勢遷移機構
部, 35 制御機構部, 36 音声合成部, 37
音響処理部, 38 会話処理部, 74 話題管理
部, 75 会話履歴メモリ, 76 話題メモリ,
77 会話中話題メモリ, 101 サーバ, 103
通信装置, 110 話題データベース, 111
プロファイルメモリ,112 フィルタ、 141 ロ
ボット用フレーム, 142 ユーザ用フレーム
10 controller, 10A CPU, 10B memory, 15 microphone, 16 CCD, 17 touch sensor, 18 speaker, 19 communication unit, 31 sensor input processing unit, 31A voice recognition unit, 31B image recognition unit, 31C pressure processing unit, 32 emotion / Instinct model section, 33 action decision mechanism section, 34 attitude transition mechanism section, 35 control mechanism section, 36 voice synthesis section, 37
Sound processor, 38 conversation processor, 74 topic manager, 75 conversation history memory, 76 topic memory,
77 topic memory during conversation, 101 server, 103
Communication device, 110 topic database, 111
Profile memory, 112 filters, 141 Robot frame, 142 User frame

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G10L 15/00 G10L 3/00 551H 9A001 15/22 571U (72)発明者 下村 秀樹 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 花形 理 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 西條 弘樹 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 小倉 稔也 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 2C150 BA06 BA11 CA01 CA02 DA24 DA26 DA27 DA28 DF03 DF04 DF06 DF33 ED42 ED52 EF16 EF23 EF29 EF33 EF36 3F060 AA00 BA10 CA14 5B091 AA15 BA03 CB12 CB32 CC02 CC03 CD15 5D015 AA01 AA05 KK02 KK04 LL02 LL11 5D045 AB30 9A001 BB01 BB03 BB04 CC05 EE05 FF03 GG05 HH11 HH13 HH16 HH17 HH18 HH19 HH21 HH33 JJ25 JJ27 KK31 KK37 KK44 KK62 KZ08 LL03 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G10L 15/00 G10L 3/00 551H 9A001 15/22 571U (72) Inventor Hideki Shimomura Kitashinagawa, Shinagawa-ku, Tokyo 6-7-35 Sonny Co., Ltd. (72) Inventor Osamu Hanata 6-7-35 Kita Shinagawa, Shinagawa-ku, Tokyo (72) Inventor Hiroki Saijo 6-chome Kita-Shinagawa, Shinagawa-ku, Tokyo 7-35 Inside Sony Corporation (72) Inventor Toshiya Ogura 7-35 Kita-Shinagawa, Shinagawa-ku, Tokyo F-term inside Sony Corporation (Reference) 2C150 BA06 BA11 CA01 CA02 DA24 DA26 DA27 DA28 DF03 DF04 DF06 DF33 ED42 ED52 EF16 EF23 EF29 EF33 EF36 3F060 AA00 BA10 CA14 5B091 AA15 BA03 CB12 CB32 CC02 CC03 CD15 5D015 AA01 AA05 KK02 KK04 LL02 LL11 5D045 AB30 9A001 BB01 BB03 BB04 CC05 EE05 FF03 GG05 HH11 HH13 HH16 HH17 HH18 HH19 HH21 HH33 JJ25 JJ27 KK31 KK37 KK44 KK62 KZ08 LL03

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 ユーザと会話を行う会話処理装置におい
て、 ユーザと会話する第1の話題に関し、複数の項目から構
成されるフレームを生成する生成手段と、 前記生成手段により生成された前記フレーム内の前記項
目毎に、前記第1の話題に関してユーザと会話した内容
に基づいて所定の値を設定する設定手段と、 前記設定手段により設定された値の平均値を算出する算
出手段と、 前記算出手段により算出された前記平均値に基づき、第
2の話題に遷移するか否かを判断する判断手段と、 前記判断手段による判断の結果に基づいて、前記第2の
話題に遷移する遷移手段とを含むことを特徴とする会話
処理装置。
1. A conversation processing apparatus for conversing with a user, comprising: a generation unit configured to generate a frame composed of a plurality of items with respect to a first topic to be talked to by the user; Setting means for setting, for each of the items, a predetermined value based on the content of a conversation with the user on the first topic; calculating means for calculating an average value of the values set by the setting means; Determining means for determining whether to transition to a second topic based on the average value calculated by the means; and transition means for transitioning to the second topic based on the result of the determination by the determining means. A conversation processing device comprising:
【請求項2】 前記項目は、いつ、どこで、だれが、ど
うした、なぜのうち、少なくても1つを含み、 前記設定手段は、前記第1の話題に関してユーザと会話
した内容に、前記項目に当てはまるものがあった場合、
その項目の値が所定量だけ大きくなるように設定するこ
とを特徴とする請求項1に記載の会話処理装置。
2. The method according to claim 1, wherein the item includes at least one of when, where, who, what, and why, and the setting means includes: If any of the items apply,
2. The conversation processing apparatus according to claim 1, wherein the value of the item is set so as to increase by a predetermined amount.
【請求項3】 前記項目のうち、値が小さい項目を抽出
する抽出手段と、 前記抽出手段により抽出された項目について、前記ユー
ザと会話を行うための文を作成する作成手段とをさらに
含むことを特徴とする請求項1に記載の会話処理装置。
3. An extraction unit for extracting an item having a small value from among the items, and a creation unit for creating a sentence for having a conversation with the user with respect to the item extracted by the extraction unit. The conversation processing device according to claim 1, wherein:
【請求項4】 前記判断手段は、前記平均値と、話題を
遷移する確率値とを用いて、話題を遷移するか否かを判
断することを特徴とする請求項1に記載の会話処理装
置。
4. The conversation processing apparatus according to claim 1, wherein the determination unit determines whether or not to change the topic using the average value and a probability value of changing the topic. .
【請求項5】 前記判断手段は、前記平均値が閾値より
大きいと判断される場合、話題を遷移すると判断するこ
とを特徴とする請求項1に記載の会話処理装置。
5. The conversation processing apparatus according to claim 1, wherein the determining unit determines that a topic is changed when the average value is determined to be larger than a threshold value.
【請求項6】 前記会話は、音声または文字で行われる
ことを特徴とする請求項1に記載の会話処理装置。
6. The conversation processing apparatus according to claim 1, wherein the conversation is performed by voice or text.
【請求項7】 ロボットに内蔵されることを特徴とする
請求項1に記載の会話処理装置。
7. The conversation processing device according to claim 1, wherein the conversation processing device is built in a robot.
【請求項8】 ユーザと会話を行う会話処理装置の会話
処理方法において、 ユーザと会話する第1の話題に関し、複数の項目から構
成されるフレームを生成する生成ステップと、 前記生成ステップの処理で生成された前記フレーム内の
前記項目毎に、前記第1の話題に関してユーザと会話し
た内容に基づいて値を設定する設定ステップと、 前記設定ステップの処理で設定された値の平均値を算出
する算出ステップと、 前記算出ステップの処理で算出された前記平均値に基づ
き、第2の話題に遷移するか否かを判断する判断ステッ
プと、 前記判断ステップの処理による判断の結果に基づいて、
前記第2の話題に遷移する遷移ステップとを含むことを
特徴とする会話処理方法。
8. A conversation processing method of a conversation processing apparatus for conversation with a user, wherein a generation step of generating a frame composed of a plurality of items with respect to a first topic of conversation with the user; A setting step of setting a value for each of the items in the generated frame based on the content of the conversation with the user on the first topic, and calculating an average value of the values set in the processing of the setting step A calculating step, based on the average value calculated in the processing of the calculating step, a determining step of determining whether to transition to a second topic, based on a result of the determination in the processing of the determining step,
And a transition step for transitioning to the second topic.
【請求項9】 ユーザと会話を行う会話処理用のプログ
ラムであって、 ユーザと会話する第1の話題に関し、複数の項目から構
成されるフレームを生成する生成ステップと、 前記生成ステップの処理で生成された前記フレーム内の
前記項目毎に、前記第1の話題に関してユーザと会話し
た内容に基づいて値を設定する設定ステップと、 前記設定ステップの処理で設定された値の平均値を算出
する算出ステップと、 前記算出ステップの処理で算出された前記平均値に基づ
き、第2の話題に遷移するか否かを判断する判断ステッ
プと、 前記判断ステップの処理による判断の結果に基づいて、
前記第2の話題に遷移する遷移ステップとを含むことを
特徴とするコンピュータが読み取り可能なプログラムが
記録されている記録媒体。
9. A conversation processing program for conversation with a user, comprising: a generation step of generating a frame composed of a plurality of items with respect to a first topic of conversation with the user; A setting step of setting a value for each of the items in the generated frame based on the content of the conversation with the user on the first topic, and calculating an average value of the values set in the processing of the setting step A calculating step, based on the average value calculated in the processing of the calculating step, a determining step of determining whether to transition to a second topic, based on a result of the determination in the processing of the determining step,
And a transition step for transitioning to the second topic. A recording medium having recorded thereon a computer-readable program.
JP37576899A 1999-12-28 1999-12-28 Device and method for processing conversation and recording medium Withdrawn JP2001188785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37576899A JP2001188785A (en) 1999-12-28 1999-12-28 Device and method for processing conversation and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP37576899A JP2001188785A (en) 1999-12-28 1999-12-28 Device and method for processing conversation and recording medium

Publications (1)

Publication Number Publication Date
JP2001188785A true JP2001188785A (en) 2001-07-10

Family

ID=18506032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37576899A Withdrawn JP2001188785A (en) 1999-12-28 1999-12-28 Device and method for processing conversation and recording medium

Country Status (1)

Country Link
JP (1) JP2001188785A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004051499A1 (en) * 2002-12-02 2004-06-17 Sony Corporation Dialogue control device and method, and robot device
JP2004302328A (en) * 2003-04-01 2004-10-28 Sony Corp Unit and method for controlling robot, recording medium and program
US10388281B2 (en) 2015-09-03 2019-08-20 Casio Computer Co., Ltd. Dialogue control apparatus, dialogue control method, and non-transitory recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004051499A1 (en) * 2002-12-02 2004-06-17 Sony Corporation Dialogue control device and method, and robot device
CN1720520B (en) * 2002-12-02 2010-05-05 索尼株式会社 Dialogue control device and method, and robot device
US7987091B2 (en) 2002-12-02 2011-07-26 Sony Corporation Dialog control device and method, and robot device
JP2004302328A (en) * 2003-04-01 2004-10-28 Sony Corp Unit and method for controlling robot, recording medium and program
JP4534427B2 (en) * 2003-04-01 2010-09-01 ソニー株式会社 Robot control apparatus and method, recording medium, and program
US10388281B2 (en) 2015-09-03 2019-08-20 Casio Computer Co., Ltd. Dialogue control apparatus, dialogue control method, and non-transitory recording medium

Similar Documents

Publication Publication Date Title
JP2001188784A (en) Device and method for processing conversation and recording medium
JP2001188787A (en) Device and method for processing conversation and recording medium
US20230119954A1 (en) Sentiment aware voice user interface
US10074369B2 (en) Voice-based communications
US9484030B1 (en) Audio triggered commands
US7065490B1 (en) Voice processing method based on the emotion and instinct states of a robot
JP4838351B2 (en) Keyword extractor
US7228276B2 (en) Sound processing registering a word in a dictionary
JP2004090109A (en) Robot device and interactive method for robot device
JP2001188555A (en) Device and method for information processing and recording medium
WO2007148493A1 (en) Emotion recognizer
US11579841B1 (en) Task resumption in a natural understanding system
US11605387B1 (en) Assistant determination in a skill
US10143027B1 (en) Device selection for routing of communications
KR20190032557A (en) Voice-based communication
US11783824B1 (en) Cross-assistant command processing
JP2001188786A (en) Device and method for processing conversation and recording medium
JP2001188785A (en) Device and method for processing conversation and recording medium
JP2001209644A (en) Information processor, information processing method and recording medium
JP2001188782A (en) Device and method for processing information and recording medium
US11172527B2 (en) Routing of communications to a device
US11735178B1 (en) Speech-processing system
JP2002268663A (en) Voice synthesizer, voice synthesis method, program and recording medium
KR100622019B1 (en) Voice interface system and method
JP2001188788A (en) Device and method for processing conversation and recording medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070306