JP2004126790A - Notification system of usage amount, notification control method and program for usage amount - Google Patents

Notification system of usage amount, notification control method and program for usage amount Download PDF

Info

Publication number
JP2004126790A
JP2004126790A JP2002287561A JP2002287561A JP2004126790A JP 2004126790 A JP2004126790 A JP 2004126790A JP 2002287561 A JP2002287561 A JP 2002287561A JP 2002287561 A JP2002287561 A JP 2002287561A JP 2004126790 A JP2004126790 A JP 2004126790A
Authority
JP
Japan
Prior art keywords
morpheme
information
unit
morpheme information
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002287561A
Other languages
Japanese (ja)
Other versions
JP4141783B2 (en
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 JP2002287561A priority Critical patent/JP4141783B2/en
Publication of JP2004126790A publication Critical patent/JP2004126790A/en
Application granted granted Critical
Publication of JP4141783B2 publication Critical patent/JP4141783B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Machine Translation (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To notify a relevant user of the usage amount of supplies, related to input information, on the basis of the input information of voice or the like inputted by the user. <P>SOLUTION: A system is provided with a morpheme extraction part 410 which extracts at least one morpheme constituting a minimum unit of character strings as a first morpheme information, on the basis of the character strings corresponding to the input information inputted by the user; a topic retrieval part 360, which collates the first morpheme information extracted with the morpheme extraction part 410 with each topic title, and retrieves a topic title containing the morpheme constituting the first morpheme information from among respective topic titles; and a response text producing part 371, which notifies the user of the amount used measured by a measuring part 5, if at least one keyword is contained in the topic title on the basis of the topic title retrieved with the topic retrieval part 360. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、電力、ガス又は水道を含む供給物の使用量を計量する計量部が配備され、利用者から入力された入力情報に基づいて計量部で計量された使用量を通知する使用量通知システム、使用量通知制御方法及びプログラムに関する。
【0002】
【従来の技術】
従来から、家屋に供給される電気の電力量を自動的に計量する自動検針システムがある(例えば、特許文献1)。この自動検針システムは、各家屋で消費されたガス量、電力量等の供給物の使用量を自動的に計量するものである。このため、それら供給物を提供する業者は、検針員を巡回させずに、その供給物についての使用量を計量することができるので、人件費等を低減させることができる。
【0003】
【特許文献1】
特開平9−172503(第3−5項、第1図)
【0004】
【発明が解決しようとする課題】
しかしながら、上記自動検針システムでは、その業者は、各家屋における供給物の消費量を容易に把握することができるが、その家屋に住んでいる住人は、その供給物の使用量を外部から容易に知ることができなかった。例えば、一人暮らしをしている祖母等を有する家族にとっては、祖母等の家における供給物の使用量を知ることができれば、その祖母等の生活状況を容易に把握することができる。
【0005】
一方、その家族は、祖母等の家における供給物の使用量を業者に確認することができるが、逐一その業者に電話等をしなければならず、所望の使用量を聞き出すまでに相当の時間を要していた。このため、特定の者が業者を介さずに特定の家屋における供給物の使用量を容易に知ることのできるシステムの開発が望まれていた。
【0006】
そこで、本発明は以上の点に鑑みてなされたものであり、利用者から入力された音声等の入力情報に基づいて、その入力情報に関係する供給物の使用量を該当する利用者に通知することのできる使用量通知システム、使用量通知制御方法及びプログラムを提供することを課題とする。
【0007】
【課題を解決するための手段】
本願に係る発明は、上記課題を解決すべくなされたものであり、電力、ガス又は水道を含む供給物の使用量を計量する計量部が配備され、利用者から入力された入力情報に基づいて計量部で計量された使用量を通知する際に、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報を予め複数記憶し、使用量に関係するキーワードを予め複数記憶し、入力情報に対応する文字列に基づいて、文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出し、抽出された第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索し、検索された第二形態素情報に基づいて、少なくとも一のキーワードが第二形態素情報に含まれる場合には、計量部で計量された使用量を利用者に通知することを特徴とする。
【0008】
このような本願に係る発明によれば、会話制御装置は、利用者の入力情報を構成する第一形態素情報と一致する第二形態素情報に基づいて、その第二形態素情報の中に、使用量に関係する少なくとも一のキーワードが含まれる場合には、計量部で計量された使用量を利用者に通知することができる。これにより、利用者は、会話を通じて所望の使用量に関係する情報、例えば電気の使用量、ガスの使用量等を知ることができる。
【0009】
即ち、その会話制御装置は、利用者の入力情報の中に、特定のキーワードが含まれている場合に、単純にそのキーワードに対応付けられた使用量についての情報を通知するのではない。会話制御装置は、”第二形態素情報”の中に、特定のキーワードが含まれているか否かに応じて、そのキーワードに対応付けられた使用量についての情報を通知することができる。
【0010】
特に、第二形態素情報は、利用者からの入力情報に含まれる各形態素を抽出したものであるため、入力情報を構成する重要な要素のみしか含まれていないので、会話制御装置は、その第二形態素情報に基づいて、利用者が所望する使用量についての情報を的確に通知することができる。
【0011】
例えば、入力情報が{私は、電気の使用量を知りたい}である場合には、その入力情報に対応する第二形態素情報は、(私;電気の使用量;知りたい)となる。このため、会話制御装置は、第二形態素情報の中には、”電気の使用量””知りたい”というキーワードが含まれているので、それらのキーワードに対応付けられた「電気の使用量」に関する情報を出力することができる。この情報としては、現在の電気の使用量は○○kWhです、等が挙げられる。
【0012】
また、第二形態素情報に含まれる”〜たい”は、ある事柄に対して自己の希望を要求することを意味する。このため、会話制御装置が、”電気の使用量”、”〜たい”が含まれている場合には、会話制御装置は、「利用者は電気の使用量を知りたがっているな」と擬似的な推論をすることができる。これにより、会話制御装置は、利用者が要求する使用量についての情報を的確に通知することができる。
【0013】
更に、一人暮らしの祖母等を有する家族は、その祖母等の生活状況を、上記使用量についての情報を通じて容易に把握することができる。例えば、家族は、祖母の家における電気の使用量が極端に少ないときは、その祖母の健康には問題があるものとして判断することができる。一方、家族は、祖母の家における電気の使用量が通常以上であれば、その祖母の健康には問題が無いものとして判断することができる。
上記発明においては、第二形態素情報には、検索の基準となる符号が予め複数対応付けられ、各符号には、使用量に関係する内容がそれぞれに予め対応付けられ、検索された第二形態素情報に基づいて、第二形態素情報に対応付けられた各符号と、計量部で計量された使用量とを照合し、その使用量と一致する符号を検索し、検索された符号に基づいて、その符号に対応付けられた内容を利用者に通知することが好ましい。
【0014】
この場合には、各符号に対応付けられた内容が、各機器の使用状況の概略(例えば、現在、電気は”多く”使用されています、等)を意味するものである場合には、会話制御装置は、計量部で計量された使用量の大きさに基づいて、その大きさと一致する符号に対応付けられた上記内容を利用者に通知することができる。これにより、利用者は、特定の使用量についての概略を会話制御装置から聞くことができるので、特定の建造物内における使用状況を即座に把握することができる。
【0015】
上記発明においては、利用者から入力されるであろう入力情報又は利用者への回答内容に関連性のある形態素を示す談話範囲には、各第二形態素情報が予め対応付けられ、抽出された第一形態素情報と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報に含まれる形態素と一致する談話範囲を検索し、検索された談話範囲に基づいて談話範囲に対応付けられた各第二形態素情報と、抽出された第一形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索することが好ましい。
【0016】
この場合には、会話制御装置は、先ず談話範囲を特定し、この特定した談話範囲に関連付けられた各第二形態素情報の中から、抽出した第一形態素情報を構成する形態素を含む第二形態素情報を検索することができる。これにより、会話制御装置は、予め記憶された”全ての”各第二形態素情報と抽出した第一形態素情報とを照合する必要がなくなるため、該当する第二形態素情報をより迅速に検索することができる。この結果、利用者は、所望する使用量についての情報を迅速に取得することができる。
【0017】
尚、上記発明においては、抽出された第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算し、各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することが好ましい。
【0018】
この場合には、会話制御装置は、例えば、利用者の入力情報を構成する第一形態素情報が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより的確に取得することができる。この結果的、会話制御装置は、取得した第二形態素情報に基づいて利用者が要求する使用量を的確に通知することができる。
【0019】
【発明の実施の形態】
[第一実施形態]
(会話制御システムの基本構成)
本発明に係る会話制御システムについて図面を参照しながら説明する。図1は、本実施形態に係る会話制御装置1を有する会話制御システムの概略構成図である。
【0020】
同図に示すように、会話制御装置1は、入力部100と、音声認識部200と、会話制御部300と、文解析部400と、会話データベース500と、出力部600と、音声認識辞書記憶部700とを備えている。
【0021】
尚、本実施形態では、説明の便宜上、利用者の発話内容(この発話内容は、入力情報の一種)に限定して説明するが、この利用者の発話内容に限定されるものではなく、キーボード等から入力された入力情報であってもよい。従って、以下に示す「発話内容」は、「発話内容」を「入力情報」に置き換えて説明することもできる。
【0022】
同様にして、後述の説明では、説明の便宜上、「発話文のタイプ」(発話種類)に限定して説明するが、この「発話文のタイプ」に限定されるのではなく、キーボードなどから入力された入力情報の種類を示す「入力種類」であってもよい。従って、以下に示す「発話文のタイプ」(発話種類)は、「発話種類」を「入力種類」に置き換えて説明することもできる。
【0023】
入力部100は、利用者からの入力情報を取得する取得手段であり、本実施形態では、マイクロホン、キーボード等が挙げられる。この入力部100は、利用者から入力された入力情報に基づいて、入力情報を示す文字列を特定する文字認識手段でもある。
【0024】
ここで、入力情報とは、キーボード等を通じて入力された文字、記号、音声等を意味するものである。具体的に、入力部100は、利用者の入力情報(音声以外)を取得し、取得した入力情報を会話制御部300に出力する。また、利用者からの発話内容(この発話内容は、音声からなるものであり、入力情報の一種である)をマイクロホンなどで取得した入力部100は、取得した発話内容を構成する音声を音声信号として音声認識部200に出力する。
【0025】
音声認識部200は、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定する文字認識手段である。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。音声認識辞書記憶部700は、標準的な音声信号に対応する辞書を格納しているものである。
【0026】
前記文解析部400は、入力部100又は音声認識部200で特定された文字列を解析するものであり、本実施形態では、図2に示すように、形態素抽出部410と、文節解析部420と、文構造解析部430と、発話種類判定部440と、形態素データベース450と、発話種類データベース460とを有している。
【0027】
形態素抽出部410は、入力部100又は音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出する形態素抽出手段である。
【0028】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列の中から各形態素を抽出する。ここで、形態素とは、本実施形態では、文字列に現された語構成の最小単位を意味するものとする。この語構成の最小単位としては、図3に示すように、例えば、名詞、形容詞、動詞などの品詞が挙げられる。各形態素は、本実施形態では、m1、m2、・・・、mlと表現する。
【0029】
即ち、形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0030】
文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式に変換する変換手段である。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0031】
ここで、文節形式とは、本実施形態では、日本語文法において、自立語又は自立語に一つ以上の付属語がついた文、或いは、日本語文法の意味を崩さない程度に文字列をできるだけ細かく区切った一区切りの文を意味する。この文節は、本実施形態では、p1、p2、・・・pkと表現する。
【0032】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が(m2)・は(m4)・を(m5)・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。同図に示す「t」は、転置を意味する。
【0033】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0034】
文構造解析部430は、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類する分類手段である。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0035】
ここで、「格構成」とは、文節における実質的な概念を示す格(属性)を意味するものであり、本実施形態では、例えば、主語・主格を意味するサブジェクト(主体格)、対象を意味するオブジェクト(対象格)、動作を意味するアクション、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション等が挙げられる。本実施形態では、サブジェクト、オブジェクト、アクションの三要素の「格」(格構成)に対応付けられた各形態素を第一形態素情報とする。
【0036】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、
例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0037】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0038】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を反射的判定部320に出力する。
【0039】
発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容(入力情報)の種類を示す発話種類(入力種類)を特定する種類特定手段である。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0040】
ここで、「発話文のタイプ」は、本実施形態では、図6に示すように、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、反発文(N;Negation)などから構成されるものである。
【0041】
陳述文とは、利用者の意見又は考えなどからなる文を意味するものであり、本実施形態では、図6に示すように、例えば”佐藤が好きだ”などの文が挙げられる。感想文とは、利用者が抱く感想からなる文を意味するものである。場所文とは、場所的な要素からなる文を意味するものである。
【0042】
結果文とは、話題に対して文が結果の要素を含む文から構成されるものを意味する。時間文とは、話題に関わる時間的な要素を含む文から構成されるものを意味する。
【0043】
条件文とは、一つの発話を話題と捉えた場合に、話題の前提、話題が成立している条件や理由などの要素を含む文から構成されるものを意味する。反発文とは、発話相手に対して反発するような要素を含む文から構成されるものを意味する。各「発話文のタイプ」についての例文は、図6に示す通りである。
【0044】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。文要素とは、文字列の種類を特定するための分の種別を意味し、文要素は、本実施形態では、上記説明した定義句(〜のことだ)などが挙げられる。
【0045】
ここで、上記発話種類データベース460は、図7に示すように、定義句(例えば、〜のことだ)に関係する辞書を備えた定義表現事例辞書、肯定句(例えば、賛成、同感、ピンポーン)に関係する辞書を備えた肯定事例辞書、結果句(例えば、それで、だから)に関係する辞書を備えた結果表現事例辞書、挨拶句(例えば、こんにちは)に関係する辞書を備えた挨拶事例辞書、否定句(例えば、馬鹿言うんじゃないよ、反対)に関係する辞書を備えた否定事例辞書などから構成され、各辞書は、「発話文のタイプ」と関連付けられている。
【0046】
これにより、発話種類判定部440は、文節と発話種類データベース460に格納されている各辞書とを照合し、文節の中から各辞書に関連する文要素を抽出し、抽出した文要素に関連付けられた判定の種類を参照することで、「発話文のタイプ」を判定することができる。
【0047】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0048】
前記会話データベース500は、一つの文字、複数の文字列又はこれらの組み合わせからなる各形態素を示す第二形態素情報を予め複数記憶するものである。また、会話データベース500は、第二形態素情報と、発話内容に対する利用者への回答内容とを予め相互に関連付けて複数記憶するものでもある。更に、会話データベース500は、複数の回答内容に対応付けられた各回答内容の種類を示す回答種類を、第二形態素情報に関連付けて予め複数記憶するものでもある。
【0049】
更に、会話データベース500は、利用者から入力されるであろう入力内容又は利用者への回答内容に関連性のある範囲を構成する形態素を示す談話範囲(キーワード)を予め複数記憶するものでもある。この談話範囲(キーワード)には、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報が複数関連付けられ、各第二形態素情報には、利用者への回答内容がそれぞれに関連付けてられている。
【0050】
更にまた、会話データベース500は、第二形態素情報を構成する各要素を、主格からなる主体各、目的格からなる対象格などの属性に分類して記憶する回答記憶手段(談話記憶手段)でもある。
【0051】
この会話データベース500は、図8に示すように、本実施形態では、大きく分けると、利用者から発話されるであろう発話内容又は利用者への回答内容について関連性のある範囲を意味する談話範囲(ディスコース)と、利用者が発話している内容に最も密接な関連性のある範囲を意味する話題(トピック)とから構成されている。同図に示すように、”談話範囲”は、本実施形態では、”話題”の上位概念として位置付けるものとする。
【0052】
各談話範囲は、図9に示すように、階層構造となるように構成することができる。同図に示すように、例えば、ある談話範囲(映画)に対する上位概念の談話範囲(娯楽)は、上の階層構造に位置するようにし、談話範囲(映画)に対する下位概念の談話範囲(映画の属性、上映映画)は、下の階層構造に位置するようにすることができる。即ち、各談話範囲は、本実施形態では、他の談話範囲との間で上位概念、下位概念、同義語、対義語の関係が明確となる階層位置に配置することかできる。
【0053】
上述の如く、談話範囲は、各話題から構成されるものであり、本実施形態では、例えば、談話範囲がA映画名であれば、A映画名に関係する複数の話題を含んでいる。
【0054】
この話題は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素、即ち、利用者から発話されるであろう発話内容を構成する各形態素を意味するものであり、本実施形態では、サブジェクト(主体格)、オブジェクト(対象格)、アクションの「格」(属性)に対応付けられた各形態素からなるものである。これら三要素に対応付けられた各形態素は、本実施形態では、話題タイトル(この話題タイトルは、”話題”の下位概念に相当するものである)(第二形態素情報)と表現することにする。
【0055】
尚、話題タイトルには、上記三要素に対応付けられた各形態素に限定されるものではなく、他の「格」、即ち、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション、条件を意味するコンディション、感想を意味するインプレッション、結果を意味するエフェクトなどに対応付けられた各形態素を有してもよい。
【0056】
この話題タイトル(第二形態素情報)は、本実施形態では、会話データベース500に予め格納されているものであり、上記第一形態素情報(利用者が発話した発話内容から導かれたもの)とは区別されるものである。
【0057】
例えば、話題タイトルは、談話範囲が”A映画名”である場合には、図10に示すように、サブジェクト(A映画名)、オブジェクト(監督)、アクション(素晴らしい){これは、”A映画名の監督は素晴らしい”を意味する}から構成されるものである。
【0058】
話題タイトルのうち、「格構成」(サブジェクト、オブジェクト、アクションなど)に対応付けられた形態素がない場合は、その部分については、本実施形態では、”*”を示すことにする。
【0059】
例えば、{A映画名って?}の文を話題タイトル(サブジェクト;オブジェクト;アクション)に変換すると、{A映画名って?}の文のうち、”A映画名”がサブジェクトとして特定することができるが、その他”オブジェクト””アクション”は文の要素になっていないので、話題タイトルは、”サブジェクト”(A映画名);”オブジェクト”なし(*);”アクション”なし(*)となる(図10参照)。
【0060】
回答文とは、利用者に対して回答する回答文(回答内容)を意味するものであり、本実施形態では、各話題タイトル(第二形態素情報)に関連付けられている(図8参照)。回答文は、本実施形態では、本実施形態では、図11に示すように、利用者から発話された発話文のタイプに対応した回答をするために、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、否定文(N;Negation)などのタイプ(回答種類)に分類されている。
【0061】
即ち、各回答文は、図12に示すように、例えば、談話範囲(佐藤){下位概念;ホームラン、上位概念;草野球、同義語;パンダ佐藤・佐藤選手・パンダ}及び各話題タイトルと関連付けられている。
【0062】
同図に示すように、例えば、話題タイトル1−1が{(佐藤;*;好きだ):これは、上述の如く(サブジェクト;オブジェクト;アクション)の順番からなるものである。この順番は、以下同様とする}である場合は、その話題タイトル1−1に対応する回答文1−1は、(DA;陳述肯定文”佐藤が好きです”)、(IA;感想肯定文”佐藤がとても好きです”)、(CA;条件肯定文”佐藤のホームランはとても印象的だからです”)、(EA;結果肯定文”いつも佐藤の出る試合をテレビ観戦してしまいます”)、(TA;時間肯定文”実は、甲子園での5打席連続敬遠から好きになっています”)、(LA;場所肯定文”打撃に立ったときの真剣な顔が好きですね”)、(NA;反発肯定文”佐藤を嫌いな人とは話したくないですね、さよなら”)などが挙げられる。
【0063】
前記会話制御部300は、本実施形態では、図2に示すように、管理部310と、反射的判定部320と、鸚鵡返し判定部330と、談話範囲決定部340と、省略文補完部350と、話題検索部360と、回答文検索部370とを有している。
【0064】
前記管理部310は、会話制御部300の全体を制御するものである。具体的に、入力部100又は音声認識部200から文字列が入力された管理部310は、入力された文字列を文字列信号として形態素抽出部410に出力する。また、管理部310は、回答文検索部370で検索された回答文を出力部600に出力する。
【0065】
反射的判定部320は、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索する定型取得手段である。
【0066】
ここで、定型内容とは、利用者からの発話内容に対して定型的な内容を回答するための反射要素情報を意味し、この反射要素情報は、反射要素データベース801(定型記憶手段)に予め複数記憶されている。反射要素情報としては、本実施形態では、図13に示すように、例えば”おはよう”、”こんにちは”、”こんばんわ”、”やあ”などの「挨拶的要素」、「なるほど」、「本当?」などの「定型的要素」などが挙げられる。
【0067】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0068】
即ち、反射要素情報をD1、第一形態素情報をWとすると、反射的判定部320は、W∩D1≠φ(φ;空集合)の関係が成立していると判断した場合は、上記反射的な回答を行うための処理を行う。
【0069】
例えば、利用者が”おはよう”という発話内容を発した場合には、反射的判定部320は、発話内容”おはよう”と各反射要素情報とを照合し、各反射要素情報の中から、発話内容”おはよう”を含む(と一致する)反射要素情報”おはよう”を検索し、検索した反射要素情報”おはよう”を管理部310に出力する。
【0070】
反射的判定部320は、各反射要素情報の中から、発話内容を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0071】
鸚鵡返し判定部330は、形態素抽出部410で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の回答内容とを照合し、現在の第一形態素情報が過去の回答内容に含まれる場合には、合意内容を取得する定型取得手段である。
【0072】
ここで、鸚鵡返しとは、本実施形態では、利用者の発話内容をそのまま(又はそれに近い内容を)言い返すことを意味する。鸚鵡返し要素は、本実施形態では、直前に会話制御装置1から出力された回答内容を構成する第一形態素情報などからなるのもであり、図14に示すように、例えば、”馬は美しい”(馬;*;美しい)、”佐藤が好きです”(佐藤;*;好きです)などが挙げられる。
【0073】
また、鸚鵡返し要素データベース802は、利用者から入力された入力情報に合意するための合意内容を予め記憶する合意記憶手段でもある。合意内容には、例えば、前回、利用者から入力された入力情報(利用者により前回の入力情報が”A映画名の監督はS氏ですか”である場合には、合意内容としては、”A映画名の監督はS氏です”)、又は ”その通りです”、”本当です”などが挙げられる。
【0074】
具体的に、反射的判定部320から話題検索命令信号が入力された鸚鵡返し判定部330は、各鸚鵡返し要素毎に、入力された話題検索命令信号に含まれる第一形態素情報と鸚鵡返し要素を構成する各形態素とを照合し、鸚鵡返し要素の中に第一形態素情報が含まれているかを判断する(図14参照)。
【0075】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、合意内容を取得し、取得した合意内容からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回の回答文など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0076】
例えば、会話制御装置1が回答文として”A映画名の監督はS氏です”(A映画名の監督;S氏;*)(この順番は、サブジェクト;オブジェクト;アクションの順番、以下同様とする)を出力し、その後、利用者が出力された回答内容に対して”A映画名の監督はS氏ですか”(A映画名の監督;S氏;*)と発話した場合には、鸚鵡返し判定部330は、利用者の第一形態素情報(A映画名の監督;S氏;*)と回答文の各形態素(A映画名の監督;S氏;*)とが一致しているので、利用者は回答内容に対して鸚鵡返しを行っていると断定し、記憶されている合意内容”その通りです”などを取得し、取得した合意内容を出力する。
【0077】
また、鸚鵡返し判定部330は、形態素抽出部410で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得する定型取得手段でもある。
【0078】
具体的には、利用者が”馬は美しい”という発話内容を発話し、会話制御装置1が回答内容として”馬は躍動感があって良いですね”の内容を出力した場合に、後に利用者が”馬は美しい”という発話内容を繰り返したときは、鸚鵡返し判定部330は、現在の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}と前の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}とが一致しているので、利用者は会話制御装置1からの回答内容”馬は躍動感があって良いですね”については全く聞いていないものと断定することができる。
【0079】
この場合、鸚鵡返し判定部330は、利用者が会話制御装置1からの回答内容を聞いていないので、記憶された反発内容(例えば、同じ内容を繰り返さないでよ”など)取得し、取得した反発内容を出力することができる。
【0080】
一方、鸚鵡返し判定部330は、第一形態素情報が前回の回答文の内容と同一、又は第一形態素情報が前回の第一形態素情報と同一でないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0081】
尚、上記の鸚鵡返し判定部330は、「会話制御装置1の回答内容」に対して利用者が鸚鵡返しを行った場合の処理を示してきたが、更に以下の処理も行うことができる。例えば、出力部600が”馬は美しい”という回答文を出力した場合、この回答文に対して利用者が”どうして馬は美しいの?”、”どうして美しいの?”、又は”どうして?”と発話した場合に対して行う鸚鵡返し判定部330の処理である。
【0082】
この場合、鸚鵡返し判定部330は、出力した回答文S”馬は美しい”と利用者からの発話内容W(”どうして馬は美しいの?(疑問文)”又は”どうして美しいの?(疑問文)”)とを照合すると、(W−c)⊂S、S≠φ、c≠φ(このcは、Wの発話種類を意味し、この発話種類は、後述する発話種類判定部440で判定されるものである。発話種類には、後述するように、例えば、疑問文などが挙げられる。)の関係が成立するので、”条件付”の鸚鵡返し処理(回答内容に対して利用者が疑問文付きの鸚鵡返しを行った場合の処理)を行う。
【0083】
”条件付”の鸚鵡返し処理としては、例えば、会話制御装置1が”馬は美しいね”の回答文を出力した場合に、上記利用者が”どうして馬は美しいの?”の発話内容を発したときは、利用者の疑問等を解消するため、鸚鵡返し判定部330が”だって馬は美しいじゃない”などの回答文を鸚鵡返し要素データベース802の中から取得し、取得した回答文を管理部310に出力する処理を行う。
【0084】
談話範囲決定部340は、文節解析部420で抽出された第一形態素と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報に含まれる形態素と一致する談話範囲を検索する第二検索手段である。
【0085】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された談話検索命令信号に基づいて、利用者の談話範囲を決定する。即ち、談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0086】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0087】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0088】
これにより、後述する話題検索部360は、談話範囲決定部340で決定された”談話範囲”に属する各「話題タイトル」と、文構造解析部430で特定された第一形態素情報とを照合することができるので、”全て”の「話題タイトル」(第二形態素情報)と第一形態素情報とを照合する必要がなくなり、後述する回答文検索部370は、最終的な回答文を検索するまでの時間を短縮することができる。
【0089】
尚、談話範囲決定部340は、上記の如く、第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報の形態素が含まれていれば、その形態素を談話範囲として決定していたが、これに限定されるものではなく、鸚鵡返し判定部330で直前に検索された鸚鵡返し要素の形態素、又は利用者が発話した発話内容を構成する形態素を談話範囲として決定しても良い。後述する省略文補完部350は、上記談話範囲決定部340で決定された談話範囲を用いて、その談話範囲を、形態素が省略されている第一形態素情報に付加することができる。
【0090】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索する属性検索手段である。また、省略文補完部350は、検索した属性に基づいて、属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加する形態素付加手段でもある。
【0091】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0092】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、談話範囲決定部340で決定された談話範囲(A映画名;このA映画名は映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0093】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0094】
これにより、第一形態素情報が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、第一形態素情報がある談話範囲に属している場合には、例えば、その談話範囲D(A映画名)を第一形態素情報W(監督;*;*)に付加し、第一形態素情報をW’(A映画名の監督;*;*){A映画名の監督は?}として扱うことができるので、利用者の発話内容が省略文である場合であっても、前に決定された談話範囲に基づいて省略文を補完することができ、省略文を明確にすることができる。
【0095】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素を補完することができるので、話題検索部360は、補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で取得された「話題タイトル」に基づいて利用者の発話内容により適した回答内容を出力することができる。
【0096】
話題検索部360は、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索する第一検索手段である。
【0097】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0098】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0099】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0100】
回答文検索部370は、話題検索部360で検索された第二形態素情報(話題タイトル)に基づいて、第二形態素情報に関連付けられた回答文を取得する回答取得手段である。また、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索する第二検索手段でもある。
【0101】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0102】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0103】
回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する。
【0104】
出力部600は、回答文検索部370で取得された回答文を出力する出力手段であり、本実施形態では、例えば、スピーカ、ディスプレイなどが挙げられる。具体的に、管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0105】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。図15は、本実施形態に係る会話制御方法の手順を示すフロー図である。
【0106】
先ず、入力部100が、利用者からの発話内容を取得するステップを行う(S101)。具体的に入力部100は、利用者の発話内容を構成する音声を取得し、取得した音声を音声信号として音声認識部200に出力する。また、入力部100は、利用者から入力された入力情報(音声以外)に基づいて、入力情報(音声以外)に対応する文字列を特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0107】
次いで、音声認識部200が、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定するステップを行う(S102)。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0108】
そして、形態素抽出部410が、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出するステップを行う(S103)。
【0109】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0110】
そして、文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめるステップを行う(S104)。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0111】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。 各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0112】
その後、文構造解析部430が、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類するステップを行う(S105)。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0113】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0114】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0115】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部360に出力する。
【0116】
次いで、発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定するステップを行う(S106)。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0117】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。
【0118】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0119】
次いで、反射的判定部320が、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索するステップを行う(S107;反射的処理)。
【0120】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報(定型内容)とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0121】
反射的判定部320は、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0122】
次いで、鸚鵡返し判定部330が、形態素抽出部410で抽出された第一形態素情報と各鸚鵡返し要素を照合し、各鸚鵡返し要素の中から、第一形態素情報を含む鸚鵡返し要素を検索するステップを行う(S108;鸚鵡返し処理)。
【0123】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、第一形態素情報を含む鸚鵡返し要素を取得し、取得した鸚鵡返し要素からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回出力された回答文、前回利用者が発話した発話内容など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0124】
一方、鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0125】
そして、談話範囲決定部340が、文節解析部420で抽出された第一形態素と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報を含む談話範囲を検索(決定)するステップを行う(S109)。
【0126】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0127】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0128】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0129】
次いで、省略文補完部350が、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索するステップを行う。その後、省略文補完部350が、検索した形態素を含まない属性に基づいて、その属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加するステップを行う(S110;省略文を補完)。
【0130】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0131】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、前に談話範囲決定部340で決定された談話範囲(A映画名;このA映画名とは映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲の形態素(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0132】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、第一形態素情報Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0133】
次いで、話題検索部360が、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索するステップを行う(S111)。
【0134】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0135】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0136】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0137】
そして、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に関連付けられている回答文を取得するステップを行う(S112)。
【0138】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0139】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0140】
次いで、回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する(S113)。管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0141】
(会話制御装置及び会話制御方法による作用及び効果)
上記構成を有する本願に係る発明によれば、反射的判定部320が、利用者から発話された発話内容を構成する第一形態素情報と予め記憶された各定型内容とを照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索することができるので、反射的判定部320は、例えば第一形態素情報が”こんにちは”などの定型内容である場合には、この定型内容と同一の定型内容”こんにちは”等を回答することができる。
【0142】
また、反射的判定部320は、利用者の発話内容が定型内容である場合には、その定型内容(挨拶など)を回答するので、利用者は、最初に、会話制御装置1との間で意思の疎通をしているような感覚を味わうことができる。
【0143】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の回答内容とを照合し、現在の第一形態素情報が過去の回答内容に含まれていない場合には、予め記憶してある合意内容を取得することができるので、鸚鵡返し判定部330は、利用者から現在入力された入力情報と過去の回答内容とが一致していれば、利用者が過去の回答内容に対して鸚鵡返し(利用者が回答内容に対して聞き直していること)の入力情報を入力したものと断定することができる。
【0144】
この場合、鸚鵡返し判定部330は、利用者が過去の回答内容に対して鸚鵡返しを行っているので、記憶されている合意内容を取得し、取得した合意内容(例えば、”その通りです”など)を出力することができる。これにより、利用者は、会話制御装置1から出力された回答内容の意味が分からなければ、もう一度聞き直して、再度回答内容を聞き直すことができるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0145】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得することができるので、鸚鵡返し判定部330は、前回入力された入力情報が今回入力された入力情報に含まれている場合には、利用者が前の入力情報と同一の内容を反復して入力したものと判断することができ、利用者が会話制御装置からの回答内容に対して適切に回答していないものと断定することができる。
【0146】
この場合、鸚鵡返し判定部330は、利用者が前回の回答内容に対して適切に回答していないので、利用者に対して反発するため、記憶されている反発内容を取得し、取得した反発内容を出力する。これにより、利用者は、会話制御装置1からの回答内容に対して適切な入力情報を入力しなければ、会話制御装置1から反発内容が出力されるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0147】
また、話題検索部360は、第一形態素情報と近似する第二形態素情報を検索するには、”談話範囲”に属する各第二形態素情報と第一形態素情報とを照合すればよく、”全て”の第二形態素情報と第一形態素情報とを照合する必要がないので、第一形態素情報と近似している第二形態素情報を検索するまでの時間を短縮することができる。
【0148】
この結果、話題検索部360が、第一形態素情報と近似している第二形態素情報を短時間で検索(ピンポイント検索)することができるので、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて第二形態素情報に関連付けられている回答文を短時間で取得することができ、会話制御装置1は、利用者からの発話内容に対して迅速に回答することができる。
【0149】
また、話題検索部360が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者の発話内容を構成する要素)を含む第二形態素情報を検索し、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得することができるので、回答文検索部370は、利用者の発話内容を構成する各形態素(第一形態素情報)に基づいて、各形態素により構築される意味空間(主体、対象等)を考慮し、かかる意味空間に基づいて予め作成された回答内容を取得することができることとなり、単に発話内容の全体をキーワードとして、そのキーワードに関連付けられた回答内容を取得するよりも、より発話内容に適した回答内容を取得することができる。
【0150】
また、話題検索部360は、第一形態素情報を含む第二形態素情報を検索するので、利用者の発話内容と完全に一致する第二形態素情報を検索する必要がなく、会話制御装置1を開発する開発者は、利用者から発話されるであろう発話内容に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0151】
更に、回答文検索部370が、”談話範囲”に属する各第二形態素情報に関連付けられた回答種類(陳述、肯定、場所、反発など)の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答内容を取得することができるので、会話制御装置1は、利用者の会話内容を構成する発話種類、例えば、利用者が単に意見を述べたもの、利用者が抱く感想からなるもの、利用者が場所的な要素を述べたものなどに基づいて、複数の回答内容の中から利用者の発話種類にマッチした回答内容を取得することができることとなり、該当する利用者に対してより最適な回答をすることができる。
【0152】
更にまた、回答文検索部370は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報に関連付けられた回答種類の中から、利用者の発話種類と一致する回答種類を検索(ピンポイント検索が可能)するだけでよいので、”全て”の第二形態素情報に関連付けられた回答種類と利用者の発話種類とを逐一検索する必要がなくなり、利用者の発話種類に対応する最適な回答内容を短時間で取得することができる。
【0153】
最後に、省略文補完部350は、利用者の発話内容を構成する第一形態素情報が省略文であり、日本語として明解でない場合であっても、第一形態素情報がある談話範囲に属している場合には、その談話範囲を第一形態素情報に付加し、省略文からなる第一形態素情報を補完することができる。
【0154】
これにより、省略文補完部350は、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素(談話範囲を構成する形態素など)を補完することができるので、話題検索部360は、省略文補完部350で補完された補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な第二形態素情報を取得することができ、回答文検索部370は、話題検索部360で取得された第二形態素情報に基づいて利用者の発話内容により適した回答内容を出力することができる。
【0155】
この結果、会話制御装置1は、利用者からの入力情報が省略文であったとしても、ニューロネットワーク、AI知能などの機能を用いることなく、過去の検索結果を通じて、その省略文が何を意味するのかを推論することができ、会話制御装置1の開発者は、ニューロネットワーク、AI知能を搭載する必要がないので、会話制御装置1のシステムをより簡便に構築することができる。
【0156】
[変更例]
尚、本発明は、上記実施形態に限定されるものではなく、以下に示すような変更を加えることができる。
【0157】
(第一変更例)
本変更例においては、会話データベース500は、複数の形態素の集合からなる集合群の全体を示す要素情報を、集合群に関連付けて複数記憶する要素記憶手段であってもよい。更に、形態素抽出部410は、文字列から抽出した形態素と各集合群とを照合し、各集合群中から、抽出された形態素を含む集合群を選択し、選択した集合群に関連付けられた要素情報を第一形態素情報として抽出してもよい。
【0158】
図16に示すように、利用者が発話した文字列に含まれる各形態素には、類似しているものがある。例えば、図16に示すように、集合群の全体を示す要素情報を「贈答」とすると、「贈答」は、プレゼント、贈り物、御歳暮、御中元、お祝いなど(集合群)と相互に類似しているので、形態素抽出部410は、「贈答」に類似する形態素(上記のプレゼントなど)がある場合には、その類似する形態素については、「贈答」として取り扱うことができる。
【0159】
即ち、形態素抽出部410は、例えば、文字列から抽出した形態素が「プレゼント」である場合には、図16に示すように、「プレゼント」を代表する要素情報が「贈答」であるので、上記「プレゼント」を「贈答」に置き換えることができる。
【0160】
これにより、形態素抽出部410が相互に類似する形態素を整理することができるので、会話制御装置を開発する開発者は、相互に類似した各第一形態素情報から把握される意味空間に対応した第二形態素情報及び第二形態素情報に関係する回答内容を逐一作成する必要がなくなり、結果的に、記憶部に格納させるデータ量を低減させることができる。
【0161】
(第二変更例)
図17に示すように、本変更例においては、割合計算部361と、選択部362とを話題検索部360に備えてもよい。
【0162】
割合計算部361は、形態素抽出部410で抽出された第一形態素情報と各第二情報とを照合し、各第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算する計算手段である。
【0163】
具体的に、文構造解析部430から話題検索命令信号が入力された割合計算部361は、図17に示すように、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲に属する各話題タイトル(第二形態素情報)とを照合し、各話題タイトル毎に、それぞれの話題タイトルの中に、第一形態素情報が占める割合を計算する。
【0164】
例えば、図18に示すように、利用者から発話された発話文を構成する第一形態素情報が(佐藤;*;好きだ){佐藤は好きだ}である場合は、割合計算部361は、「格構成」に属する各形態素(佐藤;*;好きだ)と話題タイトルに含まれる各形態素(佐藤;*;好きだ)とを照合し、上記話題タイトルに、「格構成」に属する各形態素(佐藤;*;好きだ)が含まれる割合を、100%であると計算する。割合計算部361は、これらの計算を話題タイトル毎に行い、計算した各割合を割合信号として選択部362に出力する。
【0165】
選択部362は、割合計算部361で各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択する選択手段である。
【0166】
具体的に、割合計算部361から割合信号が入力された選択部362は、入力された割合信号に含まれる各割合(「格構成」の要素/「話題タイトル」の要素×100)の中から、例えば割合の高い話題タイトルを選択する(図18参照)。割合の高い話題タイトルを選択した選択部362は、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。回答文検索部370は、選択部362で選択された話題タイトルに基づいて、話題タイトルに関連付けられた回答文を取得する。
【0167】
これにより、選択部362が、各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算し、各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することができるので、選択部362は、例えば、第一形態素情報(利用者の発話内容を構成するもの)が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から把握される意味空間を踏襲した第二形態素情報をより的確に取得することができ、結果的に、回答文検索部370は、利用者の発話内容に対して最適な回答をすることができる。
【0168】
また、選択部362は、複数の話題タイトルの中から、割合計算部361で計算された割合の高い話題タイトルを選択することができるので、利用者の発話文に含まれる「格構成」に属する各形態素と会話データベース500に格納されている各話題タイトルとが完全に一致しなくても、「格構成」に属する各形態素に密接する話題タイトルを取得することができる。
【0169】
この結果、選択部362が第一形態素情報を構成する「格構成」に密接する話題タイトルを取得することができるので、会話制御装置1を開発する開発者は、第一形態素情報を構成する「格構成」と完全に一致する話題タイトルを会話データベース500に逐一格納する必要がなくなるので、会話データベース500の容量を低減させることができる。
【0170】
更に、割合計算部361は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算するので、”全て”の第二形態素情報に対して第一形態素情報が占める割合を計算する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答内容を迅速に出力することができる。
【0171】
尚、割合計算部361は、分類された各属性に属する第一形態素情報の各形態素と、予め記憶された各属性に属する各第二形態素情報の各形態素とを各属性毎に照合し、各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の各形態素を含む第二形態素情報を検索する第一検索手段であってもよい。
【0172】
具体的に、話題検索命令信号が入力された割合計算部361は、入力された話題検索命令信号に含まれる「格構成」の各「格」(サブジェクト;オブジェクト;アクション)毎に、その「格」に属する各形態素と、同一の「格」からなる話題タイトルの「格」に属する各形態素とを照合し、互いの「格」を構成する形態素が同一か否かを判定する。
【0173】
例えば、図19に示すように、割合計算部361は、「格構成」の「格」の形態素が(犬;人;噛んだ){犬が人を噛んだ}である場合は、それらの形態素”犬”、”人”、”噛んだ”と、それらの形態素を構成する「格」と同一の「格」からなる話題タイトルの形態素”犬”、”人”、”噛んだ”とを照合し、話題タイトルを構成する各形態素”犬”、”人”、”噛んだ”のうち、各形態素に対応する「格」と同一の「格」からなる「格構成」の形態素”犬”、”人”、”噛んだ”と一致している割合を算出(100%)する。
【0174】
もし、話題タイトルを構成する要素が(人;犬;噛んだ){人が犬を噛んだ}である場合には、割合計算部361は、上記と同様の手順により、二つの格に属する形態素が異なるので、「格構成」を構成する形態素と「話題タイトル」との「格」毎の一致度を33%であると算出する(図19参照)。
【0175】
割合を計算した割合計算部361は、各割合の中から、割合の高い話題タイトルを選択し、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0176】
これにより、割合計算部361が、分類された各「格構成」(主体格、対象格など)に属する第一形態素情報の各形態素と、予め記憶された話題タイトルとを各「格」毎に照合し、各話題タイトルの中から、少なくとも一の「格」に第一形態素情報の各形態素を含む第二形態素情報を検索することができるので、割合計算部361は、通常の語順とは異なるものから構成される発話内容、例えば”人が犬を噛む”である場合には、主体格の形態素が”人”、対象格の形態素が”犬”であることから、その各「格」と一致する第二形態素情報を検索することができ、その第二形態素情報(人;犬;噛む)に関連付けられている回答内容{”本当に?”又は”意味がよくわかんないよ”など}を取得することができる。
【0177】
即ち、割合計算部361は、識別が困難な発話内容、例えば”人が犬を噛む”と”犬が人を噛む”とを識別することができるので、その識別した発話内容に最適な回答、前者については例えば”本当に?”、後者については例えば”大丈夫?”をすることができる。
【0178】
また、割合計算部361は、”談話範囲”に属する各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の形態素を含む第二形態素情報を検索すればよいので、”全て”の第二形態素情報の中から、一の第二形態素情報を取得する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、会話制御装置1は、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答内容を迅速に出力することができる。
【0179】
尚、選択部362は、予め定められた優先順位に従って各話題タイトルの中から、一の話題タイトルを選択してもよい。この優先順位とは、話題タイトルとして選出されるための優先度を意味するものである。この優先順位は、開発段階で開発者が予め定めるものである。
【0180】
(第三変更例)
図20に示すように、本変更例においては、上記実施形態及び各変更例に限定されるものではなく、会話制御装置1a,1bにある通信部800と、通信ネットワーク1000を介してデータの送受信をするための通信部900と、通信部900に接続された各会話データベース500b〜500dと、サーバ2a〜2cとを備えてもよい(会話制御システム)。
【0181】
ここで、通信ネットワーク1000とは、データを送受信する通信網を意味するものであり、本実施形態では、例えば、インターネットなどが挙げられる。尚、本変更例では、便宜上、会話データベース500b〜500d、サーバ2a〜2cを限定しているが、これに限定されるものではなく、更に他の会話データベースを設けてもよい。
【0182】
これにより、会話制御部300は、会話制御装置1aの内部に配置してある会話データベース500aのみならず、その他の会話制御装置1b、他の会話データベース500b〜500d、サーバ2a〜2cをも参照することができるので、例えば、会話データベース500aの中から、話題検索命令信号に含まれる「格構成」に属する各形態素(第一形態素情報)と関連する談話範囲等を検索することができない場合であっても、その他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cを参照することにより、上記「格構成」と関連する談話範囲等を検索することができ、利用者の発話文により適した回答文を検索することができる。
【0183】
(第四変更例)
文構造解析部430は、特定した第一形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。回答文検索部370は、検索した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。
【0184】
談話範囲決定部340は、検索した談話範囲を会話データベース500に記憶するものであってもよい。話題検索部360は、検索した第二形態素情報を会話データベース500に記憶するものであってもよい。
【0185】
上記第一形態素情報と、第二形態素情報と、第一形態素情報又は第二形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した談話範囲とは、それらを相互に関連付けて履歴形態素情報として会話データベース500又は鸚鵡返し要素データベース802に記憶することができる。
【0186】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど;格構成)の中から、形態素を含まない属性を検索し、検索した属性に基づいてその属性に、会話データベース500又は鸚鵡返し要素データベース802に記憶された履歴形態素情報を付加する。
【0187】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文(例えば、サブジェクト、オブジェクト、又はアクションに所定の形態素を有しないなど)である場合には、会話データベース500又は鸚鵡返し要素データベース802に記憶されている履歴形態情報を、第一形態素情報に付加する。
【0188】
即ち、履歴形態情報に含まれるサブジェクトをS1、オブジェクトをO1、アクションA1、談話範囲をD1とし、省略された第一形態素情報をWとすると、補完後の第一形態素情報W1は、S1∪W、O1∪W、A1∪W、又はD1∪Wとして表現することができる。
【0189】
話題検索部360は、省略文補完部350で補完された第一形態素情報W1と各第二形態素情報とを照合し、各「話題タイトル」(第二形態素情報)の中から、第一形態素情報W1を含む第二形態素情報を検索し、検索した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0190】
これにより、第一形態素情報からなる発話内容が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、会話データベース500に記憶されている履歴形態情報を用いて、省略された第一形態素情報の形態素を補完することができるので、省略された第一形態素情報からなる発話内容を明確にすることができる。
【0191】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文である場合には、第一形態素情報からなる発話内容が適正な日本語となるように、第一形態素情報に省略された形態素を補完することができるので、話題検索部360は、形態素が補完された第一形態素情報に基づいて、その第一形態素情報と関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で取得された最適な「話題タイトル」に基づいて、利用者の発話内容により適した回答内容を出力することができる。
【0192】
(第五変更例)
話題検索部360は、図21に示すように、削除部363と、談話付加部364とを備えてもよい。削除部363は、検索した第二形態素情報に基づいて、第二形態素情報と談話範囲決定部340で検索された談話範囲とを照合し、第二形態素情報を構成する各形態素の中から、談話範囲と一致する形態素を削除する削除手段である。
【0193】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報と、談話範囲決定部340で決定された談話範囲に属する各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索する。
【0194】
そして、削除部363は、検索された第二形態素情報に基づいて、その第二形態素情報と談話範囲決定部340で決定された談話範囲を構成する形態素とを照合し、第二形態素情報の中から、談話範囲を構成する形態素と一致する形態素を削除し、形態素が削除された第二形態素情報を削除信号として談話付加部364に出力する。
【0195】
即ち、削除部363は、第二形態素情報を構成する各形態素t1から、談話範囲決定部340で決定された現在の談話範囲D2(このD2は、形態素からなるものである)を取り除く(取り除いた結果をt2とすると、t2=t1−D2)。
【0196】
談話付加部364は、削除部363で形態素が削除された第二形態素情報に基づいて、談話範囲決定部340で検索された談話範囲に関連付けられた他の談話範囲を取得し、取得した他の談話範囲を構成する形態素を、第二形態素情報に付加する談話付加手段である。
【0197】
具体的には、現在の談話範囲D2が回答文K1と関連性のある談話範囲をDKとすると、回答文K1又は現在の談話範囲D2と関連性(兄弟関係にあるもの)のある他の談話範囲D3は、D3=D2∪DKとして表現することができるので、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、W2=t2∪D3とすることができる。
【0198】
例えば、第二形態素情報を構成する各形態素t1が(A映画名;*;面白い){A映画名は面白い?}であり、談話範囲決定部340で決定された現在の談話範囲D2が(A映画名)である場合には、削除部363は、先ず、各形態素t1(A映画名;*;面白い)から談話範囲D2(A映画名)を削除し、削除した結果をt2(*;*;面白い)とする(t2=t1−D2)。
【0199】
現在の談話範囲D2(A映画名)と関連性のある他の談話範囲D3が”B映画名”である場合には、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、t2∪D3であるので、(B映画名;*;面白い){B映画名は面白い?}とすることができる。
【0200】
これにより、利用者の発話内容が”A映画名は面白い?”である場合には、談話付加部364は、利用者の発話内容を構成する各形態素(A映画名;*;面白い)と一致する第二形態素情報(A映画名;*;面白い)を、他の第二形態素情報(B映画名;*;面白い){B映画名は面白い?}に変更することができるので、回答文検索部370は、談話付加部364で変更された第二形態素情報に関連付けられた回答文(例えば、”B映画名は面白いよ”)を取得し、取得した回答文を出力することができる。
【0201】
この結果、回答文検索部370は、利用者の発話内容に対する回答文を直接的に出力するわけではないが、談話付加部364で付加された形態素を含む第二形態素情報に基づいて、発話内容に関連する回答文を出力することができるので、出力部600は、回答文検索部370で検索された回答文に基づいて、さらに人間味のある回答文を出力することができる。
【0202】
尚、談話付加部364は、形態素が削除された第二形態素情報に他の談話範囲を付加するものだけに限定されるものではなく、形態素が削除された第二形態素情報に履歴形態素情報(会話データベース500に記憶されている)を付加するものであってもよい。
【0203】
(第六変更例)
話題検索部360は、各第二形態素情報の中から、第一形態素情報を含む第二形態素情報を検索することができない場合に、第一形態素情報と各回答内容とを照合し、各回答内容の中から、第一形態素情報を含む回答内容を検索することができたときは、検索した回答内容に関連付けられている第二形態素情報を取得する第一検索手段であってもよい。
【0204】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を取得することができない場合には、図22に示すように、第一形態素情報と、第二形態素情報に関連付けられている回答文とを照合する。
【0205】
この照合により、話題検索部360は、回答文の中に第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)が含まれていると判断した場合には、その回答文に関連付けられている第二形態素情報を検索する。
【0206】
これにより、話題検索部360は、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索することができなくても、各回答文の中から、第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)を含む回答文を特定し、この特定した回答文に関連付けられている第二形態素情報を検索することができるので、利用者の発話内容を構成する第一形態素情報に対応する第二形態素情報を適切に検索することができる。
【0207】
この結果、話題検索部360が第一形態素情報に対応する最適な第二形態素情報を検索することができるので、回答文検索部370は、話題検索部360で検索された最適な第二形態素情報に基づいて、利用者の発話内容に対する適切な回答内容を取得することができる。
【0208】
[プログラム]
上記会話制御システム及び会話制御方法で説明した内容は、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。
【0209】
ここで、プログラム言語としては、利用者が求める話題、ある事柄に対する利用者の感情度、又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて形態素と関連付けて階層的にデータベースに蓄積するための言語、本実施形態では、例えば、発明者らが開発したDKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)、C言語等が挙げられる。
【0210】
即ち、会話制御装置1は、各会話データベース500a〜500dに格納されているデータ(第二形態素情報、定型内容、回答文、回答種類、集合群、談話範囲、要素情報などの記憶情報)、その他の各部を、DKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)等で構築し、この構築した記憶情報等を利用するためのプログラムを実行することにより実現することができる。
【0211】
このような本実施形態に係るプログラムによれば、利用者の発話内容を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答内容を出力することで、利用者の発話内容に対応する最適な回答内容を出力することができるという作用効果を奏する会話制御装置、会話制御システム及び会話制御方法を一般的な汎用コンピュータで容易に実現することができる。
【0212】
また、会話制御装置1を開発する開発者は、利用者の発話内容に対する回答内容を検索するための第二形態素情報等を、データベースにおいて前記言語を用いて階層的に構築することができるので、会話制御装置1は、利用者の発話内容に基づいて発話内容に対する回答内容を、階層的な手順を経てデータベースから取得することができる。
【0213】
即ち、会話制御装置1は、利用者の発話内容の階層(例えば、データベースに蓄積されている第二形態素情報に対して上位概念にあるのか、又は下位概念にあるのか)を見極めて、見極めた階層に基づいて予め蓄積された各回答内容の中から、適切な回答内容を取得することができる。
【0214】
このため、会話制御装置1は、利用者の発話内容からなる第一形態素情報と、予め記憶されている”全て”の第二形態素情報とを逐一照合することなく、ある特定の階層に属する各第二形態素情報と第一形態素情報とを照合すればよいので、第一形態素情報と近似する第二形態素情報を短時間で取得することができる。
【0215】
更に、上記通信部800と通信部900との間の通信は、通信ネットワーク1000を介して、DKML等からなるプロトコルによってデータを送受信してもよい。これにより、会話制御装置1は、例えば、会話制御装置1に利用者の発話内容に適した回答内容がない場合には、通信ネットワーク1000を通じて、DKML等の約束事に従って、利用者の発話内容に適した回答内容(DKMLなどで記述されたもの)を検索し、検索した回答内容を取得することができる(図20参照)。
【0216】
尚、プログラムは、記録媒体に記録することができる。この記録媒体は、図23に示すように、例えば、ハードディスク1100、フレキシブルディスク1200、コンパクトディスク1300、ICチップ1400、カセットテープ1500などが挙げられる。このようなプログラムを記録した記録媒体によれば、プログラムの保存、運搬、販売などを容易に行うことができる。
【0217】
[第二実施形態]
(使用量通知システムの基本構成)
本発明の第二実施形態について図面を参照しながら説明する。図24は、本実施形態に係る使用量通知システムの内部構造を示すものである。
【0218】
同図に示すように、使用量通知システムは、会話制御装置1と、通信部2と、認証部3と、認証データベース4と、計量部5と、ガス機器6と、水道機器7と、電気機器8と、端末10とを有する点で相違する。また、会話制御装置1は、図25に示すように、第一実施形態の内部構造とほぼ一致するが、回答文生成部371と、キーワードデータベース501とを有する点で相違する。この相違する点以外は、第一実施形態及び変更例の構造と同じであるので、相違する点以外の構造についての説明は省略する。
【0219】
第一実施形態では、会話制御装置1が、利用者からの発話内容に基づいて、発話内容に対応する最適な回答文を取得する処理について説明した。本実施形態では、会話制御装置1が、利用者から入力された音声等の入力情報に基づいて計量部5で計量された使用量を該当する利用者に通知する処理を行うという点で相違する。具体的な説明は以下の通りである。
【0220】
尚、本実施形態では、上記第一実施形態及び変更例における各機能、例えば鸚鵡返し処理、反射的処理等なども当然に有し、また第一実施形態及び変更例の各機能に対応する効果も当然に奏する。
【0221】
端末10は、通信ネットワーク20を介して、利用者から入力された音声等の入力情報を通信部2に送信するものである。また、端末10は、通信ネットワーク20を介して、通信部2から送信される回答文を受信するものでもある。ここで、通信ネットワーク20は、例えば、電話回線網、インターネット等が挙げられる。また、端末10は、例えば、携帯端末、PDA(Personal Digital Assistance)等が挙げられる。
【0222】
具体的に、利用者は、操作部(図示せず)を介して、利用者の身分を特定するための身分情報を入力する。その身分情報が入力された端末10は、通信ネットワーク20を介して、入力された身分情報と、利用者から入力された入力情報とを通信部2に送信する。端末10から身分情報及び入力情報を受信した通信部2は、受信した身分情報及び入力情報を認証部3に出力する。
【0223】
認証部3は、利用者の身分情報が適正なものであるかを認証するものである。具体的に、通信部2から身分情報が入力された認証部3は、入力された身分情報に基づいて、その身分情報と、認証データベース4に予め記憶された各認証情報とを照合する。この認証情報は、本実施形態では、身分情報を特定するためのものを意味する。
【0224】
その照合をした認証部3は、各認証情報の中から、身分情報と一致する認証情報を取得することができたときは、その身分情報は適正なものであると判断する。この判断をした認証部3は、入力された入力情報を会話制御装置1に出力する。一方、認証部3は、各認証情報の中から、身分情報と一致する認証情報を取得することができないときは、その身分情報は不適正なものであると判断する。この判断をした認証部3は、計量部5で計量された使用量を通知しないことを示す拒否内容を該当する端末10に返信する。
【0225】
ガス機器6は、ガスを排出する機器を意味するものである。このガス機器6は、本実施形態では、例えば、ガスコンロ等が挙げられる。水道機器7は、水を排出する機器を意味するものである。この水道機器7は、本実施形態では、例えば、浄水器等が挙げられる。電気機器は、例えば、エアコン、音響機器、炊飯器等が挙げられる。
【0226】
計量部5は、各機器6〜8の使用量を計量するものである。具体的に、計量部5は、各機器6〜8の使用量を計量し、計量した使用量を計量信号として回答文生成部371に出力する。各機器6〜8のそれぞれの使用量は、本実施形態では、図28に示すように、ガス量計量部51、水量計量部52、電力量計量部53が計量する。尚、計量部5は、本実施形態では、各機器6〜8の使用量を計量するものであるが、その各機器6〜8以外の使用量も計量することができる。
【0227】
キーワードデータベース501は、使用量に関係するキーワードを予め複数記憶するものである。この各キーワードのそれぞれは、図26に示すように、ガス量、水量又は電力量等の対象に分類されている。同図に示すように、例えば、対象がガス量である場合には、そのガス量に対応付けられた各キーワードは、ガス量、プロパンガス、火、コンロ等が挙げられる。
【0228】
また、例えば、対象が水量である場合には、その水量に対応付けられた各キーワードは、水量、蛇口、水道からの水量等が挙げられる。更に、例えば、対象が電力量である場合には、その電力量に対応付けられた各キーワードは、電力量、電気、ヒータ、コタツ、ポット等が挙げられる。
【0229】
回答文生成部371は、話題検索部360で検索された話題タイトルに基づいて、少なくとも一のキーワードが話題タイトルに含まれる場合には、計量部5で計量された使用量を利用者に通知するものである。
【0230】
具体的に、計量部5から計量信号と、話題検索部360から話題タイトルとが入力された回答文生成部371は、入力された計量信号及び話題タイトルに基づいて、その話題タイトルと各キーワードとを照合する。この照合をした回答文生成部371は、少なくとも一のキーワードが話題タイトルに含まれている場合には、図26を用いてそのキーワードの対象を特定する。
【0231】
また、話題タイトルに含まれる”〜たい”等は、ある事柄に対する利用者の希望を要求することを意味するので、回答文生成部371は、話題タイトルの中から、キーワードとして”電力量”、”知りたい”を取得することができた場合には、「利用者は電力量を知りたがっているな」と擬似的に推論することができる。
【0232】
更に、第一実施形態で説明した感想文、条件文、結果文、時間文、場所文、反発文等は、利用者の希望を要求する文ではないので、回答文生成部371は、これらの文を排除することができる。これにより、回答文生成部371は、利用者の希望を要求する文からなる話題タイトルのみを取得し、この取得した話題タイトルに、更に使用量に関係するキーワードが含まれている場合には、そのキーワードに対応付けられた使用量を該当する利用者に通知することができる。即ち、回答文生成部371は、利用者が所望する使用量についての情報を的確に通知することができる。
【0233】
その特定したキーワードの対象が電力量である場合には、回答文生成部371は、図27に示すように、入力された計量信号に対応する使用量のうち、電力量の使用量(例えば、199kwh)を取得する。回答文生成部371は、その使用量を定型文の○○の箇所に当てはめる。この定型文としては、例えば、電気の使用量は○○です、等が挙げられる。
【0234】
その定型文に使用量を当てはめた回答文生成部371は、その定型文を回答文として管理部310に出力する。回答文生成部371から回答文が入力された管理部310は、認証部3、通信部2を介して、入力された回答文を端末10に送信する。
【0235】
尚、話題タイトルには、検索の基準となる符号が予め複数対応付けられ、各符号には、使用量に関係する内容がそれぞれに予め対応付けられることが好ましい。会話データベース500は、図28に示すように、その話題タイトルを複数記憶する。
【0236】
ここで、各符号は、本実施形態では、利用者が使用すると予想される電力、ガス又は水道等の供給物の使用量(予想情報)を意味する。また、使用量(予想情報)に関係する内容としては、本実施形態では、例えば、その使用量に対応する電力量が高ければ、”現在、電気は「相当多く」使用されています”等が挙げられる。
【0237】
また、回答文生成部371は、話題検索部360で検索された話題タイトルに基づいて、その話題タイトルに対応付けられた各予想情報と、計量部5で計量された使用量とを照合し、使用量と一致する予想情報を検索することが好ましい。更に、この回答文生成部371は、検索した予想情報に基づいて、その予想情報に対応付けられた回答文(使用量に関係する内容)を利用者に通知することが好ましい。
【0238】
具体的に、計量部5から計量信号と、話題検索部360から話題タイトルとが入力された回答文生成部371は、入力された計量信号及び話題タイトルに基づいて、その話題タイトルと各キーワードとを照合する。この照合をした回答文生成部371は、少なくとも一のキーワードが話題タイトルに含まれている場合には、図26を用いてそのキーワードの対象を特定する。
【0239】
その対象を特定した回答文生成部371は、特定した対象に対応付けられた各予想情報の中から、入力された計量信号に対応する使用量と一致する予想情報を検索する。その予想情報を検索した回答文生成部371は、検索した予想情報に対応付けられた回答文を取得する。その回答文を取得した回答文生成部371は、取得した回答文を管理部310に出力する。
【0240】
これにより、回答文生成部371は、計量部5で計量された使用量の大きさに応じて、各機器6〜8の使用状況の概略を意味する回答文(図28参照)を取得することができるので、利用者は、その回答文を聞くことで、特定の建造物内における使用状況を即座に把握することができる。特に、家族は、一人暮らしをしている祖母等の生活状況を、上記回答文を聞くことで容易に把握することができる。
【0241】
尚、計量部5は、日毎又は月毎の使用量を計量するものであってもよい。これにより、利用者は、出力された回答文を聞くことで、1日の使用量を容易に把握することができるので、その日に外出した際には、例えば電気を消し忘れたか否かの確認を容易にすることができる。この結果、利用者は、電気の消し忘れによる火災等を未然に防ぐことができる。
【0242】
また、家族は、一人暮らしをしている祖母等の一日の生活状況を容易に把握することができる。この結果、家族は、その祖母の家における一日の使用量が多ければ、その祖母の健康には問題が無いものとして判断することができる。一方、家族は、その祖母の家における一日の使用量が極端に少なければ、その祖母の健康には問題があるものとして判断することができる。
【0243】
更に、利用者は、月毎の使用量をも参照することができるので、その月における使用料金を概算することができる。この結果、利用者は、使用料金を支払う際に、その使用料金に対応する所持金が無いという事態を防ぐことができる。
【0244】
尚、話題検索部360は、抽出された第一形態素情報と各話題タイトルとを照合し、各話題タイトル毎に、話題タイトルに対して第一形態素情報が占める割合を計算し、各話題タイトル毎に計算された各割合の大きさに応じて、各話題タイトルの中から、一の話題タイトルを選択することが好ましい。この詳細な処理については第一実施形態で説明した通りである。
【0245】
この場合には、話題検索部360は、例えば、利用者の入力情報を構成する第一形態素情報が話題タイトルに占める割合の大きい話題タイトルを、複数ある話題タイトル群の中から取得することができれば、第一形態素情報から構成される意味空間を踏襲した話題タイトルをより的確に取得することができる。この結果、回答文生成部371は、取得された話題タイトルに基づいて利用者が要求する使用量を的確に通知することができる。
【0246】
(使用量通知システムを用いた使用量通知制御方法)
上記構成を有する使用量通知システムによる使用量通知制御方法は、以下の手順により実施することができる。図29は、本実施形態に係る会話制御方法の手順を示すフロー図である。
【0247】
同図に示すように、先ず、認証部3が、利用者の身分情報が適正なものであるかを認証するステップを行う(S201)。具体的に、通信部2から身分情報が入力された認証部3は、入力された身分情報に基づいて、その身分情報と、認証データベース4に予め記憶された各認証情報とを照合する。
【0248】
その照合をした認証部3は、各認証情報の中から、身分情報と一致する認証情報を取得することができたときは、その身分情報は適正なものであると判断する。この判断をした認証部3は、入力された入力情報を会話制御装置1に出力する。一方、認証部3は、各認証情報の中から、身分情報と一致する認証情報を取得することができないときは、その身分情報は不適正なものであると判断する。この判断をした認証部3は、計量部5で計量された使用量を通知しないことを示す拒否内容を該当する端末10に返信する。
【0249】
次いで、入力部100が、認証部3から入力された入力情報を取得するステップを行う(S202)。そして、形態素抽出部410が、入力部100で取得された入力情報に基づいて、その入力情報を構成する文字列を特定し、特定した文字列の中から各形態素を抽出するステップを行う(S203、S204)。
【0250】
その後、文節解析部420が、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめるステップを行う(S205)。一つの文節形式に属する各形態素は、本実施形態では、まとめて第一形態素情報とする。S202〜S205の処理は、第一実施形態で説明したS101〜S104の処理と同じである。このため、これらの処理についての詳細な説明は省略する。
【0251】
次いで、談話範囲決定部340が、抽出した第一形態素情報と、会話データベースに500に記憶されている各談話範囲群とを照合し、各談話範囲群の中から、第一形態素情報に含まれる形態素と一致する談話範囲を取得する(S205)。その後、話題検索部360が、談話範囲決定部340で検索された談話範囲に基づいて、その談話範囲に関連付けられた各話題タイトルの中から、抽出された第一形態素情報と一致する話題タイトルを取得する(S206)。これらS205、S206についての処理は第一実施形態で説明したので、詳細な説明は省略する。
【0252】
次いで、計量部5が、各機器6〜8の使用量を計量するステップを行う(S208)。具体的に、計量部5は、各機器6〜8の使用量を計量し、計量した使用量を計量信号として回答文生成部371に出力する。各機器6〜8のそれぞれの使用量は、本実施形態では、図28に示すように、ガス量計量部51、水量計量部52、電力量計量部53が計量する。
【0253】
その後、回答文生成部371が、話題検索部360で検索された話題タイトルに基づいて、少なくとも一のキーワードが話題タイトルに含まれる場合には、計量部5で計量された使用量を利用者に通知するステップを行う(S209)。具体的に、計量部5から計量信号と、話題検索部360から話題タイトルとが入力された回答文生成部371は、入力された計量信号及び話題タイトルに基づいて、その話題タイトルと各キーワードとを照合する。
【0254】
この照合をした回答文生成部371は、少なくとも一のキーワードが話題タイトルに含まれている場合には、図26を用いてそのキーワードの対象を特定する。その特定した対象が電力量である場合には、回答文生成部371は、図27に示すように、入力された計量信号に対応する使用量のうち、電力量の使用量(例えば、199kwh)を取得し、その使用量を定型文の○○の箇所に当てはめる。
【0255】
その定型文に使用量を当てはめた回答文生成部371は、その定型文を回答文として管理部310に出力する。回答文生成部371から回答文が入力された管理部310は、認証部3、通信部2を介して、入力された回答文を端末10に送信する。
【0256】
(使用量通知システム及び使用量通知制御方法による作用及び効果)
上記構成を有する発明によれば、回答文生成部371は、利用者の入力情報を構成する第一形態素情報と一致する話題タイトルに基づいて、その話題タイトルの中に、使用量に関係する少なくとも一のキーワードが含まれる場合には、計量部5で計量された使用量を利用者に通知することができる。これにより、利用者は、会話を通じて所望の使用量に関係する情報、例えば電気の使用量、ガスの使用量等を知ることができる。
【0257】
即ち、その回答文生成部371は、利用者の”入力情報”の中に、特定のキーワードが含まれている場合には、単純にそのキーワードに対応付けられた使用量についての情報を通知するのではない。回答文生成部371は、”話題タイトル”の中に、特定のキーワードが含まれているか否かに応じて、そのキーワードに対応付けられた使用量についての情報を通知することができる。
【0258】
特に、話題タイトルは、利用者からの入力情報に含まれる各形態素を抽出したものであるため、入力情報を構成する重要な要素のみしか含まれていないので、回答文生成部371は、その話題タイトルに基づいて、利用者が所望する使用量についての情報を的確に通知することができる。
【0259】
例えば、入力情報が{私は、電気の使用量を知りたい}である場合には、その入力情報に対応する話題タイトルは、(私;電気の使用量;知りたい)となる。このため、回答文生成部371は、話題タイトルの中には、”電気の使用量””知りたい”というキーワードが含まれているので、それらのキーワードに対応付けられた「電気の使用量」に関する情報を出力することができる。
【0260】
また、話題タイトルに含まれる”〜たい”等は、ある事柄に対して自己の希望を要求することを意味する。このため、回答文生成部371は、例えば、検索された話題タイトルの中に、”電気の使用量”、”〜たい”が含まれている場合には、「利用者は電気の使用量を知りたがっているな」と擬似的な推論をすることができる。これにより、回答文生成部371は、利用者が要求する使用量についての情報を的確に通知することができる。
【0261】
更に、一人暮らしの祖母等を有する家族は、その祖母等の生活状況を、上記使用量についての情報を通じて容易に把握することができる。例えば、家族は、祖母の家における電気の使用量が極端に少ないときは、その祖母の健康には問題があるものとして判断することができる。一方、家族は、祖母の家における電気の使用量が通常以上であれば、その祖母の健康には問題が無いものとして判断することができる。
【0262】
更にまた、各符号に対応付けられた内容が、各機器の使用状況の概略(例えば、現在、電気は”多く”使用されています、等)を意味するものである場合には、回答文生成部371は、計量部5で計量された使用量の大きさに基づいて、その大きさと一致する符号に対応付けられた上記内容を利用者に通知することができる。これにより、利用者は、特定の使用量についての概略を会話制御装置1から聞くことができるので、特定の建造物内における使用状況を即座に把握することができる。
【0263】
加えて、認証部3が、端末から受信した身分情報に基づいて、その身分情報に対応する利用者が適正な者であるか否かを判断することができるので、会話制御装置1は、その認証結果に基づいて、特定の者にだけ使用量に関する情報を通知することができる。この結果、利用者は、自分の家族以外の者には、使用量に関する情報を通知させないようにすることができる。
【0264】
最後に、話題検索部360は、談話範囲決定部340で検索された談話範囲に基づいて、その談話範囲に関連付けられた各話題タイトルの中から、抽出した第一形態素情報を構成する形態素を含む話題タイトルを検索することができる。
【0265】
これにより、話題検索部360は、予め記憶された”全ての”各話題タイトルと抽出された第一形態素情報とを照合する必要がなくなるため、該当する話題タイトルをより迅速に検索することができる。この結果、利用者は、所望する使用量についての情報を迅速に取得することができる。
【0266】
【発明の効果】
以上説明したように、本発明によれば、利用者から入力された音声等の入力情報に基づいて、その入力情報に関係する供給物の使用量を該当する利用者に通知することができる。
【図面の簡単な説明】
【図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】第二実施形態におけるキーワードデータベースで記憶する各キーワードの内容を示す図である。
【図27】第二実施形態における会話データベースで記憶する各回答文の内容を示す図である(その1)。
【図28】第二実施形態における会話データベースで記憶する各回答文の内容を示す図である(その2)。
【図29】第二実施形態に係る使用量通知制御方法の手順を示すフロー図である。
【符号の説明】
1…会話制御装置、2…サーバ、通信部、3…認証部、4…認証データベース、5…計量部、6…ガス機器、6〜8…機器、7…水道機器、8…電気機器、10…端末、20…通信ネットワーク、51…ガス量計量部、52…水量計量部、53…電力量計量部、100…入力部、200…音声認識部、300…会話制御部、310…管理部、320…反射的判定部、330…鸚鵡返し判定部、340…談話範囲決定部、350…省略文補完部、360…話題検索部、361…割合計算部、362…選択部、363…削除部、364…談話付加部、370…回答文検索部、371…回答文生成部、400…文解析部、410…形態素抽出部、420…文節解析部、430…文構造解析部、440…発話種類判定部、450…形態素データベース、460…発話種類データベース、500…会話データベース、501…キーワードデータベース、600…出力部、700…音声認識辞書記憶部、800…通信部、801…反射要素データベース、802…鸚鵡返し要素データベース、900…通信部、1000…通信ネットワーク、1100…ハードディスク、1200…フレキシブルディスク、1300…コンパクトディスク、1400…ICチップ、1500…カセットテープ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention is provided with a measuring unit for measuring the amount of use of a supply including electric power, gas or water, and a usage notification for notifying the usage measured by the measuring unit based on input information input from a user. The present invention relates to a system, a usage notification control method, and a program.
[0002]
[Prior art]
BACKGROUND ART Conventionally, there is an automatic meter reading system that automatically measures the amount of electric power supplied to a house (for example, Patent Document 1). This automatic meter reading system automatically measures the amount of gas used, the amount of electric power, and the like used in each house. For this reason, a supplier that supplies these supplies can measure the amount of use of the supplies without having to go around the meter reader, so that labor costs and the like can be reduced.
[0003]
[Patent Document 1]
JP-A-9-172503 (Section 3-5, FIG. 1)
[0004]
[Problems to be solved by the invention]
However, in the above automatic meter reading system, the trader can easily grasp the consumption of the supply in each house, but the resident living in the house can easily use the supply of the supply from outside. I couldn't know. For example, for a family having a grandmother or the like who lives alone, if the amount of supplies used in the house of the grandmother or the like can be known, the living situation of the grandmother or the like can be easily grasped.
[0005]
On the other hand, the family can check the amount of supplies used in the house such as the grandmother with the contractor, but must call the contractor, etc. every time, and it takes a considerable amount of time before the desired amount is heard. Was required. For this reason, there has been a demand for the development of a system that allows a specific person to easily know the amount of supplies in a specific house without going through a trader.
[0006]
Therefore, the present invention has been made in view of the above points, and based on input information such as voice input from a user, notifies the corresponding user of the amount of use of supplies related to the input information. An object of the present invention is to provide a usage notification system, a usage notification control method, and a program that can perform the usage notification.
[0007]
[Means for Solving the Problems]
The invention according to the present application has been made in order to solve the above-described problems, and includes a measuring unit that measures the amount of use of a supply including power, gas or water, and is based on input information input by a user. When notifying the usage amount measured by the measurement unit, a plurality of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof is stored in advance, and a plurality of keywords related to the usage amount are stored in advance. Storing, based on the character string corresponding to the input information, extracting at least one morpheme constituting the minimum unit of the character string as first morpheme information, extracting the extracted first morpheme information and each second morpheme information The second morpheme information is compared and second morpheme information including morphemes constituting the first morpheme information is searched from each of the second morpheme information. Based on the searched second morpheme information, at least one keyword is in the second morpheme information. If it included in the element information, and notifies the usage is metered with a metering unit to a user.
[0008]
According to the invention of the present application, the conversation control device includes, based on the second morpheme information that matches the first morpheme information constituting the input information of the user, If at least one keyword related to is included, the user can be notified of the usage amount measured by the measuring unit. Thereby, the user can know information related to a desired amount of consumption, for example, the amount of electricity and the amount of gas used through conversation.
[0009]
That is, when a specific keyword is included in the input information of the user, the conversation control device does not simply notify the information on the usage amount associated with the keyword. The conversation control device can notify information on the usage amount associated with the specific keyword in the “second morpheme information” depending on whether or not the specific keyword is included.
[0010]
In particular, since the second morpheme information is obtained by extracting each morpheme included in the input information from the user, the second morpheme information includes only important elements constituting the input information. Based on the two-morpheme information, it is possible to accurately notify information about the usage amount desired by the user.
[0011]
For example, if the input information is "I want to know the amount of electricity used", the second morphological information corresponding to the input information is (I; amount of used electricity; want to know). For this reason, since the conversation control device includes the keywords “electric consumption” and “want to know” in the second morpheme information, the “electric consumption” associated with those keywords is used. Information can be output. This information includes, for example, that the current amount of electricity used is XX kWh.
[0012]
Further, "-tai" included in the second morpheme information means that the user requests his / her desire for a certain matter. For this reason, when the conversation control device includes “electricity usage” and “to”, the conversation control device simulates that “the user wants to know the electricity usage”. Reasoning can be done. Thereby, the conversation control device can accurately notify information about the usage amount requested by the user.
[0013]
Further, a family having a grandmother and the like living alone can easily grasp the living conditions of the grandmother and the like through the information on the usage amount. For example, a family can determine that a grandmother's health is problematic when the grandmother's home uses very little electricity. On the other hand, if the amount of electricity used in the grandmother's house is higher than normal, the family can determine that the grandmother's health is satisfactory.
In the above invention, the second morpheme information is associated in advance with a plurality of codes serving as search references, and each code is associated in advance with a content related to the amount of use, and the second morpheme searched for. Based on the information, each code associated with the second morphological information, the usage amount measured by the weighing unit is compared, a code that matches the usage amount is searched, and based on the searched code, It is preferable to notify the user of the content associated with the code.
[0014]
In this case, if the content associated with each code indicates an outline of the usage status of each device (for example, electricity is "used" a lot now, etc.), the conversation is started. The control device can notify the user of the above-described content associated with the code that matches the size based on the amount of the usage amount measured by the measurement unit. Accordingly, the user can hear the outline of the specific usage from the conversation control device, and thus can immediately grasp the usage status in the specific building.
[0015]
In the above invention, each second morpheme information is previously associated with the input information that will be input from the user or the discourse range indicating the morpheme relevant to the answer to the user, and is extracted. The first morpheme information is compared with each discourse range, a discourse range that matches the morpheme included in the first morpheme information is searched from each discourse range, and the discourse range is associated with the discourse range based on the searched discourse range. It is preferable that the obtained second morpheme information be compared with the extracted first morpheme information, and the second morpheme information that matches the first morpheme information be searched from each of the second morpheme information.
[0016]
In this case, the conversation control device first specifies the discourse range, and from the respective second morpheme information associated with the specified discourse range, the second morpheme including the morpheme constituting the extracted first morpheme information. Information can be searched. This eliminates the need for the conversation control device to collate “all” each of the second morpheme information stored in advance with the extracted first morpheme information, so that the corresponding second morpheme information can be searched more quickly. Can be. As a result, the user can quickly obtain information about the desired usage amount.
[0017]
In the above invention, the extracted first morpheme information is collated with each second morpheme information, and for each second morpheme information, the ratio of the first morpheme information to the second morpheme information is calculated. It is preferable to select one piece of second morpheme information from each piece of second morpheme information in accordance with the magnitude of each ratio calculated for each piece of second morpheme information.
[0018]
In this case, the conversation control device, for example, the second morpheme information having a large proportion of the first morpheme information constituting the user input information in the second morpheme information, from the plurality of second morpheme information group If it can be obtained, the second morphological information following the semantic space composed of the first morphological information can be obtained more accurately. As a result, the conversation control device can accurately notify the usage amount requested by the user based on the acquired second morpheme information.
[0019]
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.
[0020]
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.
[0021]
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".
[0022]
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".
[0023]
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.
[0024]
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.
[0025]
The voice recognition unit 200 is a character recognition unit that specifies a character string corresponding to the utterance content based on the utterance content acquired by the input unit 100. Specifically, the speech recognition unit 200 to which the speech signal is input from the input unit 100 analyzes the input speech signal, and stores a character string corresponding to the analyzed speech signal in the speech 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.
[0026]
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.
[0027]
The morpheme extraction unit 410 is a morpheme extraction unit that extracts each morpheme constituting the minimum unit of the character string as first morpheme information based on the character string specified by the input unit 100 or the speech recognition unit 200.
[0028]
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.
[0029]
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.
[0030]
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.
[0031]
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.
[0032]
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.
[0033]
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
[0034]
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".
[0035]
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.
[0036]
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). Also, the sentence structure analysis unit 430
For example, when the dependency element of each morpheme is "" or "", it is determined that the morpheme in front of the dependency element is an object (object).
[0037]
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.
[0038]
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.
[0039]
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.
[0040]
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.
[0041]
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.
[0042]
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.
[0043]
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.
[0044]
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).
[0045]
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”.
[0046]
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 type of determination.
[0047]
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.
[0048]
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. The conversation database 500 also stores a plurality of pieces of second morpheme information and the contents of answers to the user with respect to the utterance contents in association with each other in advance. Further, the conversation database 500 stores a plurality of answer types indicating the types of the respective answer contents associated with the plurality of answer contents in advance in association with the second morpheme information.
[0049]
Furthermore, the conversation database 500 stores in advance a plurality of discourse ranges (keywords) indicating morphemes constituting a range relevant to the input contents to be input from the user or the contents of answers to the user. . This discourse range (keyword) is associated with a plurality of pieces of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and each piece of the second morpheme information contains an answer to the user. Associated with each.
[0050]
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. .
[0051]
As shown in FIG. 8, in the present embodiment, the conversation database 500 can be roughly divided into a discourse meaning a range that is relevant to the utterance content that will be uttered by the user or the answer content 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.
[0052]
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.
[0053]
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.
[0054]
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). .
[0055]
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.
[0056]
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.
[0057]
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.”
[0058]
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.
[0059]
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 the subject, but the other “object” “action” is not an element of the sentence, so the topic title is “subject” (A movie name) No "object"(*); no "action" (*) (see FIG. 10).
[0060]
The answer sentence means an answer sentence (answer content) that answers the user, and is associated with each topic title (second morpheme information) in the present embodiment (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).
[0061]
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.
[0062]
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 really like it because of the five consecutive hits 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").
[0063]
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.
[0064]
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 speech 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 searched by answer sentence search section 370 to output section 600.
[0065]
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. .
[0066]
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".
[0067]
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. By comparing the reflection element information with the reflection element information, the reflection element information including the first morphological information is searched from each reflection element information, and the searched reflection element information is output to the management unit 310.
[0068]
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 for giving a typical answer.
[0069]
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.
[0070]
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
[0071]
The parrot return determination unit 330 compares the current first morpheme information extracted by the morpheme extraction unit 410 with past response contents stored in the parrot return element database 802, and determines that the current first morpheme information is a past response. If it is included in the contents, it is a standard acquisition means for acquiring the contents of the agreement.
[0072]
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 and the like constituting the answer content output from the conversation control device 1 immediately before. As shown in FIG. 14, for example, “horse is beautiful” (Horse; *; beautiful) and "I like Sato"(Sato;*; I like it).
[0073]
In addition, the parrot return element database 802 is an agreement storage unit that previously stores agreement details for agreeing to input information input by a user. 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".
[0074]
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).
[0075]
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.
[0076]
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” (Director of the A movie name; Mr. S; *) in response to the output content, 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 memorized agreement contents such as "exactly," and outputs the acquired agreement contents.
[0077]
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.
[0078]
Specifically, when the user utters the utterance content that “the horse is beautiful” and the conversation control device 1 outputs the content of “the horse has a sense of dynamism” as the answer content, 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; Since each morpheme (first morpheme information) {horse; *; beautiful} that constitutes the previous utterance content “horse is beautiful” matches, the user responds from the conversation control device 1 “horse is dynamic. "I have a good feeling."
[0079]
In this case, since the user has not heard the answer content 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 acquired repulsion. The contents can be output.
[0080]
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.
[0081]
Although the parrot return determination unit 330 has described the process in the case where the user has performed the parrot return on “the answer content of the conversation control device 1”, the following process can be further 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.
[0082]
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, a “conditional” parrot return process (when the user Processing when a parrot with a letter is performed) is performed.
[0083]
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.
[0084]
The discourse range determination unit 340 compares the first morpheme extracted by the phrase analysis unit 420 with each discourse range, and searches each discourse range for a discourse range that matches the morpheme included in the first morpheme information. This is a second search means.
[0085]
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.
[0086]
For example, the discourse range determining unit 340 determines that the first morpheme information included in the input topic search command signal is (interesting movie; *; is there) / is there an 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.
[0087]
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.
[0088]
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.
[0089]
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.
[0090]
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.
[0091]
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, the morpheme of the discourse range to which the first morpheme information belongs is added to the first morpheme information.
[0092]
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.
[0093]
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.
[0094]
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.
[0095]
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 content more suitable for the utterance content of the user based on the “topic title” acquired by the topic search unit 360.
[0096]
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, It is a first search means for searching for second morpheme information including morphemes constituting the first morpheme information from among them.
[0097]
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.
[0098]
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.
[0099]
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.
[0100]
The answer sentence search unit 370 is an answer acquisition unit that acquires 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 unit that searches for an answer type that matches the utterance type of the user from among the answer types.
[0101]
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 morphological information) and the "utterance sentence type" (utterance type) corresponding to the answer search command signal, based on the answer sentence group (each answer content) associated with the "topic title". From among them, an answer sentence composed of an answer type (this answer type means "answer sentence type" shown in FIG. 11) matching "uttered sentence type" (DA, IA, CA, etc.) is searched.
[0102]
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.
[0103]
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.
[0104]
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}.
[0105]
(Conversation control method using conversation control device)
The conversation control method by the conversation control device 1 having the above configuration can be performed according to the following procedure. FIG. 15 is a flowchart illustrating a procedure of the conversation control method according to the present embodiment.
[0106]
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. The input unit 100 specifies a character string corresponding to 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.
[0107]
Next, the voice recognition unit 200 performs a step of specifying a character string corresponding to the utterance content based on the utterance content acquired by the input unit 100 (S102). Specifically, the speech recognition unit 200 to which the speech signal is input from the input unit 100 analyzes the input speech signal, and stores a character string corresponding to the analyzed speech signal in the speech recognition dictionary storage unit 700. The specified character string is output to the conversation control unit 300 as a character string signal.
[0108]
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).
[0109]
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.
[0110]
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.
[0111]
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. The morphemes are grouped into phrases based on the dependency elements. 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
[0112]
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".
[0113]
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).
[0114]
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.
[0115]
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.
[0116]
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.
[0117]
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.
[0118]
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.
[0119]
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).
[0120]
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.
[0121]
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.
[0122]
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).
[0123]
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.
[0124]
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.
[0125]
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).
[0126]
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).
[0127]
For example, the discourse range determining unit 340 determines that the first morpheme information included in the input topic search command signal is (interesting movie; *; is there) / is there an 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.
[0128]
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.
[0129]
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).
[0130]
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, the morpheme of the discourse range to which the first morpheme information belongs is added to the first morpheme information.
[0131]
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”). *; *).
[0132]
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.
[0133]
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).
[0134]
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.
[0135]
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.
[0136]
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.
[0137]
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, A step of searching for an answer type that matches the user's utterance type from each answer type and acquiring an answer sentence associated with the answer type based on the searched answer type is performed (S112).
[0138]
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 morphological information) and the "utterance sentence type" (utterance type) corresponding to the answer search command signal, based on the answer sentence group (each answer content) associated with the "topic title". From among them, an answer sentence composed of an answer type (this answer type means "answer sentence type" shown in FIG. 11) matching "uttered sentence type" (DA, IA, CA, etc.) is searched.
[0139]
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.
[0140]
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 reflexive determination unit 320 or the content of the parrot return processing from the parrot determination unit 330 is input, and the answer sentence corresponding to the input reflection element information is input. 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}.
[0141]
(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.
[0142]
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.
[0143]
In addition, the parrot return determining unit 330 compares the current first morpheme information with the past answer contents, and if the current first morpheme information is not included in the past answer contents, an agreement stored in advance. Since the content can be acquired, if the input information currently input by the user matches the past answer content, the parrot return determination unit 330 returns the user to the past That the user has re-examined the answer).
[0144]
In this case, the parrot return determination unit 330 obtains the stored agreement content because the user has performed a parrot on the past answer content, and obtains the obtained agreement content (for example, “Yes, it is”). Can be output. Thereby, if the user does not understand the meaning of the answer content output from the conversation control device 1, the user can listen again and listen to the answer content again, so that the user is just talking with another user. You can enjoy such feeling.
[0145]
In addition, the parrot return determination 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. When 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 appropriately to the content of the response from the conversation control device.
[0146]
In this case, the parrot return determination unit 330 obtains the stored repulsion content, and obtains the obtained repulsion content in order to repel the user because the user has not properly responded to the previous response content. Is output. As a result, if the user does not input appropriate input information with respect to the answer content from the conversation control device 1, the repulsion content is output from the conversation control device 1, so that the user can speak with another user. You can enjoy the feeling of being.
[0147]
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.
[0148]
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.
[0149]
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 acquire the answer content 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 extracts the utterance content of the user. Based on the constituent morphemes (first morpheme information), it is possible to take into account the semantic space (subject, target, etc.) constructed by each morpheme, and obtain the answer content created in advance based on the semantic space. Thus, it is possible to acquire an answer content more suitable for the utterance content than to simply obtain the answer content associated with the keyword using the entire utterance content as a keyword.
[0150]
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 a huge amount of response contents corresponding to the utterance contents that will be uttered by the user, and can reduce the capacity of the storage unit.
[0151]
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 obtained, and the answer content associated with the answer type can be acquired based on the searched answer type. Therefore, the conversation control device 1 sets the utterance type that constitutes the conversation content of the user, for example, Based on a simple opinion, a user's impression, or a user's locational element, a response that matches the user's utterance type is selected from multiple responses. As a result, it is possible to obtain an optimum answer to the corresponding user.
[0152]
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 In a short period of time, it is possible to obtain the optimum answer content corresponding to the above.
[0153]
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.
[0154]
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 obtained, and the answer sentence search unit 370 determines an answer content more suitable for the utterance content of the user based on the second morpheme information obtained by the topic search unit 360. Can be output.
[0155]
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.
[0156]
[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.
[0157]
(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.
[0158]
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”.
[0159]
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".
[0160]
Accordingly, the morpheme extraction unit 410 can sort morphemes similar to each other, so that a developer who develops a conversation control device can use a morpheme extraction unit corresponding to a semantic space grasped from each of the mutually similar first morpheme information. It is not necessary to create answer contents related to the two morpheme information and the second morpheme information one by one, and as a result, the amount of data stored in the storage unit can be reduced.
[0161]
(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.
[0162]
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.
[0163]
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.
[0164]
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.
[0165]
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.
[0166]
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 acquires an answer sentence associated with the topic title based on the topic title selected by the selection unit 362.
[0167]
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 of 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.
[0168]
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”.
[0169]
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.
[0170]
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 the optimum answer content to the utterance content from the user.
[0171]
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.
[0172]
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.
[0173]
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”.
[0174]
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).
[0175]
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.
[0176]
Thereby, the ratio calculation unit 361 divides each morpheme of the first morpheme information belonging to each classified “case configuration” (subject case, target case, etc.) and a topic title stored in advance for each “case”. Since the matching 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 "people" and the target morpheme is "dog". The matching second morpheme information can be searched, and the answer content associated with the second morpheme information (person; dog; chewing) {“really?” Or “I do not understand the meaning” etc.} is obtained. can do.
[0177]
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?"
[0178]
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 the optimum answer content to the utterance content from the user based on the acquired second morpheme information.
[0179]
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.
[0180]
(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. , A conversation database 500b to 500d connected to the communication unit 900, and servers 2a to 2c (conversation control system).
[0181]
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.
[0182]
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.
[0183]
(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 searched answer sentence and each morpheme associated with each “case configuration”.
[0184]
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.
[0185]
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.
[0186]
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.
[0187]
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.
[0188]
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.
[0189]
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.
[0190]
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.
[0191]
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 content more suitable for the utterance content of the user based on the optimal “topic title” acquired by the topic search unit 360. .
[0192]
(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.
[0193]
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.
[0194]
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 has been deleted is output to the discourse adding unit 364 as a deletion signal.
[0195]
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).
[0196]
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.
[0197]
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.
[0198]
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).
[0199]
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? }.
[0200]
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.
[0201]
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.
[0202]
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).
[0203]
(Sixth modification example)
If 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 content, and If the answer content including the first morpheme information can be searched from among the above, the first search means for acquiring the second morpheme information associated with the searched answer content may be used.
[0204]
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.
[0205]
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.
[0206]
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.
[0207]
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 acquire an appropriate answer content for the utterance content of the user.
[0208]
[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.
[0209]
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 its semantic 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.
[0210]
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.
[0211]
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 content corresponding to a user's utterance content by outputting a pre-created response content are generally used. It can be easily realized with a simple general-purpose computer.
[0212]
Further, the developer who develops the conversation control device 1 can hierarchically construct the second morphological information and the like for searching for the answer content to the utterance content of the user in the database using the language, The conversation control device 1 can acquire the answer content to the utterance content from the database through a hierarchical procedure based on the utterance content of the user.
[0213]
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 content can be obtained from each answer content stored in advance based on the hierarchy.
[0214]
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.
[0215]
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 content 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 contents (written in DKML or the like) can be searched, and the searched answer contents can be acquired (see FIG. 20).
[0216]
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.
[0217]
[Second embodiment]
(Basic configuration of usage notification system)
A second embodiment of the present invention will be described with reference to the drawings. FIG. 24 shows the internal structure of the usage notification system according to the present embodiment.
[0218]
As shown in FIG. 1, the usage notification system includes a conversation control device 1, a communication unit 2, an authentication unit 3, an authentication database 4, a measuring unit 5, a gas device 6, a water device 7, The difference is that the device 8 and the terminal 10 are provided. Also, as shown in FIG. 25, the conversation control device 1 substantially matches the internal structure of the first embodiment, but differs in that it has an answer sentence generation unit 371 and a keyword database 501. 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.
[0219]
In the first embodiment, the process in which the conversation control device 1 acquires the optimum answer sentence corresponding to the utterance content based on the utterance content from the user has been described. The present embodiment is different in that the conversation control device 1 performs a process of notifying the user of the usage amount measured by the measuring unit 5 based on input information such as voice input from the user. . The specific description is as follows.
[0220]
In the present embodiment, each function in the first embodiment and the modified example described above, for example, a parrot return process, a reflexive process, and the like are naturally provided, and the effect corresponding to each function in the first embodiment and the modified example is also provided. It plays naturally.
[0221]
The terminal 10 transmits input information such as voice input from a user to the communication unit 2 via the communication network 20. The terminal 10 also receives an answer sent from the communication unit 2 via the communication network 20. Here, the communication network 20 includes, for example, a telephone line network, the Internet, and the like. The terminal 10 is, for example, a mobile terminal, a PDA (Personal Digital Assistance), or the like.
[0222]
Specifically, the user inputs, via an operation unit (not shown), identification information for specifying the identification of the user. The terminal 10 to which the identification information is input transmits the input identification information and the input information input by the user to the communication unit 2 via the communication network 20. The communication unit 2 that has received the identification information and the input information from the terminal 10 outputs the received identification information and the input information to the authentication unit 3.
[0223]
The authentication unit 3 authenticates whether the user's identity information is appropriate. Specifically, the authentication unit 3 to which the identification information has been input from the communication unit 2 collates the identification information with each authentication information stored in advance in the authentication database 4 based on the input identification information. In the present embodiment, the authentication information means information for identifying the identity information.
[0224]
The authentication unit 3 that has performed the collation determines that the identification information is appropriate when the authentication information that matches the identification information can be obtained from the authentication information. The authentication unit 3 that has made this determination outputs the input information that has been input to the conversation control device 1. On the other hand, if the authentication unit 3 cannot obtain authentication information matching the identification information from the authentication information, the authentication unit 3 determines that the identification information is incorrect. The authentication unit 3 that has made this determination returns a refusal to the corresponding terminal 10 indicating that the usage amount measured by the measurement unit 5 is not notified.
[0225]
The gas device 6 means a device that discharges gas. In this embodiment, the gas appliance 6 is, for example, a gas stove. The water supply device 7 means a device for discharging water. In this embodiment, the water supply device 7 is, for example, a water purifier. Examples of the electric device include an air conditioner, an audio device, a rice cooker, and the like.
[0226]
The measuring unit 5 measures the usage of each of the devices 6 to 8. Specifically, the weighing unit 5 measures the usage of each of the devices 6 to 8 and outputs the measured usage to the answer sentence generation unit 371 as a weighing signal. In the present embodiment, as shown in FIG. 28, the usage amount of each of the devices 6 to 8 is measured by the gas amount measurement unit 51, the water amount measurement unit 52, and the power amount measurement unit 53. In the present embodiment, the measuring unit 5 measures the amount of use of each of the devices 6 to 8. However, the measuring unit 5 can also measure the amount of use of each of the devices 6 to 8.
[0227]
The keyword database 501 stores a plurality of keywords related to the usage amount in advance. As shown in FIG. 26, each of the keywords is classified into a target such as a gas amount, a water amount, or an electric power amount. As shown in the figure, for example, when the target is a gas amount, the keywords associated with the gas amount include a gas amount, propane gas, fire, a stove, and the like.
[0228]
Further, for example, when the target is a water amount, the keywords associated with the water amount include a water amount, a faucet, a water amount from a tap, and the like. Further, for example, when the target is an electric energy, the keywords associated with the electric energy include an electric energy, electricity, a heater, a kotatsu, and a pot.
[0229]
When at least one keyword is included in the topic title based on the topic title searched by the topic search unit 360, the answer sentence generation unit 371 notifies the user of the usage amount measured by the measurement unit 5. Things.
[0230]
Specifically, the answer sentence generating unit 371, to which the weighing signal from the weighing unit 5 and the topic title from the topic searching unit 360 are input, based on the input weighing signal and topic title, generates the topic title and each keyword. Collate. When at least one keyword is included in the topic title, the answer sentence generation unit 371 that has performed the collation specifies the target of the keyword using FIG.
[0231]
In addition, "-tai" or the like included in the topic title means that the user's request for a certain matter is requested. Therefore, the answer sentence generating unit 371 selects "power amount" as a keyword from the topic title. When “want to know” can be obtained, it can be inferred that “the user wants to know the electric energy” in a pseudo manner.
[0232]
Furthermore, the sentence sentence, condition sentence, result sentence, time sentence, place sentence, repulsion sentence, etc. described in the first embodiment are not sentences requesting the user's request, so the answer sentence generation unit 371 sets Sentences can be eliminated. Accordingly, the answer sentence generation unit 371 acquires only a topic title including a sentence requesting the user's request, and when the acquired topic title further includes a keyword related to the usage amount, The usage amount associated with the keyword can be notified to the corresponding user. That is, the answer sentence generation unit 371 can accurately notify information about the usage amount desired by the user.
[0233]
When the target of the specified keyword is the electric energy, the answer sentence generating unit 371, as shown in FIG. 27, uses the electric energy (for example, 199 kwh). The answer sentence generation unit 371 applies the usage amount to the ○ portion of the fixed sentence. As this fixed phrase, for example, the amount of electricity used is XX, and the like.
[0234]
The answer sentence generation unit 371 that applies the usage amount to the fixed sentence outputs the fixed sentence to the management unit 310 as an answer sentence. The management unit 310 to which the answer sentence is input from the answer sentence generation unit 371 transmits the input answer sentence to the terminal 10 via the authentication unit 3 and the communication unit 2.
[0235]
In addition, it is preferable that a plurality of codes serving as search criteria are previously associated with the topic title, and that each code is associated with a content related to the usage amount in advance. The conversation database 500 stores a plurality of topic titles as shown in FIG.
[0236]
Here, each symbol in the present embodiment means the amount of use (expected information) of a supply such as electric power, gas, or water which is expected to be used by the user. In the present embodiment, the contents related to the usage amount (forecast information) include, for example, if the amount of power corresponding to the usage amount is high, “currently“ electricity ”is used considerably”. No.
[0237]
Further, the answer sentence generation unit 371 collates each piece of expected information associated with the topic title with the usage amount measured by the measurement unit 5 based on the topic title searched by the topic search unit 360, It is preferable to search for prediction information that matches the usage. Furthermore, it is preferable that the answer sentence generation unit 371 notifies the user of an answer sentence (content related to the usage amount) associated with the predicted information based on the retrieved expected information.
[0238]
Specifically, the answer sentence generating unit 371, to which the weighing signal from the weighing unit 5 and the topic title from the topic searching unit 360 are input, based on the input weighing signal and topic title, generates the topic title and each keyword. Collate. When at least one keyword is included in the topic title, the answer sentence generation unit 371 that has performed the collation specifies the target of the keyword using FIG.
[0239]
The answer sentence generation unit 371 that has specified the target searches for the prediction information that matches the usage amount corresponding to the input weighing signal, from the prediction information that is associated with the specified target. The answer sentence generation unit 371 that has searched for the expected information acquires an answer sentence associated with the searched expected information. The answer sentence generation unit 371 that has obtained the answer sentence outputs the obtained answer sentence to the management unit 310.
[0240]
Thereby, the answer sentence generating unit 371 acquires the answer sentence (see FIG. 28) that indicates the outline of the usage status of each of the devices 6 to 8 according to the amount of usage measured by the measuring unit 5. Therefore, the user can immediately understand the use situation in a specific building by listening to the answer. In particular, the family can easily grasp the living situation of the grandmother and the like living alone by listening to the above-mentioned answer sentence.
[0241]
The measuring unit 5 may measure daily or monthly usage. With this, the user can easily grasp the daily usage amount by listening to the output answer sentence. Therefore, when the user goes out on the day, for example, confirms whether the user has forgotten to turn off the light. Can be facilitated. As a result, the user can prevent a fire or the like due to forgetting to turn off the electric power.
[0242]
In addition, the family can easily grasp the daily living situation of the grandmother who lives alone. As a result, the family can determine that there is no problem with the health of the grandmother if the daily usage in the house of the grandmother is large. On the other hand, the family can determine that the grandmother's health is problematic if the daily usage of the grandmother's house is extremely low.
[0243]
Further, since the user can refer to the monthly usage amount, the user can roughly estimate the usage fee in that month. As a result, when the user pays the usage fee, it is possible to prevent a situation where the user does not have a money corresponding to the usage fee.
[0244]
The topic search unit 360 compares the extracted first morpheme information with each topic title, calculates the ratio of the first morpheme information to the topic title for each topic title, It is preferable to select one topic title from each topic title according to the magnitude of each ratio calculated in (1). This detailed process is as described in the first embodiment.
[0245]
In this case, if the topic search unit 360 can acquire, for example, a topic title in which the first morpheme information constituting the user input information occupies a large part of the topic title from a plurality of topic title groups. Thus, a topic title that follows the semantic space composed of the first morphological information can be acquired more accurately. As a result, the answer sentence generation unit 371 can accurately notify the usage amount requested by the user based on the acquired topic title.
[0246]
(Method of controlling usage notification using usage notification system)
The usage notification control method by the usage notification system having the above configuration can be implemented by the following procedure. FIG. 29 is a flowchart showing the procedure of the conversation control method according to the present embodiment.
[0247]
As shown in the figure, first, the authentication unit 3 performs a step of authenticating whether or not the user's identity information is appropriate (S201). Specifically, the authentication unit 3 to which the identification information has been input from the communication unit 2 collates the identification information with each authentication information stored in advance in the authentication database 4 based on the input identification information.
[0248]
The authentication unit 3 that has performed the collation determines that the identification information is appropriate when the authentication information that matches the identification information can be obtained from the authentication information. The authentication unit 3 that has made this determination outputs the input information that has been input to the conversation control device 1. On the other hand, if the authentication unit 3 cannot obtain authentication information matching the identification information from the authentication information, the authentication unit 3 determines that the identification information is incorrect. The authentication unit 3 that has made this determination returns a refusal to the corresponding terminal 10 indicating that the usage amount measured by the measurement unit 5 is not notified.
[0249]
Next, the input unit 100 performs a step of acquiring input information input from the authentication unit 3 (S202). Then, based on the input information acquired by the input unit 100, the morpheme extraction unit 410 specifies a character string constituting the input information, and performs a step of extracting each morpheme from the specified character string (S203). , S204).
[0250]
Thereafter, the phrase analysis unit 420 performs a step of putting each morpheme into a phrase format based on each morpheme extracted by the morpheme extraction unit 410 (S205). In the present embodiment, morphemes belonging to one phrase form are collectively referred to as first morpheme information. The processing of S202 to S205 is the same as the processing of S101 to S104 described in the first embodiment. Therefore, a detailed description of these processes will be omitted.
[0251]
Next, the discourse range determination unit 340 compares the extracted first morpheme information with each discourse range group stored in the conversation database 500 and included in the first morpheme information from each discourse range group. A discourse range that matches the morpheme is obtained (S205). Thereafter, based on the discourse range searched by the discourse range determination unit 340, the topic search unit 360 extracts a topic title that matches the extracted first morpheme information from each topic title associated with the discourse range. It is acquired (S206). Since the processing of S205 and S206 has been described in the first embodiment, detailed description will be omitted.
[0252]
Next, the measuring unit 5 performs a step of measuring the usage amount of each of the devices 6 to 8 (S208). Specifically, the weighing unit 5 measures the usage of each of the devices 6 to 8 and outputs the measured usage to the answer sentence generation unit 371 as a weighing signal. In the present embodiment, as shown in FIG. 28, the usage amount of each of the devices 6 to 8 is measured by the gas amount measurement unit 51, the water amount measurement unit 52, and the power amount measurement unit 53.
[0253]
Thereafter, if at least one keyword is included in the topic title based on the topic title searched by the topic search unit 360, the answer sentence generation unit 371 sends the usage amount measured by the measurement unit 5 to the user. A notification step is performed (S209). Specifically, the answer sentence generating unit 371, to which the weighing signal from the weighing unit 5 and the topic title from the topic searching unit 360 are input, based on the input weighing signal and topic title, generates the topic title and each keyword. Collate.
[0254]
When at least one keyword is included in the topic title, the answer sentence generation unit 371 that has performed the collation specifies the target of the keyword using FIG. When the specified object is the electric energy, the answer sentence generating unit 371, as shown in FIG. 27, uses the electric energy (for example, 199 kWh) among the electric power corresponding to the input weighing signal. And apply the amount of use to the XX part of the fixed phrase.
[0255]
The answer sentence generation unit 371 that applies the usage amount to the fixed sentence outputs the fixed sentence to the management unit 310 as an answer sentence. The management unit 310 to which the answer sentence is input from the answer sentence generation unit 371 transmits the input answer sentence to the terminal 10 via the authentication unit 3 and the communication unit 2.
[0256]
(Operation and Effect of Usage Notification System and Usage Notification Control Method)
According to the invention having the above-described configuration, the answer sentence generation unit 371 includes, based on a topic title that matches the first morpheme information constituting the user input information, at least When one keyword is included, the user can be notified of the usage amount measured by the measuring unit 5. Thereby, the user can know information related to a desired amount of consumption, for example, the amount of electricity and the amount of gas used through conversation.
[0257]
That is, when a specific keyword is included in the “input information” of the user, the answer sentence generation unit 371 simply notifies information on the usage amount associated with the keyword. Not. The answer sentence generation unit 371 can notify information on the amount of use associated with the keyword, depending on whether or not the “topic title” includes a specific keyword.
[0258]
In particular, since the topic title is obtained by extracting each morpheme included in the input information from the user, it includes only important elements constituting the input information. Based on the title, information about the amount of usage desired by the user can be accurately notified.
[0259]
For example, if the input information is "I want to know the amount of electricity used", the topic title corresponding to the input information is (I; amount of electricity used; want to know). For this reason, the answer sentence generation unit 371 includes the keywords “electricity usage” and “want to know” in the topic title, and thus the “electricity usage” associated with those keywords. Information can be output.
[0260]
Also, "-tai" or the like included in the topic title means requesting one's own desire for a certain matter. For this reason, for example, if the searched topic title includes “electricity usage” and “to want”, the answer sentence generation unit I want to know. " Accordingly, the answer sentence generation unit 371 can accurately notify information on the usage amount requested by the user.
[0261]
Further, a family having a grandmother and the like living alone can easily grasp the living conditions of the grandmother and the like through the information on the usage amount. For example, a family can determine that a grandmother's health is problematic when the grandmother's home uses very little electricity. On the other hand, if the amount of electricity used in the grandmother's house is higher than normal, the family can determine that the grandmother's health is satisfactory.
[0262]
Furthermore, if the content associated with each code indicates an outline of the usage status of each device (for example, electricity is used “many” now, etc.), an answer sentence is generated. The unit 371 can notify the user of the above-described content associated with the code that matches the size based on the size of the usage amount measured by the measuring unit 5. Thus, the user can hear the outline of the specific usage from the conversation control device 1, so that the user can immediately grasp the usage status in the specific building.
[0263]
In addition, since the authentication unit 3 can determine whether the user corresponding to the identification information is an appropriate person based on the identification information received from the terminal, the conversation control device 1 Based on the authentication result, it is possible to notify only a specific person of information on the usage amount. As a result, the user can prevent a person other than his / her family from notifying the information on the usage amount.
[0264]
Finally, the topic search unit 360 includes, based on the discourse range searched by the discourse range determination unit 340, morphemes constituting the first morpheme information extracted from each topic title associated with the discourse range. Topic titles can be searched.
[0265]
This eliminates the need for the topic search unit 360 to collate the “all” topic titles stored in advance with the extracted first morphological information, so that the relevant topic title can be searched more quickly. . As a result, the user can quickly obtain information about the desired usage amount.
[0266]
【The invention's effect】
As described above, according to the present invention, based on input information such as voice input from a user, it is possible to notify the user of the amount of supply of the supply related to the input information.
[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 in the second modification checks each morpheme belonging to “each component” and 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 diagram illustrating a schematic configuration of a usage notification system according to a second embodiment.
FIG. 25 is a diagram illustrating an internal configuration of a conversation control device according to a second embodiment.
FIG. 26 is a diagram illustrating the content of each keyword stored in a keyword database according to the second embodiment.
FIG. 27 is a diagram showing the contents of each answer sentence stored in the conversation database in the second embodiment (part 1).
FIG. 28 is a diagram showing the contents of each answer sentence stored in the conversation database in the second embodiment (part 2).
FIG. 29 is a flowchart showing a procedure of a usage notification control method according to the second embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Conversation control apparatus, 2 ... Server, communication part, 3 ... Authentication part, 4 ... Authentication database, 5 ... Measuring part, 6 ... Gas equipment, 6-8 ... Equipment, 7 ... Water equipment, 8 ... Electric equipment, 10 ... terminal, 20 ... communication network, 51 ... gas amount measuring unit, 52 ... water amount measuring unit, 53 ... power amount measuring unit, 100 ... input unit, 200 ... voice recognition unit, 300 ... conversation control unit, 310 ... management unit Reference numeral 320: Reflective determination unit, 330: Parrot return determination unit, 340: Discourse range determination unit, 350: Abbreviation sentence complementing unit, 360: Topic search unit, 361: Ratio calculation unit, 362: Selection unit, 363: Deletion unit, 364 ... discourse adding unit, 370 ... answer sentence search unit, 371 ... answer sentence generation unit, 400 ... sentence analysis unit, 410 ... morpheme extraction unit, 420 ... phrase analysis unit, 430 ... sentence structure analysis unit, 440 ... utterance type determination unit , 450 ... morphological database 460: Speech type database, 500: Conversation database, 501: Keyword database, 600: Output unit, 700: Speech 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 disk, 1400 IC chip, 1500 cassette tape

Claims (9)

電力、ガス又は水道を含む供給物の使用量を計量する計量手段が配備され、利用者から入力された入力情報に基づいて前記計量手段で計量された前記使用量を通知する使用量通知システムであって、
前記使用量に関係するキーワードを予め複数記憶するキーワード記憶手段と、
前記入力情報に対応する文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出する形態素抽出手段と、
一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報を予め複数記憶する形態素記憶手段と、
前記形態素抽出手段で抽出された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する前記形態素を含む前記第二形態素情報を検索する第一検索手段と、
前記第一検索手段で検索された前記第二形態素情報に基づいて、少なくとも一の前記キーワードが該第二形態素情報に含まれる場合には、前記計量手段で計量された前記使用量を利用者に通知する通知手段と
を有することを特徴とする使用量通知システム。
Metering means for measuring the amount of use of electricity, gas or water supply is provided, and a usage notification system for notifying the usage measured by the meter based on input information input from a user. So,
Keyword storage means for storing a plurality of keywords related to the usage amount in advance,
Based on a character string corresponding to the input information, morpheme extraction means for extracting at least one morpheme constituting the minimum unit of the character string as first morpheme information,
One character, a plurality of character strings or a morpheme storage unit that previously stores a plurality of second morpheme information indicating a morpheme composed of a combination thereof,
The first morpheme information extracted by the morpheme extraction unit is compared with each of the second morpheme information, and among the second morpheme information, the second morpheme information including the morpheme constituting the first morpheme information is included. First search means for searching for morphological information;
Based on the second morpheme information retrieved by the first retrieval means, if at least one of the keywords is included in the second morpheme information, the user is provided with the usage amount measured by the measurement means And a notifying unit for notifying.
請求項1に記載の使用量通知システムであって、
前記第二形態素情報には、検索の基準となる符号が予め複数対応付けられ、前記各符号には、前記使用量に関係する内容がそれぞれに予め対応付けられ、
前記第一検索手段で検索された前記第二形態素情報に基づいて、該第二形態素情報に対応付けられた前記各符号と、前記計量手段で計量された前記使用量とを照合し、該使用量と一致する前記符号を検索する符号検索手段を有し、
前記通知手段は、前記符号検索手段で検索された前記符号に基づいて、該符号に対応付けられた前記内容を利用者に通知する
ことを特徴とする使用量通知システム。
The usage notification system according to claim 1,
In the second morphological information, a plurality of codes serving as search criteria are associated in advance, and in each of the codes, contents related to the usage amount are associated in advance,
Based on the second morpheme information retrieved by the first retrieval means, the code associated with the second morpheme information is compared with the usage amount measured by the measurement means, Code search means for searching for the code that matches the quantity,
The usage notifying system, wherein the notifying unit notifies a user of the content associated with the code based on the code searched by the code searching unit.
請求項1又は請求項2のいずれかに記載の使用量通知システムであって、
利用者から入力されるであろう入力情報又は利用者への回答内容に関連性のある形態素を示す談話範囲には、前記各第二形態素情報が予め対応付けられ、
前記形態素抽出手段で抽出された前記第一形態素情報と前記各談話範囲とを照合し、該各談話範囲の中から、該第一形態素情報に含まれる前記形態素と一致する前記談話範囲を検索する第二検索手段を有し、
前記第一検索手段は、前記第二検索手段で検索された前記談話範囲に基づいて、該談話範囲に対応付けられた前記各第二形態素情報と、抽出された前記第一形態素情報とを照合し、前記各第二形態素情報の中から、該第一形態素情報と一致する前記第二形態素情報を検索する
ことを特徴とする使用量通知システム。
A usage notification system according to any one of claims 1 and 2,
Each of the second morphological information is previously associated with a discourse range indicating a morpheme relevant to the input information to be input from the user or the answer to the user,
The first morpheme information extracted by the morpheme extraction means is compared with each discourse range, and the discourse range that matches the morpheme included in the first morpheme information is searched from each discourse range. Having a second search means,
The first search means compares the second morpheme information associated with the discourse range with the extracted first morpheme information based on the discourse range searched by the second search means. And a second notification unit that searches the second morpheme information for the second morpheme information that matches the first morpheme information.
電力、ガス又は水道を含む供給物の使用量を計量する計量手段が配備され、利用者から入力された入力情報に基づいて前記計量手段で計量された前記使用量を通知する使用量通知制御方法であって、
前記使用量に関係するキーワードを予め複数記憶するステップと、
前記入力情報に対応する文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出するステップと、
一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報を予め複数記憶するステップと、
抽出された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する前記形態素を含む前記第二形態素情報を検索するステップと、
検索された前記第二形態素情報に基づいて、少なくとも一の前記キーワードが該第二形態素情報に含まれる場合には、前記計量手段で計量された前記使用量を利用者に通知するステップと
を有することを特徴とする使用量通知制御方法。
Metering means for measuring the amount of supply including power, gas or water is provided, and a usage notification control method for notifying the amount of usage measured by the meter based on input information input from a user. And
Storing in advance a plurality of keywords related to the usage amount;
Based on a character string corresponding to the input information, extracting at least one morpheme constituting the minimum unit of the character string as first morpheme information,
A step of storing a plurality of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof,
The extracted first morpheme information is compared with the respective second morpheme information, and the second morpheme information including the morpheme constituting the first morpheme information is searched from the respective second morpheme information. Steps and
When at least one of the keywords is included in the second morphological information based on the retrieved second morphological information, the method further comprises the step of: notifying a user of the usage amount measured by the measuring means. A usage notification control method, characterized in that:
請求項4に記載の使用量通知制御方法であって、
前記第二形態素情報には、検索の基準となる符号が予め複数対応付けられ、前記各符号には、前記使用量に関係する内容がそれぞれに予め対応付けられ、
検索された前記第二形態素情報に基づいて、該第二形態素情報に対応付けられた前記各符号と、前記計量手段で計量された前記使用量とを照合し、該使用量と一致する前記符号を検索するステップと、
検索された前記符号に基づいて、該符号に対応付けられた前記内容を利用者に通知するステップと
を有することを特徴とする使用量通知制御方法。
The usage notification control method according to claim 4, wherein
In the second morphological information, a plurality of codes serving as search criteria are associated in advance, and in each of the codes, contents related to the usage amount are associated in advance,
Based on the retrieved second morphological information, each code associated with the second morphological information is compared with the usage amount measured by the measuring unit, and the code matching the usage amount is compared. Searching for
Notifying the user of the content associated with the code based on the searched code, the usage notification control method.
請求項4又は請求項5のいずれかに記載の使用量通知制御方法であって、
利用者から入力されるであろう入力情報又は利用者への回答内容に関連性のある形態素を示す談話範囲には、前記各第二形態素情報が予め対応付けられ、
抽出された前記第一形態素情報と前記各談話範囲とを照合し、該各談話範囲の中から、該第一形態素情報に含まれる前記形態素と一致する前記談話範囲を検索するステップと、
検索された前記談話範囲に基づいて、該談話範囲に対応付けられた前記各第二形態素情報と、抽出された前記第一形態素情報とを照合し、前記各第二形態素情報の中から、該第一形態素情報と一致する前記第二形態素情報を検索するステップと
を有することを特徴とする使用量通知制御方法。
A usage notification control method according to claim 4 or claim 5, wherein
Each of the second morphological information is previously associated with a discourse range indicating a morpheme relevant to the input information to be input from the user or the answer to the user,
Collating the extracted first morpheme information with each of the discourse ranges, and searching for the discourse range that matches the morpheme included in the first morpheme information from each of the discourse ranges;
Based on the searched discourse range, the second morpheme information associated with the discourse range is compared with the extracted first morpheme information, and from among the second morpheme information, Retrieving the second morpheme information that matches the first morpheme information.
電力、ガス又は水道を含む供給物の使用量を計量する計量手段が配備され、利用者から入力された入力情報に基づいて前記計量手段で計量された前記使用量を通知する使用量通知システムのプログラムであって、
コンピュータに、
前記使用量に関係するキーワードを予め複数記憶するステップと、
前記入力情報に対応する文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出するステップと、
一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報を予め複数記憶するステップと、
抽出された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する前記形態素を含む前記第二形態素情報を検索するステップと、
検索された前記第二形態素情報に基づいて、少なくとも一の前記キーワードが該第二形態素情報に含まれる場合には、前記計量手段で計量された前記使用量を利用者に通知するステップと
を有する処理を実行させるためのプログラム。
Metering means for measuring the amount of supply including power, gas or water is provided, and a usage notification system for notifying the usage measured by the meter based on input information input from a user. A program,
On the computer,
Storing in advance a plurality of keywords related to the usage amount;
Based on a character string corresponding to the input information, extracting at least one morpheme constituting the minimum unit of the character string as first morpheme information,
A step of storing a plurality of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof,
The extracted first morpheme information is compared with the respective second morpheme information, and the second morpheme information including the morpheme constituting the first morpheme information is searched from the respective second morpheme information. Steps and
When at least one of the keywords is included in the second morpheme information based on the retrieved second morpheme information, Program to execute processing.
請求項7に記載のプログラムであって、
前記第二形態素情報には、検索の基準となる符号が予め複数対応付けられ、前記各符号には、前記使用量に関係する内容がそれぞれに予め対応付けられ、
検索された前記第二形態素情報に基づいて、該第二形態素情報に対応付けられた前記各符号と、前記計量手段で計量された前記使用量とを照合し、該使用量と一致する前記符号を検索するステップと、
検索された前記符号に基づいて、該符号に対応付けられた前記内容を利用者に通知するステップと
を有する処理を実行させるためのプログラム。
The program according to claim 7, wherein
In the second morphological information, a plurality of codes serving as search criteria are associated in advance, and in each of the codes, contents related to the usage amount are associated in advance,
Based on the retrieved second morphological information, each code associated with the second morphological information is compared with the usage amount measured by the measuring unit, and the code matching the usage amount is compared. Searching for
Notifying a user of the content associated with the code based on the searched code.
請求項7又は請求項8のいずれかに記載のプログラムであって、
利用者から入力されるであろう入力情報又は利用者への回答内容に関連性のある形態素を示す談話範囲には、前記各第二形態素情報が予め対応付けられ、
抽出された前記第一形態素情報と前記各談話範囲とを照合し、該各談話範囲の中から、該第一形態素情報に含まれる前記形態素と一致する前記談話範囲を検索するステップと、
検索された前記談話範囲に基づいて、該談話範囲に対応付けられた前記各第二形態素情報と、抽出された前記第一形態素情報とを照合し、前記各第二形態素情報の中から、該第一形態素情報と一致する前記第二形態素情報を検索するステップと
を有する処理を実行させるためのプログラム。
A program according to claim 7 or claim 8,
Each of the second morphological information is previously associated with a discourse range indicating a morpheme relevant to the input information to be input from the user or the answer to the user,
Collating the extracted first morpheme information with each of the discourse ranges, and searching for the discourse range that matches the morpheme included in the first morpheme information from each of the discourse ranges;
Based on the retrieved discourse range, the second morpheme information associated with the discourse range is compared with the extracted first morpheme information, and from among the second morpheme information, Retrieving the second morpheme information that matches the first morpheme information.
JP2002287561A 2002-09-30 2002-09-30 USAGE NOTICE SYSTEM, USAGE NOTICE CONTROL METHOD AND PROGRAM Expired - Fee Related JP4141783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002287561A JP4141783B2 (en) 2002-09-30 2002-09-30 USAGE NOTICE SYSTEM, USAGE NOTICE CONTROL METHOD AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002287561A JP4141783B2 (en) 2002-09-30 2002-09-30 USAGE NOTICE SYSTEM, USAGE NOTICE CONTROL METHOD AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2004126790A true JP2004126790A (en) 2004-04-22
JP4141783B2 JP4141783B2 (en) 2008-08-27

Family

ID=32280294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002287561A Expired - Fee Related JP4141783B2 (en) 2002-09-30 2002-09-30 USAGE NOTICE SYSTEM, USAGE NOTICE CONTROL METHOD AND PROGRAM

Country Status (1)

Country Link
JP (1) JP4141783B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006171096A (en) * 2004-12-13 2006-06-29 Ntt Docomo Inc Continuous input speech recognition device and continuous input speech recognizing method
CN104577866A (en) * 2013-10-14 2015-04-29 国家电网公司 Tension stringing control method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006171096A (en) * 2004-12-13 2006-06-29 Ntt Docomo Inc Continuous input speech recognition device and continuous input speech recognizing method
CN104577866A (en) * 2013-10-14 2015-04-29 国家电网公司 Tension stringing control method and system

Also Published As

Publication number Publication date
JP4141783B2 (en) 2008-08-27

Similar Documents

Publication Publication Date Title
Bowden et al. Slugbot: Developing a computational model andframework of a novel dialogue genre
JP3997105B2 (en) Conversation control system, conversation control device
JP4279883B2 (en) Conversation control system, conversation control method, program, and recording medium recording program
JP2004258902A (en) Conversation controller, and conversation control method
JP4141783B2 (en) USAGE NOTICE SYSTEM, USAGE NOTICE CONTROL METHOD AND PROGRAM
JP2004258904A (en) Conversation controller, and conversation control method
JP4413486B2 (en) Home appliance control device, home appliance control method and program
JP2004258903A (en) Conversation controller, and conversation control method
JP4913850B2 (en) Information processing system and information processing method
JP4274760B2 (en) Map output device, map output method and program
JP4109964B2 (en) Information output device, information output method, and program
JP2004017269A (en) Robot controlling equipment, robot control process, and program
JP2004021937A (en) Article ejection equipment, article ejection control method, and program thereof
JP2004062685A (en) Information processing system, information processing method and program
JP4312443B2 (en) Information notification system, information notification control method and program
JP3927067B2 (en) Conversation control system, conversation control device, conversation control method, program, and recording medium recording program
JP4253487B2 (en) Information acquisition device
JP4116367B2 (en) Conversation control system, conversation control method, program
JP4205370B2 (en) Conversation control system, conversation control method and program
JP2004030323A (en) System and method for information transmission, and program
JP4402868B2 (en) Information acquisition apparatus, information acquisition method, and program
JP4316839B2 (en) Conversation control device and conversation control method
JP4434553B2 (en) Information processing system, information processing apparatus, information processing method, program, and recording medium recording the program
Papaioannou Designing coherent and engaging open-domain conversational AI systems
JP4751564B2 (en) Conversation control system, conversation control method, program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080107

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080321

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080410

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080520

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080611

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4141783

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 4

S631 Written request for registration of reclamation of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313631

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130620

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees