JP4116367B2 - Conversation control system, conversation control method, program - Google Patents
Conversation control system, conversation control method, program Download PDFInfo
- Publication number
- JP4116367B2 JP4116367B2 JP2002242433A JP2002242433A JP4116367B2 JP 4116367 B2 JP4116367 B2 JP 4116367B2 JP 2002242433 A JP2002242433 A JP 2002242433A JP 2002242433 A JP2002242433 A JP 2002242433A JP 4116367 B2 JP4116367 B2 JP 4116367B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- morpheme
- unit
- sentence
- location
- 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)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、利用者から入力された入力情報に基づいて、入力情報に適した回答を出力する会話制御システム、会話制御方法、プログラムに関する。
【0002】
【従来の技術】
従来、例えば、ある会社に所属する個人に会うことを希望する利用者に対して、個人の所在場所に関する情報を知らせるシステムとして、以下のような技術があった。
【0003】
即ち、利用者が、個人に関する情報(例えば、所定の個人の氏名等)を所定の入力操作に従って入力する。すると、各個人の所在場所を管理している装置が、例えば、各個人の所在場所を予め記録したスケジュール情報などを参照して、入力された個人に関する情報に基づいて、個人の所在場所に関する情報を取得する。そして、上記装置は、上記利用者に対して、取得した個人の所在場所に関する情報(現在、本社の会議室におります)の表示出力を行っていた。
【0004】
【発明が解決しようとする課題】
しかしながら、上述した従来技術では、以下のような問題があった。上述した各個人の所在場所を示したスケジュール情報は、予め作成されるものである。そして、スケジュール情報が作成された後、各個人の事情等、種々の状況の変化により、各個人は、スケジュール情報に記録された所在場所にいないケースもある。
【0005】
このような場合でも、従来技術では、各個人の所在場所を管理している装置は、予め作成されたスケジュール情報を参照して、利用者に対して、個人の所在場所を知らせていたので、個人の所在場所を間違って、利用者に知らせてしまう場合もあった。
【0006】
一方、利用者からの発話内容に基づいて、発話内容に対応する回答内容を出力するという会話制御装置がある。このような会話制御装置を用いて、初めて会社に来る利用者が発話した内容に対して、個人の所在場所を示す情報を回答文として出力できれば、利用者は、会話制御装置との間でコミュニケーションを取っているような感覚をあじわうことができ、会話制御装置が設置されている会社等に対して好印象を持つようになる。
【0007】
そこで、本発明は、以上のような問題点に鑑みてなされたものであり、個人の所在場所に関する情報を、正確に利用者に知らせることができる会話制御システム、会話制御方法、プログラムを提供することを目的とする。
【0008】
【課題を解決するための手段】
本願に係る発明は、上記課題を解決すべくなされたものであり、本発明は、利用者から入力された入力情報に基づいて、当該入力情報の文字列の最小単位を構成する形態素について1又は複数組み合わせてなる第一形態素情報を取得し、所定の形態素を有する第二形態素情報には、複数の場所をそれぞれ特定するための場所情報である各第二場所情報が対応づけられており、前記各第二場所情報には、所在場所に関する情報を示す内容文がそれぞれ対応づけられており、前記第二形態素情報を予め複数形態素記憶手段に記憶し、前記第一形態素情報と、各第二形態素情報とを照合し、該各第二形態素情報の中から、前記第一形態素情報を構成する形態素を含む第二形態素情報を検索第二形態素情報として検索し、前記複数の場所にそれぞれ設置された場所情報記憶手段に、前記複数の場所をそれぞれ特定するための場所情報である第一場所情報を記憶し、前記複数の場所にそれぞれ設置された情報取得手段が、個人が保持する携帯端末からのアクセスにより、前記場所情報記憶手段から第一場所情報を取得し、前記検索第二形態素情報に対応づけられた各第二場所情報のうち、前記第一場所情報と一致する第二場所情報を検索し、検索された第二場所情報に対応づけられた内容文を、取得することを特徴とするものである。
【0009】
具体的には、例えば、上記発明において、前記入力情報には、所定の個人の識別情報が含まれ、前記所定の形態素は、個人の識別情報を意味する形態素であり、前記第二形態素情報には、前記各第二場所情報及び前記個人に関する情報である第二個人情報が対応づけられており、前記情報取得手段が、個人が保持する携帯端末からのアクセスにより、当該携帯端末が保持する、前記個人に関する情報である第一個人情報を取得した場合、前記検索第二形態素情報に対応づけられた第二個人情報と、前記第一個人情報とを照合し、前記第一個人情報と前記第二個人情報とが一致するか否かを判断し、一致すると判断された場合には、前記場所情報記憶手段から第一場所情報を取得することが好ましい。
【0010】
本発明によれば、形態素取得手段は、利用者からの入力情報に基づいて、第一形態素情報を取得する。そして、検索手段は、第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索第二形態素情報として検索する。
【0011】
そして、情報取得手段は、携帯端末からのアクセスにより、場所情報記憶手段から第一場所情報を取得する。そして、場所情報検索手段は、検索第二形態素情報に対応づけられた各第二場所情報のうち、上記第一場所情報と一致する第二場所情報を検索する。そして、内容文取得手段は、検索された第二場所情報に対応する内容文を、利用者への回答文として取得する。
【0012】
このため、例えば、各個人が、どの場所に所在するということを記録しているスケジュール情報が作成された後、個人の所在場所が急きょ変更したような場合であっても、本発明によれば、情報取得手段は、個人が保持する携帯端末からのアクセスにより、携帯端末を保持する個人の所在場所を示す第一場所情報を取得できる。
【0013】
この結果、利用者は、例えば、(A氏はいますか?)等の、個人の識別情報を含む情報を入力情報として発話(入力)すれば、検索手段により、入力情報と一致又は近似した第二形態素情報が検索され、情報取得手段により、上記個人の所在場所を示す第一場所情報が取得され、場所情報検索手段で、検索された第二形態素情報に対応づけられた各第二場所情報のうち、上記第一場所情報と一致する第二場所情報が検索され、内容文取得手段は、検索された第二場所情報に対応する内容文を利用者への回答として取得できる。ここで、第二場所情報に対応する内容文を、例えば、第二場所情報が特定する場所に所在する旨を示すようにすれば、利用者に対して、上記個人の所在場所に関する情報を、正確に利用者に知らせることができる。
【0014】
また、このような会話制御装置を、例えば、会社の受付に設置することで、以下のような効果がある。即ち、会話制御装置を用いて、初めて会社に来る利用者が発話した内容に対して、個人の所在場所に関する情報を回答文として出力できる。このため、利用者は、会話制御装置との間でコミュニケーションを取っているような感覚をあじわうことができ、会話制御装置が設置されている会社等に対して好印象を持つようになる。
【0015】
また、本発明は、上記発明において、複数の前記形態素の集合からなる集合群の全体を示す要素情報を、該集合群に関連付けて予め複数記憶し、前記文字列から抽出した前記形態素と、前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を含む情報を前記第一形態素情報として取得することが好ましい。
【0016】
【発明の実施の形態】
[実施の形態1]
(会話制御システムの基本構成)
本発明に係る会話制御システムについて図面を参照しながら説明する。図1は、本実施形態に係る会話制御装置1を有する会話制御システムの概略構成図である。
【0017】
同図に示すように、会話制御装置1は、入力部100と、音声認識部200と、会話制御部300と、文解析部400と、会話データベース500と、出力部600と、音声認識辞書記憶部700とを備えている。
【0018】
尚、本実施形態では、説明の便宜上、利用者の発話内容(この発話内容は、入力情報の一種)に限定して説明するが、この利用者の発話内容に限定されるものではなく、キーボード等から入力された入力情報であってもよい。従って、以下に示す「発話内容」は、「発話内容」を「入力情報」に置き換えて説明することもできる。
【0019】
同様にして、後述の説明では、説明の便宜上、「発話文のタイプ」(発話種類)に限定して説明するが、この「発話文のタイプ」に限定されるのではなく、キーボードなどから入力された入力情報の種類を示す「入力種類」であってもよい。従って、以下に示す「発話文のタイプ」(発話種類)は、「発話種類」を「入力種類」に置き換えて説明することもできる。
【0020】
入力部100は、利用者からの入力情報を取得する取得手段であり、本実施形態では、マイクロホン、キーボード等が挙げられる。この入力部100は、利用者から入力された入力情報に基づいて、入力情報を示す文字列を特定する文字認識手段でもある。
【0021】
ここで、入力情報とは、キーボード等を通じて入力された文字、記号、音声等を意味するものである。具体的に、入力部100は、利用者の入力情報(音声以外)を取得し、取得した入力情報を会話制御部300に出力する。また、利用者からの発話内容(この発話内容は、音声からなるものであり、入力情報の一種である)をマイクロホンなどで取得した入力部100は、取得した発話内容を構成する音声を音声信号として音声認識部200に出力する。
【0022】
音声認識部200は、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定する文字認識手段である。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。音声認識辞書記憶部700は、標準的な音声信号に対応する辞書を格納しているものである。
【0023】
前記文解析部400は、入力部100又は音声認識部200で特定された文字列を解析するものであり、本実施形態では、図2に示すように、形態素抽出部410と、文節解析部420と、文構造解析部430と、発話種類判定部440と、形態素データベース450と、発話種類データベース460とを有している。
【0024】
形態素抽出部410は、入力部100又は音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出する形態素抽出手段である。
【0025】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列の中から各形態素を抽出する。ここで、形態素とは、本実施形態では、文字列に現された語構成の最小単位を意味するものとする。この語構成の最小単位としては、図3に示すように、例えば、名詞、形容詞、動詞などの品詞が挙げられる。各形態素は、本実施形態では、m1、m2、・・・、mlと表現する。
【0026】
即ち、形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0027】
文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式に変換する変換手段である。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0028】
ここで、文節形式とは、本実施形態では、日本語文法において、自立語又は自立語に一つ以上の付属語がついた文、或いは、日本語文法の意味を崩さない程度に文字列をできるだけ細かく区切った一区切りの文を意味する。この文節は、本実施形態では、p1、p2、・・・pkと表現する。
【0029】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が(m2)・は(m4)・を(m5)・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。同図に示す「t」は、転置を意味する。
【0030】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0031】
文構造解析部430は、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類する分類手段である。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0032】
ここで、「格構成」とは、文節における実質的な概念を示す格(属性)を意味するものであり、本実施形態では、例えば、主語・主格を意味するサブジェクト(主体格)、対象を意味するオブジェクト(対象格)、動作を意味するアクション、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション等が挙げられる。本実施形態では、サブジェクト、オブジェクト、アクションの三要素の「格」(格構成)に対応付けられた各形態素を第一形態素情報とする。
【0033】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0034】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0035】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を反射的判定部320に出力する。
【0036】
発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容(入力情報)の種類を示す発話種類(入力種類)を特定する種類特定手段である。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0037】
ここで、「発話文のタイプ」は、本実施形態では、図6に示すように、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、反発文(N;Negation)などから構成されるものである。
【0038】
陳述文とは、利用者の意見又は考えなどからなる文を意味するものであり、本実施形態では、図6に示すように、例えば”佐藤が好きだ”などの文が挙げられる。感想文とは、利用者が抱く感想からなる文を意味するものである。場所文とは、場所的な要素からなる文を意味するものである。
【0039】
結果文とは、話題に対して文が結果の要素を含む文から構成されるものを意味する。時間文とは、話題に関わる時間的な要素を含む文から構成されるものを意味する。
【0040】
条件文とは、一つの発話を話題と捉えた場合に、話題の前提、話題が成立している条件や理由などの要素を含む文から構成されるものを意味する。反発文とは、発話相手に対して反発するような要素を含む文から構成されるものを意味する。各「発話文のタイプ」についての例文は、図6に示す通りである。
【0041】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。文要素とは、文字列の種類を特定するための分の種別を意味し、文要素は、本実施形態では、上記説明した定義句(〜のことだ)などが挙げられる。
【0042】
ここで、上記発話種類データベース460は、図7に示すように、定義句(例えば、〜のことだ)に関係する辞書を備えた定義表現事例辞書、肯定句(例えば、賛成、同感、ピンポーン)に関係する辞書を備えた肯定事例辞書、結果句(例えば、それで、だから)に関係する辞書を備えた結果表現事例辞書、挨拶句(例えば、こんにちは)に関係する辞書を備えた挨拶事例辞書、否定句(例えば、馬鹿言うんじゃないよ、反対)に関係する辞書を備えた否定事例辞書などから構成され、各辞書は、「発話文のタイプ」と関連付けられている。
【0043】
これにより、発話種類判定部440は、文節と発話種類データベース460に格納されている各辞書とを照合し、文節の中から各辞書に関連する文要素を抽出し、抽出した文要素に関連付けられた判定の種類を参照することで、「発話文のタイプ」を判定することができる。
【0044】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0045】
前記会話データベース500は、一つの文字、複数の文字列又はこれらの組み合わせからなる各形態素を示す第二形態素情報と、発話内容に対する利用者への回答内容とを予め相互に関連付けて複数記憶する回答記憶手段(談話記憶手段)である。また、会話データベース500は、複数の回答内容に対応付けられた各回答内容の種類を示す回答種類を、第二形態素情報に関連付けて予め複数記憶する回答記憶手段(談話記憶手段)でもある。
【0046】
更に、会話データベース500は、利用者から入力されるであろう入力内容又は利用者への回答内容に関連性のある範囲を構成する形態素を示す談話範囲(キーワード)を予め複数記憶する談話記憶手段でもある。この談話範囲(キーワード)には、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報が複数関連付けられ、各第二形態素情報には、利用者への回答内容がそれぞれに関連付けてられている。
【0047】
更にまた、会話データベース500は、第二形態素情報を構成する各要素を、主格からなる主体各、目的格からなる対象格などの属性に分類して記憶する回答記憶手段(談話記憶手段)でもある。
【0048】
この会話データベース500は、図8に示すように、本実施形態では、大きく分けると、利用者から発話されるであろう発話内容又は利用者への回答内容について関連性のある範囲を意味する談話範囲(ディスコース)と、利用者が発話している内容に最も密接な関連性のある範囲を意味する話題(トピック)とから構成されている。同図に示すように、”談話範囲”は、本実施形態では、”話題”の上位概念として位置付けるものとする。
【0049】
各談話範囲は、図9に示すように、階層構造となるように構成することができる。同図に示すように、例えば、ある談話範囲(映画)に対する上位概念の談話範囲(娯楽)は、上の階層構造に位置するようにし、談話範囲(映画)に対する下位概念の談話範囲(映画の属性、上映映画)は、下の階層構造に位置するようにすることができる。即ち、各談話範囲は、本実施形態では、他の談話範囲との間で上位概念、下位概念、同義語、対義語の関係が明確となる階層位置に配置することかできる。
【0050】
上述の如く、談話範囲は、各話題から構成されるものであり、本実施形態では、例えば、談話範囲がA映画名であれば、A映画名に関係する複数の話題を含んでいる。
【0051】
この話題は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素、即ち、利用者から発話されるであろう発話内容を構成する各形態素を意味するものであり、本実施形態では、サブジェクト(主体格)、オブジェクト(対象格)、アクションの「格」(属性)に対応付けられた各形態素からなるものである。これら三要素に対応付けられた各形態素は、本実施形態では、話題タイトル(この話題タイトルは、”話題”の下位概念に相当するものである)(第二形態素情報)と表現することにする。
【0052】
尚、話題タイトルには、上記三要素に対応付けられた各形態素に限定されるものではなく、他の「格」、即ち、時間を意味するタイム(テンス、アスペクト)、場所を意味するロケーション、条件を意味するコンディション、感想を意味するインプレッション、結果を意味するエフェクトなどに対応付けられた各形態素を有してもよい。
【0053】
この話題タイトル(第二形態素情報)は、本実施形態では、会話データベース500に予め格納されているものであり、上記第一形態素情報(利用者が発話した発話内容から導かれたもの)とは区別されるものである。
【0054】
例えば、話題タイトルは、談話範囲が”A映画名”である場合には、図10に示すように、サブジェクト(A映画名)、オブジェクト(監督)、アクション(素晴らしい){これは、”A映画名の監督は素晴らしい”を意味する}から構成されるものである。
【0055】
話題タイトルのうち、「格構成」(サブジェクト、オブジェクト、アクションなど)に対応付けられた形態素がない場合は、その部分については、本実施形態では、”*”を示すことにする。
【0056】
例えば、{A映画名って?}の文を話題タイトル(サブジェクト;オブジェクト;アクション)に変換すると、{A映画名って?}の文のうち、”A映画名”がサブジェクトとして特定することができるが、その他”オブジェクト””アクション”は文の要素になっていないので、話題タイトルは、”サブジェクト”(A映画名);”オブジェクト”なし(*);”アクション”なし(*)となる(図10参照)。
【0057】
回答文とは、利用者に対して回答する回答文(回答内容)を意味するものであり、本実施形態では、各話題タイトル(第二形態素情報)に関連付けられている(図8参照)。回答文は、本実施形態では、本実施形態では、図11に示すように、利用者から発話された発話文のタイプに対応した回答をするために、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、否定文(N;Negation)などのタイプ(回答種類)に分類されている。
【0058】
即ち、各回答文は、図12に示すように、例えば、談話範囲(佐藤){下位概念;ホームラン、上位概念;草野球、同義語;パンダ佐藤・佐藤選手・パンダ}及び各話題タイトルと関連付けられている。
【0059】
同図に示すように、例えば、話題タイトル1−1が{(佐藤;*;好きだ):これは、上述の如く(サブジェクト;オブジェクト;アクション)の順番からなるものである。この順番は、以下同様とする}である場合は、その話題タイトル1−1に対応する回答文1−1は、(DA;陳述肯定文”佐藤が好きです”)、(IA;感想肯定文”佐藤がとても好きです”)、(CA;条件肯定文”佐藤のホームランはとても印象的だからです”)、(EA;結果肯定文”いつも佐藤の出る試合をテレビ観戦してしまいます”)、(TA;時間肯定文”実は、甲子園での5打席連続敬遠から好きになっています”)、(LA;場所肯定文”打撃に立ったときの真剣な顔が好きですね”)、(NA;反発肯定文”佐藤を嫌いな人とは話したくないですね、さよなら”)などが挙げられる。
【0060】
前記会話制御部300は、本実施形態では、図2に示すように、管理部310と、反射的判定部320と、鸚鵡返し判定部330と、談話範囲決定部340と、省略文補完部350と、話題検索部360と、回答文検索部370とを有している。
【0061】
前記管理部310は、会話制御部300の全体を制御するものである。具体的に、入力部100又は音声認識部200から文字列が入力された管理部310は、入力された文字列を文字列信号として形態素抽出部410に出力する。また、管理部310は、回答文検索部370で検索された回答文を出力部600に出力する。
【0062】
反射的判定部320は、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索する定型取得手段である。
【0063】
ここで、定型内容とは、利用者からの発話内容に対して定型的な内容を回答するための反射要素情報を意味し、この反射要素情報は、反射要素データベース801(定型記憶手段)に予め複数記憶されている。反射要素情報としては、本実施形態では、図13に示すように、例えば”おはよう”、”こんにちは”、”こんばんわ”、”やあ”などの「挨拶的要素」、「なるほど」、「本当?」などの「定型的要素」などが挙げられる。
【0064】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0065】
即ち、反射要素情報をD1、第一形態素情報をWとすると、反射的判定部320は、W∩D1≠φ(φ;空集合)の関係が成立していると判断した場合は、上記反射的な回答を行うための処理を行う。
【0066】
例えば、利用者が”おはよう”という発話内容を発した場合には、反射的判定部320は、発話内容”おはよう”と各反射要素情報とを照合し、各反射要素情報の中から、発話内容”おはよう”を含む(と一致する)反射要素情報”おはよう”を検索し、検索した反射要素情報”おはよう”を管理部310に出力する。
【0067】
反射的判定部320は、各反射要素情報の中から、発話内容を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0068】
鸚鵡返し判定部330は、形態素抽出部420で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の回答内容とを照合し、現在の第一形態素情報が過去の回答内容に含まれる場合には、合意内容を取得する定型取得手段である。
【0069】
ここで、鸚鵡返しとは、本実施形態では、利用者の発話内容をそのまま(又はそれに近い内容を)言い返すことを意味する。鸚鵡返し要素は、本実施形態では、直前に会話制御装置1から出力された回答内容を構成する第一形態素情報などからなるのもであり、図14に示すように、例えば、”馬は美しい”(馬;*;美しい)、”佐藤が好きです”(佐藤;*;好きです)などが挙げられる。
【0070】
また、鸚鵡返し要素データベース802は、利用者から入力された入力情報に合意するための合意内容を予め記憶する合意記憶手段でもある。合意内容には、例えば、前回、利用者から入力された入力情報(利用者により前回の入力情報が”A映画名の監督はS氏ですか”である場合には、合意内容としては、”A映画名の監督はS氏です”)、又は ”その通りです”、”本当です”などが挙げられる。
【0071】
具体的に、反射的判定部320から話題検索命令信号が入力された鸚鵡返し判定部330は、各鸚鵡返し要素毎に、入力された話題検索命令信号に含まれる第一形態素情報と鸚鵡返し要素を構成する各形態素とを照合し、鸚鵡返し要素の中に第一形態素情報が含まれているかを判断する(図14参照)。
【0072】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、合意内容を取得し、取得した合意内容からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回の回答文など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0073】
例えば、会話制御装置1が回答文として”A映画名の監督はS氏です”(A映画名の監督;S氏;*)(この順番は、サブジェクト;オブジェクト;アクションの順番、以下同様とする)を出力し、その後、利用者が出力された回答内容に対して”A映画名の監督はS氏ですか”(A映画名の監督;S氏;*)と発話した場合には、鸚鵡返し判定部330は、利用者の第一形態素情報(A映画名の監督;S氏;*)と回答文の各形態素(A映画名の監督;S氏;*)とが一致しているので、利用者は回答内容に対して鸚鵡返しを行っていると断定し、記憶されている合意内容”その通りです”などを取得し、取得した合意内容を出力する。
【0074】
また、鸚鵡返し判定部330は、形態素抽出部410で抽出された現在の第一形態素情報と、鸚鵡返し要素データベース802に記憶されている過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得する定型取得手段でもある。
【0075】
具体的には、利用者が”馬は美しい”という発話内容を発話し、会話制御装置1が回答内容として”馬は躍動感があって良いですね”の内容を出力した場合に、後に利用者が”馬は美しい”という発話内容を繰り返したときは、鸚鵡返し判定部330は、現在の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}と前の発話内容”馬は美しい”を構成する各形態素(第一形態素情報){馬;*;美しい}とが一致しているので、利用者は会話制御装置1からの回答内容”馬は躍動感があって良いですね”については全く聞いていないものと断定することができる。
【0076】
この場合、鸚鵡返し判定部330は、利用者が会話制御装置1からの回答内容を聞いていないので、記憶された反発内容(例えば、同じ内容を繰り返さないでよ”など)取得し、取得した反発内容を出力することができる。
【0077】
一方、鸚鵡返し判定部330は、第一形態素情報が前回の回答文の内容と同一、又は第一形態素情報が前回の第一形態素情報と同一でないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0078】
尚、上記の鸚鵡返し判定部330は、「会話制御装置1の回答内容」に対して利用者が鸚鵡返しを行った場合の処理を示してきたが、更に以下の処理も行うことができる。例えば、出力部600が”馬は美しい”という回答文を出力した場合、この回答文に対して利用者が”どうして馬は美しいの?”、”どうして美しいの?”、又は”どうして?”と発話した場合に対して行う鸚鵡返し判定部330の処理である。
【0079】
この場合、鸚鵡返し判定部330は、出力した回答文S”馬は美しい”と利用者からの発話内容W(”どうして馬は美しいの?(疑問文)”又は”どうして美しいの?(疑問文)”)とを照合すると、(W−c)⊂S、S≠φ、c≠φ(このcは、Wの発話種類を意味し、この発話種類は、後述する発話種類判定部440で判定されるものである。発話種類には、後述するように、例えば、疑問文などが挙げられる。)の関係が成立するので、”条件付”の鸚鵡返し処理(回答内容に対して利用者が疑問文付きの鸚鵡返しを行った場合の処理)を行う。
【0080】
”条件付”の鸚鵡返し処理としては、例えば、会話制御装置1が”馬は美しいね”の回答文を出力した場合に、上記利用者が”どうして馬は美しいの?”の発話内容を発したときは、利用者の疑問等を解消するため、鸚鵡返し判定部330が”だって馬は美しいじゃない”などの回答文を鸚鵡返し要素データベース802の中から取得し、取得した回答文を管理部310に出力する処理を行う。
【0081】
談話範囲決定部340は、文節解析部420で抽出された第一形態素と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報を含む談話範囲を検索する談話検索手段である。
【0082】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された談話検索命令信号に基づいて、利用者の談話範囲を決定する。即ち、談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0083】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0084】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0085】
これにより、後述する話題検索部360は、談話範囲決定部340で決定された”談話範囲”に属する各「話題タイトル」と、文構造解析部430で特定された第一形態素情報とを照合することができるので、”全て”の「話題タイトル」(第二形態素情報)と第一形態素情報とを照合する必要がなくなり、後述する回答文検索部370は、最終的な回答文を検索するまでの時間を短縮することができる。
【0086】
尚、談話範囲決定部340は、上記の如く、第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報の形態素が含まれていれば、その形態素を談話範囲として決定していたが、これに限定されるものではなく、鸚鵡返し判定部330で直前に検索された鸚鵡返し要素の形態素、又は利用者が発話した発話内容を構成する形態素を談話範囲として決定しても良い。後述する省略文補完部350は、上記談話範囲決定部340で決定された談話範囲を用いて、その談話範囲を、形態素が省略されている第一形態素情報に付加することができる。
【0087】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索する属性検索手段である。また、省略文補完部350は、検索した属性に基づいて、属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加する形態素付加手段でもある。
【0088】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0089】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、談話範囲決定部340で決定された談話範囲(A映画名;このA映画名は映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0090】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0091】
これにより、第一形態素情報が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、第一形態素情報がある談話範囲に属している場合には、例えば、その談話範囲D(A映画名)を第一形態素情報W(監督;*;*)に付加し、第一形態素情報をW’(A映画名の監督;*;*){A映画名の監督は?}として扱うことができるので、利用者の発話内容が省略文である場合であっても、前に決定された談話範囲に基づいて省略文を補完することができ、省略文を明確にすることができる。
【0092】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素を補完することができるので、話題検索部360は、補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で取得された「話題タイトル」に基づいて利用者の発話内容により適した回答内容を出力することができる。
【0093】
話題検索部360は、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索する第一検索手段である。
【0094】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0095】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0096】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0097】
回答文検索部370は、話題検索部360で検索された第二形態素情報(話題タイトル)に基づいて、第二形態素情報に関連付けられた回答文を取得する回答取得手段である。また、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索する第二検索手段でもある。
【0098】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0099】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0100】
回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する。
【0101】
出力部600は、回答文検索部370で取得された回答文を出力する出力手段であり、本実施形態では、例えば、スピーカ、ディスプレイなどが挙げられる。具体的に、管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0102】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。図15は、本実施形態に係る会話制御方法の手順を示すフロー図である。
【0103】
先ず、入力部100が、利用者からの発話内容を取得するステップを行う(S101)。具体的に入力部100は、利用者の発話内容を構成する音声を取得し、取得した音声を音声信号として音声認識部200に出力する。また、入力部100は、利用者から入力された入力情報(音声以外)に基づいて、入力情報(音声以外)に対応する文字列を特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0104】
次いで、音声認識部200が、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定するステップを行う(S102)。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0105】
そして、形態素抽出部410が、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出するステップを行う(S103)。
【0106】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0107】
そして、文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめるステップを行う(S104)。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0108】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。
【0109】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0110】
その後、文構造解析部430が、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類するステップを行う(S105)。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0111】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0112】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0113】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部360に出力する。
【0114】
次いで、発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定するステップを行う(S106)。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0115】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。
【0116】
この発話種類判定部440は、後述する話題検索部360からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部370に出力する。
【0117】
次いで、反射的判定部320が、形態素抽出部410で抽出された第一形態素情報と各定型内容を照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索するステップを行う(S107;反射的処理)。
【0118】
具体的に、文構造解析部430から話題検索命令信号が入力された反射的判定部320は、入力された話題検索命令信号に含まれる第一形態素情報と反射要素データベース801に記憶されている各反射要素情報(定型内容)とを照合し、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索し、検索した反射要素情報を管理部310に出力する。
【0119】
反射的判定部320は、各反射要素情報の中から、第一形態素情報を含む反射要素情報を検索することができない場合には、文構造解析部430から入力された話題検索命令信号を鸚鵡返し判定部330に出力する。
【0120】
次いで、鸚鵡返し判定部330が、形態素抽出部410で抽出された第一形態素情報と各鸚鵡返し要素を照合し、各鸚鵡返し要素の中から、第一形態素情報を含む鸚鵡返し要素を検索するステップを行う(S108;鸚鵡返し処理)。
【0121】
鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていると判断した場合には、第一形態素情報を含む鸚鵡返し要素を取得し、取得した鸚鵡返し要素からなる回答文を管理部310に出力(鸚鵡返し処理)する。即ち、鸚鵡返し要素(前回出力された回答文、前回利用者が発話した発話内容など)をS、第一形態素情報をWとすると、鸚鵡返し判定部330は、W⊂S、W≠φの関係が成立している場合には、上記に示す鸚鵡返し処理を行う。
【0122】
一方、鸚鵡返し判定部330は、各鸚鵡返し要素の中に第一形態素情報が含まれていないと判断した場合には、反射的判定部320から入力された話題検索命令信号を談話範囲決定部340に出力する。
【0123】
そして、談話範囲決定部340が、文節解析部420で抽出された第一形態素と各談話範囲とを照合し、各談話範囲の中から、第一形態素情報を含む談話範囲を検索(決定)するステップを行う(S109)。
【0124】
具体的に、鸚鵡返し判定部330から話題検索命令信号が入力された談話範囲決定部340は、入力された検索命令信号に基づいて、会話データベース500の中から、利用者が発話している内容について関連性のある範囲(談話範囲)を検索する。
【0125】
例えば、談話範囲決定部340は、入力された話題検索命令信号に含まれる第一形態素情報が(面白い映画;*;ある){面白い映画はある?}である場合には、この第一形態素情報と談話範囲群とを照合し、談話範囲群に第一形態素情報を構成する形態素(例えば”映画”)が含まれているときは、第一形態素情報に含まれる”映画”を談話範囲として決定する。この場合、談話範囲決定部340は、第一形態素情報に談話範囲”映画”が含まれているので、入力された第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0126】
一方、談話範囲決定部340は、第一形態素情報に談話範囲群が含まれていない場合には、入力された第一形態素情報を話題検索命令信号に含めて省略文補完部350に出力する。
【0127】
次いで、省略文補完部350が、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど)の中から、形態素を含まない属性を検索するステップを行う。その後、省略文補完部350が、検索した形態素を含まない属性に基づいて、その属性に、談話範囲決定部340で検索された談話範囲を構成する形態素を付加するステップを行う(S110;省略文を補完)。
【0128】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文である場合には、第一形態素情報が属する談話範囲の形態素を、第一形態素情報に付加する。
【0129】
例えば、省略文補完部350は、入力された話題検索命令信号に含まれる第一形態素情報を構成する形態素が(監督;*;*)(監督は?)(この文は、”何の”監督であるかが不明であるので、省略文を意味する。)である場合には、前に談話範囲決定部340で決定された談話範囲(A映画名;このA映画名とは映画のタイトルを示すものである)に属する第一形態素情報であれば、第一形態素情報を構成する形態素に、決定された談話範囲の形態素(A映画名)を第一形態素情報に付加(”A映画名”の監督;*;*)する。
【0130】
即ち、第一形態素情報をW、決定された談話範囲をDとすると、省略文補完部350は、第一形態素情報Wに談話範囲Dを付加し、付加後の第一形態素情報を話題検索命令信号に含めて話題検索部360に出力する。
【0131】
次いで、話題検索部360が、文節解析部420で抽出された第一形態素情報又は省略文補完部350で補完された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索するステップを行う(S111)。
【0132】
具体的に、談話範囲決定部340又は省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、談話範囲決定部340で決定された談話範囲に属する各「話題タイトル」(第二形態素情報)の中から、第一形態素情報の形態素を含む「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0133】
例えば、第一形態素情報を構成する「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合には、話題検索部360は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0134】
話題検索部360から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部370に出力する。
【0135】
そして、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に関連付けられている回答文を取得するステップを行う(S112)。
【0136】
具体的に、話題検索部360から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部370は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その「話題タイトル」に関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0137】
例えば、回答文検索部370は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0138】
次いで、回答文検索部370から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。また、反射的判定部320から反射要素情報、又は鸚鵡返し判定部330から鸚鵡返し処理の内容が入力された管理部310は、入力された反射要素情報に対応する回答文、入力された鸚鵡返し処理の内容に対応する回答文を出力部600に出力する(S113)。管理部310から回答文が入力された出力部600は、入力された回答文{例えば、私も佐藤が好きです}を出力する。
【0139】
(会話制御装置及び会話制御方法による作用及び効果)
上記構成を有する本願に係る発明によれば、反射的判定部320が、利用者から発話された発話内容を構成する第一形態素情報と予め記憶された各定型内容とを照合し、各定型内容の中から、第一形態素情報を含む定型内容を検索することができるので、反射的判定部320は、例えば第一形態素情報が”こんにちは”などの定型内容である場合には、この定型内容と同一の定型内容”こんにちは”等を回答することができる。
【0140】
また、反射的判定部320は、利用者の発話内容が定型内容である場合には、その定型内容(挨拶など)を回答するので、利用者は、最初に、会話制御装置1との間で意思の疎通をしているような感覚を味わうことができる。
【0141】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の回答内容とを照合し、現在の第一形態素情報が過去の回答内容に含まれていない場合には、予め記憶してある合意内容を取得することができるので、鸚鵡返し判定部330は、利用者から現在入力された入力情報と過去の回答内容とが一致していれば、利用者が過去の回答内容に対して鸚鵡返し(利用者が回答内容に対して聞き直していること)の入力情報を入力したものと断定することができる。
【0142】
この場合、鸚鵡返し判定部330は、利用者が過去の回答内容に対して鸚鵡返しを行っているので、記憶されている合意内容を取得し、取得した合意内容(例えば、”その通りです”など)を出力することができる。これにより、利用者は、会話制御装置1から出力された回答内容の意味が分からなければ、もう一度聞き直して、再度回答内容を聞き直すことができるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0143】
また、鸚鵡返し判定部330が、現在の第一形態素情報と過去の第一形態素情報とを照合し、現在の第一形態素情報が過去の第一形態素情報に含まれる場合には、反発内容を取得することができるので、鸚鵡返し判定部330は、前回入力された入力情報が今回入力された入力情報に含まれている場合には、利用者が前の入力情報と同一の内容を反復して入力したものと判断することができ、利用者が会話制御装置からの回答内容に対して適切に回答していないものと断定することができる。
【0144】
この場合、鸚鵡返し判定部330は、利用者が前回の回答内容に対して適切に回答していないので、利用者に対して反発するため、記憶されている反発内容を取得し、取得した反発内容を出力する。これにより、利用者は、会話制御装置1からの回答内容に対して適切な入力情報を入力しなければ、会話制御装置1から反発内容が出力されるので、恰も他の利用者と会話しているような感覚を味わうことができる。
【0145】
また、話題検索部360は、第一形態素情報と近似する第二形態素情報を検索するには、”談話範囲”に属する各第二形態素情報と第一形態素情報とを照合すればよく、”全て”の第二形態素情報と第一形態素情報とを照合する必要がないので、第一形態素情報と近似している第二形態素情報を検索するまでの時間を短縮することができる。
【0146】
この結果、話題検索部360が、第一形態素情報と近似している第二形態素情報を短時間で検索(ピンポイント検索)することができるので、回答文検索部370は、話題検索部360で検索された第二形態素情報に基づいて第二形態素情報に関連付けられている回答文を短時間で取得することができ、会話制御装置1は、利用者からの発話内容に対して迅速に回答することができる。
【0147】
また、話題検索部360が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者の発話内容を構成する要素)を含む第二形態素情報を検索し、回答文検索部370が、話題検索部360で検索された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得することができるので、回答文検索部370は、利用者の発話内容を構成する各形態素(第一形態素情報)に基づいて、各形態素により構築される意味空間(主体、対象等)を考慮し、かかる意味空間に基づいて予め作成された回答内容を取得することができることとなり、単に発話内容の全体をキーワードとして、そのキーワードに関連付けられた回答内容を取得するよりも、より発話内容に適した回答内容を取得することができる。
【0148】
また、話題検索部360は、第一形態素情報を含む第二形態素情報を検索するので、利用者の発話内容と完全に一致する第二形態素情報を検索する必要がなく、会話制御装置1を開発する開発者は、利用者から発話されるであろう発話内容に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0149】
更に、回答文検索部370が、”談話範囲”に属する各第二形態素情報に関連付けられた回答種類(陳述、肯定、場所、反発など)の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答内容を取得することができるので、会話制御装置1は、利用者の会話内容を構成する発話種類、例えば、利用者が単に意見を述べたもの、利用者が抱く感想からなるもの、利用者が場所的な要素を述べたものなどに基づいて、複数の回答内容の中から利用者の発話種類にマッチした回答内容を取得することができることとなり、該当する利用者に対してより最適な回答をすることができる。
【0150】
更にまた、回答文検索部370は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報に関連付けられた回答種類の中から、利用者の発話種類と一致する回答種類を検索(ピンポイント検索が可能)するだけでよいので、”全て”の第二形態素情報に関連付けられた回答種類と利用者の発話種類とを逐一検索する必要がなくなり、利用者の発話種類に対応する最適な回答内容を短時間で取得することができる。
【0151】
最後に、省略文補完部350は、利用者の発話内容を構成する第一形態素情報が省略文であり、日本語として明解でない場合であっても、第一形態素情報がある談話範囲に属している場合には、その談話範囲を第一形態素情報に付加し、省略文からなる第一形態素情報を補完することができる。
【0152】
これにより、省略文補完部350は、第一形態素情報を構成する発話内容が省略文であっても、第一形態素情報を構成する発話内容が適正な日本語となるように、第一形態素情報に特定の形態素(談話範囲を構成する形態素など)を補完することができるので、話題検索部360は、省略文補完部350で補完された補完後の第一形態素情報に基づいて、第一形態素情報に関連する最適な第二形態素情報を取得することができ、回答文検索部370は、話題検索部360で取得された第二形態素情報に基づいて利用者の発話内容により適した回答内容を出力することができる。
【0153】
この結果、会話制御装置1は、利用者からの入力情報が省略文であったとしても、ニューロネットワーク、AI知能などの機能を用いることなく、過去の検索結果を通じて、その省略文が何を意味するのかを推論することができ、会話制御装置1の開発者は、ニューロネットワーク、AI知能を搭載する必要がないので、会話制御装置1のシステムをより簡便に構築することができる。
【0154】
[変更例]
尚、本発明は、上記実施形態に限定されるものではなく、以下に示すような変更を加えることができる。
【0155】
(第一変更例)
本変更例においては、会話データベース500は、複数の形態素の集合からなる集合群の全体を示す要素情報を、集合群に関連付けて複数記憶する要素記憶手段であってもよい。更に、形態素抽出部410は、文字列から抽出した形態素と各集合群とを照合し、各集合群中から、抽出された形態素を含む集合群を選択し、選択した集合群に関連付けられた要素情報を第一形態素情報として抽出してもよい。
【0156】
図16に示すように、利用者が発話した文字列に含まれる各形態素には、類似しているものがある。例えば、図16に示すように、集合群の全体を示す要素情報を「贈答」とすると、「贈答」は、プレゼント、贈り物、御歳暮、御中元、お祝いなど(集合群)と相互に類似しているので、形態素抽出部410は、「贈答」に類似する形態素(上記のプレゼントなど)がある場合には、その類似する形態素については、「贈答」として取り扱うことができる。
【0157】
即ち、形態素抽出部410は、例えば、文字列から抽出した形態素が「プレゼント」である場合には、図16に示すように、「プレゼント」を代表する要素情報が「贈答」であるので、上記「プレゼント」を「贈答」に置き換えることができる。
【0158】
また、会話データベース500には記憶されている各第二形態素情報を構成する各形態素のうち、上記集合群に含まれる形態素は、当該形態素の代わりに、上記集合群に関連づけられた要素情報が上記各第二形態素情報に含められていてもよい。なお、要素情報も、形態素と同じく、文字列の最小単位で構成される。例えば、会話データベース500に記憶されている各第二形態素情報には、形態素(いらっしゃいます)や形態素(おります)が含まれず、要素情報(います)が含まれるようにしてもよい。
【0159】
そして、話題検索部360は、抽出された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素や要素情報を含む第二形態素情報を検索する。
【0160】
これにより、入力された情報が(A氏はいらっしますか)などであっても、形態素抽出部410にて、要素情報を用いた第一形態素情報(A氏;*;います)が抽出され、会話データベース500でも、要素情報を用いた各第二形態素情報(例えば、(A氏;*;います)が記憶されているので、話題検索部360で、要素情報(います)を用いた検索動作を行うことができる。
【0161】
これにより、形態素抽出部410が相互に類似する形態素を整理することができるので、会話制御装置を開発する開発者は、相互に類似した各第一形態素情報から把握される意味空間に対応した第二形態素情報及び第二形態素情報に関係する回答内容を逐一作成する必要がなくなり、結果的に、記憶部に格納させるデータ量を低減させることができる。
【0162】
(第二変更例)
図17に示すように、本変更例においては、割合計算部361と、選択部362とを話題検索部360に備えてもよい。
【0163】
割合計算部361は、形態素抽出部410で抽出された第一形態素情報と各第二情報とを照合し、各第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算する計算手段である。
【0164】
具体的に、文構造解析部430から話題検索命令信号が入力された割合計算部361は、図17に示すように、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲に属する各話題タイトル(第二形態素情報)とを照合し、各話題タイトル毎に、それぞれの話題タイトルの中に、第一形態素情報が占める割合を計算する。
【0165】
例えば、図18に示すように、利用者から発話された発話文を構成する第一形態素情報が(佐藤;*;好きだ){佐藤は好きだ}である場合は、割合計算部361は、「格構成」に属する各形態素(佐藤;*;好きだ)と話題タイトルに含まれる各形態素(佐藤;*;好きだ)とを照合し、上記話題タイトルに、「格構成」に属する各形態素(佐藤;*;好きだ)が含まれる割合を、100%であると計算する。割合計算部361は、これらの計算を話題タイトル毎に行い、計算した各割合を割合信号として選択部362に出力する。
【0166】
選択部362は、割合計算部361で各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択する選択手段である。
【0167】
具体的に、割合計算部361から割合信号が入力された選択部362は、入力された割合信号に含まれる各割合(「格構成」の要素/「話題タイトル」の要素×100)の中から、例えば割合の高い話題タイトルを選択する(図18参照)。割合の高い話題タイトルを選択した選択部362は、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。回答文検索部370は、選択部362で選択された話題タイトルに基づいて、話題タイトルに関連付けられた回答文を取得する。
【0168】
これにより、選択部362が、各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算し、各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することができるので、選択部362は、例えば、第一形態素情報(利用者の発話内容を構成するもの)が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から把握される意味空間を踏襲した第二形態素情報をより的確に取得することができ、結果的に、回答文検索部370は、利用者の発話内容に対して最適な回答をすることができる。
【0169】
また、選択部362は、複数の話題タイトルの中から、割合計算部361で計算された割合の高い話題タイトルを選択することができるので、利用者の発話文に含まれる「格構成」に属する各形態素と会話データベース500に格納されている各話題タイトルとが完全に一致しなくても、「格構成」に属する各形態素に密接する話題タイトルを取得することができる。
【0170】
この結果、選択部362が第一形態素情報を構成する「格構成」に密接する話題タイトルを取得することができるので、会話制御装置1を開発する開発者は、第一形態素情報を構成する「格構成」と完全に一致する話題タイトルを会話データベース500に逐一格納する必要がなくなるので、会話データベース500の容量を低減させることができる。
【0171】
更に、割合計算部361は、談話範囲決定部340で検索された”談話範囲”にのみ属する各第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算するので、”全て”の第二形態素情報に対して第一形態素情報が占める割合を計算する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答内容を迅速に出力することができる。
【0172】
尚、割合計算部361は、分類された各属性に属する第一形態素情報の各形態素と、予め記憶された各属性に属する各第二形態素情報の各形態素とを各属性毎に照合し、各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の各形態素を含む第二形態素情報を検索する第一検索手段であってもよい。
【0173】
具体的に、話題検索命令信号が入力された割合計算部361は、入力された話題検索命令信号に含まれる「格構成」の各「格」(サブジェクト;オブジェクト;アクション)毎に、その「格」に属する各形態素と、同一の「格」からなる話題タイトルの「格」に属する各形態素とを照合し、互いの「格」を構成する形態素が同一か否かを判定する。
【0174】
例えば、図19に示すように、割合計算部361は、「格構成」の「格」の形態素が(犬;人;噛んだ){犬が人を噛んだ}である場合は、それらの形態素”犬”、”人”、”噛んだ”と、それらの形態素を構成する「格」と同一の「格」からなる話題タイトルの形態素”犬”、”人”、”噛んだ”とを照合し、話題タイトルを構成する各形態素”犬”、”人”、”噛んだ”のうち、各形態素に対応する「格」と同一の「格」からなる「格構成」の形態素”犬”、”人”、”噛んだ”と一致している割合を算出(100%)する。
【0175】
もし、話題タイトルを構成する要素が(人;犬;噛んだ){人が犬を噛んだ}である場合には、割合計算部361は、上記と同様の手順により、二つの格に属する形態素が異なるので、「格構成」を構成する形態素と「話題タイトル」との「格」毎の一致度を33%であると算出する(図19参照)。
【0176】
割合を計算した割合計算部361は、各割合の中から、割合の高い話題タイトルを選択し、選択した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0177】
これにより、割合計算部361が、分類された各「格構成」(主体格、対象格など)に属する第一形態素情報の各形態素と、予め記憶された話題タイトルとを各「格」毎に照合し、各話題タイトルの中から、少なくとも一の「格」に第一形態素情報の各形態素を含む第二形態素情報を検索することができるので、割合計算部361は、通常の語順とは異なるものから構成される発話内容、例えば”人が犬を噛む”である場合には、主体格の形態素が”人”、対象格の形態素が”犬”であることから、その各「格」と一致する第二形態素情報を検索することができ、その第二形態素情報(人;犬;噛む)に関連付けられている回答内容{”本当に?”又は”意味がよくわかんないよ”など}を取得することができる。
【0178】
即ち、割合計算部361は、識別が困難な発話内容、例えば”人が犬を噛む”と”犬が人を噛む”とを識別することができるので、その識別した発話内容に最適な回答、前者については例えば”本当に?”、後者については例えば”大丈夫?”をすることができる。
【0179】
また、割合計算部361は、”談話範囲”に属する各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の形態素を含む第二形態素情報を検索すればよいので、”全て”の第二形態素情報の中から、一の第二形態素情報を取得する必要がなくなり、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより短時間で取得することができ、結果的に、会話制御装置1は、取得した第二形態素情報に基づいて利用者からの発話内容に対しての最適な回答内容を迅速に出力することができる。
【0180】
尚、選択部362は、予め定められた優先順位に従って各話題タイトルの中から、一の話題タイトルを選択してもよい。この優先順位とは、話題タイトルとして選出されるための優先度を意味するものである。この優先順位は、開発段階で開発者が予め定めるものである。
【0181】
(第三変更例)
図20に示すように、本変更例においては、上記実施形態及び各変更例に限定されるものではなく、会話制御装置1a,1bにある通信部800と、通信ネットワーク1000を介してデータの送受信をするための通信部900と、通信部900に接続された各会話データベース500b〜500dと、サーバ2a〜2cとを備えてもよい(会話制御システム)。
【0182】
ここで、通信ネットワーク1000とは、データを送受信する通信網を意味するものであり、本実施形態では、例えば、インターネットなどが挙げられる。尚、本変更例では、便宜上、会話データベース500b〜500d、サーバ2a〜2cを限定しているが、これに限定されるものではなく、更に他の会話データベースを設けてもよい。
【0183】
これにより、会話制御部300は、会話制御装置1aの内部に配置してある会話データベース500aのみならず、その他の会話制御装置1b、他の会話データベース500b〜500d、サーバ2a〜2cをも参照することができるので、例えば、会話データベース500aの中から、話題検索命令信号に含まれる「格構成」に属する各形態素(第一形態素情報)と関連する談話範囲等を検索することができない場合であっても、その他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cを参照することにより、上記「格構成」と関連する談話範囲等を検索することができ、利用者の発話文により適した回答文を検索することができる。
【0184】
(第四変更例)
文構造解析部430は、特定した第一形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。回答文検索部370は、検索した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素を会話データベース500に記憶するものであってもよい。
【0185】
談話範囲決定部340は、検索した談話範囲を会話データベース500に記憶するものであってもよい。話題検索部360は、検索した第二形態素情報を会話データベース500に記憶するものであってもよい。
【0186】
上記第一形態素情報と、第二形態素情報と、第一形態素情報又は第二形態素情報を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した回答文を構成する各「格構成」及び各「格構成」に対応付けられた各形態素と、検索した談話範囲とは、それらを相互に関連付けて履歴形態素情報として会話データベース500又は鸚鵡返し要素データベース802に記憶することができる。
【0187】
省略文補完部350は、文節解析部420で抽出された第一形態素情報に基づいて第一形態素情報を構成する各属性(サブジェクト、オブジェクト、アクションなど;格構成)の中から、形態素を含まない属性を検索し、検索した属性に基づいてその属性に、会話データベース500又は鸚鵡返し要素データベース802に記憶された履歴形態素情報を付加する。
【0188】
具体的に、談話範囲決定部340から話題検索命令信号が入力された省略文補完部350は、入力された談話検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報からなる発話内容が省略文であるかを判定し、第一形態素情報からなる発話内容が省略文(例えば、サブジェクト、オブジェクト、又はアクションに所定の形態素を有しないなど)である場合には、会話データベース500又は鸚鵡返し要素データベース802に記憶されている履歴形態情報を、第一形態素情報に付加する。
【0189】
即ち、履歴形態情報に含まれるサブジェクトをS1、オブジェクトをO1、アクションA1、談話範囲をD1とし、省略された第一形態素情報をWとすると、補完後の第一形態素情報W1は、S1∪W、O1∪W、A1∪W、又はD1∪Wとして表現することができる。
【0190】
話題検索部360は、省略文補完部350で補完された第一形態素情報W1と各第二形態素情報とを照合し、各「話題タイトル」(第二形態素情報)の中から、第一形態素情報W1を含む第二形態素情報を検索し、検索した話題タイトルを検索結果信号として回答文検索部370及び発話種類判定部440に出力する。
【0191】
これにより、第一形態素情報からなる発話内容が省略文であり、日本語として明解でない場合であっても、省略文補完部350は、会話データベース500に記憶されている履歴形態情報を用いて、省略された第一形態素情報の形態素を補完することができるので、省略された第一形態素情報からなる発話内容を明確にすることができる。
【0192】
このため、省略文補完部350が、第一形態素情報を構成する発話内容が省略文である場合には、第一形態素情報からなる発話内容が適正な日本語となるように、第一形態素情報に省略された形態素を補完することができるので、話題検索部360は、形態素が補完された第一形態素情報に基づいて、その第一形態素情報と関連する最適な「話題タイトル」(第二形態素情報)を取得することができ、回答文検索部370は、話題検索部360で取得された最適な「話題タイトル」に基づいて、利用者の発話内容により適した回答内容を出力することができる。
【0193】
(第五変更例)
話題検索部360は、図21に示すように、削除部361と、談話付加部362とを備えてもよい。削除部361は、検索した第二形態素情報に基づいて、第二形態素情報と談話範囲決定部340で検索された談話範囲とを照合し、第二形態素情報を構成する各形態素の中から、談話範囲と一致する形態素を削除する削除手段である。
【0194】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報と、談話範囲決定部340で決定された談話範囲に属する各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索する。
【0195】
そして、削除部361は、検索された第二形態素情報に基づいて、その第二形態素情報と談話範囲決定部340で決定された談話範囲を構成する形態素とを照合し、第二形態素情報の中から、談話範囲を構成する形態素と一致する形態素を削除し、形態素が削除された第二形態素情報を削除信号として談話付加部362に出力する。
【0196】
即ち、削除部361は、第二形態素情報を構成する各形態素t1から、談話範囲決定部340で決定された現在の談話範囲D2(このD2は、形態素からなるものである)を取り除く(取り除いた結果をt2とすると、t2=t1−D2)。
【0197】
談話付加部362は、削除部361で形態素が削除された第二形態素情報に基づいて、談話範囲決定部340で検索された談話範囲に関連付けられた他の談話範囲を取得し、取得した他の談話範囲を構成する形態素を、第二形態素情報に付加する談話付加手段である。
【0198】
具体的には、現在の談話範囲D2が回答文K1と関連性のある談話範囲をDKとすると、回答文K1又は現在の談話範囲D2と関連性(兄弟関係にあるもの)のある他の談話範囲D3は、D3=D2∪DKとして表現することができるので、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、W2=t2∪D3とすることができる。
【0199】
例えば、第二形態素情報を構成する各形態素t1が(A映画名;*;面白い){A映画名は面白い?}であり、談話範囲決定部340で決定された現在の談話範囲D2が(A映画名)である場合には、削除部361は、先ず、各形態素t1(A映画名;*;面白い)から談話範囲D2(A映画名)を削除し、削除した結果をt2(*;*;面白い)とする(t2=t1−D2)。
【0200】
現在の談話範囲D2(A映画名)と関連性のある他の談話範囲D3が”B映画名”である場合には、他の談話範囲D3を構成する形態素を付加した後の第二形態素情報W2は、t2∪D3であるので、(B映画名;*;面白い){B映画名は面白い?}とすることができる。
【0201】
これにより、利用者の発話内容が”A映画名は面白い?”である場合には、談話付加部362は、利用者の発話内容を構成する各形態素(A映画名;*;面白い)と一致する第二形態素情報(A映画名;*;面白い)を、他の第二形態素情報(B映画名;*;面白い){B映画名は面白い?}に変更することができるので、回答文検索部370は、談話付加部362で変更された第二形態素情報に関連付けられた回答文(例えば、”B映画名は面白いよ”)を取得し、取得した回答文を出力することができる。
【0202】
この結果、回答文検索部370は、利用者の発話内容に対する回答文を直接的に出力するわけではないが、談話付加部362で付加された形態素を含む第二形態素情報に基づいて、発話内容に関連する回答文を出力することができるので、出力部600は、回答文検索部370で検索された回答文に基づいて、さらに人間味のある回答文を出力することができる。
【0203】
尚、談話付加部362は、形態素が削除された第二形態素情報に他の談話範囲を付加するものだけに限定されるものではなく、形態素が削除された第二形態素情報に履歴形態素情報(会話データベース500に記憶されている)を付加するものであってもよい。
【0204】
(第六変更例)
話題検索部360は、各第二形態素情報の中から、第一形態素情報を含む第二形態素情報を検索することができない場合に、第一形態素情報と各回答内容とを照合し、各回答内容の中から、第一形態素情報を含む回答内容を検索することができたときは、検索した回答内容に関連付けられている第二形態素情報を取得する第一検索手段であってもよい。
【0205】
具体的に、省略文補完部350から話題検索命令信号が入力された話題検索部360は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を取得することができない場合には、図22に示すように、第一形態素情報と、第二形態素情報に関連付けられている回答文とを照合する。
【0206】
この照合により、話題検索部360は、回答文の中に第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)が含まれていると判断した場合には、その回答文に関連付けられている第二形態素情報を検索する。
【0207】
これにより、話題検索部360は、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を検索することができなくても、各回答文の中から、第一形態素情報を構成する形態素(アクション又はアクションに対応付けられた形態素)を含む回答文を特定し、この特定した回答文に関連付けられている第二形態素情報を検索することができるので、利用者の発話内容を構成する第一形態素情報に対応する第二形態素情報を適切に検索することができる。
【0208】
この結果、話題検索部360が第一形態素情報に対応する最適な第二形態素情報を検索することができるので、回答文検索部370は、話題検索部360で検索された最適な第二形態素情報に基づいて、利用者の発話内容に対する適切な回答内容を取得することができる。
【0209】
[プログラム]
上記会話制御システム及び会話制御方法で説明した内容は、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。
【0210】
ここで、プログラム言語としては、利用者が求める話題、ある事柄に対する利用者の感情度、又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて形態素と関連付けて階層的にデータベースに蓄積するための言語、本実施形態では、例えば、発明者らが開発したDKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)、C言語等が挙げられる。
【0211】
即ち、会話制御装置1は、各会話データベース500a〜500dに格納されているデータ(第二形態素情報、定型内容、回答文、回答種類、集合群、談話範囲、要素情報などの記憶情報)、その他の各部を、DKML(Discourse Knowledge Markup Language)、XML(eXtensible Markup Language)等で構築し、この構築した記憶情報等を利用するためのプログラムを実行することにより実現することができる。
【0212】
このような本実施形態に係るプログラムによれば、利用者の発話内容を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答内容を出力することで、利用者の発話内容に対応する最適な回答内容を出力することができるという作用効果を奏する会話制御装置、会話制御システム及び会話制御方法を一般的な汎用コンピュータで容易に実現することができる。
【0213】
また、会話制御装置1を開発する開発者は、利用者の発話内容に対する回答内容を検索するための第二形態素情報等を、データベースにおいて前記言語を用いて階層的に構築することができるので、会話制御装置1は、利用者の発話内容に基づいて発話内容に対する回答内容を、階層的な手順を経てデータベースから取得することができる。
【0214】
即ち、会話制御装置1は、利用者の発話内容の階層(例えば、データベースに蓄積されている第二形態素情報に対して上位概念にあるのか、又は下位概念にあるのか)を見極めて、見極めた階層に基づいて予め蓄積された各回答内容の中から、適切な回答内容を取得することができる。
【0215】
このため、会話制御装置1は、利用者の発話内容からなる第一形態素情報と、予め記憶されている”全て”の第二形態素情報とを逐一照合することなく、ある特定の階層に属する各第二形態素情報と第一形態素情報とを照合すればよいので、第一形態素情報と近似する第二形態素情報を短時間で取得することができる。
【0216】
更に、上記通信部800と通信部900との間の通信は、通信ネットワーク1000を介して、DKML等からなるプロトコルによってデータを送受信してもよい。これにより、会話制御装置1は、例えば、会話制御装置1に利用者の発話内容に適した回答内容がない場合には、通信ネットワーク1000を通じて、DKML等の約束事に従って、利用者の発話内容に適した回答内容(DKMLなどで記述されたもの)を検索し、検索した回答内容を取得することができる(図20参照)。
【0217】
尚、プログラムは、記録媒体に記録することができる。この記録媒体は、図23に示すように、例えば、ハードディスク1100、フレキシブルディスク1200、コンパクトディスク1300、ICチップ1400、カセットテープ1500などが挙げられる。このようなプログラムを記録した記録媒体によれば、プログラムの保存、運搬、販売などを容易に行うことができる。
【0218】
実施の形態2.
(会話制御システムの基本構成)
本実施の形態に係る会話制御システムについて図面を参照しながら説明する。図24は、本実施形態に係る会話制御装置1を有する会話制御システムの概略構成図である。会話制御システムは、会話制御装置1と、上記会話制御装置1と通信ネットワーク(例えば、LAN等のローカルエリアネットワーク)1001を介して、接続された複数の場所情報提供装置10と、各個人の携帯端末11とを有する。
【0219】
図25は、本実施の形態の会話制御部300及び文解析部400の構成を示す図である。図24、図25に示すように、会話制御装置1は、実施の形態1の会話制御装置1の構成と類似しているが、以下の機能、構成の点において、相違する。本実施の形態では、この相違する点以外の構成については、実施の形態1,各変更例の構成と同じであるので、相違する点以外の構成についての説明は省略する。
【0220】
本実施の形態の会話制御装置1は、会話データベース500の機能が異なる点、場所情報管理部380を有する点において、実施の形態1の会話制御装置1と相違する。なお、図25において、発話種類判定部440、発話種類データベース460、反射的判定部320、反射要素データベース801、鸚鵡返し判定部330、鸚鵡返し要素データベース802、談話範囲決定部340、省略文補完部350については、図中から省略している。
【0221】
ここで、各携帯端末11は、それぞれ、各個人に保持されている。そして、各携帯端末11には、上記個人(上記携帯端末11を保持する個人)に関する情報である第一個人情報が保持されている。この第一個人情報には、種々の情報があるが、本実施の形態では、一例として、個人が保持する携帯端末11の識別情報(例えば、携帯電話番号、携帯ユーザIDなど)を用いて説明する。以下、携帯端末11が保持する携帯端末11の識別情報を第一携帯識別情報という。
【0222】
そして、各携帯端末11は、場所情報提供装置10に対してアクセスを行うことで、上記第一携帯識別情報を送信する。この携帯端末11としては、携帯電話でもよいし、PDAのようなものでもよい。本実施の形態では、各個人は、携帯端末11を保持しながら、各場所に所在する場合について説明する。
【0223】
入力部100には、例えば、個人の識別情報(個人の氏名を特定する情報など)を含む入力情報が入力される。具体的には、入力部100には、利用者から所定の個人の所在の確認、所定の個人の所在場所の出力要求を示す情報(個人の識別情報を含む)が入力される。例えば、入力部100には、「A氏はいますか」等の入力情報が入力される。
【0224】
なお、本実施の形態では、各個人は、例えば、ある会社の従業員であり、利用者が上記ある会社の複数の従業員のうち、いずれか1人(所定の個人)の所在確認等を示す情報を入力部100に入力した場合について説明する。
【0225】
個人の識別情報(例えば、個人の氏名など)を意味する形態素を有する第二形態素情報には、上記個人に関する情報である第二個人情報と、複数の場所をそれぞれ特定するための場所情報である各第二場所情報とが対応づけられており、上記各第二場所情報には、所在場所に関する情報を示す内容文がそれぞれ対応づけられており、会話データベース500は、上記第二形態素情報を予め複数記憶する形態素記憶手段である。
【0226】
本実施の形態では、第二場所情報や後述する第一場所情報の一例として、ある会社に属する本社、支社、工場、研究所、事業所内の各居室を特定する情報を用いた場合について説明する。また、本実施の形態では、第二個人情報の一例として、上記個人が保持する携帯端末11の識別情報である第二携帯識別情報を用いた場合について説明する。
【0227】
会話データベース500の記憶内容について、図26を用いて具体的に説明する。会話データベース500において、各第二形態素情報(A氏;*;います)、(B氏;*;います)には、第二携帯識別情報(第二個人情報)及び各第二場所情報が対応づけられている。例えば、会話データベース500において、第二形態素情報(A氏;*;います)には、第二携帯識別情報(ID1)及び第二場所情報1(○○支社の××室)、第二場所情報2(○○支社の△△室)が対応づけられており、第二場所情報1には、回答文(A氏は、○○支社の××室にいます)が対応づけられており、第二場所情報2には、回答文(A氏は、○○支社の△△室にいます)が対応づけられている。
【0228】
また、会話データベース500において、各第二形態素情報には、個人がどの場所にも所在しない旨を示す第二場所情報0を対応付け、第二場所情報0には、回答文(A氏は、社外に外出しています)が対応づけられている。なお、本実施の形態では、第二形態素情報のアクションに属する形態素については、係り受け要素(する、ます等)を含めたものを考える。
【0229】
話題検索部360は、会話データベース500に記憶されている各第二形態素情報と、文節解析部420で抽出された第一形態素情報とを照合し、各第二形態素情報の中から、上記第一形態素情報を構成する形態素(1又は複数の形態素)を含む第二形態素情報(各第二形態素情報のうち、上記第一形態素情報と一致するか近似する第二形態素情報)を検索する検索手段である。
【0230】
例えば、図26を用いて説明すると、第一形態素情報が(A氏;*;います)の場合には、話題検索部360は、上記第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を含む第二形態素情報(A氏;*;います)を検索する。話題検索部360は、検索した第二形態素情報を検索結果信号として、回答検索部(回答文取得部)370に出力する。
【0231】
回答文検索部370は、会話データベース500にアクセスして、検索結果信号に含まれる第二形態素情報(検索第二形態素情報)に対応づけられた第二携帯識別情報(例えば、ID1)を取得する。そして、回答文検索部370は、「場所情報提供装置10に対して、上記検索第二形態素情報に対応づけられた第二携帯識別情報と一致する第一携帯識別情報を取得した場合、第一場所情報を送るように」指示する旨と、上記第二携帯識別情報とを含む指示信号を、場所情報管理部380に出力する。なお、回答文検索部370は、上記検索第二形態素情報を保持している。
【0232】
場所情報管理部380は、上記指示信号を通信部800に出力する。通信部800は、上記指示信号を通信ネットワーク1001を介して、複数の場所情報提供装置10に送信する。
【0233】
各場所情報提供装置10は、複数の場所に各々設置されている。ここでいう複数の場所とは、上述した各第二場所情報がそれぞれ特定する各場所のことである。各場所情報提供装置は、例えば、上記ある会社の本社、支社、工場、事業所、研究所などの各居室(会議室、実験室など)に設置されている。
【0234】
各場所情報提供装置10は、会話制御装置1との間でデータ通信を行う第一通信部10a,場所情報記憶部10c,携帯端末11との間でデータ通信を行う第二通信部10d、制御部10bを有する。
【0235】
制御部10bは、第一通信部10aを介して送られた上記指示信号を取得し、上記指示信号に含まれる第二携帯識別情報(検索第二形態素情報に対応づけられた第二携帯識別情報)を保持する。そして、制御部10bは、上記指示信号に含まれる指示に基づいて、携帯端末11から第一携帯識別情報を取得するように指示する旨の信号を第二通信部10dに出力する。
【0236】
第二通信部10dは、場所情報提供装置10(上記第二通信部10dが設けられている場所情報提供装置)が設置されている場所に所在する1又は複数の個人の携帯端末11からのアクセスにより、第一携帯識別情報を取得する。具体的には、第二通信部10dは、例えば、近距離通信(bluetooth(商標)等)により、第一携帯識別情報の送信要求を携帯端末11に対して送る。携帯端末11は、上記送信要求を取得すると、保持している第一携帯識別情報を、上記近距離通信により、第二通信部10dに送る。第二通信部10dは、取得した第一携帯識別情報を制御部10bに送る。
【0237】
例えば、A氏が所定の場所(例えば、場所情報提供装置10が設置されている本社の会議室)に所在する場合、上記所定の場所に設置されている場所情報提供装置10の第二通信部10dは、A氏が保持する携帯端末11から第一携帯識別情報を取得する。なお、第二通信部10dは、第一携帯識別情報を取得できなかった場合には、その旨を示す情報を制御部10bに送る。
【0238】
場所情報記憶部10cは、場所情報提供装置10が設置されている場所を特定するための場所情報である第一場所情報を記憶する。例えば、上記場所情報記憶部10cが設けられている場所情報提供装置10が設置されている場所が、○○支社の××室ならば、場所情報記憶部10cは、第一場所情報(○○支社の××室という場所を特定する情報)を記憶する。
【0239】
制御部10b(情報取得部及び判断部)は、第二通信部10dが取得した第一携帯識別情報を取得した場合、保持していた第二携帯識別情報(検索第二形態素情報に対応づけられた第二携帯識別情報)と、第二通信部10dにより取得された第一携帯識別情報とを比較し、第二通信部10dにより取得された第一携帯識別情報と、保持していた第二携帯識別情報とが一致する否かを判断する。
【0240】
制御部10b(情報取得部)は、一致すると判断した場合、場所情報記憶部10cにアクセスして、第一場所情報を取得する。そして、制御部10bは、取得した第一場所情報を場所情報信号として、第一通信部10a,通信ネットワーク1001、通信部800を介して、場所情報管理部380に送る。
【0241】
一方、制御部10bは、一致しないと判断した場合(但し、制御部10bは、第一携帯識別情報を取得できなかった旨を取得した場合や、取得した1又は複数の第一携帯識別情報のうち、保持している第二携帯識別情報と一致する第一携帯識別情報がないと判断した場合も含む)には、第一場所情報を場所情報記憶部10cから取得しない。そして、制御部10bは、保持している第二携帯識別情報と一致する第一携帯識別情報が存在しない旨を示す不在信号を第一通信部10a,通信ネットワーク1001、通信部800を介して、場所情報管理部380に送る。
【0242】
場所情報管理部380は、場所情報信号を取得できた場合には、上記場所情報信号を回答文検索部370に出力する。一方、場所情報管理部380は、各場所情報提供装置10から、上記不在信号しか取得できず、上記場所情報信号が取得できなかった場合には、以下の信号を回答文検索部370に出力する。即ち、場所情報管理部380は、個人がどの場所にも所在しない旨を示す第一場所情報0を、場所情報信号として、回答文検索部370に出力する。なお、第一場所情報0は、第二場所情報0と一致するものである。
【0243】
回答文検索部370は、保持していた検索第二形態素情報に対応づけられた各第二場所情報のうち、場所情報管理部380から送られた第一場所情報と一致する第二場所情報を検索する場所情報検索部である。
【0244】
例えば、図26を用いて説明すると、回答文検索部370は、保持していた検索第二形態素情報(A氏;*;います)に対応づけられた各第二場所情報(第二場所情報1、第二場所情報2。。。)のうち、上記第一場所情報(○○支社の△△室)と一致する第二場所情報を検索する。
【0245】
そして、回答文検索部370は、検索第二形態素情報に対応づけられた各内容文のうち、検索した第二場所情報に対応づけられた内容文を利用者への回答文として取得する。
【0246】
具体的には、回答文検索部370は、検索第二形態素情報(A氏;*;います)に対応づけられた各内容文のうち、検索した第二場所情報に対応する回答文を取得する。例えば、図26を用いて説明すると、回答文検索部370は、第二場所情報2を検索した場合、検索第二形態素情報(A氏;*;います)に対応づけられた各内容文のうち、第二場所情報2に対応する回答文(A氏は○○支社の△△室にいます)を取得する。
【0247】
なお、回答文検索部370が、第一場所情報0を含む場所情報信号を取得した場合、回答文検索部370は、利用者へ出力する回答文として、第一場所情報0と一致する第二場所情報0に対応する回答文(A氏は、社外に外出しております)を取得する。
【0248】
回答文検索部370は、取得した回答文を回答文信号として、管理部310に出力する。管理部310は、上記回答文信号を出力部600に対して出力する。これにより、例えば、入力部100に利用者から「A氏はいますか」と発話入力された場合、出力部600から、例えば、現在のA氏の所在場所に関する情報である回答文「A氏は○○支社の△△室にいます」と出力される。
【0249】
(会話制御方法)
上記構成を有する会話制御システムを用いた会話制御方法を、図27に示すフローチャート図を用いて以下に説明する。本実施の形態では、音声が入力された場合を例にして説明する。
【0250】
図27に示すように、先ず、入力部100が利用者から入力された発話内容(所定の個人の識別情報を含む)を取得し(S201)、取得した音声を音声信号として、音声認識部200に出力する。
【0251】
音声認識部200は、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定し(S202)、特定した文字列を文字列信号として、管理部310に出力する。管理部310は、音声認識部200から出力された文字列信号を形態素抽出部410に出力する。
【0252】
形態素抽出部410は、音声認識部200で特定された文字列に基づいて、各形態素を抽出する(S203)。その後、文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめるとともに、1又は複数の形態素を組み合わせてなる第一形態素情報を取得する(S204)。各形態素を各文節にまとめた文節解析部420は、文型信号を文構造解析部430に出力する。
【0253】
文構造解析部430は、第一形態素情報の各形態素を各属性に分類する(S205)。文構造解析部430は、決定した格構成に対応づけられた第一形態素情報に基づいて、第二形態素情報を検索するための検索命令信号を話題検索部360に出力する。
【0254】
話題検索部360は、会話データベース500に記憶されている各第二形態素情報と、文節解析部420で抽出された第一形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素(1又は複数の形態素)を含む第二形態素情報(各第二形態素情報のうち、第一形態素情報と一致するか近似する第二形態素情報を検索する(S206)。話題検索部360は、検索した第二形態素情報を検索結果信号として、回答文検索部(回答文取得部)380に出力する。
【0255】
回答文検索部380は、会話データベース500にアクセスして、検索結果信号に含まれる第二形態素情報(検索第二形態素情報)に対応づけられた第二携帯識別情報(例えば、ID1)を取得する(S207)。そして、回答文検索部370は、「場所情報提供装置10に対して、上記検索第二形態素情報に対応づけられた第二携帯識別情報と一致する第一携帯識別情報を取得した場合、第一場所情報を送るように」指示する旨と、上記第二携帯識別情報とを含む指示信号を、場所情報管理部380に出力する。なお、回答文検索部370は、検索第二形態素情報を保持する。
【0256】
場所情報管理部380は、上記指示信号を通信部800に出力する。通信部800は、上記指示信号を通信ネットワーク1001を介して、各場所情報提供装置10の第一通信部10aに送信する。
【0257】
各場所情報提供装置10の第一通信部10aが上記指示信号を受信すると、上記指示信号は、制御部10bに送られる。制御部10bは、上記指示信号を取得し、上記指示信号に含まれる第二携帯識別情報(検索第二形態素情報に対応づけられた第二携帯識別情報)を保持する(S210)。そして、制御部10bは、上記指示信号に含まれる指示情報に基づいて、携帯端末11から第一携帯識別情報を取得するように指示する旨の信号を第二通信部10dに出力する。
【0258】
各場所情報提供装置10の第二通信部10dは、場所情報提供装置10が設置されている場所に所在する個人の携帯端末11からのアクセスにより、第一携帯識別情報を取得する(S211)。第二通信部10dは、取得した第一携帯識別情報を制御部10bに送る。なお、第二通信部10dは、携帯識別情報を取得できなかった場合には、その旨を制御部10bに送る。
【0259】
制御部10bは、保持していた第二携帯識別情報と、第二通信部10dにより取得された第一携帯識別情報とを比較し、上記第一携帯識別情報と上記第二携帯識別情報とが一致するか否かを判断する(S212)。
【0260】
一致する場合には、制御部10bは、場所情報記憶部10cにアクセスして、第一場所情報を読み出す。そして、制御部10bは、上記第一場所情報を、場所情報信号として、第一通信部10a,通信ネットワーク1001、通信部800を介して、場所情報管理部380に送る(S213)。
【0261】
一致しないと判断した場合には、保持している第二携帯識別情報と一致する第一携帯識別情報が存在しない旨を示す不在信号を第一通信部10a,通信ネットワーク1001、通信部800を介して、場所情報管理部380に送る(S214)。
【0262】
場所情報管理部380は、場所情報信号を取得した場合には、上記場所情報信号を回答文検索部370に出力する。また、場所情報管理部380は、場所情報信号を取得できず、不在信号しか取得できなかった場合には、第一場所情報0を、場所情報信号として、回答文検索部370に出力する(S215)。
【0263】
回答文検索部370は、保持していた検索第二形態素情報に対応づけられた各第二場所情報のうち、場所情報管理部380から送られた第一場所情報と一致する第二場所情報を検索する(S216)。
【0264】
回答文検索部370は、検索第二形態素情報に対応づけられた各内容文のうち、検索した第二場所情報に対応づけられた内容文を利用者への回答文として取得する(S217)。
【0265】
回答文検索部370は、取得した回答文を回答文信号として、管理部310に出力する。管理部310は、上記回答文信号を出力部600に対して出力する。管理部310から回答文信号が入力された出力部600は、入力された回答文を出力する(S218)。
【0266】
(作用効果)
本実施の形態によれば、形態素抽出部410及び文節解析部420(形態素取得手段)は、利用者からの入力情報に基づいて、第一形態素情報を取得する。そして、話題検索部360(検索手段)は、第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索第二形態素情報として検索する。
【0267】
そして、制御部(情報取得部)10bは、携帯端末11からのアクセスにより、場所情報記憶部10cから第一場所情報を取得する。そして、回答文検索部370(場所情報検索部)は、検索第二形態素情報のうち、上記第一場所情報と一致する第二場所情報を検索する。そして、回答文検索部(回答文取得部)370は、検索された第二場所情報に対応する内容文を、利用者への回答文として取得する。
【0268】
このため、例えば、各個人が、どの場所に所在するということを記録しているスケジュール情報が作成された後、個人の所在場所が急きょ変更したような場合であっても、本実施の形態によれば、情報取得部(制御部10b)は、個人が保持する携帯端末11からのアクセスにより、携帯端末11を保持する個人の所在場所を示す第一場所情報を取得できる。
【0269】
この結果、利用者は、例えば、(A氏はいますか?)等の、個人の識別情報を含む情報を入力情報として発話(入力)すれば、話題検索部360により、入力情報と一致又は近似した第二形態素情報が検索され、情報取得部(制御部10b)により、上記個人の所在場所を示す第一場所情報が取得され、回答文検索部(場所情報検索部)370で、検索された第二形態素情報に対応づけられた各第二場所情報のうち、上記第一場所情報と一致する第二場所情報が検索され、回答文検索部(内容文取得部)370は、検索された第二場所情報に対応する内容文を利用者への回答として取得できる。ここで、第二場所情報に対応する内容文を、例えば、第二場所情報が特定する場所に所在する旨を示すようにすれば、利用者に対して、上記個人の所在場所に関する情報を、正確に利用者に知らせることができる。
【0270】
また、このような会話制御装置1を、例えば、会社の受付に設置することで、以下のような効果がある。即ち、会話制御装置1を用いて、初めて会社に来る利用者が発話した内容に対して、所定の個人の所在場所に関する情報を回答文として出力できる。このため、利用者は、会話制御装置1との間でコミュニケーションを取っているような感覚をあじわうことができ、会話制御装置1が設置されている会社等に対して好印象を持つようになる。
【0271】
尚、第一形態素情報を含む第二形態素情報(又は第一形態素情報を構成する形態素を含む第二形態素情報)とは、第二形態素情報等が第一形態素情報をそのまま含む場合のみならず、第二形態素情報等が第一形態素情報を構成する少なくとも一つの形態素を含む場合をも意味するものとする。
【0272】
また、本発明は、上記実施形態2に限定されるものではなく、以下に示すような変更を加えることができる。本実施の形態2の会話制御システムにおいても、複数の形態素の集合からなる集合群を意味する要素情報を、集合群に関連付けて複数記憶する要素記憶手段をさらに設けてもよい。この要素記憶手段は、会話データベース500で構成してもよい。
【0273】
そして、形態素抽出部410及び文節解析部420(以下、形態素抽出部410及び文節解析部420を形態素取得部という)は、文字列から抽出した形態素と各集合群とを照合し、各集合群中から、抽出された形態素を含む集合群を選択し、選択した集合群に関連付けられた要素情報を含む情報を第一形態素情報として取得してもよい。
【0274】
利用者が発話した文字列に含まれる各形態素には、類似しているものがある。例えば、集合群の全体を示す要素情報を「います」とすると、「います」は、(「いらっしゃいます」、「おります」、等)(集合群)と相互に類似しているので、形態素取得部は、「います」に類似する形態素がある場合には、その類似する形態素については、「います」として取り扱うことができる。
【0275】
即ち、形態素取得部は、例えば、文字列から抽出した形態素が「いらっしゃいます」である場合は、「いらっしゃいます」を代表する要素情報が「います」であるので、上記「いらっしゃいます」を「います」に置き換えることができる。
【0276】
また、会話データベース500には記憶されている各第二形態素情報を構成する各形態素のうち、上記集合群に含まれる形態素は、当該形態素の代わりに、上記集合群に関連づけられた要素情報が上記各第二形態素情報に含められている。
【0277】
なお、要素情報も、例えば、形態素と同じく、文字列の最小単位で構成されてもよい。
【0278】
例えば、会話データベース500に記憶されている各第二形態素情報には、形態素(いらっしゃいます)や形態素(おります)が含まれず、要素情報(います)が含まれる。
【0279】
そして、話題検索部360は、取得された第一形態素情報と、各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素や要素情報を含む第二形態素情報を検索第二形態素情報として検索する。
【0280】
これにより、入力された情報が(A氏はいらっしますか)などであっても、要素情報を用いた第一形態素情報(A氏;*;います)が取得され、会話データベース500でも、要素情報を用いた各第二形態素情報(例えば、(A氏;*;います)が記憶されているので、話題検索部360で、要素情報(います)を用いた検索動作を行うことができる。
【0281】
この結果、形態素取得部が相互に類似する形態素を整理することができるので、会話制御装置1を開発する開発者は、相互に類似した各第一形態素情報から把握される意味空間に対応した第二形態素情報及び第二形態素情報に関係する回答文を逐一作成する必要がなくなり、結果的に、記憶部に格納させるデータ量を低減させることができる。
【0282】
また、本実施の形態で説明した内容は、実施の形態1や各変更例と同様にパーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより、実施することができる。また、上記プログラムは、実施の形態1や各変更例と同様に記録媒体に記録することができる。
【0283】
【発明の効果】
以上説明したように、本発明によれば、例えば、各個人が、どの場所に所在するということを記録しているスケジュール情報が作成された後、個人の所在場所が急きょ変更したような場合であっても、情報取得手段は、個人が保持する携帯端末からのアクセスにより、携帯端末を保持する個人の所在場所を示す第一場所情報を取得できる。
【0284】
この結果、利用者は、例えば、(A氏はいますか?)等の、個人の識別情報を含む情報を入力情報として発話(入力)すれば、検索手段により、入力情報と一致又は近似した第二形態素情報が検索され、情報取得手段により、上記個人の所在場所を示す第一場所情報が取得され、場所情報検索手段で、検索された第二形態素情報に対応づけられた各第二場所情報のうち、上記第一場所情報と一致する第二場所情報が検索され、内容文取得手段は、検索された第二場所情報に対応する内容文を利用者への回答として取得できる。ここで、第二場所情報に対応する内容文を、例えば、第二場所情報が特定する場所に所在する旨を示すようにすれば、利用者に対して、上記個人の所在場所に関する情報を、正確に利用者に知らせることができる。
【図面の簡単な説明】
【図1】実施の形態1に係る会話制御システムの概略構成を示すブロック図である。
【図2】実施の形態1における会話制御部及び文解析部の内部構造を示すブロック図である。
【図3】実施の形態1における形態素抽出部で抽出する各形態素の内容を示す図である。
【図4】実施の形態1における文節解析部で抽出する各文節の内容を示す図である。
【図5】実施の形態1における文構造解析部で特定する「格」の内容を示す図である。
【図6】実施の形態1における発話種類判定部で特定する「発話文のタイプ」を示す図である。
【図7】実施の形態1における発話種類データベースで格納する各辞書の内容を示す図である。
【図8】実施の形態1における会話データベースの内部で構築される階層構造の内容を示す図である。
【図9】実施の形態1における会話データベースの内部で構築される階層構造の詳細な関係を示す図である。
【図10】実施の形態1における会話データベースの内部で構築される「話題タイトル」の内容を示す図である。
【図11】実施の形態1における会話データベースの内部で構築される「話題タイトル」に関連付けられている「回答文のタイプ」の内容を示す図である。
【図12】実施の形態1における会話データベースの内部で構築される「談話範囲」に属する「話題タイトル」及び「回答文」の内容を示す図である。
【図13】実施の形態1における反射要素データベースで記憶する反射要素情報の内容を示す図である。
【図14】実施の形態1における鸚鵡返し要素データベースで記憶する鸚鵡返し要素、鸚鵡返し要素の形態素の内容を示す図である。
【図15】実施の形態1に係る会話制御方法の手順を示すフローチャート図である。
【図16】第一変更例における形態素抽出部で整理する発話内容を示す図である。
【図17】第二変更例における話題検索部の内部構成を示す図である。
【図18】第二変更例における割合計算部が「格構成」に属する各形態素と各「話題タイトル」とを「話題タイトル」毎に照合する様子を示す図である。
【図19】第二変更例における割合計算部が「各構成」に属する各形態素と「話題タイトル」に属する各形態素とを「格」毎に照合する様子を示す図である。
【図20】第三変更例における会話制御システムの概略構成を示す図である。
【図21】第五変更例における話題検索部の内部構成を示す図である。
【図22】第六変更例における話題検索部が第一形態素情報と、第二形態素情報又は回答文とを照合する様子を示す図である。
【図23】実施の形態1におけるプログラムを格納する記録媒体を示す図である。
【図24】実施の形態2に係る会話制御システムの概略構成を示すブロック図である。
【図25】実施の形態2における会話制御部及び文解析部の内部構造を示すブロック図である。
【図26】実施の形態2の会話データベースの記憶内容の一例を示す図である。
【図27】実施の形態2の会話制御システムを用いた会話制御方法を説明するためのフローチャート図である。
【符号の説明】
1…会話制御装置、10…場所情報提供装置、10a…第一通信部、10b…制御部、10c…場所情報記憶部、10d…第二通信部、11…携帯端末、100…入力部、200…音声認識部、300…会話制御部、310…管理部、320…反射的判定部、321…割合計算部、322…選択部、330…判定部、340…談話範囲決定部、360…話題検索部、361…削除部、362…談話付加部、370…回答文検索部、380…場所情報管理部、400…文解析部、410…形態素抽出部、420…文節解析部、430…文構造解析部、450…形態素データベース、500a〜500d…会話データベース、600…出力部、700…音声認識辞書記憶部、801…反射要素データベース、802…鸚鵡返し要素データベース、800、10a,900…通信部、1000、1001…通信ネットワーク、1100…ハードディスク、1200…フレキシブルディスク、1300…コンパクトディスク、1400…ICチップ、1500…カセットテープ。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a conversation control system, a conversation control method, and a program for outputting an answer suitable for input information based on input information input from a user.
[0002]
[Prior art]
Conventionally, for example, as a system for notifying a user who wants to meet an individual who belongs to a certain company, there is the following technology as a system for notifying information on the location of the individual.
[0003]
That is, the user inputs information related to an individual (for example, the name of a predetermined individual) according to a predetermined input operation. Then, the device managing the location of each individual refers to, for example, schedule information in which the location of each individual is recorded in advance, and information on the location of the individual based on the input information about the individual. To get. And the said apparatus was performing the display output of the information (presently in the meeting room of a head office) regarding the acquired individual's location to the said user.
[0004]
[Problems to be solved by the invention]
However, the conventional technology described above has the following problems. The schedule information indicating the location of each individual described above is created in advance. After the schedule information is created, each individual may not be in the location recorded in the schedule information due to changes in various situations such as the circumstances of each individual.
[0005]
Even in such a case, in the prior art, the device managing the location of each individual has referred to the schedule information created in advance, and has informed the user of the location of the individual. In some cases, the user's location was wrongly notified to the user.
[0006]
On the other hand, there is a conversation control device that outputs answer contents corresponding to utterance contents based on utterance contents from a user. If such a conversation control device can output information indicating the individual's location as an answer to the content spoken by a user who came to the company for the first time, the user can communicate with the conversation control device. You can feel the feeling of taking a picture and have a good impression on the company where the conversation control device is installed.
[0007]
Therefore, the present invention has been made in view of the above problems, and provides a conversation control system, a conversation control method, and a program capable of accurately notifying a user of information related to an individual's location. For the purpose.
[0008]
[Means for Solving the Problems]
The invention according to the present application has been made to solve the above-mentioned problems, and the present invention is based on input information input from a user, and the morpheme constituting the minimum unit of the character string of the input information is 1 or A plurality of combined first morpheme information is obtained, and second morpheme information having a predetermined morpheme is associated with each second place information which is place information for specifying a plurality of places, Each second location information is associated with a content sentence indicating information on the location, and the second morpheme information is stored in advance in a plurality of morpheme storage means. The second morpheme information is searched for second morpheme information including the morpheme constituting the first morpheme information from the respective second morpheme information, and set in each of the plurality of locations. The first location information, which is location information for identifying each of the plurality of locations, is stored in the location information storage means, and the information acquisition means installed at each of the plurality of locations is a portable terminal held by an individual The first location information is obtained from the location information storage means by access from the second location information that matches the first location information among the second location information associated with the searched second morpheme information. , And a content sentence associated with the searched second location information is acquired.
[0009]
Specifically, for example, in the above-described invention, the input information includes identification information of a predetermined individual, and the predetermined morpheme is a morpheme meaning personal identification information, and the second morpheme information includes Is associated with each second location information and second personal information that is information related to the individual, and the information acquisition means holds the portable terminal by access from the portable terminal held by the individual. When the first personal information, which is information related to the individual, is obtained, the second personal information associated with the searched second morpheme information is compared with the first personal information, and the first personal information and the second personal information are collated. It is preferable that the first location information is acquired from the location information storage means if it is determined that the two match.
[0010]
According to the present invention, the morpheme acquisition unit acquires the first morpheme information based on the input information from the user. Then, the search means collates the first morpheme information with each second morpheme information, and searches for the second morpheme information including the morpheme constituting the first morpheme information from each second morpheme information. Search as information.
[0011]
And an information acquisition means acquires the 1st place information from a place information storage means by access from a portable terminal. And a place information search means searches the 2nd place information which corresponds to said 1st place information among each 2nd place information matched with the search 2nd morpheme information. And a content sentence acquisition means acquires the content sentence corresponding to the searched 2nd place information as a reply sentence to a user.
[0012]
For this reason, for example, even if the individual location is suddenly changed after the schedule information that records where each individual is located is created, according to the present invention. The information acquisition means can acquire first location information indicating the location of the individual holding the mobile terminal by accessing from the mobile terminal held by the individual.
[0013]
As a result, if the user utters (inputs) information including personal identification information, such as (Is Mr. A?) As input information, the search means matches or approximates the input information. The second morpheme information is searched, the first place information indicating the location of the individual is acquired by the information acquisition means, and each second place information associated with the searched second morpheme information by the place information search means Among them, the second place information that matches the first place information is searched, and the contents sentence acquisition means can acquire the contents sentence corresponding to the searched second place information as an answer to the user. Here, if the content sentence corresponding to the second location information indicates, for example, that the location information is located at the location specified by the second location information, the user is provided with information on the location of the individual, Users can be notified accurately.
[0014]
Further, by installing such a conversation control device at a company reception, for example, the following effects can be obtained. In other words, using the conversation control device, information related to an individual's location can be output as an answer sentence with respect to the contents uttered by a user who first came to the company. For this reason, the user can feel as if he / she is communicating with the conversation control device, and has a good impression on the company where the conversation control device is installed.
[0015]
Further, in the above invention, the present invention relates to the above invention, wherein a plurality of pieces of element information indicating the entire set group including a plurality of sets of the morphemes are stored in advance in association with the set group, and the morpheme extracted from the character string, Each set group is collated, the set group including the morpheme is selected from each set group, and the information including the element information associated with the selected set group is acquired as the first morpheme information. It is preferable to do.
[0016]
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 conversation control apparatus 1 according to the present embodiment.
[0017]
As shown in the figure, the conversation control device 1 includes an
[0018]
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”.
[0019]
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”.
[0020]
The
[0021]
Here, the input information means characters, symbols, voices and the like input through a keyboard or the like. Specifically, the
[0022]
The
[0023]
The
[0024]
The
[0025]
Specifically, the
[0026]
That is, the
[0027]
The
[0028]
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.
[0029]
That is, the
[0030]
The
[0031]
The sentence
[0032]
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.
[0033]
That is, as shown in FIG. 5, for example, when the dependency element of each morpheme is “” or “is”, the sentence
[0034]
Further, for example, when the dependency element of each morpheme is “Yes”, the sentence
[0035]
The sentence
[0036]
The utterance
[0037]
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.
[0038]
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.
[0039]
The 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.
[0040]
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.
[0041]
That is, the utterance
[0042]
Here, as shown in FIG. 7, the
[0043]
As a result, the utterance
[0044]
The utterance
[0045]
The
[0046]
Furthermore, the
[0047]
Furthermore, the
[0048]
As shown in FIG. 8, in the present embodiment, the
[0049]
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.
[0050]
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.
[0051]
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). .
[0052]
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.
[0053]
In this embodiment, the topic title (second morpheme information) is stored in advance in the
[0054]
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".
[0055]
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.
[0056]
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).
[0057]
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).
[0058]
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.
[0059]
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").
[0060]
In the present embodiment, as shown in FIG. 2, the
[0061]
The
[0062]
The
[0063]
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
[0064]
Specifically, the
[0065]
That is, assuming that the reflection element information is D1 and the first morpheme information is W, the
[0066]
For example, when the user utters the utterance content “Good morning”, the
[0067]
When the
[0068]
The
[0069]
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 conversation control device 1 immediately before. For example, as shown in FIG. (Horse; *; Beautiful), “I like Sato” (Sato; *; I like).
[0070]
Further, the
[0071]
Specifically, the
[0072]
If it is determined that the first morpheme information is included in each return element, the
[0073]
For example, the conversation control device 1 responds with “The director of the A movie name is Mr. S” (Director of the A movie name; Mr. S; *) (the order is the subject, the object, the order of the action, and so on. ) Is output, and then the user responds with a response if the utterance is “is the director of A movie name Mr. S” (director of A movie name; Mr. S; *)? Since the
[0074]
Further, the
[0075]
Specifically, when the user utters the utterance content “Horse is beautiful” and the conversation control device 1 outputs the content “Horse is good” as the response content When the person repeats the utterance content that “the horse is beautiful”, the turn-
[0076]
In this case, since the user has not heard the response content from the conversation control device 1, the
[0077]
On the other hand, if the
[0078]
In addition, although the said
[0079]
In this case, the
[0080]
For example, when the conversation control device 1 outputs an answer sentence “The horse is beautiful”, the above-mentioned user utters the content of the utterance “Why is the horse beautiful?”. At that time, in order to resolve the user's question, the
[0081]
The discourse
[0082]
Specifically, the conversation
[0083]
For example, the discourse
[0084]
On the other hand, when the first morpheme information does not include a discourse range group, the conversation
[0085]
Thereby, the
[0086]
As described above, the discourse
[0087]
The abbreviated
[0088]
Specifically, the abbreviated
[0089]
For example, the abbreviation
[0090]
That is, assuming that the first morpheme information is W and the determined discourse range is D, the abbreviated
[0091]
Thereby, even if the first morpheme information is an abbreviated sentence and it is not clear as Japanese, the abbreviated
[0092]
For this reason, the first morpheme information is set so that the abbreviated
[0093]
The
[0094]
Specifically, the
[0095]
For example, when the “case configuration” constituting the first morpheme information is (Sato; *; I like) {I like Sato}, the
[0096]
The utterance
[0097]
The answer
[0098]
Specifically, the answer
[0099]
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
[0100]
The
[0101]
The
[0102]
(Conversation control method using conversation control device)
The conversation control method by the conversation control apparatus 1 having the above configuration can be implemented by the following procedure. FIG. 15 is a flowchart showing the procedure of the conversation control method according to the present embodiment.
[0103]
First, the
[0104]
Next, the
[0105]
And the
[0106]
Specifically, the
[0107]
Then, the
[0108]
That is, as shown in FIG. 4, the
[0109]
The
[0110]
Thereafter, the sentence
[0111]
That is, as shown in FIG. 5, for example, when the dependency element of each morpheme is “” or “is”, the sentence
[0112]
Further, for example, when the dependency element of each morpheme is “Yes”, the sentence
[0113]
The sentence
[0114]
Next, the utterance
[0115]
That is, the utterance
[0116]
The utterance
[0117]
Next, the
[0118]
Specifically, the
[0119]
When the reflection element information cannot be searched for the reflection element information including the first morpheme information from the reflection element information, the
[0120]
Next, the
[0121]
When it is determined that the first morpheme information is included in each return element, the
[0122]
On the other hand, when determining that the first morpheme information is not included in each return element, the
[0123]
Then, the discourse
[0124]
Specifically, the conversation
[0125]
For example, the discourse
[0126]
On the other hand, when the first morpheme information does not include a discourse range group, the conversation
[0127]
Next, the abbreviation
[0128]
Specifically, the abbreviated
[0129]
For example, the abbreviation
[0130]
That is, assuming that the first morpheme information is W and the determined discourse range is D, the abbreviated
[0131]
Next, the
[0132]
Specifically, the
[0133]
For example, when the “case configuration” constituting the first morpheme information is (Sato; *; I like) {I like Sato}, the
[0134]
The utterance
[0135]
Then, the answer
[0136]
Specifically, the answer
[0137]
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
[0138]
Next, the
[0139]
(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
[0140]
In addition, when the user's utterance content is a fixed content, the
[0141]
Further, the
[0142]
In this case, the
[0143]
Further, the
[0144]
In this case, since the user does not appropriately reply to the previous response content, the
[0145]
Further, in order to search for the second morpheme information approximate to the first morpheme information, the
[0146]
As a result, the
[0147]
Moreover, the
[0148]
Further, since the
[0149]
Furthermore, the answer
[0150]
Furthermore, the answer
[0151]
Finally, the abbreviated
[0152]
Thus, the abbreviated
[0153]
As a result, even if the input information from the user is an abbreviated sentence, the conversation control device 1 does not use a function such as a neuro network or an AI intelligence, and does not mean what the abbreviated sentence means through past search results. Since the developer of the conversation control device 1 does not need to install a neuro network or AI intelligence, the system of the conversation control device 1 can be constructed more simply.
[0154]
[Example of change]
In addition, this invention is not limited to the said embodiment, The change as shown below can be added.
[0155]
(First change example)
In this modification, the
[0156]
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
[0157]
That is, for example, when the morpheme extracted from the character string is “present”, the
[0158]
In addition, among the morphemes constituting each second morpheme information stored in the
[0159]
Then, the
[0160]
As a result, the first morpheme information (Mr. A; *; is available) using the element information is extracted by the
[0161]
This allows the
[0162]
(Second modified example)
As shown in FIG. 17, in the present modification example, the
[0163]
The
[0164]
Specifically, the
[0165]
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
[0166]
The
[0167]
Specifically, the
[0168]
Accordingly, the
[0169]
Further, since the
[0170]
As a result, since the
[0171]
Further, the
[0172]
The
[0173]
Specifically, the
[0174]
For example, as illustrated in FIG. 19, when the “case” morpheme of “case configuration” is (dog; person; bitten) {dog bites a person}, the
[0175]
If the element constituting the topic title is (person; dog; bite) {person bites the dog}, the
[0176]
The
[0177]
As a result, the
[0178]
That is, since the
[0179]
Further, the
[0180]
Note that the
[0181]
(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
[0182]
Here, the
[0183]
Thereby, the
[0184]
(Fourth change example)
The sentence
[0185]
The conversation
[0186]
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
[0187]
The abbreviated
[0188]
Specifically, the abbreviated
[0189]
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.
[0190]
The
[0191]
Thereby, even if the utterance content composed of the first morpheme information is an abbreviated sentence and is not clear as Japanese, the abbreviated
[0192]
For this reason, when the abbreviated
[0193]
(Fifth change example)
The
[0194]
Specifically, the
[0195]
Then, based on the searched second morpheme information, the
[0196]
That is, the
[0197]
The
[0198]
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.
[0199]
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
[0200]
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? }.
[0201]
Thus, when the user's utterance content is “A movie name is interesting?”, The
[0202]
As a result, the answer
[0203]
Note that the
[0204]
(Sixth change example)
When the
[0205]
Specifically, the
[0206]
When the
[0207]
Thereby, even if the
[0208]
As a result, since the
[0209]
[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.
[0210]
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.
[0211]
That is, the conversation control device 1 stores data stored in each of the
[0212]
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.
[0213]
In addition, since the developer who develops the conversation control device 1 can hierarchically construct the second morpheme information and the like for searching the answer contents for the user's utterance contents using the language in the database. The conversation control device 1 can acquire the response content for the utterance content from the database through a hierarchical procedure based on the utterance content of the user.
[0214]
In other words, the conversation control device 1 has determined and determined the hierarchy of the user's utterance content (for example, whether the second morpheme information stored in the database is in a higher concept or a lower concept). Appropriate answer contents can be acquired from the answer contents accumulated in advance based on the hierarchy.
[0215]
For this reason, the conversation control device 1 does not collate the first morpheme information composed of the user's utterance content and the previously stored “all” second morpheme information one by one. Since the second morpheme information and the first morpheme information may be collated, the second morpheme information approximate to the first morpheme information can be acquired in a short time.
[0216]
Furthermore, communication between the
[0217]
The program can be recorded on a recording medium. As shown in FIG. 23, examples of the recording medium include a
[0218]
(Basic configuration of conversation control system)
A conversation control system according to the present embodiment will be described with reference to the drawings. FIG. 24 is a schematic configuration diagram of a conversation control system having the conversation control apparatus 1 according to the present embodiment. The conversation control system includes a conversation control apparatus 1, a plurality of location
[0219]
FIG. 25 is a diagram illustrating a configuration of the
[0220]
The conversation control device 1 of the present embodiment is different from the conversation control device 1 of the first embodiment in that the function of the
[0221]
Here, each
[0222]
And each
[0223]
For example, input information including personal identification information (information specifying a personal name) is input to the
[0224]
In the present embodiment, each individual is, for example, an employee of a certain company, and the user confirms the location of any one (predetermined individual) among the plurality of employees of the certain company. A case where the information shown is input to the
[0225]
The second morpheme information having a morpheme indicating personal identification information (for example, an individual's name) includes second personal information that is information about the individual and location information for specifying a plurality of locations. Each second place information is associated with each other, and each second place information is associated with a content sentence indicating information on the location, and the
[0226]
In the present embodiment, as an example of the second location information and the first location information described later, a case will be described in which information for identifying each head office, branch office, factory, laboratory, and office room belonging to a certain company is used. . Moreover, in this Embodiment, the case where the 2nd mobile identification information which is the identification information of the
[0227]
The contents stored in the
[0228]
In the
[0229]
The
[0230]
For example, referring to FIG. 26, when the first morpheme information is “Mr. A; *;”, the
[0231]
The answer
[0232]
The location
[0233]
Each location
[0234]
Each location
[0235]
The control unit 10b acquires the instruction signal transmitted via the
[0236]
The
[0237]
For example, when Mr. A is located in a predetermined location (for example, a conference room in the head office where the location
[0238]
The location
[0239]
When the first mobile identification information acquired by the
[0240]
When it is determined that they match, the control unit 10b (information acquisition unit) accesses the location
[0241]
On the other hand, when the control unit 10b determines that they do not match (however, the control unit 10b acquires that the first mobile identification information has not been acquired, or the acquired one or more first mobile identification information). Among them, including the case where it is determined that there is no first mobile identification information that matches the retained second mobile identification information), the first location information is not acquired from the location
[0242]
When the location information signal can be acquired, the location
[0243]
The answer
[0244]
For example, with reference to FIG. 26, the answer
[0245]
And the reply
[0246]
Specifically, the answer
[0247]
When the answer
[0248]
The answer
[0249]
(Conversation control method)
A conversation control method using the conversation control system having the above configuration will be described below with reference to the flowchart shown in FIG. In this embodiment, a case where voice is input will be described as an example.
[0250]
As shown in FIG. 27, first, the
[0251]
The
[0252]
The
[0253]
The sentence
[0254]
The
[0255]
The answer
[0256]
The location
[0257]
When the
[0258]
The
[0259]
The control unit 10b compares the held second mobile identification information with the first mobile identification information acquired by the
[0260]
If they match, the control unit 10b accesses the location
[0261]
If it is determined that they do not match, an absence signal indicating that there is no first mobile identification information that matches the second mobile identification information that is held is sent via the
[0262]
When the location
[0263]
The answer
[0264]
The answer
[0265]
The answer
[0266]
(Function and effect)
According to the present embodiment, the
[0267]
And the control part (information acquisition part) 10b acquires 1st place information from the place
[0268]
For this reason, for example, even if the individual location is suddenly changed after the schedule information that records where each individual is located is created, this embodiment According to this, the information acquisition unit (control unit 10b) can acquire first location information indicating the location of the individual holding the
[0269]
As a result, if the user speaks (inputs) information including personal identification information such as (Is Mr. A?) As input information, the
[0270]
Further, by installing such a conversation control device 1 at a company reception, for example, the following effects can be obtained. That is, using the conversation control device 1, information related to the location of a predetermined individual can be output as an answer sentence with respect to the contents uttered by a user who first comes to the company. For this reason, the user can feel as if he / she is communicating with the conversation control device 1, and has a good impression on the company or the like in which the conversation control device 1 is installed. .
[0271]
The second morpheme information including the first morpheme information (or the second morpheme information including the morpheme constituting the first morpheme information) is not only the case where the second morpheme information or the like includes the first morpheme information as it is, It also means that the second morpheme information or the like includes at least one morpheme constituting the first morpheme information.
[0272]
Further, the present invention is not limited to the second embodiment, but can be modified as described below. The conversation control system according to the second embodiment may further include element storage means for storing a plurality of pieces of element information indicating a set group including a plurality of morpheme sets in association with the set group. This element storage means may be constituted by the
[0273]
Then, the
[0274]
Some morphemes included in the character string uttered by the user are similar. For example, if the element information indicating the entire set group is “is”, “is” is similar to (set group) (“I come here”, “we are”, etc.) If there is a morpheme similar to “I am”, the morpheme acquisition unit can handle the similar morpheme as “I am”.
[0275]
In other words, for example, if the morpheme extracted from the character string is “I'm here”, the element information representing “I'm here” is “I'm present”, so the morpheme acquisition unit will change the above “I'm here” to “ Can be replaced by
[0276]
In addition, among the morphemes constituting each second morpheme information stored in the
[0277]
In addition, element information may also be comprised by the minimum unit of a character string similarly to a morpheme, for example.
[0278]
For example, each second morpheme information stored in the
[0279]
And the
[0280]
As a result, even if the input information is (Is Mr. A coming?) Etc., the first morpheme information (Mr. A; *; is available) using the element information is acquired, and even in the
[0281]
As a result, the morpheme acquisition unit can organize similar morphemes, so that the developer who develops the conversation control device 1 is the first corresponding to the semantic space grasped from the mutually similar first morpheme information. It is not necessary to create answer sentences related to the bimorphic information and the second morpheme information one by one, and as a result, the amount of data stored in the storage unit can be reduced.
[0282]
In addition, the contents described in the present embodiment are implemented by executing a dedicated program for using a predetermined program language on a general-purpose computer such as a personal computer as in the first embodiment and each modified example. be able to. The program can be recorded on a recording medium in the same manner as in the first embodiment and each modified example.
[0283]
【The invention's effect】
As described above, according to the present invention, for example, when schedule information that records where each individual is located is created, the location of the individual changes suddenly. Even if it exists, the information acquisition means can acquire the 1st place information which shows the whereabouts of the individual who holds a portable terminal by access from the portable terminal which an individual holds.
[0284]
As a result, if the user utters (inputs) information including personal identification information, such as (Is Mr. A?) As input information, the search means matches or approximates the input information. The second morpheme information is searched, the first place information indicating the location of the individual is acquired by the information acquisition means, and each second place information associated with the searched second morpheme information by the place information search means Among them, the second place information that matches the first place information is searched, and the contents sentence acquisition means can acquire the contents sentence corresponding to the searched second place information as an answer to the user. Here, if the content sentence corresponding to the second location information indicates, for example, that the location information is located at the location specified by the second location information, the user is provided with information on the location of the individual, Users can be notified accurately.
[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.
FIG. 4 is a diagram illustrating the contents of each phrase extracted by the phrase analysis unit according to the first embodiment.
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 an “uttered sentence type” specified by an utterance type determining unit according to Embodiment 1. FIG.
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 conversation database in the first embodiment.
FIG. 9 is a diagram showing a detailed relationship of a hierarchical structure built inside the conversation database in the first embodiment.
FIG. 10 is a diagram showing the contents of “topic title” constructed in the conversation database in the first embodiment.
FIG. 11 is a diagram showing the contents of “answer sentence type” associated with “topic title” constructed in the conversation database in the first embodiment.
FIG. 12 is a diagram showing the contents of “topic title” and “answer sentence” belonging to “discourse range” constructed within the conversation database in the first embodiment.
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 illustrating an internal configuration of a topic search unit in a second modified example.
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 topic search unit in a fifth modification example.
FIG. 22 is a diagram illustrating a state in which the topic search unit in the sixth modification collates first morpheme information with second morpheme information or an answer sentence.
FIG. 23 is a diagram showing a recording medium for storing a program in the first embodiment.
FIG. 24 is a block diagram showing a schematic configuration of a conversation control system according to the second embodiment.
25 is a block diagram showing the internal structure of a conversation control unit and sentence analysis unit in
FIG. 26 is a diagram illustrating an example of storage contents of a conversation database according to the second embodiment.
FIG. 27 is a flowchart for explaining a conversation control method using the conversation control system of the second embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Conversation control apparatus, 10 ... Location information provision apparatus, 10a ... 1st communication part, 10b ... Control part, 10c ... Location information storage part, 10d ... 2nd communication part, 11 ... Portable terminal, 100 ... Input part, 200 ... voice recognition unit, 300 ... conversation control unit, 310 ... management unit, 320 ... reflective determination unit, 321 ... ratio calculation unit, 322 ... selection unit, 330 ... determination unit, 340 ... conversation range determination unit, 360 ...
Claims (9)
所定の形態素を有する第二形態素情報には、複数の場所をそれぞれ特定するための場所情報である各第二場所情報が対応づけられており、前記各第二場所情報には、所在場所に関する情報を示す内容文がそれぞれ対応づけられており、前記第二形態素情報を予め複数記憶する形態素記憶手段と、
前記第一形態素情報と、各第二形態素情報とを照合し、該各第二形態素情報の中から、前記第一形態素情報を構成する形態素を含む第二形態素情報を検索第二形態素情報として検索する検索手段と、
前記複数の場所にそれぞれ設置され、前記複数の場所をそれぞれ特定するための場所情報である第一場所情報を予め記憶する場所情報記憶手段と、
前記複数の場所にそれぞれ設置され、個人が保持する携帯端末からのアクセスにより、前記場所情報記憶手段から第一場所情報を取得する情報取得手段と、
前記検索第二形態素情報に対応づけられた各第二場所情報のうち、前記第一場所情報と一致する第二場所情報を検索する場所情報検索手段と、
前記場所情報検索手段により検索された第二場所情報に対応づけられた内容文を、取得する内容文取得手段とを有することを特徴とする会話制御システム。Based on input information input from a user, morpheme acquisition means for acquiring first morpheme information obtained by combining one or a plurality of morphemes constituting the minimum unit of the character string of the input information;
Each second place information, which is place information for specifying a plurality of places, is associated with the second morpheme information having a predetermined morpheme, and each second place information includes information on the location. Morpheme storage means for storing a plurality of the second morpheme information in advance,
The first morpheme information is compared with each second morpheme information, and the second morpheme information including the morpheme constituting the first morpheme information is searched as the second morpheme information. Search means to
Location information storage means for storing in advance first location information that is installed in each of the plurality of locations and is location information for specifying the plurality of locations, respectively.
Information acquisition means for acquiring first location information from the location information storage means by access from a mobile terminal that is installed at each of the plurality of locations and held by an individual;
Of each second place information associated with the second search morpheme information, place information search means for searching for second place information that matches the first place information;
A conversation control system comprising: a content sentence acquisition unit that acquires a content sentence associated with the second place information searched by the place information search means.
前記所定の形態素は、個人の識別情報を意味する形態素であり、
前記第二形態素情報には、前記各第二場所情報及び前記個人に関する情報である第二個人情報が対応づけられており、
前記情報取得手段が、個人が保持する携帯端末からのアクセスにより、当該携帯端末が保持する、前記個人に関する情報である第一個人情報を取得した場合、前記検索第二形態素情報に対応づけられた第二個人情報と、前記第一個人情報とを照合し、前記第一個人情報と前記第二個人情報とが一致するか否かを判断する判断手段を有し、
前記情報取得手段は、前記判断手段により一致すると判断された場合には、前記場所情報記憶手段から第一場所情報を取得することを特徴とする請求項1に記載の会話制御システム。The input information includes identification information of a predetermined individual,
The predetermined morpheme is a morpheme indicating personal identification information,
The second morpheme information is associated with each second location information and second personal information that is information about the individual,
When the information acquisition means acquires first personal information that is information related to the individual held by the mobile terminal by access from the mobile terminal held by the individual, the information associated with the searched second morpheme information Having a judging means for collating two personal information with the first personal information and judging whether or not the first personal information and the second personal information match;
2. The conversation control system according to claim 1, wherein the information acquisition unit acquires first location information from the location information storage unit when it is determined by the determination unit that they match.
前記形態素取得手段は、前記文字列から抽出した前記形態素と、前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を含む情報を、前記第一形態素情報として取得することを特徴とする請求項1又は2に記載の会話制御システム。Element storage means for storing in advance a plurality of element information indicating the entire set group composed of a plurality of sets of the morphemes in association with the set group;
The morpheme acquisition means collates the morpheme extracted from the character string with each set group, selects the set group including the morpheme from the set groups, and selects the set group. The conversation control system according to claim 1, wherein information including the associated element information is acquired as the first morpheme information.
所定の形態素を有する第二形態素情報には、複数の場所をそれぞれ特定するための場所情報である各第二場所情報が対応づけられており、前記各第二場所情報には、所在場所に関する情報を示す内容文がそれぞれ対応づけられており、複数の前記第二形態素情報が、予め形態素記憶手段に記憶されており、
検索手段が、前記第一形態素情報と、各第二形態素情報とを照合し、該各第二形態素情報の中から、前記第一形態素情報を構成する形態素を含む第二形態素情報を検索第二形態素情報として検索するステップと、
前記複数の場所にそれぞれ設置された場所情報記憶手段に、前記複数の場所をそれぞれ特定するための場所情報である第一場所情報が記憶されており、
前記複数の場所にそれぞれ設置された情報取得手段が、個人が保持する携帯端末からのアクセスにより、前記場所情報記憶手段から第一場所情報を取得する取得ステップと、
場所情報検索手段が、前記検索第二形態素情報に対応づけられた各第二場所情報のうち、前記第一場所情報と一致する第二場所情報を検索するステップと、
内容文取得手段が、前記場所情報検索手段により検索された第二場所情報に対応づけられた内容文を、取得するステップとを有することを特徴とするコンピュータにおける会話制御方法。 A morpheme acquisition unit acquires , based on input information input from a user, first morpheme information obtained by combining one or a plurality of morphemes constituting a minimum unit of a character string of the input information;
Each second place information, which is place information for specifying a plurality of places, is associated with the second morpheme information having a predetermined morpheme, and each second place information is related to the location information. Are respectively associated with each other, a plurality of the second morpheme information is stored in advance in the morpheme storage means ,
A search means collates the first morpheme information with each second morpheme information, and searches the second morpheme information for second morpheme information including the morpheme constituting the first morpheme information. Searching as morpheme information;
Each installation location information storing unit to the plurality of locations, the first location information is a location information for specifying the plurality of locations, respectively are stored,
An acquisition step of acquiring first location information from the location information storage unit by accessing from a mobile terminal held by an individual, respectively, information acquisition unit installed in each of the plurality of locations,
A location information search means for searching for second location information that matches the first location information among the second location information associated with the search second morpheme information;
A conversation control method in a computer , wherein the content sentence acquisition means includes a step of acquiring a content sentence associated with the second place information searched by the place information search means .
前記所定の形態素は、個人の識別情報を意味する形態素であり、
前記第二形態素情報には、前記各第二場所情報及び前記個人に関する情報である第二個人情報が対応づけられており、
前記情報取得手段が、個人が保持する携帯端末からのアクセスにより、当該携帯端末が保持する、前記個人に関する情報である第一個人情報を取得した場合、判断手段が、前記検索第二形態素情報に対応づけられた第二個人情報と、前記第一個人情報とを照合し、前記第一個人情報と前記第二個人情報とが一致するか否かを判断する判断ステップと、
前記判断手段により一致すると判断された場合には、前記情報取得手段が、前記場所情報記憶手段から第一場所情報を取得するステップとを有することを特徴とする請求項4に記載のコンピュータにおける会話制御方法。The input information includes identification information of a predetermined individual,
The predetermined morpheme is a morpheme indicating personal identification information,
The second morpheme information is associated with each second location information and second personal information that is information about the individual,
When the information acquisition unit acquires the first personal information that is information related to the individual held by the mobile terminal by accessing from the mobile terminal held by the individual, the determination unit corresponds to the search second morpheme information. A determination step of comparing the attached second personal information with the first personal information and determining whether the first personal information and the second personal information match;
5. The computer conversation according to claim 4 , further comprising: a step of acquiring the first location information from the location information storage unit when the determination unit determines that they match each other. Control method.
前記形態素取得手段が、前記文字列から抽出した前記形態素と、前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を含む情報を前記第一形態素情報として取得するステップを有することを特徴とする請求項4又は5に記載のコンピュータにおける会話制御方法。Element information indicating the entire set group including a set of a plurality of the morpheme is associated with the set group is pre plurality stored in element storage means,
The morpheme acquisition means collates the morpheme extracted from the character string with each set group, selects the set group including the morpheme from the set groups, and selects the set group conversation control method in a computer according to claim 4 or 5, characterized in that it comprises a step of acquiring information including the element information associated as the first morpheme information.
利用者から入力された入力情報に基づいて、当該入力情報の文字列の最小単位を構成する形態素について1又は複数組み合わせてなる第一形態素情報を取得する形態素取得手段と、
所定の形態素を有する第二形態素情報には、複数の場所をそれぞれ特定するための場所情報である各第二場所情報が対応づけられており、前記各第二場所情報には、所在場所に関する情報を示す内容文がそれぞれ対応づけられており、前記第二形態素情報を予め複数形態素記憶手段に記憶する形態素記憶手段と、
前記第一形態素情報と、各第二形態素情報とを照合し、該各第二形態素情報の中から、前記第一形態素情報を構成する形態素を含む第二形態素情報を検索第二形態素情報として検索する検索手段と、
前記複数の場所にそれぞれ設置され、前記複数の場所をそれぞれ特定するための場所情報である第一場所情報を記憶する場所情報記憶手段と、
前記複数の場所にそれぞれ設置され、個人が保持する携帯端末からのアクセスにより、前記場所情報記憶手段から第一場所情報を取得する情報取得手段と、
前記検索第二形態素情報に対応づけられた各第二場所情報のうち、前記第一場所情報と一致する第二場所情報を検索する場所情報検索手段と、
前記場所検索手段により検索された第二場所情報に対応づけられた内容文を、取得する内容文取得手段として機能させるためのプログラム。 Computer
Based on input information input from a user, morpheme acquisition means for acquiring first morpheme information obtained by combining one or a plurality of morphemes constituting the minimum unit of the character string of the input information;
Each second place information, which is place information for specifying a plurality of places, is associated with the second morpheme information having a predetermined morpheme, and each second place information includes information on the location. and associated respectively contents statement illustrates, a word memory means for storing in advance a plurality word memory means the second morpheme information,
The first morpheme information is compared with each second morpheme information, and the second morpheme information including the morpheme constituting the first morpheme information is searched as the second morpheme information. Search means to
Wherein each installed in multiple locations, and location information storing means for storing first location information is a location information for specifying the plurality of locations, respectively,
Information acquisition means for acquiring first location information from the location information storage means by access from a mobile terminal that is installed at each of the plurality of locations and held by an individual;
Of each second place information associated with the second search morpheme information, place information search means for searching for second place information that matches the first place information;
Program for causing a content statements associated with the second location information retrieved by the location search section, as the contents sentence acquisition means for acquiring.
前記所定の形態素は、個人の識別情報を意味する形態素であり、
前記第二形態素情報には、前記各第二場所情報及び前記個人に関する情報である第二個人情報が対応づけられており、
前記情報取得手段が、個人が保持する携帯端末からのアクセスにより、当該携帯端末が保持する、前記個人に関する情報である第一個人情報を取得した場合、前記検索第二形態素情報に対応づけられた第二個人情報と、前記第一個人情報とを照合し、前記第一個人情報と前記第二個人情報とが一致するか否かを判断する判断手段して機能させ、
前記判断手段により一致すると判断された場合には、前記情報取得手段に、前記場所情報記憶手段から第一場所情報を取得するように機能させるための請求項7に記載のプログラム。The input information includes identification information of a predetermined individual,
The predetermined morpheme is a morpheme indicating personal identification information,
The second morpheme information is associated with each second location information and second personal information that is information about the individual,
When the information acquisition means acquires the first personal information, which is information related to the individual, held by the mobile terminal by accessing from the mobile terminal held by the individual, the information associated with the searched second morpheme information Two personal information and the first personal information are collated and function as a judgment means for judging whether or not the first personal information and the second personal information match,
The program according to claim 7 for causing the information acquisition unit to function to acquire first location information from the location information storage unit when the determination unit determines that they match.
前記形態素取得手段に、前記文字列から抽出した前記形態素と、前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を含む情報を前記第一形態素情報として取得するように機能させるための請求項7又は8に記載のプログラム。Element information indicating the entire set group consisting of a plurality of sets of morphemes, function as element storage means for storing a plurality of pieces in advance in association with the set group ;
The morpheme acquisition means collates the morpheme extracted from the character string with each set group, selects the set group including the morpheme from the set groups, and selects the set group The program according to claim 7 or 8 for causing a function to acquire information including the associated element information as the first morpheme information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002242433A JP4116367B2 (en) | 2002-08-22 | 2002-08-22 | Conversation control system, conversation control method, program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002242433A JP4116367B2 (en) | 2002-08-22 | 2002-08-22 | Conversation control system, conversation control method, program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004086246A JP2004086246A (en) | 2004-03-18 |
| JP4116367B2 true JP4116367B2 (en) | 2008-07-09 |
Family
ID=32051517
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002242433A Expired - Fee Related JP4116367B2 (en) | 2002-08-22 | 2002-08-22 | Conversation control system, conversation control method, program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4116367B2 (en) |
-
2002
- 2002-08-22 JP JP2002242433A patent/JP4116367B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004086246A (en) | 2004-03-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| 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 | |
| JP4110011B2 (en) | Conversation control device and conversation control method | |
| JP2004258902A (en) | Conversation control device and conversation control method | |
| JP4116367B2 (en) | Conversation control system, conversation control method, program | |
| JP4413486B2 (en) | Home appliance control device, home appliance control method and program | |
| JP4109964B2 (en) | Information output device, information output method, and program | |
| JP4913850B2 (en) | Information processing system and information processing method | |
| JP4205370B2 (en) | Conversation control system, conversation 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 | |
| JP4751563B2 (en) | Product discharge device, product discharge control method and program | |
| JP3923378B2 (en) | Robot control apparatus, robot control method and program | |
| JP4038399B2 (en) | Face image display device, face image display method and program | |
| JP4402868B2 (en) | Information acquisition apparatus, information acquisition 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 | |
| JP4312443B2 (en) | Information notification system, information notification control method and program | |
| JP3947421B2 (en) | Conversation control system, conversation control method, program, and recording medium recording program | |
| JP4188622B2 (en) | Access system and access control method | |
| JP2004030323A (en) | Information transmission system, information transmission method, and program | |
| JP4832701B2 (en) | Game machine, game control method, control program | |
| JP2004062794A (en) | Conversation control system, conversation control method, program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050722 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080122 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080318 |
|
| 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: 20080408 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080417 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110425 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4116367 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110425 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110425 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: 20110425 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: 20120425 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: 20120425 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: 20120425 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: 20120425 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130425 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: 20140425 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 |