JP4751565B2 - Conversation control device, conversation control method, and program - Google Patents

Conversation control device, conversation control method, and program Download PDF

Info

Publication number
JP4751565B2
JP4751565B2 JP2002222105A JP2002222105A JP4751565B2 JP 4751565 B2 JP4751565 B2 JP 4751565B2 JP 2002222105 A JP2002222105 A JP 2002222105A JP 2002222105 A JP2002222105 A JP 2002222105A JP 4751565 B2 JP4751565 B2 JP 4751565B2
Authority
JP
Japan
Prior art keywords
morpheme
information
morpheme information
title
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002222105A
Other languages
Japanese (ja)
Other versions
JP2004062684A (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
Universal Entertainment Corp
PtoPA Inc
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 Universal Entertainment Corp, PtoPA Inc filed Critical Universal Entertainment Corp
Priority to JP2002222105A priority Critical patent/JP4751565B2/en
Publication of JP2004062684A publication Critical patent/JP2004062684A/en
Application granted granted Critical
Publication of JP4751565B2 publication Critical patent/JP4751565B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、利用者から入力された入力情報に基づいて、入力情報に関連するファイルのタイトルを検索する会話制御装置、会話制御方法及びプログラムに関する。
【0002】
【従来の技術】
従来からのファイル管理システムでは、文字、図形などからなるファイルを、そのファイルのタイトルと関連付けて記憶していた。これにより、利用者は、自己の所望するファイルを検索する際には、そのファイル群に対応するタイトル群を参照することができるので、該当するファイルを迅速に取得することができる。
【0003】
また、タイトルが多くなった場合には、利用者は、上位概念又は下位概念の関係となるように各タイトルを区分けすることができ、それぞれ区分けされたタイトルを参照することで、該当するファイルを迅速に検索することができる。
【0004】
【発明が解決しようとする課題】
しかしながら、タイトルの区分けが多数になると、利用者は、各タイトルの中から、先ず上位概念に相当するタイトルを参照し、その後下位概念に相当するタイトルを参照していたため、該当するタイトルに辿り付くまでに相当の時間を要していた。
【0005】
一方、近年では、利用者の希望するタイトルを利用者に入力させれば、複数のタイトルの中から、入力されたタイトルを検索することのできるシステムがある。これにより、利用者は、逐一上位概念等の関係にある各タイトルを参照することなく、所望のタイトルを迅速に検索することができる。
【0006】
ところが、利用者が複数のタイトルを上位概念又は下位概念の関係となるように構築させた場合には、あるタイトルの下位概念には、例えば”先行技術”というタイトルが構築され、他のタイトルの下位概念には、同様な”先行技術”というタイトルが構築されている場合がある。この場合、利用者が”先行技術”というタイトルを検索するときに、”先行技術”と入力すると、その”先行技術”のタイトルが複数検索されてしまうこととなり、利用者は、自己が望む”先行技術”というタイトルを迅速に検索することができなかった。
【0007】
そこで、本願は以上の点に鑑みてなされたものであり、利用者から入力された入力情報を構成する各形態素を特定し、特定した形態素を用いてその形態素に関連するファイルなどのタイトルを検索することで、利用者の希望するタイトルをより迅速に検索することのできる会話制御装置、会話制御方法及びプログラムを提供することを課題とする。
【0008】
【課題を解決するための手段】
本願に係る発明は、上記課題を解決するためになされたものであり、一つの文字、複数の文字列又はこれらの組み合わせからなり、主体格、対象格等の属性毎に属するいずれか一つの形態素を第二形態素情報として予め複数記憶し、文字、図形等の情報データ又は該情報データの見出しを含むタイトルを予め複数記憶し、利用者から入力された入力情報に基づいて入力情報を示す文字列を特定し、特定された文字列に基づいて文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出し、抽出された第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する少なくとも一つの形態素を含む第二形態素情報を検索し、検索された第二形態素情報に基づいて第二形態素情報を構成するいずれかの属性に属する形態素を抽出し、抽出した形態素と各タイトルとを照合し、各タイトルの中から、形態素と一致するタイトルを検索することを特徴とする。
【0009】
このような本願に係る発明によれば、会話制御装置が、検索した第二形態素情報に基づいて第二形態素情報を構成するいずれかの属性に属する形態素を抽出し、抽出した形態素と各タイトルとを照合し、各タイトルの中から、形態素と一致するタイトルを検索することができるので、会話制御装置は、検索した第二形態素情報(利用者から入力された入力情報を構成する形態素)に基づいて、複数の話題タイトルの中から、検索した第二形態素情報の意味内容に関連するタイトルを迅速に検索することができる。
【0010】
また、会話制御装置は、検索した第二形態素情報を構成する形態素の属性を特定し、その属性に属する形態素を用いて、各タイトルの中から、その形態素と一致するタイトルを検索することができるので、主体格の属性に属する形態素を用いれば、主体に関係するタイトルを検索することができる。
【0011】
上記構成においては、抽出された第一形態素情報と各第二形態素情報とを照合し、第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算し、第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択し、選択された第二形態素情報に基づいて第二形態素情報を構成するいずれかの属性に属する形態素を抽出し、抽出した形態素と各タイトルとを照合し、各タイトルの中から、形態素と一致するタイトルを検索することを特徴とする。また、前記会話制御システムは、さらに、複数の前記形態素の集合からなる集合群の全体を示す要素情報を、該集合群に関連付けて予め複数記憶する要素記憶手段を有し、前記形態素抽出手段は、前記文字列から抽出した前記形態素と前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を前記第一形態素情報として抽出することを特徴とする。また、前記形態素抽出手段で抽出された前記第一形態素情報に基づいて文節形式にまとめる文節解析手段と、前記文節解析手段で文節形式にまとめられた第一形態素情報の各形態素を主体格、対象格に分類する文構造解析手段とを有することを特徴とする。さらに、前記第二形態素情報の各形態素である各談話範囲は、他の談話範囲との関係で上位概念、下位概念、同義語、対義語の関係からなる階層構造に構成されることを特徴とする。
【0012】
これにより、会話制御装置が、第二形態素情報毎に、第二形態素情報に対して該第一形態素情報が占める割合を計算し、第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することができるので、会話制御装置は、例えば、第一形態素情報(利用者の入力情報を構成する要素)が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより的確に取得することができ、結果的にはその第二形態素情報に属する形態素を用いて、利用者が望むファイルのタイトルをより的確かつ迅速に検索することができる。
【0013】
【発明の実施の形態】
[第一実施形態]
(会話制御システムの基本構成)
本発明に係る会話制御システムについて図面を参照しながら説明する。図1は、本実施形態に係る会話制御装置1を有する会話制御システムの概略構成図である。
【0014】
同図に示すように、会話制御装置1は、入力部100と、音声認識部200と、会話制御部300と、文解析部400と、会話データベース500と、出力部600と、音声認識辞書記憶部700とを備えている。
【0015】
尚、本実施形態では、説明の便宜上、利用者の発話内容(この発話内容は、入力情報の一種)に限定して説明するが、この利用者の発話内容に限定されるものではなく、キーボード等から入力された入力情報であってもよい。従って、以下に示す「発話内容」は、「発話内容」を「入力情報」に置き換えて説明することもできる。
【0016】
同様にして、後述の説明では、説明の便宜上、「発話文のタイプ」(発話種類)に限定して説明するが、この「発話文のタイプ」に限定されるのではなく、キーボードなどから入力された入力情報の種類を示す「入力種類」であってもよい。従って、以下に示す「発話文のタイプ」(発話種類)は、「入力文のタイプ」に置き換えて説明することもできる。
【0017】
入力部100は、利用者からの入力情報を取得する取得手段であり、本実施形態では、マイクロホン、キーボード等が挙げられる。この入力部100は、利用者から入力された入力情報に基づいて、入力情報(音声以外)に対応する文字列を特定する文字認識手段でもある。
【0018】
ここで、入力情報とは、キーボード等を通じて入力された文字、記号、音声等を意味するものである。具体的に、入力部100は、利用者の入力情報(音声以外)を取得し、取得した入力情報を文字列として特定し、特定した文字列を会話制御部300に出力する。また、利用者からの発話内容(この発話内容は、音声からなるものであり、入力情報の一種である)をマイクロホンなどで取得した入力部100は、取得した発話内容を構成する音声を音声信号として音声認識部200に出力する。
【0019】
音声認識部200は、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定する文字認識手段である。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。音声認識辞書記憶部700は、標準的な音声信号に対応する辞書(あ、い、う、え、など)を格納しているものである。
【0020】
前記文解析部400は、会話制御部300に入力された文字列を解析するものであり、本実施形態では、図2に示すように、形態素抽出部410と、文節解析部420と、文構造解析部430と、発話種類判定部440と、形態素データベース450と、発話種類データベース460とを有している。
【0021】
形態素抽出部410は、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を第一形態素情報として抽出する形態素抽出手段である。
【0022】
具体的に、管理部310から文字列が入力された形態素抽出部410は、入力された文字列の中から各形態素を抽出する。ここで、形態素とは、本実施形態では、文字列に表された語構成の最小単位を意味するものであり、この語構成の最小単位としては、図3に示すように、例えば、名詞、形容詞、動詞などの品詞が挙げられる。各形態素は、本実施形態では、m1、m2、・・、mlと表現する。
【0023】
即ち、形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などからなる形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0024】
文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式に変換する変換手段である。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、入力された抽出信号に対応する各形態素を用いて文節形式にまとめる。
【0025】
ここで、文節形式とは、本実施形態では、日本語文法において、自立語又は自立語に一つ以上の付属語がついた文、或いは、日本語文法の意味を崩さない程度に文字列をできるだけ細かく区切った一区切りの文を意味する。この文節は、本実施形態では、p1、p2、・・・pkと表現する。
【0026】
即ち、文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。
【0027】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0028】
文構造解析部430は、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類する分類手段である。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」(属性)を決定する。
【0029】
ここで、「格構成」とは、文節における実質的な概念を示す格(属性)を意味するものであり、本実施形態では、例えば、主語・主格を意味するサブジェクト(主体格)、対象を意味するオブジェクト(対象格)、動作・動詞を意味するアクション、時間を意味するタイム(テンス、ムード、アスペクトからなるもの)、場所を意味するロケーション等が挙げられる。本実施形態では、文節におけるサブジェクト、オブジェクト、アクションの三要素の「格」(格構成)に対応付けられた各形態素を第一形態素情報とする。
【0030】
即ち、文構造解析部430は、図5に示すように、例えば、各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0031】
更に、文構造解析部430は、例えば、各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0032】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部320に出力する。
【0033】
発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定する種類特定手段である。具体的に、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0034】
ここで、「発話文のタイプ」は、本実施形態では、図6に示すように、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、反発文(N;Negation)、肯定文(A;Answer)、質問文(Q;Question)などから構成されるものである。
【0035】
陳述文とは、利用者の意見又は考えなどからなる文を意味するものであり、本実施形態では、図6に示すように、例えば”佐藤が好きだ”などの文が挙げられる。感想文とは、利用者が抱く感想からなる文を意味するものである。場所文とは、場所的な要素からなる文を意味するものである。
【0036】
結果文とは、話題に対して文が結果の要素を含む文から構成されるものを意味する。時間文とは、話題に関わる時間的な要素を含む文から構成されるものを意味する。
【0037】
条件文とは、一つの発話を話題と捉えた場合に、話題の前提、話題が成立している条件や理由などの要素を含む文から構成されるものを意味する。反発文とは、利用者の発話相手に対して反発するような要素を含む文から構成されるものを意味する。各「発話文のタイプ」についての例文は、図6に示す通りである。
【0038】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素(図7参照)を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」を判定する。文要素とは、文字列の種類を特定するための分の種別を意味し、文要素は、本実施形態では、上記説明した定義句(〜のことだ)などが挙げられる。
【0039】
ここで、上記発話種類データベース460は、図7に示すように、定義句(例えば、〜のことだ)に関係する辞書を備えた定義表現事例辞書、肯定句(例えば、賛成、同感、ピンポーン)に関係する辞書を備えた肯定事例辞書、結果句(例えば、それで、だから)に関係する辞書を備えた結果表現事例辞書、挨拶句(例えば、こんにちは)に関係する辞書を備えた挨拶辞書、否定句(例えば、馬鹿言うんじゃないよ、反対)に関係する辞書を備えた否定事例辞書などから構成され、各辞書は、「発話文のタイプ」と関連付けられている。
【0040】
これにより、発話種類判定部440は、文節と発話種類データベース460に格納されている各辞書とを照合し、文節の中から各辞書に関連する文要素を抽出し、抽出した文要素に関連付けられた判定の種類を参照することで、「発話文のタイプ」を判定することができる(図7参照)。
【0041】
この発話種類判定部440は、後述する話題検索部320からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部330に出力する。
【0042】
前記会話データベース500は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素を示す第二形態素情報と、発話内容に対する利用者への回答内容とを予め相互に関連付けて複数記憶する回答記憶手段である。また、会話データベース500は、第二形態素情報に複数の回答内容を関連付け、各回答内容に各回答内容の種類を示す回答種類をそれぞれに対応付けて予め記憶する回答記憶手段でもある。更に、会話データベース500は、一つの文字、複数の文字列又はこれらの組み合わせからなり、主体格、対象格等の属性毎に属するいずれか一つの形態素を第二形態素情報として予め複数記憶する形態素記憶手段でもある。
【0043】
この会話データベース500は、図8に示すように、本実施形態では、大きく分けると、利用者が発話している内容について関連性のある範囲を意味する談話範囲(ディスコース)と、談話範囲に属し、利用者が発話している内容に最も密接な関連性のある範囲を意味する話題(トピック)とから構成されている。同図に示すように、”談話範囲”は、本実施形態では、”話題”の上位概念として位置付けるものとする。
【0044】
各談話範囲は、図9に示すように、階層構造となるように構成することができる。同図に示すように、例えば、ある談話範囲(映画)に対する上位概念の談話範囲(娯楽)は、上の階層構造に位置するようにし、談話範囲(映画)に対する下位概念の談話範囲(映画の属性、上映映画)は、下の階層構造に位置するようにすることができる。即ち、各談話範囲は、本実施形態では、他の談話範囲との関係で上位概念、下位概念、同義語、対義語の関係が明確となる階層位置に配置することかできる。
【0045】
上述の如く、談話範囲は、各話題から構成されるものであり、本実施形態では、例えば、談話範囲がA映画名であれば、”A映画名”に関係する複数の話題を含んでいる。
【0046】
この話題は、一つの文字、複数の文字列又はこれらの組み合わせからなる形態素、即ち、利用者から発話されるであろう発話内容を構成する各形態素を意味するものであり、本実施形態では、サブジェクト(主体格)、オブジェクト(対象格)、アクションの「格」(属性)に対応付けられた各形態素からなるものである。これら三要素に対応付けられた各形態素は、本実施形態では、話題タイトル(この話題タイトルは、”話題”の下位概念に相当するものである)(第二形態素情報)と表現することにする。
【0047】
尚、話題タイトルには、上記三要素に対応付けられた各形態素に限定されるものではなく、他の「格」、即ち、時間を意味するタイム(ムード、テンス、アスペクトなどからなるもの)、場所を意味するロケーション、条件を意味するコンディション、感想を意味するインプレッション、結果を意味するエフェクトなどに対応付けられた各形態素を有していてもよい。
【0048】
この話題タイトル(第二形態素情報)は、本実施形態では、会話データベース500に予め格納されているものであり、上記第一形態素情報(利用者が発話した内容から導かれたもの)とは区別されるものである。
【0049】
例えば、話題タイトルは、談話範囲が”A映画名”である場合には、図10に示すように、サブジェクト(A映画名)、オブジェクト(監督)、アクション(素晴らしい){これは、”A映画名の監督は素晴らしい”を意味する}から構成されるものである。
【0050】
話題タイトルのうち、「格構成」(サブジェクト、オブジェクト、アクションなど)に対応付けられた形態素がない場合は、その部分については、本実施形態では、”*”を示すことにする。
【0051】
例えば、{A映画名って?}の文を話題タイトル(サブジェクト;オブジェクト;アクション)に変換すると、{A映画名って?}の文のうち、”A映画名”がサブジェクトとして特定することができるが、その他”オブジェクト””アクション”は文の要素になっていないので、この話題タイトルは、”サブジェクト”(A映画名);”オブジェクト”なし(*);”アクション”なし(*)となる(図10参照)。
【0052】
回答文とは、利用者に対して回答する回答文(回答内容)を意味するものであり、この回答文は、本実施形態では、各話題タイトル(第二形態素情報)のそれぞれに関連付けられて会話データベース500に予め記憶されている(図8参照)。回答文は、本実施形態では、図11に示すように、利用者から発話された発話文のタイプに対応した回答をするために、陳述文(D;Declaration)、感想文(I;Impression)、条件文(C;Condition)、結果文(E;Effect)、時間文(T;Time)、場所文(L;Location)、否定文(N;Negation)、肯定文(A;Answer)、疑問文(Q;Question)などのタイプ(回答種類)に分類するものとする。
【0053】
即ち、各回答文は、図12に示すように、例えば、談話範囲(佐藤){下位概念;ホームラン、上位概念;草野球、同義語;パンダ佐藤・佐藤選手・パンダ}及び各話題タイトルと関連付けられている。
【0054】
同図に示すように、例えば、話題タイトル1−1が{(佐藤;*;好きだ):これは、上述の如く(サブジェクト;オブジェクト;アクション)の順番からなるものである。この順番は、以下同様とする}である場合は、その話題タイトル1−1に対応する回答文1−1は、(DA;陳述肯定文”(私も)佐藤が好きです”)、(IA;感想肯定文”佐藤がとても好きです”)、(CA;条件肯定文”佐藤のホームランはとても印象的だからです”)、(EA;結果肯定文”いつも佐藤の出る試合をテレビ観戦してしまいます”)、(TA;時間肯定文”実は、甲子園での5打席連続敬遠から好きになっています”)、(LA;場所肯定文”打撃に立ったときの真剣な顔が好きですね”)、(NA;反発肯定文”佐藤を嫌いな人とは話したくないですね、さよなら”)などが挙げられる。
【0055】
前記会話制御部300は、本実施形態では、図2に示すように、管理部310と、話題検索部320と、回答文検索部330とを有している。
【0056】
管理部310は、会話制御部300の全体を制御するものである。具体的に、入力部100又は音声認識部200から文字列が入力された管理部310は、入力された文字列を形態素抽出部410に出力する。また、管理部310は、回答文検索部330で検索された回答文を出力部600に出力する。
【0057】
話題検索部320は、文節解析部420で抽出された第一形態素情報と各第二形態素情報(話題タイトル)とを照合し、各第二形態素情報の中から、第一形態素情報を構成する少なくとも一つの形態素を含む第二形態素情報を検索する第一検索手段である。具体的に、文構造解析部430から話題検索命令信号が入力された話題検索部320は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲群とを照合し、談話範囲群の中から第一形態素情報と関連する談話範囲を検索する。
【0058】
例えば、利用者から発話された発話文を構成する「格構成」に属する各形態素(第一形態素情報)が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、「格構成」に”佐藤”が含まれていることから、この”佐藤”と談話範囲群とを照合し、”佐藤”と一致する談話範囲(佐藤)を検索する。
【0059】
更に、「格構成」に関連する談話範囲を選択した話題検索部320は、選択した談話範囲に属する各話題タイトルの中から、「格構成」に属する各形態素に最も近い「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0060】
例えば、発話内容の「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から、「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0061】
話題検索部320から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に対して回答する特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部330に出力する。
【0062】
回答文検索部330は、話題検索部320で検索された第二形態素情報(話題タイトル)に基づいて、第二形態素情報に関連付けられた回答文を取得する回答取得手段である。また、回答文検索部330は、話題検索部320で検索された第二形態素情報に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答文を取得するものでもある(第二検索手段、回答取得手段)。
【0063】
具体的に、話題検索部320から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部330は、入力された検索結果信号に対応する話題タイトル(検索結果によるもの;第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その話題タイトルに関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0064】
例えば、回答文検索部330は、検索結果に対応する話題タイトル(第二形態素情報)が図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0065】
回答文検索部330から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。出力部600は、回答文検索部330で取得された回答文を出力する出力手段であり、本実施形態では、例えば、スピーカ、ディスプレイなどが挙げられる。具体的に、管理部310から回答文信号が入力された出力部600は、入力された回答文信号に対応する回答文{例えば、私も佐藤が好きです}を出力する。
【0066】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。図13は、本実施形態に係る会話制御方法の手順を示すフロー図である。
【0067】
先ず、入力部100が、利用者からの発話内容を取得するステップを行う(S100)。具体的に入力部100は、利用者の発話内容を構成する音声を取得し、取得した音声を音声信号として音声認識部200に出力する。また、入力部100は、利用者から入力された入力情報(音声以外)に基づいて、入力情報(音声以外)に対応する文字列を特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0068】
次いで、音声認識部200が、入力部100で取得した発話内容に基づいて、発話内容に対応する文字列を特定するステップを行う(S102)。具体的には、入力部100から音声信号が入力された音声認識部200は、入力された音声信号を解析し、解析した音声信号に対応する文字列を、音声認識辞書記憶部700に格納されている辞書を用いて特定し、特定した文字列を文字列信号として会話制御部300に出力する。
【0069】
次いで、形態素抽出部410が、音声認識部200で特定された文字列に基づいて、文字列の最小単位を構成する各形態素を抽出するステップを行う(S103)。
【0070】
具体的に、管理部310から文字列信号が入力された形態素抽出部410は、入力された文字列信号に対応する文字列と、形態素データベース450に予め格納されている名詞、形容詞、動詞などの形態素群とを照合し、文字列の中から形態素群と一致する各形態素(m1、m2、・・・)を抽出し、抽出した各形態素を抽出信号として文節解析部420に出力する。
【0071】
そして、文節解析部420は、形態素抽出部410で抽出された各形態素に基づいて、各形態素を文節形式にまとめる(S104)。具体的に、形態素抽出部410から抽出信号が入力された文節解析部420は、図4に示すように、入力された抽出信号に対応する各形態素に基づいて各形態素の係り受け要素(例えば、が・は・を・・)を抽出し、抽出した係り受け要素に基づいて各形態素を各文節にまとめることを行う。第一形態素情報は、本実施形態では、一つの文節に属する各形態素を意味する。
【0072】
各形態素を各文節にまとめた文節解析部420は、各形態素をまとめた各文節と、各文節を構成する各形態素とを含む文型情報を文型信号として文構造解析部430及び発話種類判定部440に出力する。
【0073】
その後、文構造解析部430が、文節解析部420で分節された第一形態素情報の各形態素を主体格、対象格などの各属性に分類するステップを行う(S105)。具体的に、文節解析部420から文型信号が入力された文構造解析部430は、入力された文型信号に対応する各形態素と各形態素からなる文節とに基づいて、文節に含まれる各形態素の「格構成」を決定する。
【0074】
即ち、文構造解析部430は、図5に示すように、例えば、文節における各形態素の係り受け要素が”が”又は”は”である場合は、その係り受け要素の前にある形態素がサブジェクト(主語又は主格)であると判断する。また、文構造解析部430は、例えば、文節における各形態素の係り受け要素が”の”又は”を”である場合は、その係り受け要素の前にある形態素がオブジェクト(対象)であると判断する。
【0075】
更に、文構造解析部430は、例えば、文節における各形態素の係り受け要素が”する”である場合は、その係り受け要素の前にある形態素がアクション(述語;この述語は動詞、形容詞などから構成される)であると判断する。
【0076】
各文節を構成する各形態素の「格構成」を決定した文構造解析部430は、決定した「格構成」に対応付けられた第一形態素情報に基づいて、後述する話題(トピック)の範囲を特定させるための話題検索命令信号を話題検索部320に出力する。
【0077】
次いで、発話種類判定部440は、文節解析部420で特定された文節に基づいて、発話内容の種類を示す発話種類を特定するステップを行う(S106)。具体的に、発話種類判定部440は、文節解析部420から入力された文型信号に対応する各形態素と各形態素から構成される文節とに基づいて、「発話文のタイプ」(発話種類)を判定する。
【0078】
即ち、発話種類判定部440は、入力された文型信号に対応する各文節に基づいて、その各文節と発話種類データベース460に格納されている各辞書とを照合し、各文節の中から、各辞書に関係する文要素を抽出する。各文節の中から各辞書に関係する文要素を抽出した発話種類判定部440は、抽出した文要素に基づいて、「発話文のタイプ」(発話種類)を判定する。
【0079】
この発話種類判定部440は、後述する話題検索部320からの指示に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号を回答文検索部330に出力する。
【0080】
次いで、話題検索部320が、文節解析部420で抽出された第一形態素情報と各第二形態素情報とを照合し、各第二形態素情報の中から、第一形態素情報を構成する形態素を含む第二形態素情報(話題タイトル)を検索するステップを行う(S107)。
【0081】
具体的に、文構造解析部430から話題検索命令信号が入力された話題検索部320は、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲群とを照合し、談話範囲群の中から第一形態素情報と関連する談話範囲を検索する。
【0082】
例えば、利用者から発話された発話文を構成する「格構成」に属する各形態素(第一形態素情報)が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、「格構成」に”佐藤”が含まれていることから、この”佐藤”と談話範囲群とを照合し、”佐藤”と一致する談話範囲(佐藤)を検索する。
【0083】
更に、「格構成」に関連する談話範囲を選択した話題検索部320は、選択した談話範囲に属する各話題タイトルの中から、「格構成」に属する各形態素に最も近い「話題タイトル」を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0084】
例えば、「格構成」が(佐藤;*;好きだ){佐藤は好きだ}である場合は、話題検索部320は、図12に示すように、上記「格構成」に属する各形態素(佐藤;*;好きだ)と談話範囲(佐藤)に属する各話題タイトル1−1〜1−4とを照合し、各話題タイトル1−1〜1−4の中から「格構成」に属する各形態素(佐藤;*;好きだ)と一致(又は近似)する話題タイトル1−1(佐藤;*;好きだ)を検索し、この検索結果を検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0085】
話題検索部320から検索結果信号が入力された発話種類判定部440は、入力された検索結果信号に基づいて、該当する利用者に特定の回答文を検索させるための回答検索命令信号(この回答検索命令信号には、判定した「発話文のタイプ」も含まれる)を回答文検索部330に出力する。
【0086】
次いで、回答文検索部330は、話題検索部320で検索された第二形態素情報(話題タイトル)に基づいて、特定された利用者の発話種類と第二形態素情報に関連付けられた各回答種類とを照合し、各回答種類の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に関連付けられた回答文を取得するステップを行う(S108)。
【0087】
具体的に、話題検索部320から検索結果信号と、発話種類判定部440から回答検索命令信号とが入力された回答文検索部330は、入力された検索結果信号に対応する話題タイトル(第二形態素情報)と回答検索命令信号に対応する「発話文のタイプ」(発話種類)とに基づいて、その話題タイトルに関連付けられている回答文群(各回答内容)の中から、「発話文のタイプ」(DA、IA、CAなど)と一致する回答種類(この回答種類は、図11に示す「回答文のタイプ」を意味する)からなる回答文を検索する。
【0088】
例えば、回答文検索部330は、検索結果に対応する話題タイトルが図12に示す話題タイトル1−1(佐藤;*;好きだ)である場合は、その話題タイトル1−1に関連付けられている回答文1−1(DA、IA、CAなど)の中から、発話種類判定部440で判定された「発話文のタイプ」(例えばDA;発話種類)と一致する回答種類(DA)からなる回答文1−1(DA;(私も)佐藤が好きです)を検索し、この検索した回答文を回答文信号として管理部310に出力する。
【0089】
そして、回答文検索部330から回答文信号が入力された管理部310は、入力された回答文信号を出力部600に出力する。その後、管理部310から回答文信号が入力された出力部600は、入力された回答文信号に対応する回答文{例えば、私も佐藤が好きです}を出力する(S109)。
【0090】
(会話制御装置及び会話制御方法による作用及び効果)
上記構成を有する本願に係る発明によれば、話題検索部320が、各第二形態素情報の中から、第一形態素情報を構成する形態素(利用者の発話内容を構成する要素)を含む第二形態素情報を検索し、検索した第二形態素情報に基づいて、第二形態素情報に関連付けられた回答内容を取得することができるので、話題検索部320は、利用者の発話内容を構成する各形態素に基づいて、各形態素により構築される意味空間(各形態素からなる文字列から把握される意味)を考慮し、かかる意味空間に基づいて予め作成された回答内容を取得することができることとなり、単に発話内容の全体をキーワードとして、そのキーワードに関連付けられた回答内容を取得するよりも、より発話内容に適した回答内容を取得することができる。
【0091】
また、会話制御装置1は、利用者の発話内容を構成する各形態素に基づいて、利用者の発話内容に適した最適な回答内容を検索することができるので、会話制御装置1を開発する開発者は、各形態素により構築される意味空間に基づいた回答内容とその回答内容を検索するための検索機能とを主に作製すればよく、利用者の発話内容を解析するための人工知能、ニューラルネットワーク等からなるプログラムを逐一構築する必要がない。
【0092】
更に、話題検索部320は、第一形態素情報を含む第二形態素情報を検索するので、利用者の発話内容と完全に一致する第二形態素情報を検索する必要がなく、会話制御装置1を開発する開発者は、利用者から発話されるであろう発話内容に対応する膨大な回答内容を予め記憶する必要がなくなり、記憶部の容量を低減させることができる。
【0093】
更にまた、回答文検索部330が、各第二形態素情報に関連付けられた回答種類(陳述、肯定、場所、反発など)の中から、利用者の発話種類と一致する回答種類を検索し、検索した回答種類に基づいて回答種類に対応付けられた回答内容を取得することができるので、回答文検索部330は、利用者の会話内容を構成する発話種類、例えば、利用者が単に意見を述べたもの、利用者が抱く感想からなるもの、利用者が場所的な要素を述べたものなどに基づいて、複数の回答内容の中から発話種類にマッチした回答内容を取得することができることとなり、該当する利用者に対してより最適な回答をすることができる。
【0094】
(変更例)
尚、本発明は、上記実施形態に限定されるものではなく、以下に示すような変更を加えることができる。
【0095】
(第一変更例)
本変更例においては、会話データベース500は、複数の形態素の集合からなる集合群の全体を示す要素情報を、集合群に関連付けて複数記憶する要素記憶手段であってもよい。更に、形態素抽出部410は、文字列から抽出した形態素と各集合群とを照合し、各集合群中から、抽出された形態素を含む集合群を選択し、選択した集合群に関連付けられた要素情報を第一形態素情報として抽出してもよい。
【0096】
図14に示すように、利用者が発話した文字列に含まれる各形態素には、類似しているものがある。例えば、図14に示すように、集合群の全体を示す要素情報を「贈答」とすると、「贈答」は、プレゼント、贈り物、御歳暮、御中元、お祝いなど(集合群)と相互に類似しているので、形態素抽出部410は、「贈答」に類似する形態素(上記のプレゼントなど)がある場合には、その類似する形態素については、「贈答」として取り扱うことができる。
【0097】
即ち、形態素抽出部410は、例えば、文字列から抽出した形態素が「プレゼント」である場合は、図14に示すように、「プレゼント」を代表する要素情報が「贈答」であるので、上記「プレゼント」を「贈答」に置き換えることができる。
【0098】
これにより、形態素抽出部410が相互に類似する形態素を整理することができるので、会話制御装置を開発する開発者は、相互に類似した各第一形態素情報から把握される意味空間に対応した第二形態素情報及び第二形態素情報に関係する回答内容を逐一作成する必要がなくなり、結果的に、記憶部に格納させるデータ量を低減させることができる。
【0099】
(第二変更例)
図15に示すように、本変更例においては、割合計算部321と、選択部322とを話題検索部320に備えてもよい。
【0100】
割合計算部321は、形態素抽出部410で抽出された第一形態素情報と各第二形態素情報(話題タイトル)とを照合し、第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算する計算手段である。
【0101】
具体的に、文構造解析部430から話題検索命令信号が入力された割合計算部321は、図15に示すように、入力された話題検索命令信号に含まれる第一形態素情報に基づいて、第一形態素情報と会話データベース500に格納されている談話範囲に属する各話題タイトル(第二形態素情報)とを照合し、各話題タイトル毎に、それぞれの話題タイトルの中に、第一形態素情報が占める割合を計算する。
【0102】
例えば、図15に示すように、利用者から発話された発話文を構成する第一形態素情報が(佐藤;*;好きだ){佐藤は好きだ}である場合は、割合計算部321は、「格構成」に属する各形態素(佐藤;*;好きだ)と話題タイトルに含まれる各形態素(佐藤;*;好きだ)とを照合し、両者は一致するので、上記話題タイトルに、「格構成」に属する各形態素(佐藤;*;好きだ)が含まれる割合を、100%であると計算する。割合計算部321は、これらの計算を話題タイトル毎に行い、計算した各割合を割合信号として選択部322に出力する。
【0103】
選択部322は、割合計算部321で第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択する選択手段である。
【0104】
具体的に、割合計算部321から割合信号が入力された選択部322は、入力された割合信号に含まれる各割合(「格構成」の要素/「話題タイトル」の要素×100)の中から、例えば割合の高い話題タイトルを選択する(図16参照)。割合の高い話題タイトルを選択した選択部322は、選択した話題タイトルを検索結果信号として回答文検索部330及び発話種類判定部440に出力する。回答文検索部330は、選択部322で選択された話題タイトルに基づいて、話題タイトルに関連付けられた回答文を取得する。
【0105】
これにより、割合計算部321が、第二形態素情報毎に、第二形態素情報に対して第一形態素情報が占める割合を計算し、選択部322が、第二形態素情報毎に計算された各割合の大きさに応じて、各第二形態素情報の中から、一の第二形態素情報を選択することができるので、選択部322は、例えば、第一形態素情報(利用者の発話内容を構成するもの)が第二形態素情報に占める割合の大きい第二形態素情報を、複数ある第二形態素情報群の中から取得することができれば、第一形態素情報から構成される意味空間を踏襲した第二形態素情報をより的確に取得することができる。
【0106】
この結果、回答文検索部330は、選択部322で取得された第二形態素情報に基づいて、第二形態素情報に関連付けられた回答文を取得することができるので、利用者の発話内容に対して最適な回答文を取得することができる。
【0107】
また、選択部322は、複数の話題タイトルの中から、割合計算部321で計算された割合の高い話題タイトルを選択することができるので、利用者の発話文に含まれる「格構成」に属する各形態素と会話データベース500に格納されている各話題タイトルとが完全に一致しなくても、「格構成」に属する各形態素に密接する話題タイトルを取得することができる。
【0108】
この結果、選択部322が「格構成」に密接する話題タイトルを取得するので、会話制御装置1を開発する開発者は、「格構成」と完全に一致する話題タイトルを会話データベース500に逐一格納する必要がなくなるので、会話データベース500の容量を低減させることができる。
【0109】
尚、割合計算部321は、分類された各属性に属する第一形態素情報の各形態素と、予め記憶された各属性に属する各第二形態素情報の各形態素とを各属性毎に照合し、各第二形態素情報の中から、少なくとも一の属性に第一形態素情報の各形態素を含む第二形態素情報を検索する第一検索手段であってもよい。
【0110】
具体的に、話題検索命令信号が入力された割合計算部321は、入力された話題検索命令信号に含まれる「格構成」の各「格」(サブジェクト;オブジェクト;アクション)毎に、その「格」に属する第一形態素情報の各形態素と、「格構成」と同一の「格」からなる話題タイトルの「格」に属する各形態素とを照合し、互いの「格」を構成する形態素が同一か否かを判定する。
【0111】
例えば、図17に示すように、割合計算部321は、「格構成」の「格」の形態素が(犬;人;噛んだ){犬が人を噛んだ}である場合は、それらの形態素”犬”、”人”、”噛んだ”と、それらの形態素を構成する「格」と同一の「格」からなる話題タイトルの形態素”犬”、”人”、”噛んだ”とを照合し、話題タイトルを構成する各形態素”犬”、”人”、”噛んだ”のうち、各形態素に対応する「格」と同一の「格」からなる「格構成」の形態素”犬”、”人”、”噛んだ”と一致している割合を算出(100%)する。
【0112】
もし、話題タイトルを構成する要素が(人;犬;噛んだ){人が犬を噛んだ}である場合は、割合計算部321は、上記と同様の手順により、二つの格に属する形態素が異なるので、「格構成」を構成する形態素と「話題タイトル」との「格」毎の一致度を33%であると算出する(図17参照)。
【0113】
割合を計算した割合計算部321は、各割合の中から、割合の高い話題タイトルを選択し、選択した話題タイトルを検索結果信号として回答文検索部330及び発話種類判定部440に出力する。
【0114】
これにより、割合計算部321が、分類された各「格構成」(主体格、対象格など)に属する第一形態素情報の各形態素と、予め記憶された話題タイトルとを各「格」毎に照合し、各話題タイトルの中から、少なくとも一の「格」に第一形態素情報の各形態素を含む第二形態素情報を検索することができるので、割合計算部321は、通常の語順とは異なるものから構成される発話内容、例えば”人が犬を噛む”である場合には、主体格の形態素が”人”、対象格の形態素が”犬”であることから、その各「格」と一致する第二形態素情報を検索することができ、その第二形態素情報に関連付けられている回答内容{”本当に?”又は”意味がよくわかんないよ”など}を取得することができる。
【0115】
即ち、割合計算部321は、識別が困難な発話内容、例えば”人が犬を噛む”と”犬が人を噛む”とを識別することができるので、その識別した発話内容により適した回答、前者については例えば”本当に?”、後者については例えば”大丈夫?”をすることができる。
【0116】
(第三変更例)
図18に示すように、本変更例においては、上記実施形態及び上記各変更例に限定されるものではなく、会話制御装置1a,1bにある通信部800と、通信ネットワーク1000を介して通信部800との間でデータの送受信をするための通信部900と、通信部900に接続された各会話データベース500b〜500dと、サーバ2a〜2cとを備えてもよい(会話制御システム)。
【0117】
ここで、通信ネットワーク1000とは、データを送受信する通信網を意味するものであり、本実施形態では、例えば、インターネットなどが挙げられる。
【0118】
尚、本変更例では、便宜上、会話制御装置1a,1b、会話データベース500b〜500d、サーバ2a〜2cを限定しているが、これに限定されるものではなく、更に他の会話データベースを設けてもよい。このサーバ2a〜2cには、会話データベース500a〜500dに記憶されている内容と同様の内容が記憶されている。
【0119】
これにより、会話制御部300は、会話制御装置1aの内部に配置してある会話データベース500aのみならず、通信ネットワーク1000を介して、他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cをも参照することができるので、例えば、会話データベース500aの中から、話題検索命令信号に含まれる「格構成」に属する各形態素(第一形態素情報)と関連する談話範囲を検索することができない場合であっても、他の会話制御装置1b、会話データベース500b〜500d、サーバ2a〜2cを参照することにより、上記第一形態素情報と関連する談話範囲を検索することができ、利用者の発話文により適した回答文を検索することができる。
【0120】
[プログラム]
上記会話制御システム及び会話制御方法で説明した内容は、パーソナルコンピュータ等の汎用コンピュータにおいて、所定のプログラム言語を利用するための専用プログラムを実行することにより実現することができる。
【0121】
ここで、プログラム言語としては、本実施形態では、利用者が求める話題、ある事柄において利用者に対して抱く感情度、又は陳述文、肯定文、疑問文、反発文などの種類をその意味内容に応じて形態素と関連付けて階層的にデータベースに蓄積するための言語、例えば、本発明者らが開発したDKML(Discourse Knowledge Markup Language)、その他C言語等が挙げられる。
【0122】
即ち、会話制御装置1は、各会話データベース500a〜500dに格納されているデータ(第二形態素情報、回答文、回答種類、集合群、要素情報などの記憶情報)、その他の各部を、DKML(Discourse Knowledge Markup Language)等で構築し、この構築した記憶情報等を利用するためのプログラムを実行することにより実現することができる。
【0123】
このような本実施形態に係るプログラムによれば、利用者の発話内容を構成する各形態素を特定し、特定した各形態素から把握される意味内容を解析して、解析した意味内容に関連付けられている予め作成された回答内容を出力することで、利用者の発話内容に対応する最適な回答内容を出力することができるという作用効果を奏する会話制御装置、会話制御システム及び会話制御方法を一般的な汎用コンピュータで容易に実現することができる。
【0124】
更に、上記通信部800と通信部900との間の通信は、通信ネットワークを介して、DKML等からなるプロトコルによってデータを送受信してもよい。これにより、会話制御装置1は、例えば、会話制御装置に利用者の発話内容に適した回答内容がない場合には、通信ネットワーク1000を通じて、DKML等の約束事に従って、利用者の発話内容に適した回答内容(DKMLなどで記述されたもの)を検索し、検索した回答内容を取得することができる。
【0125】
尚、プログラムは、記録媒体に記録することができる。この記録媒体は、図19に示すように、例えば、ハードディスク1100、フレキシブルディスク1200、コンパクトディスク1300、ICチップ1400、カセットテープ1500などが挙げられる。このようなプログラムを記録した記録媒体によれば、プログラムの保存、運搬、販売などを容易に行うことができる。
【0126】
[第二実施形態]
(会話制御システムの基本構成)
本発明の第二実施形態について図面を参照しながら説明する。図20は、本実施形態に係る会話制御システムの内部構造を示す図である。同図に示すように、会話制御システムにおける会話制御装置1は、第一実施形態における会話制御装置1の内部構造とほぼ同じであるが、回答文検索部330に替えてファイル検索部340を有する点で相違する。この相違する点以外は、第一実施形態及び変更例の構造と同じであるので、相違する点以外の構造についての説明は省略する。
【0127】
第一実施形態では、会話制御装置1が、利用者からの入力情報に基づいて入力情報に対応する最適な回答内容を取得する処理について説明したが、本実施形態では、会話制御装置1が、利用者からの入力情報を、主体格、対象格等の属性に分類し、分類したいずれかの属性に属する形態素を用いて、複数のファイル名とその形態素とを照合し、各ファイル名の中から、その形態素と一致するファイル名を取得し、取得したファイル名を画面上に出力する処理について説明する。具体的な説明は以下の通りである。
【0128】
ファイル検索部340は、話題検索部320で検索された話題タイトルに基づいて、話題タイトルを構成するいずれかの属性(一以上の属性)に属する形態素を抽出し、抽出した形態素と各ファイル名とを照合し、該各ファイル名の中から、形態素と一致するファイル名を検索する第二検索手段である。
【0129】
ここで、会話データベース500は、文字、図形等の情報データ又は情報データの見出しを含むタイトル(以下、このタイトルを「ファイル名」として説明する)を予め複数記憶するタイトル記憶手段であり、このファイル名には、本実施形態では、図21に示すように、ファイルの容量を示すサイズ、ファイルの内容を更新した日時などが関連付けれている。
【0130】
具体的には、図21に示すように、例えば、話題検索部320から入力された話題タイトルが(私;B技術の資料;見たい){私は、B技術の資料を見たい}である場合には、ファイル検索部340は、その話題タイトルを構成する各属性の中から、一の属性(例えばオブジェクト)を選択し、選択した属性に属する形態素(B技術の資料)を取得する。尚、この選択する属性は、オブジェクト(対象格)以外のサブジェクト(主体格)、アクション(動詞)であってもよい。
【0131】
属性(オブジェクト)に属する形態素を取得したファイル検索部340は、取得した形態素と各ファイル名(A技術の資料、B技術の資料、C技術の資料、D技術の資料・・・)とを照合し、各ファイル名の中から、上記形態素と一致するファイル名を取得する。ファイル検索部340は、取得したファイル名を管理部310に出力し、管理部310からファイル名が入力された出力部600は、入力されたファイル名を画面上に表示させる。
【0132】
(会話制御装置を用いた会話制御方法)
上記構成を有する会話制御装置1による会話制御方法は、以下の手順により実施することができる。話題タイトル(第二形態素情報)を取得するまでの手順は、第一実施形態における手順(S101〜S107)と同様の手順で行うことができる。このため、以下に述べる会話制御方法では、話題タイトルが取得された以降のフローについて説明する。
【0133】
先ず、話題検索部320から話題タイトルが入力されたファイル検索部340は、入力された話題タイトルを構成するいずれかの属性に属する形態素を抽出し、抽出した形態素と会話データベース500に記憶されている複数のファイル名とを照合し、各ファイル名の中から、上記形態素と一致するファイル名を取得するステップを行う。
【0134】
例えば、図21に示すように、話題検索部320から入力された話題タイトルが(私;B技術の資料;見たい){私は、B技術の資料を見たい}である場合には、ファイル検索部340は、その話題タイトルを構成する各属性の中から、一の属性(例えばオブジェクト)を選択し、選択した属性に属する形態素(B技術の資料)を取得する。尚、この属性の選択は、オブジェクト以外のサブジェクト、アクションであってもよい。
【0135】
その後、属性(オブジェクト)に属する形態素を取得したファイル検索部340は、取得した形態素と各ファイル名(A技術の資料、B技術の資料、C技術の資料、D技術の資料・・・)とを照合し、各ファイル名の中から、上記形態素と一致するファイル名を取得するステップを行う。ファイル検索部340は、取得したファイル名を管理部310に出力し、ファイル検索部340からファイル名が入力された出力部600は、入力されたファイル名を画面上に表示させる。
【0136】
尚、ファイル検索部340は、選択部322で選択された話題タイトルに基づいて、話題タイトルを構成するいずれかの属性に属する形態素を抽出し、抽出した形態素と各ファイル名とを照合し、各ファイル名の中から、該形態素と一致するファイル名を検索してもよい。
【0137】
これにより、割合計算部321が、各話題タイトル毎に、話題タイトルに対して該第一形態素情報が占める割合を計算し、選択部322が、各話題タイトル毎に計算された各割合の大きさに応じて、各話題タイトルの中から、一の話題タイトルを選択することができるので、選択部322は、例えば、第一形態素情報が話題タイトルに占める割合の大きい話題タイトルを、複数ある話題タイトル群の中から取得することができれば、第一形態素情報から構成される意味空間を踏襲した話題タイトルをより的確に取得することができ、結果的にファイル検索部340は、その話題タイトルに属する形態素を用いて、利用者が望むファイル名をより的確かつ迅速に検索することができる。
【0138】
(会話制御装置及び会話制御方法による作用及び効果)
このような本願に係る発明によれば、ファイル検索部340が、検索された話題タイトルに基づいて、話題タイトルを構成するいずれかの属性に属する形態素を抽出し、抽出した形態素と各ファイル名とを照合し、各ファイル名の中から、形態素と一致するファイル名を検索することができるので、ファイル検索部340は、検索された話題タイトルに基づいて、複数のファイル名の中から、検索された話題タイトルの意味内容に関連するタイトルを迅速に検索することができる。
【0139】
また、ファイル検索部340は、検索した話題タイトルを構成する形態素の属性を特定し、その属性に属する形態素を用いて、各ファイル名の中から、その形態素と一致するファイル名を検索することができるので、例えば主体格の属性に属する形態素を用いれば、主体に関係するファイル名のみを検索することができる。
【0140】
【発明の効果】
以上説明したように、本発明によれば、利用者から入力された入力情報を構成する各形態素を特定し、特定した形態素を用いてその形態素に関連するファイルなどのタイトルを検索することで、利用者の希望するタイトルをより迅速に検索することができる。
【図面の簡単な説明】
【図1】第一実施形態に係る会話制御システムの概略構成を示すブロック図である。
【図2】第一実施形態における会話制御部及び文解析部の内部構造を示すブロック図である。
【図3】第一実施形態における形態素抽出部で抽出する各形態素の内容をを示す図である。
【図4】第一実施形態における文節解析部で抽出する各文節の内容を示す図である。
【図5】第一実施形態における文構造解析部で特定する「格」の内容を示す図である。
【図6】第一実施形態における発話種類判定部で特定する「発話文のタイプ」を示す図である。
【図7】第一実施形態における発話種類データベースで格納する各辞書の内容を示す図である。
【図8】第一実施形態における会話データベースの内部で構築される階層構造の内容を示す図である。
【図9】第一実施形態における会話データベースの内部で構築される階層構造の詳細な関係を示す図である。
【図10】第一実施形態における会話データベースの内部で構築される「話題タイトル」の内容を示す図である。
【図11】第一実施形態における会話データベースの内部で構築される「話題タイトル」に関連付けられている「回答文のタイプ」の内容を示す図である。
【図12】第一実施形態における会話データベースの内部で構築される「談話範囲」に属する「話題タイトル」及び「回答文」の内容を示す図である。
【図13】第一実施形態に係る会話制御方法の手順を示すフロー図である。
【図14】第一変更例における形態素抽出部で整理する発話内容を示す図である。
【図15】第二変更例における話題検索部の内部構成を示す図である。
【図16】第二変更例における割合計算部が「格構成」に属する各形態素と各「話題タイトル」とを「話題タイトル」毎に照合する様子を示す図である。
【図17】第二変更例における割合計算部が「格構成」に属する各形態素と「話題タイトル」に属する各形態素とを「格」毎に照合する様子を示す図である。
【図18】第三変更例における会話制御システムの概略構成を示す図である。
【図19】第一実施形態におけるプログラムを格納する記録媒体を示す図である。
【図20】第二実施形態に係る会話制御システムの概略構成を示すブロック図である。
【図21】第二実施形態におけるファイル検索部が会話データベースの中から一のファイル名を取得するまでの一連の流れを示す図である。
【符号の説明】
1…会話制御装置、100…入力部、200…音声認識部、300…会話制御部、310…管理部、320…話題検索部、321…割合計算部、322…選択部、330…回答文検索部、340…ファイル検索部、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, a conversation control method, and a program for searching for a title of a file related to input information based on input information input from a user.
[0002]
[Prior art]
In a conventional file management system, a file made up of characters, figures, etc. is stored in association with the title of the file. Thus, when searching for a file desired by the user, the user can refer to the title group corresponding to the file group, and thus can quickly acquire the corresponding file.
[0003]
In addition, when the number of titles increases, the user can classify the titles so that they have a superordinate concept or subordinate concept relationship. By referring to the classified titles, You can search quickly.
[0004]
[Problems to be solved by the invention]
However, when there are many title divisions, the user first refers to the title corresponding to the superordinate concept and then refers to the title corresponding to the subordinate concept, and thus reaches the corresponding title. It took a considerable amount of time.
[0005]
On the other hand, in recent years, there is a system that can search an input title from a plurality of titles by allowing the user to input a title desired by the user. Thus, the user can quickly search for a desired title without referring to each title having a relationship such as a superordinate concept.
[0006]
However, when a user constructs a plurality of titles so that they have a relationship of a superordinate concept or a subordinate concept, for example, a title “prior art” is constructed in a subordinate concept of a certain title, A subordinate concept may have a similar title “prior art”. In this case, when the user searches for the title “prior art”, if “prior art” is entered, multiple titles of the “prior art” will be searched, and the user desires “self” The title "prior art" could not be searched quickly.
[0007]
Therefore, the present application has been made in view of the above points, and identifies each morpheme that constitutes input information input from the user, and searches for a title such as a file related to the morpheme using the identified morpheme. It is an object of the present invention to provide a conversation control device, a conversation control method, and a program capable of more quickly searching for a title desired by a user.
[0008]
[Means for Solving the Problems]
The invention according to the present application has been made in order to solve the above-described problem, and includes any one morpheme that includes one character, a plurality of character strings, or a combination thereof and belongs to each attribute such as a subject case and a target case. Is stored in advance as second morpheme information, a plurality of titles including information data such as characters and figures or headings of the information data are stored in advance, and a character string indicating input information based on input information input by a user And at least one morpheme constituting the minimum unit of the character string is extracted as first morpheme information based on the specified character string, and the extracted first morpheme information and each second morpheme information are collated. From the second morpheme information, the second morpheme information including at least one morpheme constituting the first morpheme information is searched, and the second morpheme information is obtained based on the searched second morpheme information. Extracting morphemes belonging to one of the attributes to be formed, extracted collated with morphemes and each title from among the titles, characterized by searching a title that matches the morphemes.
[0009]
According to such an invention according to the present application, the conversation control device extracts morphemes belonging to any attribute constituting the second morpheme information based on the searched second morpheme information, and the extracted morpheme and each title Since the title that matches the morpheme can be searched from among the titles, the conversation control device is based on the searched second morpheme information (morpheme constituting the input information input by the user). Thus, a title related to the semantic content of the searched second morpheme information can be quickly searched from a plurality of topic titles.
[0010]
In addition, the conversation control device can specify the attribute of the morpheme constituting the searched second morpheme information, and use the morpheme belonging to the attribute to search for a title that matches the morpheme from each title. Therefore, if a morpheme belonging to the subject case attribute is used, a title related to the subject can be searched.
[0011]
  In the above configuration, the extracted first morpheme information and each second morpheme information are collated, and for each second morpheme information, the ratio of the first morpheme information to the second morpheme information is calculated. One second morpheme information is selected from each second morpheme information according to the size of each ratio calculated for each morpheme information, and the second morpheme information is selected based on the selected second morpheme information. A morpheme belonging to one of the constituent attributes is extracted, the extracted morpheme and each title are collated, and a title matching the morpheme is searched from each title. Also,The conversation control system further includes element storage means for previously storing a plurality of pieces of element information indicating an entire set group including a plurality of the morpheme sets in association with the set group, and the morpheme extraction means includes the The morpheme extracted from a character string is compared with each set group, the set group including the morpheme is selected from each set group, and the element information associated with the selected set group is Extracted as first morpheme information. In addition, a phrase analysis unit that summarizes in a phrase format based on the first morpheme information extracted by the morpheme extraction unit, and each morpheme of the first morpheme information that is summarized in a phrase format by the phrase analysis unit A sentence structure analyzing means for classifying the cases into cases. Further, each discourse range that is each morpheme of the second morpheme information is configured in a hierarchical structure including a relationship of a higher concept, a lower concept, a synonym, and an antonym with respect to another discourse range. .
[0012]
As a result, the conversation control device calculates the ratio of the first morpheme information to the second morpheme information for each second morpheme information, and according to the size of each ratio calculated for each second morpheme information. Since one second morpheme information can be selected from each second morpheme information, the conversation control device has, for example, a first morpheme information (an element constituting user input information) as the second morpheme information. If the second morpheme information with a large proportion of morpheme information can be acquired from a plurality of second morpheme information groups, the second morpheme information that follows the semantic space composed of the first morpheme information is more accurately obtained. As a result, by using the morpheme belonging to the second morpheme information, the file title desired by the user can be searched more accurately and quickly.
[0013]
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.
[0014]
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.
[0015]
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”.
[0016]
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”.
[0017]
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.
[0018]
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.
[0019]
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.
[0020]
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.
[0021]
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.
[0022]
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,.
[0023]
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.
[0024]
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.
[0025]
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.
[0026]
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.
[0027]
The phrase analysis unit 420 that collects 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.
[0028]
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).
[0029]
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.
[0030]
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). For example, when the dependency element of each morpheme is “NO” or “NO”, the sentence structure analysis unit 430 determines that the morpheme before the dependency element is an object (target).
[0031]
Further, for example, when the dependency element of each morpheme is “Yes”, the sentence structure analysis unit 430 includes an action (predicate; this predicate is composed of a verb, an adjective, and the like). It is determined that
[0032]
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.
[0033]
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.
[0034]
In this embodiment, as shown in FIG. 6, the “spoken sentence type” includes 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.
[0035]
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.
[0036]
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.
[0037]
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.
[0038]
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 “-”).
[0039]
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”.
[0040]
As a result, the utterance type determination unit 440 compares 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).
[0041]
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.
[0042]
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. 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 composed of one character, a plurality of character strings, or a combination thereof, and stores a plurality of morpheme in advance as a second morpheme information, any one morpheme belonging to each attribute such as subject case and target case. It is also a means.
[0043]
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.
[0044]
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.
[0045]
As described above, the discourse range is composed of each topic. In the present embodiment, for example, if the discourse range is an A movie name, it includes a plurality of topics related to “A movie name”. .
[0046]
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). .
[0047]
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.
[0048]
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.
[0049]
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".
[0050]
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.
[0051]
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).
[0052]
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).
[0053]
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.
[0054]
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 in Koshien "), (LA; place affirmative sentence" I like the serious face when standing on the batting " ), (NA; repulsion affirmation "I don't want to talk to people who don't like Sato, goodbye").
[0055]
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.
[0056]
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.
[0057]
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 at least the first morpheme information from each second morpheme information. It is the 1st search means which searches the 2nd morpheme information containing one morpheme. 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.
[0058]
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”.
[0059]
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.
[0060]
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.
[0061]
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.
[0062]
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).
[0063]
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.)
[0064]
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.
[0065]
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.
[0066]
(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.
[0067]
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.
[0068]
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.
[0069]
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).
[0070]
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.
[0071]
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.
[0072]
The phrase analysis unit 420 that collects 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.
[0073]
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, 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”.
[0074]
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.
[0075]
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; It is determined.
[0076]
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.
[0077]
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.
[0078]
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.
[0079]
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.
[0080]
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).
[0081]
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.
[0082]
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”.
[0083]
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.
[0084]
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 ; *; 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.
[0085]
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.
[0086]
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).
[0087]
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.
[0088]
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.
[0089]
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).
[0090]
(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.
[0091]
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.
[0092]
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.
[0093]
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.
[0094]
(Example of change)
In addition, this invention is not limited to the said embodiment, The change as shown below can be added.
[0095]
(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.
[0096]
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. 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”.
[0097]
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".
[0098]
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.
[0099]
(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.
[0100]
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 compared with the first morpheme information. It is a calculation means for calculating the proportion of information.
[0101]
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 collated 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.
[0102]
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 composition” 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.
[0103]
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. .
[0104]
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 a 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.
[0105]
Thereby, 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 calculates each ratio calculated for each second morpheme information. Since one second morpheme information can be selected from each second morpheme information according to the size of the first morpheme information, the selection unit 322 configures, for example, the first morpheme information (the user's utterance content) If the second morpheme information having a large percentage of the second morpheme information can be acquired from a plurality of second morpheme information groups, the second morpheme follows the semantic space composed of the first morpheme information. Information can be acquired more accurately.
[0106]
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.
[0107]
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”.
[0108]
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.
[0109]
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.
[0110]
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.
[0111]
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%).
[0112]
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).
[0113]
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.
[0114]
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.
[0115]
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?”
[0116]
(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).
[0117]
Here, the communication network 1000 means a communication network that transmits and receives data. In the present embodiment, for example, the Internet is used.
[0118]
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.
[0119]
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.
[0120]
[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.
[0121]
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.
[0122]
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).
[0123]
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.
[0124]
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.
[0125]
The program can be recorded on a recording medium. Examples of the recording medium include a hard disk 1100, a flexible disk 1200, a compact disk 1300, an IC chip 1400, and a cassette tape 1500, as shown in FIG. According to the recording medium on which such a program is recorded, the program can be easily stored, transported, sold, and the like.
[0126]
[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 has a file search unit 340 instead of the answer sentence search unit 330. It is different in point. 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.
[0127]
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 The input information from the user is classified into attributes such as subject case, target case, etc., and morphemes belonging to one of the classified attributes are used to collate multiple file names with their morphemes. A process for acquiring a file name that matches the morpheme and outputting the acquired file name on the screen will be described. The specific explanation is as follows.
[0128]
The file search unit 340 extracts morphemes belonging to any attribute (one or more attributes) constituting the topic title based on the topic title searched by the topic search unit 320, and extracts the extracted morpheme, each file name, And searching for a file name matching the morpheme from the file names.
[0129]
Here, the conversation database 500 is a title storage unit that stores in advance a plurality of titles including information data such as characters and figures or headings of the information data (hereinafter, this title will be described as “file name”). In the present embodiment, as shown in FIG. 21, the name is associated with the name indicating the size of the file, the date and time when the contents of the file are updated, and the like.
[0130]
Specifically, as shown in FIG. 21, for example, the topic title input from the topic search unit 320 is (I; B technology material; I want to see) {I want to see B technology material}. In this case, the file search unit 340 selects one attribute (for example, an object) from among the attributes constituting the topic title, and acquires a morpheme (B technology material) belonging to the selected attribute. The attribute to be selected may be a subject (subject) other than an object (target case) or an action (verb).
[0131]
The file search unit 340 that acquired the morpheme belonging to the attribute (object) collates the acquired morpheme with each file name (A technology material, B technology material, C technology material, D technology material,...). Then, a file name that matches the morpheme is acquired from each file name. The file search unit 340 outputs the acquired file name to the management unit 310, and the output unit 600 to which the file name is input from the management unit 310 displays the input file name on the screen.
[0132]
(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 until the topic title (second morpheme information) is acquired can be performed by the same procedure as the procedure (S101 to S107) in the first embodiment. Therefore, in the conversation control method described below, the flow after the topic title is acquired will be described.
[0133]
First, the file search unit 340 to which the topic title is input from the topic search unit 320 extracts morphemes that belong to any attribute that constitutes the input topic title and stores them in the extracted morpheme and conversation database 500. A step of collating a plurality of file names and obtaining a file name matching the morpheme from each file name is performed.
[0134]
For example, as shown in FIG. 21, when the topic title input from the topic search unit 320 is (I; B technology material; I want to see) {I want to see B technology material}, a file The search unit 340 selects one attribute (for example, an object) from among the attributes constituting the topic title, and acquires a morpheme (B-technology material) belonging to the selected attribute. This attribute selection may be a subject or action other than an object.
[0135]
After that, the file search unit 340 that acquired the morpheme belonging to the attribute (object), the acquired morpheme and each file name (A technology material, B technology material, C technology material, D technology material,...) And obtaining a file name that matches the morpheme from the file names. The file search unit 340 outputs the acquired file name to the management unit 310, and the output unit 600 to which the file name is input from the file search unit 340 displays the input file name on the screen.
[0136]
Note that the file search unit 340 extracts morphemes belonging to any of the attributes constituting the topic title based on the topic title selected by the selection unit 322, collates the extracted morpheme with each file name, A file name that matches the morpheme may be retrieved from the file names.
[0137]
Accordingly, the ratio calculation unit 321 calculates the ratio of the first morpheme information to the topic title for each topic title, and the selection unit 322 calculates the size of each ratio calculated for each topic title. Accordingly, since one topic title can be selected from each topic title, the selection unit 322 selects, for example, a plurality of topic titles having a large proportion of the first morpheme information in the topic title. If it can be acquired from the group, it is possible to more accurately acquire a topic title that follows the semantic space composed of the first morpheme information, and as a result, the file search unit 340 acquires a morpheme belonging to the topic title. Can be used to more accurately and quickly search for a file name desired by the user.
[0138]
(Operation and effect of conversation control device and conversation control method)
According to such an invention according to the present application, the file search unit 340 extracts morphemes belonging to any of the attributes constituting the topic title based on the searched topic title, and the extracted morpheme, each file name, , And the file name matching the morpheme can be searched from among the file names. Therefore, the file search unit 340 is searched from a plurality of file names based on the searched topic titles. The title related to the semantic content of the topic title can be searched quickly.
[0139]
In addition, the file search unit 340 can specify the attribute of the morpheme constituting the searched topic title, and use the morpheme belonging to the attribute to search for a file name that matches the morpheme from each file name. Therefore, for example, if a morpheme belonging to the attribute of the subject is used, only the file name related to the subject can be searched.
[0140]
【The invention's effect】
As described above, according to the present invention, by specifying each morpheme that constitutes the input information input from the user and searching for a title such as a file related to the morpheme using the specified morpheme, The title desired by the user can be searched more quickly.
[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 according to 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 in the second modified example 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 a series of flow until the file search unit in the second embodiment acquires one file name from the conversation database.
[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 340 ... file search unit 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 600 ... Output unit 700 ... Speech recognition dictionary storage unit 800 ... Communication unit 900 ... Communication unit 1000 ... Communication network 1100 ... Hard disk 1200 ... Flexible disk 1300 ... Compact disk 1400 ... IC chip, 1500 ... cassette tape

Claims (9)

一つの文字、複数の文字列又はこれらの組み合わせからなり、主体格、対象格、及び動作の各属性毎に対応付けられた各形態素を第二形態素情報として予め複数記憶する形態素記憶手段と、
文字、図形等の情報データを格納するファイルのタイトルを予め複数記憶するタイトル記憶手段と、
利用者から入力された入力情報に基づいて、該入力情報を示す文字列を特定する文字認識手段と、
前記文字認識手段で特定された前記文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出する形態素抽出手段と、
前記形態素抽出手段で抽出された前記第一形態素情報に基づいて文節形式にまとめる文節解析手段と、
前記文節解析手段で文節形式にまとめられた第一形態素情報の各形態素を主体格、対象格、動作に分類する文構造解析手段と、
前記形態素抽出手段で抽出され、前記文構造解析手段により主体格、対象格、動作に分類された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する少なくとも一つの前記形態素を含む前記第二形態素情報を検索する第一検索手段と、
前記第一検索手段で検索された前記第二形態素情報に基づいて、該第二形態素情報を構成するいずれかの属性に属する前記形態素を抽出し、抽出した該形態素と前記各タイトルとを照合し、該各タイトルの中から、該形態素と一致する前記タイトルを検索する第二検索手段とを有する会話制御装置であり、
さらに、前記第一検索手段は、前記形態素抽出手段で抽出され、前記文構造解析手段で主体格、対象格、動作に分類された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報毎に、前記第二形態素情報に対して該第一形態素情報が占める割合を計算する計算手段と、
前記計算手段で前記第二形態素情報毎に計算された前記各割合の大きさに応じて、前記各第二形態素情報の中から、一の前記第二形態素情報を選択する選択手段とを有し、
前記第二検索手段は、前記選択手段で選択された前記第二形態素情報に基づいて、該第二形態素情報を構成するいずれかの属性に属する前記形態素を抽出し、抽出した該形態素と各タイトルとを照合し、各タイトルの中から、該形態素と一致するタイトルを検索することを特徴とする会話制御装置。
A morpheme storage means that consists of one character, a plurality of character strings, or a combination thereof, and stores in advance a plurality of morphemes associated with each attribute of subject case, target case, and action as second morpheme information;
Title storage means for storing in advance a plurality of titles of files storing information data such as characters and graphics;
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;
A phrase analysis means for grouping into a phrase format based on the first morpheme information extracted by the morpheme extraction means;
Sentence structure analysis means for classifying each morpheme of the first morpheme information summarized in the phrase format by the phrase analysis means into subject case, target case, and action;
The first morpheme information extracted by the morpheme extraction unit and classified by the sentence structure analysis unit as subject case, target case, and action is compared with each second morpheme information, From the first search means for searching the second morpheme information including at least one morpheme constituting the first morpheme information,
Based on the second morpheme information searched by the first search means, the morpheme belonging to any attribute constituting the second morpheme information is extracted, and the extracted morpheme and each title are collated. , A conversation control device having second search means for searching for the title that matches the morpheme from the titles,
Further, the first search means collates the first morpheme information extracted by the morpheme extraction means and classified into subject case, target case and action by the sentence structure analysis means and each second morpheme information. Calculating means for calculating the ratio of the first morpheme information to the second morpheme information for each second morpheme information;
Selecting means for selecting one second morpheme information from the second morpheme information according to the size of each ratio calculated for each second morpheme information by the calculation unit; ,
The second search unit extracts the morpheme belonging to any attribute constituting the second morpheme information based on the second morpheme information selected by the selection unit, and the extracted morpheme and each title And searching for a title that matches the morpheme from each title.
請求項1に記載の会話制御装置であって、さらに、複数の前記形態素の集合からなる集合群の全体を示す要素情報を、該集合群に関連付けて予め複数記憶する要素記憶手段を有し、
前記形態素抽出手段は、前記文字列から抽出した前記形態素と前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を前記第一形態素情報として抽出することを特徴とする会話制御装置。
The conversation control device according to claim 1, further comprising element storage means for storing in advance a plurality of pieces of element information indicating an entire set group including a plurality of sets of the morphemes in association with the set group,
The morpheme extraction unit collates the morpheme extracted from the character string with each set group, selects the set group including the morpheme from the set groups, and associates the set group with the selected set group. The conversation control device is characterized in that the extracted element information is extracted as the first morpheme information.
請求項1又は2に記載の会話制御装置であって、前記第二検索手段による前記タイトルの検索に際して、前記第二形態素情報の各形態素が利用者が発話している内容について関連性のある範囲を意味する各談話範囲に含まれる前記タイトルに一致するか否かを判断し、前記談話範囲は、他の談話範囲との関係で上位概念、下位概念、同義語、対義語の関係からなる階層構造に構成されることを特徴とする会話制御装置。The conversation control apparatus according to claim 1 or 2 , wherein when the title is searched for by the second search means , a range in which each morpheme of the second morpheme information is related to a content spoken by a user. Whether or not it matches the title included in each discourse range , and the discourse range is a hierarchical structure consisting of a relationship between a higher concept, a lower concept, a synonym, and an antonym in relation to other discourse ranges A conversation control device characterized by being configured. 一つの文字、複数の文字列又はこれらの組み合わせからなり、主体格、対象格、及び動作の各属性毎に対応付けられた各形態素を第二形態素情報として予め形態素記憶手段に複数記憶するステップと、
文字、図形等の情報データを格納するファイルのタイトルを予めタイトル記憶手段に複数記憶するステップと、
文字認識手段が、利用者から入力された入力情報に基づいて、該入力情報を示す文字列を特定するステップと、
形態素抽出手段が、前記文字認識手段で特定された前記文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出するステップと、
文節解析手段が、前記形態素抽出手段で抽出された前記第一形態素情報に基づいて文節形式にまとめるステップと、
文構造解析手段が、前記文節解析手段で文節形式にまとめられた第一形態素情報の各形態素を主体格、対象格、動作に分類するステップと、
第一検索手段が、前記形態素抽出手段で抽出され、前記文構造解析手段で主体格、対象格、動作に分類された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する少なくとも一つの前記形態素を含む前記第二形態素情報を検索する第一検索ステップと、
第二検索手段が、前記第一検索手段で検索された前記第二形態素情報に基づいて、該第二形態素情報を構成するいずれかの属性に属する前記形態素を抽出し、抽出した該形態素と前記各タイトルとを照合し、該各タイトルの中から、該形態素と一致する前記タイトルを検索する第二検索ステップとを有し、
さらに、前記第一検索ステップは、
前記第一検索手段が備える計算手段が、前記形態素抽出手段で抽出され、前記文構造解析手段で主体格、対象格、動作に分類された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報毎に、前記第二形態素情報に対して該第一形態素情報が占める割合を計算するステップと、
前記第二検索手段が備える選択手段が、前記計算手段で前記第二形態素情報毎に計算された前記各割合の大きさに応じて、前記各第二形態素情報の中から、一の前記第二形態素情報を選択するステップとを有し、
前記第二検索ステップは、
前記選択手段で選択された前記第二形態素情報に基づいて、該第二形態素情報を構成するいずれかの属性に属する前記形態素を抽出し、抽出した該形態素と各タイトルとを照合し、各タイトルの中から、該形態素と一致するタイトルを検索するステップを有することを特徴とするコンピュータの会話制御方法。
A step of storing a plurality of each morpheme consisting of one character, a plurality of character strings, or a combination thereof and corresponding to each attribute of the subject case, the target case, and the action in the morpheme storage means in advance as second morpheme information ,
Storing a plurality of titles in advance in a title storage means for storing information data such as characters and graphics;
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;
A step of analyzing the clauses based on the first morpheme information extracted by the morpheme extraction unit;
The sentence structure analyzing means classifies each morpheme of the first morpheme information collected in the phrase format by the phrase analyzing means into a subject case, a target case, and an action;
The first search means collates the first morpheme information extracted by the morpheme extraction means and classified into subject case, target case, and action by the sentence structure analysis means, and the second morpheme information, A first search step for searching the second morpheme information including at least one of the morphemes constituting the first morpheme information from second morpheme information;
Based on the second morpheme information searched by the first search unit, a second search unit extracts the morpheme belonging to any attribute constituting the second morpheme information, and the extracted morpheme and the A second search step of matching each title and searching for the title that matches the morpheme from the titles,
Furthermore, the first search step includes
The calculation means included in the first search means extracts the first morpheme information and the second morpheme information extracted by the morpheme extraction means and classified into subject case, target case and action by the sentence structure analysis unit. Collating and calculating, for each second morpheme information, the ratio of the first morpheme information to the second morpheme information;
The selection means included in the second search means is configured to select one of the second morpheme information from the second morpheme information according to the size of each ratio calculated for the second morpheme information by the calculation means. Selecting morpheme information,
The second search step includes
Based on the second morpheme information selected by the selection means, the morpheme belonging to any attribute that constitutes the second morpheme information is extracted, the extracted morpheme and each title are collated, and each title A method for controlling conversation of a computer, comprising: searching for a title that matches the morpheme.
請求項4記載のコンピュータの会話制御方法であって、複数の前記形態素の集合からなる集合群の全体を示す要素情報を、該集合群に関連付けて予め要素記憶手段に複数記憶するステップを有し、
前記形態素抽出手段は、前記文字列から抽出した前記形態素と前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を前記第一形態素情報として抽出することを特徴とするコンピュータの会話制御方法。
5. The computer conversation control method according to claim 4 , further comprising a step of storing a plurality of pieces of element information indicating an entire set group including a plurality of sets of the morphemes in advance in an element storage unit in association with the set group. ,
The morpheme extraction unit collates the morpheme extracted from the character string with each set group, selects the set group including the morpheme from the set groups, and associates the set group with the selected set group. The extracted conversation information is extracted as the first morpheme information.
請求項4又は5に記載のコンピュータの会話制御方法であって、前記第二検索手段による前記タイトルの検索に際して、前記第二形態素情報の各形態素が利用者が発話している内容について関連性のある範囲を意味する各談話範囲に含まれる前記タイトルに一致するか否かを判断し、前記談話範囲は、他の談話範囲との関係で上位概念、下位概念、同義語、対義語の関係からなる階層構造に構成されることを特徴とするコンピュータの会話制御方法。 6. The conversation control method for a computer according to claim 4 or 5 , wherein when the title is searched by the second search means , each morpheme of the second morpheme information has a relevance with respect to a content spoken by a user. It is determined whether or not it matches the title included in each discourse range meaning a certain range, and the discourse range is composed of a relationship of a superordinate concept, a subordinate concept, a synonym, and an antonym with respect to another discourse range. A computer conversation control method comprising a hierarchical structure. コンピュータに、
一つの文字、複数の文字列又はこれらの組み合わせからなり、主体格、対象格、及び動作の各属性毎に対応付けられた各形態素を第二形態素情報として予め複数記憶するステップと、
文字、図形等の情報データを格納するファイルのタイトルを予め複数記憶するステップと、
利用者から入力された入力情報に基づいて、該入力情報を示す文字列を特定するステップと、
特定された前記文字列に基づいて、該文字列の最小単位を構成する少なくとも一つの形態素を第一形態素情報として抽出するステップと、
抽出された前記第一形態素情報に基づいて文節形式にまとめるステップと、
文節形式にまとめられた第一形態素情報の各形態素を主体格、対象格、動作に分類するステップと、
抽出され、主体格、対象格、動作に分類された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報の中から、該第一形態素情報を構成する少なくとも一つの前記形態素を含む前記第二形態素情報を検索するステップと、
検索された前記第二形態素情報に基づいて、該第二形態素情報を構成するいずれかの属性に属する前記形態素を抽出し、抽出した該形態素と前記各タイトルとを照合し、該各タイトルの中から、該形態素と一致する前記タイトルを検索するステップとを有する処理を実行させ、
さらに、コンピュータに、抽出され、主体格、対象格、動作に分類された前記第一形態素情報と前記各第二形態素情報とを照合し、該各第二形態素情報毎に、前記第二形態素情報に対して該第一形態素情報が占める割合を計算するステップと、
前記第二形態素情報毎に計算された前記各割合の大きさに応じて、前記各第二形態素情報の中から、一の前記第二形態素情報を選択するステップと、
選択された前記第二形態素情報に基づいて、該第二形態素情報を構成するいずれかの属性に属する前記形態素を抽出し、抽出した該形態素と各タイトルとを照合し、各タイトルの中から、該形態素と一致するタイトルを検索するステップとを有する処理を実行させるためのプログラム。
On the computer,
Consisting of one character, a plurality of character strings, or a combination thereof, a step of storing a plurality of morphemes associated with each attribute of subject case, target case, and action in advance as second morpheme information;
Storing in advance a plurality of titles of files storing information data such as characters and graphics;
Identifying a character string indicating the input information based on the input information input by the user;
Extracting at least one morpheme constituting the minimum unit of the character string as first morpheme information based on the identified character string;
Summarizing in phrase form based on the extracted first morpheme information;
Classifying each morpheme of the first morpheme information grouped in clause form into subject case, target case, action,
The first morpheme information extracted and classified into subject case, target case, and action is compared with each second morpheme information, and at least the first morpheme information is configured from each second morpheme information Retrieving the second morpheme information including one of the morphemes;
Based on the searched second morpheme information, the morpheme belonging to any attribute that constitutes the second morpheme information is extracted, the extracted morpheme and each of the titles are collated, And a step of searching for the title that matches the morpheme,
Further, the computer compares the first morpheme information extracted and classified into subject case, target case, and action with each second morpheme information, and for each second morpheme information, the second morpheme information. Calculating a ratio of the first morpheme information to
Selecting one second morpheme information from the second morpheme information according to the size of each ratio calculated for each second morpheme information;
Based on the selected second morpheme information, extract the morpheme belonging to any attribute constituting the second morpheme information, collate the extracted morpheme and each title, from among each title, A program for executing a process including a step of searching for a title that matches the morpheme.
請求項7に記載のプログラムであって、コンピュータに複数の前記形態素の集合からなる集合群の全体を示す要素情報を、該集合群に関連付けて予め要素記憶手段に複数記憶するステップと、
前記文字列から抽出した前記形態素と前記各集合群とを照合し、前記各集合群の中から、該形態素を含む前記集合群を選択し、選択した該集合群に関連付けられた前記要素情報を前記第一形態素情報として抽出するステップとを有する処理を実行させるためのプログラム。
The program according to claim 7 , wherein a plurality of pieces of element information indicating an entire set group including a plurality of sets of the morphemes are stored in advance in an element storage unit in association with the set group.
The morpheme extracted from the character string is compared with each set group, the set group including the morpheme is selected from the set groups, and the element information associated with the selected set group is obtained. A program for executing a process including a step of extracting as the first morpheme information.
請求項7又は8に記載のプログラムであって、前記第二検索手段による前記タイトルの検索に際して、前記第二形態素情報の各形態素が利用者が発話している内容について関連性のある範囲を意味する各談話範囲に含まれる前記タイトルに一致するか否かを判断し、前記談話範囲は、他の談話範囲との関係で上位概念、下位概念、同義語、対義語の関係からなる階層構造に構成されるプログラム。 9. The program according to claim 7 , wherein each morpheme in the second morpheme information is related to a content spoken by a user when searching for the title by the second search unit. It is determined whether or not it matches the title included in each discourse range , and the discourse range is configured in a hierarchical structure including a relationship between a higher concept, a lower concept, a synonym, and an antonym in relation to other discourse ranges. Program.
JP2002222105A 2002-07-30 2002-07-30 Conversation control device, conversation control method, and program Expired - Fee Related JP4751565B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002222105A JP4751565B2 (en) 2002-07-30 2002-07-30 Conversation control device, conversation control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002222105A JP4751565B2 (en) 2002-07-30 2002-07-30 Conversation control device, conversation control method, and program

Publications (2)

Publication Number Publication Date
JP2004062684A JP2004062684A (en) 2004-02-26
JP4751565B2 true JP4751565B2 (en) 2011-08-17

Family

ID=31942237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002222105A Expired - Fee Related JP4751565B2 (en) 2002-07-30 2002-07-30 Conversation control device, conversation control method, and program

Country Status (1)

Country Link
JP (1) JP4751565B2 (en)

Also Published As

Publication number Publication date
JP2004062684A (en) 2004-02-26

Similar Documents

Publication Publication Date Title
JP3997105B2 (en) Conversation control system, conversation control device
JP4279883B2 (en) Conversation control system, conversation control method, program, and recording medium recording program
JP4751565B2 (en) Conversation control device, conversation control method, and program
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
JP4110011B2 (en) Conversation control device and conversation control method
JP4413486B2 (en) Home appliance control device, home appliance control method and program
JP4913850B2 (en) Information processing system and information processing method
JP3923378B2 (en) Robot control apparatus, robot control method and program
JP4038399B2 (en) Face image display device, face image display method and program
JP4274760B2 (en) Map output device, map output method and program
JP4751563B2 (en) Product discharge device, product discharge control method and program
JP4205370B2 (en) Conversation control system, conversation control method and program
JP4434553B2 (en) Information processing system, information processing apparatus, information processing method, program, and recording medium recording the program
JP2007305146A (en) Conversation control method, program, and recording medium recording program
JP4188622B2 (en) Access system and access control method
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
JP4253487B2 (en) Information acquisition device
JP4402868B2 (en) Information acquisition apparatus, information acquisition method, and program
JP4109964B2 (en) Information output device, information output method, and program
JP4832701B2 (en) Game machine, game control method, control program
JP4243079B2 (en) Premium discharging device, premium discharging control method and program
JP4312443B2 (en) Information notification system, information notification 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: 20080520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080819

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081017

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090205

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090225

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20090403

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4751565

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140527

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

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

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees