JP2004258902A - Conversation controller, and conversation control method - Google Patents

Conversation controller, and conversation control method Download PDF

Info

Publication number
JP2004258902A
JP2004258902A JP2003047872A JP2003047872A JP2004258902A JP 2004258902 A JP2004258902 A JP 2004258902A JP 2003047872 A JP2003047872 A JP 2003047872A JP 2003047872 A JP2003047872 A JP 2003047872A JP 2004258902 A JP2004258902 A JP 2004258902A
Authority
JP
Japan
Prior art keywords
morpheme
information
unit
topic
sentence
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.)
Pending
Application number
JP2003047872A
Other languages
Japanese (ja)
Inventor
Seiyo Ko
声揚 黄
Yutaka Katsukura
裕 勝倉
Kazuo Okada
和生 岡田
Atsushi Fujimoto
淳 富士本
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.)
Universal Entertainment Corp
P to PA Inc
Original Assignee
P to PA Inc
Aruze 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 P to PA Inc, Aruze Corp filed Critical P to PA Inc
Priority to JP2003047872A priority Critical patent/JP2004258902A/en
Publication of JP2004258902A publication Critical patent/JP2004258902A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To preliminarily output a reply sentence related to a specific subject of conversation desired to be developed, so as to guide the present subject of conversation to the specific subject of conversation, when a user's speech content is recognized with a plurality of meanings. <P>SOLUTION: This controller/method is provided with a conversation subject retrieving part 360 for retrieving each phrase containing the speech content out of the plurality of phrases preliminarily stored, based on the speech content input from the user, a selection part 380 for selecting preliminarily the phrase related to the subject of conversation desired to be developed out of the respective phrases, based on the each phrase retrieved by the subject retrieval part 360, and a reply sentence retrieval part 370 for retrieving the reply sentence corresponding to the phrase selected by the selection part 380. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、会話制御装置及び会話制御方法に関する。
【0002】
【従来の技術】
従来からの会話制御装置においては、利用者からの発話内容に基づいて、その発話内容に対応する予め格納された回答文を出力することができる(例えば、特許文献1。)。
【0003】
【特許文献1】
特開2002−169804号(第6−15頁、図16)
【0004】
【発明が解決しようとする課題】
しかしながら、利用者の発話内容が複数の意味に捉えられ、その発話内容に対応する回答文が複数あるような場合には、会話制御装置は、一般的に最初に検索した回答文を出力していた。このため、会話制御装置は、利用者の発話内容が複数の意味に捉えられる場合には、その各意味の中から、予め展開したい特定の話題に関係する発話内容の意味を選出し、選出した発話内容の意味に対応する回答文を出力することができなかった。
【0005】
例えば、利用者からの発話内容が{IRを教えて下さい}である場合は、その発話内容は、遊技機における演出画像のIR(イナズマ ラッシュ)又は会社のIR(Investor Relations)の意味に捉えられることがある。この場合、会話制御装置は、各回答文の中から、遊技機における演出画像のIR(イナズマ ラッシュ)に対応する回答文を最初に検索したときには、その最初に検索した回答文を出力していた。
【0006】
すなわち、会話制御装置は、会社のIRに対応する回答文を出力したいときであっても、演出画像のIR(イナズマ ラッシュ)に対応する回答文を最初に検索したときには、その最初に検索した回答文を自動的に出力していた。このため、利用者からの発話内容が複数の意味に捉えられる場合には、予め展開させたい特定の話題に関係する回答文を出力することのできるシステムの開発が望まれていた。
【0007】
そこで、本発明は以上の点に鑑みてなされたものであり、利用者の発話内容が複数の意味に捉えられる場合には、予め展開したい特定の話題に関係する回答文を出力することで、現在の話題を特定の話題に誘導することのできる会話制御装置及び会話制御方法を提供することを課題とする。
【0008】
【課題を解決するための手段】
本発明は、上記課題を解決すべくなされたものであり、利用者から入力された発話内容を含む入力情報に基づいて入力情報に対応する回答文を検索する際に、利用者から入力された入力情報に基づいて予め記憶された複数のフレーズの中から、入力情報を含む各フレーズを検索し、検索された各フレーズに基づいて各フレーズの中から、予め展開したい話題に関係するフレーズを選出し、選出したフレーズに対応する回答文を検索することを特徴とする。
【0009】
すなわち、本発明は、上記フレーズには一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報が含まれ、複数の第二形態素情報には、利用者への回答文及び回答文として選出されるための優先順位が対応付けられており、各第二形態素情報及び各回答文を予め記憶し、利用者から入力された入力情報に含めれる文字列に基づいて、文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出し、抽出された第一形態素情報に基づいて、予め記憶された各第二形態素情報の中から、第一形態素情報を含む第二形態素情報を検索し、複数の第二形態素情報が検索された場合には、検索された各第二形態素情報に対応付けられた各優先順位の大きさに応じて、検索された各第二形態素情報の中から一の第二形態素情報を選出し、選出された第二形態素情報に基づいて、第二形態素情報に対応付けられた回答文を検索することを特徴とする。
【0010】
このような本願に係る発明によれば、抽出された第一形態素情報を含む第二形態素情報として、第二形態素情報1及び第二形態素情報2が検索された場合には、会話制御装置は、検索された第二形態素情報1及び第二形態素情報2の中から、例えば高い優先順位が対応付けられた第二形態素情報1を選択し、選択した第二形態素情報1に対応付けられた回答文を出力することができる。ここで、入力情報を含む各フレーズが複数検索されること、又は入力情報を構成する第一形態素情報を含む第二形態素情報が複数検索されるということは、入力情報が複数の意味に捉えられることを意味する。
【0011】
すなわち、入力情報が複数の意味に捉えられる場合、第二形態素情報(又はフレーズ)が複数検索された場合には、会話制御装置は、各第二形態素情報の中から、会話制御装置で予め展開したい話題に関係する第二形態素情報(高い優先順位が対応付けられている第二形態素情報)を選択することができる。
【0012】
これにより、会話制御装置は、利用者からの発話内容に基づく受動的な回答文を出力(例えば、利用者からの質問内容に忠実に答えること)するものではなく、会話制御装置から自発的に特定の話題に展開させる能動的な回答文を出力すること、言い換えると現在の話題を特定の話題に誘導する回答文を出力することができる。
【0013】
上記発明においては、今回検索された各第二形態素情報が所定の基準回数を越えて検索された場合には、前回選出された第二形態素情報とは異なる前記第二形態素情報を、今回検索された各第二形態素情報の中から選出するものであってもよい。これにより、前回選出された第二形態素情報が今回検索された各第二形態素情報に含まれ、今回検索された各第二形態素情報が所定の基準回数を越えて検索された場合には、会話制御装置は、前回選出された第二形態素情報とは異なる前記第二形態素情報を、今回検索された各第二形態素情報の中から選出することができる。
【0014】
すなわち、利用者から同様の発話内容が繰り返し発話された場合には、会話制御装置は、その繰り返された回数に応じて順次第二形態素情報を変更することができる。この結果、会話制御装置は、繰り返された発話内容の回数に応じて、現在の話題から特定の話題へと誘導させる回答文を逐一変更することができる。
【0015】
上記発明においては、回答文には特定の話題に誘導させるための内容が含まるものであってもよい。この場合には、特定の話題に誘導させるための内容が回答文に含まれるので、会話制御装置は、その回答文を出力することにより、現在の話題を予め展開させたい話題へとより的確に誘導することができる。すなわち、会話制御装置は、現在の話題についての主導権を内部的に握り、その現在の話題を特定のストーリにより的確に誘導することができる。
【0016】
上記発明においては、前回検索された第二形態素情報が今回検索された各第二形態素情報に含まれる場合には、今回検索された各第二形態素情報の中から、前回検索された第二形態素情報に対応付けられた優先順位の次の優先順位を特定し、特定した優先順位に対応付けられた第二形態素情報を選出するのが好ましい。
【0017】
【発明の実施の形態】
[第一実施形態]
(会話制御システムの基本構成)
本発明に係る会話制御システムについて図面を参照しながら説明する。図1は、本実施形態に係る会話制御装置1を有する会話制御システムの概略構成図である。
【0018】
同図に示すように、会話制御装置1は、入力部100と、音声認識部200と、会話制御部300と、文解析部400と、会話データベース500と、出力部600と、音声認識辞書記憶部700とを備えている。
【0019】
尚、本実施形態では、説明の便宜上、利用者の発話内容(この発話内容は、入力情報の一種)に限定して説明するが、この利用者の発話内容に限定されるものではなく、キーボード等から入力された入力情報であってもよい。従って、以下に示す「発話内容」は、「発話内容」を「入力情報」に置き換えて説明することもできる。
【0020】
同様にして、後述の説明では、説明の便宜上、「発話文のタイプ」(発話種類)に限定して説明するが、この「発話文のタイプ」に限定されるのではなく、キーボードなどから入力された入力情報の種類を示す「入力種類」であってもよい。従って、以下に示す「発話文のタイプ」(発話種類)は、「発話種類」を「入力種類」に置き換えて説明することもできる。
【0021】
入力部100は、利用者からの入力情報を取得する取得手段であり、本実施形態では、マイクロホン、キーボード等が挙げられる。この入力部100は、利用者から入力された入力情報に基づいて、入力情報を示す文字列を特定する文字認識手段でもある。
【0022】
ここで、入力情報とは、キーボード等を通じて入力された文字、記号、音声等を意味するものである。具体的に、入力部100は、利用者の入力情報(音声以外)を取得し、取得した入力情報を会話制御部300に出力する。また、利用者からの発話内容(この発話内容は、音声からなるものであり、入力情報の一種である)をマイクロホンなどで取得した入力部100は、取得した発話内容を構成する音声を音声信号として音声認識部200に出力する。
【0023】
音声認識部200は、入力部100で取得した発話内容に基づいて、発話内容に含まれる文字列を特定する文字認識手段である。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に含まれる文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。音声認識辞書記憶部700は、標準的な音声信号に対応する辞書を格納しているものである。
【0024】
前記文解析部400は、入力部100又は音声認識部200で特定された文字列を解析するものであり、本実施形態では、図2に示すように、形態素抽出部410と、文節解析部420と、文構造解析部430と、発話種類判定部440と、形態素データベース450と、発話種類データベース460とを有している。
【0025】
形態素抽出部410は、入力部100又は音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出する形態素抽出手段である。
【0026】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列の中から各形態素を抽出する。ここで、形態素とは、本実施形態では、文字列に現された語構成の最小単位を意味するものとする。この語構成の最小単位としては、図3に示すように、例えば、名詞、形容詞、動詞などの品詞が挙げられる。各形態素は、本実施形態では、m1、m2、・・・、mlと表現する。
【0027】
即ち、形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0028】
文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式に変換する変換手段である。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0029】
ここで、文節形式とは、本実施形態では、日本語文法において、自立語又は自立語に一つ以上の付属語がついた文、或いは、日本語文法の意味を崩さない程度に文字列をできるだけ細かく区切った一区切りの文を意味する。この文節は、本実施形態では、p1、p2、・・・pkと表現する。
【0030】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が(m2)・は(m4)・を(m5)・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。同図に示す「t」は、転置を意味する。
【0031】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0032】
文構造解析部430は、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類する分類手段である。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0033】
ここで、「格構成」とは、文節における実質的な概念を示す格(属性)を意味するものであり、本実施形態では、例えば、主語・主格を意味するサブジェクト(主体格)、対象を意味するオブジェクト(対象格)、動作を意味するアクション、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション等が挙げられる。本実施形態では、サブジェクト、オブジェクト、アクションの三要素の「格」(格構成)に対応付けられた各形態素を第一形態素情報とする。
【0034】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0035】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0036】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を反射的判定部320に出力する。
【0037】
発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容(入力情報)の種類を示す発話種類(入力種類)を特定する種類特定手段である。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0038】
ここで、「発話文のタイプ」は、本実施形態では、図6に示すように、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、反発文(N;Negation)などから構成されるものである。これらの各文は、図6に示すように、肯定文(A;Answer)又は質問文(Q;Question)で表現される。
【0039】
陳述文とは、利用者の意見又は考えなどからなる文を意味するものであり、本実施形態では、図6に示すように、例えば”佐藤が好きだ”などの文が挙げられる。感想文とは、利用者が抱く感想からなる文を意味するものである。場所文とは、場所的な要素からなる文を意味するものである。
【0040】
結果文とは、話題に対して文が結果の要素を含む文から構成されるものを意味する。時間文とは、話題に関わる時間的な要素を含む文から構成されるものを意味する。
【0041】
条件文とは、一つの発話を話題と捉えた場合に、話題の前提、話題が成立している条件や理由などの要素を含む文から構成されるものを意味する。反発文とは、発話相手に対して反発するような要素を含む文から構成されるものを意味する。各「発話文のタイプ」についての例文は、図6に示す通りである。
【0042】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。文要素とは、文字列の種類を特定するための分の種別を意味し、文要素は、本実施形態では、上記説明した定義句(〜のことだ)などが挙げられる。
【0043】
ここで、上記発話種類データベース460は、図7に示すように、定義句(例えば、〜のことだ)に関係する辞書を備えた定義表現事例辞書、肯定句(例えば、賛成、同感、ピンポーン)に関係する辞書を備えた肯定事例辞書、結果句(例えば、それで、だから)に関係する辞書を備えた結果表現事例辞書、挨拶句(例えば、こんにちは)に関係する辞書を備えた挨拶事例辞書、否定句(例えば、馬鹿言うんじゃないよ、反対)に関係する辞書を備えた否定事例辞書などから構成され、各辞書は、「発話文のタイプ」と関連付けられている。
【0044】
これにより、発話種類判定部440は、文節と発話種類データベース460に格納されている各辞書とを照合し、文節の中から各辞書に関連する文要素を抽出し、抽出した文要素に関連付けられた判定の種類を参照することで、「発話文のタイプ」を判定することができる。
【0045】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0046】
前記会話データベース500は、一つの文字、複数の文字列又はこれらの組み合わせからなる各形態素を示す第二形態素情報と、発話内容に対する利用者への回答文とを予め相互に関連付けて複数記憶する回答記憶手段(談話記憶手段;形態素記憶手段)である。また、会話データベース500は、複数の回答文に対応付けられた各回答文の種類を示す回答種類を、第二形態素情報に関連付けて予め複数記憶する回答記憶手段(談話記憶手段)でもある。
【0047】
更に、会話データベース500は、利用者から入力されるであろう入力内容又は利用者への回答文に関連性のある範囲を構成する形態素を示す談話範囲(キーワード)を予め複数記憶する形態素記憶手段でもある。この談話範囲(キーワード)には、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報が複数関連付けられ、各第二形態素情報には、利用者への回答文がそれぞれに関連付けてられている。
【0048】
更にまた、会話データベース500は、第二形態素情報を構成する各要素を、主格からなる主体各、目的格からなる対象格などの属性に分類して記憶する回答記憶手段(談話記憶手段)でもある。
【0049】
この会話データベース500は、図8に示すように、本実施形態では、大きく分けると、利用者から発話されるであろう発話内容又は利用者への回答文について関連性のある範囲を意味する談話範囲(ディスコース)と、利用者が発話している内容に最も密接な関連性のある範囲を意味する話題(トピック)とから構成されている。同図に示すように、”談話範囲”は、本実施形態では、”話題”の上位概念として位置付けるものとする。
【0050】
各談話範囲は、図9に示すように、階層構造となるように構成することができる。同図に示すように、例えば、ある談話範囲(映画)に対する上位概念の談話範囲(娯楽)は、上の階層構造に位置するようにし、談話範囲(映画)に対する下位概念の談話範囲(映画の属性、上映映画)は、下の階層構造に位置するようにすることができる。即ち、各談話範囲は、本実施形態では、他の談話範囲との間で上位概念、下位概念、同義語、対義語の関係が明確となる階層位置に配置することかできる。
【0051】
上述の如く、談話範囲は、各話題から構成されるものであり、本実施形態では、例えば、談話範囲がA映画名であれば、A映画名に関係する複数の話題を含んでいる。
【0052】
この話題は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素、即ち、利用者から発話されるであろう発話内容を構成する各形態素を意味するものであり、本実施形態では、サブジェクト(主体格)、オブジェクト(対象格)、アクションの「格」(属性)に対応付けられた各形態素からなるものである。これら三要素に対応付けられた各形態素は、本実施形態では、話題タイトル(この話題タイトルは、”話題”の下位概念に相当するものである)(第二形態素情報)と表現することにする。
【0053】
尚、話題タイトルには、上記三要素に対応付けられた各形態素に限定されるものではなく、他の「格」、即ち、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション、条件を意味するコンディション、感想を意味するインプレッション、結果を意味するエフェクトなどに対応付けられた各形態素を有してもよい。
【0054】
この話題タイトル(第二形態素情報)は、本実施形態では、会話データベース500に予め格納されているものであり、上記第一形態素情報(利用者が発話した発話内容から導かれたもの)とは区別されるものである。
【0055】
例えば、話題タイトルは、談話範囲が”A映画名”である場合には、図10に示すように、サブジェクト(A映画名)、オブジェクト(監督)、アクション(素晴らしい){これは、”A映画名の監督は素晴らしい”を意味する}から構成されるものである。
【0056】
話題タイトルのうち、「格構成」(サブジェクト、オブジェクト、アクションなど)に対応付けられた形態素がない場合は、その部分については、本実施形態では、”*”を示すことにする。
【0057】
例えば、{A映画名って?}の文を話題タイトル(サブジェクト;オブジェクト;アクション)に変換すると、{A映画名って?}の文のうち、”A映画名”がサブジェクトとして特定することができるが、その他”オブジェクト””アクション”は文の要素になっていないので、話題タイトルは、”サブジェクト”(A映画名);”オブジェクト”なし(*);”アクション”なし(*)となる(図10参照)。
【0058】
回答文は、本実施形態では、各話題タイトル(第二形態素情報)に関連付けられている(図8参照)。回答文は、本実施形態では、本実施形態では、図11に示すように、利用者から発話された発話文のタイプに対応した回答をするために、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、否定文(N;Negation)などのタイプ(回答種類)に分類されている。
【0059】
即ち、各回答文は、図12に示すように、例えば、談話範囲(佐藤){下位概念;ホームラン、上位概念;草野球、同義語;パンダ佐藤・佐藤選手・パンダ}及び各話題タイトルと関連付けられている。
【0060】
同図に示すように、例えば、話題タイトル1−1が{(佐藤;*;好きだ):これは、上述の如く(サブジェクト;オブジェクト;アクション)の順番からなるものである。この順番は、以下同様とする}である場合は、その話題タイトル1−1に対応する回答文1−1は、(DA;陳述肯定文”佐藤が好きです”)、(IA;感想肯定文”佐藤がとても好きです”)、(CA;条件肯定文”佐藤のホームランはとても印象的だからです”)、(EA;結果肯定文”いつも佐藤の出る試合をテレビ観戦してしまいます”)、(TA;時間肯定文”実は、甲子園での5打席連続敬遠から好きになっています”)、(LA;場所肯定文”打撃に立ったときの真剣な顔が好きですね”)、(NA;反発肯定文”佐藤を嫌いな人とは話したくないですね、さよなら”)などが挙げられる。
【0061】
前記会話制御部300は、本実施形態では、図2に示すように、管理部310と、反射的判定部320と、鸚鵡返し判定部330と、談話範囲決定部340と、省略文補完部350と、話題検索部360と、回答文検索部370とを有している。
【0062】
前記管理部310は、会話制御部300の全体を制御するものである。具体的に、入力部100又は音声認識部200から文字列が入力された管理部310は、入力された文字列を文字列信号として形態素抽出部410に出力する。また、管理部310は、回答文検索部370で取得された回答文を出力部600に出力する。
【0063】
反射的判定部320は、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索する定型取得手段である。
【0064】
ここで、定型内容とは、利用者からの発話内容に対して定型的な内容を回答するための反射要素情報を意味し、この反射要素情報は、反射要素データベース801(定型記憶手段)に予め複数記憶されている。反射要素情報としては、本実施形態では、図13に示すように、例えば”おはよう”、”こんにちは”、”こんばんわ”、”やあ”などの「挨拶的要素」、「なるほど」、「本当?」などの「定型的要素」などが挙げられる。
【0065】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0066】
即ち、反射要素情報をD1、第一形態素情報をWとすると、反射的判定部320は、W∩D1≠φ(φ;空集合)の関係が成立していると判断した場合は、上記反射的な回答を行うための処理を行う。
【0067】
例えば、利用者が”おはよう”という発話内容を発した場合には、反射的判定部320は、発話内容”おはよう”と各反射要素情報とを照合し、各反射要素情報の中から、発話内容”おはよう”を含む(と一致する)反射要素情報”おはよう”を検索し、検索した反射要素情報”おはよう”を管理部310に出力する。
【0068】
反射的判定部320は、各反射要素情報の中から、発話内容を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0069】
鸚鵡返し判定部330は、形態素抽出部410で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の回答文とを照合し、現在の第一形態素情報が過去の回答文に含まれる場合には、合意内容を取得する定型取得手段である。
【0070】
ここで、鸚鵡返しとは、本実施形態では、利用者の発話内容をそのまま(又はそれに近い内容を)言い返すことを意味する。鸚鵡返し要素は、本実施形態では、直前に会話制御装置1から出力された回答文を構成する第一形態素情報などからなるのもであり、図14に示すように、例えば、”馬は美しい”(馬;*;美しい)、”佐藤が好きです”(佐藤;*;好きです)などが挙げられる。
【0071】
また、鸚鵡返し要素データベース802は、利用者から入力された入力情報に合意するための合意内容を予め記憶する合意記憶手段でもある。合意内容には、例えば、前回、利用者から入力された入力情報(利用者により前回の入力情報が”A映画名の監督はS氏ですか”である場合には、合意内容としては、”A映画名の監督はS氏です”)、又は ”その通りです”、”本当です”などが挙げられる。
【0072】
具体的に、反射的判定部320から話題検索命令信号が入力された鸚鵡返し判定部330は、各鸚鵡返し要素毎に、入力された話題検索命令信号に含まれる第一形態素情報と鸚鵡返し要素を構成する各形態素とを照合し、鸚鵡返し要素の中に第一形態素情報が含まれているかを判断する(図14参照)。
【0073】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、合意内容を取得し、取得した合意内容からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回の回答文など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0074】
例えば、会話制御装置1が回答文として”A映画名の監督はS氏です”(A映画名の監督;S氏;*)(この順番は、サブジェクト;オブジェクト;アクションの順番、以下同様とする)を出力し、その後、利用者が出力された回答文に対して”A映画名の監督はS氏ですか”(A映画名の監督;S氏;*)と発話した場合には、鸚鵡返し判定部330は、利用者の第一形態素情報(A映画名の監督;S氏;*)と回答文の各形態素(A映画名の監督;S氏;*)とが一致しているので、利用者は回答文に対して鸚鵡返しを行っていると断定し、記憶されている合意内容”その通りです”などを取得し、取得した合意内容を出力する。
【0075】
また、鸚鵡返し判定部330は、形態素抽出部410で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得する定型取得手段でもある。
【0076】
具体的には、利用者が”馬は美しい”という発話内容を発話し、会話制御装置1が回答文として”馬は躍動感があって良いですね”の内容を出力した場合に、後に利用者が”馬は美しい”という発話内容を繰り返したときは、鸚鵡返し判定部330は、現在の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}と前の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}とが一致しているので、利用者は会話制御装置1からの回答文”馬は躍動感があって良いですね”については全く聞いていないものと断定することができる。
【0077】
この場合、鸚鵡返し判定部330は、利用者が会話制御装置1からの回答文を聞いていないので、記憶された反発内容(例えば、同じ内容を繰り返さないでよ”など)取得し、取得した反発内容を出力することができる。
【0078】
一方、鸚鵡返し判定部330は、第一形態素情報が前回の回答文の内容と同一、又は第一形態素情報が前回の第一形態素情報と同一でないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0079】
尚、上記の鸚鵡返し判定部330は、「会話制御装置1の回答文」に対して利用者が鸚鵡返しを行った場合の処理を示してきたが、更に以下の処理も行うことができる。例えば、出力部600が”馬は美しい”という回答文を出力した場合、この回答文に対して利用者が”どうして馬は美しいの?”、”どうして美しいの?”、又は”どうして?”と発話した場合に対して行う鸚鵡返し判定部330の処理である。
【0080】
この場合、鸚鵡返し判定部330は、出力した回答文S”馬は美しい”と利用者からの発話内容W(”どうして馬は美しいの?(疑問文)”又は”どうして美しいの?(疑問文)”)とを照合すると、(W−c)⊂S、S≠φ、c≠φ(このcは、Wの発話種類を意味し、この発話種類は、後述する発話種類判定部440で判定されるものである。発話種類には、後述するように、例えば、疑問文などが挙げられる。)の関係が成立するので、”条件付”の鸚鵡返し処理(回答文に対して利用者が疑問文付きの鸚鵡返しを行った場合の処理)を行う。
【0081】
”条件付”の鸚鵡返し処理としては、例えば、会話制御装置1が”馬は美しいね”の回答文を出力した場合に、上記利用者が”どうして馬は美しいの?”の発話内容を発したときは、利用者の疑問等を解消するため、鸚鵡返し判定部330が”だって馬は美しいじゃない”などの回答文を鸚鵡返し要素データベース802の中から取得し、取得した回答文を管理部310に出力する処理を行う。
【0082】
談話範囲決定部340は、文節解析部420で抽出された第一形態素情報と予め記憶された各談話範囲とを照合し、各談話範囲の中から、第一形態素情報に含まれる形態素と一致する談話範囲を検索する談話範囲検索手段である。
【0083】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された談話検索命令信号に基づいて、利用者の談話範囲を決定する。即ち、談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0084】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0085】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0086】
これにより、後述する話題検索部360は、談話範囲決定部340で決定された”談話範囲”に属する各「話題タイトル」と、文構造解析部430で特定された第一形態素情報とを照合することができるので、”全て”の「話題タイトル」(第二形態素情報)と第一形態素情報とを照合する必要がなくなり、後述する回答文検索部370は、最終的な回答文を検索するまでの時間を短縮することができる。
【0087】
尚、談話範囲決定部340は、上記の如く、第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報の形態素が含まれていれば、その形態素を談話範囲として決定していたが、これに限定されるものではなく、鸚鵡返し判定部330で直前に検索された鸚鵡返し要素の形態素、又は利用者が発話した発話内容を構成する形態素を談話範囲として決定しても良い。後述する省略文補完部350は、上記談話範囲決定部340で決定された談話範囲を用いて、その談話範囲を、形態素が省略されている第一形態素情報に付加することができる。
【0088】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索する属性検索手段である。また、省略文補完部350は、検索した属性に基づいて、属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加する形態素付加手段でもある。
【0089】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0090】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、談話範囲決定部340で決定された談話範囲(A映画名;このA映画名は映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0091】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0092】
これにより、第一形態素情報が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、第一形態素情報がある談話範囲に属している場合には、例えば、その談話範囲D(A映画名)を第一形態素情報W(監督;*;*)に付加し、第一形態素情報をW’(A映画名の監督;*;*){A映画名の監督は?}として扱うことができるので、利用者の発話内容が省略文である場合であっても、前に決定された談話範囲に基づいて省略文を補完することができ、省略文を明確にすることができる。
【0093】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素を補完することができるので、話題検索部360は、補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で取得された「話題タイトル」に基づいて利用者の発話内容により適した回答文を出力することができる。
【0094】
話題検索部360は、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索する検索手段である。
【0095】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0096】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0097】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0098】
回答文検索部370は、話題検索部360で検索された第二形態素情報(話題タイトル)に基づいて、第二形態素情報に関連付けられた回答文を検索する回答検索手段である。また、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を取得する第二検索手段でもある。
【0099】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0100】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0101】
回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する。
【0102】
出力部600は、回答文検索部370で取得された回答文を出力する出力手段であり、本実施形態では、例えば、スピーカ、ディスプレイなどが挙げられる。具体的に、管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0103】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。図15は、本実施形態に係る会話制御方法の手順を示すフロー図である。
【0104】
先ず、入力部100が、利用者からの発話内容を取得するステップを行う(S101)。具体的に入力部100は、利用者の発話内容を構成する音声を取得し、取得した音声を音声信号として音声認識部200に出力する。また、入力部100は、利用者から入力された入力情報(音声以外)に基づいて、入力情報(音声以外)に含まれる文字列を特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0105】
次いで、音声認識部200が、入力部100で取得した発話内容に基づいて、発話内容に含まれる文字列を特定するステップを行う(S102)。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に含まれる文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0106】
そして、形態素抽出部410が、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出するステップを行う(S103)。
【0107】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0108】
そして、文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめるステップを行う(S104)。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0109】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。 各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0110】
その後、文構造解析部430が、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類するステップを行う(S105)。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0111】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0112】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0113】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部360に出力する。
【0114】
次いで、発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定するステップを行う(S106)。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0115】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。
【0116】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0117】
次いで、反射的判定部320が、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索するステップを行う(S107;反射的処理)。
【0118】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報(定型内容)とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0119】
反射的判定部320は、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0120】
次いで、鸚鵡返し判定部330が、形態素抽出部410で抽出された第一形態素情報と各鸚鵡返し要素を照合し、各鸚鵡返し要素の中から、第一形態素情報を含む鸚鵡返し要素を検索するステップを行う(S108;鸚鵡返し処理)。
【0121】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、第一形態素情報を含む鸚鵡返し要素を取得し、取得した鸚鵡返し要素からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回出力された回答文、前回利用者が発話した発話内容など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0122】
一方、鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0123】
そして、談話範囲決定部340が、文節解析部420で抽出された第一形態素と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報を含む談話範囲を検索(決定)するステップを行う(S109)。
【0124】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0125】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0126】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0127】
次いで、省略文補完部350が、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索するステップを行う。その後、省略文補完部350が、検索した形態素を含まない属性に基づいて、その属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加するステップを行う(S110;省略文を補完)。
【0128】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0129】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、前に談話範囲決定部340で決定された談話範囲(A映画名;このA映画名とは映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲の形態素(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0130】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、第一形態素情報Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0131】
次いで、話題検索部360が、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索するステップを行う(S111)。
【0132】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0133】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0134】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0135】
そして、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に関連付けられている回答文を検索するステップを行う(S112)。
【0136】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0137】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0138】
次いで、回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する(S113)。管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0139】
(会話制御装置及び会話制御方法による作用及び効果)
上記構成を有する本願に係る発明によれば、反射的判定部320が、利用者から発話された発話内容を構成する第一形態素情報と予め記憶された各定型内容とを照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索することができるので、反射的判定部320は、例えば第一形態素情報が”こんにちは”などの定型内容である場合には、この定型内容と同一の定型内容”こんにちは”等を回答することができる。
【0140】
また、反射的判定部320は、利用者の発話内容が定型内容である場合には、その定型内容(挨拶など)を回答するので、利用者は、最初に、会話制御装置1との間で意思の疎通をしているような感覚を味わうことができる。
【0141】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の回答文とを照合し、現在の第一形態素情報が過去の回答文に含まれていない場合には、予め記憶してある合意内容を取得することができるので、鸚鵡返し判定部330は、利用者から現在入力された入力情報と過去の回答文とが一致していれば、利用者が過去の回答文に対して鸚鵡返し(利用者が回答文に対して聞き直していること)の入力情報を入力したものと断定することができる。
【0142】
この場合、鸚鵡返し判定部330は、利用者が過去の回答文に対して鸚鵡返しを行っているので、記憶されている合意内容を取得し、取得した合意内容(例えば、”その通りです”など)を出力することができる。これにより、利用者は、会話制御装置1から出力された回答文の意味が分からなければ、もう一度聞き直して、再度回答文を聞き直すことができるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0143】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得することができるので、鸚鵡返し判定部330は、前回入力された入力情報が今回入力された入力情報に含まれている場合には、利用者が前の入力情報と同一の内容を反復して入力したものと判断することができ、利用者が会話制御装置からの回答文に対して適切に回答していないものと断定することができる。
【0144】
この場合、鸚鵡返し判定部330は、利用者が前回の回答文に対して適切に回答していないので、利用者に対して反発するため、記憶されている反発内容を取得し、取得した反発内容を出力する。これにより、利用者は、会話制御装置1からの回答文に対して適切な入力情報を入力しなければ、会話制御装置1から反発内容が出力されるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0145】
また、話題検索部360は、第一形態素情報と近似する第二形態素情報を検索するには、”談話範囲”に属する各第二形態素情報と第一形態素情報とを照合すればよく、”全て”の第二形態素情報と第一形態素情報とを照合する必要がないので、第一形態素情報と近似している第二形態素情報を検索するまでの時間を短縮することができる。
【0146】
この結果、話題検索部360が、第一形態素情報と近似している第二形態素情報を短時間で検索(ピンポイント検索)することができるので、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて第二形態素情報に関連付けられている回答文を短時間で取得することができ、会話制御装置1は、利用者からの発話内容に対して迅速に回答することができる。
【0147】
また、話題検索部360が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者の発話内容を構成する要素)を含む第二形態素情報を検索し、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答文を検索することができるので、回答文検索部370は、利用者の発話内容を構成する各形態素(第一形態素情報)に基づいて、各形態素により構築される意味空間(主体、対象等)を考慮し、かかる意味空間に基づいて予め作成された回答文を検索することができることとなり、単に発話内容の全体をキーワードとして、そのキーワードに関連付けられた回答文を検索するよりも、より発話内容に適した回答文を検索することができる。
【0148】
また、話題検索部360は、第一形態素情報を含む第二形態素情報を検索するので、利用者の発話内容と完全に一致する第二形態素情報を検索する必要がなく、会話制御装置1を開発する開発者は、利用者から発話されるであろう発話内容に対応する膨大な回答文を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0149】
更に、回答文検索部370が、”談話範囲”に属する各第二形態素情報に関連付けられた回答種類(陳述、肯定、場所、反発など)の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答文を検索することができるので、会話制御装置1は、利用者の会話内容を構成する発話種類、例えば、利用者が単に意見を述べたもの、利用者が抱く感想からなるもの、利用者が場所的な要素を述べたものなどに基づいて、複数の回答文の中から利用者の発話種類にマッチした回答文を検索することができることとなり、該当する利用者に対してより最適な回答をすることができる。
【0150】
更にまた、回答文検索部370は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報に関連付けられた回答種類の中から、利用者の発話種類と一致する回答種類を検索(ピンポイント検索が可能)するだけでよいので、”全て”の第二形態素情報に関連付けられた回答種類と利用者の発話種類とを逐一検索する必要がなくなり、利用者の発話種類に対応する最適な回答文を短時間で取得することができる。
【0151】
最後に、省略文補完部350は、利用者の発話内容を構成する第一形態素情報が省略文であり、日本語として明解でない場合であっても、第一形態素情報がある談話範囲に属している場合には、その談話範囲を第一形態素情報に付加し、省略文からなる第一形態素情報を補完することができる。
【0152】
これにより、省略文補完部350は、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素(談話範囲を構成する形態素など)を補完することができるので、話題検索部360は、省略文補完部350で補完された補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な第二形態素情報を取得することができ、回答文検索部370は、話題検索部360で取得された第二形態素情報に基づいて利用者の発話内容により適した回答文を出力することができる。
【0153】
この結果、会話制御装置1は、利用者からの入力情報が省略文であったとしても、ニューロネットワーク、AI知能などの機能を用いることなく、過去の検索結果を通じて、その省略文が何を意味するのかを推論することができ、会話制御装置1の開発者は、ニューロネットワーク、AI知能を搭載する必要がないので、会話制御装置1のシステムをより簡便に構築することができる。
【0154】
[変更例]
尚、本発明は、上記実施形態に限定されるものではなく、以下に示すような変更を加えることができる。
【0155】
(第一変更例)
本変更例においては、会話データベース500は、複数の形態素の集合からなる集合群の全体を示す要素情報を、集合群に関連付けて複数記憶する要素記憶手段であってもよい。更に、形態素抽出部410は、文字列から抽出した形態素と各集合群とを照合し、各集合群中から、抽出された形態素を含む集合群を選択し、選択した集合群に関連付けられた要素情報を第一形態素情報として抽出してもよい。
【0156】
図16に示すように、利用者が発話した文字列に含まれる各形態素には、類似しているものがある。例えば、図16に示すように、集合群の全体を示す要素情報を「贈答」とすると、「贈答」は、プレゼント、贈り物、御歳暮、御中元、お祝いなど(集合群)と相互に類似しているので、形態素抽出部410は、「贈答」に類似する形態素(上記のプレゼントなど)がある場合には、その類似する形態素については、「贈答」として取り扱うことができる。
【0157】
即ち、形態素抽出部410は、例えば、文字列から抽出した形態素が「プレゼント」である場合には、図16に示すように、「プレゼント」を代表する要素情報が「贈答」であるので、上記「プレゼント」を「贈答」に置き換えることができる。
【0158】
これにより、形態素抽出部410が相互に類似する形態素を整理することができるので、会話制御装置を開発する開発者は、相互に類似した各第一形態素情報から把握される意味空間に対応した第二形態素情報及び第二形態素情報に関係する回答文を逐一作成する必要がなくなり、結果的に、記憶部に格納させるデータ量を低減させることができる。
【0159】
(第二変更例)
図17に示すように、本変更例においては、割合計算部361と、選択部362とを話題検索部360に備えてもよい。
【0160】
割合計算部361は、形態素抽出部410で抽出された第一形態素情報と各第二情報とを照合し、各第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算する計算手段である。
【0161】
具体的に、文構造解析部430から話題検索命令信号が入力された割合計算部361は、図17に示すように、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲に属する各話題タイトル(第二形態素情報)とを照合し、各話題タイトル毎に、それぞれの話題タイトルの中に、第一形態素情報が占める割合を計算する。
【0162】
例えば、図18に示すように、利用者から発話された発話文を構成する第一形態素情報が(佐藤;*;好きだ){佐藤は好きだ}である場合は、割合計算部361は、「格構成」に属する各形態素(佐藤;*;好きだ)と話題タイトルに含まれる各形態素(佐藤;*;好きだ)とを照合し、上記話題タイトルに、「格構成」に属する各形態素(佐藤;*;好きだ)が含まれる割合を、100%であると計算する。割合計算部361は、これらの計算を話題タイトル毎に行い、計算した各割合を割合信号として選択部362に出力する。
【0163】
選択部362は、割合計算部361で各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択する選択手段である。
【0164】
具体的に、割合計算部361から割合信号が入力された選択部362は、入力された割合信号に含まれる各割合(「格構成」の要素/「話題タイトル」の要素×100)の中から、例えば割合の高い話題タイトルを選択する(図18参照)。割合の高い話題タイトルを選択した選択部362は、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。回答文検索部370は、選択部362で選択された話題タイトルに基づいて、話題タイトルに関連付けられた回答文を検索する。
【0165】
これにより、選択部362が、各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算し、各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することができるので、選択部362は、例えば、第一形態素情報(利用者の発話内容を構成するもの)が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から把握される意味空間を踏襲した第二形態素情報をより的確に取得することができ、結果的に、回答文検索部370は、利用者の発話内容に対して最適な回答をすることができる。
【0166】
また、選択部362は、複数の話題タイトルの中から、割合計算部361で計算された割合の高い話題タイトルを選択することができるので、利用者の発話文に含まれる「格構成」に属する各形態素と会話データベース500に格納されている各話題タイトルとが完全に一致しなくても、「格構成」に属する各形態素に密接する話題タイトルを取得することができる。
【0167】
この結果、選択部362が第一形態素情報を構成する「格構成」に密接する話題タイトルを取得することができるので、会話制御装置1を開発する開発者は、第一形態素情報を構成する「格構成」と完全に一致する話題タイトルを会話データベース500に逐一格納する必要がなくなるので、会話データベース500の容量を低減させることができる。
【0168】
更に、割合計算部361は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算するので、”全て”の第二形態素情報に対して第一形態素情報が占める割合を計算する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答文を迅速に出力することができる。
【0169】
尚、割合計算部361は、分類された各属性に属する第一形態素情報の各形態素と、予め記憶された各属性に属する各第二形態素情報の各形態素とを各属性毎に照合し、各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の各形態素を含む第二形態素情報を検索する第一検索手段であってもよい。
【0170】
具体的に、話題検索命令信号が入力された割合計算部361は、入力された話題検索命令信号に含まれる「格構成」の各「格」(サブジェクト;オブジェクト;アクション)毎に、その「格」に属する各形態素と、同一の「格」からなる話題タイトルの「格」に属する各形態素とを照合し、互いの「格」を構成する形態素が同一か否かを判定する。
【0171】
例えば、図19に示すように、割合計算部361は、「格構成」の「格」の形態素が(犬;人;噛んだ){犬が人を噛んだ}である場合は、それらの形態素”犬”、”人”、”噛んだ”と、それらの形態素を構成する「格」と同一の「格」からなる話題タイトルの形態素”犬”、”人”、”噛んだ”とを照合し、話題タイトルを構成する各形態素”犬”、”人”、”噛んだ”のうち、各形態素に対応する「格」と同一の「格」からなる「格構成」の形態素”犬”、”人”、”噛んだ”と一致している割合を算出(100%)する。
【0172】
もし、話題タイトルを構成する要素が(人;犬;噛んだ){人が犬を噛んだ}である場合には、割合計算部361は、上記と同様の手順により、二つの格に属する形態素が異なるので、「格構成」を構成する形態素と「話題タイトル」との「格」毎の一致度を33%であると算出する(図19参照)。
【0173】
割合を計算した割合計算部361は、各割合の中から、割合の高い話題タイトルを選択し、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0174】
これにより、割合計算部361が、分類された各「格構成」(主体格、対象格など)に属する第一形態素情報の各形態素と、予め記憶された話題タイトルとを各「格」毎に照合し、各話題タイトルの中から、少なくとも一の「格」に第一形態素情報の各形態素を含む第二形態素情報を検索することができるので、割合計算部361は、通常の語順とは異なるものから構成される発話内容、例えば”人が犬を噛む”である場合には、主体格の形態素が”人”、対象格の形態素が”犬”であることから、その各「格」と一致する第二形態素情報を検索することができ、その第二形態素情報(人;犬;噛む)に関連付けられている回答文{”本当に?”又は”意味がよくわかんないよ”など}を取得することができる。
【0175】
即ち、割合計算部361は、識別が困難な発話内容、例えば”人が犬を噛む”と”犬が人を噛む”とを識別することができるので、その識別した発話内容に最適な回答、前者については例えば”本当に?”、後者については例えば”大丈夫?”をすることができる。
【0176】
また、割合計算部361は、”談話範囲”に属する各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の形態素を含む第二形態素情報を検索すればよいので、”全て”の第二形態素情報の中から、一の第二形態素情報を取得する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、会話制御装置1は、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答文を迅速に出力することができる。
【0177】
尚、選択部362は、予め定められた優先順位に従って各話題タイトルの中から、一の話題タイトルを選択してもよい。この優先順位とは、話題タイトルとして選出されるための優先度を意味するものである。この優先順位は、開発段階で開発者が予め定めるものである。
【0178】
(第三変更例)
図20に示すように、本変更例においては、上記実施形態及び各変更例に限定されるものではなく、会話制御装置1a,1bにある通信部800と、通信ネットワーク1000を介してデータの送受信をするための通信部900と、通信部900に接続された各会話データベース500b〜500dと、サーバ2a〜2cとを備えてもよい(会話制御システム)。
【0179】
ここで、通信ネットワーク1000とは、データを送受信する通信網を意味するものであり、本実施形態では、例えば、インターネットなどが挙げられる。尚、本変更例では、便宜上、会話データベース500b〜500d、サーバ2a〜2cを限定しているが、これに限定されるものではなく、更に他の会話データベースを設けてもよい。
【0180】
これにより、会話制御部300は、会話制御装置1aの内部に配置してある会話データベース500aのみならず、その他の会話制御装置1b、他の会話データベース500b〜500d、サーバ2a〜2cをも参照することができるので、例えば、会話データベース500aの中から、話題検索命令信号に含まれる「格構成」に属する各形態素(第一形態素情報)と関連する談話範囲等を検索することができない場合であっても、その他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cを参照することにより、上記「格構成」と関連する談話範囲等を検索することができ、利用者の発話文により適した回答文を検索することができる。
【0181】
(第四変更例)
文構造解析部430は、特定した第一形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。回答文検索部370は、取得した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。
【0182】
談話範囲決定部340は、検索した談話範囲を会話データベース500に記憶するものであってもよい。話題検索部360は、検索した第二形態素情報を会話データベース500に記憶するものであってもよい。
【0183】
上記第一形態素情報と、第二形態素情報と、第一形態素情報又は第二形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した談話範囲とは、それらを相互に関連付けて履歴形態素情報として会話データベース500又は鸚鵡返し要素データベース802に記憶することができる。
【0184】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど;格構成)の中から、形態素を含まない属性を検索し、検索した属性に基づいてその属性に、会話データベース500又は鸚鵡返し要素データベース802に記憶された履歴形態素情報を付加する。
【0185】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文(例えば、サブジェクト、オブジェクト、又はアクションに所定の形態素を有しないなど)である場合には、会話データベース500又は鸚鵡返し要素データベース802に記憶されている履歴形態情報を、第一形態素情報に付加する。
【0186】
即ち、履歴形態情報に含まれるサブジェクトをS1、オブジェクトをO1、アクションA1、談話範囲をD1とし、省略された第一形態素情報をWとすると、補完後の第一形態素情報W1は、S1∪W、O1∪W、A1∪W、又はD1∪Wとして表現することができる。
【0187】
話題検索部360は、省略文補完部350で補完された第一形態素情報W1と各第二形態素情報とを照合し、各「話題タイトル」(第二形態素情報)の中から、第一形態素情報W1を含む第二形態素情報を検索し、検索した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0188】
これにより、第一形態素情報からなる発話内容が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、会話データベース500に記憶されている履歴形態情報を用いて、省略された第一形態素情報の形態素を補完することができるので、省略された第一形態素情報からなる発話内容を明確にすることができる。
【0189】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文である場合には、第一形態素情報からなる発話内容が適正な日本語となるように、第一形態素情報に省略された形態素を補完することができるので、話題検索部360は、形態素が補完された第一形態素情報に基づいて、その第一形態素情報と関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で検索された最適な「話題タイトル」に基づいて、利用者の発話内容により適した回答文を出力することができる。
【0190】
(第五変更例)
話題検索部360は、図21に示すように、削除部363と、談話付加部364とを備えてもよい。削除部363は、検索した第二形態素情報に基づいて、第二形態素情報と談話範囲決定部340で検索された談話範囲とを照合し、第二形態素情報を構成する各形態素の中から、談話範囲と一致する形態素を削除する削除手段である。
【0191】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報と、談話範囲決定部340で決定された談話範囲に属する各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索する。
【0192】
そして、削除部363は、検索された第二形態素情報に基づいて、その第二形態素情報と談話範囲決定部340で決定された談話範囲を構成する形態素とを照合し、第二形態素情報の中から、談話範囲を構成する形態素と一致する形態素を削除し、形態素が削除された第二形態素情報を削除信号として談話付加部364に出力する。
【0193】
即ち、削除部363は、第二形態素情報を構成する各形態素t1から、談話範囲決定部340で決定された現在の談話範囲D2(このD2は、形態素からなるものである)を取り除く(取り除いた結果をt2とすると、t2=t1−D2)。
【0194】
談話付加部364は、削除部363で形態素が削除された第二形態素情報に基づいて、談話範囲決定部340で検索された談話範囲に関連付けられた他の談話範囲を取得し、取得した他の談話範囲を構成する形態素を、第二形態素情報に付加する談話付加手段である。
【0195】
具体的には、現在の談話範囲D2が回答文K1と関連性のある談話範囲をDKとすると、回答文K1又は現在の談話範囲D2と関連性(兄弟関係にあるもの)のある他の談話範囲D3は、D3=D2∪DKとして表現することができるので、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、W2=t2∪D3とすることができる。
【0196】
例えば、第二形態素情報を構成する各形態素t1が(A映画名;*;面白い){A映画名は面白い?}であり、談話範囲決定部340で決定された現在の談話範囲D2が(A映画名)である場合には、削除部363は、先ず、各形態素t1(A映画名;*;面白い)から談話範囲D2(A映画名)を削除し、削除した結果をt2(*;*;面白い)とする(t2=t1−D2)。
【0197】
現在の談話範囲D2(A映画名)と関連性のある他の談話範囲D3が”B映画名”である場合には、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、t2∪D3であるので、(B映画名;*;面白い){B映画名は面白い?}とすることができる。
【0198】
これにより、利用者の発話内容が”A映画名は面白い?”である場合には、談話付加部364は、利用者の発話内容を構成する各形態素(A映画名;*;面白い)と一致する第二形態素情報(A映画名;*;面白い)を、他の第二形態素情報(B映画名;*;面白い){B映画名は面白い?}に変更することができるので、回答文検索部370は、談話付加部364で変更された第二形態素情報に関連付けられた回答文(例えば、”B映画名は面白いよ”)を取得し、取得した回答文を出力することができる。
【0199】
この結果、回答文検索部370は、利用者の発話内容に対する回答文を直接的に出力するわけではないが、談話付加部364で付加された形態素を含む第二形態素情報に基づいて、発話内容に関連する回答文を出力することができるので、出力部600は、回答文検索部370で検索された回答文に基づいて、さらに人間味のある回答文を出力することができる。
【0200】
尚、談話付加部364は、形態素が削除された第二形態素情報に他の談話範囲を付加するものだけに限定されるものではなく、形態素が削除された第二形態素情報に履歴形態素情報(会話データベース500に記憶されている)を付加するものであってもよい。
【0201】
(第六変更例)
話題検索部360は、各第二形態素情報の中から、第一形態素情報を含む第二形態素情報を検索することができない場合に、第一形態素情報と各回答文とを照合し、各回答文の中から、第一形態素情報を含む回答文を検索することができたときは、検索した回答文に関連付けられている第二形態素情報を取得する第一検索手段であってもよい。
【0202】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を取得することができない場合には、図22に示すように、第一形態素情報と、第二形態素情報に関連付けられている回答文とを照合する。
【0203】
この照合により、話題検索部360は、回答文の中に第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)が含まれていると判断した場合には、その回答文に関連付けられている第二形態素情報を検索する。
【0204】
これにより、話題検索部360は、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索することができなくても、各回答文の中から、第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)を含む回答文を特定し、この特定した回答文に関連付けられている第二形態素情報を検索することができるので、利用者の発話内容を構成する第一形態素情報に対応する第二形態素情報を適切に検索することができる。
【0205】
この結果、話題検索部360が第一形態素情報に対応する最適な第二形態素情報を検索することができるので、回答文検索部370は、話題検索部360で検索された最適な第二形態素情報に基づいて、利用者の発話内容に対する適切な回答文を検索することができる。
【0206】
[プログラム]
上記会話制御システム及び会話制御方法で説明した内容は、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。
【0207】
ここで、プログラム言語としては、利用者が求める話題、ある事柄に対する利用者の感情度、又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて形態素と関連付けて階層的にデータベースに蓄積するための言語、本実施形態では、例えば、発明者らが開発したDKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)、C言語等が挙げられる。
【0208】
即ち、会話制御装置1は、各会話データベース500a〜500dに格納されているデータ(第二形態素情報、定型内容、回答文、回答種類、集合群、談話範囲、要素情報などの記憶情報)、その他の各部を、DKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)等で構築し、この構築した記憶情報等を利用するためのプログラムを実行することにより実現することができる。
【0209】
このような本実施形態に係るプログラムによれば、利用者の発話内容を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答文を出力することで、利用者の発話内容に対応する最適な回答文を出力することができるという作用効果を奏する会話制御装置、会話制御システム及び会話制御方法を一般的な汎用コンピュータで容易に実現することができる。
【0210】
また、会話制御装置1を開発する開発者は、利用者の発話内容に対する回答文を検索するための第二形態素情報等を、データベースにおいて前記言語を用いて階層的に構築することができるので、会話制御装置1は、利用者の発話内容に基づいて発話内容に対する回答文を、階層的な手順を経てデータベースから取得することができる。
【0211】
即ち、会話制御装置1は、利用者の発話内容の階層(例えば、データベースに蓄積されている第二形態素情報に対して上位概念にあるのか、又は下位概念にあるのか)を見極めて、見極めた階層に基づいて予め蓄積された各回答文の中から、適切な回答文を検索することができる。
【0212】
このため、会話制御装置1は、利用者の発話内容からなる第一形態素情報と、予め記憶されている”全て”の第二形態素情報とを逐一照合することなく、ある特定の階層に属する各第二形態素情報と第一形態素情報とを照合すればよいので、第一形態素情報と近似する第二形態素情報を短時間で取得することができる。
【0213】
更に、上記通信部800と通信部900との間の通信は、通信ネットワーク1000を介して、DKML等からなるプロトコルによってデータを送受信してもよい。これにより、会話制御装置1は、例えば、会話制御装置1に利用者の発話内容に適した回答文がない場合には、通信ネットワーク1000を通じて、DKML等の約束事に従って、利用者の発話内容に適した回答文(DKMLなどで記述されたもの)を検索し、検索した回答文を検索することができる(図20参照)。
【0214】
尚、プログラムは、記録媒体に記録することができる。この記録媒体は、図23に示すように、例えば、ハードディスク1100、フレキシブルディスク1200、コンパクトディスク1300、ICチップ1400、カセットテープ1500などが挙げられる。このようなプログラムを記録した記録媒体によれば、プログラムの保存、運搬、販売などを容易に行うことができる。
【0215】
[第二実施形態]
(会話制御装置の基本構成)
本発明の第二実施形態について図面を参照しながら説明する。本実施形態における会話制御装置1は、図24に示すように、第一実施形態における会話制御装置1の内部構造とほぼ同じであるが、選出部380(第二検索手段;選出手段)を有する点で相違する。また、会話制御装置1は、第一実施形態とは異なり、話題検索部360(第一検索手段)及び回答文検索部370(第二検索手段;回答文検索手段)の機能が一部相違する。
【0216】
この相違する点以外は、第一実施形態及び変更例の構造と同じであるので、相違する点以外の構造についての説明は省略する。なお、本実施形態では、上記第一実施形態における諸機能、例えば鸚鵡返し処理、反射的処理等なども当然に有し、またそれら機能に対応する効果も当然に奏する。
【0217】
なお、本実施形態では、後述する第一形態素情報及び話題タイトルは、第一実施形態とは異なって、その第一形態素情報及び話題タイトルに属する各形態素がサブジェクト、オブジェクト、アクション等の「格」構成に関係なく含まれているものとして説明する。
【0218】
第一実施形態では、会話制御装置1が、利用者からの発話内容に基づいて、その発話内容に対応する回答文を出力する処理について説明した。本実施形態では、利用者からの発話内容の意味が複数の意味に捉えられるような場合には、会話制御装置1が、その各意味の中から、会話制御装置1で展開したい話題に近い発話内容の意味を選出し、選出した意味に対応する回答文を出力する処理について説明する。
【0219】
具体的に、本実施形態における会話制御装置1は、第一実施形態のように、利用者からの発話内容に基づく受動的な回答処理(例えば、利用者からの質問内容に忠実に答える処理)を実行するものではなく、会話制御装置1から自発的に現在の話題を特定の話題に誘導させる能動的な回答処理するものである。本実施形態における会話制御装置1の構造は以下の通りである。なお、本実施形態における会話制御方法及びプログラムは、会話制御装置1における処理内容と同様の処理内容で実行することができる。
【0220】
図25に示すように、本実施形態では、フレーズには一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す話題タイトルが含まれ、話題タイトルには、利用者への回答文が対応付けられている。このフレーズは、例えば発話内容又は話題タイトル等が挙げられる。このフレーズは、本実施形態では、図25に示すように、話題タイトルが該当する。
【0221】
例えば、図25に示すように、話題タイトル1が(A装置;IR(イナズマ ラッシュ);教えて){A装置のIR(イナズマ ラッシュ)を教えて}である場合には、その話題タイトル1を構成する一部の形態素(IR;教えて)を含む話題タイトルとしては、話題タイトル2(A会社;IR(Investor Relations);教えて){A会社のIR(Investor Relations)を教えて}が挙げられる。上記各フレーズ、各話題タイトル及び各回答文は、会話データベース500(形態素記憶手段)に記憶されている。
【0222】
また、共通する話題タイトルには、回答文として選出されるための優先順位が対応付けられている。なお、回答文には、特定の話題に誘導させるための内容又は対応付けられる話題タイトルに関係する内容が含まれることが望ましい。
【0223】
話題検索部360(第一検索手段)は、利用者から入力された発話内容に基づいて予め会話データベース(形態素記憶手段)に記憶された複数のフレーズの中から、発話内容を含む各フレーズを検索するものである。すなわち、話題検索部360は、本実施形態では、文構造解析部430で抽出された第一形態素情報に基づいて、予め記憶された各話題タイトルの中から、第一形態素情報を含む各話題タイトルを検索する。
【0224】
具体的には、図25に示すように、第一形態素情報が(IR;教えて)である場合には、話題検索部360は、第一形態素情報(IR;教えて)を含む話題タイトル1(A装置;IR;教えて)及び話題タイトル2(A会社;IR;教えて)を検索する。
【0225】
選出部380(選出手段)は、話題検索部360で検索された各フレーズに基づいて各フレーズの中から、予め展開したい話題に関係するフレーズを選出するものである。すなわち、選出部380は、本実施形態では、話題検索部360で話題タイトルが複数検索された場合には、複数検索された各話題タイトルに対応付けられた各優先順位の大きさに応じて、一の話題タイトルを選出する。
【0226】
ここで、発話内容又は発話内容を構成する第一形態素情報を含む話題タイトルが複数検索されるということは、本実施形態では、発話内容が複数の意味に捉えられることを意味する。この結果、発話内容が複数の意味に捉えられる場合、すなわち話題タイトルが複数検索された場合には、選出部380は、検索された各話題タイトルの中から、会話制御装置1で予め展開したい話題に関係する話題タイトル(高い優先順位が対応付けられている話題タイトル)を選出する。
【0227】
具体的には、図25に示すように、文構造解析部430で第一形態素情報(IR;教えて)が抽出された場合には、話題検索部360は、第一形態素情報(IR;教えて)を含む話題タイトル1及び話題タイトル2を検索する。図25に示すように、検索された話題タイトル1に対応付けられた優先順位が2であり、話題タイトル2に対応付けられた優先順位が1であるので、選出部380は、話題タイトル1及び話題タイトル2の中から、優先順位1に対応付けられた話題タイトル2を選出する。
【0228】
すなわち、選出部380は、話題検索部360で複数の話題タイトルが検索された場合には、その検索された各話題タイトルに対応付けられた各優先順位の中から、最も高い優先順位を特定し、特定した優先順位に対応付けられた話題タイトルを選出する。なお、選出部380は、上記各優先順位の中から、最も低い優先順位を特定し、特定した優先順位に対応付けられた話題タイトルを選出してもよい。
【0229】
回答文検索部370(回答文検索手段)は、選出部380で選出されたフレーズに対応する回答文を検索するものである。すなわち、回答文検索部370は、本実施形態では、選出部380で選出された話題タイトルに基づいて、話題タイトルに対応付けられた回答文を検索する。
【0230】
具体的には、図25に示すように、回答文検索部370は、例えば選出部380で話題タイトル2(A会社;IR;教えて)が選出された場合には、その話題タイトル2に対応付けられた回答文2(A会社のIRは〜です)を取得する。出力部600は、回答文検索部370で取得された回答文2(A会社のIRは〜です)を出力する。
【0231】
なお、選出部380は、前回検索された話題タイトルが今回検索された各話題タイトルに含まれる場合には、今回検索された各話題タイトルの中から、前回検索された話題タイトルとは異なる話題タイトルを選出してもよい。すなわち、選出部380は、前回検索された話題タイトルが今回検索された各話題タイトルに含まれる場合には、今回検索された各話題タイトルの中から、前回検索された話題タイトルに対応付けられた優先順位の次の優先順位を特定し、特定した優先順位に対応付けられた話題タイトルを選出してもよい。
【0232】
具体的には、図25に示すように、例えば、選出部380は、前回検索(又は選出)された話題タイトル2(A会社;IR;教えて)が今回検索された話題タイトル1又は話題タイトル2に含まれる場合には、前回検索(又は選出)された話題タイトル2(A会社;IR;教えて)に対応付けられた優先順位1を特定する。この選出部380は、特定した優先順位1の次の優先順位2に対応付けられた話題タイトル1(A装置;IR;教えて)を、今回検索された話題タイトル1又は話題タイトル2の中から選出する。
【0233】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。図26は、本実施形態に係る会話制御方法の手順を示すフロー図である。図26に示す(S201)〜(S204)までの処理は上記第一実施形態における(S101)〜(S104)までの処理と同様であるので、詳細な説明は省略する。
【0234】
図26に示すように、話題検索部360が、文構造解析部430で抽出された第一形態素情報に基づいて、予め記憶された各話題タイトルの中から、第一形態素情報を含む各話題タイトルを検索するステップを行う(S205)。具体的には、図25に示すように、第一形態素情報が(IR;教えて)である場合には、話題検索部360は、第一形態素情報(IR;教えて)を含む話題タイトル1(A装置;IR;教えて)及び話題タイトル2(A会社;IR;教えて)を検索する。
【0235】
その後、選出部380が、話題検索部360で各話題タイトルが検索された場合には、検索された各話題タイトルに対応付けられた各優先順位の大きさに応じて、一の話題タイトルを選出するステップを行う(S206)。具体的には、図25に示すように、文構造解析部430で第一形態素情報(IR;教えて)が抽出された場合には、話題検索部360は、第一形態素情報(IR;教えて)を含む話題タイトル1及び話題タイトル2を検索する。
【0236】
検索された話題タイトル1に対応付けられた優先順位が2であり、話題タイトル2に対応付けられた優先順位が1であるので、選出部380は、話題タイトル1及び話題タイトル2の中から、優先順位1に対応付けられた話題タイトル2を選出する。
【0237】
一方、選出部380は、前回検索された話題タイトルが今回検索された各話題タイトルに含まれる場合には、今回検索された各話題タイトルの中から、前回検索された話題タイトルに対応付けられた優先順位の次の優先順位を特定し、特定した優先順位に対応付けられた話題タイトルを選出する。
【0238】
具体的には、図25に示すように、例えば、選出部380は、前回検索された話題タイトル2(A会社;IR;教えて)が今回検索された話題タイトル1又は話題タイトル2に含まれる場合には、前回検索された話題タイトル2(A会社;IR;教えて)に対応付けられた優先順位1を特定する。この選出部380は、特定した優先順位1の次の優先順位2に対応付けられた話題タイトル1(A装置;IR;教えて)を、今回検索された話題タイトル1又は話題タイトル2の中から選出する。
【0239】
次いで、回答文検索部370が、選出部380で選出された話題タイトルに基づいて、話題タイトルに対応付けられた回答文を検索するステップを行う(S207)。具体的には、図25に示すように、回答文検索部370は、例えば選出部380で話題タイトル2(A会社;IR;教えて)が選出された場合には、その話題タイトル2に対応付けられた回答文2(A会社のIRは〜です)を取得する。出力部600は、回答文検索部370で取得された回答文2(A会社のIRは〜です)を出力する。
【0240】
(会話制御装置及び会話制御方法による作用及び効果)
上記構成を有する発明によれば、文構造解析部430で抽出された第一形態素情報(IR;教えて)を含む各話題タイトルとして、話題タイトル1(A装置;IR(イナズマ ラッシュ);教えて)及び話題タイトル2(A会社;IR(Investor Relations);教えて)が検索された場合には、選出部380は、検索された話題タイトル1及び話題タイトル2の中から、高い優先順位が対応付けられている話題タイトル2を選出することができる(図25参照)。
【0241】
ここで、入力情報を含む各フレーズが複数検索されること、又は入力情報を構成する第一形態素情報を含む第二形態素情報が複数検索されるということは、入力情報が複数の意味に捉えられることを意味する。したがって、発話内容が複数の意味に捉えられる場合、すなわち話題タイトルが複数検索された場合には、選出部380は、上述のように、各話題タイトルの中から、会話制御装置1で予め展開したい話題に関係する話題タイトル(高い優先順位が対応付けられている話題タイトル)を選出することができる。この結果、回答文検索部370は、選出部380で選出された話題タイトルに基づいて、話題タイトルに対応付けられた回答文(例えば特定の話題に誘導させるための文)を出力することができる。
【0242】
また、会話制御装置1は、利用者からの発話内容に基づく受動的な回答文を出力(例えば、利用者からの質問内容に忠実に答えること)するものではなく、会話制御装置から自発的に現在の話題から特定の話題に誘導させる能動的な回答文を出力することができる。
【0243】
更に、回答文には特定の話題に誘導させるための内容が回答文に含まれるので、回答文検索部370は、出力部600を介してその回答文を出力することにより現在の話題を予め展開させたい話題へとより的確に誘導することができる。すなわち、会話制御装置1は、現在の話題についての主導権を内部的に握り、その現在の話題を特定のストーリへとより的確に誘導することができる。
【0244】
更にまた、回答文検索部370は、上記入力情報に含まれる日本語特有な助詞(て・に・を・・等)を除いた形態素を用いて該当する回答文を検索するので、その各形態素から把握することができる意味内容に基づいて、予め作成された回答文をより的確に取得することができる。すなわち、回答文検索部370は、単に入力情報の全体をキーワードとして、そのキーワードに関連付けられた回答文を検索するよりも、より入力情報に適した回答文を検索することができる。
【0245】
加えて、話題検索部360は、第一形態素情報を含む話題タイトルを検索するので、利用者からの入力情報と完全に一致する話題タイトルを検索する必要がない。この結果、会話制御装置1を開発する開発者は、利用者から入力されると予想される入力情報に対応する膨大な回答文を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0246】
(変更例)
なお、本発明は、上記実施形態に限定されるものではなく、以下に示すような変更を加えることができる。選出部380は、話題検索部360で今回検索された各話題タイトルが所定の基準回数を越えて検索された場合には、前回選出された話題タイトルとは異なる話題タイトルを、今回検索された各話題タイトルの中から選出するものであってもよい。
【0247】
具体的には、選出部380は、例えば、前回選出された話題タイトル1(A装置;IR;教えて)が今回検索された話題タイトル1又は話題タイトル2に含まれ、今回検索された話題タイトル1又は話題タイトル2が所定の基準回数(例えば、5回)を越えて検索されたか否かを特定する。
【0248】
この選出部380は、特定した回数が所定の基準回数(例えば、5回)を越えた場合には、前回選出された話題タイトル1(A装置;IR;教えて)に対応付けられた優先順位1を特定する。選出部380は、特定した優先順位1の次の優先順位2に対応付けられた話題タイトル2(A会社;IR;教えて)を、今回検索された話題タイトル1又は話題タイトル2の中から選出する。
【0249】
一方、選出部380は、カウントした回数が基準回数(例えば、5回)を越えていない場合には、前回検索された話題タイトル1(A装置;IR;教えて)を他の話題タイトル2,話題タイトル3に優先して用いる。回答文検索部370は、選出部380で選出された話題タイトルに基づいて、話題タイトルに対応付けられた回答文を検索する。回答文検索部370は、管理部310を介して取得した回答文を出力部600に出力する。
【0250】
これにより、前回選出された話題タイトルが話題検索部360で今回検索された各話題タイトルに含まれ、今回検索された各話題タイトルが所定の基準回数を越えて検索された場合には、選出部380は、前回選出された話題タイトルとは異なる話題タイトルを、今回検索された各話題タイトルの中から選出することができる。
【0251】
すなわち、利用者から同様の発話内容が繰り返し発話された場合には、選出部380は、その繰り返された回数に応じて順次話題タイトルを変更することができる。この結果、会話制御装置1は、繰り返された発話内容の回数に応じて、現在の話題から特定の話題へと誘導させる回答文を出力することができる。また、同じ発話内容が繰り返し発話されると、会話制御装置1が現在の話題から他の話題へと誘導してくれるので、利用者は、恰も人間と話しているような感覚を味わうことができる。
【0252】
なお、本発明は、会話を行うことを目的とする装置等(会話ロボット等)に限定されるものではなく、遊技機等においても本機能を用いることができる。
【0253】
【発明の効果】
以上説明したように本発明によれば、利用者の発話内容が複数の意味に捉えられる場合には、予め展開したい特定の話題に関係する回答文を出力することで、現在の話題を特定の話題に誘導することができる。
【図面の簡単な説明】
【図1】第一実施形態に係る会話制御システムの概略構成を示すブロック図である。
【図2】第一実施形態における会話制御部及び文解析部の内部構造を示すブロック図である。
【図3】第一実施形態における形態素抽出部で抽出する各形態素の内容を示す図である。
【図4】第一実施形態における文節解析部で抽出する各文節の内容を示す図である。
【図5】第一実施形態における文構造解析部で特定する「格」の内容を示す図である。
【図6】第一実施形態における発話種類判定部で特定する「発話文のタイプ」を示す図である。
【図7】第一実施形態における発話種類データベースで格納する各辞書の内容を示す図である。
【図8】第一実施形態における会話データベースの内部で構築される階層構造の内容を示す図である。
【図9】第一実施形態における会話データベースの内部で構築される階層構造の詳細な関係を示す図である。
【図10】第一実施形態における会話データベースの内部で構築される「話題タイトル」の内容を示す図である。
【図11】第一実施形態における会話データベースの内部で構築される「話題タイトル」に関連付けられている「回答文のタイプ」の内容を示す図である。
【図12】第一実施形態における会話データベースの内部で構築される「談話範囲」に属する「話題タイトル」及び「回答文」の内容を示す図である。
【図13】第一実施形態における反射要素データベースで記憶する反射要素情報の内容を示す図である。
【図14】第一実施形態における鸚鵡返し要素データベースで記憶する鸚鵡返し要素、鸚鵡返し要素の形態素の内容を示す図である。
【図15】第一実施形態に係る会話制御方法の手順を示すフロー図である。
【図16】第一変更例における形態素抽出部で整理する発話内容を示す図である。
【図17】第二変更例における話題検索部の内部構成を示す図である。
【図18】第二変更例における割合計算部が「格構成」に属する各形態素と各「話題タイトル」とを「話題タイトル」毎に照合する様子を示す図である。
【図19】第二変更例における割合計算部が「各構成」に属する各形態素と「話題タイトル」に属する各形態素とを「格」毎に照合する様子を示す図である。
【図20】第三変更例における会話制御システムの概略構成を示す図である。
【図21】第五変更例における話題検索部の内部構成を示す図である。
【図22】第六変更例における話題検索部が第一形態素情報と、話題タイトル又は回答文とを照合する様子を示す図である。
【図23】第一実施形態におけるプログラムを格納する記録媒体を示す図である。
【図24】第二実施形態に係る会話制御装置の内部構成を示すブロック図である。
【図25】第二実施形態における会話データベースの内部で構築される「話題タイトル」及び「回答文」の内容を示す図である。
【図26】第二実施形態に係る会話制御方法の処理手順を示す図である。
【符号の説明】
1…会話制御装置、2…サーバ、100…入力部、200…音声認識部、300…会話制御部、310…管理部、320…反射的判定部、330…鸚鵡返し判定部、340…談話範囲決定部、350…省略文補完部、360…話題検索部、361…割合計算部、362…選択部、363…削除部、364…談話付加部、370…回答文検索部、380…選出部、400…文解析部、410…形態素抽出部、420…文節解析部、430…文構造解析部、440…発話種類判定部、450…形態素データベース、460…発話種類データベース、500…会話データベース、600…出力部、700…音声認識辞書記憶部、800…通信部、801…反射要素データベース、802…鸚鵡返し要素データベース、900…通信部、1000…通信ネットワーク、1100…ハードディスク、1200…フレキシブルディスク、1300…コンパクトディスク、1400…ICチップ、1500…カセットテープ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a conversation control device and a conversation control method.
[0002]
[Prior art]
A conventional conversation control device can output a pre-stored answer sentence corresponding to the utterance content based on the utterance content from the user (for example, Patent Document 1).
[0003]
[Patent Document 1]
JP-A-2002-169804 (pages 6 to 15, FIG. 16)
[0004]
[Problems to be solved by the invention]
However, when the content of the user's utterance is captured in a plurality of meanings and there are a plurality of answer sentences corresponding to the utterance content, the conversation control device generally outputs the answer sentence searched first. Was. For this reason, when the utterance content of the user is captured in a plurality of meanings, the conversation control device selects, from the respective meanings, the meaning of the utterance content related to a specific topic to be developed in advance, and selects the meaning. An answer sentence corresponding to the meaning of the utterance content could not be output.
[0005]
For example, when the utterance content from the user is "Please tell me IR", the utterance content is captured in the meaning of IR (Inazuma Rush) of the effect image on the gaming machine or IR (Investor Relations) of the company. Sometimes. In this case, when the conversation control device first searches for an answer sentence corresponding to the IR (Inazuma Rush) of the effect image on the gaming machine from among the answer sentences, it outputs the first searched answer sentence. .
[0006]
That is, even when the conversation control device wants to output an answer sentence corresponding to the IR of the company, when the answer sentence corresponding to the IR (Inazuma Rush) of the effect image is first searched, the first searched answer The statement was output automatically. For this reason, there has been a demand for the development of a system capable of outputting an answer sentence related to a specific topic to be developed in advance when the utterance content from the user is captured in a plurality of meanings.
[0007]
Therefore, the present invention has been made in view of the above points, and when the utterance content of the user is captured in a plurality of meanings, by outputting an answer sentence related to a specific topic to be developed in advance, It is an object to provide a conversation control device and a conversation control method that can guide a current topic to a specific topic.
[0008]
[Means for Solving the Problems]
The present invention has been made in order to solve the above-described problem, and when searching for an answer sentence corresponding to input information based on input information including utterance content input from the user, the present invention has been made to solve the problem. Searches each phrase including the input information from a plurality of phrases stored in advance based on the input information, and selects a phrase related to a topic to be developed in advance from each phrase based on the searched phrases. Then, an answer sentence corresponding to the selected phrase is searched.
[0009]
That is, in the present invention, the phrase includes second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and the plurality of second morpheme information includes an answer sentence to the user. And a priority order to be selected as an answer sentence are associated with each other, each second morpheme information and each answer sentence are stored in advance, and based on a character string included in the input information input by the user, a character Extracting at least one morpheme constituting the minimum unit of the column as first morpheme information, based on the extracted first morpheme information, from among the previously stored second morpheme information, including the first morpheme information When the second morpheme information is searched, and when a plurality of second morpheme information is searched, each of the searched second morpheme information is determined in accordance with the magnitude of each priority order associated with each searched second morpheme information. Dimorphological information Elect one second morpheme information from, based on the second morpheme information elected, characterized by searching an answer sentence associated with the second morpheme information.
[0010]
According to the invention of the present application, when the second morpheme information 1 and the second morpheme information 2 are searched as the second morpheme information including the extracted first morpheme information, the conversation control device: From the retrieved second morpheme information 1 and second morpheme information 2, for example, the second morpheme information 1 associated with a higher priority is selected, and the answer sentence associated with the selected second morpheme information 1 is selected. Can be output. Here, the fact that a plurality of phrases each including input information is searched, or that a plurality of second morphological information including first morphological information constituting the input information are searched for, means that the input information has a plurality of meanings. Means that.
[0011]
That is, when the input information is captured in a plurality of meanings, and when the plurality of second morpheme information (or phrases) is searched, the conversation control device expands the second morpheme information from the respective second morpheme information in advance by the conversation control device. It is possible to select second morpheme information (second morpheme information associated with a high priority) related to a topic to be performed.
[0012]
As a result, the conversation control device does not output a passive answer sentence based on the content of the utterance from the user (for example, faithfully answer the content of the question from the user). It is possible to output an active answer sentence that expands to a specific topic, in other words, to output an answer sentence that guides the current topic to the specific topic.
[0013]
In the above invention, if each of the second morpheme information searched this time is searched for more than a predetermined reference number, the second morpheme information different from the previously selected second morpheme information is searched this time. May be selected from the second morpheme information. Thereby, if the second morpheme information selected last time is included in each of the second morpheme information searched this time, and each of the second morpheme information searched this time is searched beyond a predetermined reference number, the conversation The control device can select the second morpheme information different from the second morpheme information selected last time from each of the second morpheme information searched this time.
[0014]
That is, when the same utterance content is repeatedly uttered by the user, the conversation control device can sequentially change the second morpheme information according to the number of times of the repetition. As a result, the conversation control device can change the answer sentence for guiding the current topic to the specific topic one by one according to the number of repeated utterance contents.
[0015]
In the above invention, the answer sentence may include a content for guiding the user to a specific topic. In this case, since the content to guide the user to a specific topic is included in the answer sentence, the conversation control device outputs the answer sentence so that the current topic can be more accurately adjusted to the topic to be developed in advance. Can be guided. In other words, the conversation control device can take the initiative on the current topic internally and guide the current topic more accurately to a specific story.
[0016]
In the above invention, when the second morpheme information searched last time is included in each second morpheme information searched this time, the second morpheme information searched last time is selected from the second morpheme information searched this time. It is preferable to specify a priority next to the priority associated with the information, and select second morpheme information associated with the specified priority.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
[First embodiment]
(Basic configuration of conversation control system)
A conversation control system according to the present invention will be described with reference to the drawings. FIG. 1 is a schematic configuration diagram of a conversation control system having a conversation control device 1 according to the present embodiment.
[0018]
As shown in FIG. 1, the conversation control device 1 includes an input unit 100, a speech recognition unit 200, a conversation control unit 300, a sentence analysis unit 400, a conversation database 500, an output unit 600, and a speech recognition dictionary storage. And a unit 700.
[0019]
In the present embodiment, for convenience of explanation, the description will be limited to the utterance content of the user (this utterance content is a type of input information). However, the present invention is not limited to the utterance content of the user, and is not limited to the utterance content of the user. For example, the input information may be input from a user or the like. Therefore, the "speech content" described below can also be described by replacing "speech content" with "input information".
[0020]
Similarly, in the following description, for convenience of explanation, the description will be limited to “speech sentence type” (speech type). The “input type” indicating the type of input information that has been input may be used. Therefore, the "utterance sentence type" (utterance type) described below can also be described by replacing "utterance type" with "input type".
[0021]
The input unit 100 is an obtaining unit that obtains input information from a user. In the present embodiment, the input unit 100 includes a microphone, a keyboard, and the like. The input unit 100 is also a character recognition unit that specifies a character string indicating input information based on input information input by a user.
[0022]
Here, the input information means characters, symbols, voices and the like input through a keyboard or the like. Specifically, the input unit 100 acquires input information (other than voice) of the user and outputs the acquired input information to the conversation control unit 300. Also, the input unit 100 that has acquired the utterance content from the user (this utterance content is composed of voice and is a type of input information) with a microphone or the like, the input unit 100 converts the voice constituting the acquired utterance content into an audio signal. Is output to the voice recognition unit 200.
[0023]
The voice recognition unit 200 is a character recognition unit that specifies a character string included in the utterance content based on the utterance content acquired by the input unit 100. Specifically, the voice recognition unit 200 to which the voice signal is input from the input unit 100 analyzes the input voice signal, and stores a character string included in the analyzed voice signal in the voice recognition dictionary storage unit 700. The specified character string is output to the conversation control unit 300 as a character string signal. The voice recognition dictionary storage unit 700 stores a dictionary corresponding to a standard voice signal.
[0024]
The sentence analysis unit 400 analyzes a character string specified by the input unit 100 or the speech recognition unit 200. In the present embodiment, as shown in FIG. 2, a morpheme extraction unit 410 and a phrase analysis unit 420 , A sentence structure analysis unit 430, an utterance type determination unit 440, a morpheme database 450, and an utterance type database 460.
[0025]
The morpheme extraction unit 410 is a morpheme extraction unit that extracts, as first morpheme information, at least one morpheme constituting the minimum unit of the character string based on the character string specified by the input unit 100 or the speech recognition unit 200.
[0026]
Specifically, the morpheme extraction unit 410 to which the character string signal is input from the management unit 310 extracts each morpheme from the character string corresponding to the input character string signal. Here, in the present embodiment, a morpheme means a minimum unit of a word configuration represented in a character string. As shown in FIG. 3, examples of the minimum unit of the word configuration include a part of speech such as a noun, an adjective, and a verb. In the present embodiment, each morpheme is represented as m1, m2,..., Ml.
[0027]
That is, the morpheme extraction unit 410 collates a character string corresponding to the input character string signal with a morpheme group such as a noun, adjective, or verb stored in the morpheme database 450 in advance, and extracts a morpheme from the character string. Each morpheme (m1, m2,...) That matches the group is extracted, and each extracted morpheme is output to the phrase analysis unit 420 as an extraction signal.
[0028]
The phrase analysis unit 420 is a conversion unit that converts each morpheme into a phrase format based on each morpheme extracted by the morpheme extraction unit 410. Specifically, the phrase analysis unit 420 to which the extraction signal is input from the morpheme extraction unit 410 uses the respective morphemes corresponding to the input extraction signal to combine them into a phrase format.
[0029]
In the present embodiment, the phrase form refers to a sentence having an independent word or an independent word with one or more attached words in the Japanese grammar, or a character string that does not break the meaning of the Japanese grammar. It means a sentence that is as small as possible. This clause is expressed as p1, p2,... Pk in the present embodiment.
[0030]
That is, as shown in FIG. 4, the phrase analyzing unit 420 converts the dependency element of each morpheme (for example, (m2) · (m4) · (m5) based on each morpheme corresponding to the input extracted signal. ) ..) are extracted, and each morpheme is grouped into each phrase based on the extracted dependency elements. "T" shown in the figure means transposition.
[0031]
The phrase analysis unit 420 that compiles each morpheme into each phrase, the sentence structure analysis unit 430 and the utterance type determination unit 440, using the morphological information including each morpheme that summarizes each morpheme and each morpheme that composes each phras as a morphological signal. Output to
[0032]
The sentence structure analysis unit 430 is a classification unit that classifies each morpheme of the first morpheme information segmented by the phrase analysis unit 420 into attributes such as subject matter and object case. Specifically, the sentence structure analysis unit 430 to which the sentence pattern signal is input from the sentence pattern analysis unit 420, based on each morpheme corresponding to the input sentence pattern signal and the sentence formed by each morpheme, Determine the "case composition".
[0033]
Here, the “case composition” means a case (attribute) indicating a substantial concept in a phrase, and in the present embodiment, for example, a subject (subject case) meaning a subject / subject and an object Examples include a meaningful object (target case), an action meaning an action, a time meaning a time (tense, aspect), a location meaning a place, and the like. In the present embodiment, each morpheme associated with three elements “case” (case configuration) of a subject, an object, and an action is defined as first morpheme information.
[0034]
That is, as shown in FIG. 5, for example, when the dependency element of each morpheme is "" or "ha", the sentence structure analysis unit 430 determines that the morpheme before the dependency element is the subject (subject) Or nominative). In addition, for example, when the dependency element of each morpheme is "" or "", the sentence structure analysis unit 430 determines that the morpheme before the dependency element is an object (object).
[0035]
Further, for example, when the dependency element of each morpheme is “do”, the sentence structure analysis unit 430 determines that the morpheme preceding the dependency element is an action (predicate; this predicate is composed of a verb, an adjective, etc.). Is determined.
[0036]
The sentence structure analysis unit 430 that has determined the “case configuration” of each morpheme constituting each phrase, based on the first morpheme information associated with the determined “case configuration”, determines the range of a topic described below. A topic search command signal for specifying is output to the reflective determination unit 320.
[0037]
The utterance type determination unit 440 is a type specifying unit that specifies an utterance type (input type) indicating the type of utterance content (input information) based on the phrase specified by the phrase analysis unit 420. Specifically, the “speech sentence type” (speech type) is determined based on each morpheme corresponding to the sentence pattern signal input from the phrase analysis unit 420 and the clause composed of each morpheme.
[0038]
In this embodiment, as shown in FIG. 6, the “utterance sentence type” is a statement (D; Declaration), a comment sentence (I; Impression), a conditional sentence (C; Condition), and a result sentence (D: Declaration). E; Effect), time sentence (T; Time), place sentence (L; Location), repulsion sentence (N; Negation), and the like. As shown in FIG. 6, each of these sentences is expressed as an affirmative sentence (A; Answer) or a question sentence (Q; Question).
[0039]
The statement is a sentence composed of a user's opinion or idea, and in the present embodiment, as shown in FIG. 6, a sentence such as "I like Sato" is exemplified. The impression sentence means a sentence composed of impressions held by the user. The location sentence means a sentence composed of locational elements.
[0040]
The result sentence means a sentence composed of a sentence including a result element for a topic. The time sentence means a sentence including a temporal element related to a topic.
[0041]
The conditional sentence means a sentence including elements such as a premise of the topic and a condition or a reason why the topic is established when one utterance is regarded as a topic. The repulsive sentence means a sentence including an element that repels the utterer. An example sentence for each “utterance sentence type” is as shown in FIG.
[0042]
That is, based on each phrase corresponding to the input sentence pattern signal, the utterance type determination unit 440 collates each phrase with each dictionary stored in the utterance type database 460, and from among each phrase, Extract sentence elements related to the dictionary. The utterance type determination unit 440 that extracts a sentence element related to each dictionary from each phrase determines a “speech sentence type” based on the extracted sentence element. The sentence element means a minute type for specifying the type of the character string, and in the present embodiment, the sentence element includes the above-described definition phrase (to).
[0043]
Here, the utterance type database 460 includes, as shown in FIG. 7, a definition expression example dictionary including a dictionary related to a definition phrase (for example, 〜), and a positive phrase (for example, agree, agree, ping-pong). positive cases dictionary with a dictionary related to, a result clause (for example, so, so) the results representation case dictionary with a dictionary related to, greeting clause (for example, Hello) greeting case dictionary with a dictionary related to, It is composed of a negative case dictionary having a dictionary related to a negative phrase (for example, it is not stupid, opposite), and each dictionary is associated with a “speech sentence type”.
[0044]
Accordingly, the utterance type determination unit 440 compares the phrase with each dictionary stored in the utterance type database 460, extracts a sentence element related to each dictionary from the phrase, and associates the extracted sentence element with the extracted sentence element. The “utterance sentence type” can be determined by referring to the determined determination type.
[0045]
The utterance type determination unit 440 outputs an answer search command signal for causing the corresponding user to search for a specific answer sentence to the answer sentence search unit 370 based on an instruction from the topic search unit 360 described later.
[0046]
The conversation database 500 stores a plurality of pieces of second morpheme information indicating each morpheme composed of one character, a plurality of character strings, or a combination thereof, and a plurality of answer sentences to the user with respect to the utterance content in advance. Storage means (discussion storage means; morphological storage means). The conversation database 500 is also an answer storage unit (discussion storage unit) that stores a plurality of answer types indicating the types of each answer sentence associated with a plurality of answer sentences in advance in association with the second morpheme information.
[0047]
Further, the conversation database 500 previously stores a plurality of discourse ranges (keywords) indicating morphemes constituting ranges related to the input contents to be input from the user or the answer sentence to the user. But also. The discourse range (keyword) is associated with a plurality of pieces of second morpheme information indicating morphemes composed of one character, a plurality of character strings, or a combination thereof. Each second morpheme information includes an answer sentence to the user. Associated with each.
[0048]
Furthermore, the conversation database 500 is also an answer storage unit (discussion storage unit) that classifies and stores each element constituting the second morphological information into attributes such as a subject composed of a nominative case and a target case composed of a purpose case. .
[0049]
As shown in FIG. 8, in the present embodiment, the conversation database 500 is roughly divided into a discourse meaning a range that is relevant to the utterance contents that will be uttered by the user or the answer sentence to the user. It is composed of a range (discourse) and a topic (topic) indicating a range most closely related to the content spoken by the user. As shown in the drawing, the “discussion range” is positioned as a higher concept of “topic” in the present embodiment.
[0050]
Each discourse range can be configured to have a hierarchical structure, as shown in FIG. As shown in the figure, for example, the discourse range (entertainment) of a higher concept with respect to a certain discourse range (movie) is arranged in an upper hierarchical structure, and the discourse range of a lower concept with respect to the discourse range (movie) (movie) Attribute, showing movie) can be located in a lower hierarchical structure. That is, in the present embodiment, each discourse range can be arranged at a hierarchical position where the relationship between the superordinate concept, the subordinate concept, the synonym, and the synonym with the other discourse ranges is clear.
[0051]
As described above, the discourse range is composed of each topic. In the present embodiment, for example, if the discourse range is the A movie name, the discourse range includes a plurality of topics related to the A movie name.
[0052]
This topic means a morpheme composed of one character, a plurality of character strings, or a combination thereof, that is, each morpheme constituting the utterance content that will be uttered by the user. In the present embodiment, It is composed of each morpheme associated with the subject (subject), the object (target case), and the "case" (attribute) of the action. In the present embodiment, each morpheme associated with these three elements is expressed as a topic title (this topic title corresponds to a lower concept of “topic”) (second morpheme information). .
[0053]
The topic title is not limited to each morpheme associated with the above three elements, but may include other "cases", that is, time (tense, aspect) meaning time, location meaning location, Each morpheme may be associated with a condition indicating a condition, an impression indicating an impression, an effect indicating a result, or the like.
[0054]
In this embodiment, the topic title (second morpheme information) is stored in the conversation database 500 in advance, and the first morpheme information (derived from the utterance content uttered by the user) They are distinct.
[0055]
For example, if the topic title has a discourse range of “A movie name”, as shown in FIG. 10, subject (A movie name), object (director), action (great) {this is “A movie The name director is made up of}, which means “great.”
[0056]
If there is no morpheme associated with “case composition” (subject, object, action, etc.) in the topic title, this portion is indicated with “*” in the present embodiment.
[0057]
For example, what is the $ A movie name? When the sentence of} is converted into a topic title (subject; object; action), what is the name of {A movie? In the sentence of}, “A movie name” can be specified as a subject, but other “objects” and “actions” are not elements of the sentence, so the topic title is “subject” (A movie name) No "object"(*); no "action" (*) (see FIG. 10).
[0058]
In this embodiment, the answer sentence is associated with each topic title (second morpheme information) (see FIG. 8). In this embodiment, as shown in FIG. 11, the answer sentence includes a statement (D; Declaration) and an impression sentence in order to make an answer corresponding to the type of the utterance sentence uttered by the user. (I; Impression), conditional sentence (C; Condition), result sentence (E; Effect), time sentence (T; Time), location sentence (L; Location), negative sentence (N; Negation), etc. (answer) Types).
[0059]
That is, as shown in FIG. 12, each answer sentence is associated with, for example, the discourse range (Sato) {lower concept; home run, higher concept; grass baseball, synonyms; panda Sato / Sato / Panda} and each topic title Have been.
[0060]
As shown in the figure, for example, the topic title 1-1 is $ (Sato; *; I like): This is the order of (subject; object; action) as described above. If the order is the same as in the following, the answer sentence 1-1 corresponding to the topic title 1-1 is (DA; statement positive sentence "I like Sato"), (IA; impression positive sentence) "I like Sato very much"), (CA; positive statement on condition "Because Sato's home run is very impressive"), (EA; positive statement on result "I always watch TV games where Sato appears"), (TA; time affirmative sentence "I actually like it because of the five consecutive at-bats in Koshien"), (LA; place affirmative sentence "I like the serious face when standing on a blow"), (NA Affirmative sentence "I don't want to talk to someone who dislikes Sato, goodbye").
[0061]
In the present embodiment, as shown in FIG. 2, the conversation control unit 300 includes a management unit 310, a reflective determination unit 320, a parrot return determination unit 330, a discourse range determination unit 340, and an abbreviation sentence complementing unit 350. , A topic search unit 360 and an answer sentence search unit 370.
[0062]
The management section 310 controls the entire conversation control section 300. Specifically, the management unit 310 to which the character string has been input from the input unit 100 or the voice recognition unit 200 outputs the input character string to the morpheme extraction unit 410 as a character string signal. Further, management section 310 outputs the answer sentence obtained by answer sentence search section 370 to output section 600.
[0063]
The reflexive determination unit 320 is a fixed form acquisition unit that compares the first morpheme information extracted by the morpheme extraction unit 410 with each fixed content, and searches for fixed content including the first morpheme information from each fixed content. .
[0064]
Here, the standard content means reflective element information for answering the standard content to the utterance content from the user, and this reflective element information is stored in the reflective element database 801 (standard type storage means) in advance. A plurality is stored. As the reflective element information, in the present embodiment, as shown in FIG. 13, for example, "Good morning", "Hello", "Good evening", "greeting elements" such as "Hey", "I see", "Really?" And "typical elements".
[0065]
Specifically, the reflexive determination unit 320 to which the topic search command signal has been input from the sentence structure analysis unit 430 receives the first morphological information included in the input topic search command signal and each of the information stored in the reflection element database 801. The reflection element information is collated with the reflection element information, and the reflection element information including the first morphological information is retrieved from the respective reflection element information, and the retrieved reflection element information is output to the management unit 310.
[0066]
That is, assuming that the reflection element information is D1 and the first morpheme information is W, the reflection determining unit 320 determines that the relation of W∩D1 ≠ φ (φ; empty set) is satisfied, Perform a process to make a typical answer.
[0067]
For example, when the user utters the utterance content of “good morning”, the reflexive determination unit 320 compares the utterance content “good morning” with each piece of reflection element information, and from each piece of reflection element information, The reflection element information “good morning” including (matching with) “good morning” is retrieved, and the retrieved reflection element information “good morning” is output to the management unit 310.
[0068]
When it is not possible to search for the reflection element information including the utterance content from each of the reflection element information, the reflexive determination section 320 converts the topic search command signal input from the sentence structure analysis section 430 into a parallax return determination section 330. Output to
[0069]
The parrot return determination unit 330 compares the current first morpheme information extracted by the morpheme extraction unit 410 with the past answer sentence stored in the parrot return element database 802, and determines that the current first morpheme information is a past answer. If it is included in the sentence, it is a standard acquisition means for acquiring the contents of the agreement.
[0070]
Here, in this embodiment, the parrot return means that the content of the utterance of the user is repeated as it is (or a content close thereto). In this embodiment, the parrot return element is composed of first morpheme information or the like constituting an answer sentence output immediately before from the conversation control device 1, and as shown in FIG. 14, for example, "horse is beautiful"(Horse;*; beautiful) and "I like Sato"(Sato;*; I like it).
[0071]
In addition, the parrot return element database 802 is an agreement storage unit that stores agreement details for agreeing to input information input by a user in advance. The contents of the agreement include, for example, the input information previously input by the user (if the previous input information is “Is the director of the A movie name Mr. S?” The director of A movie name is Mr. S)), or "Exactly", "True".
[0072]
Specifically, the parrot return determining unit 330 to which the topic search command signal is input from the reflexive determination unit 320 configures the first morphological information and the parrot return element included in the input topic search command signal for each parrot return element. By comparing each morpheme, it is determined whether or not the first morpheme information is included in the parrot return element (see FIG. 14).
[0073]
When the parrot return determination unit 330 determines that the first morpheme information is included in each parrot return element, it obtains the consensus content and outputs an answer sentence including the obtained consensus content to the management unit 310 (parrot return). Process). That is, assuming that the parrot return element (such as the previous answer sentence) is S and the first morpheme information is W, the parrot return determination unit 330 indicates above when the relationship of W⊂S and W ≠ φ is established. Perform parrot return processing.
[0074]
For example, the conversation control device 1 gives the answer sentence "The director of the A movie name is Mr. S" (the director of the A movie name; Mr. S; *) (the order is subject, object, action, and so on). ) Is output, and then, when the user utters “A is the director of the A movie name Mr. S” (the director of the A movie name; Mr. S; *) in response to the output sentence, the parrot returns The determination unit 330 determines that the first morpheme information of the user (Director of the A movie name; Mr. S; *) matches each morpheme of the answer sentence (Director of the A movie name; Mr. S; *). The user concludes that the answer is being parroted, obtains the stored contents of the agreement, such as "exactly," and outputs the obtained agreement.
[0075]
The parrot return determining unit 330 compares the current first morphological information extracted by the morphological extracting unit 410 with the past first morphological information stored in the parrot return element database 802, and outputs the current first morphological information. Is included in the past first morpheme information, it is also a fixed form acquisition means for acquiring the content of repulsion.
[0076]
More specifically, when the user utters the utterance content “Horse is beautiful” and the conversation control device 1 outputs the content of “Horse may have a sense of dynamism” as an answer sentence, it is used later. When the person repeats the utterance content “horse is beautiful”, the parrot return determining unit 330 determines that each morpheme (first morpheme information) constituting the current utterance content “horse is beautiful” {horse; Each morpheme (first morpheme information) that constitutes the previous utterance content “Horse is beautiful” {horse; *; beautiful} matches, so the user can reply from the conversation control device 1 “Horse is dynamic. "I have a good feeling."
[0077]
In this case, since the user has not heard the answer sentence from the conversation control device 1, the parrot return determination unit 330 acquires the stored rebound content (for example, do not repeat the same content) and obtains the obtained repulsion. The contents can be output.
[0078]
On the other hand, when the parrot return determining unit 330 determines that the first morpheme information is the same as the content of the previous answer sentence or that the first morphological information is not the same as the previous first morphological information, the reflexive determining unit 320 The input topic search command signal is output to the discourse range determination unit 340.
[0079]
Note that the parrot return determination unit 330 has described the process in the case where the user has performed the parrot return on the "answer sentence of the conversation control device 1", but the following process can also be performed. For example, when the output unit 600 outputs an answer sentence “Horse is beautiful”, the user responds to this answer with “Why is the horse beautiful?”, “Why is it beautiful?”, Or “Why is it?” This is the process of the parrot return determination unit 330 performed when the user utters.
[0080]
In this case, the parrot return determination unit 330 outputs the answer sentence S “the horse is beautiful” and the utterance content W from the user (“Why is the horse beautiful? (Question sentence)” or “Why is it beautiful? (Question sentence). )), (W−c) ⊂S, S ≠ φ, c ≠ φ (where c represents the utterance type of W, and this utterance type is determined by the utterance type determination unit 440 described below. The utterance type includes, for example, a question sentence, as will be described later.) Therefore, “conditional” parrot return processing (when the user Process when a parrot with a mark is performed).
[0081]
As the “conditional” parrot return processing, for example, when the conversation control device 1 outputs an answer sentence “Horse is beautiful”, the user utters the utterance content “Why is the horse beautiful?” At this time, in order to solve the user's questions and the like, the parrot return determining unit 330 obtains an answer sentence such as “The horse is not beautiful” from the parrot return element database 802, and the obtained answer sentence is stored in the management unit 310. Perform output processing.
[0082]
The discourse range determination unit 340 compares the first morpheme information extracted by the phrase analysis unit 420 with each of the prestored discourse ranges, and matches the morpheme included in the first morpheme information from each discourse range. This is a discourse range search means for searching the discourse range.
[0083]
Specifically, the discourse range determination unit 340 to which the topic search command signal is input from the parrot return determination unit 330 determines the user's discourse range based on the input discourse search command signal. That is, the discourse range determination unit 340 searches the conversation database 500 for a range relevant to the content spoken by the user (discussion range) based on the input search command signal.
[0084]
For example, the discourse range determination unit 340 determines that the first morphological information included in the input topic search command signal is (interesting movie; *; there is) @ is there any interesting movie? In the case of}, the first morpheme information is collated with the discourse range group, and when the discourse range group includes a morpheme (for example, “movie”) constituting the first morpheme information, The "movie" included in the information is determined as the discourse range. In this case, since the discourse range “movie” is included in the first morpheme information, the discourse range determination unit 340 includes the input first morpheme information in the topic search command signal and outputs it to the topic search unit 360.
[0085]
On the other hand, if the discourse range group is not included in the first morpheme information, the discourse range determination unit 340 includes the input first morpheme information in the topic search command signal and outputs it to the abbreviation sentence complementing unit 350.
[0086]
Thereby, the topic search unit 360, which will be described later, checks each “topic title” belonging to the “discussion range” determined by the discourse range determination unit 340 against the first morpheme information specified by the sentence structure analysis unit 430. Therefore, it is not necessary to collate “all” “topic titles” (second morpheme information) with the first morpheme information, and the answer sentence search unit 370 described later performs until the final answer sentence is searched. Time can be shortened.
[0087]
As described above, the discourse range determination unit 340 compares the first morpheme information with the discourse range group, and if the discourse range group includes the morpheme of the first morpheme information, determines the morpheme as the discourse range. However, the present invention is not limited to this, and the morpheme of the parrot return element searched immediately before by the parrot return determination unit 330 or the morpheme constituting the utterance content uttered by the user may be determined as the discourse range. . Using the discourse range determined by the discourse range determination unit 340, the abbreviated sentence complementing unit 350 described below can add the discourse range to the first morpheme information in which the morpheme is omitted.
[0088]
The abbreviated sentence complementing unit 350 searches for an attribute that does not include a morpheme from among the attributes (subject, object, action, etc.) constituting the first morpheme information based on the first morpheme information extracted by the phrase analysis unit 420. Attribute search means. The abbreviation sentence complementing unit 350 is also a morpheme adding unit that adds a morpheme constituting the discourse range searched by the discourse range determination unit 340 to the attribute based on the searched attribute.
[0089]
Specifically, the abbreviation sentence complementing unit 350 to which the topic search command signal has been input from the discourse range determination unit 340, based on the first morpheme information included in the input discourse search command signal, generates an utterance composed of the first morpheme information. It is determined whether the content is an abbreviated sentence. If the utterance content composed of the first morpheme information is an abbreviated sentence, the morpheme of the discourse range to which the first morpheme information belongs is added to the first morpheme information.
[0090]
For example, the abbreviation sentence complementing unit 350 determines that the morpheme constituting the first morpheme information included in the input topic search command signal is (supervisor; *; *) (supervisor?) Is unknown, meaning an abbreviated sentence.), The discourse range determined by the discourse range determination unit 340 (A movie name; the A movie name indicates the title of the movie) If the first morpheme information belongs to a certain morpheme information, the determined discourse range (A movie name) is added to the first morpheme information to the morphemes constituting the first morpheme information (director of “A movie name”; *; *) Yes.
[0091]
That is, assuming that the first morpheme information is W and the determined discourse range is D, the abbreviation sentence complementing unit 350 adds the discourse range D to W and includes the added first morpheme information in the topic search command signal. Output to the topic search unit 360.
[0092]
With this, even when the first morpheme information is an abbreviation and is not clear as Japanese, the abbreviation sentence complementing unit 350, for example, if the first morpheme information belongs to a certain discourse range, The discourse range D (A movie name) is added to the first morpheme information W (Director; *; *), and the first morpheme information is W '(Director of A movie name; *; *) {Director of the A movie name is ? Because it can be treated as}, even if the user's utterance content is an abbreviation, the abbreviation can be complemented based on the previously determined discourse range, and the abbreviation should be clarified Can be.
[0093]
For this reason, the abbreviation sentence complementing unit 350 generates the first morpheme information so that even if the utterance content constituting the first morpheme information is an abbreviation, the utterance content constituting the first morpheme information becomes proper Japanese. The topic search unit 360 obtains an optimal “topic title” (second morpheme information) related to the first morpheme information based on the complemented first morpheme information. The answer sentence search unit 370 can output an answer sentence more suitable for the uttered content of the user based on the “topic title” acquired by the topic search unit 360.
[0094]
The topic search unit 360 collates the first morpheme information extracted by the phrase analysis unit 420 or the first morpheme information complemented by the abbreviation sentence complementing unit 350 with each second morpheme information, Search means for searching for second morpheme information including morphemes constituting the first morpheme information from the inside.
[0095]
Specifically, the topic search unit 360 to which the topic search command signal has been input from the discourse range determination unit 340 or the abbreviation sentence complementing unit 350 has the discourse range based on the first morpheme information included in the input topic search command signal. From each "topic title" (second morpheme information) belonging to the discourse range determined by the determination unit 340, a "topic title" including the morpheme of the first morpheme information is searched, and this search result is used as a search result signal. Output to answer sentence search unit 370 and utterance type determination unit 440.
[0096]
For example, if the “case configuration” that constitutes the first morphological information is (Sato; *; like) {I like Sato}, the topic search unit 360 determines the “case” as shown in FIG. The morphemes (Sato; *; I like) belonging to “composition” are compared with the topic titles 1-1 to 1-4 belonging to the discourse range (Sato), and from among the topic titles 1-1 to 1-4, A topic title 1-1 (Sato; *; I like) that matches (or approximates) each morpheme (Sato; *; I like) belonging to "case composition" is searched, and the search result is used as an answer sentence as a search result signal. The data is output to the search unit 370 and the utterance type determination unit 440.
[0097]
The utterance type determination unit 440 to which the search result signal is input from the topic search unit 360 is an answer search command for causing the user to search for a specific answer sentence based on the input search result signal. The signal (the answer search command signal also includes the determined “uttered sentence type”) is output to the answer sentence search unit 370.
[0098]
The answer sentence search unit 370 is an answer search unit that searches for an answer sentence associated with the second morpheme information based on the second morpheme information (topic title) searched by the topic search unit 360. Also, the answer sentence search unit 370 collates the utterance type of the identified user with each answer type associated with the second morpheme information based on the second morpheme information searched by the topic search unit 360, It is also a second search means for acquiring an answer type that matches the utterance type of the user from among the answer types.
[0099]
Specifically, the answer sentence search unit 370 to which the search result signal from the topic search unit 360 and the answer search command signal from the utterance type determination unit 440 have been input, outputs the topic title (search result) corresponding to the input search result signal. Based on the second morpheme information) and the "utterance sentence type" (utterance type) corresponding to the answer search instruction signal, from among the answer sentence group associated with the "topic title", An answer sentence having an answer type (this answer type means "answer sentence type" shown in FIG. 11) matching the "sentence type" (DA, IA, CA, etc.) is searched.
[0100]
For example, if the topic title corresponding to the search result is the topic title 1-1 (Sato; *; I like it) shown in FIG. 12, the answer sentence search unit 370 is associated with the topic title 1-1. From the answer sentence 1-1 (DA, IA, CA, etc.), an answer consisting of an answer type (DA) that matches the "utterance sentence type" (for example, DA; utterance type) determined by the utterance type determination unit 440 The sentence 1-1 (DA; (I also like Sato)) is searched, and the searched answer sentence is output to the management unit 310 as an answer sentence signal.
[0101]
The management unit 310 to which the answer sentence signal is input from the answer sentence search unit 370 outputs the input answer sentence signal to the output unit 600. In addition, the management unit 310 to which the reflection element information is input from the reflective judgment unit 320 or the content of the parrot return processing from the parrot return determination unit 330 is input, and the answer sentence corresponding to the input reflection element information, the content of the input parrot return processing Is output to the output unit 600.
[0102]
The output unit 600 is an output unit that outputs the answer sentence obtained by the answer sentence search unit 370. In the present embodiment, for example, a speaker, a display, or the like is used. Specifically, the output unit 600 to which the answer sentence is input from the management unit 310 outputs the input answer sentence {for example, I also like Sato}.
[0103]
(Conversation control method using conversation control device)
The conversation control method by the conversation control device 1 having the above configuration can be implemented by the following procedure. FIG. 15 is a flowchart illustrating a procedure of the conversation control method according to the present embodiment.
[0104]
First, the input unit 100 performs a step of acquiring the utterance content from the user (S101). Specifically, the input unit 100 acquires a voice that constitutes the utterance content of the user, and outputs the acquired voice to the voice recognition unit 200 as a voice signal. Further, the input unit 100 specifies a character string included in the input information (other than voice) based on the input information (other than voice) input from the user, and uses the specified character string as a character string signal as a conversation controller. Output to 300.
[0105]
Next, the voice recognition unit 200 performs a step of specifying a character string included in the utterance content based on the utterance content acquired by the input unit 100 (S102). Specifically, the voice recognition unit 200 to which the voice signal is input from the input unit 100 analyzes the input voice signal, and stores a character string included in the analyzed voice signal in the voice recognition dictionary storage unit 700. The specified character string is output to the conversation control unit 300 as a character string signal.
[0106]
Then, the morpheme extraction unit 410 performs a step of extracting each morpheme constituting the minimum unit of the character string as the first morpheme information based on the character string specified by the speech recognition unit 200 (S103).
[0107]
Specifically, the morpheme extraction unit 410 to which the character string signal has been input from the management unit 310 includes a character string corresponding to the input character string signal and a noun, adjective, verb, or the like stored in the morphological database 450 in advance. The morphemes are collated with each other, each morpheme (m1, m2,...) That matches the morpheme group is extracted from the character string, and each extracted morpheme is output to the phrase analyzer 420 as an extraction signal.
[0108]
Then, the phrase analysis unit 420 performs a step of compiling each morpheme into a phrase format based on each morpheme extracted by the morpheme extraction unit 410 (S104). Specifically, the phrase analysis unit 420 to which the extraction signal is input from the morpheme extraction unit 410 uses the respective morphemes corresponding to the input extraction signal to combine them into a phrase format.
[0109]
That is, as shown in FIG. 4, the phrase analysis unit 420 extracts a dependency element (for example, ga wo wo ...) of each morpheme based on each morpheme corresponding to the input extracted signal and extracts the morpheme. Each morpheme is grouped into each clause based on the determined dependency element. The phrase analysis unit 420 that compiles each morpheme into each phrase, the sentence structure analysis unit 430 and the utterance type determination unit 440, using the morphological information including each morpheme that summarizes each morpheme and each morpheme that composes each phras as a morphological signal. Output to
[0110]
After that, the sentence structure analysis unit 430 performs a step of classifying each morpheme of the first morpheme information segmented by the phrase analysis unit 420 into attributes such as subject matter and object case (S105). Specifically, the sentence structure analysis unit 430 to which the sentence pattern signal is input from the sentence pattern analysis unit 420, based on each morpheme corresponding to the input sentence pattern signal and the sentence formed by each morpheme, Determine the "case composition".
[0111]
That is, as shown in FIG. 5, for example, when the dependency element of each morpheme is "" or "ha", the sentence structure analysis unit 430 determines that the morpheme before the dependency element is the subject (subject) Or nominative). In addition, for example, when the dependency element of each morpheme is "" or "", the sentence structure analysis unit 430 determines that the morpheme before the dependency element is an object (object).
[0112]
Further, for example, when the dependency element of each morpheme is “do”, the sentence structure analysis unit 430 determines that the morpheme preceding the dependency element is an action (predicate; this predicate is composed of a verb, an adjective, etc.). Is determined.
[0113]
The sentence structure analysis unit 430 that has determined the “case configuration” of each morpheme constituting each phrase, based on the first morpheme information associated with the determined “case configuration”, determines the range of a topic described below. A topic search command signal for specifying is output to topic search section 360.
[0114]
Next, the utterance type determination unit 440 performs a step of specifying an utterance type indicating the type of utterance content based on the phrase specified by the phrase analysis unit 420 (S106). Specifically, the “speech sentence type” (speech type) is determined based on each morpheme corresponding to the sentence pattern signal input from the phrase analysis unit 420 and the clause composed of each morpheme.
[0115]
That is, based on each phrase corresponding to the input sentence pattern signal, the utterance type determination unit 440 collates each phrase with each dictionary stored in the utterance type database 460, and from among each phrase, Extract sentence elements related to the dictionary. The utterance type determination unit 440 that extracts a sentence element related to each dictionary from each phrase determines a “speech sentence type” based on the extracted sentence element.
[0116]
The utterance type determination unit 440 outputs an answer search command signal for causing the corresponding user to search for a specific answer sentence to the answer sentence search unit 370 based on an instruction from the topic search unit 360 described later.
[0117]
Next, the reflexive determination unit 320 performs a step of comparing the first morpheme information extracted by the morpheme extraction unit 410 with each of the fixed contents, and searching for the fixed contents including the first morpheme information from among the fixed contents. (S107: reflective processing).
[0118]
Specifically, the reflexive determination unit 320 to which the topic search command signal has been input from the sentence structure analysis unit 430 receives the first morphological information included in the input topic search command signal and each of the information stored in the reflection element database 801. The reflection element information is compared with the reflection element information (standard content), the reflection element information including the first morpheme information is searched from each reflection element information, and the searched reflection element information is output to the management unit 310.
[0119]
When it is not possible to search for the reflection element information including the first morpheme information from among the respective pieces of reflection element information, the reflexive determination unit 320 determines the topic search command signal input from the sentence structure analysis unit 430 in a parable manner. Output to the unit 330.
[0120]
Next, the parrot return determining unit 330 performs a step of comparing the first morphological information extracted by the morphological extraction unit 410 with each parrot return element, and searching for a parrot return element including the first morphological information from each parrot return element ( S108: parrot return processing).
[0121]
When the parrot return determining unit 330 determines that the first morpheme information is included in each parrot return element, the parrot return element acquires the parrot return element including the first morphological information, and manages an answer sentence including the obtained parrot return element. Output to the unit 310 (parrot return processing). That is, if the parrot return element (response sentence output last time, the utterance content of the previous user's utterance, etc.) is S and the first morpheme information is W, the parrot return determination unit 330 determines that the relationship of W⊂S and W ≠ φ If it is established, the parrot return processing described above is performed.
[0122]
On the other hand, if the parrot return determining unit 330 determines that the first morphological information is not included in each parrot return element, the parrot return determining unit 330 sends the topic search command signal input from the reflective determining unit 320 to the discourse range determining unit 340. Output.
[0123]
Then, the discourse range determination unit 340 compares the first morpheme extracted by the phrase analysis unit 420 with each discourse range, and searches (determines) a discourse range including the first morpheme information from each discourse range. The step is performed (S109).
[0124]
Specifically, the discourse range determining unit 340 to which the topic search command signal has been input from the parrot return determination unit 330 determines, based on the input search command signal, the contents of the conversation database 500 that the user is speaking. Search for a relevant range (discussion range).
[0125]
For example, the discourse range determination unit 340 determines that the first morphological information included in the input topic search command signal is (interesting movie; *; there is) @ is there any interesting movie? In the case of}, the first morpheme information is collated with the discourse range group, and when the discourse range group includes a morpheme (for example, “movie”) constituting the first morpheme information, The "movie" included in the information is determined as the discourse range. In this case, since the discourse range “movie” is included in the first morpheme information, the discourse range determination unit 340 includes the input first morpheme information in the topic search command signal and outputs it to the topic search unit 360.
[0126]
On the other hand, if the discourse range group is not included in the first morpheme information, the discourse range determination unit 340 includes the input first morpheme information in the topic search command signal and outputs it to the abbreviation sentence complementing unit 350.
[0127]
Next, the abbreviation sentence complementing section 350 selects, from among the attributes (subject, object, action, etc.) constituting the first morphological information based on the first morphological information extracted by the phrase analyzing section 420, an attribute that does not include a morpheme. Perform the step of searching for Thereafter, the abbreviation sentence complementing unit 350 performs a step of adding a morpheme constituting the discourse range searched by the discourse range determination unit 340 to the attribute based on the attribute that does not include the searched morpheme (S110; abbreviation sentence). Complement).
[0128]
Specifically, the abbreviation sentence complementing unit 350 to which the topic search command signal has been input from the discourse range determination unit 340, based on the first morpheme information included in the input discourse search command signal, generates an utterance composed of the first morpheme information. It is determined whether the content is an abbreviated sentence. If the utterance content composed of the first morpheme information is an abbreviated sentence, the morpheme of the discourse range to which the first morpheme information belongs is added to the first morpheme information.
[0129]
For example, the abbreviation sentence complementing unit 350 determines that the morpheme constituting the first morpheme information included in the input topic search command signal is (supervisor; *; *) (supervisor?) Is unknown, so it means an abbreviation.) In the case of, the discourse range previously determined by the discourse range determination unit 340 (A movie name; the A movie name is the movie title) If the first morpheme information belongs to the first morpheme information, the morpheme of the determined discourse range (A movie name) is added to the first morpheme information (“A movie name”). *; *).
[0130]
That is, assuming that the first morpheme information is W and the determined discourse range is D, the abbreviation sentence complementing unit 350 adds the discourse range D to the first morpheme information W, and uses the post-addition first morpheme information as a topic search command. It is included in the signal and output to the topic search unit 360.
[0131]
Next, the topic search unit 360 collates the first morpheme information extracted by the phrase analysis unit 420 or the first morpheme information complemented by the abbreviation sentence complementing unit 350 with each second morpheme information, A step of searching the information for second morpheme information including morphemes constituting the first morpheme information is performed (S111).
[0132]
Specifically, the topic search unit 360 to which the topic search command signal has been input from the discourse range determination unit 340 or the abbreviation sentence complementing unit 350 has the discourse range based on the first morpheme information included in the input topic search command signal. From each "topic title" (second morpheme information) belonging to the discourse range determined by the determination unit 340, a "topic title" including the morpheme of the first morpheme information is searched, and this search result is used as a search result signal. Output to answer sentence search unit 370 and utterance type determination unit 440.
[0133]
For example, if the “case configuration” that constitutes the first morphological information is (Sato; *; like) {I like Sato}, the topic search unit 360 determines the “case” as shown in FIG. The morphemes (Sato; *; I like) belonging to “composition” are compared with the topic titles 1-1 to 1-4 belonging to the discourse range (Sato), and from among the topic titles 1-1 to 1-4, A topic title 1-1 (Sato; *; I like) that matches (or approximates) each morpheme (Sato; *; I like) belonging to "case composition" is searched, and the search result is used as an answer sentence as a search result signal. The data is output to the search unit 370 and the utterance type determination unit 440.
[0134]
The utterance type determination unit 440 to which the search result signal is input from the topic search unit 360 is an answer search command for causing the user to search for a specific answer sentence based on the input search result signal. The signal (the answer search command signal also includes the determined “uttered sentence type”) is output to the answer sentence search unit 370.
[0135]
Then, the answer sentence search unit 370 collates the utterance type of the specified user with each answer type associated with the second morpheme information based on the second morpheme information searched by the topic search unit 360, From each answer type, a step of searching for an answer type that matches the utterance type of the user and searching for an answer sentence associated with the answer type based on the searched answer type is performed (S112).
[0136]
Specifically, the answer sentence search unit 370 to which the search result signal from the topic search unit 360 and the answer search command signal from the utterance type determination unit 440 have been input, outputs the topic title (search result) corresponding to the input search result signal. Based on the second morpheme information) and the "utterance sentence type" (utterance type) corresponding to the answer search instruction signal, from among the answer sentence group associated with the "topic title", An answer sentence having an answer type (this answer type means "answer sentence type" shown in FIG. 11) matching the "sentence type" (DA, IA, CA, etc.) is searched.
[0137]
For example, if the topic title corresponding to the search result is the topic title 1-1 (Sato; *; I like it) shown in FIG. 12, the answer sentence search unit 370 is associated with the topic title 1-1. From the answer sentence 1-1 (DA, IA, CA, etc.), an answer consisting of an answer type (DA) that matches the "utterance sentence type" (for example, DA; utterance type) determined by the utterance type determination unit 440 The sentence 1-1 (DA; (I also like Sato)) is searched, and the searched answer sentence is output to the management unit 310 as an answer sentence signal.
[0138]
Next, the management unit 310 to which the answer sentence signal has been input from the answer sentence search unit 370 outputs the input answer sentence signal to the output unit 600. In addition, the management unit 310 to which the reflection element information is input from the reflective judgment unit 320 or the content of the parrot return processing from the parrot return determination unit 330 is input, and the answer sentence corresponding to the input reflection element information, the content of the input parrot return processing Is output to the output unit 600 (S113). The output unit 600 to which the answer sentence is input from the management unit 310 outputs the input answer sentence {for example, I also like Sato}.
[0139]
(Operation and effect of the conversation control device and the conversation control method)
According to the invention of the present application having the above-described configuration, the reflexive determination unit 320 collates the first morpheme information constituting the utterance content uttered by the user with each of the pre-stored standard contents, and from among, it is possible to find the standard content including a first morpheme information, reflexive determination unit 320, for example when the first morpheme information is a fixed content such as "Hello" includes the standard content it is possible to answer the same boilerplate content "Hello" or the like.
[0140]
When the utterance content of the user is a fixed content, the reflexive determination unit 320 answers the fixed content (such as greeting), so that the user first communicates with the conversation control device 1. You can enjoy the feeling of communicating.
[0141]
In addition, the parrot return determining unit 330 compares the current first morpheme information with the past answer sentence, and if the current first morpheme information is not included in the past answer sentence, an agreement stored in advance. Since the content can be acquired, if the input information currently input by the user matches the past answer sentence, the parrot return determining unit 330 returns the user to the past answer sentence That the user has listened to the answer sentence again).
[0142]
In this case, the parrot return determination unit 330 obtains the stored agreement contents because the user has performed a parrot with respect to the past answer sentence, and obtains the obtained agreement contents (for example, “yes”). Can be output. Thus, if the user does not understand the meaning of the answer sentence output from the conversation control device 1, the user can listen to the answer again and listen to the answer again, so that the user is just talking with another user. You can enjoy such feeling.
[0143]
In addition, the parrot return determining unit 330 compares the current first morpheme information with the past first morpheme information, and obtains the repulsion content when the current first morpheme information is included in the past first morpheme information. If the input information input last time is included in the input information input this time, the user repeatedly inputs the same content as the previous input information. It can be determined that the user has not responded properly to the answer sent from the conversation control device.
[0144]
In this case, the parrot return determination unit 330 obtains the stored repulsion content to repel the user because the user has not properly responded to the previous answer sentence, and obtains the obtained repulsion content. Is output. Thereby, unless the user inputs appropriate input information for the answer sentence from the conversation control device 1, the content of the repulsion is output from the conversation control device 1, so that the user can talk with another user. You can enjoy the feeling of being.
[0145]
Also, the topic search unit 360 may search each second morpheme information belonging to the “discussion range” with the first morpheme information to search for second morpheme information that is similar to the first morpheme information. It is not necessary to collate the second morpheme information with the first morpheme information, so that the time required to search for second morpheme information similar to the first morpheme information can be reduced.
[0146]
As a result, the topic search unit 360 can quickly search (pinpoint search) for the second morpheme information that is similar to the first morpheme information, so that the answer sentence search unit 360 The answer sentence associated with the second morpheme information can be acquired in a short time based on the retrieved second morpheme information, and the conversation control device 1 quickly answers the utterance content from the user. be able to.
[0147]
Also, the topic search unit 360 searches the second morpheme information for second morpheme information including morphemes constituting the first morpheme information (elements constituting the utterance content of the user), and an answer sentence search unit Since the 370 can search for an answer sentence associated with the second morpheme information based on the second morpheme information searched by the topic search unit 360, the answer sentence search unit 370 searches for the utterance content of the user. Based on the constituent morphemes (first morpheme information), a semantic space (subject, target, etc.) constructed by each morpheme can be considered, and an answer sentence created in advance based on the semantic space can be searched. Thus, it is possible to search for an answer sentence that is more suitable for the utterance content than simply using the entire utterance content as a keyword and searching for an answer sentence associated with that keyword.
[0148]
Further, since the topic search unit 360 searches for the second morpheme information including the first morpheme information, there is no need to search for the second morpheme information that completely matches the utterance content of the user, and the conversation control device 1 is developed. A developer who does not need to previously store an enormous amount of answer sentences corresponding to the utterance contents likely to be uttered by the user, and can reduce the capacity of the storage unit.
[0149]
Further, the answer sentence search unit 370 selects an answer type that matches the utterance type of the user from among the answer types (statements, affirmations, places, repulsions, etc.) associated with each second morpheme information belonging to the “discussion range”. Can be searched for, and the answer sentence associated with the answer type can be searched based on the searched answer type. Therefore, the conversation control device 1 Based on a simple statement, an impression of the user, or a description of the locational element of the user, an answer sentence that matches the utterance type of the user is selected from multiple answer sentences. The search can be performed, and a more optimal answer can be given to the corresponding user.
[0150]
Furthermore, the answer sentence search unit 370 selects, from among the answer types associated with each second morpheme information belonging only to the “discussion range” retrieved by the discourse range determination unit 340, an answer that matches the utterance type of the user. Since it is only necessary to search for the type (pinpoint search is possible), there is no need to search for the answer type and the user's utterance type associated with the "all" second morpheme information one by one, and the user's utterance type Can be obtained in a short time.
[0151]
Finally, the abbreviation sentence complementing unit 350 determines that the first morpheme information belonging to the discourse range where the first morpheme information is present even if the first morpheme information constituting the utterance content of the user is an abbreviation and is not clear as Japanese. If so, the discourse range can be added to the first morpheme information to complement the first morpheme information composed of abbreviations.
[0152]
With this, the abbreviation sentence complementing unit 350 generates the first morpheme information so that the utterance content constituting the first morpheme information becomes proper Japanese even if the utterance content constituting the first morpheme information is an abbreviation sentence. Can be supplemented with a specific morpheme (such as a morpheme constituting the discourse range), the topic search unit 360 determines the first morpheme based on the complemented first morpheme information supplemented by the abbreviation sentence complementing unit 350. The optimal second morpheme information related to the information can be acquired, and the answer sentence search unit 370 can select an answer sentence more suitable for the uttered content of the user based on the second morpheme information acquired by the topic search unit 360. Can be output.
[0153]
As a result, even if the input information from the user is an abbreviated sentence, the conversation control device 1 uses the past search result without using the functions such as the neural network and the AI intelligence to determine what the abbreviated sentence means. It is possible to infer whether the conversation control device 1 is to be used, and the developer of the conversation control device 1 does not need to install a neural network and AI intelligence, so that the system of the conversation control device 1 can be constructed more easily.
[0154]
[Example of change]
It should be noted that the present invention is not limited to the above embodiment, and the following changes can be made.
[0155]
(First modification example)
In the present modification, the conversation database 500 may be an element storage unit that stores a plurality of element information indicating the entire set group including a plurality of morpheme sets in association with the set group. Further, the morpheme extraction unit 410 compares the morpheme extracted from the character string with each set group, selects a set group including the extracted morpheme from each set group, and selects an element associated with the selected set group. Information may be extracted as first morpheme information.
[0156]
As shown in FIG. 16, some morphemes included in a character string uttered by the user are similar. For example, as shown in FIG. 16, when the element information indicating the entire set group is “gift”, the “gift” is similar to a present, a gift, a year-end gift, a gift, a celebration, etc. (set group). Therefore, if there is a morpheme similar to “gift” (such as the above-described present), the morpheme extraction unit 410 can treat the similar morpheme as “gift”.
[0157]
That is, for example, when the morpheme extracted from the character string is “present”, the morpheme extracting unit 410 determines that the element information representing “present” is “gift” as shown in FIG. "Present" can be replaced with "gift".
[0158]
This allows the morpheme extraction unit 410 to sort morphemes similar to each other, so that a developer who develops a conversation control device can use the morpheme extraction unit 410 corresponding to the semantic space grasped from each of the mutually similar first morpheme information. It is not necessary to create answer sentences related to the two morpheme information and the second morpheme information one by one, and as a result, the amount of data to be stored in the storage unit can be reduced.
[0159]
(Second modification example)
As shown in FIG. 17, in this modification, the topic search unit 360 may include a ratio calculation unit 361 and a selection unit 362.
[0160]
The ratio calculator 361 compares the first morpheme information extracted by the morpheme extractor 410 with each second information, and for each second morpheme information, a ratio of the first morpheme information to the second morpheme information. Is a calculation means for calculating.
[0161]
Specifically, as shown in FIG. 17, the ratio calculation unit 361 to which the topic search command signal is input from the sentence structure analysis unit 430, generates a second morpheme information based on the first morpheme information included in the input topic search command signal. The one morpheme information is compared with each topic title (second morpheme information) belonging to the discourse range stored in the conversation database 500, and for each topic title, the first morpheme information occupies each topic title. Calculate the percentage.
[0162]
For example, as shown in FIG. 18, when the first morpheme information constituting the utterance sentence uttered by the user is (Sato; *; I like) {I like Sato}, the ratio calculation unit 361 Each morpheme (Sato; *; I like) belonging to "case composition" is compared with each morpheme (Sato; *; I like) included in the topic title, and each morpheme belonging to "case composition" is added to the topic title. (Sato; *; like) is calculated as 100%. The ratio calculation unit 361 performs these calculations for each topic title, and outputs the calculated ratios to the selection unit 362 as ratio signals.
[0163]
The selection unit 362 is a selection unit that selects one piece of second morpheme information from each piece of second morpheme information according to the magnitude of each ratio calculated for each piece of second morpheme information by the ratio calculation unit 361. is there.
[0164]
Specifically, the selection unit 362 to which the ratio signal is input from the ratio calculation unit 361 selects from among the ratios (element of “case composition” / element of “topic title” × 100) included in the input ratio signal. For example, a topic title having a high ratio is selected (see FIG. 18). The selecting unit 362 that has selected the topic title having a high ratio outputs the selected topic title to the answer sentence searching unit 370 and the utterance type determining unit 440 as a search result signal. The answer sentence search unit 370 searches for an answer sentence associated with the topic title based on the topic title selected by the selection unit 362.
[0165]
Accordingly, the selecting unit 362 calculates, for each piece of the second morpheme information, the ratio of the first morpheme information to the second morpheme information, and calculates the magnitude of each ratio calculated for each piece of the second morpheme information. The second morpheme information can be selected from among the pieces of second morpheme information in accordance with the above. Therefore, the selecting unit 362 determines that the first morpheme information (which constitutes the utterance content of the user) If the second morpheme information having a large proportion in the second morpheme information can be obtained from a plurality of second morpheme information groups, the second morpheme information following the semantic space grasped from the first morpheme information can be more efficiently obtained. As a result, the answer sentence search unit 370 can give an optimal answer to the utterance content of the user.
[0166]
Further, since the selecting unit 362 can select a topic title having a high ratio calculated by the ratio calculating unit 361 from a plurality of topic titles, the selecting unit 362 belongs to the “case configuration” included in the utterance sentence of the user. Even if each morpheme and each topic title stored in the conversation database 500 do not completely match, it is possible to acquire a topic title closely related to each morpheme belonging to “case composition”.
[0167]
As a result, the selecting unit 362 can acquire a topic title closely related to the “case configuration” that forms the first morpheme information, so that the developer who develops the conversation control device 1 configures “ It is not necessary to store topic titles that completely match the "case configuration" in the conversation database 500 one by one, so that the capacity of the conversation database 500 can be reduced.
[0168]
Further, the ratio calculation unit 361 calculates the ratio of the first morpheme information to the second morpheme information for each second morpheme information belonging only to the “discussion range” retrieved by the discourse range determination unit 340. Therefore, there is no need to calculate the ratio of the first morpheme information to all the second morpheme information, and the second morpheme information following the semantic space composed of the first morpheme information is obtained in a shorter time. As a result, based on the acquired second morphological information, it is possible to quickly output an optimal answer sentence to the utterance content from the user.
[0169]
Note that the ratio calculation unit 361 collates each morpheme of the first morpheme information belonging to each classified attribute with each morpheme of the second morpheme information belonging to each attribute stored in advance for each attribute. The first morpheme information may be a first retrieval unit that retrieves second morpheme information that includes each morpheme of the first morpheme information in at least one attribute from the second morpheme information.
[0170]
Specifically, the ratio calculation unit 361 to which the topic search command signal has been input, for each “case” (subject; object; action) of the “case configuration” included in the input topic search command signal, generates the “case”. Is compared with each morpheme belonging to the topic title “case” having the same “case”, and it is determined whether or not the morphemes constituting the “case” are the same.
[0171]
For example, as shown in FIG. 19, when the morpheme of the “case” of the “case configuration” is (dog; person; bites) {the dog bites the person}, the ratio calculation unit 361 Match "dog", "person", "bite" with the morpheme "dog", "person", "bite" of the topic title consisting of "case" which is the same as "case" that composes those morphemes Then, among the morphemes “dog”, “person”, and “bite” constituting the topic title, the morpheme “dog” of “case composition” consisting of the same “case” as the “case” corresponding to each morpheme, Calculate (100%) the percentage that matches “person” and “bite”.
[0172]
If the element composing the topic title is (person; dog; bite) {the person bites the dog}, the ratio calculation unit 361 performs the morpheme belonging to the two cases by the same procedure as described above. Therefore, the degree of matching between the morphemes constituting the “case composition” and the “topic title” for each “case” is calculated to be 33% (see FIG. 19).
[0173]
The ratio calculation unit 361 that has calculated the ratio selects a topic title having a high ratio from among the ratios, and outputs the selected topic title to the answer sentence search unit 370 and the utterance type determination unit 440 as a search result signal.
[0174]
Accordingly, the ratio calculation unit 361 divides each morpheme of the first morpheme information belonging to each classified “case composition” (subject case, target case, etc.) and a topic title stored in advance for each “case”. Since the collation can be performed and the second morpheme information including each morpheme of the first morpheme information in at least one “case” can be searched from each topic title, the ratio calculation unit 361 differs from the normal word order. In the case of utterance contents composed of things, for example, "a person bites a dog", the subject morpheme is a "person" and the target morpheme is a "dog". The matching second morpheme information can be searched, and the answer sentence {"really?" Or "I do not understand the meaning" associated with the second morpheme information (person; dog; chew) is obtained. can do.
[0175]
That is, the ratio calculation unit 361 can identify the utterance content that is difficult to identify, for example, “people bite a dog” and “dog bite a human”. For the former, for example, "really?" For the latter, for example, "OK?"
[0176]
Further, the ratio calculation unit 361 may search the second morpheme information that includes the morpheme of the first morpheme information in at least one attribute from each of the second morpheme information belonging to the “discussion range”, and thus “all”. Of the second morpheme information, it is not necessary to obtain one second morpheme information, it is possible to obtain the second morpheme information following the semantic space composed of the first morpheme information in a shorter time, As a result, the conversation control device 1 can quickly output an optimal answer sentence to the utterance content from the user based on the acquired second morpheme information.
[0177]
Note that the selection unit 362 may select one topic title from among the topic titles according to a predetermined priority. The priority means a priority for being selected as a topic title. This priority is determined in advance by the developer at the development stage.
[0178]
(Third modification example)
As shown in FIG. 20, the present modified example is not limited to the above-described embodiment and each modified example, and transmits and receives data to and from the communication unit 800 in the conversation control devices 1a and 1b via the communication network 1000. May be provided, a conversation database 500b to 500d connected to the communication unit 900, and servers 2a to 2c (conversation control system).
[0179]
Here, the communication network 1000 means a communication network for transmitting and receiving data, and in the present embodiment, for example, the Internet is used. In this modification, the conversation databases 500b to 500d and the servers 2a to 2c are limited for convenience. However, the present invention is not limited to this, and another conversation database may be provided.
[0180]
Thereby, the conversation control unit 300 refers not only to the conversation database 500a disposed inside the conversation control device 1a but also to the other conversation control devices 1b, the other conversation databases 500b to 500d, and the servers 2a to 2c. Therefore, for example, it is not possible to search the conversation database 500a for a discourse range related to each morpheme (first morpheme information) belonging to the "case configuration" included in the topic search command signal. However, by referring to the other conversation control device 1b, the conversation databases 500b to 500d, and the servers 2a to 2c, it is possible to search the discourse range related to the "case configuration" and the like, and the A suitable answer sentence can be searched.
[0181]
(Fourth modification)
The sentence structure analysis unit 430 may store, in the conversation database 500, each “case configuration” constituting the identified first morphological information and each morpheme associated with each “case configuration”. The answer sentence search unit 370 may store, in the conversation database 500, each “case configuration” constituting the acquired answer sentence and each morpheme associated with each “case configuration”.
[0182]
The discourse range determination unit 340 may store the searched discourse range in the conversation database 500. The topic search unit 360 may store the searched second morphological information in the conversation database 500.
[0183]
The first morpheme information, the second morpheme information, each "case configuration" constituting the first morpheme information or the second morpheme information and each morpheme associated with each "case configuration", and the retrieved answer sentence The morphemes associated with each “case configuration” and each “case configuration” and the searched discourse range are associated with each other and stored in the conversation database 500 or the parrot return element database 802 as history morpheme information. be able to.
[0184]
The abbreviation sentence complementing unit 350 does not include a morpheme from each of the attributes (subject, object, action, etc .; case composition) constituting the first morphological information based on the first morphological information extracted by the phrase analyzing unit 420. The attribute is searched, and the history morpheme information stored in the conversation database 500 or the parrot return element database 802 is added to the attribute based on the searched attribute.
[0185]
Specifically, the abbreviation sentence complementing unit 350 to which the topic search command signal has been input from the discourse range determination unit 340, based on the first morpheme information included in the input discourse search command signal, generates an utterance composed of the first morpheme information. It is determined whether the content is an abbreviated sentence, and if the utterance content composed of the first morpheme information is an abbreviated sentence (for example, the subject, object, or action does not have a predetermined morpheme), the conversation database 500 or The history form information stored in the parrot return element database 802 is added to the first morpheme information.
[0186]
That is, if the subject included in the history form information is S1, the object is O1, the action A1, the discourse range is D1, and the omitted first morpheme information is W, the complemented first morpheme information W1 is S1 @ W , O1 @ W, A1 @ W, or D1 @ W.
[0187]
The topic search unit 360 collates the first morpheme information W1 complemented by the abbreviation sentence complementing unit 350 with each piece of second morpheme information, and selects the first morpheme information from each “topic title” (second morpheme information). The second morpheme information including W1 is searched, and the searched topic title is output as a search result signal to the answer sentence search unit 370 and the utterance type determination unit 440.
[0188]
Thus, even when the utterance content composed of the first morpheme information is an abbreviation and is not clear as Japanese, the abbreviation complementing unit 350 uses the history morphology information stored in the conversation database 500 to Since the morpheme of the omitted first morpheme information can be complemented, the utterance content composed of the omitted first morpheme information can be clarified.
[0189]
For this reason, if the utterance content constituting the first morpheme information is an abbreviation, the abbreviation sentence complementing unit 350 sets the first morpheme information so that the utterance content composed of the first morpheme information becomes proper Japanese. Can be complemented, the topic search unit 360 determines the optimal “topic title” (second morpheme) related to the first morpheme information based on the first morpheme information with the complemented morpheme. Information), and the answer sentence search unit 370 can output an answer sentence more suitable for the utterance content of the user based on the optimal “topic title” searched by the topic search unit 360. .
[0190]
(Fifth modification example)
The topic search unit 360 may include a deletion unit 363 and a discourse addition unit 364, as shown in FIG. The deletion unit 363 compares the second morpheme information with the discourse range retrieved by the discourse range determination unit 340 based on the retrieved second morpheme information, and selects a discourse from among the morphemes constituting the second morpheme information. This is a deletion unit that deletes a morpheme that matches the range.
[0191]
Specifically, the topic search unit 360 to which the topic search command signal is input from the abbreviation sentence complementing unit 350 receives the first morpheme information included in the input topic search command signal and the discourse determined by the discourse range determination unit 340. Each second morpheme information belonging to the range is collated, and second morpheme information that matches the first morpheme information is searched from each second morpheme information.
[0192]
Then, based on the retrieved second morpheme information, the deletion unit 363 collates the second morpheme information with the morphemes constituting the discourse range determined by the discourse range determination unit 340, and , The morpheme that matches the morpheme constituting the discourse range is deleted, and the second morpheme information from which the morpheme is deleted is output to the discourse adding unit 364 as a deletion signal.
[0193]
That is, the deletion unit 363 removes (removes) the current discourse range D2 (this D2 is made up of morphemes) determined by the discourse range determination unit 340 from each morpheme t1 constituting the second morpheme information. Assuming that the result is t2, t2 = t1-D2).
[0194]
The discourse adding unit 364 obtains another discourse range associated with the discourse range searched by the discourse range determination unit 340 based on the second morpheme information from which the morpheme has been deleted by the deletion unit 363, and obtains another obtained discourse range. This is a discourse adding means for adding morphemes constituting the discourse range to the second morpheme information.
[0195]
Specifically, assuming that the discourse range in which the current discourse range D2 is related to the answer sentence K1 is DK, another discourse having a relevance (one having a sibling relationship) to the answer sentence K1 or the current discourse range D2. Since the range D3 can be expressed as D3 = D2∪DK, the second morpheme information W2 after adding the morphemes constituting the other discourse range D3 can be expressed as W2 = t2∪D3.
[0196]
For example, each morpheme t1 constituting the second morpheme information is (A movie name; *; interesting) {Is the A movie name interesting? If the current discourse range D2 determined by the discourse range determination unit 340 is (A movie name), the deletion unit 363 first determines from each morpheme t1 (A movie name; *; interesting). The discourse range D2 (A movie name) is deleted, and the deleted result is set as t2 (*; *; interesting) (t2 = t1-D2).
[0197]
If the other discourse range D3 related to the current discourse range D2 (A movie name) is “B movie name”, the second morpheme information after adding the morphemes constituting the other discourse range D3 Since W2 is t2∪D3, (B movie name; *; interesting) {B movie name is interesting? }.
[0198]
Accordingly, when the user's utterance content is “A movie name is interesting?”, The discourse adding unit 364 matches each morpheme (A movie name; *; interesting) constituting the user's utterance content. The second morpheme information (A movie name; *; interesting), and the other second morpheme information (B movie name; *; interesting)? Is the B movie name interesting? Since it can be changed to}, the answer sentence search unit 370 acquires the answer sentence (for example, “B movie name is interesting”) associated with the second morpheme information changed by the discourse adding unit 364, The obtained answer sentence can be output.
[0199]
As a result, the answer sentence search unit 370 does not directly output an answer sentence to the utterance content of the user, but, based on the second morpheme information including the morpheme added by the discourse adding unit 364, the utterance content Can be output, and the output unit 600 can output a more personalized answer sentence based on the answer sentence searched by the answer sentence search unit 370.
[0200]
Note that the discourse adding unit 364 is not limited to the one that adds another discourse range to the second morpheme information from which the morpheme has been deleted, and the history morpheme information (conversation) (Stored in the database 500).
[0201]
(Sixth modification example)
When the second morpheme information including the first morpheme information cannot be searched from the second morpheme information, the topic search unit 360 collates the first morpheme information with each answer sentence, and When the answer sentence including the first morpheme information can be searched from among the first sentence, the first search means may acquire the second morpheme information associated with the searched answer sentence.
[0202]
Specifically, the topic search unit 360, to which the topic search command signal is input from the abbreviation sentence complementing unit 350, based on the first morpheme information included in the input topic search command signal, If the second morpheme information matching the first morpheme information cannot be obtained from each of the second morpheme information by comparing the morpheme information, as shown in FIG. The answer sentence associated with the second morphological information is collated.
[0203]
By this collation, when the topic search unit 360 determines that the morpheme (action or morpheme associated with the action) constituting the first morpheme information is included in the answer sentence, Search for the associated second morpheme information.
[0204]
Thus, even if the topic search unit 360 cannot search for the second morpheme information that matches the first morpheme information from each of the second morpheme information, the topic search unit 360 can search for the first morpheme information from each answer sentence. Can be identified, and the second morpheme information associated with the identified answer sentence can be searched, so that the utterance content of the user can be specified. Can be appropriately searched for the second morpheme information corresponding to the first morpheme information that constitutes.
[0205]
As a result, the topic search unit 360 can search for the optimum second morpheme information corresponding to the first morpheme information, so that the answer sentence search unit 370 determines the optimum second morpheme information searched for by the topic search unit 360. , It is possible to search for an appropriate answer sentence for the utterance content of the user.
[0206]
[program]
The contents described in the conversation control system and the conversation control method can be realized by executing a dedicated program for using a predetermined program language on a general-purpose computer such as a personal computer.
[0207]
Here, as a programming language, a hierarchical level is established by associating a topic desired by the user, the degree of emotion of the user with respect to a certain matter, or a type of statement, affirmative sentence, question sentence, repellent sentence, etc. with a morpheme according to the meaning content. In this embodiment, for example, a language for storing information in a database, such as a DKML (Discoverse Knowledge Markup Language), an XML (extensible Markup Language), and a C language developed by the inventors.
[0208]
That is, the conversation control device 1 stores data stored in each of the conversation databases 500a to 500d (storage information such as second morphological information, fixed contents, answer sentences, answer types, sets, discourse ranges, and element information), and others. Can be realized by constructing DKML (Discoverse Knowledge Markup Language), XML (eXtensible Markup Language), or the like, and executing a program for using the constructed storage information and the like.
[0209]
According to such a program according to the present embodiment, each morpheme constituting the utterance content of the user is identified, the semantic content grasped from each identified morpheme is analyzed, and the morpheme is associated with the analyzed semantic content. In general, a conversation control device, a conversation control system, and a conversation control method that have an operation effect of outputting an optimal response sentence corresponding to the utterance content of a user by outputting a pre-prepared answer sentence are generally used. It can be easily realized with a simple general-purpose computer.
[0210]
Further, the developer who develops the conversation control device 1 can hierarchically construct the second morpheme information and the like for searching for the answer sentence to the utterance content of the user using the language in the database, The conversation control device 1 can acquire an answer sentence to the utterance content from the database through a hierarchical procedure based on the utterance content of the user.
[0211]
That is, the conversation control device 1 determines and determines the hierarchy of the utterance contents of the user (for example, whether the second morpheme information stored in the database is in a higher concept or a lower concept). An appropriate answer sentence can be retrieved from each answer sentence stored in advance based on the hierarchy.
[0212]
For this reason, the conversation control device 1 does not collate the first morpheme information composed of the utterance content of the user with the “all” second morpheme information stored in advance, and each of the morpheme information belonging to a certain specific hierarchy. Since the second morpheme information and the first morpheme information need only be collated, the second morpheme information similar to the first morpheme information can be obtained in a short time.
[0213]
Further, in the communication between the communication unit 800 and the communication unit 900, data may be transmitted and received via the communication network 1000 using a protocol such as DKML. Thereby, for example, when there is no answer sentence suitable for the user's utterance content in the conversation control device 1, the conversation control device 1 is adapted to the user's utterance content through the communication network 1000 in accordance with a convention such as DKML. The searched answer sentence (written in DKML or the like) can be searched, and the searched answer sentence can be searched (see FIG. 20).
[0214]
Note that the program can be recorded on a recording medium. As shown in FIG. 23, the recording medium includes, for example, a hard disk 1100, a flexible disk 1200, a compact disk 1300, an IC chip 1400, a cassette tape 1500, and the like. According to the recording medium on which such a program is recorded, it is possible to easily store, transport, and sell the program.
[0215]
[Second embodiment]
(Basic configuration of conversation control device)
A second embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 24, the conversation control device 1 according to the present embodiment has substantially the same internal structure as the conversation control device 1 according to the first embodiment, but includes a selection unit 380 (second search means; selection means). They differ in points. Further, unlike the first embodiment, the conversation control device 1 partially differs in the functions of the topic search unit 360 (first search unit) and the answer sentence search unit 370 (second search unit; answer sentence search unit). .
[0216]
Except for this difference, the structure is the same as that of the first embodiment and the modified example, and the description of the structure other than the difference will be omitted. The present embodiment naturally has various functions in the first embodiment, such as a parrot return process, a reflexive process, and the like, and also has an effect corresponding to those functions.
[0219]
In the present embodiment, the first morpheme information and topic title described later are different from the first embodiment, and each morpheme belonging to the first morpheme information and topic title is a “case” such as a subject, an object, or an action. Description will be made assuming that it is included regardless of the configuration.
[0218]
In the first embodiment, the process in which the conversation control device 1 outputs an answer sentence corresponding to the utterance content based on the utterance content from the user has been described. In the present embodiment, when the meaning of the utterance content from the user can be grasped as a plurality of meanings, the conversation control device 1 determines the utterance that is close to the topic to be developed by the conversation control device 1 from the respective meanings. The process of selecting the meaning of the content and outputting an answer sentence corresponding to the selected meaning will be described.
[0219]
Specifically, as in the first embodiment, the conversation control device 1 according to the present embodiment performs a passive answer process based on the content of the utterance from the user (for example, a process that faithfully answers the content of the question from the user). Is executed, and the conversation control apparatus 1 voluntarily performs an active answer process to guide the current topic to a specific topic. The structure of the conversation control device 1 in the present embodiment is as follows. The conversation control method and the program according to the present embodiment can be executed with the same processing content as the processing content in the conversation control device 1.
[0220]
As shown in FIG. 25, in the present embodiment, the phrase includes a topic title indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and the topic title includes an answer sentence to the user. Corresponding. The phrase includes, for example, the utterance content or the topic title. In this embodiment, the phrase corresponds to a topic title, as shown in FIG.
[0221]
For example, as shown in FIG. 25, if the topic title 1 is (A device; IR (Inazuma Rush); teach) {Teach the IR (Inazuma Rush) of the A device}, the topic title 1 is Topic titles including some constituent morphemes (IR; teach) include topic title 2 (Company A; IR (Investor Relations); teach) {Teach IR (Investor Relations) of Company A}. Can be The above phrases, topic titles, and answer sentences are stored in the conversation database 500 (morpheme storage unit).
[0222]
The common topic titles are associated with priorities for being selected as answer sentences. In addition, it is desirable that the answer sentence includes a content for guiding the user to a specific topic or a content related to the associated topic title.
[0223]
The topic search unit 360 (first search unit) searches each phrase including the utterance content from a plurality of phrases stored in a conversation database (morpheme storage unit) in advance based on the utterance content input by the user. Is what you do. That is, in the present embodiment, the topic search unit 360, based on the first morpheme information extracted by the sentence structure analysis unit 430, selects each topic title including the first morpheme information from among the topic titles stored in advance. Search for.
[0224]
Specifically, as shown in FIG. 25, when the first morpheme information is (IR; teach), the topic search unit 360 sets the topic title 1 including the first morpheme information (IR; teach). (A device; IR; teach) and topic title 2 (Company A; IR; teach).
[0225]
The selection section 380 (selection means) selects a phrase related to a topic to be developed in advance from each phrase based on each phrase searched by the topic search section 360. That is, in the present embodiment, when a plurality of topic titles are searched by the topic search unit 360, the selection unit 380 according to the magnitude of each priority order associated with each of the plurality of searched topic titles. Select one topic title.
[0226]
Here, the fact that a plurality of topic titles including the utterance content or the first morpheme information constituting the utterance content is searched means that in the present embodiment, the utterance content is captured in a plurality of meanings. As a result, when the utterance content is captured in a plurality of meanings, that is, when a plurality of topic titles are searched, the selecting unit 380 selects a topic to be developed in advance by the conversation control device 1 from among the searched topic titles. (A topic title associated with a high priority) is selected.
[0227]
Specifically, as shown in FIG. 25, when the first morpheme information (IR; teach) is extracted by the sentence structure analysis unit 430, the topic search unit 360 transmits the first morpheme information (IR; teach). ) Are searched for. As shown in FIG. 25, the priority associated with the searched topic title 1 is 2, and the priority associated with the topic title 2 is 1, so that the selecting unit 380 selects the topic title 1 and the topic title 1. From among the topic titles 2, a topic title 2 associated with the priority order 1 is selected.
[0228]
That is, when a plurality of topic titles are searched by the topic search unit 360, the selection unit 380 specifies the highest priority from among the priorities associated with the searched topic titles. Then, a topic title associated with the specified priority is selected. In addition, the selection unit 380 may specify the lowest priority from among the above-described priorities, and select a topic title associated with the specified priority.
[0229]
The answer sentence search unit 370 (answer sentence search means) searches for an answer sentence corresponding to the phrase selected by the selection unit 380. That is, in the present embodiment, the answer sentence search unit 370 searches for an answer sentence associated with a topic title based on the topic title selected by the selection unit 380.
[0230]
More specifically, as shown in FIG. 25, for example, when a topic title 2 (Company A; IR; teach) is selected by the selection unit 380, the answer sentence search unit 370 responds to the topic title 2 The attached answer 2 (IR of company A is ~) is acquired. The output unit 600 outputs the answer sentence 2 (the IR of company A is ~) acquired by the answer sentence search unit 370.
[0231]
When the topic title searched last time is included in each topic title searched this time, the selection unit 380 selects a topic title different from the topic title searched last time from each topic title searched this time. May be elected. That is, when the topic title searched last time is included in each topic title searched this time, the selection unit 380 associates the topic title searched last time with the topic title searched last time. A priority next to the priority may be specified, and a topic title associated with the specified priority may be selected.
[0232]
More specifically, as shown in FIG. 25, for example, the selecting unit 380 determines whether the topic title 2 (Company A; IR; teach) previously searched (or selected) is the topic title 1 or the topic title searched this time. In the case of being included in No. 2, the priority 1 associated with the topic title 2 (Company A; IR; tell me) searched last (or selected) is specified. The selecting unit 380 selects the topic title 1 (A device; IR; teach) associated with the specified priority 2 next to the specified priority 1 from the topic title 1 or the topic title 2 searched this time. elect.
[0233]
(Conversation control method using conversation control device)
The conversation control method by the conversation control device 1 having the above configuration can be implemented by the following procedure. FIG. 26 is a flowchart showing the procedure of the conversation control method according to the present embodiment. The processing from (S201) to (S204) shown in FIG. 26 is the same as the processing from (S101) to (S104) in the first embodiment, and a detailed description thereof will be omitted.
[0234]
As shown in FIG. 26, based on the first morpheme information extracted by the sentence structure analysis unit 430, the topic search unit 360 selects each topic title including the first morpheme information from among the topic titles stored in advance. Is performed (S205). Specifically, as shown in FIG. 25, when the first morpheme information is (IR; teach), the topic search unit 360 sets the topic title 1 including the first morpheme information (IR; teach). (A device; IR; teach) and topic title 2 (Company A; IR; teach).
[0235]
After that, when each topic title is searched by the topic search unit 360, the selection unit 380 selects one topic title according to the magnitude of each priority order associated with each searched topic title. Is performed (S206). Specifically, as shown in FIG. 25, when the first morpheme information (IR; teach) is extracted by the sentence structure analysis unit 430, the topic search unit 360 transmits the first morpheme information (IR; teach). ) Are searched for.
[0236]
Since the priority order associated with the searched topic title 1 is 2 and the priority order associated with the topic title 2 is 1, the selecting unit 380 selects, from among the topic titles 1 and 2, The topic title 2 associated with the priority 1 is selected.
[0237]
On the other hand, when the topic title searched last time is included in each topic title searched this time, the selection unit 380 associates the topic title searched last time with the topic title searched last time. A priority next to the priority is specified, and a topic title associated with the specified priority is selected.
[0238]
Specifically, as shown in FIG. 25, for example, the selecting unit 380 includes the topic title 2 (Company A; IR; tell me) searched last time in the topic title 1 or the topic title 2 searched this time. In this case, the priority 1 associated with the previously searched topic title 2 (Company A; IR; tell me) is specified. The selecting unit 380 selects the topic title 1 (A device; IR; teach) associated with the specified priority 2 next to the specified priority 1 from the topic title 1 or the topic title 2 searched this time. elect.
[0239]
Next, the answer sentence search unit 370 performs a step of searching for an answer sentence associated with the topic title based on the topic title selected by the selection unit 380 (S207). More specifically, as shown in FIG. 25, for example, when a topic title 2 (Company A; IR; teach) is selected by the selection unit 380, the answer sentence search unit 370 responds to the topic title 2 The attached answer 2 (IR of company A is ~) is acquired. The output unit 600 outputs the answer sentence 2 (the IR of company A is ~) acquired by the answer sentence search unit 370.
[0240]
(Operation and effect of the conversation control device and the conversation control method)
According to the invention having the above configuration, as each topic title including the first morpheme information (IR; teach) extracted by the sentence structure analysis unit 430, the topic title 1 (A device; IR (inazuma rush); ) And topic title 2 (Company A; IR (Investor Relations); tell me), the selection unit 380 selects a higher priority from among the retrieved topic titles 1 and 2 The attached topic title 2 can be selected (see FIG. 25).
[0241]
Here, the fact that a plurality of phrases each including input information is searched, or that a plurality of second morphological information including first morphological information constituting the input information are searched for, means that the input information has a plurality of meanings. Means that. Therefore, when the utterance content is captured in a plurality of meanings, that is, when a plurality of topic titles are searched, the selection unit 380 wants to develop in advance the conversation control device 1 from among the topic titles as described above. A topic title related to the topic (a topic title associated with a high priority) can be selected. As a result, the answer sentence search unit 370 can output an answer sentence associated with the topic title (for example, a sentence for guiding to a specific topic) based on the topic title selected by the selection unit 380. .
[0242]
Also, the conversation control device 1 does not output a passive answer sentence based on the content of the utterance from the user (for example, faithfully answer the content of the question from the user). It is possible to output an active answer sentence that guides the user from a current topic to a specific topic.
[0243]
Further, since the answer sentence includes content for guiding the user to a specific topic, the answer sentence search unit 370 outputs the answer sentence via the output unit 600 to expand the current topic in advance. You can more accurately guide you to the topic you want to make. That is, the conversation control device 1 can internally take the initiative on the current topic and guide the current topic to a specific story more accurately.
[0244]
Furthermore, the answer sentence search unit 370 searches for a corresponding answer sentence using morphemes excluding Japanese-specific particles (te, ni, wo, etc.) included in the input information. The answer sentence created in advance can be acquired more accurately based on the semantic content that can be grasped from the user. That is, the answer sentence search unit 370 can search for an answer sentence more suitable for the input information than simply using the entire input information as a keyword and searching for an answer sentence associated with the keyword.
[0245]
In addition, since the topic search unit 360 searches for a topic title including the first morphological information, there is no need to search for a topic title that completely matches input information from the user. As a result, the developer who develops the conversation control device 1 does not need to previously store a huge response sentence corresponding to the input information expected to be input by the user, and can reduce the capacity of the storage unit. it can.
[0246]
(Example of change)
Note that the present invention is not limited to the above embodiment, and the following changes can be made. When each topic title searched this time by the topic search unit 360 is searched for more than a predetermined reference number of times, the selection unit 380 selects a topic title different from the previously selected topic title in each of the currently searched topic titles. It may be selected from among topic titles.
[0247]
Specifically, the selection unit 380 determines that the topic title 1 (A device; IR; tell me) selected last time is included in the topic title 1 or topic title 2 searched this time, and the topic title searched this time, for example. 1 or a topic title 2 is specified as being searched for more than a predetermined reference number of times (for example, 5 times).
[0248]
When the specified number of times exceeds a predetermined reference number (for example, five times), the selection unit 380 determines the priority order associated with the previously selected topic title 1 (A device; IR; teach). 1 is specified. The selecting unit 380 selects a topic title 2 (Company A; IR; tell me) associated with the specified priority 2 next to the specified priority 1 from the topic title 1 or the topic title 2 searched this time. I do.
[0249]
On the other hand, if the counted number does not exceed the reference number (for example, 5 times), the selecting unit 380 replaces the previously searched topic title 1 (A device; IR; teach) with another topic title 2, Used in preference to topic title 3. The answer sentence search unit 370 searches for an answer sentence associated with the topic title based on the topic title selected by the selection unit 380. The answer sentence search unit 370 outputs the answer sentence obtained via the management unit 310 to the output unit 600.
[0250]
Thus, if the topic title selected last time is included in each topic title searched this time by the topic search unit 360, and each topic title searched this time is searched for more than a predetermined reference number, the selection unit 380 can select a topic title different from the topic title selected last time from each topic title searched this time.
[0251]
That is, when the same utterance content is repeatedly uttered by the user, the selection unit 380 can sequentially change the topic title in accordance with the number of times the utterance is repeated. As a result, the conversation control device 1 can output an answer sentence for guiding a current topic to a specific topic in accordance with the number of repeated utterance contents. Also, when the same utterance content is repeatedly uttered, the conversation control device 1 guides from the current topic to another topic, so that the user can feel as if talking with a human. .
[0252]
Note that the present invention is not limited to a device or the like (conversation robot or the like) for the purpose of having a conversation, and this function can be used in a game machine or the like.
[0253]
【The invention's effect】
As described above, according to the present invention, when the content of a user's utterance is captured in a plurality of meanings, an answer sentence related to a specific topic to be developed in advance is output, so that the current topic can be specified. Can guide you to the topic.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a conversation control system according to a first embodiment.
FIG. 2 is a block diagram illustrating an internal structure of a conversation control unit and a sentence analysis unit according to the first embodiment.
FIG. 3 is a diagram illustrating the content of each morpheme extracted by a morpheme extraction unit according to the first embodiment.
FIG. 4 is a diagram showing the contents of each phrase extracted by a phrase analysis unit in the first embodiment.
FIG. 5 is a diagram illustrating contents of “case” specified by a sentence structure analysis unit according to the first embodiment.
FIG. 6 is a diagram illustrating “utterance sentence type” specified by an utterance type determination unit according to the first embodiment.
FIG. 7 is a diagram showing the contents of each dictionary stored in the utterance type database in the first embodiment.
FIG. 8 is a diagram showing contents of a hierarchical structure constructed inside a conversation database in the first embodiment.
FIG. 9 is a diagram showing a detailed relationship of a hierarchical structure constructed inside a conversation database in the first embodiment.
FIG. 10 is a diagram showing the contents of a “topic title” constructed inside a conversation database in the first embodiment.
FIG. 11 is a diagram showing the contents of “type of answer sentence” associated with “topic title” constructed inside the conversation database in the first embodiment.
FIG. 12 is a diagram showing contents of “topic title” and “answer sentence” belonging to a “discussion range” constructed inside a conversation database in the first embodiment.
FIG. 13 is a diagram illustrating contents of reflection element information stored in a reflection element database according to the first embodiment.
FIG. 14 is a diagram showing parrot return elements stored in a parrot return element database and the contents of morphemes of the parrot return elements in the first embodiment.
FIG. 15 is a flowchart illustrating a procedure of a conversation control method according to the first embodiment.
FIG. 16 is a diagram showing utterance contents arranged by a morpheme extraction unit in the first modification.
FIG. 17 is a diagram illustrating an internal configuration of a topic search unit according to a second modification.
FIG. 18 is a diagram illustrating a manner in which the ratio calculation unit in the second modification checks each morpheme belonging to “case configuration” and each “topic title” for each “topic title”.
FIG. 19 is a diagram illustrating a manner in which the ratio calculation unit according to the second modified example collates each morpheme belonging to “each component” with each morpheme belonging to “topic title” for each “case”.
FIG. 20 is a diagram illustrating a schematic configuration of a conversation control system according to a third modification.
FIG. 21 is a diagram illustrating an internal configuration of a topic search unit in a fifth modification.
FIG. 22 is a diagram illustrating a manner in which a topic search unit in the sixth modification example compares first morpheme information with a topic title or an answer sentence.
FIG. 23 is a diagram illustrating a recording medium that stores a program according to the first embodiment.
FIG. 24 is a block diagram illustrating an internal configuration of a conversation control device according to a second embodiment.
FIG. 25 is a diagram showing contents of “topic title” and “answer sentence” constructed inside a conversation database in the second embodiment.
FIG. 26 is a diagram showing a processing procedure of a conversation control method according to the second embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Conversation control device, 2 ... Server, 100 ... Input part, 200 ... Speech recognition part, 300 ... Conversation control part, 310 ... Management part, 320 ... Reflective judgment part, 330 ... Parrot return judgment part, 340 ... Discourse range determination Section, 350: abbreviated sentence complementing section, 360: topic search section, 361: ratio calculating section, 362: selecting section, 363: deleting section, 364: discourse adding section, 370: answer sentence searching section, 380: selecting section, 400 ... Sentence analysis unit, 410 ... Morphological extraction unit, 420 ... Phrase analysis unit, 430 ... Sentence structure analysis unit, 440 ... Utterance type determination unit, 450 ... Morphological database, 460 ... Utterance type database, 500 ... Conversation database, 600 ... Output Unit, 700: voice recognition dictionary storage unit, 800: communication unit, 801: reflection element database, 802: parrot return element database, 900: communication unit, 1000: communication Network, 1100 ... hard disk, 1200 ... flexible disk, 1300 ... compact disc, 1400 ... IC chip, 1500 ... cassette tape

Claims (5)

利用者から入力された発話内容を含む入力情報に基づいて、該入力情報に対応する回答文を検索する会話制御装置であって、
利用者から入力された前記入力情報に基づいて、予め記憶された複数のフレーズの中から、該入力情報を含む各フレーズを検索する第一検索手段と、
前記第一検索手段で検索された前記各フレーズに基づいて、該各フレーズの中から、予め展開したい話題に関係するフレーズを選出し、選出した該フレーズに対応する前記回答文を検索する第二検索手段と
を有することを特徴とする会話制御装置。
A conversation control device that searches for an answer sentence corresponding to the input information based on input information including utterance content input from a user,
Based on the input information input from the user, from among a plurality of phrases stored in advance, a first search means for searching for each phrase including the input information,
A second step of selecting a phrase related to a topic to be developed in advance from each of the phrases based on the respective phrases searched by the first search unit, and searching for the answer sentence corresponding to the selected phrase; A conversation control device comprising a search unit.
請求項1に記載の会話制御装置であって、
前記入力情報に含まれる文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出する形態素抽出手段と、
前記フレーズには、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報が含まれ、複数の該第二形態素情報には、前記回答文及び該回答文として選出されるための優先順位が対応付けられており、前記各第二形態素情報及び前記各回答文を予め記憶する形態素記憶手段とを有し、
前記第一検索手段は、前記形態素抽出手段で抽出された前記第一形態素情報に基づいて、予め記憶された前記各第二形態素情報の中から、該第一形態素情報を含む前記各第二形態素情報を検索し、
前記第二検索手段は、前記第一検索手段で前記各第二形態素情報が検索された場合には、検索された該各第二形態素情報に対応付けられた前記各優先順位の大きさに応じて、該各第二形態素情報の中から一の前記第二形態素情報を選出する選出手段と、
前記選出手段で選出された前記第二形態素情報に基づいて、該第二形態素情報に対応付けられた前記回答文を検索する回答文検索手段と
を有することを特徴とする会話制御装置。
The conversation control device according to claim 1, wherein
A morpheme extracting unit configured to extract at least one morpheme constituting a minimum unit of the character string as first morpheme information based on the character string included in the input information;
The phrase includes second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and the plurality of second morpheme information is selected as the answer sentence and the answer sentence. And a morphological storage means for storing the respective second morphological information and the respective answer sentences in advance,
The first retrieval unit is configured to select the second morpheme including the first morpheme information from among the second morpheme information stored in advance based on the first morpheme information extracted by the morpheme extraction unit. Search for information,
The second search means, when the first search means has searched for each of the second morpheme information, according to the magnitude of each of the priorities associated with each of the searched second morpheme information Selecting means for selecting one piece of the second morphological information from among the pieces of the second morphological information;
A conversation control device, comprising: an answer sentence search unit that searches for the answer sentence associated with the second morpheme information based on the second morpheme information selected by the selection unit.
請求項2に記載の会話制御装置であって、
前記選出手段は、前記第一検索手段で今回検索された前記各第二形態素情報が所定の基準回数を越えて検索された場合には、前回選出された前記第二形態素情報とは異なる前記第二形態素情報を、今回検索された前記各第二形態素情報の中から選出することを特徴とする会話制御装置。
The conversation control device according to claim 2, wherein
The selecting means, when each of the second morphological information searched this time by the first searching means is searched for more than a predetermined reference number of times, the second morphological information different from the second morphological information selected last time. A conversation control device, wherein dimorphological information is selected from each of the second morphological information searched this time.
請求項1乃至請求項3のいずれかに記載の会話制御装置であって、
前記回答文には、特定の話題に誘導させるための内容が含まれることを特徴とする会話制御装置。
The conversation control device according to claim 1, wherein:
The conversation control device, wherein the answer sentence includes content for guiding the user to a specific topic.
利用者から入力された発話内容を含む入力情報に基づいて、該入力情報に対応する回答文を検索する会話制御方法であって、
利用者から入力された前記入力情報に基づいて、予め記憶された複数のフレーズの中から、該入力情報を含む各フレーズを検索する第一ステップと、
前記第一ステップで検索された前記各フレーズに基づいて、該各フレーズの中から、予め展開したい話題に関係するフレーズを選出し、選出した該フレーズに対応する前記回答文を検索する第二ステップと
を有することを特徴とする会話制御方法。
A conversation control method for searching for an answer sentence corresponding to the input information based on input information including utterance content input from a user,
A first step of searching for each phrase including the input information from a plurality of phrases stored in advance based on the input information input from the user;
A second step of selecting a phrase related to a topic to be developed in advance from the respective phrases based on the respective phrases searched in the first step, and searching for the answer sentence corresponding to the selected phrase; And a conversation control method.
JP2003047872A 2003-02-25 2003-02-25 Conversation controller, and conversation control method Pending JP2004258902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003047872A JP2004258902A (en) 2003-02-25 2003-02-25 Conversation controller, and conversation control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003047872A JP2004258902A (en) 2003-02-25 2003-02-25 Conversation controller, and conversation control method

Publications (1)

Publication Number Publication Date
JP2004258902A true JP2004258902A (en) 2004-09-16

Family

ID=33113997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003047872A Pending JP2004258902A (en) 2003-02-25 2003-02-25 Conversation controller, and conversation control method

Country Status (1)

Country Link
JP (1) JP2004258902A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009036998A (en) * 2007-08-01 2009-02-19 Infocom Corp Interactive method using computer, interactive system, computer program and computer-readable storage medium
JP2009036999A (en) * 2007-08-01 2009-02-19 Infocom Corp Interactive method using computer, interactive system, computer program and computer-readable storage medium
US7949530B2 (en) 2005-10-21 2011-05-24 Universal Entertainment Corporation Conversation controller
US7949532B2 (en) 2005-10-21 2011-05-24 Universal Entertainment Corporation Conversation controller
US7949531B2 (en) 2005-10-21 2011-05-24 Universal Entertainment Corporation Conversation controller
JP2018101197A (en) * 2016-12-19 2018-06-28 シャープ株式会社 Server, information processing method, network system, and terminal
CN110931012A (en) * 2019-10-12 2020-03-27 深圳壹账通智能科技有限公司 Reply message generation method and device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002297626A (en) * 2001-03-30 2002-10-11 Just Syst Corp Device, program, and method for presenting information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002297626A (en) * 2001-03-30 2002-10-11 Just Syst Corp Device, program, and method for presenting information

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949530B2 (en) 2005-10-21 2011-05-24 Universal Entertainment Corporation Conversation controller
US7949532B2 (en) 2005-10-21 2011-05-24 Universal Entertainment Corporation Conversation controller
US7949531B2 (en) 2005-10-21 2011-05-24 Universal Entertainment Corporation Conversation controller
JP2009036998A (en) * 2007-08-01 2009-02-19 Infocom Corp Interactive method using computer, interactive system, computer program and computer-readable storage medium
JP2009036999A (en) * 2007-08-01 2009-02-19 Infocom Corp Interactive method using computer, interactive system, computer program and computer-readable storage medium
JP2018101197A (en) * 2016-12-19 2018-06-28 シャープ株式会社 Server, information processing method, network system, and terminal
WO2018116531A1 (en) * 2016-12-19 2018-06-28 シャープ株式会社 Server, information processing method, network system, and terminal
CN110931012A (en) * 2019-10-12 2020-03-27 深圳壹账通智能科技有限公司 Reply message generation method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
JP3997105B2 (en) Conversation control system, conversation control device
JP2004258902A (en) Conversation controller, and conversation control method
JP4279883B2 (en) Conversation control system, conversation control method, program, and recording medium recording program
JP4110012B2 (en) Conversation control device and conversation control method
JP4110011B2 (en) Conversation control device and conversation control method
JP4413486B2 (en) Home appliance control device, home appliance control method and program
JP4913850B2 (en) Information processing system and information processing method
JP3923378B2 (en) Robot control apparatus, robot control method and program
JP4038399B2 (en) Face image display device, face image display method and program
JP2004062685A (en) Information processing system, information processing method and program
JP3927067B2 (en) Conversation control system, conversation control device, conversation control method, program, and recording medium recording program
JP4109964B2 (en) Information output device, information output method, and program
JP4253487B2 (en) Information acquisition device
JP4274760B2 (en) Map output device, map output method and program
JP4205370B2 (en) Conversation control system, conversation control method and program
JP4402868B2 (en) Information acquisition apparatus, information acquisition method, and program
JP4434553B2 (en) Information processing system, information processing apparatus, information processing method, program, and recording medium recording the program
JP4116367B2 (en) Conversation control system, conversation control method, program
JP4188622B2 (en) Access system and access control method
JP2004021937A (en) Article ejection equipment, article ejection control method, and program thereof
JP2004030323A (en) System and method for information transmission, and program
JP4312443B2 (en) Information notification system, information notification control method and program
JP4316839B2 (en) Conversation control device and conversation control method
JP3947421B2 (en) Conversation control system, conversation control method, program, and recording medium recording program
JP2009205169A (en) Household electric appliance control device, household electric appliance control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080317

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080401

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080529

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080611

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080808