JP4316839B2 - Conversation control device and conversation control method - Google Patents

Conversation control device and conversation control method Download PDF

Info

Publication number
JP4316839B2
JP4316839B2 JP2002152607A JP2002152607A JP4316839B2 JP 4316839 B2 JP4316839 B2 JP 4316839B2 JP 2002152607 A JP2002152607 A JP 2002152607A JP 2002152607 A JP2002152607 A JP 2002152607A JP 4316839 B2 JP4316839 B2 JP 4316839B2
Authority
JP
Japan
Prior art keywords
morpheme
information
unit
answer
morpheme information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2002152607A
Other languages
Japanese (ja)
Other versions
JP2003345792A (en
Inventor
声揚 黄
裕 勝倉
和生 岡田
淳 富士本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Universal Entertainment Corp
PtoPA Inc
Original Assignee
PtoPA Inc
Aruze Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PtoPA Inc, Aruze Corp filed Critical PtoPA Inc
Priority to JP2002152607A priority Critical patent/JP4316839B2/en
Publication of JP2003345792A publication Critical patent/JP2003345792A/en
Application granted granted Critical
Publication of JP4316839B2 publication Critical patent/JP4316839B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、利用者から入力された入力情報に基づいて、入力情報に対応する回答内容を、対話形式に近い自然な形式で出力する会話制御装置及び会話制御方法に関する。
【0002】
【従来の技術】
従来からの会話制御システムにおいては、利用者からの発話内容に基づいて、その発話内容に対応する予め格納された回答内容を出力するので、利用者は、会話制御システムから回答される回答内容により、擬似的に他の利用者と話しているような感覚を味わうことができた。
【0003】
【発明が解決しようとする課題】
しかしながら、上記会話制御システムでは、利用者からの発話内容(入力情報)と、予め格納してある利用者の発話内容(フレーズ)群とを照合し、そのフレーズ群の中から入力情報と一致するフレーズを検索し、検索したフレーズに対応付けられている回答内容を出力するものであることから、上記入力情報と少しでも近似するフレーズを数多く格納しなければ、入力情報により適した回答内容を出力することができなかった。
【0004】
一方、会話制御システムを構築する開発者が、入力情報と少しでも近似する膨大なフレーズと、その膨大なフレーズに対応付けられた回答内容とを予め会話制御システムに格納すれば、上記会話制御システムは、予め格納してある膨大なフレーズ群の中から、入力情報と一致するフレーズを検索し、検索したフレーズに対応付けられている回答内容を出力することができるので、入力情報により適した回答内容を出力することができる。
【0005】
ところが、会話制御システムを構築する開発者は、入力情報と一致するフレーズを会話制御システムで検索させるためには、利用者から発話されるであろう膨大なフレーズ群(無限大に近いフレーズ群)を予め会話制御システムに格納しなければならないこととなり、入力情報により適した回答内容を出力させる会話制御システムを構築することは困難であった。
【0006】
また、各回答内容は、予め定められた形式で格納されているので、会話制御システムは、利用者からの発話内容に対してそのまま回答するような形式で出力することが困難であり、対話形式により近い自然な形式で出力することができなかった。例えば、利用者が”A歌手の新譜はありますか”と発話した場合には、会話制御システムは、”「A歌手の新譜」は、○○です”という形式で回答することが困難であった。
【0007】
そこで、本願は以上の点に鑑みてなされたものであり、利用者から入力された入力情報を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答内容を取得することで、利用者からの入力情報に対応する最適な回答内容を取得し、また予め格納する各回答内容を少なくしても入力情報に対応する最適な回答内容を取得し、更には取得した回答内容を対話形式により近い自然な形式で出力することのできる会話制御装置及び会話制御方法を提供することを課題とする。
【0008】
【課題を解決するための手段】
本願に係る発明は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報と、入力情報に対応する利用者への回答内容とを予め相互に関連付けて複数記憶し、利用者から入力された入力情報に基づいて入力情報を示す文字列を特定し、特定された文字列に基づいて、文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出し、抽出された第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する少なくとも一つの形態素を含む第二形態素情報を検索し、検索された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得し、取得された回答内容に基づいて、抽出された第一形態素情報又は検索された第二形態素情報を構成する少なくとも一つの形態素を回答内容に付加することを特徴とするものである。
【0009】
このような本願に係る発明によれば、会話制御装置が、検索した第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得し、取得した回答内容に基づいて、抽出した第一形態素情報又は検索した第二形態素情報を構成する少なくとも一つの形態素を回答内容に付加することができるので、会話制御装置は、入力情報に対応する回答内容を、対話形式に近い自然な形式で出力することができる。
【0010】
例えば、利用者が”A歌手の新譜はありますか”という入力情報を入力した場合には、会話制御装置は、その入力情報に対応する回答内容”曲名1”を取得し、この回答内容”曲名1”に、入力情報を構成する形態素”A歌手の新譜”を付加することができるので、出力する回答として「”A歌手の新譜”は”曲名1”です」を出力することができる。
【0011】
この結果、利用者から入力された入力情報にそのまま答えるような回答が会話制御装置から出力されるので、利用者は、恰も他の利用者との間で会話しているような感覚を味わうことができる。
【0012】
また、会話制御装置が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者からの入力情報を構成する要素)を含む第二形態素情報を検索し、検索した第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得することができるので、会話制御装置は、利用者からの入力情報を構成する各形態素に基づいて、各形態素により構築される意味空間(各形態素からなる文字列から把握される意味内容)に基づいて予め作成された回答内容を取得することができることとなり、単に入力情報の”全体”をキーワードとして、そのキーワードに関連付けられた回答内容を取得するよりも、より入力情報に適した回答内容を取得することができる。
【0013】
更に、会話制御装置は、利用者からの入力情報を構成する各形態素に基づいて、利用者の入力情報に最適な回答内容を検索することができるので、会話制御装置を開発する開発者は、各形態素から構築される意味空間に基づいた回答内容とその回答内容を検索するための検索機能とを主に作製すればよく、利用者からの入力情報を解析するための人工知能、ニューラルネットワーク等からなるプログラムを逐一構築する必要がない。
【0014】
更にまた、会話制御装置は、第一形態素情報を含む第二形態素情報を検索するので、利用者からの入力情報と完全に一致する第二形態素情報を検索する必要がなく、会話制御装置を開発する開発者は、利用者から入力されるであろう入力情報に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
本願に係る発明は、抽出された第一形態素情報の各形態素を、主格からなる主体格、対象からなる対象格などの各属性に分類し、分類された少なくとも一つの属性に属する形態素を取得された回答内容に付加することを特徴とする会話制御システムである。
【0015】
尚、会話制御装置は、第二形態素情報を構成する各形態素を、主体格、対象格などの属性毎に分類して予め記憶し、検索した第二形態素情報に基づいて、第二形態素情報を構成する少なくとも一つの属性に属する形態素を、取得された回答内容に付加するものであってもよい。
【0016】
このような本願に係る発明によれば、会話制御装置が、抽出された第一形態素情報を構成する各形態素を、主格からなる主体格、対象からなる対象格などの各属性に分類し、分類された少なくとも一つの属性に属する形態素を回答内容に付加することができるので、会話制御装置は、入力情報に対応する回答内容をより自然な形式、即ち対話形に近い形で出力することができる。
【0017】
例えば、利用者が”A歌手の新譜はありますか”という入力情報を入力した場合には、会話制御装置は、その入力情報に対応する回答内容”曲名1”を取得し、この回答内容”曲名1”に、入力情報を構成する形態素”新譜”(対象格の形態素)のみを付加することができるので、出力する回答として「”新譜”は”曲名1”です」を出力することができ、結果的にはより自然な形式で回答を出力することができる。
【0018】
本願に係る発明は、各第二形態素情報を複数のキーワード群に対応付けて予め記憶し、抽出された第一形態素情報と各キーワード群とを照合し、第一形態素情報を構成する少なくとも一つの形態素と一致するキーワードを取得し、取得したキーワードに対応付けられた第二形態素情報を検索することを特徴とするものである。
【0019】
このような本願に係る発明によれば、会話制御装置が、抽出された第一形態素情報と各キーワード群とを照合し、第一形態素情報を構成する少なくとも一つの形態素と一致するキーワードを取得し、取得したキーワードに属する前記キーワード群に対応付けられた第二形態素情報を検索することができるので、会話制御装置を開発する開発者は、第一形態素情報と近似する膨大な第二形態素情報を会話制御装置に逐一記憶させる必要がなくなり、第二形態素情報の記憶量を低減させることができる。
【0020】
本願に係る発明は、キーワード群に対応付けられた二以上の第二形態素情報を検索した場合には、各第二形態素情報の中から、第一形態素情報を構成する少なくとも一つの形態素を含む第二形態素情報を検索することを特徴とするものである。
【0021】
このような本願に係る発明によれば、会話制御装置が、キーワード群に対応付けられた二以上の第二形態素情報を検索した場合には、各第二形態素情報の中から、第一形態素情報を構成する少なくとも一つの形態素を含む第二形態素情報を検索することができるので、会話制御装置は、各第二形態素情報の中から、利用者から入力された入力情報に関連するより適切な第二形態素情報を検索することができる。
【0022】
また、開発者は、会話制御装置に記憶させる第二形態素情報を少なくすることができるので、会話制御装置は、少ない第二形態素情報の中から、第一形態素情報と近似する第二形態素情報を迅速に検索することができる。
【0023】
本願に係る発明は、記憶される第二形態素情報又は回答内容が、利用者が求める話題、ある事柄において利用者に対して抱く感情度又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて形態素と関連付けて階層的にデータベースに蓄積するための言語で記述されることを特徴とするものである。尚、この言語は、DKML(Discourse Knowledge Markup Language)で記述されることが好ましい。
【0024】
このような本願に係る発明によれば、会話制御装置を開発する開発者は、利用者からの入力情報に対する回答内容を検索するための第二形態素情報等を、データベースにおいて前記言語を用いて階層的に構築することができるので、会話制御装置は、利用者の入力情報に基づいて入力情報に対する回答内容を、階層的な手順を経てデータベースから取得することができる。
【0025】
即ち、会話制御装置は、利用者からの入力情報の階層(例えば、データベースに蓄積されている第二形態素情報に対して上位概念にあるのか、又は下位概念にあるのか)を見極めて、見極めた階層に基づいて予め蓄積された各回答内容の中から、適切な回答内容を取得することができる。
【0026】
尚、第一形態素情報を含む第二形態素情報とは、第二形態素情報が第一形態素情報をそのまま含む場合のみならず、第二形態素情報が第一形態素情報を構成する少なくとも一つの形態素を含む場合をも意味するものとする。
【0027】
【発明の実施の形態】
[第一実施形態]
(会話制御システムの基本構成)
本発明に係る会話制御システムについて図面を参照しながら説明する。図1は、本実施形態に係る会話制御装置1を有する会話制御システムの概略構成図である。
【0028】
同図に示すように、会話制御装置1は、入力部100と、音声認識部200と、会話制御部300と、文解析部400と、会話データベース500と、出力部600と、音声認識辞書記憶部700とを備えている。
【0029】
尚、本実施形態では、説明の便宜上、利用者の発話内容(この発話内容は、入力情報の一種)に限定して説明するが、この利用者の発話内容に限定されるものではなく、キーボード等から入力された入力情報であってもよい。従って、以下に示す「発話内容」は、「発話内容」を「入力情報」に置き換えて説明することもできる。
【0030】
同様にして、後述の説明では、説明の便宜上、「発話文のタイプ」(発話種類)に限定して説明するが、この「発話文のタイプ」に限定されるのではなく、キーボードなどから入力された入力情報の種類を示す「入力種類」であってもよい。従って、以下に示す「発話文のタイプ」(発話種類)は、「入力文のタイプ」に置き換えて説明することもできる。
【0031】
入力部100は、利用者からの入力情報を取得する取得手段であり、本実施形態では、マイクロホン、キーボード等が挙げられる。この入力部100は、利用者から入力された入力情報に基づいて、入力情報(音声以外)に対応する文字列を特定する文字認識手段でもある。
【0032】
ここで、入力情報とは、キーボード等を通じて入力された文字、記号、音声等を意味するものである。具体的に、入力部100は、利用者の入力情報(音声以外)を取得し、取得した入力情報を文字列として特定し、特定した文字列を会話制御部300に出力する。また、利用者からの発話内容(この発話内容は、音声からなるものであり、入力情報の一種である)をマイクロホンなどで取得した入力部100は、取得した発話内容を構成する音声を音声信号として音声認識部200に出力する。
【0033】
音声認識部200は、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定する文字認識手段である。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。音声認識辞書記憶部700は、標準的な音声信号に対応する辞書(あ、い、う、え、など)を格納しているものである。
【0034】
前記文解析部400は、会話制御部300に入力された文字列を解析するものであり、本実施形態では、図2に示すように、形態素抽出部410と、文節解析部420と、文構造解析部430と、発話種類判定部440と、形態素データベース450と、発話種類データベース460とを有している。
【0035】
形態素抽出部410は、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出する形態素抽出手段である。
【0036】
具体的に、管理部310から文字列が入力された形態素抽出部410は、入力された文字列の中から各形態素を抽出する。ここで、形態素とは、本実施形態では、文字列に表された語構成の最小単位を意味するものであり、この語構成の最小単位としては、図3に示すように、例えば、名詞、形容詞、動詞などの品詞が挙げられる。各形態素は、本実施形態では、m1、m2、・・、mlと表現する。
【0037】
即ち、形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などからなる形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0038】
文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式に変換する変換手段である。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0039】
ここで、文節形式とは、本実施形態では、日本語文法において、自立語又は自立語に一つ以上の付属語がついた文、或いは、日本語文法の意味を崩さない程度に文字列をできるだけ細かく区切った一区切りの文を意味する。この文節は、本実施形態では、p1、p2、・・・pkと表現する。
【0040】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。 各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0041】
文構造解析部430は、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類する分類手段である。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」(属性)を決定する。
【0042】
ここで、「格構成」とは、文節における実質的な概念を示す格(属性)を意味するものであり、本実施形態では、例えば、主語・主格を意味するサブジェクト(主体格)、対象を意味するオブジェクト(対象格)、動作・動詞を意味するアクション、時間を意味するタイム(テンス、ムード、アスペクトからなるもの)、場所を意味するロケーション等が挙げられる。本実施形態では、文節におけるサブジェクト、オブジェクト、アクションの三要素の「格」(格構成)に対応付けられた各形態素を第一形態素情報とする。
【0043】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、
例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0044】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0045】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部320に出力する。
【0046】
発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定する種類特定手段である。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0047】
ここで、「発話文のタイプ」は、本実施形態では、図6に示すように、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、反発文(N;Negation)、肯定文(A;Answer)、質問文(Q;Question)などから構成されるものである。
【0048】
陳述文とは、利用者の意見又は考えなどからなる文を意味するものであり、本実施形態では、図6に示すように、例えば”佐藤が好きだ”などの文が挙げられる。感想文とは、利用者が抱く感想からなる文を意味するものである。場所文とは、場所的な要素からなる文を意味するものである。
【0049】
結果文とは、話題に対して文が結果の要素を含む文から構成されるものを意味する。時間文とは、話題に関わる時間的な要素を含む文から構成されるものを意味する。
【0050】
条件文とは、一つの発話を話題と捉えた場合に、話題の前提、話題が成立している条件や理由などの要素を含む文から構成されるものを意味する。反発文とは、利用者の発話相手に対して反発するような要素を含む文から構成されるものを意味する。各「発話文のタイプ」についての例文は、図6に示す通りである。
【0051】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素(図7参照)を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。文要素とは、文字列の種類を特定するための分の種別を意味し、文要素は、本実施形態では、上記説明した定義句(〜のことだ)などが挙げられる。
【0052】
ここで、上記発話種類データベース460は、図7に示すように、定義句(例えば、〜のことだ)に関係する辞書を備えた定義表現事例辞書、肯定句(例えば、賛成、同感、ピンポーン)に関係する辞書を備えた肯定事例辞書、結果句(例えば、それで、だから)に関係する辞書を備えた結果表現事例辞書、挨拶句(例えば、こんにちは)に関係する辞書を備えた挨拶辞書、否定句(例えば、馬鹿言うんじゃないよ、反対)に関係する辞書を備えた否定事例辞書などから構成され、各辞書は、「発話文のタイプ」と関連付けられている。
【0053】
これにより、発話種類判定部440は、文節と発話種類データベース460に格納されている各辞書とを照合し、文節の中から各辞書に関連する文要素を抽出し、抽出した文要素に関連付けられた判定の種類を参照することで、「発話文のタイプ」を判定することができる(図7参照)。
【0054】
この発話種類判定部440は、後述する話題検索部320からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部330に出力する。
【0055】
前記会話データベース500は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報と、発話内容に対する利用者への回答内容とを予め相互に関連付けて複数記憶する回答記憶手段である。
【0056】
また、会話データベース500は、第二形態素情報に複数の回答内容を関連付け、各回答内容に各回答内容の種類を示す回答種類をそれぞれに対応付けて予め記憶する回答記憶手段でもある。更に、会話データベース500は、第二形態素情報を構成する各要素を、主格からなる主体各、目的格からなる対象格などの属性に分類して記憶する回答記憶手段でもある。
【0057】
この会話データベース500は、図8に示すように、本実施形態では、大きく分けると、利用者が発話している内容について関連性のある範囲を意味する談話範囲(ディスコース)と、談話範囲に属し、利用者が発話している内容に最も密接な関連性のある範囲を意味する話題(トピック)とから構成されている。同図に示すように、”談話範囲”は、本実施形態では、”話題”の上位概念として位置付けるものとする。
【0058】
各談話範囲は、図9に示すように、階層構造となるように構成することができる。同図に示すように、例えば、ある談話範囲(映画)に対する上位概念の談話範囲(娯楽)は、上の階層構造に位置するようにし、談話範囲(映画)に対する下位概念の談話範囲(映画の属性、上映映画)は、下の階層構造に位置するようにすることができる。即ち、各談話範囲は、本実施形態では、他の談話範囲との関係で上位概念、下位概念、同義語、対義語の関係が明確となる階層位置に配置することかできる。
【0059】
上述の如く、談話範囲は、各話題から構成されるものであり、本実施形態では、例えば、談話範囲がA映画名であれば、”A映画名”に関係する複数の話題を含んでいる。
【0060】
この話題は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素、即ち、利用者から発話されるであろう発話内容を構成する各形態素を意味するものであり、本実施形態では、サブジェクト(主体格)、オブジェクト(対象格)、アクションの「格」(属性)に対応付けられた各形態素からなるものである。これら三要素に対応付けられた各形態素は、本実施形態では、話題タイトル(この話題タイトルは、”話題”の下位概念に相当するものである)(第二形態素情報)と表現することにする。
【0061】
尚、話題タイトルには、上記三要素に対応付けられた各形態素に限定されるものではなく、他の「格」、即ち、時間を意味するタイム(ムード、テンス、アスペクトなどからなるもの)、場所を意味するロケーション、条件を意味するコンディション、感想を意味するインプレッション、結果を意味するエフェクトなどに対応付けられた各形態素を有していてもよい。
【0062】
この話題タイトル(第二形態素情報)は、本実施形態では、会話データベース500に予め格納されているものであり、上記第一形態素情報(利用者が発話した内容から導かれたもの)とは区別されるものである。
【0063】
例えば、話題タイトルは、談話範囲が”A映画名”である場合には、図10に示すように、サブジェクト(A映画名)、オブジェクト(監督)、アクション(素晴らしい){これは、”A映画名の監督は素晴らしい”を意味する}から構成されるものである。
【0064】
話題タイトルのうち、「格構成」(サブジェクト、オブジェクト、アクションなど)に対応付けられた形態素がない場合は、その部分については、本実施形態では、”*”を示すことにする。
【0065】
例えば、{A映画名って?}の文を話題タイトル(サブジェクト;オブジェクト;アクション)に変換すると、{A映画名って?}の文のうち、”A映画名”がサブジェクトとして特定することができるが、その他”オブジェクト””アクション”は文の要素になっていないので、この話題タイトルは、”サブジェクト”(A映画名);”オブジェクト”なし(*);”アクション”なし(*)となる(図10参照)。
【0066】
回答文とは、利用者に対して回答する回答文(回答内容)を意味するものであり、この回答文は、本実施形態では、各話題タイトル(第二形態素情報)のそれぞれに関連付けられて会話データベース500に予め記憶されている(図8参照)。回答文は、本実施形態では、図11に示すように、利用者から発話された発話文のタイプに対応した回答をするために、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、否定文(N;Negation)、肯定文(A;Answer)、疑問文(Q;Question)などのタイプ(回答種類)に分類するものとする。
【0067】
即ち、各回答文は、図12に示すように、例えば、談話範囲(佐藤){下位概念;ホームラン、上位概念;草野球、同義語;パンダ佐藤・佐藤選手・パンダ}及び各話題タイトルと関連付けられている。
【0068】
同図に示すように、例えば、話題タイトル1−1が{(佐藤;*;好きだ):これは、上述の如く(サブジェクト;オブジェクト;アクション)の順番からなるものである。この順番は、以下同様とする}である場合は、その話題タイトル1−1に対応する回答文1−1は、(DA;陳述肯定文”(私も)佐藤が好きです”)、(IA;感想肯定文”佐藤がとても好きです”)、(CA;条件肯定文”佐藤のホームランはとても印象的だからです”)、(EA;結果肯定文”いつも佐藤の出る試合をテレビ観戦してしまいます”)、(TA;時間肯定文”実は、甲子園での5打席連続敬遠から好きになっています”)、(LA;場所肯定文”打撃に立ったときの真剣な顔が好きですね”)、(NA;反発肯定文”佐藤を嫌いな人とは話したくないですね、さよなら”)などが挙げられる。
【0069】
前記会話制御部300は、本実施形態では、図2に示すように、管理部310と、話題検索部320と、回答文検索部330とを有している。
【0070】
管理部310は、会話制御部300の全体を制御するものである。具体的に、入力部100又は音声認識部200から文字列が入力された管理部310は、入力された文字列を形態素抽出部410に出力する。また、管理部310は、回答文検索部330で検索された回答文を出力部600に出力する。
【0071】
話題検索部320は、文節解析部420で抽出された第一形態素情報と各第二形態素情報(話題タイトル)とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報を検索する第一検索手段である。具体的に、文構造解析部430から話題検索命令信号が入力された話題検索部320は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲群とを照合し、談話範囲群の中から第一形態素情報と関連する談話範囲を検索する。
【0072】
例えば、利用者から発話された発話文を構成する「格構成」に属する各形態素(第一形態素情報)が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、「格構成」に”佐藤”が含まれていることから、この”佐藤”と談話範囲群とを照合し、”佐藤”と一致する談話範囲(佐藤)を検索する。
【0073】
更に、「格構成」に関連する談話範囲を選択した話題検索部320は、選択した談話範囲に属する各話題タイトルの中から、「格構成」に属する各形態素に最も近い「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0074】
例えば、発話内容の「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から、「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0075】
話題検索部320から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部330に出力する。
【0076】
回答文検索部330は、話題検索部320で検索された第二形態素情報(話題タイトル)に基づいて、第二形態素情報に関連付けられた回答文を取得する回答取得手段である。また、回答文検索部330は、話題検索部320で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答文を取得するものでもある(第二検索手段、回答取得手段)。
【0077】
具体的に、話題検索部320から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部330は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その話題タイトルに関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0078】
例えば、回答文検索部330は、検索結果に対応する話題タイトル(第二形態素情報)が図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0079】
回答文検索部330から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。出力部600は、回答文検索部330で取得された回答文を出力する出力手段であり、本実施形態では、例えば、スピーカ、ディスプレイなどが挙げられる。具体的に、管理部310から回答文信号が入力された出力部600は、入力された回答文信号に対応する回答文{例えば、私も佐藤が好きです}を出力する。
【0080】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。図13は、本実施形態に係る会話制御方法の手順を示すフロー図である。
【0081】
先ず、入力部100が、利用者からの発話内容を取得するステップを行う(S100)。具体的に入力部100は、利用者の発話内容を構成する音声を取得し、取得した音声を音声信号として音声認識部200に出力する。また、入力部100は、利用者から入力された入力情報(音声以外)に基づいて、入力情報(音声以外)に対応する文字列を特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0082】
次いで、音声認識部200が、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定するステップを行う(S102)。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0083】
次いで、形態素抽出部410が、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を抽出するステップを行う(S103)。
【0084】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0085】
そして、文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめる(S104)。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。第一形態素情報は、本実施形態では、一つの文節に属する各形態素を意味する。
【0086】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0087】
その後、文構造解析部430が、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類するステップを行う(S105)。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0088】
即ち、文構造解析部430は、図5に示すように、例えば、文節における各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、文節における各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0089】
更に、文構造解析部430は、例えば、文節における各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0090】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部320に出力する。
【0091】
次いで、発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定するステップを行う(S106)。具体的に、発話種類判定部440は、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0092】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」(発話種類)を判定する。
【0093】
この発話種類判定部440は、後述する話題検索部320からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部330に出力する。
【0094】
次いで、話題検索部320が、文節解析部420で抽出された第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報(話題タイトル)を検索するステップを行う(S107)。
【0095】
具体的に、文構造解析部430から話題検索命令信号が入力された話題検索部320は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲群とを照合し、談話範囲群の中から第一形態素情報と関連する談話範囲を検索する。
【0096】
例えば、利用者から発話された発話文を構成する「格構成」に属する各形態素(第一形態素情報)が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、「格構成」に”佐藤”が含まれていることから、この”佐藤”と談話範囲群とを照合し、”佐藤”と一致する談話範囲(佐藤)を検索する。
【0097】
更に、「格構成」に関連する談話範囲を選択した話題検索部320は、選択した談話範囲に属する各話題タイトルの中から、「格構成」に属する各形態素に最も近い「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0098】
例えば、「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0099】
話題検索部320から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部330に出力する。
【0100】
次いで、回答文検索部330は、話題検索部320で検索された第二形態素情報(話題タイトル)に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に関連付けられた回答文を取得するステップを行う(S108)。
【0101】
具体的に、話題検索部320から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部330は、入力された検索結果信号に対応する話題タイトル(第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その話題タイトルに関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0102】
例えば、回答文検索部330は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0103】
そして、回答文検索部330から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。その後、管理部310から回答文信号が入力された出力部600は、入力された回答文信号に対応する回答文{例えば、私も佐藤が好きです}を出力する(S109)。
【0104】
(会話制御装置及び会話制御方法による作用及び効果)
上記構成を有する本願に係る発明によれば、話題検索部320が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者の発話内容を構成する要素)を含む第二形態素情報を検索し、検索した第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得することができるので、話題検索部320は、利用者の発話内容を構成する各形態素に基づいて、各形態素により構築される意味空間(各形態素からなる文字列から把握される意味)を考慮し、かかる意味空間に基づいて予め作成された回答内容を取得することができることとなり、単に発話内容の全体をキーワードとして、そのキーワードに関連付けられた回答内容を取得するよりも、より発話内容に適した回答内容を取得することができる。
【0105】
また、会話制御装置1は、利用者の発話内容を構成する各形態素に基づいて、利用者の発話内容に適した最適な回答内容を検索することができるので、会話制御装置1を開発する開発者は、各形態素により構築される意味空間に基づいた回答内容とその回答内容を検索するための検索機能とを主に作製すればよく、利用者の発話内容を解析するための人工知能、ニューラルネットワーク等からなるプログラムを逐一構築する必要がない。
【0106】
更に、話題検索部320は、第一形態素情報を含む第二形態素情報を検索するので、利用者の発話内容と完全に一致する第二形態素情報を検索する必要がなく、会話制御装置1を開発する開発者は、利用者から発話されるであろう発話内容に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0107】
更にまた、回答文検索部330が、各第二形態素情報に関連付けられた回答種類(陳述、肯定、場所、反発など)の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答内容を取得することができるので、回答文検索部330は、利用者の会話内容を構成する発話種類、例えば、利用者が単に意見を述べたもの、利用者が抱く感想からなるもの、利用者が場所的な要素を述べたものなどに基づいて、複数の回答内容の中から発話種類にマッチした回答内容を取得することができることとなり、該当する利用者に対してより最適な回答をすることができる。
【0108】
(変更例)
尚、本発明は、上記実施形態に限定されるものではなく、以下に示すような変更を加えることができる。
【0109】
(第一変更例)
本変更例においては、会話データベース500は、複数の形態素の集合からなる集合群の全体を示す要素情報を、集合群に関連付けて複数記憶する要素記憶手段であってもよい。更に、形態素抽出部410は、文字列から抽出した形態素と各集合群とを照合し、各集合群中から、抽出された形態素を含む集合群を選択し、選択した集合群に関連付けられた要素情報を第一形態素情報として抽出してもよい。
【0110】
図14に示すように、利用者が発話した文字列に含まれる各形態素には、類似しているものがある。例えば、図14に示すように、集合群の全体を示す要素情報を「贈答」とすると、「贈答」は、プレゼント、贈り物、御歳暮、御中元、お祝いなど(集合群)と相互に類似しているので、形態素抽出部410は、「贈答」に類似する形態素(上記のプレゼントなど)がある場合には、その類似する形態素については、「贈答」として取り扱うことができる。
【0111】
即ち、形態素抽出部410は、例えば、文字列から抽出した形態素が「プレゼント」である場合は、図14に示すように、「プレゼント」を代表する要素情報が「贈答」であるので、上記「プレゼント」を「贈答」に置き換えることができる。
【0112】
これにより、形態素抽出部410が相互に類似する形態素を整理することができるので、会話制御装置を開発する開発者は、相互に類似した各第一形態素情報から把握される意味空間に対応した第二形態素情報及び第二形態素情報に関係する回答内容を逐一作成する必要がなくなり、結果的に、記憶部に格納させるデータ量を低減させることができる。
【0113】
(第二変更例)
図15に示すように、本変更例においては、割合計算部321と、選択部322とを話題検索部320に備えてもよい。
【0114】
割合計算部321は、形態素抽出部410で抽出された第一形態素情報と各第二形態素情報(話題タイトル)とを照合し、各第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算する計算手段である。
【0115】
具体的に、文構造解析部430から話題検索命令信号が入力された割合計算部321は、図15に示すように、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲に属する各話題タイトル(第二形態素情報)とを照合し、各話題タイトル毎に、それぞれの話題タイトルの中に、第一形態素情報が占める割合を計算する。
【0116】
例えば、図15に示すように、利用者から発話された発話文を構成する第一形態素情報が(佐藤;*;好きだ){佐藤は好きだ}である場合は、割合計算部321は、「格構成」に属する各形態素(佐藤;*;好きだ)と話題タイトルに含まれる各形態素(佐藤;*;好きだ)とを照合し、両者は一致するので、上記話題タイトルに、「格構成」に属する各形態素(佐藤;*;好きだ)が含まれる割合を、100%であると計算する。割合計算部321は、これらの計算を話題タイトル毎に行い、計算した各割合を割合信号として選択部322に出力する。
【0117】
選択部322は、割合計算部321で各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択する選択手段である。
【0118】
具体的に、割合計算部321から割合信号が入力された選択部322は、入力された割合信号に含まれる各割合(「格構成」の要素/「話題タイトル」の要素×100)の中から、例えば割合の高い話題タイトルを選択する(図16参照)。割合の高い話題タイトルを選択した選択部322は、選択した話題タイトルを検索結果信号として回答文検索部330及び発話種類判定部440に出力する。回答文検索部330は、選択部322で選択された話題タイトルに基づいて、話題タイトルに関連付けられた回答文を取得する。
【0119】
これにより、割合計算部321が、各第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算し、選択部322が、各第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することができるので、選択部322は、例えば、第一形態素情報(利用者の発話内容を構成するもの)が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより的確に取得することができる。
【0120】
この結果、回答文検索部330は、選択部322で取得された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答文を取得することができるので、利用者の発話内容に対して最適な回答文を取得することができる。
【0121】
また、選択部322は、複数の話題タイトルの中から、割合計算部321で計算された割合の高い話題タイトルを選択することができるので、利用者の発話文に含まれる「格構成」に属する各形態素と会話データベース500に格納されている各話題タイトルとが完全に一致しなくても、「格構成」に属する各形態素に密接する話題タイトルを取得することができる。
【0122】
この結果、選択部322が「格構成」に密接する話題タイトルを取得するので、会話制御装置1を開発する開発者は、「格構成」と完全に一致する話題タイトルを会話データベース500に逐一格納する必要がなくなるので、会話データベース500の容量を低減させることができる。
【0123】
尚、割合計算部321は、分類された各属性に属する第一形態素情報の各形態素と、予め記憶された各属性に属する各第二形態素情報の各形態素とを各属性毎に照合し、各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の各形態素を含む第二形態素情報を検索する第一検索手段であってもよい。
【0124】
具体的に、話題検索命令信号が入力された割合計算部321は、入力された話題検索命令信号に含まれる「格構成」の各「格」(サブジェクト;オブジェクト;アクション)毎に、その「格」に属する第一形態素情報の各形態素と、「格構成」と同一の「格」からなる話題タイトルの「格」に属する各形態素とを照合し、互いの「格」を構成する形態素が同一か否かを判定する。
【0125】
例えば、図17に示すように、割合計算部321は、「格構成」の「格」の形態素が(犬;人;噛んだ){犬が人を噛んだ}である場合は、それらの形態素”犬”、”人”、”噛んだ”と、それらの形態素を構成する「格」と同一の「格」からなる話題タイトルの形態素”犬”、”人”、”噛んだ”とを照合し、話題タイトルを構成する各形態素”犬”、”人”、”噛んだ”のうち、各形態素に対応する「格」と同一の「格」からなる「格構成」の形態素”犬”、”人”、”噛んだ”と一致している割合を算出(100%)する。
【0126】
もし、話題タイトルを構成する要素が(人;犬;噛んだ){人が犬を噛んだ}である場合は、割合計算部321は、上記と同様の手順により、二つの格に属する形態素が異なるので、「格構成」を構成する形態素と「話題タイトル」との「格」毎の一致度を33%であると算出する(図17参照)。
【0127】
割合を計算した割合計算部321は、各割合の中から、割合の高い話題タイトルを選択し、選択した話題タイトルを検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0128】
これにより、割合計算部321が、分類された各「格構成」(主体格、対象格など)に属する第一形態素情報の各形態素と、予め記憶された話題タイトルとを各「格」毎に照合し、各話題タイトルの中から、少なくとも一の「格」に第一形態素情報の各形態素を含む第二形態素情報を検索することができるので、割合計算部321は、通常の語順とは異なるものから構成される発話内容、例えば”人が犬を噛む”である場合には、主体格の形態素が”人”、対象格の形態素が”犬”であることから、その各「格」と一致する第二形態素情報を検索することができ、その第二形態素情報に関連付けられている回答内容{”本当に?”又は”意味がよくわかんないよ”など}を取得することができる。
【0129】
即ち、割合計算部321は、識別が困難な発話内容、例えば”人が犬を噛む”と”犬が人を噛む”とを識別することができるので、その識別した発話内容により適した回答、前者については例えば”本当に?”、後者については例えば”大丈夫?”をすることができる。
【0130】
(第三変更例)
図18に示すように、本変更例においては、上記実施形態及び上記各変更例に限定されるものではなく、会話制御装置1a,1bにある通信部800と、通信ネットワーク1000を介して通信部800との間でデータの送受信をするための通信部900と、通信部900に接続された各会話データベース500b〜500dと、サーバ2a〜2cとを備えてもよい(会話制御システム)。
【0131】
ここで、通信ネットワーク1000とは、データを送受信する通信網を意味するものであり、本実施形態では、例えば、インターネットなどが挙げられる。
【0132】
尚、本変更例では、便宜上、会話制御装置1a,1b、会話データベース500b〜500d、サーバ2a〜2cを限定しているが、これに限定されるものではなく、更に他の会話データベースを設けてもよい。このサーバ2a〜2cには、会話データベース500a〜500dに記憶されている内容と同様の内容が記憶されている。
【0133】
これにより、会話制御部300は、会話制御装置1aの内部に配置してある会話データベース500aのみならず、通信ネットワーク1000を介して、他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cをも参照することができるので、例えば、会話データベース500aの中から、話題検索命令信号に含まれる「格構成」に属する各形態素(第一形態素情報)と関連する談話範囲を検索することができない場合であっても、他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cを参照することにより、上記第一形態素情報と関連する談話範囲を検索することができ、利用者の発話文により適した回答文を検索することができる。
【0134】
[プログラム]
上記会話制御システム及び会話制御方法で説明した内容は、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。
【0135】
ここで、プログラム言語としては、本実施形態では、利用者が求める話題、ある事柄において利用者に対して抱く感情度、又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて形態素と関連付けて階層的にデータベースに蓄積するための言語、例えば、本発明者らが開発したDKML(Discourse Knowledge Markup Language)、その他C言語等が挙げられる。
【0136】
即ち、会話制御装置1は、各会話データベース500a〜500dに格納されているデータ(第二形態素情報、回答文、回答種類、集合群、要素情報などの記憶情報)、その他の各部を、DKML(Discourse Knowledge Markup Language)等で構築し、この構築した記憶情報等を利用するためのプログラムを実行することにより実現することができる。
【0137】
このような本実施形態に係るプログラムによれば、利用者の発話内容を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答内容を出力することで、利用者の発話内容に対応する最適な回答内容を出力することができるという作用効果を奏する会話制御装置、会話制御システム及び会話制御方法を一般的な汎用コンピュータで容易に実現することができる。
【0138】
更に、上記通信部800と通信部900との間の通信は、通信ネットワークを介して、DKML等からなるプロトコルによってデータを送受信してもよい。これにより、会話制御装置1は、例えば、会話制御装置に利用者の発話内容に適した回答内容がない場合には、通信ネットワーク1000を通じて、DKML等の約束事に従って、利用者の発話内容に適した回答内容(DKMLなどで記述されたもの)を検索し、検索した回答内容を取得することができる。
【0139】
尚、プログラムは、記録媒体に記録することができる。この記録媒体は、図19に示すように、例えば、ハードディスク1100、フロッピー(登録商標)ディスク1200、コンパクトディスク1300、ICチップ1400、カセットテープ1500などが挙げられる。このようなプログラムを記録した記録媒体によれば、プログラムの保存、運搬、販売などを容易に行うことができる。
【0140】
[第二実施形態]
(会話制御システムの基本構成)
本発明の第二実施形態について図面を参照しながら説明する。図20は、本実施形態に係る会話制御システムの内部構造を示す図である。同図に示すように、会話制御システムにおける会話制御装置1は、第一実施形態における会話制御装置1の内部構造とほぼ同じであるが、形態素付加部340を有する点で相違する。この相違する点以外は、第一実施形態及び変更例の構造と同じであるので、相違する点以外の構造についての説明は、省略する。
【0141】
第一実施形態では、会話制御装置1が、利用者からの入力情報に基づいて入力情報に対応する最適な回答内容を取得する処理について説明したが、本実施形態では、会話制御装置1が、利用者からの入力情報に基づいて、入力情報を構成する形態素を、入力情報に対応する最適な回答内容に付加する処理について説明する。具体的な説明は以下の通りである。
【0142】
形態素付加部340は、回答文検索部330で取得された回答内容に基づいて、形態素抽出部410で抽出された第一形態素情報又は話題検索部320で検索された第二形態素情報を構成する少なくとも一つの形態素を回答内容に付加する形態素付加手段である。
【0143】
また、形態素付加部340は、文節解析部420で分類された少なくとも一つの属性に属する形態素(この形態素は第一形態素情報に属するもの)を、回答文検索部330で検索(取得)された回答内容に付加する形態素付加手段でもある。更に、形態素付加部340は、話題検索部320で検索された第二形態素情報を構成する少なくとも一つの属性に属する形態素を、回答内容に付加する回答付加手段でもある。
【0144】
具体的に、回答文検索部330から回答内容と、形態素抽出部410で抽出された第一形態素情報とが入力された形態素付加部340は、入力された回答内容と第一形態素情報とに基づいて、第一形態素情報を構成する少なくとも一つの形態素を回答内容に付加する。
【0145】
また、回答文検索部330から回答内容と、話題検索部320から第二形態素情報とが入力された形態素付加部340は、入力された回答内容と第二形態素情報とに基づいて、第二形態素情報を構成する少なくとも一つの形態素を回答内容に付加する。
【0146】
上記形態素を回答内容に付加した形態素付加部340は、回答内容に形態素を付加したものを、付加回答内容として管理部310に出力する。形態素付加部340から付加回答内容が入力された管理部310は、入力された付加回答内容を出力部600に出力する。
【0147】
例えば、利用者からの入力情報が{B歌手の新譜名を教えて}である場合には、形態素抽出部410は、入力情報のうち、”B歌手”、”新譜名”、”教えて”、を第一形態素情報として抽出する。回答文検索部330は、話題検索部320で検索された第一形態素情報と一致する第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得し、取得した回答内容に、第一形態素情報を構成する形態素”B歌手””新譜名”を付加する。
【0148】
また、文節解析部420は、形態素抽出部410で抽出された第一形態素情報に属する各形態素を、主体格(サブジェクト)、対象格(オブジェクト)、動作・動詞(アクション)などの属性に分類する。各属性に分類された第一形態素情報は、(B歌手;新譜;教えて){これは、サブジェクト、オブジェクト、アクションの順番}となる。ここでの形態素抽出部410、文節解析部420の動作は、第一実施形態と同様であるので、詳述な動作説明は省略する。
【0149】
話題検索部320は、各属性に分類された第一形態素情報(B歌手;新譜;教えて)に基づいて、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を取得する。回答文検索部330は、取得された第二形態素情報に基づいて、第二形態素情報に関連付けられている回答内容を会話データベース500の中から取得し、取得した回答内容に、第一形態素情報(又は第二形態素情報)を構成する各属性に属する少なくとも一つの形態素を付加する。
【0150】
ここで、会話データベース500には、図21に示すように、複数ある回答内容を回答内容テーブルとして記憶されている。同図に示すように、この回答内容テーブルには、本実施形態では、歌手名(A歌手、B歌手、C歌手・・・)、市販されているCDに格納されている新譜の歌い出し(フレーズ1、フレーズ2、フレーズ3・・・)、歌手の所属事務所(事務所1、事務所2、事務所3・・・)、歌手が行うコンサートの予定日(2002年7月1日・・・)、新譜のランキング(1位、10位、17位・・・)等が含まれている。
【0151】
具体的に、回答文検索部330は、第一形態素情報又は第二形態素情報を構成する各形態素が(B歌手;新譜;教えて)である場合には、この各形態素の中から、サブジェクトの形態素”B歌手”、及びオブジェクトの形態素”新譜”を抽出する。尚、回答文検索部330は、第一形態素情報又は第二形態素情報を構成する各形態素のうち、サブジェクト又はオブジェクトに属する形態素のいずれか一つの形態素を抽出するものであってもよい。
サブジェクトの形態素”B歌手”、及びオブジェクトの形態素”新譜”を抽出した回答文検索部330は、抽出した各形態素に基づいて、会話データベース500に記憶されている回答内容テーブルを参照し、図21に示すように、形態素”B歌手”及び形態素”新譜名”に対応する回答内容”曲名2”(同図に示す斜線部分)を取得する。この回答内容”曲名2”を取得した回答文検索部330は、取得した回答内容”曲名2”を形態素付加部340に出力する。
【0152】
回答文検索部330から回答内容”曲名2”が入力された形態素付加部340は、入力された回答内容”曲名2”に基づいて、第一形態素情報又は第二形態素情報を構成する少なくとも一つの形態素を付加する。
【0153】
具体的に、形態素付加部340は、例えば、図22に示すように、第一形態素情報又は第二形態素情報を構成するサブジェクト及びオブジェクトに属する形態素”B歌手”及び形態素”新譜”を、入力された回答内容”曲名2”に付加する。形態素付加部340は、入力された回答内容”曲名2”に各形態素”B歌手””新譜”を付加することができるので、出力する回答として”B歌手の新譜は、曲名2です”を出力することができる。
【0154】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。回答内容を取得するまでの手順は、第一実施形態における手順(S101〜S109)と同様の手順で行うことができる。このため、以下に述べる会話制御方法では、回答内容が取得された以降のフローについて主に説明する。
【0155】
形態素付加部340が、回答文検索部330で取得された回答内容に基づいて、形態素抽出部410で抽出された第一形態素情報又は話題検索部320で検索された第二形態素情報を構成する少なくとも一つの形態素を回答内容に付加するステップを行う。
【0156】
具体的に、回答文検索部330から回答内容と、形態素抽出部410で抽出された第一形態素情報とが入力された形態素付加部340は、入力された回答内容と第一形態素情報とに基づいて、第一形態素情報を構成する少なくとも一つの形態素を回答内容に付加する。
【0157】
また、回答文検索部330から回答内容と、話題検索部320から第二形態素情報とが入力された形態素付加部340は、入力された回答内容と第二形態素情報とに基づいて、第二形態素情報を構成する少なくとも一つの形態素を回答内容に付加する。
【0158】
上記形態素を回答内容に付加した形態素付加部340は、回答内容に形態素を付加したものを、付加回答内容として管理部310に出力する。形態素付加部340から付加回答内容が入力された管理部310は、入力された付加回答内容を出力部600に出力する。
【0159】
例えば、利用者からの入力情報が{B歌手の新譜名を教えて}である場合には、形態素抽出部410は、入力情報のうち、”B歌手”、”新譜名”、”教えて”、を第一形態素情報として抽出する。回答文検索部330は、話題検索部320で検索された第一形態素情報と一致する第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得し、取得した回答内容に、第一形態素情報を構成する形態素”B歌手””新譜名”を付加する。
【0160】
また、文節解析部420は、形態素抽出部410で抽出された第一形態素情報に属する各形態素を、主体格(サブジェクト)、対象格(オブジェクト)、動作・動詞(アクション)などの属性に分類する。各属性に分類された第一形態素情報は、(B歌手;新譜;教えて){これは、サブジェクト、オブジェクト、アクションの順番}となる。
【0161】
そして、話題検索部320は、各属性に分類された第一形態素情報(B歌手;新譜;教えて)に基づいて、各第二形態素情報の中から、第一形態素情報と一致する第二形態素情報を取得する。回答文検索部330は、取得された第二形態素情報に基づいて、第二形態素情報に関連付けられている回答内容を会話データベース500の中から取得し、取得した回答内容に、第一形態素情報(又は第二形態素情報)を構成する各属性に属する少なくとも一つの形態素を付加する。
【0162】
具体的に、回答文検索部330は、第一形態素情報又は第二形態素情報を構成する各形態素が(B歌手;新譜;教えて)である場合には、この各形態素の中から、サブジェクトの形態素”B歌手”、及びオブジェクトの形態素”新譜”を抽出する。
【0163】
そして、サブジェクトの形態素”B歌手”、及びオブジェクトの形態素”新譜”を抽出した回答文検索部330は、抽出した各形態素に基づいて、会話データベース500に記憶されている回答内容テーブルを参照し、図21に示すように、形態素”B歌手”及び形態素”新譜名”に対応する回答内容”曲名2”(同図に示す斜線部分)を取得する。この回答内容”曲名2”を取得した回答文検索部330は、取得した回答内容”曲名2”を形態素付加部340に出力する。
【0164】
その後、回答文検索部330から回答内容”曲名2”が入力された形態素付加部340は、入力された回答内容”曲名2”に基づいて、第一形態素情報又は第二形態素情報を構成する少なくとも一つの形態素を付加する。
【0165】
具体的に、形態素付加部340は、例えば、図22に示すように、第一形態素情報又は第二形態素情報を構成するサブジェクト及びオブジェクトに属する形態素”B歌手”及び形態素”新譜”を、入力された回答内容”曲名2”に付加する。形態素付加部340は、入力された回答内容”曲名2”に各形態素”B歌手””新譜”を付加することができるので、出力する回答として”B歌手の新譜は、曲名2です”を出力することができる。
【0166】
(会話制御装置及び会話制御方法による作用及び効果)
このような本願に係る発明によれば、回答文検索部330が、話題検索部320で検索された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得し、形態素付加部340が、回答文検索部330で取得された回答内容に基づいて、第一形態素情報又は第二形態素情報を構成する少なくとも一つの形態素を回答内容に付加することができるので、形態素付加部340は、入力情報に対応する回答内容を自然な形式で出力することができる。
【0167】
例えば、利用者が”A歌手の新譜はありますか”という入力情報を入力した場合には、回答文検索部330は、その入力情報に対応する回答内容”曲名1”を取得し、形態素付加部340が、回答文検索部330で取得された回答内容”曲名1”に、入力情報を構成する形態素”A歌手の新譜”を付加することができるので、出力する回答として「”A歌手の新譜”は”曲名1”です」を出力することができる。
【0168】
この結果、利用者から入力された入力情報にそのまま答えるような回答が会話制御装置1から出力されるので、利用者は、恰も他の利用者との間で会話しているような感覚を味わうことができる。
【0169】
また、話題検索部320が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者からの入力情報を構成する要素)を含む第二形態素情報を検索し、回答文検索部330が、話題検索部320で検索された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得することができるので、回答文検索部330は、利用者からの入力情報を構成する各形態素に基づいて、各形態素により構築される意味空間(各形態素からなる文字列から把握される意味内容)に基づいて予め作成された回答内容を取得することができることとなり、単に入力情報の”全体”をキーワードとして、そのキーワードに関連付けられた回答内容を取得するよりも、より入力情報に適した回答内容を取得することができる。
【0170】
更に、回答文検索部330は、利用者からの入力情報を構成する各形態素に基づいて、利用者の入力情報に最適な回答内容を検索することができるので、会話制御装置1を開発する開発者は、各形態素から構築される意味空間に基づいた回答内容とその回答内容を検索するための検索機能とを主に作製すればよく、利用者からの入力情報を解析するための人工知能、ニューラルネットワーク等からなるプログラムを逐一構築する必要がない。
【0171】
更にまた、話題検索部320は、利用者からの入力情報と完全に一致する第二形態素情報を検索するのではなく、第一形態素情報を含む第二形態素情報を検索するので、会話制御装置1を開発する開発者は、利用者から入力されるであろう入力情報に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0172】
また、文節解析部420が、抽出された第一形態素情報を構成する各形態素を、主格からなる主体格、対象からなる対象格などの各属性に分類し、形態素付加部340が、文節解析部420で分類された少なくとも一つの”属性”に属する形態素を回答内容に付加することができるので、会話制御装置1は、ある属性に属する形態素が付加された回答内容に基づいて、入力情報に対応する回答をより自然な形式、即ち対話形に近い形で出力することができる。
【0173】
例えば、利用者が”A歌手の新譜はありますか”という入力情報を入力した場合には、会話制御装置は、その入力情報に対応する回答内容”曲名1”を取得し、この回答内容”曲名1”に、入力情報を構成する形態素”新譜”(対象格の形態素)のみを付加することができるので、出力する回答として「”新譜”は”曲名1”です」を出力することができ、結果的には会話内容に適したより自然な形式で出力することができる。
【0174】
(変更例)
尚、本発明は、上記第二実施形態に限定されるものではなく、話題検索部320は、以下の機能も行うことができる。話題検索部320は、形態素抽出部410で抽出された第一形態素情報と各キーワード群とを照合し、第一形態素情報を構成する少なくとも一つの形態素と一致するキーワードを取得し、取得したキーワードに対応付けられた第二形態素情報を検索する第一検索手段でもある。
【0175】
また、話題検索部320は、キーワードに対応付けられた二以上の第二形態素情報を検索した場合には、各第二形態素情報の中から、第一形態素情報を構成する少なくとも一つの形態素を含む第二形態素情報を検索する第一検索手段でもある。
【0176】
ここで、第二形態素情報は、図23に示すように、本実施形態では、例えば、第二形態素情報を構成するいずれか一つの形態素に、あるキーワード群が対応付けられており、この第二形態素情報が会話データベース500に複数記憶されている。
【0177】
具体的に、話題検索部320は、例えば、形態素抽出部410で抽出された第一形態素情報が(B歌手;新譜;教えて){B歌手の新譜を教えて}である場合には、第一形態素情報の各形態素と各キーワード群(同図に示す「一般歌手」、「新譜の歌い出し」など)とを照合し、形態素”B歌手”と一致するキーワード”B歌手”を取得する。
【0178】
形態素”B歌手”と一致するキーワード”B歌手”を取得した話題検索部320は、取得したキーワード”B歌手”に基づいて、キーワード”B歌手”に対応付けられた第二形態素情報(一般歌手;新譜;教えて)を選択する(図23参照)。
【0179】
もし、形態素”B歌手”と一致するキーワード”B歌手”を取得した話題検索部320は、図23に示すように、取得したキーワード”B歌手”に対応付けられた第二形態素情報が二つある場合には、この二つある第二形態素情報(一般歌手;新譜;教えて)、(一般歌手;新譜の歌い出し;教えて)のうち、第一形態素情報(B歌手;新譜;教えて)の各形態素に近い第二形態素情報(一般歌手;新譜;教えて)を選択する。この選択は、第一形態素情報を構成する少なくとも一つの形態素が、第二形態素情報に含まれるかにより行われる。
【0180】
このような本実施形態に係る発明によれば、話題検索部320が、抽出された第一形態素情報と各キーワード群とを照合し、第一形態素情報を構成する少なくとも一つの形態素と一致するキーワードを取得し、取得したキーワードに対応付けられた第二形態素情報を検索することができるので、会話制御装置1を開発する開発者は、第一形態素情報と近似する膨大な第二形態素情報を会話制御装置に逐一記憶させる必要がなくなり、第二形態素情報の記憶量を低減させることができる。
【0181】
また、話題検索部320が、キーワードに対応付けられた二以上の第二形態素情報を検索した場合には、各第二形態素情報の中から、第一形態素情報を構成する少なくとも一つの形態素を含む第二形態素情報を検索することをができるので、話題検索部320は、各第二形態素情報の中から、利用者から入力された入力情報に関連するより適切な第二形態素情報を検索することができる。
【0182】
更に、開発者は、キーワード群を第二形態素情報と対応付けることにより、会話データベース500に記憶させる第二形態素情報を少なくすることができるので、話題検索部320は、少ない第二形態素情報の中から、第一形態素情報と近似する第二形態素情報を迅速に検索することができる。
【0183】
【発明の効果】
以上説明したように、本発明によれば、会話制御装置が、利用者から入力された入力情報を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答内容を取得することで、利用者からの入力情報に対応する最適な回答内容を取得し、また予め格納する各回答内容を少なくしても入力情報に対応する最適な回答内容を取得し、更には取得した回答内容を対話形式により近い自然な形式で出力することができる。
【図面の簡単な説明】
【図1】第一実施形態に係る会話制御システムの概略構成を示すブロック図である。
【図2】第一実施形態における会話制御部及び文解析部の内部構造を示すブロック図である。
【図3】第一実施形態における形態素抽出部で抽出する各形態素の内容をを示す図である。
【図4】第一実施形態における文節解析部で抽出する各文節の内容を示す図である。
【図5】第一実施形態における文構造解析部で特定する「格」の内容を示す図である。
【図6】第一実施形態における発話種類判定部で特定する「発話文のタイプ」を示す図である。
【図7】第一実施形態における発話種類データベースで格納する各辞書の内容を示す図である。
【図8】第一実施形態における会話データベースの内部で構築される階層構造の内容を示す図である。
【図9】第一実施形態における会話データベースの内部で構築される階層構造の詳細な関係を示す図である。
【図10】第一実施形態における会話データベースの内部で構築される「話題タイトル」の内容を示す図である。
【図11】第一実施形態における会話データベースの内部で構築される「話題タイトル」に関連付けられている「回答文のタイプ」の内容を示す図である。
【図12】第一実施形態における会話データベースの内部で構築される「談話範囲」に属する「話題タイトル」及び「回答文」の内容を示す図である。
【図13】第一実施形態に係る会話制御方法の手順を示すフロー図である。
【図14】第一変更例における形態素抽出部で整理する発話内容を示す図である。
【図15】第二変更例における話題検索部の内部構成を示す図である。
【図16】第二変更例における割合計算部が「格構成」に属する各形態素と各「話題タイトル」とを「話題タイトル」毎に照合する様子を示す図である。
【図17】第二変更例における割合計算部が「格構成」に属する各形態素と「話題タイトル」に属する各形態素とを「格」毎に照合する様子を示す図である。
【図18】第三変更例における会話制御システムの概略構成を示す図である。
【図19】第一実施形態におけるプログラムを格納する記録媒体を示す図である。
【図20】第二実施形態に係る会話制御システムの概略構成を示すブロック図である。
【図21】第二実施形態における会話データベースで記憶される回答内容テーブルの内容を示す図である。
【図22】第二実施形態における形態素付加部が回答内容に形態素を付加する様子を示す図である。
【図23】変更例における話題検索部が第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報と近似する第二形態素情報を選択するまでの様子を示す図である。
【符号の説明】
1…会話制御装置、100…入力部、200…音声認識部、300…会話制御部、310…管理部、320…話題検索部、321…割合計算部、322…選択部、330…回答文検索部、400…文解析部、410…形態素抽出部、420…文節解析部、430…文構造解析部、440…発話種類判定部、450…形態素データベース、460…発話種類データベース、500…会話データベース、600…出力部、700…音声認識辞書記憶部、800…通信部、900…通信部、1000…通信ネットワーク、1100…ハードディスク、1200…フロッピー(登録商標)ディスク、1300…コンパクトディスク、1400…ICチップ、1500…カセットテープ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a conversation control apparatus and a conversation control method for outputting answer contents corresponding to input information in a natural format close to a dialog format based on input information input from a user.
[0002]
[Prior art]
In the conventional conversation control system, since the answer contents stored in advance corresponding to the utterance contents are output based on the utterance contents from the user, the user can use the answer contents answered from the conversation control system. I was able to enjoy the feeling of talking with other users in a pseudo manner.
[0003]
[Problems to be solved by the invention]
However, in the above conversation control system, the utterance content (input information) from the user is collated with the utterance content (phrase) group of the user stored in advance, and matches the input information from the phrase group. Since it searches for a phrase and outputs the response content associated with the searched phrase, if it does not store a large number of phrases that are as close as possible to the above input information, it will output the response content that is more appropriate for the input information. I couldn't.
[0004]
On the other hand, if the developer who constructs the conversation control system stores in the conversation control system in advance a huge number of phrases that are as close as possible to the input information and the answer contents associated with the large number of phrases, the conversation control system Can search for a phrase that matches the input information from a huge group of phrases stored in advance, and output the answer contents associated with the searched phrase, so that the answer is more suitable for the input information. The contents can be output.
[0005]
However, a developer who builds a conversation control system can search for a phrase that matches the input information using the conversation control system, and the user will have a huge phrase group (a phrase group near infinity). Must be stored in the conversation control system in advance, and it is difficult to construct a conversation control system that outputs answer contents more suitable for input information.
[0006]
In addition, since each answer content is stored in a predetermined format, it is difficult for the conversation control system to output in a format that answers the utterance content from the user as it is. Could not be output in a more natural format. For example, when a user utters “Are you a new singer?”, It is difficult for the conversation control system to answer in the form “A new singer's score is XX”. .
[0007]
Therefore, the present application has been made in view of the above points, and each morpheme constituting input information input from the user is specified, and the semantic content grasped from each specified morpheme is analyzed and analyzed. By obtaining pre-prepared answer contents associated with semantic contents, the optimum answer contents corresponding to the input information from the user are obtained, and the input information can be stored even if each answer contents stored in advance is reduced. It is an object of the present invention to provide a conversation control apparatus and a conversation control method capable of acquiring the optimum answer content corresponding to the above and further outputting the obtained answer content in a natural format closer to the dialog format.
[0008]
[Means for Solving the Problems]
The invention according to the present application stores a plurality of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and a response content to the user corresponding to the input information in advance. The character string indicating the input information is specified based on the input information input from the user, and at least one morpheme constituting the minimum unit of the character string is extracted as the first morpheme information based on the specified character string And collating the extracted first morpheme information with each second morpheme information, and searching from each second morpheme information for second morpheme information including at least one morpheme constituting the first morpheme information, Based on the retrieved second morpheme information, the response content associated with the second morpheme information is acquired, and based on the acquired response content, the extracted first morpheme information or the retrieved second morpheme It is characterized in adding to the answer content to at least one of morphemes constituting a broadcast.
[0009]
According to the invention according to the present application, the conversation control device acquires the response content associated with the second morpheme information based on the searched second morpheme information, and extracts based on the acquired response content Since at least one morpheme constituting the first morpheme information or the searched second morpheme information can be added to the response content, the conversation control device can display the response content corresponding to the input information in a natural format close to the interactive format. Can be output.
[0010]
For example, when the user inputs input information “Is there a new singer A”, the conversation control device acquires the response content “Song Name 1” corresponding to the input information, and this response content “Song Name”. The morpheme “A singer's new score” constituting the input information can be added to “1”, so that ““ A singer's new score ”is“ Song name 1 ”” can be output as an answer to be output.
[0011]
As a result, an answer that directly answers the input information input by the user is output from the conversation control device, so that the user can feel as if the user is having a conversation with another user. Can do.
[0012]
Further, the conversation control device searches the second morpheme information including the morpheme constituting the first morpheme information (the element constituting the input information from the user) from each second morpheme information, and the second searched Since the response content associated with the second morpheme information can be acquired based on the morpheme information, the conversation control device is constructed by each morpheme based on each morpheme constituting the input information from the user. Answer contents created in advance can be acquired based on the semantic space (semantic content grasped from the character string consisting of each morpheme), and the entire input information is simply set as a keyword and associated with the keyword. It is possible to obtain answer contents more suitable for input information than to obtain answer contents.
[0013]
Furthermore, since the conversation control device can search for the optimum answer content for the input information of the user based on each morpheme constituting the input information from the user, the developer who develops the conversation control device It is only necessary to create answer contents based on the semantic space constructed from each morpheme and a search function for searching the answer contents. Artificial intelligence for analyzing input information from users, neural networks, etc. There is no need to build a program consisting of
[0014]
Furthermore, since the conversation control device retrieves the second morpheme information including the first morpheme information, it is not necessary to retrieve the second morpheme information that completely matches the input information from the user, and the conversation control device is developed. The developer who does not need to store a large amount of response contents corresponding to the input information that will be input from the user in advance, and can reduce the capacity of the storage unit.
In the invention according to the present application, each morpheme of the extracted first morpheme information is classified into each attribute such as a subject case consisting of a main case and a target case consisting of a target, and a morpheme belonging to at least one of the classified attributes is acquired. It is a conversation control system characterized by being added to the answer contents.
[0015]
The conversation control device classifies each morpheme constituting the second morpheme information for each attribute such as a subject case and a target case, stores the morpheme in advance, and stores the second morpheme information based on the searched second morpheme information. A morpheme belonging to at least one attribute constituting may be added to the acquired answer content.
[0016]
According to the invention according to the present application, the conversation control device classifies each morpheme constituting the extracted first morpheme information into each attribute such as a subject case composed of a main case, a target case composed of a target, and classified. Since the morpheme belonging to at least one attribute can be added to the answer content, the conversation control device can output the answer content corresponding to the input information in a more natural form, that is, in a form close to an interactive form. .
[0017]
For example, when the user inputs input information “Is there a new singer A”, the conversation control device acquires the response content “Song Name 1” corresponding to the input information, and this response content “Song Name”. Since only the morpheme “new score” (target morpheme) that constitutes the input information can be added to “1”, ““ new score ”is“ song name 1 ”” can be output as an answer to be output, As a result, answers can be output in a more natural format.
[0018]
The invention according to the present application stores each second morpheme information in advance in association with a plurality of keyword groups, collates the extracted first morpheme information with each keyword group, and forms at least one of the first morpheme information A keyword that matches the morpheme is acquired, and second morpheme information associated with the acquired keyword is searched.
[0019]
According to the invention according to the present application, the conversation control device collates the extracted first morpheme information with each keyword group, and acquires a keyword that matches at least one morpheme constituting the first morpheme information. Since the second morpheme information associated with the keyword group belonging to the acquired keyword can be searched, the developer who develops the conversation control device can obtain a large amount of second morpheme information that approximates the first morpheme information. There is no need to store the conversation control device one by one, and the storage amount of the second morpheme information can be reduced.
[0020]
In the invention according to the present application, when two or more second morpheme information associated with the keyword group is searched, the second morpheme information includes at least one morpheme constituting the first morpheme information. It is characterized by searching for dimorphic information.
[0021]
According to the invention according to the present application, when the conversation control device searches for two or more second morpheme information associated with the keyword group, the first morpheme information is extracted from each second morpheme information. Since the second morpheme information including at least one morpheme that constitutes can be searched, the conversation control device can select a more appropriate first morpheme related to the input information input by the user from each second morpheme information. Dimorphic information can be searched.
[0022]
In addition, since the developer can reduce the second morpheme information to be stored in the conversation control device, the conversation control device can obtain the second morpheme information that approximates the first morpheme information from the few second morpheme information. You can search quickly.
[0023]
The invention according to the present application is that the second morpheme information or answer content stored is the type of topic the user wants, the degree of emotion or statement that the user has in a certain matter, an affirmative sentence, a question sentence, a repulsive sentence, etc. Are described in a language for hierarchically storing them in a database in association with morphemes according to their semantic content. This language is preferably described in DKML (Discourse Knowledge Markup Language).
[0024]
According to the invention according to the present application, the developer who develops the conversation control device hierarchizes the second morpheme information and the like for searching the response content for the input information from the user using the language in the database. Therefore, the conversation control apparatus can acquire the response content for the input information from the database through a hierarchical procedure based on the input information of the user.
[0025]
In other words, the conversation control device has determined and determined the hierarchy of input information from the user (for example, whether it is in a higher concept or a lower concept with respect to the second morpheme information stored in the database). Appropriate answer contents can be acquired from the answer contents accumulated in advance based on the hierarchy.
[0026]
The second morpheme information including the first morpheme information includes not only the case where the second morpheme information includes the first morpheme information as it is, but the second morpheme information includes at least one morpheme constituting the first morpheme information. It also means a case.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
[First embodiment]
(Basic configuration of conversation control system)
A conversation control system according to the present invention will be described with reference to the drawings. FIG. 1 is a schematic configuration diagram of a conversation control system having a conversation control apparatus 1 according to the present embodiment.
[0028]
As shown in the figure, the conversation control device 1 includes an input unit 100, a speech recognition unit 200, a conversation control unit 300, a sentence analysis unit 400, a conversation database 500, an output unit 600, and a speech recognition dictionary storage. Part 700.
[0029]
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”.
[0030]
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 replaced with “input sentence type”.
[0031]
The input unit 100 is an acquisition unit that acquires input information from a user. In the present embodiment, a microphone, a keyboard, and the like are used. The input unit 100 is character recognition means for specifying a character string corresponding to input information (other than speech) based on input information input from a user.
[0032]
Here, the input information means characters, symbols, voices and the like input through a keyboard or the like. Specifically, the input unit 100 acquires user input information (other than voice), specifies the acquired input information as a character string, and outputs the specified character string to the conversation control unit 300. Further, the input unit 100 that has acquired the utterance content from the user (the utterance content is composed of voice and is a kind of input information) with a microphone or the like, the voice constituting the acquired utterance content is a voice signal. To the voice recognition unit 200.
[0033]
The voice recognition unit 200 is a character recognition unit that identifies a character string corresponding to the utterance content based on the utterance content acquired by the input unit 100. Specifically, the speech recognition unit 200 to which a speech signal is input from the input unit 100 analyzes the input speech signal, and a character string corresponding to the analyzed speech signal is stored in the speech recognition dictionary storage unit 700. The specified character string is output to the conversation control unit 300 as a character string signal. The speech recognition dictionary storage unit 700 stores a dictionary (a, i, e, e, etc.) corresponding to standard audio signals.
[0034]
The sentence analysis unit 400 analyzes the character string input to the conversation control unit 300. In this embodiment, as shown in FIG. 2, the morpheme extraction unit 410, the phrase analysis unit 420, the sentence structure, It has an analysis unit 430, an utterance type determination unit 440, a morpheme database 450, and an utterance type database 460.
[0035]
The morpheme extraction unit 410 is a morpheme extraction unit that extracts, as first morpheme information, each morpheme constituting the minimum unit of the character string based on the character string specified by the speech recognition unit 200.
[0036]
Specifically, the morpheme extraction unit 410 to which a character string is input from the management unit 310 extracts each morpheme from the input character string. Here, in this embodiment, the morpheme means the minimum unit of the word configuration represented in the character string. As the minimum unit of the word configuration, for example, as shown in FIG. Part of speech such as adjectives and verbs. In the present embodiment, each morpheme is expressed as m1, m2,.
[0037]
That is, the morpheme extraction unit 410 collates a character string corresponding to the input character string signal with a morpheme group including nouns, adjectives, verbs, and the like stored in advance in the morpheme database 450, and from among the character strings. Each morpheme (m1, m2,...) That matches the morpheme group is extracted, and each extracted morpheme is output to the phrase analysis unit 420 as an extraction signal.
[0038]
The phrase analysis unit 420 is a conversion unit that converts each morpheme into a phrase format based on each morpheme extracted by the morpheme extraction unit 410. Specifically, the phrase analysis unit 420 to which the extraction signal is input from the morpheme extraction unit 410 uses the morphemes corresponding to the input extraction signal to combine them into a phrase format.
[0039]
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.
[0040]
That is, as shown in FIG. 4, the phrase analysis unit 420 extracts and extracts the dependency elements (for example, gahahahahaha ...) of each morpheme based on each morpheme corresponding to the input extraction signal. Each morpheme is grouped into each clause based on the dependency element. The phrase analysis unit 420 that summarizes each morpheme into each phrase includes a sentence structure analysis unit 430 and an utterance type determination unit 440 using sentence pattern information including each phrase that combines each morpheme and each morpheme constituting each phrase as a sentence pattern signal. Output to.
[0041]
The sentence structure analysis unit 430 is a classification unit that classifies each morpheme of the first morpheme information segmented by the phrase analysis unit 420 into attributes such as subject case and target case. Specifically, the sentence structure analysis unit 430, to which the sentence pattern signal is input from the phrase analysis unit 420, determines each morpheme included in the phrase based on each morpheme corresponding to the input sentence pattern signal and the phrase composed of each morpheme. Determine the “case composition” (attribute).
[0042]
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, Object meaning (object case), action meaning action / verb, time meaning time (consisting of tense, mood, aspect), location meaning location, etc. In the present embodiment, each morpheme associated with the “case” (case configuration) of the three elements of the subject, the object, and the action in the phrase is set as the first morpheme information.
[0043]
That is, as shown in FIG. 5, for example, when the dependency element of each morpheme is “” or “is”, the sentence structure analysis unit 430 applies the subject (subject) to the morpheme before the dependency element. Or a leading character). In addition, the sentence structure analysis unit 430
For example, if the dependency element of each morpheme is “NO” or “NO”, it is determined that the morpheme before the dependency element is an object (target).
[0044]
Further, the sentence structure analysis unit 430, for example, when the dependency element of each morpheme is “Yes”, the morpheme preceding the dependency element is an action (predicate; this predicate is composed of a verb, an adjective, and the like). It is determined that
[0045]
The sentence structure analysis unit 430 that has determined the “case structure” of each morpheme that constitutes each clause determines the range of topics (topics) to be described later based on the first morpheme information associated with the determined “case structure”. A topic search command signal for specifying is output to the topic search unit 320.
[0046]
The utterance type determination unit 440 is a type specifying unit that specifies an utterance type indicating the type of utterance content based on the phrase specified by the phrase analysis unit 420. Specifically, “speech sentence type” (speech type) is determined based on each morpheme corresponding to the sentence pattern signal input from the phrase analysis unit 420 and a phrase composed of each morpheme.
[0047]
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), rebound sentence (N; Negation), affirmative sentence (A; Answer), question sentence (Q; Question) It is.
[0048]
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.
[0049]
A result sentence means a sentence composed of sentences including a result element for a topic. A time sentence means a sentence composed of sentences including temporal elements related to a topic.
[0050]
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 a user's utterance partner. An example sentence for each “spoken sentence type” is as shown in FIG.
[0051]
That is, the utterance type determination unit 440 collates each phrase with each dictionary stored in the utterance type database 460 based on each phrase corresponding to the input sentence pattern signal, and from each phrase, Sentence elements related to the dictionary (see FIG. 7) are extracted. The utterance type determination unit 440 that extracts sentence elements related to each dictionary from each phrase determines “spoken sentence type” based on the extracted sentence elements. The sentence element means a type for identifying the type of character string, and the sentence element in the present embodiment includes the above-described definition phrase (which means “-”).
[0052]
Here, as shown in FIG. 7, the utterance type database 460 includes a definition expression example dictionary having a dictionary related to a definition phrase (for example,), an affirmative phrase (for example, approval, sympathy, ping pong). positive cases dictionary with a dictionary related to, a result clause (for example, so, so) the results representation case dictionary with a dictionary related to, greeting clause (for example, Hello) greeting dictionary with a dictionary related to, negative It consists of negative case dictionaries with dictionaries related to phrases (for example, not stupid, opposite), and each dictionary is associated with a “spoken sentence type”.
[0053]
As a result, the utterance type determination unit 440 collates the phrase with each dictionary stored in the utterance type database 460, extracts the sentence element related to each dictionary from the phrase, and associates it with the extracted sentence element. By referring to the type of determination, the “spoken sentence type” can be determined (see FIG. 7).
[0054]
The utterance type determination unit 440 outputs an answer search command signal for causing the corresponding user to search for a specific answer sentence to the answer sentence search unit 330 based on an instruction from the topic search unit 320 described later.
[0055]
The conversation database 500 stores a plurality of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and a plurality of reply contents to the user with respect to the utterance contents in association with each other in advance. Means.
[0056]
The conversation database 500 is also an answer storage unit that associates a plurality of answer contents with the second morpheme information, and stores in advance an answer type indicating the type of each answer content in association with each answer content. Furthermore, the conversation database 500 is also an answer storage means for classifying and storing each element constituting the second morpheme information into attributes such as each subject consisting of a main case and a target case consisting of a target case.
[0057]
As shown in FIG. 8, in this embodiment, the conversation database 500 is roughly divided into a discourse range (discourse) that means a relevance range for the content of the user's utterance, and a discourse range. It is composed of topics (topics) that mean a range that is most closely related to the content that the user utters. As shown in the figure, “discourse range” is positioned as a superordinate concept of “topic” in the present embodiment.
[0058]
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 antonym is clear in relation to other discourse ranges.
[0059]
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 “A movie name”. .
[0060]
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). .
[0061]
The topic title is not limited to each morpheme associated with the above three elements, but other “cases”, that is, a time meaning time (consisting of mood, tense, aspect, etc.), Each morpheme may be associated with a location meaning a place, a condition meaning a condition, an impression meaning an impression, an effect meaning a result, and the like.
[0062]
In this embodiment, the topic title (second morpheme information) is stored in advance in the conversation database 500, and is distinguished from the first morpheme information (derived from the content spoken by the user). It is what is done.
[0063]
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".
[0064]
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.
[0065]
For example, {A What is a movie name? } Is converted into a topic title (subject; object; action). }, “A movie name” can be specified as the 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).
[0066]
The answer sentence means an answer sentence (answer contents) to be answered to the user. In this embodiment, the answer sentence is associated with each topic title (second morpheme information). It is stored in advance in the conversation database 500 (see FIG. 8). In this embodiment, as shown in FIG. 11, the answer sentence is a statement sentence (D; Declaration) or an impression sentence (I; Impression) in order to make an answer corresponding to the type of utterance sentence uttered by the user. , Conditional sentence (C; Condition), result sentence (E; Effect), time sentence (T; Time), location sentence (L; Location), negative sentence (N; Negation), positive sentence (A; Answer), question It shall be classified into a type (answer type) such as a sentence (Q).
[0067]
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.
[0068]
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 this order is the same below, the answer sentence 1-1 corresponding to the topic title 1-1 is (DA; statement affirmative sentence ("I also like Sato")), (IA ; Sentence affirmative sentence "I like Sato very much"), (CA; Condition affirmative sentence "Sato's home run is very impressive"), (EA; Result affirmative sentence "I always watch Sato's games on TV Masu "), (TA; time affirmative sentence" I actually like it from the five-batt continual refrain at Koshien "), (LA; place affirmative sentence" I like the serious face when standing at the batting " ), (NA; repulsion affirmation "I don't want to talk to people who don't like Sato, goodbye").
[0069]
In the present embodiment, the conversation control unit 300 includes a management unit 310, a topic search unit 320, and an answer sentence search unit 330, as shown in FIG.
[0070]
The management unit 310 controls the entire conversation control unit 300. Specifically, the management unit 310 to which a character string is input from the input unit 100 or the speech recognition unit 200 outputs the input character string to the morpheme extraction unit 410. Also, the management unit 310 outputs the answer sentence searched by the answer sentence search unit 330 to the output unit 600.
[0071]
The topic search unit 320 collates the first morpheme information extracted by the phrase analysis unit 420 with each second morpheme information (topic title), and forms the first morpheme information from each second morpheme information. It is the 1st search means which searches the 2nd morpheme information containing. Specifically, the topic search unit 320 to which the topic search command signal is input from the sentence structure analysis unit 430, based on the first morpheme information included in the input topic search command signal, the first morpheme information and the conversation database 500. Is compared with the discourse range group stored in, and the discourse range related to the first morpheme information is searched from the discourse range group.
[0072]
For example, when each morpheme (first morpheme information) that belongs to the “case structure” constituting the utterance sentence uttered by the user is (Sato; *; I like) {I like Sato}, the topic search unit Since “Sato” is included in the “case composition”, 320 compares this “Sato” with the discourse range group, and searches for a discourse range (Sato) that matches “Sato”.
[0073]
Further, the topic search unit 320 that has selected the discourse range related to “case configuration” searches for the “topic title” closest to each morpheme belonging to “case configuration” from among the topic titles belonging to the selected discourse range. The search result is output as a search result signal to the answer sentence search unit 330 and the utterance type determination unit 440.
[0074]
For example, if the “case composition” of the utterance content is (Sato; *; I like) {I like Sato}, the topic search unit 320, as shown in FIG. The morpheme (Sato; *; I like) and the topic titles 1-1 to 1-4 belonging to the discourse range (Sato) are collated, and from each of the topic titles 1-1 to 1-4, “case composition” A topic title 1-1 (Sato; *; likes) that matches (or approximates) each morpheme belonging to (Sato; *; likes) is searched, and the search result signal 330 is used as a search result signal as a search result signal. Output to the utterance type determination unit 440.
[0075]
The utterance type determination unit 440 to which the search result signal is input from the topic search unit 320, based on the input search result signal, an answer search command for searching for a specific answer sentence that answers to the corresponding user. The signal (this answer search command signal includes the determined “sentence type”) is output to the answer sentence search unit 330.
[0076]
The answer sentence search unit 330 is an answer acquisition unit that acquires an answer sentence associated with the second morpheme information based on the second morpheme information (topic title) searched by the topic search unit 320. In addition, the answer sentence search unit 330 collates the utterance type of the identified user with each answer type associated with the second morpheme information based on the second morpheme information searched by the topic search unit 320, The answer type that matches the user's utterance type is searched from each answer type, and an answer sentence associated with the answer type is acquired based on the searched answer type (second search means, answer Acquisition means).
[0077]
Specifically, the answer sentence search unit 330, to which the search result signal from the topic search unit 320 and the answer search command signal from the utterance type determination unit 440 are input, the topic title (search result corresponding to the input search result signal). Based on the second morpheme information) and the “utterance sentence type” (utterance type) corresponding to the answer search command signal, from among the answer sentence groups (respective answer contents) associated with the topic title , Search for an answer sentence having an answer type (this answer type means “type of answer sentence” shown in FIG. 11) that matches the “sentence sentence type” (DA, IA, CA, etc.).
[0078]
For example, if the topic title (second morpheme information) corresponding to the search result is the topic title 1-1 (Sato; *; I like) shown in FIG. The answer type that matches the “type of utterance” (for example, DA: utterance type) determined by the utterance type determination unit 440 from among the answer sentences 1-1 (DA, IA, CA, etc.) associated with 1 An answer sentence 1-1 consisting of (DA) (DA; (I also like Sato) is retrieved), and the retrieved answer sentence is output to the management unit 310 as an answer sentence signal.
[0079]
The management unit 310 to which the answer sentence signal is input from the answer sentence search unit 330 outputs the input answer sentence signal to the output unit 600. The output unit 600 is an output unit that outputs the answer sentence acquired by the answer sentence search unit 330. In the present embodiment, for example, a speaker, a display, and the like can be given. Specifically, the output unit 600 to which an answer sentence signal is input from the management unit 310 outputs an answer sentence {for example, I also like Sato} corresponding to the input answer sentence signal.
[0080]
(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. 13 is a flowchart showing the procedure of the conversation control method according to the present embodiment.
[0081]
First, the input unit 100 performs a step of acquiring the utterance content from the user (S100). Specifically, the input unit 100 acquires the voice that constitutes the utterance content of the user, and outputs the acquired voice to the voice recognition unit 200 as a voice signal. Further, the input unit 100 identifies a character string corresponding to the input information (other than the voice) based on the input information (other than the voice) input from the user, and the conversation control unit uses the identified character string as a character string signal. Output to 300.
[0082]
Next, the voice recognition unit 200 performs a step of specifying a character string corresponding to the utterance content based on the utterance content acquired by the input unit 100 (S102). Specifically, the speech recognition unit 200 to which a speech signal is input from the input unit 100 analyzes the input speech signal, and a character string corresponding to the analyzed speech signal is stored in the speech recognition dictionary storage unit 700. The specified character string is output to the conversation control unit 300 as a character string signal.
[0083]
Next, the morpheme extraction unit 410 performs a step of extracting each morpheme constituting the minimum unit of the character string based on the character string specified by the speech recognition unit 200 (S103).
[0084]
Specifically, the morpheme extraction unit 410 to which the character string signal is input from the management unit 310 includes a character string corresponding to the input character string signal and nouns, adjectives, verbs, and the like stored in advance in the morpheme database 450. The morpheme group is collated, each morpheme (m1, m2,...) Matching the morpheme group is extracted from the character string, and each extracted morpheme is output to the phrase analysis unit 420 as an extraction signal.
[0085]
Then, the phrase analysis unit 420 collects each morpheme into a phrase format based on each morpheme extracted by the morpheme extraction unit 410 (S104). Specifically, the phrase analysis unit 420 to which the extraction signal is input from the morpheme extraction unit 410, as shown in FIG. 4, is based on each morpheme corresponding to the input extraction signal (for example, a dependency element of each morpheme (for example, Is extracted, and morphemes are grouped into clauses based on the extracted dependency elements. In the present embodiment, the first morpheme information means each morpheme belonging to one phrase.
[0086]
The phrase analysis unit 420 that summarizes each morpheme into each phrase includes a sentence structure analysis unit 430 and an utterance type determination unit 440 using sentence pattern information including each phrase that combines each morpheme and each morpheme constituting each phrase as a sentence pattern signal. Output to.
[0087]
Thereafter, the sentence structure analysis unit 430 performs a step of classifying each morpheme of the first morpheme information segmented by the phrase analysis unit 420 into attributes such as subject case and target case (S105). Specifically, the sentence structure analysis unit 430 to which the sentence pattern signal is input from the phrase analysis unit 420, based on each morpheme corresponding to the input sentence pattern signal and a phrase composed of each morpheme, Determine the “case composition”.
[0088]
That is, as shown in FIG. 5, the sentence structure analysis unit 430, for example, when the dependency element of each morpheme in the phrase is “or” or “is”, the morpheme before the dependency element is the subject. (Subject or subject). In addition, for example, when the dependency element of each morpheme in the phrase is “NO” or “NO”, the sentence structure analysis unit 430 determines that the morpheme before the dependency element is an object (target). To do.
[0089]
Further, for example, when the dependency element of each morpheme in the clause is “Yes”, the sentence structure analysis unit 430 determines that the morpheme before the dependency element is an action (predicate; this predicate is a verb, adjective, etc.). It is determined.
[0090]
The sentence structure analysis unit 430 that has determined the “case structure” of each morpheme that constitutes each clause determines the range of topics (topics) to be described later based on the first morpheme information associated with the determined “case structure”. A topic search command signal for specifying is output to the topic search unit 320.
[0091]
Next, the utterance type determination unit 440 performs a step of specifying an utterance type indicating the type of utterance content based on the phrase specified by the phrase analysis unit 420 (S106). Specifically, the utterance type determination unit 440 sets the “spoken sentence type” (utterance type) based on each morpheme corresponding to the sentence pattern signal input from the phrase analysis unit 420 and a phrase composed of each morpheme. judge.
[0092]
That is, the utterance type determination unit 440 collates each phrase with each dictionary stored in the utterance type database 460 based on each phrase corresponding to the input sentence pattern signal, and from each phrase, Extract sentence elements related to the dictionary. The utterance type determination unit 440 that extracts sentence elements related to each dictionary from each phrase determines “spoken sentence type” (utterance type) based on the extracted sentence elements.
[0093]
The utterance type determination unit 440 outputs an answer search command signal for causing the corresponding user to search for a specific answer sentence to the answer sentence search unit 330 based on an instruction from the topic search unit 320 described later.
[0094]
Next, the topic search unit 320 collates the first morpheme information extracted by the phrase analysis unit 420 with each second morpheme information, and includes the morpheme constituting the first morpheme information from each second morpheme information. A step of searching for second morpheme information (topic title) is performed (S107).
[0095]
Specifically, the topic search unit 320 to which the topic search command signal is input from the sentence structure analysis unit 430, based on the first morpheme information included in the input topic search command signal, the first morpheme information and the conversation database 500. Is compared with the discourse range group stored in, and the discourse range related to the first morpheme information is searched from the discourse range group.
[0096]
For example, when each morpheme (first morpheme information) that belongs to the “case structure” constituting the utterance sentence uttered by the user is (Sato; *; I like) {I like Sato}, the topic search unit Since “Sato” is included in the “case composition”, 320 compares this “Sato” with the discourse range group, and searches for a discourse range (Sato) that matches “Sato”.
[0097]
Further, the topic search unit 320 that has selected the discourse range related to “case configuration” searches for the “topic title” closest to each morpheme belonging to “case configuration” from among the topic titles belonging to the selected discourse range. The search result is output as a search result signal to the answer sentence search unit 330 and the utterance type determination unit 440.
[0098]
For example, when “case composition” is (Sato; *; I like) {I like Sato}, the topic search unit 320, as shown in FIG. 12, each morpheme (Sato, which belongs to the above “case composition”). ; *; I like) and each topic title 1-1 to 1-4 belonging to the discourse range (Sato), and each morpheme belonging to “case composition” from among the topic titles 1-1 to 1-4 A topic title 1-1 (Sato; *; likes) that matches (or approximates) (Sato; *; likes) is searched, and the search result signal 330 is used as a search result signal and an utterance type determination unit. Output to 440.
[0099]
The utterance type determination unit 440, to which the search result signal is input from the topic search unit 320, based on the input search result signal, answers search command signal for causing the corresponding user to search for a specific answer sentence (this answer) The search command signal also includes the determined “sentence sentence type”) to the answer sentence search unit 330.
[0100]
Next, the answer sentence search unit 330, based on the second morpheme information (topic title) searched by the topic search unit 320, the identified utterance type of the user and each answer type associated with the second morpheme information, Are searched, a response type matching the user's utterance type is searched from among the response types, and an answer sentence associated with the searched response type is obtained (S108).
[0101]
Specifically, the answer sentence search unit 330 to which the search result signal is input from the topic search unit 320 and the answer search command signal is input from the utterance type determination unit 440 is the topic title (second second) corresponding to the input search result signal. Morphological information) and the “speech sentence type” (utterance type) corresponding to the answer search command signal, from the answer sentence group (each answer content) associated with the topic title, An answer sentence having an answer type (this answer type means "type of answer sentence" shown in FIG. 11) matching "type" (DA, IA, CA, etc.) is searched.
[0102]
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 sentence search unit 330 is associated with the topic title 1-1. Of the reply sentences 1-1 (DA, IA, CA, etc.), the reply composed of the reply type (DA) that matches the “spoken sentence type” (for example, DA; utterance type) determined by the utterance type determination unit 440. The sentence 1-1 (DA; (I also like Sato) is searched), and the searched answer sentence is output to the management unit 310 as an answer sentence signal.
[0103]
Then, the management unit 310 to which the answer sentence signal is input from the answer sentence search unit 330 outputs the input answer sentence signal to the output unit 600. Thereafter, the output unit 600 to which the response sentence signal is input from the management unit 310 outputs an answer sentence {for example, I also like Sato} corresponding to the input response sentence signal (S109).
[0104]
(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 topic search unit 320 includes a second morpheme (element constituting the utterance content of the user) constituting the first morpheme information from the second morpheme information. Since the morpheme information is searched, and the answer content associated with the second morpheme information can be acquired based on the searched second morpheme information, the topic search unit 320 includes each morpheme constituting the utterance content of the user. Based on the meaning space (meaning grasped from the character string made up of each morpheme), the answer contents created in advance based on the meaning space can be obtained, It is possible to acquire the answer contents more suitable for the utterance contents than to obtain the answer contents associated with the keyword using the entire utterance contents as a keyword.
[0105]
Further, since the conversation control device 1 can search for the optimum answer content suitable for the user's utterance content based on each morpheme constituting the user's utterance content, development for developing the conversation control device 1 The user only needs to create the answer contents based on the semantic space constructed by each morpheme and the search function for searching the answer contents. Artificial intelligence and neural network to analyze the user's utterance contents There is no need to build a program consisting of a network or the like.
[0106]
Furthermore, since the topic search unit 320 searches for the second morpheme information including the first morpheme information, it is not necessary to search for the second morpheme information that completely matches the utterance content of the user, and the conversation control device 1 is developed. The developer who does not need to memorize a huge amount of answer contents corresponding to the utterance contents that will be uttered by the user in advance, and can reduce the capacity of the storage unit.
[0107]
Furthermore, the answer sentence search unit 330 searches the answer type (description, affirmation, location, repulsion, etc.) associated with each second morpheme information for an answer type that matches the user's utterance type, and performs a search. Since the answer contents associated with the answer type can be acquired based on the answer type, the answer sentence search unit 330 can utter the utterance types constituting the conversation contents of the user, for example, the user simply gives an opinion. Response content that matches the type of utterance from multiple response content based on what the user has, what the user has to say, what the user describes the location element, etc. A more optimal answer can be given to the corresponding user.
[0108]
(Example of change)
In addition, this invention is not limited to the said embodiment, The change as shown below can be added.
[0109]
(First change example)
In this modification, the conversation database 500 may be an element storage unit that stores a plurality of pieces of element information indicating the entire set group including a plurality of morpheme sets in association with the set group. Further, the morpheme extraction unit 410 collates the morpheme extracted from the character string with each set group, selects a set group including the extracted morpheme from each set group, and selects an element associated with the selected set group. Information may be extracted as first morpheme information.
[0110]
As shown in FIG. 14, some morphemes included in the character string uttered by the user are similar. For example, as shown in FIG. 14, if the element information indicating the entire group is “gift”, the “gift” is similar to a present, a gift, a year-end gift, a mid-year gift, a celebration, etc. (group) Therefore, when there is a morpheme similar to “gift” (such as the present), the morpheme extraction unit 410 can handle the similar morpheme as “gift”.
[0111]
That is, for example, when the morpheme extracted from the character string is “present”, the morpheme extraction unit 410 has “present” as the element information representing “present” as shown in FIG. "Gift" can be replaced with "Gift".
[0112]
This allows the morpheme extraction unit 410 to sort out morphemes that are similar to each other, so that the developer who develops the conversation control device can perform the first corresponding to the semantic space that is grasped from the mutually similar first morpheme information. It is not necessary to create reply contents 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.
[0113]
(Second modified example)
As shown in FIG. 15, in the present modification example, the topic search unit 320 may include a ratio calculation unit 321 and a selection unit 322.
[0114]
The ratio calculation unit 321 collates the first morpheme information extracted by the morpheme extraction unit 410 with each second morpheme information (topic title), and for each second morpheme information, the first morpheme information is first compared with the second morpheme information. It is a calculation means for calculating the proportion of morpheme information.
[0115]
Specifically, the ratio calculation unit 321 to which the topic search command signal is input from the sentence structure analysis unit 430, based on the first morpheme information included in the input topic search command signal, as shown in FIG. One morpheme information is compared with each topic title (second morpheme information) belonging to the discourse range stored in the conversation database 500, and the first morpheme information occupies in each topic title for each topic title. Calculate the percentage.
[0116]
For example, as shown in FIG. 15, when the first morpheme information constituting the utterance sentence uttered by the user is (Sato; *; I like) {I like Sato}, the ratio calculation unit 321 Each morpheme (Sato; *; I like) belonging to the “case structure” is matched with each morpheme (Sato; *; I like) included in the topic title. The ratio that each morpheme (Sato; *; I like) belonging to “composition” is included is calculated to be 100%. The ratio calculation unit 321 performs these calculations for each topic title, and outputs each calculated ratio to the selection unit 322 as a ratio signal.
[0117]
The selection unit 322 is a selection unit that selects one second morpheme information from each second morpheme information according to the size of each rate calculated by the rate calculation unit 321 for each second morpheme information. is there.
[0118]
Specifically, the selection unit 322 to which the ratio signal is input from the ratio calculation unit 321 selects from among the ratios included in the input ratio signal (element of “case configuration” / element of “topic title” × 100). For example, a topic title with a high ratio is selected (see FIG. 16). The selection unit 322 that has selected the topic title with a high ratio outputs the selected topic title to the answer sentence search unit 330 and the utterance type determination unit 440 as a search result signal. The answer sentence search unit 330 acquires an answer sentence associated with the topic title based on the topic title selected by the selection unit 322.
[0119]
Accordingly, the ratio calculation unit 321 calculates the ratio of the first morpheme information to the second morpheme information for each second morpheme information, and the selection unit 322 is calculated for each second morpheme information. Since one second morpheme information can be selected from each second morpheme information according to the size of each ratio, the selection unit 322, for example, selects the first morpheme information (the user's utterance content). If the second morpheme information with a large proportion of the second morpheme information can be acquired from a plurality of second morpheme information groups, the first one that follows the semantic space composed of the first morpheme information. Bimorphic information can be acquired more accurately.
[0120]
As a result, the answer sentence search unit 330 can acquire the answer sentence associated with the second morpheme information based on the second morpheme information acquired by the selection unit 322. Can obtain the best answer sentence.
[0121]
Moreover, since the selection part 322 can select a topic title with a high ratio calculated by the ratio calculation part 321 from a plurality of topic titles, it belongs to the “case configuration” included in the user's utterance sentence. Even if each morpheme and each topic title stored in the conversation database 500 do not completely match, it is possible to acquire a topic title closely related to each morpheme belonging to “case composition”.
[0122]
As a result, since the selection unit 322 acquires topic titles closely related to “case configuration”, the developer who develops the conversation control apparatus 1 stores topic titles that completely match “case configuration” in the conversation database 500 one by one. Therefore, the capacity of the conversation database 500 can be reduced.
[0123]
The ratio calculation unit 321 collates each morpheme of the first morpheme information belonging to each classified attribute and each morpheme of each second morpheme information belonging to each attribute stored in advance for each attribute, It may be a first search means for searching for second morpheme information including each morpheme of the first morpheme information in at least one attribute from the second morpheme information.
[0124]
Specifically, the ratio calculation unit 321 to which the topic search command signal is input, for each “case” (subject; object; action) of the “case configuration” included in the input topic search command signal. Morphemes of the first morpheme information belonging to "" and each morpheme belonging to "case" of the topic title consisting of the same "case" as "case structure" are collated, and the morphemes constituting each "case" are the same It is determined whether or not.
[0125]
For example, as illustrated in FIG. 17, when the “case” morpheme of “case configuration” is (dog; person; bite) {dog bites a person}, the ratio calculation unit 321 displays those morphemes. Match "dog", "person", and "chewed" with the morpheme "dog", "person", and "chewed" of the topic title consisting of the same "case" that constitutes the morpheme Then, among the morphemes “dog”, “people”, and “chewing” that make up the topic title, the “case composition” morpheme “dog” consisting of the same “case” corresponding to each morpheme, The ratio of “people” and “biting” is calculated (100%).
[0126]
If the element constituting the topic title is (person; dog; bite) {person bites the dog}, the ratio calculation unit 321 uses the same procedure as described above, and the morphemes belonging to the two cases are calculated. Since they are different, the degree of coincidence for each “case” between the morpheme constituting “case composition” and “topic title” is calculated to be 33% (see FIG. 17).
[0127]
The ratio calculation unit 321 that has calculated the ratio selects a topic title with a high ratio from each ratio, and outputs the selected topic title to the answer sentence search unit 330 and the utterance type determination unit 440 as a search result signal.
[0128]
As a result, the ratio calculation unit 321 displays each morpheme of the first morpheme information belonging to each classified “case configuration” (subject case, target case, etc.) and a pre-stored topic title for each “case”. Since the second morpheme information including each morpheme of the first morpheme information in at least one “case” can be searched from the topic titles, the ratio calculation unit 321 is different from the normal word order. If the utterance content is composed of things, for example, “a person bites a dog”, the morpheme of the subject case is “person” and the morpheme of the subject case is “dog”. The matching second morpheme information can be searched, and the reply content {"really?" Or "I don't know the meaning"} associated with the second morpheme information can be acquired.
[0129]
That is, since the ratio calculation unit 321 can identify utterance contents that are difficult to identify, for example, “a person bites a dog” and “a dog bites a person”, an answer that is more suitable for the identified utterance contents, For the former, for example, “Really?”, For the latter, for example, “Are you okay?”
[0130]
(Third change example)
As shown in FIG. 18, the present modification example is not limited to the above-described embodiment and each modification example, and the communication unit 800 in the conversation control devices 1 a and 1 b and the communication unit via the communication network 1000. A communication unit 900 for transmitting / receiving data to / from 800, conversation databases 500b to 500d connected to the communication unit 900, and servers 2a to 2c may be provided (conversation control system).
[0131]
Here, the communication network 1000 means a communication network that transmits and receives data. In the present embodiment, for example, the Internet is used.
[0132]
In this modified example, the conversation control devices 1a and 1b, the conversation databases 500b to 500d, and the servers 2a to 2c are limited for convenience. However, the present invention is not limited to this, and another conversation database is provided. Also good. The servers 2a to 2c store contents similar to those stored in the conversation databases 500a to 500d.
[0133]
Thereby, the conversation control unit 300 not only includes the conversation database 500a arranged inside the conversation control device 1a but also the other conversation control device 1b, the conversation databases 500b to 500d, and the server 2a to the communication database 1000. 2c can be referred to, for example, it is possible to search the conversation database 500a for the discourse range related to each morpheme (first morpheme information) belonging to “case structure” included in the topic search command signal. Even if it is not possible, by referring to the other conversation control device 1b, the conversation databases 500b to 500d, and the servers 2a to 2c, it is possible to search the discourse range related to the first morpheme information, It is possible to search for an answer sentence more suitable for the utterance sentence.
[0134]
[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.
[0135]
Here, as the programming language, in this embodiment, the topic requested by the user, the degree of emotion held for the user in a certain matter, or the type of statement, affirmative sentence, question sentence, repulsive sentence, etc. The language for hierarchically storing in the database in association with the morpheme, for example, DKML (Discourse Knowledge Markup Language) developed by the present inventors, and other C languages.
[0136]
That is, the conversation control apparatus 1 stores data (stored information such as second morpheme information, answer text, answer type, set group, element information, etc.) stored in each of the conversation databases 500a to 500d, and other parts as DKML ( It can be realized by executing a program that uses the stored information and the like constructed by Discourse Knowledge Markup Language).
[0137]
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.
[0138]
Furthermore, communication between the communication unit 800 and the communication unit 900 may be performed by transmitting and receiving data using a protocol such as DKML via a communication network. Thereby, for example, when there is no answer content suitable for the user's utterance content in the conversation control device, the conversation control device 1 is suitable for the user's utterance content through the communication network 1000 according to the convention such as DKML. It is possible to search for the response content (described in DKML or the like) and acquire the searched response content.
[0139]
The program can be recorded on a recording medium. As shown in FIG. 19, examples of the recording medium include a hard disk 1100, a floppy (registered trademark) disk 1200, a compact disk 1300, an IC chip 1400, and a cassette tape 1500. According to the recording medium on which such a program is recorded, the program can be easily stored, transported, sold, and the like.
[0140]
[Second Embodiment]
(Basic configuration of conversation control system)
A second embodiment of the present invention will be described with reference to the drawings. FIG. 20 is a diagram showing an internal structure of the conversation control system according to the present embodiment. As shown in the figure, the conversation control device 1 in the conversation control system is substantially the same as the internal structure of the conversation control device 1 in the first embodiment, but is different in that it has a morpheme addition unit 340. Since it is the same as the structure of 1st embodiment and a modified example except this difference, description about structures other than a difference is abbreviate | omitted.
[0141]
In the first embodiment, the conversation control device 1 has been described with respect to the process of acquiring the optimum answer content corresponding to the input information based on the input information from the user. However, in the present embodiment, the conversation control device 1 A process for adding the morpheme constituting the input information to the optimum answer content corresponding to the input information based on the input information from the user will be described. The specific explanation is as follows.
[0142]
The morpheme adding unit 340 configures at least the first morpheme information extracted by the morpheme extraction unit 410 or the second morpheme information searched by the topic search unit 320 based on the answer content acquired by the answer sentence search unit 330. This is a morpheme adding means for adding one morpheme to the response content.
[0143]
In addition, the morpheme adding unit 340 retrieves (acquires) the morpheme belonging to at least one attribute classified by the phrase analysis unit 420 (this morpheme belongs to the first morpheme information) by the reply sentence retrieval unit 330. It is also a morpheme adding means for adding to the contents. Furthermore, the morpheme adding unit 340 is also an answer adding unit that adds a morpheme belonging to at least one attribute constituting the second morpheme information searched by the topic search unit 320 to the answer content.
[0144]
Specifically, the morpheme adding unit 340 to which the response content from the response text search unit 330 and the first morpheme information extracted by the morpheme extraction unit 410 are input is based on the input response content and the first morpheme information. Thus, at least one morpheme constituting the first morpheme information is added to the response content.
[0145]
In addition, the morpheme adding unit 340 to which the response content from the response text search unit 330 and the second morpheme information from the topic search unit 320 are input, based on the input response content and the second morpheme information. At least one morpheme constituting the information is added to the response content.
[0146]
The morpheme adding unit 340 that adds the morpheme to the answer content outputs the answer content added with the morpheme to the management unit 310 as the added answer content. The management unit 310 that has received the additional response content from the morpheme adding unit 340 outputs the input additional response content to the output unit 600.
[0147]
For example, when the input information from the user is {Tell me the new singer name of B singer}, the morpheme extraction unit 410 includes “B singer”, “new syllabary name”, “tell me” among the input information. Are extracted as first morpheme information. The answer sentence search unit 330 acquires the answer content associated with the second morpheme information based on the second morpheme information that matches the first morpheme information searched by the topic search unit 320, The morpheme “B singer” and “new title” constituting the first morpheme information are added.
[0148]
The phrase analysis unit 420 classifies each morpheme belonging to the first morpheme information extracted by the morpheme extraction unit 410 into attributes such as subject case (subject), target case (object), action / verb (action). . The first morpheme information classified into each attribute is (B singer; new score; tell me) {this is the order of subject, object, action}. Since the operations of the morpheme extraction unit 410 and the phrase analysis unit 420 here are the same as those in the first embodiment, a detailed description of the operation is omitted.
[0149]
Based on the first morpheme information (B singer; new score; tell me) classified into each attribute, the topic search unit 320 searches for second morpheme information that matches the first morpheme information from each second morpheme information. get. Based on the acquired second morpheme information, the answer sentence search unit 330 acquires the response content associated with the second morpheme information from the conversation database 500, and the acquired response content includes the first morpheme information ( Or at least one morpheme belonging to each attribute constituting the second morpheme information).
[0150]
Here, as shown in FIG. 21, the conversation database 500 stores a plurality of answer contents as an answer contents table. As shown in the figure, in this answer content table, in this embodiment, a singer name (A singer, B singer, C singer ...), and a new song sung on a commercially available CD ( Phrase 1, Phrase 2, Phrase 3 ...), the singer's office (Office 1, Office 2, Office 3 ...), the scheduled date for the concert performed by the singer (July 1, 2002,・ ・), Ranking of new music (1st place, 10th place, 17th place ...) etc. are included.
[0151]
Specifically, when each morpheme constituting the first morpheme information or the second morpheme information is (B singer; new score; teach), the answer sentence search unit 330 selects the subject morpheme from the morpheme. The morpheme “B singer” and the object morpheme “new music” are extracted. The answer sentence search unit 330 may extract one of the morphemes belonging to the subject or the object from the morphemes constituting the first morpheme information or the second morpheme information.
The answer sentence search unit 330 that extracted the subject morpheme “B singer” and the object morpheme “new music” refers to the answer content table stored in the conversation database 500 based on each extracted morpheme, and FIG. As shown in FIG. 3, the answer content “Song Title 2” (shaded portion shown in FIG. 4) corresponding to the morpheme “B Singer” and the morpheme “New Title” is acquired. The response sentence search unit 330 that has acquired the response content “song name 2” outputs the acquired response content “song name 2” to the morpheme adding unit 340.
[0152]
The morpheme adding unit 340 to which the response content “song name 2” is input from the response text search unit 330 is based on the input response content “song name 2” and includes at least one of the first morpheme information and the second morpheme information. Add morphemes.
[0153]
Specifically, the morpheme adding unit 340 receives, for example, the morpheme “B singer” and the morpheme “new score” belonging to the subject and the object constituting the first morpheme information or the second morpheme information, as shown in FIG. Is added to the response content “Song Title 2”. The morpheme adding unit 340 can add each morpheme “B singer” and “new score” to the input response content “song name 2”, so that “B singer's new score is song name 2” is output as an output response can do.
[0154]
(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. The procedure up to acquiring the reply content can be performed in the same procedure as the procedure (S101 to S109) in the first embodiment. For this reason, in the conversation control method described below, the flow after the response content is acquired will be mainly described.
[0155]
The morpheme adding unit 340 forms at least the first morpheme information extracted by the morpheme extraction unit 410 or the second morpheme information searched by the topic search unit 320 based on the answer content acquired by the answer sentence search unit 330. A step of adding one morpheme to the response content is performed.
[0156]
Specifically, the morpheme adding unit 340 to which the response content from the response text search unit 330 and the first morpheme information extracted by the morpheme extraction unit 410 are input is based on the input response content and the first morpheme information. Thus, at least one morpheme constituting the first morpheme information is added to the response content.
[0157]
In addition, the morpheme adding unit 340 to which the response content from the response text search unit 330 and the second morpheme information from the topic search unit 320 are input, based on the input response content and the second morpheme information. At least one morpheme constituting the information is added to the response content.
[0158]
The morpheme adding unit 340 that adds the morpheme to the answer content outputs the answer content added with the morpheme to the management unit 310 as the added answer content. The management unit 310 that has received the additional response content from the morpheme adding unit 340 outputs the input additional response content to the output unit 600.
[0159]
For example, when the input information from the user is {Tell me the new singer name of B singer}, the morpheme extraction unit 410 includes “B singer”, “new syllabary name”, “tell me” among the input information. Are extracted as first morpheme information. The answer sentence search unit 330 acquires the answer content associated with the second morpheme information based on the second morpheme information that matches the first morpheme information searched by the topic search unit 320, The morpheme “B singer” and “new title” constituting the first morpheme information are added.
[0160]
The phrase analysis unit 420 classifies each morpheme belonging to the first morpheme information extracted by the morpheme extraction unit 410 into attributes such as subject case (subject), target case (object), action / verb (action). . The first morpheme information classified into each attribute is (B singer; new score; tell me) {this is the order of subject, object, action}.
[0161]
And the topic search part 320 is based on the 1st morpheme information (B singer; new score; tell me) classified into each attribute, and the 2nd morpheme which corresponds with 1st morpheme information from each 2nd morpheme information. Get information. Based on the acquired second morpheme information, the answer sentence search unit 330 acquires the response content associated with the second morpheme information from the conversation database 500, and the acquired response content includes the first morpheme information ( Or at least one morpheme belonging to each attribute constituting the second morpheme information).
[0162]
Specifically, when each morpheme constituting the first morpheme information or the second morpheme information is (B singer; new score; teach), the answer sentence search unit 330 selects the subject morpheme from the morpheme. The morpheme “B singer” and the object morpheme “new music” are extracted.
[0163]
Then, the answer sentence search unit 330 that extracts the subject morpheme “B singer” and the object morpheme “new score” refers to the answer content table stored in the conversation database 500 based on each extracted morpheme, As shown in FIG. 21, the response content “song name 2” (the hatched portion shown in the figure) corresponding to the morpheme “B singer” and the morpheme “new musical title” is acquired. The response sentence search unit 330 that has acquired the response content “song name 2” outputs the acquired response content “song name 2” to the morpheme adding unit 340.
[0164]
After that, the morpheme adding unit 340 to which the response content “song name 2” is input from the response text search unit 330 forms at least the first morpheme information or the second morpheme information based on the input response content “song name 2”. Add one morpheme.
[0165]
Specifically, the morpheme adding unit 340 receives, for example, the morpheme “B singer” and the morpheme “new score” belonging to the subject and the object constituting the first morpheme information or the second morpheme information, as shown in FIG. Is added to the response content “Song Title 2”. The morpheme adding unit 340 can add each morpheme “B singer” and “new score” to the input response content “song name 2”, so that “B singer's new score is song name 2” is output as an output response can do.
[0166]
(Operation and effect of conversation control device and conversation control method)
According to the invention according to this application, the answer sentence search unit 330 acquires the answer content associated with the second morpheme information based on the second morpheme information searched by the topic search unit 320, and adds the morpheme. Since the unit 340 can add at least one morpheme constituting the first morpheme information or the second morpheme information to the answer content based on the answer content acquired by the answer text search unit 330, the morpheme adding unit 340 Can output the response content corresponding to the input information in a natural format.
[0167]
For example, when the user inputs input information “Is there a new record for A singer?”, The answer sentence search unit 330 acquires the answer content “song name 1” corresponding to the input information, and the morpheme addition unit 340 can add the morpheme “new singer's score” constituting the input information to the reply content “song name 1” acquired by the reply sentence search unit 330. "" Is "Song name 1""can be output.
[0168]
As a result, since the answer that directly answers the input information input by the user is output from the conversation control device 1, the user can feel as if the user is having a conversation with another user. be able to.
[0169]
Moreover, the topic search unit 320 searches the second morpheme information from each second morpheme information, and searches for second morpheme information including the morpheme constituting the first morpheme information (elements constituting the input information from the user). Since the unit 330 can acquire the content of the answer associated with the second morpheme information based on the second morpheme information searched by the topic search unit 320, the answer sentence search unit 330 receives the input from the user. Based on each morpheme that constitutes information, it is possible to obtain the answer content created in advance based on the semantic space constructed by each morpheme (meaning content grasped from the character string made up of each morpheme). It is possible to acquire the answer contents more suitable for the input information than to acquire the answer contents associated with the keyword using “whole” of the input information as a keyword.
[0170]
Further, the answer sentence search unit 330 can search for the answer content most suitable for the input information of the user based on each morpheme constituting the input information from the user. A person only needs to create an answer content based on a semantic space constructed from each morpheme and a search function for searching the answer content, artificial intelligence for analyzing input information from the user, There is no need to construct a program consisting of a neural network or the like.
[0171]
Furthermore, the topic search unit 320 does not search for the second morpheme information that completely matches the input information from the user, but searches for the second morpheme information including the first morpheme information. The developer who develops need not store a large amount of answer contents corresponding to input information that will be input from the user in advance, and can reduce the capacity of the storage unit.
[0172]
The phrase analysis unit 420 classifies each morpheme constituting the extracted first morpheme information into attributes such as a subject case consisting of a main case and a target case consisting of a target, and a morpheme addition unit 340 includes a phrase analysis unit Since the morpheme belonging to at least one “attribute” classified in 420 can be added to the answer content, the conversation control apparatus 1 supports the input information based on the answer content to which the morpheme belonging to a certain attribute is added. Can be output in a more natural form, that is, in an interactive form.
[0173]
For example, when the user inputs input information “Is there a new singer A”, the conversation control device acquires the response content “Song Name 1” corresponding to the input information, and this response content “Song Name”. Since only the morpheme “new score” (target morpheme) that constitutes the input information can be added to “1”, ““ new score ”is“ song name 1 ”” can be output as an answer to be output, As a result, it can be output in a more natural format suitable for the conversation content.
[0174]
(Example of change)
In addition, this invention is not limited to said 2nd embodiment, The topic search part 320 can also perform the following functions. The topic search unit 320 collates the first morpheme information extracted by the morpheme extraction unit 410 with each keyword group, acquires a keyword that matches at least one morpheme constituting the first morpheme information, and sets the acquired keyword It is also a first search means for searching for the associated second morpheme information.
[0175]
Further, when searching for two or more second morpheme information associated with a keyword, the topic search unit 320 includes at least one morpheme constituting the first morpheme information from each second morpheme information. It is also a first search means for searching for second morpheme information.
[0176]
Here, as shown in FIG. 23, the second morpheme information has a keyword group associated with any one morpheme constituting the second morpheme information in the present embodiment. A plurality of morpheme information is stored in the conversation database 500.
[0177]
Specifically, the topic search unit 320, for example, if the first morpheme information extracted by the morpheme extraction unit 410 is (B singer; new score; tell me) {tell B singer's new score} Each morpheme of one morpheme information is matched with each keyword group ("general singer", "new singing", etc.) shown in the figure, and a keyword "B singer" that matches the morpheme "B singer" is obtained.
[0178]
The topic search unit 320 that has acquired the keyword “B singer” that matches the morpheme “B singer” uses the second morpheme information (general singer) associated with the keyword “B singer” based on the acquired keyword “B singer”. Select new music; tell me) (see FIG. 23).
[0179]
If the topic search unit 320 has acquired the keyword “B singer” that matches the morpheme “B singer”, the second morpheme information associated with the acquired keyword “B singer” is two as shown in FIG. In some cases, of these two second morpheme information (general singer; new score; tell me), (general singer; sing new song; tell me), the first morpheme information (B singer; new score; tell me) ), The second morpheme information (general singer; new score; tell me) close to each morpheme is selected. This selection is performed depending on whether at least one morpheme constituting the first morpheme information is included in the second morpheme information.
[0180]
According to the invention according to this embodiment, the topic search unit 320 collates the extracted first morpheme information with each keyword group, and matches the keyword with at least one morpheme constituting the first morpheme information. Since the second morpheme information associated with the acquired keyword can be searched, the developer who develops the conversation control device 1 can talk to the second morpheme information that approximates the first morpheme information. It is not necessary to store the information in the control device one by one, and the storage amount of the second morpheme information can be reduced.
[0181]
In addition, when the topic search unit 320 searches for two or more second morpheme information associated with the keyword, the topic search unit 320 includes at least one morpheme constituting the first morpheme information from each second morpheme information. Since the second morpheme information can be searched, the topic search unit 320 searches the second morpheme information for more appropriate second morpheme information related to the input information input from the user. Can do.
[0182]
Furthermore, since the developer can reduce the second morpheme information stored in the conversation database 500 by associating the keyword group with the second morpheme information, the topic search unit 320 can select the second morpheme information. The second morpheme information approximate to the first morpheme information can be searched quickly.
[0183]
【The invention's effect】
As described above, according to the present invention, the conversation control device identifies each morpheme constituting the input information input from the user, analyzes the semantic content grasped from each identified morpheme, and performs analysis. By acquiring pre-prepared answer contents that are associated with the meaning contents, the user can obtain the optimum answer contents corresponding to the input information from the user, and input even if each answer contents stored in advance is reduced. The optimum answer content corresponding to the information can be acquired, and the obtained answer content can be output in a natural format closer to the interactive format.
[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 a morpheme extraction unit in the first embodiment.
FIG. 4 is a diagram showing the contents of each phrase extracted by a phrase analysis unit in the first embodiment.
FIG. 5 is a diagram showing the contents of “case” specified by the sentence structure analysis unit in the first embodiment.
FIG. 6 is a diagram showing an “uttered sentence type” specified by an utterance type determining unit in the first embodiment.
FIG. 7 is a diagram showing the contents of each dictionary stored in the utterance type database in the first embodiment.
FIG. 8 is a diagram showing 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 content of a “topic title” constructed within the conversation database in the first embodiment.
FIG. 11 is a diagram showing the content of “answer sentence type” associated with “topic title” built inside 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” built inside the conversation database in the first embodiment.
FIG. 13 is a flowchart showing a procedure of a conversation control method according to the first embodiment.
FIG. 14 is a diagram showing utterance contents organized by a morpheme extraction unit in the first modification.
FIG. 15 is a diagram illustrating an internal configuration of a topic search unit in a second modified example.
FIG. 16 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. 17 is a diagram illustrating a state in which the ratio calculation unit according to the second modification collates each morpheme belonging to “case configuration” and each morpheme belonging to “topic title” for each “case”.
FIG. 18 is a diagram showing a schematic configuration of a conversation control system in a third modified example.
FIG. 19 is a diagram showing a recording medium for storing a program in the first embodiment.
FIG. 20 is a block diagram showing a schematic configuration of a conversation control system according to a second embodiment.
FIG. 21 is a diagram showing the contents of an answer content table stored in a conversation database in the second embodiment.
FIG. 22 is a diagram illustrating a state in which a morpheme adding unit adds a morpheme to an answer content in the second embodiment.
23. Until the topic search unit in the modification collates the first morpheme information with each second morpheme information and selects second morpheme information that approximates the first morpheme information from each second morpheme information. FIG.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Conversation control apparatus, 100 ... Input part, 200 ... Speech recognition part, 300 ... Conversation control part, 310 ... Management part, 320 ... Topic search part, 321 ... Ratio calculation part, 322 ... Selection part, 330 ... Answer sentence search , 400 ... Sentence analysis unit, 410 ... morpheme extraction unit, 420 ... sentence analysis unit, 430 ... sentence structure analysis unit, 440 ... speech type determination unit, 450 ... morpheme database, 460 ... speech type database, 500 ... conversation database, DESCRIPTION OF SYMBOLS 600 ... Output part, 700 ... Voice recognition dictionary memory | storage part, 800 ... Communication part, 900 ... Communication part, 1000 ... Communication network, 1100 ... Hard disk, 1200 ... Floppy (registered trademark) disk, 1300 ... Compact disk, 1400 ... IC chip 1500 ... cassette tape

Claims (14)

利用者から入力された入力情報に基づいて、該入力情報を示す文字列を特定する文字認識手段と、
前記文字認識手段で特定された前記文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出する形態素抽出手段と、
一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報と、該入力情報に対応する該利用者への回答内容とを予め相互に関連付けて複数記憶する回答記憶手段と、
前記形態素抽出手段で抽出された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する前記形態素を含む前記第二形態素情報を検索する第一検索手段と、
前記第一検索手段で検索された前記第二形態素情報に基づいて、該第二形態素情報に関連付けられた前記回答内容を取得する回答取得手段と、
前記回答取得手段で取得された前記回答内容に基づいて、前記形態素抽出手段で抽出された前記第一形態素情報又は前記第一検索手段で検索された前記第二形態素情報を構成する少なくとも一つの前記形態素を前記回答内容に付加する形態素付加手段とを有することを特徴とする会話制御装置。
Character recognition means for identifying a character string indicating the input information based on the input information input by the user;
Based on the character string specified by the character recognition means, morpheme extraction means for extracting at least one morpheme constituting the minimum unit of the character string as first morpheme information;
Answer storage means for storing a plurality of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and a response content to the user corresponding to the input information in advance ,
The first morpheme information extracted by the morpheme extraction means and the second morpheme information are collated, and the second morpheme includes the second morpheme constituting the first morpheme information. A first search means for searching for morpheme information;
Based on the second morpheme information searched by the first search unit, an answer acquisition unit that acquires the response content associated with the second morpheme information;
At least one of the first morpheme information extracted by the morpheme extraction unit or the second morpheme information searched by the first search unit based on the response content acquired by the response acquisition unit A conversation control apparatus comprising: morpheme adding means for adding a morpheme to the answer content.
請求項1に記載の会話制御装置であって、
前記形態素抽出手段で抽出された前記第一形態素情報の各形態素を、主格からなる主体格、対象からなる対象格などの各属性に分類する分類手段を有し、
前記形態素付加手段は、前記分類手段で分類された少なくとも一つの属性に属する前記形態素を、前記回答取得手段で取得された前記回答内容に付加することを特徴とする会話制御装置。
The conversation control device according to claim 1,
Classification means for classifying each morpheme of the first morpheme information extracted by the morpheme extraction unit into each attribute such as a subject case consisting of a main case and a target case consisting of a target;
The conversation control apparatus, wherein the morpheme adding unit adds the morpheme belonging to at least one attribute classified by the classification unit to the answer content acquired by the answer acquiring unit.
請求項1に記載の会話制御装置であって、
前記第二形態素情報を構成する各形態素は、前記主体格、前記対象格などの属性毎に分類されて前記回答記憶手段に予め記憶されており、
前記形態素付加手段は、前記第一検索手段で検索された前記第二形態素情報に基づいて、該第二形態素情報を構成する少なくとも一つの前記属性に属する前記形態素を、前記回答取得手段で取得された前記回答内容に付加することを特徴とする会話制御装置。
The conversation control device according to claim 1,
Each morpheme constituting the second morpheme information is classified in advance for each attribute such as the subject case and the target case and stored in advance in the answer storage unit,
The morpheme adding unit is configured to acquire the morpheme belonging to at least one of the attributes constituting the second morpheme information based on the second morpheme information searched by the first search unit by the answer acquisition unit. A conversation control apparatus characterized by being added to the answer content.
請求項1に記載の会話制御装置であって、
前記各第二形態素情報は、複数のキーワード群に対応付けられており、
前記第一検索手段は、前記形態素抽出手段で抽出された前記第一形態素情報と前記各キーワード群とを照合し、前記第一形態素情報を構成する少なくとも一つの形態素と一致する前記キーワードを取得し、取得したキーワードに対応付けられた前記第二形態素情報を検索することを特徴とする会話制御装置。
The conversation control device according to claim 1,
Each of the second morpheme information is associated with a plurality of keyword groups,
The first search unit collates the first morpheme information extracted by the morpheme extraction unit with each keyword group, and acquires the keyword that matches at least one morpheme constituting the first morpheme information. A conversation control device that searches for the second morpheme information associated with the acquired keyword.
請求項4に記載の会話制御装置であって、
前記第一検索手段は、二以上の前記第二形態素情報を検索した場合には、該各第二形態素情報の中から、前記第一形態素情報を構成する少なくとも一つの前記形態素を含む前記第二形態素情報を検索することを特徴とする会話制御装置。
The conversation control device according to claim 4,
When the first search means searches for two or more second morpheme information, the second search unit includes at least one of the second morpheme information including at least one morpheme constituting the first morpheme information. A conversation control device characterized by retrieving morpheme information.
請求項1に記載の会話制御装置であって、
前記回答記憶手段で記憶される前記第二形態素情報又は前記回答内容は、前記利用者が求める話題、ある事柄において前記利用者に対して抱く感情度又陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて前記形態素と関連付けて階層的にデータベースに蓄積するための言語で記述されることを特徴とする会話制御装置。
The conversation control device according to claim 1,
The second morpheme information or the answer content stored in the answer storage means is a topic requested by the user, a feeling level or a statement sentence to the user in a certain matter, an affirmative sentence, a question sentence, a repulsive sentence The conversation control device is characterized in that it is described in a language for hierarchically storing it in the database in association with the morpheme according to its semantic content.
請求項6に記載の会話制御装置であって、
前記言語は、DKMLからなることを特徴とする会話制御装置。
The conversation control device according to claim 6,
The conversation control apparatus according to claim 1, wherein the language is DKML.
文字認識手段、形態素抽出手段、第一検索手段、回答取得手段および形態素付加手段として機能するコンピュータにおける会話制御方法であって、
一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報と、該入力情報に対応する該利用者への回答内容とを予め相互に関連付けて回答記憶手段に複数記憶するステップと、
文字認識手段が、利用者から入力された入力情報に基づいて、該入力情報を示す文字列を特定するステップと、
形態素抽出手段が、前記文字認識手段で特定された前記文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出するステップと、
第一検索手段が、前記形態素抽出手段で抽出された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する前記形態素を含む前記第二形態素情報を検索するステップと、
回答取得手段が、前記第一検索手段で検索された前記第二形態素情報に基づいて、該第二形態素情報に関連付けられた前記回答内容を取得するステップと、
形態素付加手段が、前記回答取得手段で取得された前記回答内容に基づいて、前記形態素抽出手段で抽出された前記第一形態素情報又は前記第一検索手段で検索された前記第二形態素情報を構成する少なくとも一つの前記形態素を前記回答内容に付加するステップとを有することを特徴とするコンピュータにおける会話制御方法。
A conversation control method in a computer that functions as character recognition means, morpheme extraction means, first search means, answer acquisition means and morpheme addition means ,
A plurality of second morpheme information indicating a morpheme composed of one character, a plurality of character strings, or a combination thereof, and a response content to the user corresponding to the input information are stored in a plurality of response storage means in association with each other in advance. Steps,
A step of identifying a character string indicating the input information based on the input information input from the user by the character recognition means;
Morpheme extraction means, based on the character string specified by the character recognition means, to extract at least one morpheme constituting the minimum unit of the character string as first morpheme information;
The first search means collates the first morpheme information extracted by the morpheme extraction means with the second morpheme information, and configures the first morpheme information from the second morpheme information. Retrieving the second morpheme information including morphemes;
A step of acquiring an answer content associated with the second morpheme information based on the second morpheme information searched by the first search unit;
The morpheme adding unit configures the first morpheme information extracted by the morpheme extraction unit or the second morpheme information searched by the first search unit based on the response content acquired by the response acquisition unit Adding at least one morpheme to the answer content.
コンピュータがさらに分類手段として機能する請求項8に記載のコンピュータにおける会話制御方法であって、
分類手段が、前記形態素抽出手段で抽出された前記第一形態素情報の各形態素を、主格からなる主体格、対象からなる対象格などの各属性に分類するステップと、
前記形態素付加手段が、前記分類手段で分類された少なくとも一つの属性に属する前記形態素を、前記回答取得手段で取得された前記回答内容に付加するステップとを有することを特徴とするコンピュータにおける会話制御方法。
9. The conversation control method in a computer according to claim 8, wherein the computer further functions as a classification means ,
A classifying unit classifying each morpheme of the first morpheme information extracted by the morpheme extracting unit into attributes such as a subject case consisting of a main case and a target case consisting of a target;
Conversation control in a computer, wherein the morpheme adding means includes a step of adding the morpheme belonging to at least one attribute classified by the classifying means to the answer content acquired by the answer acquiring means Method.
請求項8に記載のコンピュータにおける会話制御方法であって、
前記第二形態素情報を構成する各形態素は、前記主体格、前記対象格などの属性毎に分類されて前記回答記憶手段に予め記憶されており、
前記形態素付加手段が、前記第一検索手段で検索された前記第二形態素情報に基づいて、該第二形態素情報を構成する少なくとも一つの前記属性に属する前記形態素を、前記回答取得手段で取得された前記回答内容に付加するステップを有することを特徴とするコンピュータにおける会話制御方法。
A conversation control method in a computer according to claim 8,
Each morpheme constituting the second morpheme information is classified in advance for each attribute such as the subject case and the target case and stored in advance in the answer storage unit,
Based on the second morpheme information searched by the first search unit, the morpheme addition unit acquires the morpheme belonging to at least one of the attributes constituting the second morpheme information by the answer acquisition unit. A method for controlling conversation in a computer, further comprising the step of adding to the answer contents.
請求項8に記載のコンピュータにおける会話制御方法であって、
前記各第二形態素情報は、複数のキーワード群に対応付けられており、
前記第一検索手段が、前記形態素抽出手段で抽出された前記第一形態素情報と前記各キーワード群とを照合し、前記第一形態素情報を構成する少なくとも一つの形態素と一致する前記キーワードを取得し、取得したキーワードに対応付けられた前記第二形態素情報を検索するステップを有することを特徴とするコンピュータにおける会話制御方法。
A conversation control method in a computer according to claim 8,
Each of the second morpheme information is associated with a plurality of keyword groups,
The first search unit collates the first morpheme information extracted by the morpheme extraction unit with each of the keyword groups, and acquires the keyword that matches at least one morpheme constituting the first morpheme information. A method for controlling conversation in a computer, comprising the step of retrieving the second morpheme information associated with the acquired keyword.
請求項11に記載のコンピュータにおける会話制御方法であって、
前記第一検索手段が、二以上の前記第二形態素情報を検索した場合には、該各第二形態素情報の中から、前記第一形態素情報を構成する少なくとも一つの前記形態素を含む前記第二形態素情報を検索するステップを有することを特徴とするコンピュータにおける会話制御方法。
A conversation control method for a computer according to claim 11, comprising:
When the first search means searches for two or more second morpheme information, the second morpheme information includes the second morpheme that includes at least one morpheme constituting the first morpheme information. A conversation control method in a computer comprising a step of retrieving morpheme information.
請求項8に記載のコンピュータにおける会話制御方法であって、
前記回答記憶手段で記憶される前記第二形態素情報又は前記回答内容は、前記利用者が求める話題、ある事柄において前記利用者に対して抱く感情度又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて前記形態素と関連付けて階層的にデータベースに蓄積するための言語で記述されることを特徴とするコンピュータにおける会話制御方法。
A conversation control method in a computer according to claim 8,
The second morpheme information or the content of the answer stored in the answer storage means is a topic requested by the user, a feeling or a statement sentence to the user in a certain matter, an affirmative sentence, a question sentence, a repulsive sentence A conversation control method in a computer, characterized in that the types are described in a language for hierarchically storing them in a database in association with the morpheme according to the semantic content.
請求項13に記載のコンピュータにおける会話制御方法であって、
前記言語は、DKMLからなることを特徴とするコンピュータにおける会話制御方法。
A conversation control method for a computer according to claim 13, comprising:
The conversation control method in a computer, wherein the language is DKML.
JP2002152607A 2002-05-27 2002-05-27 Conversation control device and conversation control method Expired - Lifetime JP4316839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002152607A JP4316839B2 (en) 2002-05-27 2002-05-27 Conversation control device and conversation control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002152607A JP4316839B2 (en) 2002-05-27 2002-05-27 Conversation control device and conversation control method

Publications (2)

Publication Number Publication Date
JP2003345792A JP2003345792A (en) 2003-12-05
JP4316839B2 true JP4316839B2 (en) 2009-08-19

Family

ID=29769898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002152607A Expired - Lifetime JP4316839B2 (en) 2002-05-27 2002-05-27 Conversation control device and conversation control method

Country Status (1)

Country Link
JP (1) JP4316839B2 (en)

Also Published As

Publication number Publication date
JP2003345792A (en) 2003-12-05

Similar Documents

Publication Publication Date Title
JP3997105B2 (en) Conversation control system, conversation control device
JP2004258902A (en) Conversation controller, and conversation control method
JP4110012B2 (en) Conversation control device and conversation control method
JP4316839B2 (en) Conversation control device and conversation control method
JP4413486B2 (en) Home appliance control device, home appliance control method and program
JP4751565B2 (en) Conversation control device, conversation control method, and program
JP4110011B2 (en) Conversation control device and conversation control method
JP4913850B2 (en) Information processing system and information processing method
JP4274760B2 (en) Map output device, map output method and program
JP4751563B2 (en) Product discharge device, product discharge control method and program
JP3923378B2 (en) Robot control apparatus, robot control method and program
JP4205370B2 (en) Conversation control system, conversation control method and program
JP4141783B2 (en) USAGE NOTICE SYSTEM, USAGE NOTICE CONTROL METHOD AND PROGRAM
JP4038399B2 (en) Face image display device, face image display method and program
JP3927067B2 (en) Conversation control system, conversation control device, conversation control method, program, and recording medium recording program
JP4344508B2 (en) Sentence generation system, sentence generation method, program
JP2007305146A (en) Conversation control method, program, and recording medium recording program
JP4253487B2 (en) Information acquisition device
JP4434553B2 (en) Information processing system, information processing apparatus, information processing method, program, and recording medium recording the program
JP4188622B2 (en) Access system and access control method
JP4402868B2 (en) Information acquisition apparatus, information acquisition method, and program
JP4109964B2 (en) Information output device, information output method, and program
JP4243079B2 (en) Premium discharging device, premium discharging control method and program
JP4832701B2 (en) Game machine, game control method, control program
JP2009205169A (en) Household electric appliance control device, household electric appliance control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090325

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: 20090424

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090521

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4316839

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120529

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120529

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: 20120529

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: 20120529

Year of fee payment: 3

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: 20120529

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: 20120529

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130529

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term