JP4109964B2 - Information output device, information output method, and program - Google Patents
Information output device, information output method, and program Download PDFInfo
- Publication number
- JP4109964B2 JP4109964B2 JP2002318748A JP2002318748A JP4109964B2 JP 4109964 B2 JP4109964 B2 JP 4109964B2 JP 2002318748 A JP2002318748 A JP 2002318748A JP 2002318748 A JP2002318748 A JP 2002318748A JP 4109964 B2 JP4109964 B2 JP 4109964B2
- Authority
- JP
- Japan
- Prior art keywords
- morpheme
- information
- sentence
- user
- morpheme information
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Machine Translation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、利用者から入力された入力情報に基づいて、所定の回答文を上記利用者に出力する情報出力装置、情報出力方法、プログラムに関する。
【0002】
【従来の技術】
従来、例えば、ユーザが自宅にいないときに、自宅に訪問者が訪れた場合、所定の装置は、訪問者を検出すると、以下の処理を行う。上記所定の装置は、例えば、不在である旨を示すメッセージを上記訪問者に出力する(例えば、特許文献1参照)。
【0003】
【特許文献1】
特開平7−99546号公報(図3参照)
【0004】
【発明が解決しようとする課題】
しかしながら、上記訪問者は、重要な用件のために、上記ユーザ宅を訪問する場合もある。このような場合、一律に、訪問者に不在である旨のメッセージが出力されることとなると、以下のような問題があった。
【0005】
例えば、訪問者が上記ユーザと連絡がとれないままになってしまうことがある。このため、ユーザは、重要な用件の詳細内容を知ることができないままとなってしまう場合がある。
【0006】
従って、訪問者が重要な用件で訪問したとき、例えば、訪問者がユーザに早く連絡がとれるような回答文が上記訪問者に出力されると、以下のようなユーザにとって都合の良い点がある。即ち、訪問者は、ユーザに早く連絡がとれるので、ユーザは、訪問者からすみやかに連絡を受けることが可能となる。これにより、ユーザは、早く、重要な用件の詳細内容を知ることができる。
【0007】
このため、訪問者が重要な用件で訪問したときには、例えば、訪問者がユーザに早く連絡がとれるような回答文を上記訪問者に出力することが望まれる。
【0008】
一方、訪問者が重要でない用件で訪問したときには、一般的に、ユーザは、早く訪問者から連絡を受ける必要がない。また、重要でない用件で訪問した訪問者から、早く連絡を受けてしまうと、ユーザは、重要でない用件のために、すみやかに対応しなければならない。このような事態は、ユーザにとって都合が悪い。このため、訪問者が重要でない用件で訪問したときには、訪問者に対して、訪問者からユーザが早く連絡を受けなくてすむような一般的なメッセージ情報を出力することが望まれる。
【0009】
従って、訪問者が重要な用件でユーザを訪問したのか否かに応じて、訪問者に出力する回答文を異なるようにすることができる情報出力装置の開発が望まれていた。
【0010】
この際、単に訪問者が用件を発話するだけで、情報出力装置は、訪問が重要であるのか否かを判定できると以下のような都合のよい点がある。即ち、訪問者は、重要な訪問であるか否かの情報を入力部により、入力しなくてすむので、訪問者の負担は軽減される。
【0011】
従って、訪問者が重要な用件でユーザを訪問したのか否かに応じて、訪問者に出力する回答文を異なるようにすることができるとともに、訪問者の負担を軽減できる情報出力装置の開発が望まれていた。
【0012】
本発明の目的は、訪問者(利用者)が重要な用件でユーザを訪問したのか否かに応じて、訪問者に出力する回答文を異なるようにすることができるとともに、訪問者の負担を軽減できる情報出力装置、情報出力方法、プログラムを提供することである。
【0013】
【課題を解決するための手段】
本願に係る発明は、利用者から入力された入力情報に基づいて、所定の回答文を出力する際に、キーワード記憶手段には、重要な用件に関連するキーワードが、予め複数記憶されており、所定の形態素を有する第二形態素情報には、前記複数のキーワードと関連づけられた第一内容文と、前記複数のキーワードと関連づけられていない第二内容文とが対応づけられており、形態素記憶手段には、前記第二形態素情報が予め複数記憶されており、前記入力情報に基づいて、文字列の最小単位を構成する形態素について1又は複数組み合わせてなる第一形態素情報を取得し、前記第一形態素情報に基づいて、少なくとも1つの前記キーワードが前記第一形態素情報に含まれているか否かを判定し、取得された前記第一形態素情報と、各第二形態素情報とを照合し、前記第一形態素情報が、第二形態素情報の各形態素を含む場合、前記第二形態素情報を、検索第二形態素情報として、検索し、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を利用者への回答文として取得するとともに、前記キーワードが前記第一形態素情報に含まれていないと判定された場合、前記検索第二形態素情報に対応づけられている第二内容文を利用者への回答文として取得することを特徴とするものである。
【0014】
また、本発明は、上記発明において、前記第二形態素情報には、前記複数のキーワードに関連づけられた複数の個人の識別情報が対応づけられており、前記複数の個人の識別情報には、第三内容文が、対応づけられており、利用者から入力された前記利用者の識別情報を取得し、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている複数の個人の識別情報のなかに、前記利用者の識別情報と一致する個人の識別情報があるか否かを判定し、前記利用者の識別情報と一致する個人の識別情報があると判定された場合、前記検索第二形態素情報に対応づけられている第三内容文を、前記利用者への回答文として取得し、前記利用者の識別情報と一致する個人の識別情報がないと判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を、前記利用者への回答文として取得することもできる。
【0015】
【発明の実施の形態】
[実施の形態1]
(会話制御システムの基本構成)
本発明に係る会話制御システムについて図面を参照しながら説明する。図1は、本実施形態に係る会話制御装置1を有する会話制御システムの概略構成図である。
【0016】
同図に示すように、会話制御装置1は、入力部100と、音声認識部200と、会話制御部300と、文解析部400と、会話データベース500と、出力部600と、音声認識辞書記憶部700とを備えている。
【0017】
尚、本実施形態では、説明の便宜上、利用者の発話内容(この発話内容は、入力情報の一種)に限定して説明するが、この利用者の発話内容に限定されるものではなく、キーボード等から入力された入力情報であってもよい。従って、以下に示す「発話内容」は、「発話内容」を「入力情報」に置き換えて説明することもできる。
【0018】
同様にして、後述の説明では、説明の便宜上、「発話文のタイプ」(発話種類)に限定して説明するが、この「発話文のタイプ」に限定されるのではなく、キーボードなどから入力された入力情報の種類を示す「入力種類」であってもよい。従って、以下に示す「発話文のタイプ」(発話種類)は、「発話種類」を「入力種類」に置き換えて説明することもできる。
【0019】
入力部100は、利用者からの入力情報を取得する取得手段であり、本実施形態では、マイクロホン、キーボード等が挙げられる。この入力部100は、利用者から入力された入力情報に基づいて、入力情報を示す文字列を特定する文字認識手段でもある。
【0020】
ここで、入力情報とは、キーボード等を通じて入力された文字、記号、音声等を意味するものである。具体的に、入力部100は、利用者の入力情報(音声以外)を取得し、取得した入力情報を会話制御部300に出力する。また、利用者からの発話内容(この発話内容は、音声からなるものであり、入力情報の一種である)をマイクロホンなどで取得した入力部100は、取得した発話内容を構成する音声を音声信号として音声認識部200に出力する。
【0021】
音声認識部200は、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定する文字認識手段である。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。音声認識辞書記憶部700は、標準的な音声信号に対応する辞書を格納しているものである。
【0022】
前記文解析部400は、入力部100又は音声認識部200で特定された文字列を解析するものであり、本実施形態では、図2に示すように、形態素抽出部410と、文節解析部420と、文構造解析部430と、発話種類判定部440と、形態素データベース450と、発話種類データベース460とを有している。
【0023】
形態素抽出部410は、入力部100又は音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出する形態素抽出手段である。
【0024】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列の中から各形態素を抽出する。ここで、形態素とは、本実施形態では、文字列に現された語構成の最小単位を意味するものとする。この語構成の最小単位としては、図3に示すように、例えば、名詞、形容詞、動詞などの品詞が挙げられる。各形態素は、本実施形態では、m1、m2、・・・、mlと表現する。
【0025】
即ち、形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0026】
文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式に変換する変換手段である。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0027】
ここで、文節形式とは、本実施形態では、日本語文法において、自立語又は自立語に一つ以上の付属語がついた文、或いは、日本語文法の意味を崩さない程度に文字列をできるだけ細かく区切った一区切りの文を意味する。この文節は、本実施形態では、p1、p2、・・・pkと表現する。
【0028】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が(m2)・は(m4)・を(m5)・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。同図に示す「t」は、転置を意味する。
【0029】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0030】
文構造解析部430は、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類する分類手段である。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0031】
ここで、「格構成」とは、文節における実質的な概念を示す格(属性)を意味するものであり、本実施形態では、例えば、主語・主格を意味するサブジェクト(主体格)、対象を意味するオブジェクト(対象格)、動作を意味するアクション、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション等が挙げられる。本実施形態では、サブジェクト、オブジェクト、アクションの三要素の「格」(格構成)に対応付けられた各形態素を第一形態素情報とする。
【0032】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0033】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0034】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を反射的判定部320に出力する。
【0035】
発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容(入力情報)の種類を示す発話種類(入力種類)を特定する種類特定手段である。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0036】
ここで、「発話文のタイプ」は、本実施形態では、図6に示すように、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、反発文(N;Negation)などから構成されるものである。
【0037】
陳述文とは、利用者の意見又は考えなどからなる文を意味するものであり、本実施形態では、図6に示すように、例えば”佐藤が好きだ”などの文が挙げられる。感想文とは、利用者が抱く感想からなる文を意味するものである。場所文とは、場所的な要素からなる文を意味するものである。
【0038】
結果文とは、話題に対して文が結果の要素を含む文から構成されるものを意味する。時間文とは、話題に関わる時間的な要素を含む文から構成されるものを意味する。
【0039】
条件文とは、一つの発話を話題と捉えた場合に、話題の前提、話題が成立している条件や理由などの要素を含む文から構成されるものを意味する。反発文とは、発話相手に対して反発するような要素を含む文から構成されるものを意味する。各「発話文のタイプ」についての例文は、図6に示す通りである。
【0040】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。文要素とは、文字列の種類を特定するための分の種別を意味し、文要素は、本実施形態では、上記説明した定義句(〜のことだ)などが挙げられる。
【0041】
ここで、上記発話種類データベース460は、図7に示すように、定義句(例えば、〜のことだ)に関係する辞書を備えた定義表現事例辞書、肯定句(例えば、賛成、同感、ピンポーン)に関係する辞書を備えた肯定事例辞書、結果句(例えば、それで、だから)に関係する辞書を備えた結果表現事例辞書、挨拶句(例えば、こんにちは)に関係する辞書を備えた挨拶事例辞書、否定句(例えば、馬鹿言うんじゃないよ、反対)に関係する辞書を備えた否定事例辞書などから構成され、各辞書は、「発話文のタイプ」と関連付けられている。
【0042】
これにより、発話種類判定部440は、文節と発話種類データベース460に格納されている各辞書とを照合し、文節の中から各辞書に関連する文要素を抽出し、抽出した文要素に関連付けられた判定の種類を参照することで、「発話文のタイプ」を判定することができる。
【0043】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0044】
前記会話データベース500は、一つの文字、複数の文字列又はこれらの組み合わせからなる各形態素を示す第二形態素情報と、発話内容に対する利用者への回答内容とを予め相互に関連付けて複数記憶する回答記憶手段(談話記憶手段)である。また、会話データベース500は、複数の回答内容に対応付けられた各回答内容の種類を示す回答種類を、第二形態素情報に関連付けて予め複数記憶する回答記憶手段(談話記憶手段)でもある。
【0045】
更に、会話データベース500は、利用者から入力されるであろう入力内容又は利用者への回答内容に関連性のある範囲を構成する形態素を示す談話範囲(キーワード)を予め複数記憶する談話記憶手段でもある。この談話範囲(キーワード)には、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報が複数関連付けられ、各第二形態素情報には、利用者への回答内容がそれぞれに関連付けてられている。
【0046】
更にまた、会話データベース500は、第二形態素情報を構成する各要素を、主格からなる主体各、目的格からなる対象格などの属性に分類して記憶する回答記憶手段(談話記憶手段)でもある。
【0047】
この会話データベース500は、図8に示すように、本実施形態では、大きく分けると、利用者から発話されるであろう発話内容又は利用者への回答内容について関連性のある範囲を意味する談話範囲(ディスコース)と、利用者が発話している内容に最も密接な関連性のある範囲を意味する話題(トピック)とから構成されている。同図に示すように、”談話範囲”は、本実施形態では、”話題”の上位概念として位置付けるものとする。
【0048】
各談話範囲は、図9に示すように、階層構造となるように構成することができる。同図に示すように、例えば、ある談話範囲(映画)に対する上位概念の談話範囲(娯楽)は、上の階層構造に位置するようにし、談話範囲(映画)に対する下位概念の談話範囲(映画の属性、上映映画)は、下の階層構造に位置するようにすることができる。即ち、各談話範囲は、本実施形態では、他の談話範囲との間で上位概念、下位概念、同義語、対義語の関係が明確となる階層位置に配置することかできる。
【0049】
上述の如く、談話範囲は、各話題から構成されるものであり、本実施形態では、例えば、談話範囲がA映画名であれば、A映画名に関係する複数の話題を含んでいる。
【0050】
この話題は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素、即ち、利用者から発話されるであろう発話内容を構成する各形態素を意味するものであり、本実施形態では、サブジェクト(主体格)、オブジェクト(対象格)、アクションの「格」(属性)に対応付けられた各形態素からなるものである。これら三要素に対応付けられた各形態素は、本実施形態では、話題タイトル(この話題タイトルは、”話題”の下位概念に相当するものである)(第二形態素情報)と表現することにする。
【0051】
尚、話題タイトルには、上記三要素に対応付けられた各形態素に限定されるものではなく、他の「格」、即ち、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション、条件を意味するコンディション、感想を意味するインプレッション、結果を意味するエフェクトなどに対応付けられた各形態素を有してもよい。
【0052】
この話題タイトル(第二形態素情報)は、本実施形態では、会話データベース500に予め格納されているものであり、上記第一形態素情報(利用者が発話した発話内容から導かれたもの)とは区別されるものである。
【0053】
例えば、話題タイトルは、談話範囲が”A映画名”である場合には、図10に示すように、サブジェクト(A映画名)、オブジェクト(監督)、アクション(素晴らしい){これは、”A映画名の監督は素晴らしい”を意味する}から構成されるものである。
【0054】
話題タイトルのうち、「格構成」(サブジェクト、オブジェクト、アクションなど)に対応付けられた形態素がない場合は、その部分については、本実施形態では、”*”を示すことにする。
【0055】
例えば、{A映画名って?}の文を話題タイトル(サブジェクト;オブジェクト;アクション)に変換すると、{A映画名って?}の文のうち、”A映画名”がサブジェクトとして特定することができるが、その他”オブジェクト””アクション”は文の要素になっていないので、話題タイトルは、”サブジェクト”(A映画名);”オブジェクト”なし(*);”アクション”なし(*)となる(図10参照)。
【0056】
回答文とは、利用者に対して回答する回答文(回答内容)を意味するものであり、本実施形態では、各話題タイトル(第二形態素情報)に関連付けられている(図8参照)。回答文は、本実施形態では、本実施形態では、図11に示すように、利用者から発話された発話文のタイプに対応した回答をするために、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、否定文(N;Negation)などのタイプ(回答種類)に分類されている。
【0057】
即ち、各回答文は、図12に示すように、例えば、談話範囲(佐藤){下位概念;ホームラン、上位概念;草野球、同義語;パンダ佐藤・佐藤選手・パンダ}及び各話題タイトルと関連付けられている。
【0058】
同図に示すように、例えば、話題タイトル1−1が{(佐藤;*;好きだ):これは、上述の如く(サブジェクト;オブジェクト;アクション)の順番からなるものである。この順番は、以下同様とする}である場合は、その話題タイトル1−1に対応する回答文1−1は、(DA;陳述肯定文”佐藤が好きです”)、(IA;感想肯定文”佐藤がとても好きです”)、(CA;条件肯定文”佐藤のホームランはとても印象的だからです”)、(EA;結果肯定文”いつも佐藤の出る試合をテレビ観戦してしまいます”)、(TA;時間肯定文”実は、甲子園での5打席連続敬遠から好きになっています”)、(LA;場所肯定文”打撃に立ったときの真剣な顔が好きですね”)、(NA;反発肯定文”佐藤を嫌いな人とは話したくないですね、さよなら”)などが挙げられる。
【0059】
前記会話制御部300は、本実施形態では、図2に示すように、管理部310と、反射的判定部320と、鸚鵡返し判定部330と、談話範囲決定部340と、省略文補完部350と、話題検索部360と、回答文検索部370とを有している。
【0060】
前記管理部310は、会話制御部300の全体を制御するものである。具体的に、入力部100又は音声認識部200から文字列が入力された管理部310は、入力された文字列を文字列信号として形態素抽出部410に出力する。また、管理部310は、回答文検索部370で検索された回答文を出力部600に出力する。
【0061】
反射的判定部320は、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索する定型取得手段である。
【0062】
ここで、定型内容とは、利用者からの発話内容に対して定型的な内容を回答するための反射要素情報を意味し、この反射要素情報は、反射要素データベース801(定型記憶手段)に予め複数記憶されている。反射要素情報としては、本実施形態では、図13に示すように、例えば”おはよう”、”こんにちは”、”こんばんわ”、”やあ”などの「挨拶的要素」、「なるほど」、「本当?」などの「定型的要素」などが挙げられる。
【0063】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0064】
即ち、反射要素情報をD1、第一形態素情報をWとすると、反射的判定部320は、W∩D1≠φ(φ;空集合)の関係が成立していると判断した場合は、上記反射的な回答を行うための処理を行う。
【0065】
例えば、利用者が”おはよう”という発話内容を発した場合には、反射的判定部320は、発話内容”おはよう”と各反射要素情報とを照合し、各反射要素情報の中から、発話内容”おはよう”を含む(と一致する)反射要素情報”おはよう”を検索し、検索した反射要素情報”おはよう”を管理部310に出力する。
【0066】
反射的判定部320は、各反射要素情報の中から、発話内容を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0067】
鸚鵡返し判定部330は、形態素抽出部420で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の回答内容とを照合し、現在の第一形態素情報が過去の回答内容に含まれる場合には、合意内容を取得する定型取得手段である。
【0068】
ここで、鸚鵡返しとは、本実施形態では、利用者の発話内容をそのまま(又はそれに近い内容を)言い返すことを意味する。鸚鵡返し要素は、本実施形態では、直前に会話制御装置1から出力された回答内容を構成する第一形態素情報などからなるのもであり、図14に示すように、例えば、”馬は美しい”(馬;*;美しい)、”佐藤が好きです”(佐藤;*;好きです)などが挙げられる。
【0069】
また、鸚鵡返し要素データベース802は、利用者から入力された入力情報に合意するための合意内容を予め記憶する合意記憶手段でもある。合意内容には、例えば、前回、利用者から入力された入力情報(利用者により前回の入力情報が”A映画名の監督はS氏ですか”である場合には、合意内容としては、”A映画名の監督はS氏です”)、又は ”その通りです”、”本当です”などが挙げられる。
【0070】
具体的に、反射的判定部320から話題検索命令信号が入力された鸚鵡返し判定部330は、各鸚鵡返し要素毎に、入力された話題検索命令信号に含まれる第一形態素情報と鸚鵡返し要素を構成する各形態素とを照合し、鸚鵡返し要素の中に第一形態素情報が含まれているかを判断する(図14参照)。
【0071】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、合意内容を取得し、取得した合意内容からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回の回答文など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0072】
例えば、会話制御装置1が回答文として”A映画名の監督はS氏です”(A映画名の監督;S氏;*)(この順番は、サブジェクト;オブジェクト;アクションの順番、以下同様とする)を出力し、その後、利用者が出力された回答内容に対して”A映画名の監督はS氏ですか”(A映画名の監督;S氏;*)と発話した場合には、鸚鵡返し判定部330は、利用者の第一形態素情報(A映画名の監督;S氏;*)と回答文の各形態素(A映画名の監督;S氏;*)とが一致しているので、利用者は回答内容に対して鸚鵡返しを行っていると断定し、記憶されている合意内容”その通りです”などを取得し、取得した合意内容を出力する。
【0073】
また、鸚鵡返し判定部330は、形態素抽出部410で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得する定型取得手段でもある。
【0074】
具体的には、利用者が”馬は美しい”という発話内容を発話し、会話制御装置1が回答内容として”馬は躍動感があって良いですね”の内容を出力した場合に、後に利用者が”馬は美しい”という発話内容を繰り返したときは、鸚鵡返し判定部330は、現在の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}と前の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}とが一致しているので、利用者は会話制御装置1からの回答内容”馬は躍動感があって良いですね”については全く聞いていないものと断定することができる。
【0075】
この場合、鸚鵡返し判定部330は、利用者が会話制御装置1からの回答内容を聞いていないので、記憶された反発内容(例えば、同じ内容を繰り返さないでよ”など)取得し、取得した反発内容を出力することができる。
【0076】
一方、鸚鵡返し判定部330は、第一形態素情報が前回の回答文の内容と同一、又は第一形態素情報が前回の第一形態素情報と同一でないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0077】
尚、上記の鸚鵡返し判定部330は、「会話制御装置1の回答内容」に対して利用者が鸚鵡返しを行った場合の処理を示してきたが、更に以下の処理も行うことができる。例えば、出力部600が”馬は美しい”という回答文を出力した場合、この回答文に対して利用者が”どうして馬は美しいの?”、”どうして美しいの?”、又は”どうして?”と発話した場合に対して行う鸚鵡返し判定部330の処理である。
【0078】
この場合、鸚鵡返し判定部330は、出力した回答文S”馬は美しい”と利用者からの発話内容W(”どうして馬は美しいの?(疑問文)”又は”どうして美しいの?(疑問文)”)とを照合すると、(W−c)⊂S、S≠φ、c≠φ(このcは、Wの発話種類を意味し、この発話種類は、後述する発話種類判定部440で判定されるものである。発話種類には、後述するように、例えば、疑問文などが挙げられる。)の関係が成立するので、”条件付”の鸚鵡返し処理(回答内容に対して利用者が疑問文付きの鸚鵡返しを行った場合の処理)を行う。
【0079】
”条件付”の鸚鵡返し処理としては、例えば、会話制御装置1が”馬は美しいね”の回答文を出力した場合に、上記利用者が”どうして馬は美しいの?”の発話内容を発したときは、利用者の疑問等を解消するため、鸚鵡返し判定部330が”だって馬は美しいじゃない”などの回答文を鸚鵡返し要素データベース802の中から取得し、取得した回答文を管理部310に出力する処理を行う。
【0080】
談話範囲決定部340は、文節解析部420で抽出された第一形態素と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報を含む談話範囲を検索する談話検索手段である。
【0081】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された談話検索命令信号に基づいて、利用者の談話範囲を決定する。即ち、談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0082】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0083】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0084】
これにより、後述する話題検索部360は、談話範囲決定部340で決定された”談話範囲”に属する各「話題タイトル」と、文構造解析部430で特定された第一形態素情報とを照合することができるので、”全て”の「話題タイトル」(第二形態素情報)と第一形態素情報とを照合する必要がなくなり、後述する回答文検索部370は、最終的な回答文を検索するまでの時間を短縮することができる。
【0085】
尚、談話範囲決定部340は、上記の如く、第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報の形態素が含まれていれば、その形態素を談話範囲として決定していたが、これに限定されるものではなく、鸚鵡返し判定部330で直前に検索された鸚鵡返し要素の形態素、又は利用者が発話した発話内容を構成する形態素を談話範囲として決定しても良い。後述する省略文補完部350は、上記談話範囲決定部340で決定された談話範囲を用いて、その談話範囲を、形態素が省略されている第一形態素情報に付加することができる。
【0086】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索する属性検索手段である。また、省略文補完部350は、検索した属性に基づいて、属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加する形態素付加手段でもある。
【0087】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0088】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、談話範囲決定部340で決定された談話範囲(A映画名;このA映画名は映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0089】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0090】
これにより、第一形態素情報が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、第一形態素情報がある談話範囲に属している場合には、例えば、その談話範囲D(A映画名)を第一形態素情報W(監督;*;*)に付加し、第一形態素情報をW’(A映画名の監督;*;*){A映画名の監督は?}として扱うことができるので、利用者の発話内容が省略文である場合であっても、前に決定された談話範囲に基づいて省略文を補完することができ、省略文を明確にすることができる。
【0091】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素を補完することができるので、話題検索部360は、補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で取得された「話題タイトル」に基づいて利用者の発話内容により適した回答内容を出力することができる。
【0092】
話題検索部360は、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索する第一検索手段である。
【0093】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0094】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0095】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0096】
回答文検索部370は、話題検索部360で検索された第二形態素情報(話題タイトル)に基づいて、第二形態素情報に関連付けられた回答文を取得する回答取得手段である。また、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索する第二検索手段でもある。
【0097】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0098】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0099】
回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する。
【0100】
出力部600は、回答文検索部370で取得された回答文を出力する出力手段であり、本実施形態では、例えば、スピーカ、ディスプレイなどが挙げられる。具体的に、管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0101】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。図15は、本実施形態に係る会話制御方法の手順を示すフロー図である。
【0102】
先ず、入力部100が、利用者からの発話内容を取得するステップを行う(S101)。具体的に入力部100は、利用者の発話内容を構成する音声を取得し、取得した音声を音声信号として音声認識部200に出力する。また、入力部100は、利用者から入力された入力情報(音声以外)に基づいて、入力情報(音声以外)に対応する文字列を特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0103】
次いで、音声認識部200が、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定するステップを行う(S102)。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0104】
そして、形態素抽出部410が、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出するステップを行う(S103)。
【0105】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0106】
そして、文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめるステップを行う(S104)。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0107】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。
【0108】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0109】
その後、文構造解析部430が、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類するステップを行う(S105)。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0110】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0111】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0112】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部360に出力する。
【0113】
次いで、発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定するステップを行う(S106)。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0114】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。
【0115】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0116】
次いで、反射的判定部320が、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索するステップを行う(S107;反射的処理)。
【0117】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報(定型内容)とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0118】
反射的判定部320は、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0119】
次いで、鸚鵡返し判定部330が、形態素抽出部410で抽出された第一形態素情報と各鸚鵡返し要素を照合し、各鸚鵡返し要素の中から、第一形態素情報を含む鸚鵡返し要素を検索するステップを行う(S108;鸚鵡返し処理)。
【0120】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、第一形態素情報を含む鸚鵡返し要素を取得し、取得した鸚鵡返し要素からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回出力された回答文、前回利用者が発話した発話内容など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0121】
一方、鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0122】
そして、談話範囲決定部340が、文節解析部420で抽出された第一形態素と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報を含む談話範囲を検索(決定)するステップを行う(S109)。
【0123】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0124】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0125】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0126】
次いで、省略文補完部350が、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索するステップを行う。その後、省略文補完部350が、検索した形態素を含まない属性に基づいて、その属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加するステップを行う(S110;省略文を補完)。
【0127】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0128】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、前に談話範囲決定部340で決定された談話範囲(A映画名;このA映画名とは映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲の形態素(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0129】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、第一形態素情報Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0130】
次いで、話題検索部360が、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索するステップを行う(S111)。
【0131】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0132】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0133】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0134】
そして、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に関連付けられている回答文を取得するステップを行う(S112)。
【0135】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0136】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0137】
次いで、回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する(S113)。管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0138】
(会話制御装置及び会話制御方法による作用及び効果)
上記構成を有する本願に係る発明によれば、反射的判定部320が、利用者から発話された発話内容を構成する第一形態素情報と予め記憶された各定型内容とを照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索することができるので、反射的判定部320は、例えば第一形態素情報が”こんにちは”などの定型内容である場合には、この定型内容と同一の定型内容”こんにちは”等を回答することができる。
【0139】
また、反射的判定部320は、利用者の発話内容が定型内容である場合には、その定型内容(挨拶など)を回答するので、利用者は、最初に、会話制御装置1との間で意思の疎通をしているような感覚を味わうことができる。
【0140】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の回答内容とを照合し、現在の第一形態素情報が過去の回答内容に含まれていない場合には、予め記憶してある合意内容を取得することができるので、鸚鵡返し判定部330は、利用者から現在入力された入力情報と過去の回答内容とが一致していれば、利用者が過去の回答内容に対して鸚鵡返し(利用者が回答内容に対して聞き直していること)の入力情報を入力したものと断定することができる。
【0141】
この場合、鸚鵡返し判定部330は、利用者が過去の回答内容に対して鸚鵡返しを行っているので、記憶されている合意内容を取得し、取得した合意内容(例えば、”その通りです”など)を出力することができる。これにより、利用者は、会話制御装置1から出力された回答内容の意味が分からなければ、もう一度聞き直して、再度回答内容を聞き直すことができるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0142】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得することができるので、鸚鵡返し判定部330は、前回入力された入力情報が今回入力された入力情報に含まれている場合には、利用者が前の入力情報と同一の内容を反復して入力したものと判断することができ、利用者が会話制御装置からの回答内容に対して適切に回答していないものと断定することができる。
【0143】
この場合、鸚鵡返し判定部330は、利用者が前回の回答内容に対して適切に回答していないので、利用者に対して反発するため、記憶されている反発内容を取得し、取得した反発内容を出力する。これにより、利用者は、会話制御装置1からの回答内容に対して適切な入力情報を入力しなければ、会話制御装置1から反発内容が出力されるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0144】
また、話題検索部360は、第一形態素情報と近似する第二形態素情報を検索するには、”談話範囲”に属する各第二形態素情報と第一形態素情報とを照合すればよく、”全て”の第二形態素情報と第一形態素情報とを照合する必要がないので、第一形態素情報と近似している第二形態素情報を検索するまでの時間を短縮することができる。
【0145】
この結果、話題検索部360が、第一形態素情報と近似している第二形態素情報を短時間で検索(ピンポイント検索)することができるので、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて第二形態素情報に関連付けられている回答文を短時間で取得することができ、会話制御装置1は、利用者からの発話内容に対して迅速に回答することができる。
【0146】
また、話題検索部360が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者の発話内容を構成する要素)を含む第二形態素情報を検索し、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得することができるので、回答文検索部370は、利用者の発話内容を構成する各形態素(第一形態素情報)に基づいて、各形態素により構築される意味空間(主体、対象等)を考慮し、かかる意味空間に基づいて予め作成された回答内容を取得することができることとなり、単に発話内容の全体をキーワードとして、そのキーワードに関連付けられた回答内容を取得するよりも、より発話内容に適した回答内容を取得することができる。
【0147】
また、話題検索部360は、第一形態素情報を含む第二形態素情報を検索するので、利用者の発話内容と完全に一致する第二形態素情報を検索する必要がなく、会話制御装置1を開発する開発者は、利用者から発話されるであろう発話内容に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0148】
更に、回答文検索部370が、”談話範囲”に属する各第二形態素情報に関連付けられた回答種類(陳述、肯定、場所、反発など)の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答内容を取得することができるので、会話制御装置1は、利用者の会話内容を構成する発話種類、例えば、利用者が単に意見を述べたもの、利用者が抱く感想からなるもの、利用者が場所的な要素を述べたものなどに基づいて、複数の回答内容の中から利用者の発話種類にマッチした回答内容を取得することができることとなり、該当する利用者に対してより最適な回答をすることができる。
【0149】
更にまた、回答文検索部370は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報に関連付けられた回答種類の中から、利用者の発話種類と一致する回答種類を検索(ピンポイント検索が可能)するだけでよいので、”全て”の第二形態素情報に関連付けられた回答種類と利用者の発話種類とを逐一検索する必要がなくなり、利用者の発話種類に対応する最適な回答内容を短時間で取得することができる。
【0150】
最後に、省略文補完部350は、利用者の発話内容を構成する第一形態素情報が省略文であり、日本語として明解でない場合であっても、第一形態素情報がある談話範囲に属している場合には、その談話範囲を第一形態素情報に付加し、省略文からなる第一形態素情報を補完することができる。
【0151】
これにより、省略文補完部350は、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素(談話範囲を構成する形態素など)を補完することができるので、話題検索部360は、省略文補完部350で補完された補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な第二形態素情報を取得することができ、回答文検索部370は、話題検索部360で取得された第二形態素情報に基づいて利用者の発話内容により適した回答内容を出力することができる。
【0152】
この結果、会話制御装置1は、利用者からの入力情報が省略文であったとしても、ニューロネットワーク、AI知能などの機能を用いることなく、過去の検索結果を通じて、その省略文が何を意味するのかを推論することができ、会話制御装置1の開発者は、ニューロネットワーク、AI知能を搭載する必要がないので、会話制御装置1のシステムをより簡便に構築することができる。
【0153】
[変更例]
尚、本発明は、上記実施形態に限定されるものではなく、以下に示すような変更を加えることができる。
【0154】
(第一変更例)
本変更例においては、会話データベース500は、複数の形態素の集合からなる集合群の全体を示す要素情報を、集合群に関連付けて複数記憶する要素記憶手段であってもよい。更に、形態素抽出部410は、文字列から抽出した形態素と各集合群とを照合し、各集合群中から、抽出された形態素を含む集合群を選択し、選択した集合群に関連付けられた要素情報を第一形態素情報として抽出してもよい。
【0155】
図16に示すように、利用者が発話した文字列に含まれる各形態素には、類似しているものがある。例えば、図16に示すように、集合群の全体を示す要素情報を「贈答」とすると、「贈答」は、プレゼント、贈り物、御歳暮、御中元、お祝いなど(集合群)と相互に類似しているので、形態素抽出部410は、「贈答」に類似する形態素(上記のプレゼントなど)がある場合には、その類似する形態素については、「贈答」として取り扱うことができる。
【0156】
即ち、形態素抽出部410は、例えば、文字列から抽出した形態素が「プレゼント」である場合には、図16に示すように、「プレゼント」を代表する要素情報が「贈答」であるので、上記「プレゼント」を「贈答」に置き換えることができる。
【0157】
これにより、形態素抽出部410が相互に類似する形態素を整理することができるので、会話制御装置を開発する開発者は、相互に類似した各第一形態素情報から把握される意味空間に対応した第二形態素情報及び第二形態素情報に関係する回答内容を逐一作成する必要がなくなり、結果的に、記憶部に格納させるデータ量を低減させることができる。
【0158】
(第二変更例)
図17に示すように、本変更例においては、割合計算部361と、選択部362とを話題検索部360に備えてもよい。
【0159】
割合計算部361は、形態素抽出部410で抽出された第一形態素情報と各第二情報とを照合し、各第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算する計算手段である。
【0160】
具体的に、文構造解析部430から話題検索命令信号が入力された割合計算部361は、図17に示すように、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲に属する各話題タイトル(第二形態素情報)とを照合し、各話題タイトル毎に、それぞれの話題タイトルの中に、第一形態素情報が占める割合を計算する。
【0161】
例えば、図18に示すように、利用者から発話された発話文を構成する第一形態素情報が(佐藤;*;好きだ){佐藤は好きだ}である場合は、割合計算部361は、「格構成」に属する各形態素(佐藤;*;好きだ)と話題タイトルに含まれる各形態素(佐藤;*;好きだ)とを照合し、上記話題タイトルに、「格構成」に属する各形態素(佐藤;*;好きだ)が含まれる割合を、100%であると計算する。割合計算部361は、これらの計算を話題タイトル毎に行い、計算した各割合を割合信号として選択部362に出力する。
【0162】
選択部362は、割合計算部361で各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択する選択手段である。
【0163】
具体的に、割合計算部361から割合信号が入力された選択部362は、入力された割合信号に含まれる各割合(「格構成」の要素/「話題タイトル」の要素×100)の中から、例えば割合の高い話題タイトルを選択する(図18参照)。割合の高い話題タイトルを選択した選択部362は、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。回答文検索部370は、選択部362で選択された話題タイトルに基づいて、話題タイトルに関連付けられた回答文を取得する。
【0164】
これにより、選択部362が、各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算し、各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することができるので、選択部362は、例えば、第一形態素情報(利用者の発話内容を構成するもの)が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から把握される意味空間を踏襲した第二形態素情報をより的確に取得することができ、結果的に、回答文検索部370は、利用者の発話内容に対して最適な回答をすることができる。
【0165】
また、選択部362は、複数の話題タイトルの中から、割合計算部361で計算された割合の高い話題タイトルを選択することができるので、利用者の発話文に含まれる「格構成」に属する各形態素と会話データベース500に格納されている各話題タイトルとが完全に一致しなくても、「格構成」に属する各形態素に密接する話題タイトルを取得することができる。
【0166】
この結果、選択部362が第一形態素情報を構成する「格構成」に密接する話題タイトルを取得することができるので、会話制御装置1を開発する開発者は、第一形態素情報を構成する「格構成」と完全に一致する話題タイトルを会話データベース500に逐一格納する必要がなくなるので、会話データベース500の容量を低減させることができる。
【0167】
更に、割合計算部361は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算するので、”全て”の第二形態素情報に対して第一形態素情報が占める割合を計算する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答内容を迅速に出力することができる。
【0168】
尚、割合計算部361は、分類された各属性に属する第一形態素情報の各形態素と、予め記憶された各属性に属する各第二形態素情報の各形態素とを各属性毎に照合し、各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の各形態素を含む第二形態素情報を検索する第一検索手段であってもよい。
【0169】
具体的に、話題検索命令信号が入力された割合計算部361は、入力された話題検索命令信号に含まれる「格構成」の各「格」(サブジェクト;オブジェクト;アクション)毎に、その「格」に属する各形態素と、同一の「格」からなる話題タイトルの「格」に属する各形態素とを照合し、互いの「格」を構成する形態素が同一か否かを判定する。
【0170】
例えば、図19に示すように、割合計算部361は、「格構成」の「格」の形態素が(犬;人;噛んだ){犬が人を噛んだ}である場合は、それらの形態素”犬”、”人”、”噛んだ”と、それらの形態素を構成する「格」と同一の「格」からなる話題タイトルの形態素”犬”、”人”、”噛んだ”とを照合し、話題タイトルを構成する各形態素”犬”、”人”、”噛んだ”のうち、各形態素に対応する「格」と同一の「格」からなる「格構成」の形態素”犬”、”人”、”噛んだ”と一致している割合を算出(100%)する。
【0171】
もし、話題タイトルを構成する要素が(人;犬;噛んだ){人が犬を噛んだ}である場合には、割合計算部361は、上記と同様の手順により、二つの格に属する形態素が異なるので、「格構成」を構成する形態素と「話題タイトル」との「格」毎の一致度を33%であると算出する(図19参照)。
【0172】
割合を計算した割合計算部361は、各割合の中から、割合の高い話題タイトルを選択し、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0173】
これにより、割合計算部361が、分類された各「格構成」(主体格、対象格など)に属する第一形態素情報の各形態素と、予め記憶された話題タイトルとを各「格」毎に照合し、各話題タイトルの中から、少なくとも一の「格」に第一形態素情報の各形態素を含む第二形態素情報を検索することができるので、割合計算部361は、通常の語順とは異なるものから構成される発話内容、例えば”人が犬を噛む”である場合には、主体格の形態素が”人”、対象格の形態素が”犬”であることから、その各「格」と一致する第二形態素情報を検索することができ、その第二形態素情報(人;犬;噛む)に関連付けられている回答内容{”本当に?”又は”意味がよくわかんないよ”など}を取得することができる。
【0174】
即ち、割合計算部361は、識別が困難な発話内容、例えば”人が犬を噛む”と”犬が人を噛む”とを識別することができるので、その識別した発話内容に最適な回答、前者については例えば”本当に?”、後者については例えば”大丈夫?”をすることができる。
【0175】
また、割合計算部361は、”談話範囲”に属する各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の形態素を含む第二形態素情報を検索すればよいので、”全て”の第二形態素情報の中から、一の第二形態素情報を取得する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、会話制御装置1は、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答内容を迅速に出力することができる。
【0176】
尚、選択部362は、予め定められた優先順位に従って各話題タイトルの中から、一の話題タイトルを選択してもよい。この優先順位とは、話題タイトルとして選出されるための優先度を意味するものである。この優先順位は、開発段階で開発者が予め定めるものである。
【0177】
(第三変更例)
図20に示すように、本変更例においては、上記実施形態及び各変更例に限定されるものではなく、会話制御装置1a,1bにある通信部800と、通信ネットワーク1000を介してデータの送受信をするための通信部900と、通信部900に接続された各会話データベース500b〜500dと、サーバ2a〜2cとを備えてもよい(会話制御システム)。
【0178】
ここで、通信ネットワーク1000とは、データを送受信する通信網を意味するものであり、本実施形態では、例えば、インターネットなどが挙げられる。尚、本変更例では、便宜上、会話データベース500b〜500d、サーバ2a〜2cを限定しているが、これに限定されるものではなく、更に他の会話データベースを設けてもよい。
【0179】
これにより、会話制御部300は、会話制御装置1aの内部に配置してある会話データベース500aのみならず、その他の会話制御装置1b、他の会話データベース500b〜500d、サーバ2a〜2cをも参照することができるので、例えば、会話データベース500aの中から、話題検索命令信号に含まれる「格構成」に属する各形態素(第一形態素情報)と関連する談話範囲等を検索することができない場合であっても、その他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cを参照することにより、上記「格構成」と関連する談話範囲等を検索することができ、利用者の発話文により適した回答文を検索することができる。
【0180】
(第四変更例)
文構造解析部430は、特定した第一形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。回答文検索部370は、検索した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。
【0181】
談話範囲決定部340は、検索した談話範囲を会話データベース500に記憶するものであってもよい。話題検索部360は、検索した第二形態素情報を会話データベース500に記憶するものであってもよい。
【0182】
上記第一形態素情報と、第二形態素情報と、第一形態素情報又は第二形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した談話範囲とは、それらを相互に関連付けて履歴形態素情報として会話データベース500又は鸚鵡返し要素データベース802に記憶することができる。
【0183】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど;格構成)の中から、形態素を含まない属性を検索し、検索した属性に基づいてその属性に、会話データベース500又は鸚鵡返し要素データベース802に記憶された履歴形態素情報を付加する。
【0184】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文(例えば、サブジェクト、オブジェクト、又はアクションに所定の形態素を有しないなど)である場合には、会話データベース500又は鸚鵡返し要素データベース802に記憶されている履歴形態情報を、第一形態素情報に付加する。
【0185】
即ち、履歴形態情報に含まれるサブジェクトをS1、オブジェクトをO1、アクションA1、談話範囲をD1とし、省略された第一形態素情報をWとすると、補完後の第一形態素情報W1は、S1∪W、O1∪W、A1∪W、又はD1∪Wとして表現することができる。
【0186】
話題検索部360は、省略文補完部350で補完された第一形態素情報W1と各第二形態素情報とを照合し、各「話題タイトル」(第二形態素情報)の中から、第一形態素情報W1を含む第二形態素情報を検索し、検索した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0187】
これにより、第一形態素情報からなる発話内容が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、会話データベース500に記憶されている履歴形態情報を用いて、省略された第一形態素情報の形態素を補完することができるので、省略された第一形態素情報からなる発話内容を明確にすることができる。
【0188】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文である場合には、第一形態素情報からなる発話内容が適正な日本語となるように、第一形態素情報に省略された形態素を補完することができるので、話題検索部360は、形態素が補完された第一形態素情報に基づいて、その第一形態素情報と関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で取得された最適な「話題タイトル」に基づいて、利用者の発話内容により適した回答内容を出力することができる。
【0189】
(第五変更例)
話題検索部360は、図21に示すように、削除部361と、談話付加部362とを備えてもよい。削除部361は、検索した第二形態素情報に基づいて、第二形態素情報と談話範囲決定部340で検索された談話範囲とを照合し、第二形態素情報を構成する各形態素の中から、談話範囲と一致する形態素を削除する削除手段である。
【0190】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報と、談話範囲決定部340で決定された談話範囲に属する各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索する。
【0191】
そして、削除部361は、検索された第二形態素情報に基づいて、その第二形態素情報と談話範囲決定部340で決定された談話範囲を構成する形態素とを照合し、第二形態素情報の中から、談話範囲を構成する形態素と一致する形態素を削除し、形態素が削除された第二形態素情報を削除信号として談話付加部362に出力する。
【0192】
即ち、削除部361は、第二形態素情報を構成する各形態素t1から、談話範囲決定部340で決定された現在の談話範囲D2(このD2は、形態素からなるものである)を取り除く(取り除いた結果をt2とすると、t2=t1−D2)。
【0193】
談話付加部362は、削除部361で形態素が削除された第二形態素情報に基づいて、談話範囲決定部340で検索された談話範囲に関連付けられた他の談話範囲を取得し、取得した他の談話範囲を構成する形態素を、第二形態素情報に付加する談話付加手段である。
【0194】
具体的には、現在の談話範囲D2が回答文K1と関連性のある談話範囲をDKとすると、回答文K1又は現在の談話範囲D2と関連性(兄弟関係にあるもの)のある他の談話範囲D3は、D3=D2∪DKとして表現することができるので、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、W2=t2∪D3とすることができる。
【0195】
例えば、第二形態素情報を構成する各形態素t1が(A映画名;*;面白い){A映画名は面白い?}であり、談話範囲決定部340で決定された現在の談話範囲D2が(A映画名)である場合には、削除部361は、先ず、各形態素t1(A映画名;*;面白い)から談話範囲D2(A映画名)を削除し、削除した結果をt2(*;*;面白い)とする(t2=t1−D2)。
【0196】
現在の談話範囲D2(A映画名)と関連性のある他の談話範囲D3が”B映画名”である場合には、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、t2∪D3であるので、(B映画名;*;面白い){B映画名は面白い?}とすることができる。
【0197】
これにより、利用者の発話内容が”A映画名は面白い?”である場合には、談話付加部362は、利用者の発話内容を構成する各形態素(A映画名;*;面白い)と一致する第二形態素情報(A映画名;*;面白い)を、他の第二形態素情報(B映画名;*;面白い){B映画名は面白い?}に変更することができるので、回答文検索部370は、談話付加部362で変更された第二形態素情報に関連付けられた回答文(例えば、”B映画名は面白いよ”)を取得し、取得した回答文を出力することができる。
【0198】
この結果、回答文検索部370は、利用者の発話内容に対する回答文を直接的に出力するわけではないが、談話付加部362で付加された形態素を含む第二形態素情報に基づいて、発話内容に関連する回答文を出力することができるので、出力部600は、回答文検索部370で検索された回答文に基づいて、さらに人間味のある回答文を出力することができる。
【0199】
尚、談話付加部362は、形態素が削除された第二形態素情報に他の談話範囲を付加するものだけに限定されるものではなく、形態素が削除された第二形態素情報に履歴形態素情報(会話データベース500に記憶されている)を付加するものであってもよい。
【0200】
(第六変更例)
話題検索部360は、各第二形態素情報の中から、第一形態素情報を含む第二形態素情報を検索することができない場合に、第一形態素情報と各回答内容とを照合し、各回答内容の中から、第一形態素情報を含む回答内容を検索することができたときは、検索した回答内容に関連付けられている第二形態素情報を取得する第一検索手段であってもよい。
【0201】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を取得することができない場合には、図22に示すように、第一形態素情報と、第二形態素情報に関連付けられている回答文とを照合する。
【0202】
この照合により、話題検索部360は、回答文の中に第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)が含まれていると判断した場合には、その回答文に関連付けられている第二形態素情報を検索する。
【0203】
これにより、話題検索部360は、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索することができなくても、各回答文の中から、第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)を含む回答文を特定し、この特定した回答文に関連付けられている第二形態素情報を検索することができるので、利用者の発話内容を構成する第一形態素情報に対応する第二形態素情報を適切に検索することができる。
【0204】
この結果、話題検索部360が第一形態素情報に対応する最適な第二形態素情報を検索することができるので、回答文検索部370は、話題検索部360で検索された最適な第二形態素情報に基づいて、利用者の発話内容に対する適切な回答内容を取得することができる。
【0205】
[プログラム]
上記会話制御システム及び会話制御方法で説明した内容は、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。
【0206】
ここで、プログラム言語としては、利用者が求める話題、ある事柄に対する利用者の感情度、又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて形態素と関連付けて階層的にデータベースに蓄積するための言語、本実施形態では、例えば、発明者らが開発したDKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)、C言語等が挙げられる。
【0207】
即ち、会話制御装置1は、各会話データベース500a〜500dに格納されているデータ(第二形態素情報、定型内容、回答文、回答種類、集合群、談話範囲、要素情報などの記憶情報)、その他の各部を、DKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)等で構築し、この構築した記憶情報等を利用するためのプログラムを実行することにより実現することができる。
【0208】
このような本実施形態に係るプログラムによれば、利用者の発話内容を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答内容を出力することで、利用者の発話内容に対応する最適な回答内容を出力することができるという作用効果を奏する会話制御装置、会話制御システム及び会話制御方法を一般的な汎用コンピュータで容易に実現することができる。
【0209】
また、会話制御装置1を開発する開発者は、利用者の発話内容に対する回答内容を検索するための第二形態素情報等を、データベースにおいて前記言語を用いて階層的に構築することができるので、会話制御装置1は、利用者の発話内容に基づいて発話内容に対する回答内容を、階層的な手順を経てデータベースから取得することができる。
【0210】
即ち、会話制御装置1は、利用者の発話内容の階層(例えば、データベースに蓄積されている第二形態素情報に対して上位概念にあるのか、又は下位概念にあるのか)を見極めて、見極めた階層に基づいて予め蓄積された各回答内容の中から、適切な回答内容を取得することができる。
【0211】
このため、会話制御装置1は、利用者の発話内容からなる第一形態素情報と、予め記憶されている”全て”の第二形態素情報とを逐一照合することなく、ある特定の階層に属する各第二形態素情報と第一形態素情報とを照合すればよいので、第一形態素情報と近似する第二形態素情報を短時間で取得することができる。
【0212】
更に、上記通信部800と通信部900との間の通信は、通信ネットワーク1000を介して、DKML等からなるプロトコルによってデータを送受信してもよい。これにより、会話制御装置1は、例えば、会話制御装置1に利用者の発話内容に適した回答内容がない場合には、通信ネットワーク1000を通じて、DKML等の約束事に従って、利用者の発話内容に適した回答内容(DKMLなどで記述されたもの)を検索し、検索した回答内容を取得することができる(図20参照)。
【0213】
尚、プログラムは、記録媒体に記録することができる。この記録媒体は、図23に示すように、例えば、ハードディスク1100、フレキシブルディスク1200、コンパクトディスク1300、ICチップ1400、カセットテープ1500などが挙げられる。このようなプログラムを記録した記録媒体によれば、プログラムの保存、運搬、販売などを容易に行うことができる。
【0214】
[実施の形態2]
第2の実施の形態の説明は、以下のとおりである。図24は、本実施の形態の会話制御部300、文解析部400の構成を示す図である。
【0215】
図24に示すように、情報出力装置は、実施の形態1の会話制御装置1の構成とほぼ同じであるが、以下の機能、構成の点において、相違する。本実施の形態では、この相違する点以外の構成については、実施の形態1、各変更例の構成と同じであるので、相違する点以外の構成についての説明は省略する。
【0216】
本実施の形態の情報出力装置は、会話データベース500の機能、話題検索部360の機能、回答文検索部(回答文取得部)370の機能が異なる点、第一判定部371、キーワードデータベース372が設けられている点において、実施の形態1の会話制御装置と相違する。
【0217】
なお、本実施の形態は、上述した実施の形態1、各変更例における各機能、例えば、鸚鵡返し機能、反射的機能などの機能も有する。また、本実施の形態は、上述した実施の形態1、各変更例で説明した効果も有する。
【0218】
また、本実施の形態では、第一形態素情報や第二形態素情報には、サブジェクトに対応する形態素、オブジェクトに対応する形態素、アクションに対応する形態素が含まれている場合について説明するが、これに限定されるわけではない。即ち、本発明の情報出力装置は、サブジェクトに対応する形態素、オブジェクトに対応する形態素、アクションに対応する形態素のうち、いずれかの形態素を含まない第一形態素情報や第二形態素情報を用いることも可能である。
【0219】
情報出力装置は、例えば、ユーザの自宅に設置されている。情報出力装置は、例えば、PC端末装置で構成されている。そして、情報出力装置は、ユーザを訪問する訪問者(利用者)から入力された入力情報に基づいて、上記訪問者に対して所定の回答文を出力する。
【0220】
入力部100には、訪問者から入力された入力情報が入力される。本実施の形態では、1人の訪問者が、1文節の入力情報を入力部100に入力する場合を例にして説明する。この入力情報とは、例えば、訪問者がユーザに用がある旨(用件)を示す情報である。入力情報の一例としては、(私は、貴方に会いたい)や(私は、荷物を渡したい)などである。
【0221】
キーワードデータベース372(キーワード記憶部)は、重要な用件のために訪問者がユーザを訪問したことを意味するキーワードを予め複数記憶する。訪問者は、重要な用件のためにユーザを訪問する場合、例えば、(私は、至急、貴方に会いたい)や(私は、できるだけ早く、荷物を渡したい)のような入力情報を入力する。この場合、(是非)や(至急)という言葉が入力情報に含まれることにより、入力情報は、重要な用件のために訪問者がユーザを訪問したことを意味するものとなる。
【0222】
キーワードデータベース372には、重要な用件に関連するキーワードが予め複数記憶されている。キーワードデータベース372には、例えば、重要な用件のために訪問者がユーザを訪問したことを意味するキーワードが予め複数記憶されている。キーワードデータベース372には、例えば、(至急)、(できるだけ早く)、(是非)、(早く)、(必ず)などのキーワードが複数記憶されている。
【0223】
1つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報には、第一内容文と、第二内容文とが対応づけられている。第一内容文は、上記キーワードデータベース372に記憶されている複数のキーワードと関連づけられている。第二内容文は、上記複数のキーワードと関連づけられていない。そして、会話データベースは、上記第二形態素情報を予め複数記憶する。
【0224】
図25は、会話データベース500の記憶内容の一例を示す図である。図25に示すように、本実施の形態では、第二形態素情報(例えば、『私;荷物;渡したい』)には、第一符号情報(1)及び第二符号情報(2)が対応づけられている。この第一符号情報とは、上記複数のキーワードに関連づけられている情報である。第二符号情報とは、上記複数のキーワードに関連づけられていない情報である。
【0225】
そして、第一符号情報(1)には、第一内容文(例えば、『荷物の配達ご苦労さまです。ただいま、外出しております...携帯電話に連絡してください』)が対応づけられている。この第一内容文には、重要な用件でユーザを訪問した訪問者に、通知する内容が示されている。例えば、第一内容文には、重要な用件でユーザを訪問した訪問者が、ユーザに早く連絡できるような内容が示されている。
【0226】
また、第二符号情報には、第二内容文(例えば、『荷物の配達ご苦労さまです。
【0227】
申し訳ありませんが、ただいま、外出しております。』)が対応づけられている。この第二内容文には、重要でない用件でユーザを訪問した訪問者に、通知する内容が示されている。第二内容文には、例えば、重要でない用件でユーザを訪問した訪問者から、ユーザが早く連絡を受けなくてすむような一般的なメッセージ情報が示されている。
【0228】
そして、図25に示すように、会話データベース500には、複数の第二形態素情報(例えば、『私;荷物;渡したい』、『私;A商品;紹介したい』,『私;貴方;会いたい』など)が記憶されている。
【0229】
また、本実施の形態では、文節解析部420は、訪問者から入力された入力情報に基づいて、音声認識部200が特定した文字列の最小単位を構成する形態素を1又は複数組み合わせてなる第一形態素情報を取得する形態素取得部といえる。例えば、文節解析部420は、1つの文節形式に属する各形態素をまとめた第一形態素情報を取得する。
【0230】
第一判定部371は、文節解析部420により取得された第一形態素情報に基づいて、キーワードデータベース372に記憶された複数のキーワードのうち、少なくとも1つのキーワードが上記第一形態素情報に含まれているか否かを判定する。具体的な説明は、以下のとおりである。例えば、第一形態素情報が(私;至急;荷物;渡したい)である場合、第一判定部371は、第一形態素情報と、キーワードデータベース372に記憶されている各キーワードとを照合する。そして、第一判定部371は、第一形態素情報には、キーワード(至急)が含まれていると判定する。
【0231】
そして、第一判定部371は、第一形態素情報には、キーワード(至急)が含まれていると判定した場合、第一符号情報に対応づけられた回答文を取得するように指示する旨を示す指示信号を回答文検索部370に送る。
【0232】
また、第一判定部371は、例えば、第一形態素情報が(私;荷物;渡したい)である場合、第一判定部371は、第一形態素情報と、キーワードデータベース372に記憶されている各キーワードとを照合する。そして、第一判定部371は、第一形態素情報には、各キーワードのいずれもが含まれていないと判定する。そして、第一判定部371は、第一形態素情報には、各キーワードのいずれもが含まれていないと判定した場合、第二符号情報に対応づけられた回答文を取得するように指示する旨を示す指示信号を回答文検索部370に送る。
【0233】
話題検索部360は、文節解析部420により取得された第一形態素情報と、各第二形態素情報とを照合する。そして、第一形態素情報が、第二形態素情報の各形態素を含む場合、話題検索部360は、上記第二形態素情報を、検索第二形態素情報として、検索する。
【0234】
例えば、文節解析部420により取得された第一形態素情報が(私;至急;荷物;渡したい)のとき、第一形態素情報が第二形態素情報(私;荷物;渡したい)の各形態素を含む場合には、話題検索部360は、第二形態素情報(私;荷物;渡したい)を、検索第二形態素情報として、検索する。話題検索部360は、検索した第二形態素情報を検索結果信号として、回答文検索部370(回答取得部)に出力する。
【0235】
第一判定部371により、少なくとも1つのキーワードが第一形態素情報に含まれていると判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第一内容文を訪問者への回答文として取得する。また、第一判定部371により、キーワードが第一形態素情報に含まれていないと判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第二内容文を訪問者への回答文として取得する。回答文検索部370の処理の具体的な説明は、以下のとおりである。
【0236】
回答文検索部370は、送られてきた指示信号と、検索結果信号とに基づいて、以下のような処理を行う。先ず、回答文検索部370は、会話データベース500にアクセスする。上記指示信号が、『第一符号情報に対応づけられた回答文を取得するように指示する旨を示す信号』である場合、回答文検索部370は、検索結果信号に含まれる検索第二形態素情報に対応づけられている回答文のうち、第一符号情報に対応づけられている第一内容文を訪問者に出力する回答文として取得する。
【0237】
一方、上記指示信号が、『第二符号情報に対応づけられた回答文を取得するように指示する旨を示す信号』である場合、回答文検索部370は、検索結果信号に含まれる検索第二形態素情報に対応づけられている回答文のうち、第二符号情報に対応づけられている第二内容文を訪問者に出力する回答文として取得する。そして、回答文検索部370は、取得した回答文を回答文信号として管理部310に出力する。管理部310は、入力された回答文信号を出力部600に対して出力する。出力部600は、入力された回答文を訪問者に対して出力する。
【0238】
(情報出力装置を用いた情報出力方法)
上記構成を有する情報出力装置を用いた情報出力方法は、以下の手順により実施することができる。図26は、本実施の形態に係る情報出力方法の手順を示すフローチャート図である。本実施の形態では、音声が入力された場合を例にして説明する。なお、図26において、実施の形態1の処理と同一処理の説明は、簡略化される。
【0239】
本実施の形態では、情報出力装置は、一例として、ユーザの自宅に配置されているとする。また、本実施の形態では、一例として、ユーザは、自宅から外出しているとする。
【0240】
先ず、訪問者は、図示しない操作部(例えば、ブザー)を用いて、ユーザに用がある旨を示す情報を入力する。入力された情報は管理部310に送られる。管理部310は、例えば、(メッセージを入力してください)などの情報を出力部600に出力させる。
【0241】
訪問者は、入力部100を用いて、所定の発話内容(例えば、『私は至急荷物を渡したい』)を入力する(S201)。すると、入力部100に入力された音声は、音声信号として、音声認識部200に出力される。
【0242】
音声認識部200は、入力部100で入力された発話内容に基づいて、発話内容に対応する文字列を特定し(S202)、特定した文字列を文字列信号として、管理部310に出力する。
【0243】
また、管理部310は、音声認識部200から出力された文字列信号を形態素抽出部410に出力する。形態素抽出部410は、音声認識部200で特定された文字列に基づいて、各形態素を抽出する(S204)。その後、文節解析部420が形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめるとともに、第一形態素情報を取得する(S205)。
【0244】
文節解析部420で取得された第一形態素情報は、談話範囲決定部340及び第一判定部371に送られる。
【0245】
談話範囲決定部340は、文節解析部420で取得された第一形態素情報と、各談話範囲とを照合し、各談話範囲の中から、第一形態素情報に含まれる形態素と一致する談話範囲を決定(検索)する(S207)。その後、話題検索部360は、談話範囲決定部により決定された談話範囲に基づいて、上記談話範囲に関連づけられた各話題タイトル(各第二形態素情報)の中から、以下のようにして、所定の話題タイトル(検索第二形態素情報)を検索する(S208)。
【0246】
話題検索部360は、文節解析部420により取得された第一形態素情報と、各第二形態素情報とを照合する。そして、第一形態素情報が、第二形態素情報の各形態素を含む場合、話題検索部360は、上記第二形態素情報を、検索第二形態素情報として、検索する。そして、話題検索部360は、検索第二形態素情報を示す検索結果信号を回答文検索部370に送る。
【0247】
また、S207、S208の処理と並行して、S209の処理も行われる。第一判定部371は、文節解析部420により取得された第一形態素情報に基づいて、キーワードデータベース372に記憶された複数のキーワードのうち、少なくとも1つのキーワードが上記第一形態素情報に含まれているか否かを判定する(S209)。
【0248】
第一判定部371は、第一形態素情報には、キーワードが含まれていると判定した場合、第一符号情報に対応づけられた回答文を取得するように指示する旨を示す指示信号を回答文検索部370に送る。回答文検索部は、指示信号と、検索結果信号とを取得する(S210)。
【0249】
一方、第一判定部371は、第一形態素情報には、キーワードが含まれていないと判定した場合、第二符号情報に対応づけられた回答文を取得するように指示する旨を示す指示信号を回答文検索部370に送る。回答文検索部は、指示信号と、検索結果信号とを取得する。
【0250】
そして、上記指示信号が、『第一符号情報に対応づけられた回答文を取得するように指示する旨を示す信号』である場合、回答文検索部370は、以下の処理を行う。回答文検索部370は、検索第二形態素情報に対応づけられている回答文のうち第一符号情報に対応づけられている第一内容文を訪問者に出力する回答文として取得する(S213)。そして、回答文検索部370は、取得した回答文を回答文信号として管理部310に出力する。
【0251】
一方、上記指示信号が、『第二符号情報に対応づけられた回答文を取得するように指示する旨を示す信号』である場合、回答文検索部370は、以下の処理を行う。回答文検索部370は、検索第二形態素情報に対応づけられている回答文のうち、第二符号情報に対応づけられている第二内容文を訪問者に出力する回答文として取得する(S214)。そして、回答文検索部370は、取得した回答文を回答文信号として管理部310に出力する。
【0252】
管理部310は、入力された回答文信号を出力部600に対して出力する。回答文が入力された出力部600は、入力された回答文を訪問者に対して出力する(S215)。
【0253】
なお、情報出力装置は、以下のような判断部(図示しない)を有するようにしてもよい。判断部は、キーワードと、重要度(重要であるか否かを示す情報)とが対応づけられたテーブルを保持している。そして、装置の管理者が、入力部100を用いて、キーワードを入力すると、判断部に送られる。判断部は、上記テーブルに基づいて、入力されたキーワードの重要度を判断する。そして、判断部は、重要であることを示す情報と対応づけらたキーワードをキーワードデータベース372に送る。このようにして、キーワードデータベース372には、重要な用件に関連するキーワードが複数記憶されることになる。
【0254】
(作用効果)
本実施の形態においては、キーワードデータベース372には、重要な用件のために訪問者がユーザを訪問したことを意味するキーワードが予め複数記憶されている。そして、第一判定部371は、訪問者の入力情報を構成する第一形態素情報に、少なくとも1つのキーワードが含まれているか否かを判定する。
【0255】
この結果、第一判定部371が、第一形態素情報にキーワードが含まれていると判定した場合には、訪問者が重要な用件でユーザを訪問したといえる。一方、第一判定部371が、第一形態素情報にキーワードが含まれていないと判定した場合には、訪問者が重要でない用件でユーザを訪問したといえる。これにより、情報出力装置は、訪問者の入力情報に基づいて、訪問者の訪問が重要であるか否かを判定することができるといえる。
【0256】
また、第一判定部371により、少なくとも1つのキーワードが第一形態素情報に含まれていると判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第一内容文を訪問者への回答文として取得することができる。また、第一判定部371により、キーワードが第一形態素情報に含まれていないと判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第二内容文を訪問者への回答文として取得することができる。
【0257】
従って、本実施の形態の情報出力装置によれば、訪問者(利用者)が重要な用件でユーザを訪問したか否かに応じて、訪問者に出力する回答文を異なるようにすることができる。例えば、第一内容文は、重要な用件のためにユーザを訪問した訪問者が、ユーザに早く連絡できるような内容文とする。そして、第二内容文は、重要でない用件で訪問した訪問者から、ユーザが早く連絡を受けなくてすむような一般的なメッセージとする。第一内容文と第二内容文を、上述のような内容にすることにより、以下の効果が得られる。
【0258】
重要な用件のためにユーザを訪問した訪問者は、出力された回答文に基づいて、ユーザに早く連絡することができる。このため、例えば、ユーザは、上記重要な用件の詳細内容を早く知ることができる。
【0259】
また、重要でない用件のためにユーザを訪問した訪問者には、上記一般的なメッセージ情報が出力される。このため、ユーザは、早く訪問者から連絡を受けなくてすむ。これにより、重要でない用件のために、ユーザが早く対応しなければならないという事態は、回避される。従って、本実施の形態によれば、ユーザにとって、便利な情報出力装置の提供が可能となる。
【0260】
また、訪問者は、用件を発話するだけで、情報出力装置は、訪問が重要であるか否かを判定することができる。このため、訪問者は自ら、重要な訪問であるか否かの情報を入力する必要がないので、訪問者の負担が軽減される。
【0261】
また、本実施の形態によれば、情報出力装置は、第一形態素情報と近似する第二形態素情報を検索するには、”談話範囲”に属する各第二形態素情報と第一形態素情報とを照合(ピンポイントで検索することが可能)すればよく、”全て”の第二形態素情報と第一形態素情報とを照合する必要がないので、第一形態素情報と近似している第二形態素情報を検索するまでの時間を短縮することができる。
【0262】
この結果、情報出力装置は、第一形態素情報と近似している第二形態素情報を短時間で検索することができるので、検索された第二形態素情報に基づいて第二形態素情報に関連付けられている回答文を短時間で取得することができ、訪問者からの入力情報に対して迅速に回答することができる。
【0263】
また、情報出力装置は、第一形態素情報を含む第二形態素情報を検索するので、利用者の入力情報と完全に一致する第二形態素情報を検索する必要がなく、情報出力装置1を開発する開発者は、訪問者から入力されるであろう入力情報に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0264】
なお、第一形態素情報を含む第二形態素情報(談話範囲、定型内容又は回答内容等をも含む。以下、「第二形態素情報等」と略す)とは、第二形態素情報等が第一形態素情報をそのまま含む場合のみならず、第二形態素情報等が第一形態素情報を構成する少なくとも一つの形態素を含む場合をも意味するものとする。
【0265】
(実施の形態2の変更例)
上述した実施の形態2の情報出力装置は以下のように変更することも可能である。
【0266】
(情報出力装置の構成)
図27は、本変更例の情報出力装置の構成を示す図である。また、図28は、本変更例の会話制御部300、文解析部400の構成を示す図である。
【0267】
図27,図28に示すように、本変更例の情報出力装置の構成は、実施の形態2の情報出力装置の構成とほぼ同じであるが、識別情報入力部710が設けられている点、第二判定部375が設けられている点、会話データベース500の機能が異なる点、回答文検索部370の機能が異なる点において、相違する。これ以外の構成や機能は、実施の形態2の構成や機能と同じであるので、その説明は省略される。
【0268】
会話データベース500に記憶されている第二形態素情報には、複数のキーワードに関連づけられた第一の複数の個人の識別情報が対応づけられている。なお、個人の識別情報は、上記個人を識別することができる情報であればよい。個人の識別情報を以下、個人識別情報という。
【0269】
そして、上記第一の複数の個人識別情報には、第三内容文が対応づけられている。また、会話データベース500に記憶されている第二形態素情報には、複数のキーワードに関連づけられていない第二の複数の個人識別情報が対応づけられている。そして、上記第二の複数の個人識別情報には、第四内容文が対応づけられている。そして、会話データベース500には、上記第二形態素情報が予め複数記憶されている。
【0270】
図29は、会話データベース500の記憶内容の一例を示す図である。図29に示すように、第二形態素情報(例えば、『私;貴方;会いたい』)には、第一符号情報(1)及び第二符号情報(2)が対応づけられている。そして、第一符号情報(1)には、実施の形態2の第一内容文が対応づけられているとともに、第一の複数の個人識別情報(例えば、『A氏』,『B氏』)が対応づけられている。そして、第一の複数の個人識別情報には、第三内容文が対応づけられている。
【0271】
この第三内容文には、例えば、重要な用件でユーザを訪問した訪問者のうち、特定の複数の個人に対して、ユーザが通知する内容が示されている。第三内容文は、例えば、第一内容文に比べて、訪問者がユーザに連絡を早くとりやすいような内容となっている。例えば、第三内容文としては、『荷物の配達ご苦労さまです。ただいま、外出しております。携帯電話に連絡してください。携帯電話がつながらないときには、用件及び貴方の連絡先を示した電子メールを、携帯電話宛に送ってください。』)である。
【0272】
また、第二符号情報(2)には、実施の形態2の第二内容文が対応づけられているとともに、第二の複数の個人識別情報((例えば、『A氏』,『B氏』)が対応づけられている。そして、第二の複数の個人識別情報には、第四内容文が対応づけられている。
【0273】
この第四内容文には、例えば、重要でない用件でユーザを訪問した訪問者のうち、特定の複数の個人に対して、ユーザが通知する内容が示されている。第四内容文は、例えば、第二内容文に比べて、訪問者がユーザに連絡が早くとりやすいような内容ではあるが、第一内容文よりは、訪問者がユーザに連絡をとりにくい内容となっている。例えば、第三内容文としては、『荷物の配達ご苦労さまです。ただいま、外出しております。何か伝言がありましたら、メッセージを入力してください』)である。
【0274】
識別情報入力部710には、訪問者により、訪問者の識別情報が入力される。識別情報入力部710により入力された訪問者の識別情報は、管理部310に送られる。管理部310は、上記訪問者の識別情報を取得する。
【0275】
第一判定部371により、少なくとも1つのキーワードが第一形態素情報に含まれていると判定された場合、第二判定部375は、検索第二形態素情報に対応づけられている第一の複数の個人識別情報のなかに、訪問者の識別情報と一致する個人の識別情報があるか否かを判定する。
【0276】
第一判定部371により、少なくとも1つのキーワードが第一形態素情報に含まれていると判定された場合、回答文検索部370は、以下の処理を行う。第二判定部375により、訪問者の識別情報と一致する個人の識別情報があると判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第三内容文を、訪問者への回答文として取得する。また、第二判定部375により、訪問者の識別情報と一致する個人の識別情報がないと判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第一内容文を、訪問者への回答文として取得する。
【0277】
また、第一判定部371により、キーワードが第一形態素情報に含まれていないと判定された場合、第二判定部375は、検索第二形態素情報に対応づけられている第二の複数の個人識別情報のなかに、訪問者の識別情報と一致する個人の識別情報があるか否かを判定する。
【0278】
第一判定部371により、キーワードが第一形態素情報に含まれていないと判定された場合、回答文検索部370は、以下の処理を行う。第二判定部375により、訪問者の識別情報と一致する個人の識別情報があると判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第四内容文を、訪問者への回答文として取得する。また、第二判定部375により、訪問者の識別情報と一致する個人の識別情報がないと判定された場合、回答文検索部370は、検索第二形態素情報に対応づけられている第二内容文を、訪問者への回答文として取得する。
【0279】
(情報出力方法)
図30は、本変更例の情報出力方法を説明するためのフローチャート図である。なお、図30において、実施の形態2の情報出力方法に示す処理と同一処理については、同一符号が付され、その説明は省略される。
【0280】
先ず、訪問者は、識別情報入力部710を用いて、訪問者の識別情報を入力する(S300)。入力された訪問者の識別情報は、管理部310に送られる。管理部310は、訪問者の識別情報を取得した場合には、各部にアクセスし、各部のリセット動作を行う。
【0281】
そして、管理部310は、訪問者の識別情報を第二判定部375に送る。そして、S201からS209の処理が行われる。この際、S208では、話題検索部360は、検索第二形態素情報を示す検索結果信号を第二判定部375に送る。
【0282】
そして、ステップS209で、少なくとも1つのキーワードが第一形態素情報に含まれていると判定された場合、第一判定部371は、その旨を第二判定部375に送る。第二判定部375は、上記その旨と、検索結果信号とを取得する(S310)。その後、処理はステップS313へ移行する。
【0283】
一方、ステップS209で、キーワードが第一形態素情報に含まれていないと判定された場合、第一判定部371は、その旨を第二判定部375に送る。第二判定部375は、上記その旨と、検索結果信号とを取得する(S311)。その後、処理は、ステップS330へ移行する。
【0284】
ステップS313では、第二判定部375は、キーワードが含まれている旨と、検索結果信号に基づいて、以下の処理を行う。第二判定部375は、検索第二形態素情報に対応づけられている第一の複数の個人識別情報のなかに、訪問者の識別情報と一致する個人の識別情報があるか否かを判定する。
【0285】
第二判定部375は、訪問者の識別情報と一致する個人の識別情報があると判定した場合、第一符号情報に対応づけられた第三内容文を取得するように指示する旨を示す第一指示信号と、検索結果信号とを回答文検索部370に送る(S315)。回答文検索部370は、第一指示信号を取得した場合、検索第二形態素情報に対応づけられている回答文のうち、第一符号情報に対応づけられている第三内容文を訪問者に出力する回答文として取得する(S317)。そして、回答文検索部370は、取得した回答文を回答文信号として管理部310に出力する。その後、処理は、ステップS215へ移行する。
【0286】
第二判定部375は、訪問者の識別情報と一致する個人の識別情報がないと判定した場合、第一符号情報に対応づけられた第一内容文を取得するように指示する旨を示す第二指示信号と、検索結果信号とを回答文検索部370に送る(S320)。
【0287】
回答文検索部370は、第二指示信号を取得した場合、回答文検索部370は、検索結果信号に含まれる検索第二形態素情報に対応づけられている回答文のうち、第一符号情報に対応づけられている第一内容文を訪問者に出力する回答文として取得する(S325)。そして、回答文検索部370は、取得した回答文を回答文信号として管理部310に出力する。その後、処理は、ステップS215へ移行する。
【0288】
ステップS330では、第二判定部375は、キーワードが含まれていない旨と、検索結果信号に基づいて、以下の処理を行う。第二判定部375は、検索第二形態素情報に対応づけられている第二の複数の個人識別情報のなかに、訪問者の識別情報と一致する個人の識別情報があるか否かを判定する。
【0289】
第二判定部375は、訪問者の識別情報と一致する個人の識別情報があると判定した場合、第二符号情報に対応づけられた第四内容文を取得するように指示する旨を示す第三指示信号と、検索結果信号とを回答文検索部370に送る(S335)。
【0290】
回答文検索部370は、第三指示信号を取得した場合、検索第二形態素情報に対応づけられている回答文のうち、第二符号情報に対応づけられている第四内容文を訪問者に出力する回答文として取得する(S340)。そして、回答文検索部370は、取得した回答文を回答文信号として管理部310に出力する。その後、処理は、ステップS215へ移行する。
【0291】
第二判定部375は、訪問者の識別情報と一致する個人の識別情報がないと判定した場合、第二符号情報に対応づけられた第二内容文を取得するように指示する旨を示す第四指示信号と、検索結果信号とを回答文検索部370に送る(S345)。
【0292】
回答文検索部370は、第四指示信号を取得した場合、検索第二形態素情報に対応づけられている回答文のうち、第二符号情報に対応づけられている第二内容文を訪問者に出力する回答文として取得する(S347)。そして、回答文検索部370は、取得した回答文を回答文信号として管理部310に出力する。その後、処理は、ステップS215へ移行する。
【0293】
本変更例では、実施の形態2の効果に加えて、ユーザを訪問する訪問者が特定の個人であるか否かによって、訪問者に出力する回答文を異なるようにすることができる。例えば、特定の個人が重要な用件でユーザを訪問した場合には、ユーザは、できるだけ早く、特定の個人に連絡したいと考えているとする。このような場合、重要な用件でユーザを訪問した訪問者が特定の個人の場合には、本変更例の情報出力装置は、第一内容文より、訪問者がユーザに早く連絡をとりやすい内容文である第三内容文を、上記訪問者に出力することができる。
【0294】
この結果、特定の個人が重要な用件でユーザを訪問した場合には、上記特定の個人は、ユーザにできるだけ早く連絡することができ、ユーザは、できるだけ早く上記特定の個人に連絡することができる。
【0295】
また、例えば、特定の個人が重要でない用件でユーザを訪問した場合であっても、ユーザは、訪問者が特定の個人であるので、早く、特定の個人に連絡したいと考えているとする。このような場合、重要でない用件でユーザを訪問した訪問者が特定の個人の場合には、本変更例の情報出力装置は、第二内容文より、訪問者がユーザに連絡をとりやすい内容文である第四内容文を、上記訪問者に出力することができる。
【0296】
この結果、重要でない用件で訪問者がユーザを訪問した場合であっても、上記訪問者が特定の個人であるときには、上記特定の個人は、ユーザに早く連絡することができ、ユーザは、早く上記特定の個人に連絡することができる。
【0297】
なお、上記情報出力装置及び情報出力方法で説明した内容は、実施の形態1や各変更例と同様に、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。また、上記プログラムは、実施の形態1や各変更例と同様に、記録媒体に記録されることができる。
【0298】
【発明の効果】
以上説明したように、本発明によれば、利用者が重要な用件でユーザを訪問したか否かに応じて、利用者に出力する回答文を異なるようにすることができる。例えば、第一内容文は、重要な用件のためにユーザを訪問した利用者が、ユーザに早く連絡できるような内容文とする。そして、第二内容文は、利用者が重要でない用件で訪問したときには、利用者からユーザが早く連絡を受けなくてすむような一般的なメッセージとする。第一内容文と第二内容文を、上述のような内容にすることにより、以下の効果が得られる。
【0299】
重要な用件のためにユーザを訪問した利用者は、出力された回答文に基づいて、ユーザに早く連絡することができる。このため、例えば、ユーザは、上記重要な用件の詳細内容を早く知ることができる。
【0300】
また、重要でない用件のためにユーザを訪問した利用者には、上記一般的なメッセージ情報が出力される。このため、ユーザは、早く利用者から連絡を受けなくてすむ。これにより、ユーザは、重要でない用件のために、早く対応しなければならないという事態は、回避される。従って、本発明は、ユーザにとって、便利な情報出力装置を提供することができる。
【0301】
また、利用者は、用件を音声等で入力するだけで、情報出力装置は、訪問が重要であるか否かを判定することができる。このため、利用者は自ら、重要な訪問であるか否かの情報を入力する必要がないので、利用者の負担が軽減される。
【図面の簡単な説明】
【図1】実施の形態1に係る会話制御システムの概略構成を示すブロック図である。
【図2】実施の形態1における会話制御部及び文解析部の内部構造を示すブロック図である。
【図3】実施の形態1における形態素抽出部で抽出する各形態素の内容を示す図である。
【図4】実施の形態1における文節解析部420で抽出する各文節の内容を示す図である。
【図5】実施の形態1における文構造解析部で特定する「格」の内容を示す図である。
【図6】実施の形態1における発話種類第一判定部371で特定する「発話文のタイプ」を示す図である。
【図7】実施の形態1における発話種類データベースで格納する各辞書の内容を示す図である。
【図8】実施の形態1における会話データベース500の内部で構築される階層構造の内容を示す図である。
【図9】実施の形態1における会話データベース500の内部で構築される階層構造の詳細な関係を示す図である。
【図10】実施の形態1における会話データベース500の内部で構築される「話題タイトル」の内容を示す図である。
【図11】実施の形態1における会話データベース500の内部で構築される「話題タイトル」に関連付けられている「回答文のタイプ」の内容を示す図である。
【図12】実施の形態1における会話データベース500の内部で構築される「談話範囲」に属する「話題タイトル」及び「回答文」の内容を示す図である。
【図13】実施の形態1における反射要素データベースで記憶する反射要素情報の内容を示す図である。
【図14】実施の形態1における鸚鵡返し要素データベースで記憶する鸚鵡返し要素、鸚鵡返し要素の形態素の内容を示す図である。
【図15】実施の形態1に係る会話制御方法の手順を示すフローチャート図である。
【図16】第一変更例における形態素抽出部で整理する発話内容を示す図である。
【図17】第二変更例における話題検索部360の内部構成を示す図である。
【図18】第二変更例における割合計算部が「格構成」に属する各形態素と各「話題タイトル」とを「話題タイトル」毎に照合する様子を示す図である。
【図19】第二変更例における割合計算部が「各構成」に属する各形態素と「話題タイトル」に属する各形態素とを「格」毎に照合する様子を示す図である。
【図20】第三変更例における会話制御システムの概略構成を示す図である。
【図21】第五変更例における話題検索部360の内部構成を示す図である。
【図22】第六変更例における話題検索部360が第一形態素情報と、第二形態素情報又は回答文とを照合する様子を示す図である。
【図23】実施の形態1におけるプログラムを格納する記録媒体を示す図である。
【図24】実施の形態2に係る会話制御部及び文解析部の内部構成を示す図である。
【図25】実施の形態2の会話データベース500の記憶内容の一例を示す図である。
【図26】実施の形態2の情報出力方法を説明するためのフローチャート図である。
【図27】実施の形態2の変更例に係る情報出力装置の内部構成を示す図である。
【図28】実施の形態2の変更例に係る会話制御部及び文解析部の内部構成を示す図である。
【図29】実施の形態2の変更例の会話データベース500の記憶内容の一例を示す図である。
【図30】実施の形態2の変更例の情報出力方法を説明するためのフローチャート図である。
【符号の説明】
1…会話制御装置、100…入力部、200…音声認識部、300…会話制御部、310…管理部、320…反射的判定部、321…割合計算部、322…選択部、330…鸚鵡返し判定部、340…談話範囲決定部、350…省略文補完部、360…話題検索部、361…割合計算部、362…選択部、370…回答文検索部、371…第一判定部、372…キーワードデータベース、375…第二判定部、400…文解析部、410…形態素抽出部、420…文節解析部、430…文構造解析部、450…形態素データベース、500a〜500d…会話データベース500、600…出力部、700…音声認識辞書記憶部、710…識別情報入力部、800…通信部、801…反射要素データベース、802…鸚鵡返し要素データベース、900…通信部、1000…通信ネットワーク,1100…ハードディスク、1200…フレキシブルディスク、1300…コンパクトディスク、1400…ICチップ、1500…カセットテープ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information output apparatus, an information output method, and a program for outputting a predetermined answer sentence to the user based on input information input from the user.
[0002]
[Prior art]
Conventionally, for example, when a visitor visits a home when the user is not at home, the predetermined device performs the following process when the visitor is detected. The predetermined device outputs, for example, a message indicating the absence to the visitor (see, for example, Patent Document 1).
[0003]
[Patent Document 1]
JP-A-7-99546 (see FIG. 3)
[0004]
[Problems to be solved by the invention]
However, the visitor may visit the user's home for important requirements. In such a case, when a message indicating that the visitor is absent is output uniformly, the following problems occur.
[0005]
For example, a visitor may be left out of contact with the user. For this reason, the user may remain unable to know the detailed contents of important requirements.
[0006]
Therefore, when a visitor visits an important business, for example, if an answer sentence that can be contacted by the visitor is output to the visitor, the following points are convenient for the user. is there. That is, since the visitor can contact the user quickly, the user can be immediately contacted by the visitor. Thereby, the user can know the detailed content of important requirements quickly.
[0007]
For this reason, when a visitor visits with an important requirement, for example, it is desirable to output an answer sentence so that the visitor can quickly contact the user.
[0008]
On the other hand, when a visitor visits an unimportant requirement, the user generally does not need to be contacted by the visitor early. In addition, if a visitor who visits an insignificant message is contacted early, the user must respond promptly for the insignificant message. Such a situation is inconvenient for the user. For this reason, when a visitor visits with an unimportant requirement, it is desired to output general message information to the visitor so that the user does not need to be contacted early by the visitor.
[0009]
Therefore, it has been desired to develop an information output device that can change the answer text to be output to the visitor depending on whether the visitor has visited the user with an important requirement.
[0010]
At this time, if the visitor simply utters a message and the information output apparatus can determine whether or not the visit is important, there are the following advantages. That is, since the visitor does not need to input information regarding whether or not the visit is an important visit by the input unit, the burden on the visitor is reduced.
[0011]
Therefore, development of an information output device that can vary the answer text to be output to the visitor depending on whether the visitor has visited the user with an important requirement or not, and can reduce the burden on the visitor Was desired.
[0012]
An object of the present invention is to make it possible to vary the answer text to be output to a visitor depending on whether or not the visitor (user) has visited the user with an important requirement, and the burden on the visitor. An information output device, an information output method, and a program can be provided.
[0013]
[Means for Solving the Problems]
In the invention according to the present application, when a predetermined answer sentence is output based on input information input from a user, the keyword storage means stores a plurality of keywords related to important requirements in advance. The second morpheme information having a predetermined morpheme is associated with a first content sentence associated with the plurality of keywords and a second content sentence not associated with the plurality of keywords. In the means, a plurality of the second morpheme information is stored in advance, and based on the input information, first morpheme information obtained by combining one or a plurality of morphemes constituting the minimum unit of the character string is acquired, Based on one morpheme information, it is determined whether or not at least one of the keywords is included in the first morpheme information, and the acquired first morpheme information and each second morpheme And when the first morpheme information includes each morpheme of the second morpheme information, the second morpheme information is searched as search second morpheme information, and at least one of the keywords is the first morpheme information. When it is determined that it is included in the morpheme information, the first content sentence associated with the searched second morpheme information is acquired as an answer sentence to the user, and the keyword is included in the first morpheme information. When it is determined that it is not included, the second content sentence associated with the searched second morpheme information is acquired as an answer sentence to the user.
[0014]
In the present invention, the second morpheme information is associated with identification information of a plurality of individuals associated with the plurality of keywords, and the identification information of the plurality of individuals includes When the three content sentences are associated with each other, acquire the user identification information input from the user, and determine that at least one of the keywords is included in the first morpheme information, It is determined whether there is personal identification information that matches the user identification information among the plurality of personal identification information associated with the searched second morpheme information, and the user identification information and When it is determined that there is matching personal identification information, a third content sentence associated with the searched second morpheme information is acquired as an answer sentence to the user, and the user identification information and Matching individual knowledge If the information is determined to be not the first content statements that are associated to the search second morpheme information can also be obtained as a reply sentence to the user.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
[Embodiment 1]
(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
[0016]
As shown in the figure, the
[0017]
In the present embodiment, for convenience of explanation, the description is limited to the user's utterance content (this utterance content is a kind of input information), but is not limited to the user's utterance content, and the keyboard. The input information may be input from the above. Therefore, the “utterance content” shown below can be described by replacing “utterance content” with “input information”.
[0018]
Similarly, in the following description, for convenience of explanation, the description will be limited to the “spoken sentence type” (speech type), but is not limited to this “spoken sentence type”, and input from a keyboard or the like. It may be an “input type” indicating the type of input information. Accordingly, the following “speech sentence type” (speech type) can be described by replacing “speech type” with “input type”.
[0019]
The
[0020]
Here, the input information means characters, symbols, voices and the like input through a keyboard or the like. Specifically, the
[0021]
The
[0022]
The
[0023]
The
[0024]
Specifically, the
[0025]
That is, the
[0026]
The
[0027]
Here, in this embodiment, the phrase format is a sentence in which the independent grammar or one or more attached words are attached to the independent grammar in the Japanese grammar, or a character string that does not destroy the meaning of the Japanese grammar. Means a sentence that is separated as finely as possible. This clause is expressed as p1, p2,... Pk in this embodiment.
[0028]
That is, the
[0029]
The
[0030]
The sentence
[0031]
Here, the “case structure” means a case (attribute) indicating a substantial concept in the clause. In the present embodiment, for example, a subject (subject) that represents a subject / subject, Examples include a meaning object (target case), an action meaning an action, a time meaning (tense, aspect), a location meaning a place, and the like. In this embodiment, each morpheme associated with the “case” (case configuration) of the three elements of the subject, the object, and the action is used as the first morpheme information.
[0032]
That is, as shown in FIG. 5, for example, when the dependency element of each morpheme is “” or “is”, the sentence
[0033]
Further, for example, when the dependency element of each morpheme is “Yes”, the sentence
[0034]
The sentence
[0035]
The utterance
[0036]
In this embodiment, as shown in FIG. 6, the “spoken sentence type” is a statement sentence (D; Declaration), an impression sentence (I; Impression), a conditional sentence (C; Condition), and a result sentence ( E; Effect, time sentence (T; Time), location sentence (L; Location), repulsive sentence (N; Negation), and the like.
[0037]
The statement sentence means a sentence composed of a user's opinion or idea, and in this embodiment, as shown in FIG. 6, for example, a sentence such as “I like Sato” can be cited. An impression sentence means the sentence which consists of an impression which a user holds. A place sentence means a sentence made up of place elements.
[0038]
A result sentence means a sentence composed of sentences including a result element for a topic. A time sentence means a sentence composed of sentences including temporal elements related to a topic.
[0039]
The conditional sentence means a sentence composed of sentences including elements such as a premise of a topic, a condition and a reason why the topic is established, when one utterance is regarded as a topic. The repulsive sentence means a sentence composed of a sentence including an element that repels the utterance partner. An example sentence for each “spoken sentence type” is as shown in FIG.
[0040]
That is, the utterance
[0041]
Here, as shown in FIG. 7, the
[0042]
As a result, the utterance
[0043]
The utterance
[0044]
The
[0045]
Furthermore, the
[0046]
Furthermore, the
[0047]
As shown in FIG. 8, in the present embodiment, the
[0048]
Each discourse range can be configured to have a hierarchical structure as shown in FIG. As shown in the figure, for example, a higher level discourse range (entertainment) for a certain discourse range (movie) is positioned in the upper hierarchical structure, and a lower level discourse range (movie) for the discourse range (movie). The attribute (movie) can be located in the lower hierarchical structure. That is, in the present embodiment, each discourse range can be arranged at a hierarchical position where the relationship between the higher concept, the lower concept, the synonym, and the synonym becomes clear with other discourse ranges.
[0049]
As described above, the discourse range is composed of topics, and in this embodiment, for example, if the discourse range is an A movie name, it includes a plurality of topics related to the A movie name.
[0050]
This topic means a morpheme composed of a single character, a plurality of character strings, or a combination thereof, that is, each morpheme constituting speech content that will be uttered by the user. Each morpheme is associated with a subject (subject), an object (target case), and an action “case” (attribute). In this embodiment, each morpheme associated with these three elements is expressed as a topic title (this topic title corresponds to a subordinate concept of “topic”) (second morpheme information). .
[0051]
The topic title is not limited to each morpheme associated with the above three elements, but other “cases”, that is, time (tense, aspect) meaning time, location meaning place, You may have each morpheme matched with the condition which means a condition, the impression which means an impression, the effect which means a result, etc.
[0052]
In this embodiment, the topic title (second morpheme information) is stored in advance in the
[0053]
For example, if the talk range is “A movie name”, as shown in FIG. 10, the subject title is subject (A movie name), object (director), action (great) {this is “A movie name” The director of the name is composed of "meaning great".
[0054]
If there is no morpheme associated with “case composition” (subject, object, action, etc.) among the topic titles, “*” is indicated for the portion in the present embodiment.
[0055]
For example, {A movie name? } Is converted into a topic title (subject; object; action). }, “A movie name” can be specified as a subject, but “object” and “action” are not elements of the sentence, so the topic title is “subject” (A movie name) “No object” (*); no “action” (*) (see FIG. 10).
[0056]
The answer sentence means an answer sentence (answer contents) to be answered to the user, and is associated with each topic title (second morpheme information) in this embodiment (see FIG. 8). In this embodiment, as shown in FIG. 11, the answer sentence is a statement sentence (D; Declaration), an impression sentence in order to make an answer corresponding to the type of utterance sentence uttered by the user. Types such as (I; Impression), conditional statement (C; Condition), result statement (E; Effect), time statement (T; Time), location statement (L; Location), negative statement (N; Negation) Type).
[0057]
That is, as shown in FIG. 12, each answer sentence is associated with, for example, a discourse range (Sato) {subordinate concept; home run, superordinate concept; grass baseball, synonym; panda Sato, Sato player, panda} and each topic title. It has been.
[0058]
As shown in the figure, for example, the topic title 1-1 is {(Sato; *; I like): this consists of the order of (subject; object; action) as described above. If the order is the same below, the answer sentence 1-1 corresponding to the topic title 1-1 is (DA; statement affirmation “I like Sato”), (IA; comment affirmation) "I like Sato very much"), (CA; conditional affirmation sentence "Sato's home run is very impressive"), (EA; a result affirming sentence "I always watch Sato's games on TV"), (TA: Time affirmative sentence "I actually like it from the five-bats continual refrain in Koshien"), (LA; Place affirmative sentence "I like the serious face when standing on the blow"), (NA A repulsive affirmative sentence "I don't want to talk to people who don't like Sato, goodbye").
[0059]
In the present embodiment, as shown in FIG. 2, the
[0060]
The
[0061]
The
[0062]
Here, the standard content means reflection element information for replying a standard content to the utterance content from the user, and this reflection element information is stored in the reflection element database 801 (standard storage means) in advance. A plurality are 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?""Typicalelements" such as
[0063]
Specifically, the
[0064]
That is, assuming that the reflection element information is D1 and the first morpheme information is W, the
[0065]
For example, when the user utters the utterance content “Good morning”, the
[0066]
When the
[0067]
The
[0068]
Here, “turnback” means to say back the content of the user's utterance as it is (or content close to it) in this embodiment. In this embodiment, the return element is composed of the first morpheme information that constitutes the response content output from the
[0069]
Further, the
[0070]
Specifically, the
[0071]
If it is determined that the first morpheme information is included in each return element, the
[0072]
For example, the
[0073]
Further, the
[0074]
Specifically, when the user utters the utterance content “Horse is beautiful” and the
[0075]
In this case, since the user has not heard the response content from the
[0076]
On the other hand, if the
[0077]
In addition, although the said
[0078]
In this case, the
[0079]
For example, when the
[0080]
The discourse
[0081]
Specifically, the conversation
[0082]
For example, the discourse
[0083]
On the other hand, when the first morpheme information does not include a discourse range group, the conversation
[0084]
Thereby, the
[0085]
As described above, the discourse
[0086]
The abbreviated
[0087]
Specifically, the abbreviated
[0088]
For example, the abbreviation
[0089]
That is, assuming that the first morpheme information is W and the determined discourse range is D, the abbreviated
[0090]
Thereby, even if the first morpheme information is an abbreviated sentence and it is not clear as Japanese, the abbreviated
[0091]
For this reason, the first morpheme information is set so that the abbreviated
[0092]
The
[0093]
Specifically, the
[0094]
For example, when the “case configuration” constituting the first morpheme information is (Sato; *; I like) {I like Sato}, the
[0095]
The utterance
[0096]
The answer
[0097]
Specifically, the answer
[0098]
For example, when the topic title corresponding to the search result is the topic title 1-1 (Sato; *; I like) shown in FIG. 12, the answer
[0099]
The
[0100]
The
[0101]
(Conversation control method using conversation control device)
The conversation control method by the
[0102]
First, the
[0103]
Next, the
[0104]
And the
[0105]
Specifically, the
[0106]
Then, the
[0107]
That is, as shown in FIG. 4, the
[0108]
The
[0109]
Thereafter, the sentence
[0110]
That is, as shown in FIG. 5, for example, when the dependency element of each morpheme is “” or “is”, the sentence
[0111]
Further, for example, when the dependency element of each morpheme is “Yes”, the sentence
[0112]
The sentence
[0113]
Next, the utterance
[0114]
That is, the utterance
[0115]
The utterance
[0116]
Next, the
[0117]
Specifically, the
[0118]
When the reflection element information cannot be searched for the reflection element information including the first morpheme information from the reflection element information, the
[0119]
Next, the
[0120]
When it is determined that the first morpheme information is included in each return element, the
[0121]
On the other hand, when determining that the first morpheme information is not included in each return element, the
[0122]
Then, the discourse
[0123]
Specifically, the conversation
[0124]
For example, the discourse
[0125]
On the other hand, when the first morpheme information does not include a discourse range group, the conversation
[0126]
Next, the abbreviation
[0127]
Specifically, the abbreviated
[0128]
For example, the abbreviation
[0129]
That is, assuming that the first morpheme information is W and the determined discourse range is D, the abbreviated
[0130]
Next, the
[0131]
Specifically, the
[0132]
For example, when the “case configuration” constituting the first morpheme information is (Sato; *; I like) {I like Sato}, the
[0133]
The utterance
[0134]
Then, the answer
[0135]
Specifically, the answer
[0136]
For example, when the topic title corresponding to the search result is the topic title 1-1 (Sato; *; I like) shown in FIG. 12, the answer
[0137]
Next, the
[0138]
(Operation and effect of conversation control device and conversation control method)
According to the invention according to the present application having the above-described configuration, the
[0139]
In addition, when the user's utterance content is a fixed content, the
[0140]
Further, the
[0141]
In this case, the
[0142]
Further, the
[0143]
In this case, since the user does not appropriately reply to the previous response content, the
[0144]
Further, in order to search for the second morpheme information approximate to the first morpheme information, the
[0145]
As a result, the
[0146]
Moreover, the
[0147]
Further, since the
[0148]
Furthermore, the answer
[0149]
Furthermore, the answer
[0150]
Finally, the abbreviated
[0151]
Thus, the abbreviated
[0152]
As a result, even if the input information from the user is an abbreviated sentence, the
[0153]
[Example of change]
In addition, this invention is not limited to the said embodiment, The change as shown below can be added.
[0154]
(First change example)
In this modification, the
[0155]
As shown in FIG. 16, some morphemes included in the character string uttered by the user are similar. For example, as shown in FIG. 16, if the element information indicating the entire group is “gift”, the “gift” is similar to a present, gift, year-end gift, mid-year gift, celebration, etc. (group). Therefore, when there is a morpheme similar to “gift” (such as the present), the
[0156]
That is, for example, when the morpheme extracted from the character string is “present”, the
[0157]
This allows the
[0158]
(Second modified example)
As shown in FIG. 17, in the present modification example, the
[0159]
The
[0160]
Specifically, the
[0161]
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
[0162]
The
[0163]
Specifically, the
[0164]
Accordingly, the
[0165]
Further, since the
[0166]
As a result, since the
[0167]
Further, the
[0168]
The
[0169]
Specifically, the
[0170]
For example, as illustrated in FIG. 19, when the “case” morpheme of “case configuration” is (dog; person; bitten) {dog bites a person}, the
[0171]
If the element constituting the topic title is (person; dog; bite) {person bites the dog}, the
[0172]
The
[0173]
As a result, the
[0174]
That is, since the
[0175]
Further, the
[0176]
Note that the
[0177]
(Third change example)
As shown in FIG. 20, the present modification is not limited to the above-described embodiment and each modification, and data is transmitted and received via the
[0178]
Here, the
[0179]
Thereby, the
[0180]
(Fourth change example)
The sentence
[0181]
The conversation
[0182]
The first morpheme information, the second morpheme information, each “case composition” that constitutes the first morpheme information or the second morpheme information, each morpheme associated with each “case composition”, and the retrieved answer sentence Each "case structure" and each morpheme associated with each "case structure" and the searched discourse range are associated with each other and stored in the
[0183]
The abbreviated
[0184]
Specifically, the abbreviated
[0185]
That is, assuming that 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 supplemented first morpheme information W1 is S1SW , O1∪W, A1∪W, or D1∪W.
[0186]
The
[0187]
Thereby, even if the utterance content composed of the first morpheme information is an abbreviated sentence and is not clear as Japanese, the abbreviated
[0188]
For this reason, when the abbreviated
[0189]
(Fifth change example)
The
[0190]
Specifically, the
[0191]
Then, based on the searched second morpheme information, the
[0192]
That is, the
[0193]
The
[0194]
Specifically, when the current discourse range D2 is related to the answer sentence K1, and the discourse range is DK, other discourses related to the answer sentence K1 or the current discourse range D2 (those that have a sibling relationship). Since the range D3 can be expressed as D3 = D2∪DK, the second morpheme information W2 after adding the morpheme constituting the other discourse range D3 can be set to W2 = t2∪D3.
[0195]
For example, each morpheme t1 constituting the second morpheme information is (A movie name; *; interesting) {A movie name is interesting? }, And the current discourse range D2 determined by the discourse
[0196]
When the other conversation range D3 related to the current conversation range D2 (A movie name) is “B movie name”, the second morpheme information after adding the morpheme constituting the other conversation range D3 W2 is t2∪D3, so (B movie name; *; funny) {B movie name is interesting? }.
[0197]
Thus, when the user's utterance content is “A movie name is interesting?”, The
[0198]
As a result, the answer
[0199]
Note that the
[0200]
(Sixth change example)
When the
[0201]
Specifically, the
[0202]
When the
[0203]
Thereby, even if the
[0204]
As a result, since the
[0205]
[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 in a general-purpose computer such as a personal computer.
[0206]
Here, as the programming language, the topic that the user wants, the user's emotional level for a certain matter, or the type of statement sentence, affirmative sentence, question sentence, repulsive sentence, etc. are associated with the morpheme according to the semantic content In this embodiment, for example, DKML (Discourse Knowledge Markup Language), XML (eXtensible Markup Language), C language, etc. developed by the inventors can be used.
[0207]
That is, the
[0208]
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 associated with the analyzed semantic content. A conversation control device, a conversation control system, and a conversation control method that have the effect of being able to output the optimum answer contents corresponding to the user's utterance contents by outputting the answer contents prepared in advance. It can be easily realized by a general purpose computer.
[0209]
In addition, since the developer who develops the
[0210]
In other words, the
[0211]
For this reason, the
[0212]
Furthermore, communication between the
[0213]
The program can be recorded on a recording medium. As shown in FIG. 23, examples of the recording medium include a
[0214]
[Embodiment 2]
The description of the second embodiment is as follows. FIG. 24 is a diagram illustrating a configuration of the
[0215]
As shown in FIG. 24, the information output device is substantially the same as the configuration of the
[0216]
The information output apparatus according to the present embodiment is different in the function of the
[0217]
In addition, this Embodiment also has functions, such as each function in
[0218]
In the present embodiment, the first morpheme information and the second morpheme information will explain the case where the morpheme corresponding to the subject, the morpheme corresponding to the object, and the morpheme corresponding to the action are included. It is not limited. That is, the information output device of the present invention may use first morpheme information or second morpheme information that does not include any of the morphemes corresponding to the subject, the morpheme corresponding to the object, and the morpheme corresponding to the action. Is possible.
[0219]
The information output device is installed at the user's home, for example. The information output device is composed of, for example, a PC terminal device. And an information output device outputs a predetermined answer sentence to the visitor based on input information inputted from a visitor (user) who visits a user.
[0220]
Input information input from a visitor is input to the
[0221]
The keyword database 372 (keyword storage unit) stores in advance a plurality of keywords that mean that a visitor has visited the user for an important requirement. When a visitor visits a user for an important requirement, for example, enter input information such as (I want to see you urgently) or (I want to deliver the package as soon as possible) To do. In this case, the input information includes words such as (right) or (urgent), which means that the visitor has visited the user for an important requirement.
[0222]
The
[0223]
A first content sentence and a second content sentence are associated with second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof. The first content sentence is associated with a plurality of keywords stored in the
[0224]
FIG. 25 is a diagram illustrating an example of the contents stored in the
[0225]
The first code information (1) is associated with a first content sentence (for example, “I am having trouble delivering my luggage. I am out now ... Please contact my mobile phone”). Yes. In this first content sentence, a content to be notified to a visitor who visited the user with an important requirement is shown. For example, in the first content sentence, the content that allows a visitor who visits the user with an important requirement to contact the user quickly is shown.
[0226]
In addition, the second code information includes a second content sentence (for example, “It is hard to deliver the package.
[0227]
I'm sorry, but I'm out now. ]). This second content sentence shows the content to be notified to visitors who have visited the user with unimportant requirements. In the second content sentence, for example, general message information that prevents the user from being contacted quickly from a visitor who visited the user with an unimportant requirement is shown.
[0228]
As shown in FIG. 25, the
[0229]
In the present embodiment, the
[0230]
The
[0231]
If the
[0232]
In addition, for example, when the first morpheme information is (I; baggage; I want to deliver), the
[0233]
The
[0234]
For example, when the first morpheme information acquired by the
[0235]
When the
[0236]
The answer
[0237]
On the other hand, when the instruction signal is “a signal indicating that an instruction to acquire an answer sentence associated with the second code information” is given, the answer
[0238]
(Information output method using information output device)
An information output method using the information output apparatus having the above configuration can be implemented by the following procedure. FIG. 26 is a flowchart showing the procedure of the information output method according to the present embodiment. In this embodiment, a case where voice is input will be described as an example. In FIG. 26, the description of the same process as that of the first embodiment is simplified.
[0239]
In this embodiment, it is assumed that the information output device is arranged at the user's home as an example. In the present embodiment, as an example, it is assumed that the user is away from home.
[0240]
First, the visitor inputs information indicating that the user has use using an operation unit (not shown) (for example, a buzzer). The input information is sent to the
[0241]
A visitor inputs a predetermined utterance content (for example, “I want to give an urgent baggage”) using the input unit 100 (S201). Then, the voice input to the
[0242]
The
[0243]
Also, the
[0244]
The first morpheme information acquired by the
[0245]
The discourse
[0246]
The
[0247]
In parallel with the processes in S207 and S208, the process in S209 is also performed. Based on the first morpheme information acquired by the
[0248]
If the
[0249]
On the other hand, if the
[0250]
Then, when the instruction signal is “a signal indicating that an instruction to acquire an answer sentence associated with the first code information” is given, the answer
[0251]
On the other hand, when the instruction signal is “a signal indicating an instruction to acquire an answer sentence associated with the second code information”, the answer
[0252]
The
[0253]
Note that the information output apparatus may include a determination unit (not shown) as follows. The determination unit holds a table in which keywords and importance levels (information indicating whether they are important) are associated with each other. When the administrator of the apparatus inputs a keyword using the
[0254]
(Function and effect)
In the present embodiment, the
[0255]
As a result, if the
[0256]
When the
[0257]
Therefore, according to the information output device of the present embodiment, the answer text to be output to the visitor differs depending on whether or not the visitor (user) visited the user with an important requirement. Can do. For example, the first content sentence is a content sentence that allows a visitor who has visited the user for an important requirement to contact the user quickly. Then, the second content sentence is a general message that prevents the user from being contacted early by a visitor who visits an unimportant message. By making the first content sentence and the second content sentence as described above, the following effects can be obtained.
[0258]
A visitor who visits the user for an important requirement can quickly contact the user based on the output answer sentence. For this reason, for example, the user can quickly know the detailed contents of the important requirements.
[0259]
The general message information is output to a visitor who visits the user for an unimportant requirement. For this reason, the user does not need to be contacted by the visitor early. This avoids a situation where the user has to respond quickly for an unimportant requirement. Therefore, according to the present embodiment, it is possible to provide a convenient information output device for the user.
[0260]
Further, the visitor simply utters a message, and the information output apparatus can determine whether or not the visit is important. For this reason, since the visitor does not need to input information on whether or not the visit is important, the burden on the visitor is reduced.
[0261]
Further, according to the present embodiment, in order to search for the second morpheme information that approximates the first morpheme information, the information output device uses the second morpheme information and the first morpheme information that belong to the “discourse range”. The second morpheme information approximates to the first morpheme information because it is only necessary to collate (can be searched by pinpoint) and there is no need to collate the “all” second morpheme information with the first morpheme information. The time to search for can be shortened.
[0262]
As a result, since the information output device can search for the second morpheme information approximate to the first morpheme information in a short time, it is related to the second morpheme information based on the searched second morpheme information. Can be obtained in a short time, and the input information from the visitor can be answered quickly.
[0263]
Further, since the information output device searches for the second morpheme information including the first morpheme information, it is not necessary to search for the second morpheme information that completely matches the user input information, and the
[0264]
The second morpheme information including the first morpheme information (including discourse range, fixed content or answer content, etc., hereinafter abbreviated as “second morpheme information etc.”) It means not only the case where the information is included as it is, but also the case where the second morpheme information or the like includes at least one morpheme constituting the first morpheme information.
[0265]
(Modification of Embodiment 2)
The information output apparatus of the second embodiment described above can be modified as follows.
[0266]
(Configuration of information output device)
FIG. 27 is a diagram illustrating a configuration of an information output apparatus according to this modification. FIG. 28 is a diagram illustrating a configuration of the
[0267]
As shown in FIGS. 27 and 28, the configuration of the information output device of this modification is substantially the same as the configuration of the information output device of the second embodiment, except that an identification
[0268]
The second morpheme information stored in the
[0269]
A third content sentence is associated with the first plurality of personal identification information. The second morpheme information stored in the
[0270]
FIG. 29 is a diagram showing an example of the contents stored in the
[0271]
In the third content sentence, for example, the content notified by the user to a plurality of specific individuals among visitors who visited the user with important requirements is shown. The third content sentence is, for example, a content that makes it easier for the visitor to contact the user sooner than the first content sentence. For example, the third content sentence is: “It is hard to deliver your luggage. I'm out now. Please contact your mobile phone. If your mobile phone is not connected, please send an e-mail to the mobile phone indicating your requirements and your contact information. ]).
[0272]
The second code information (2) is associated with the second content sentence of the second embodiment, and the second plurality of personal identification information (for example, “Mr. A”, “Mr. B” And a fourth content sentence is associated with the second plurality of personal identification information.
[0273]
In the fourth content sentence, for example, the content notified by the user to a plurality of specific individuals among visitors who visited the user with unimportant requirements is shown. The fourth content sentence is, for example, a content that makes it easier for the visitor to contact the user earlier than the second content sentence, but a content that makes it difficult for the visitor to contact the user than the first content sentence. It has become. For example, the third content sentence is: “It is hard to deliver your luggage. I'm out now. If you have any message, please enter a message ”).
[0274]
The identification
[0275]
When it is determined by the
[0276]
When the
[0277]
When the
[0278]
When the
[0279]
(Information output method)
FIG. 30 is a flowchart for explaining the information output method of the present modification. In FIG. 30, the same processes as those shown in the information output method of the second embodiment are denoted by the same reference numerals, and the description thereof is omitted.
[0280]
First, the visitor inputs identification information of the visitor using the identification information input unit 710 (S300). The inputted visitor identification information is sent to the
[0281]
Then, the
[0282]
If it is determined in step S209 that at least one keyword is included in the first morpheme information, the
[0283]
On the other hand, if it is determined in step S209 that the keyword is not included in the first morpheme information, the
[0284]
In step S313, the
[0285]
The
[0286]
The
[0287]
When the answer
[0288]
In step S330, the
[0289]
The
[0290]
When the answer
[0291]
The
[0292]
When the answer
[0293]
In this modified example, in addition to the effects of the second embodiment, the answer text output to the visitor can be made different depending on whether or not the visitor visiting the user is a specific individual. For example, if a specific individual visits a user with an important requirement, the user wants to contact the specific individual as soon as possible. In such a case, when the visitor who visited the user with an important requirement is a specific individual, the information output device of the present modified example makes it easier for the visitor to contact the user earlier than the first content sentence. A third content sentence that is a content sentence can be output to the visitor.
[0294]
As a result, when a specific individual visits the user with an important requirement, the specific individual can contact the user as soon as possible, and the user can contact the specific individual as soon as possible. it can.
[0295]
Also, for example, even when a specific individual visits the user with an unimportant requirement, the user wants to contact the specific individual quickly because the visitor is the specific individual . In such a case, when the visitor who visited the user with an unimportant requirement is a specific individual, the information output device of the present modified example is a content that makes it easier for the visitor to contact the user than the second content sentence. A fourth content sentence that is a sentence can be output to the visitor.
[0296]
As a result, even when a visitor visits a user with an unimportant requirement, when the visitor is a specific individual, the specific individual can quickly contact the user, You can quickly contact the specific person.
[0297]
The contents described in the information output apparatus and the information output method are the same as those in the first embodiment and each modified example, and a dedicated program for using a predetermined program language is executed in a general-purpose computer such as a personal computer. Can be realized. In addition, the program can be recorded on a recording medium as in the first embodiment and each modified example.
[0298]
【The invention's effect】
As described above, according to the present invention, the answer text to be output to the user can be made different depending on whether or not the user has visited the user with an important requirement. For example, the first content sentence is a content sentence that allows a user who has visited the user for an important requirement to contact the user quickly. The second content sentence is a general message that the user does not need to be contacted quickly when the user visits an unimportant message. By making the first content sentence and the second content sentence as described above, the following effects can be obtained.
[0299]
A user who visits the user for an important request can quickly contact the user based on the output answer sentence. For this reason, for example, the user can quickly know the detailed contents of the important requirements.
[0300]
The general message information is output to a user who visits the user for an unimportant requirement. For this reason, the user does not need to be contacted by the user quickly. This avoids the situation where the user has to respond quickly for an unimportant requirement. Therefore, the present invention can provide a convenient information output device for the user.
[0301]
In addition, the user can only determine whether or not the visit is important by simply inputting the message by voice or the like. For this reason, since the user does not need to input information on whether or not the visit is important, the burden on the user is reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a conversation control system according to a first embodiment.
FIG. 2 is a block diagram showing an internal structure of a conversation control unit and a sentence analysis unit in the first embodiment.
FIG. 3 is a diagram showing the contents of each morpheme extracted by the morpheme extraction unit in the first embodiment.
4 is a diagram showing the contents of each phrase extracted by the
FIG. 5 is a diagram showing the contents of “case” specified by the sentence structure analysis unit in the first embodiment.
6 is a diagram showing “speech sentence type” specified by an utterance type
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 the contents of a hierarchical structure built inside the
FIG. 9 is a diagram showing a detailed relationship of a hierarchical structure built inside the
FIG. 10 is a diagram showing the contents of “topic title” constructed in the
FIG. 11 is a diagram showing the contents of “answer sentence type” associated with “topic title” built inside
12 is a diagram showing the contents of “topic title” and “answer sentence” belonging to “discourse range” constructed within
FIG. 13 is a diagram showing the contents of reflection element information stored in the reflection element database in the first embodiment.
FIG. 14 is a diagram showing the contents of a wrapping element and a morpheme of the wrapping element stored in the wrapping element database in the first embodiment.
FIG. 15 is a flowchart showing a procedure of the conversation control method according to the first embodiment.
FIG. 16 is a diagram showing utterance contents organized by a morpheme extraction unit in the first modification.
FIG. 17 is a diagram showing an internal configuration of a
FIG. 18 is a diagram illustrating a state in which the ratio calculation unit in the second modification collates each morpheme belonging to “case configuration” and each “topic title” for each “topic title”.
FIG. 19 is a diagram illustrating a state in which the ratio calculation unit in the second modified example collates each morpheme belonging to “each component” and each morpheme belonging to “topic title” for each “case”.
FIG. 20 is a diagram showing a schematic configuration of a conversation control system in a third modified example.
FIG. 21 is a diagram illustrating an internal configuration of a
FIG. 22 is a diagram illustrating a state in which a
FIG. 23 is a diagram showing a recording medium for storing a program in the first embodiment.
FIG. 24 is a diagram illustrating an internal configuration of a conversation control unit and a sentence analysis unit according to the second embodiment.
FIG. 25 is a diagram showing an example of storage contents of a
FIG. 26 is a flowchart for explaining an information output method according to the second embodiment;
FIG. 27 is a diagram showing an internal configuration of an information output apparatus according to a modification of the second embodiment.
FIG. 28 is a diagram illustrating an internal configuration of a conversation control unit and a sentence analysis unit according to a modification of the second embodiment.
FIG. 29 is a diagram showing an example of storage contents of a
FIG. 30 is a flowchart for explaining an information output method according to a modification of the second embodiment.
[Explanation of symbols]
DESCRIPTION OF
Claims (6)
重要な用件に関連するキーワードを予め複数記憶するキーワード記憶手段と、
前記入力情報に基づいて、文字列の最小単位を構成する形態素について1又は複数組み合わせてなる第一形態素情報を取得する形態素取得手段と、
所定の形態素を有する第二形態素情報には、前記複数のキーワードと関連づけられた第一内容文と、前記複数のキーワードと関連づけられていない第二内容文とが対応づけられており、前記第二形態素情報を予め複数記憶する形態素記憶手段と、
前記第一形態素情報に基づいて、少なくとも1つの前記キーワードが前記第一形態素情報に含まれているか否かを判定する判定手段と、
前記形態素取得手段で取得された前記第一形態素情報と、各第二形態素情報とを照合し、前記第一形態素情報が、第二形態素情報の各形態素を含む場合、前記第二形態素情報を、検索第二形態素情報として、検索する検索手段と、
前記判定手段により、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を利用者への回答文として取得するとともに、前記判定手段により、前記キーワードが前記第一形態素情報に含まれていないと判定された場合、前記検索第二形態素情報に対応づけられている第二内容文を利用者への回答文として取得する第一取得手段とを有することを特徴とする情報出力装置。An information output device that outputs a predetermined answer sentence based on input information input from a user,
Keyword storage means for storing a plurality of keywords related to important requirements in advance;
Based on the input information, morpheme acquisition means for acquiring first morpheme information obtained by combining one or a plurality of morphemes constituting a minimum unit of a character string;
The second morpheme information having a predetermined morpheme is associated with a first content sentence associated with the plurality of keywords and a second content sentence not associated with the plurality of keywords. Morpheme storage means for storing a plurality of morpheme information in advance;
Determination means for determining whether at least one of the keywords is included in the first morpheme information based on the first morpheme information;
The first morpheme information acquired by the morpheme acquisition unit is compared with each second morpheme information, and when the first morpheme information includes each morpheme of the second morpheme information, the second morpheme information is Search means for searching as search second morpheme information;
When the determination unit determines that at least one of the keywords is included in the first morpheme information, the first content sentence associated with the searched second morpheme information is used as an answer sentence to the user When the determination means determines that the keyword is not included in the first morpheme information, the second content sentence associated with the search second morpheme information is sent to the user. An information output apparatus comprising: a first acquisition unit that acquires an answer sentence.
利用者から入力された前記利用者の識別情報を取得する第二取得手段と、
前記判定手段により、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている複数の個人の識別情報のなかに、前記利用者の識別情報と一致する個人の識別情報があるか否かを判定する第二判定手段と、
前記第二判定手段により、前記利用者の識別情報と一致する個人の識別情報があると判定された場合、前記第一取得手段は、前記検索第二形態素情報に対応づけられている第三内容文を、前記利用者への回答文として取得するとともに、
前記第二判定手段により、前記利用者の識別情報と一致する個人の識別情報がないと判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を、前記利用者への回答文として取得することを特徴とする請求項1に記載の情報出力装置。The second morpheme information is associated with a plurality of individual identification information associated with the plurality of keywords, and the plurality of individual identification information is associated with a third content sentence. ,
Second acquisition means for acquiring the identification information of the user input from the user;
When the determination means determines that at least one of the keywords is included in the first morpheme information, the plurality of individual identification information associated with the search second morpheme information includes the Second determination means for determining whether there is personal identification information that matches the user identification information;
If the second determination means determines that there is personal identification information that matches the user identification information, the first acquisition means associates the third content associated with the searched second morpheme information. Acquiring a sentence as an answer to the user,
If it is determined by the second determination means that there is no personal identification information that matches the user identification information, the first content sentence associated with the searched second morpheme information is sent to the user. The information output device according to claim 1, wherein the information output device is acquired as an answer sentence.
キーワード記憶手段には、重要な用件に関連するキーワードが、予め複数記憶されており、
所定の形態素を有する第二形態素情報には、前記複数のキーワードと関連づけられた第一内容文と、前記複数のキーワードと関連づけられていない第二内容文とが対応づけられており、形態素記憶手段には、前記第二形態素情報が予め複数記憶されており、
形態素取得手段が、前記入力情報に基づいて、文字列の最小単位を構成する形態素について1又は複数組み合わせてなる第一形態素情報を取得するステップと、
判定手段が、前記第一形態素情報に基づいて、少なくとも1つの前記キーワードが前記第一形態素情報に含まれているか否かを判定するステップと、
検索手段が、前記形態素取得手段で取得された前記第一形態素情報と、各第二形態素情報とを照合し、前記第一形態素情報が、第二形態素情報の各形態素を含む場合、前記第二形態素情報を、検索第二形態素情報として、検索するステップと、
第一取得手段は、前記判定手段により、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を利用者への回答文として取得するとともに、前記判定手段により、前記キーワードが前記第一形態素情報に含まれていないと判定された場合、前記検索第二形態素情報に対応づけられている第二内容文を利用者への回答文として取得するステップとを有することを特徴とする情報出力方法。An information output method for outputting a predetermined answer sentence based on input information input from a user by a computer ,
The keyword storage means stores a plurality of keywords related to important requirements in advance,
The second morpheme information having a predetermined morpheme is associated with a first content sentence associated with the plurality of keywords and a second content sentence not associated with the plurality of keywords, and morpheme storage means A plurality of the second morpheme information is stored in advance,
A morpheme acquisition unit acquires , based on the input information, first morpheme information obtained by combining one or a plurality of morphemes constituting a minimum unit of a character string;
A step of determining whether or not at least one of the keywords is included in the first morpheme information based on the first morpheme information;
When the search unit collates the first morpheme information acquired by the morpheme acquisition unit and each second morpheme information, and the first morpheme information includes each morpheme of the second morpheme information, Searching for morpheme information as search second morpheme information;
The first acquisition means, when the determination means determines that at least one of the keywords is included in the first morpheme information, a first content sentence associated with the search second morpheme information Second content associated with the retrieved second morpheme information when the determination unit determines that the keyword is not included in the first morpheme information while being acquired as an answer sentence to the user An information output method comprising: acquiring a sentence as an answer sentence to a user.
第二取得手段が、利用者から入力された前記利用者の識別情報を取得するステップと、
第二判定手段は、前記判定手段により、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている複数の個人の識別情報のなかに、前記利用者の識別情報と一致する個人の識別情報があるか否かを判定するステップと、
前記第二判定手段により、前記利用者の識別情報と一致する個人の識別情報があると判定された場合、前記第一取得手段は、前記検索第二形態素情報に対応づけられている第三内容文を、前記利用者への回答文として取得するとともに、
前記第二判定手段により、前記利用者の識別情報と一致する個人の識別情報がないと判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を、前記利用者への回答文として取得するステップとを有することを特徴とする請求項3に記載の情報出力方法。The second morpheme information is associated with a plurality of individual identification information associated with the plurality of keywords, and the plurality of individual identification information is associated with a third content sentence. ,
A second acquisition means for acquiring the identification information of the user input from the user;
A second determination unit that identifies a plurality of individuals associated with the searched second morpheme information when the determination unit determines that at least one of the keywords is included in the first morpheme information; Determining whether there is personal identification information that matches the user identification information in the information; and
When the second determination means determines that there is personal identification information that matches the user identification information, the first acquisition means associates the third content associated with the searched second morpheme information. Acquiring a sentence as an answer to the user,
If the second determination means determines that there is no personal identification information that matches the user identification information, the first content sentence associated with the searched second morpheme information is sent to the user. The information output method according to claim 3, further comprising a step of acquiring as an answer sentence.
キーワード記憶手段には、重要な用件に関連するキーワードが、予め複数記憶されており、
所定の形態素を有する第二形態素情報には、前記複数のキーワードと関連づけられた第一内容文と、前記複数のキーワードと関連づけられていない第二内容文とが対応づけられており、形態素記憶手段には、前記第二形態素情報が予め複数記憶されており、
コンピュータに、
前記入力情報に基づいて、文字列の最小単位を構成する形態素について1又は複数組み合わせてなる第一形態素情報を取得する形態素取得手段と、
前記第一形態素情報に基づいて、少なくとも1つの前記キーワードが前記第一形態素情報に含まれているか否かを判定する判定手段と、
前記形態素取得手段で取得された前記第一形態素情報と、各第二形態素情報とを照合し、前記第一形態素情報が、第二形態素情報の各形態素を含む場合、前記第二形態素情報を、検索第二形態素情報として、検索する検索手段と、
前記判定手段により、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を利用者への回答文として取得するとともに、前記判定手段により、前記キーワードが前記第一形態素情報に含まれていないと判定された場合、前記検索第二形態素情報に対応づけられている第二内容文を利用者への回答文として取得する第一取得手段として機能させるためのプログラム。A program of an information output device that outputs a predetermined answer sentence based on input information input from a user,
The keyword storage means stores a plurality of keywords related to important requirements in advance,
The second morpheme information having a predetermined morpheme is associated with a first content sentence associated with the plurality of keywords and a second content sentence not associated with the plurality of keywords, and morpheme storage means A plurality of the second morpheme information is stored in advance,
On the computer,
Based on the input information, morpheme acquisition means for acquiring first morpheme information obtained by combining one or a plurality of morphemes constituting a minimum unit of a character string;
Determination means for determining whether at least one of the keywords is included in the first morpheme information based on the first morpheme information;
The first morpheme information acquired by the morpheme acquisition unit is compared with each second morpheme information, and when the first morpheme information includes each morpheme of the second morpheme information, the second morpheme information is Search means for searching as search second morpheme information;
When the determination unit determines that at least one of the keywords is included in the first morpheme information, the first content sentence associated with the searched second morpheme information is used as an answer sentence to the user When the determination means determines that the keyword is not included in the first morpheme information, the second content sentence associated with the search second morpheme information is sent to the user. A program for functioning as a first acquisition means for acquiring an answer sentence.
コンピュータに、
利用者から入力された前記利用者の識別情報を取得する第二取得手段と、
前記判定手段により、少なくとも1つの前記キーワードが前記第一形態素情報に含まれていると判定された場合、前記検索第二形態素情報に対応づけられている複数の個人の識別情報のなかに、前記利用者の識別情報と一致する個人の識別情報があるか否かを判定する第二判定手段として機能させ、
前記第二判定手段により、前記利用者の識別情報と一致する個人の識別情報があると判定された場合、前記第一取得手段は、前記検索第二形態素情報に対応づけられている第三内容文を、前記利用者への回答文として取得するとともに、
前記第二判定手段により、前記利用者の識別情報と一致する個人の識別情報がないと判定された場合、前記検索第二形態素情報に対応づけられている第一内容文を、前記利用者への回答文として取得する機能をさせるための請求項5に記載のプログラム。The second morpheme information is associated with a plurality of individual identification information associated with the plurality of keywords, and the plurality of individual identification information is associated with a third content sentence. ,
On the computer,
Second acquisition means for acquiring the identification information of the user input from the user;
When the determination means determines that at least one of the keywords is included in the first morpheme information, the plurality of individual identification information associated with the search second morpheme information includes the Function as a second determination means for determining whether there is personal identification information that matches the user identification information;
When the second determination means determines that there is personal identification information that matches the user identification information, the first acquisition means associates the third content associated with the searched second morpheme information. Acquiring a sentence as an answer to the user,
If it is determined by the second determination means that there is no personal identification information that matches the user identification information, the first content sentence associated with the searched second morpheme information is sent to the user. The program according to claim 5, for causing a function to be acquired as an answer sentence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002318748A JP4109964B2 (en) | 2002-10-31 | 2002-10-31 | Information output device, information output method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002318748A JP4109964B2 (en) | 2002-10-31 | 2002-10-31 | Information output device, information output method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004152167A JP2004152167A (en) | 2004-05-27 |
JP4109964B2 true JP4109964B2 (en) | 2008-07-02 |
Family
ID=32461809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002318748A Expired - Fee Related JP4109964B2 (en) | 2002-10-31 | 2002-10-31 | Information output device, information output method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4109964B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7877929B2 (en) | 2007-08-04 | 2011-02-01 | Rezzorb, Llc | Method and apparatus for reducing fertilizer use in agricultural operations |
-
2002
- 2002-10-31 JP JP2002318748A patent/JP4109964B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7877929B2 (en) | 2007-08-04 | 2011-02-01 | Rezzorb, Llc | Method and apparatus for reducing fertilizer use in agricultural operations |
Also Published As
Publication number | Publication date |
---|---|
JP2004152167A (en) | 2004-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2003085550A1 (en) | Conversation control system and conversation control method | |
JP4279883B2 (en) | Conversation control system, conversation control method, program, and recording medium recording program | |
JP3997105B2 (en) | Conversation control system, conversation control device | |
JP4110012B2 (en) | Conversation control device and conversation control method | |
JP2004258902A (en) | Conversation controller, and conversation control method | |
JP4109964B2 (en) | Information output device, information output method, and program | |
JP4110011B2 (en) | Conversation control device and conversation control method | |
JP4413486B2 (en) | Home appliance control device, home appliance control method and program | |
JP4913850B2 (en) | Information processing system and information processing method | |
JP4205370B2 (en) | Conversation control system, conversation control method and program | |
JP4751563B2 (en) | Product discharge device, product discharge control method and program | |
JP4141783B2 (en) | USAGE NOTICE SYSTEM, USAGE NOTICE CONTROL METHOD AND PROGRAM | |
JP3927067B2 (en) | Conversation control system, conversation control device, conversation control method, program, and recording medium recording program | |
JP4402868B2 (en) | Information acquisition apparatus, information acquisition method, and program | |
JP4116367B2 (en) | Conversation control system, conversation control method, program | |
JP3923378B2 (en) | Robot control apparatus, robot control method and program | |
JP4038399B2 (en) | Face image display device, face image display method and program | |
JP4253487B2 (en) | Information acquisition device | |
JP4434553B2 (en) | Information processing system, information processing apparatus, information processing method, program, and recording medium recording the program | |
JP4274760B2 (en) | Map output device, map output method and program | |
JP4188622B2 (en) | Access system and access control method | |
JP3947421B2 (en) | Conversation control system, conversation control method, program, and recording medium recording program | |
JP4312443B2 (en) | Information notification system, information notification control method and program | |
JP2004030323A (en) | System and method for information transmission, and program | |
JP4243079B2 (en) | Premium discharging device, premium discharging control method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050818 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080115 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080311 |
|
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: 20080401 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080407 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4109964 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 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: 20110411 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: 20120411 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: 20120411 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: 20120411 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: 20120411 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130411 Year of fee payment: 5 |
|
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: 20140411 Year of fee payment: 6 |
|
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 |