JP2008276543A - Interactive processing apparatus, response sentence generation method, and response sentence generation processing program - Google Patents
Interactive processing apparatus, response sentence generation method, and response sentence generation processing program Download PDFInfo
- Publication number
- JP2008276543A JP2008276543A JP2007119792A JP2007119792A JP2008276543A JP 2008276543 A JP2008276543 A JP 2008276543A JP 2007119792 A JP2007119792 A JP 2007119792A JP 2007119792 A JP2007119792 A JP 2007119792A JP 2008276543 A JP2008276543 A JP 2008276543A
- Authority
- JP
- Japan
- Prior art keywords
- sentence
- input
- input sentence
- response
- response sentence
- 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.)
- Pending
Links
Images
Landscapes
- Machine Translation (AREA)
Abstract
Description
本発明は、対話処理装置、応答文生成方法、及び応答文生成処理プログラムに係り、特に、ユーザからの入力文に対して応答文を生成してユーザと対話を行う対話処理装置、応答文生成方法、及び応答文生成処理プログラムに関する。 The present invention relates to a dialogue processing apparatus, a response sentence generation method, and a response sentence generation processing program, and more particularly to a dialogue processing apparatus and response sentence generation for generating a response sentence for an input sentence from a user and interacting with the user. The present invention relates to a method and a response sentence generation processing program.
ユーザと対話を行う対話処理装置において、ユーザに対して多様な表現を行うための技術として、特許文献1には、ユーザから入力される入力文に含まれる主要語に対して関連語を検索し、主要語および関連語の集合を入力の拡大表現として表現する技術が開示されており、例えば、「知」に対して「知恵、知性、知能、知識」のような言い換えを行っている。 As a technique for performing various expressions for a user in a dialog processing apparatus that performs a dialog with the user, Patent Literature 1 searches related words for a main word included in an input sentence input from the user. A technique for expressing a set of main words and related words as an expanded expression of an input is disclosed. For example, paraphrasing “wisdom, intelligence, intelligence, knowledge” is performed for “knowledge”.
また、特許文献2には、入力文に対して言い換え語句パターンをマッチングさせ、入力文を多様な表現に言い換えることにより、より適切に検索を行う技術が開示されており、例えば、『「平成」+数字列+「年」』に対しては、当該数字列の値に1988を加算して、これを西暦年とする言い換えを行っている。この言い換え規則により、例えば、「平成12年」は「西暦2000年」に変換される。 Patent Document 2 discloses a technique for performing a more appropriate search by matching a paraphrase phrase pattern to an input sentence and paraphrasing the input sentence into various expressions. For “+ numeric string +“ year ””, 1988 is added to the value of the numeric string, and this is used as the year of the year. With this paraphrase rule, for example, “2000” is converted to “2000 AD”.
さらに、特許文献3には、入力された言語表現に対して同義語である言い換え表現を生成し、言語表現とそれら言語表現に共通する上位の言語表現である上位言語表現とが対応付けて格納された電子辞書から少なくとも一部の上位言語表現を抽出し、抽出した上位言語表現と記憶された言語表現のうちの少なくとも一部とを同時に表示させ、表示された言語表現から1つ以上の言語表現の指定と表示された上位言語表現から1つの上位言語表現の指定とを受け付けることにより、適切な言い換え表現を登録する技術が開示されている。
しかしながら、上記特許文献1〜特許文献3は、入力文の一部の語句を関連語や同義語、適切な言い換え表現に言い換える技術であり、このように単純に語句の言い換えるのみでは表現が乏しく、ユーザと多様な対話を行うことができない、という問題点があった。 However, Patent Documents 1 to 3 are techniques for rephrasing a part of an input sentence as a related word, a synonym, or an appropriate paraphrased expression. There was a problem that various dialogues with the user could not be performed.
本発明は上記問題点を解決するためになされたものであり、ユーザと多様な対話を可能にする対話処理装置、応答文生成方法、及び応答文生成処理プログラムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an interactive processing device, a response sentence generation method, and a response sentence generation processing program that enable various interactions with a user.
上記目的を達成するため、請求項1に記載の発明は、ユーザと対話を行う際に当該ユーザからの入力となる入力文を示す入力文データを取得する取得手段と、前記取得手段により取得された入力文データにより示される入力文に対して肯定的な応答文、又は否定的な応答文を生成する生成手段と、前記生成手段により生成された応答文を出力する出力手段と、を備えている。 In order to achieve the above object, the invention according to claim 1 is acquired by an acquisition unit that acquires input sentence data indicating an input sentence to be input from the user when interacting with the user, and acquired by the acquisition unit. Generation means for generating a positive response sentence or a negative response sentence for the input sentence indicated by the input sentence data, and output means for outputting the response sentence generated by the generation means Yes.
請求項1記載の発明では、取得手段により、ユーザと対話を行う際に当該ユーザからの入力となる入力文を示す入力文データが取得され、生成手段により、取得手段により取得された入力文データにより示される入力文に対して肯定的な応答文、又は否定的な応答文が生成され、出力手段により、生成手段により生成された応答文が出力される。なお、上記取得手段は、例えば、キーボード等のユーザから入力文が入力されることにより入力文データを取得するものとしてもよく、また、例えば、ネットワークを介して外部装置から受信することにより入力データを取得するものとしてもよく、また、音声を認識により入力データを取得するものとしてもよい。また、上記出力手段は、応答文を表示することにより出力するものしてもよく、また、応答文を示す情報を外部装置へ出力するものとしてもよく、また、用紙等に印刷することにより出力するものしてもよく、また、応答文を音声で出力するものとしてもよい。 According to the first aspect of the present invention, input sentence data indicating an input sentence to be input from the user when interacting with the user is acquired by the acquiring means, and input sentence data acquired by the acquiring means is acquired by the generating means. A positive response sentence or a negative response sentence is generated with respect to the input sentence indicated by, and the output means outputs the response sentence generated by the generation means. The acquisition unit may acquire input sentence data by inputting an input sentence from a user such as a keyboard, for example. Also, for example, the input data may be received by receiving from an external device via a network. Or the input data may be acquired by recognizing a voice. Further, the output means may output by displaying a response sentence, may output information indicating the response sentence to an external device, or may be output by printing on paper or the like. The response sentence may be output by voice.
このように、請求項1記載の発明によれば、ユーザと対話を行う際に当該ユーザからの入力となる入力文を示す入力文データを取得し、取得された入力文データにより示される入力文に対して肯定的な応答文、又は否定的な応答文を生成し、生成した応答文を出力するので、ユーザと多様な対話が可能になる。 Thus, according to the first aspect of the present invention, the input sentence data indicating the input sentence to be input from the user when the user interacts with the user is acquired, and the input sentence indicated by the acquired input sentence data Since a positive response sentence or a negative response sentence is generated and the generated response sentence is output, various dialogs with the user are possible.
特に、入力文に対して肯定的な応答文を生成するようにした場合、ユーザは装置がユーザの味方でありサポータであるように考えるため、悩みなどを打ち明けやすくなり、また、ユーザとポジティブに話を進めることができるため、傾聴等に有効である
また、入力文に対して否定的な応答文を生成するようにした場合、ユーザは装置がユーザを厳しく鍛える存在であるように考えるため、ユーザの奮起を促すことができる。
In particular, when a positive response sentence is generated for an input sentence, the user thinks that the device is a friend of the user and a supporter, so it is easy to clarify troubles and to be positive with the user. Because it is possible to proceed with the talk, it is effective for listening etc. In addition, when a negative response sentence is generated for the input sentence, the user thinks that the device strictly trains the user, Users can be encouraged.
なお、請求項1記載の生成手段は、請求項2記載の発明のように、前記取得手段により取得された入力文データにより示される入力文の構文的構造を解析する解析手段と、前記構文的構造に応じて前記入力文を肯定的な応答文又は否定的な応答文に変換するための変換ルールを示す変換ルール情報を予め記憶した記憶手段と、前記記憶手段に記憶された変換ルール情報により示される変換ルールのうち、前記解析定手段による解析により特定された入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換する変換手段と、を有してもよい。 The generating means according to claim 1 includes the analyzing means for analyzing the syntactic structure of the input sentence indicated by the input sentence data acquired by the acquiring means, and the syntactic structure as in the invention according to claim 2. According to the storage means storing the conversion rule information indicating the conversion rule for converting the input sentence into a positive response sentence or a negative response sentence according to the structure, and the conversion rule information stored in the storage means Among the conversion rules shown, the input sentence is converted into a positive response sentence or a negative response sentence using a conversion rule corresponding to the syntactic structure of the input sentence specified by the analysis by the analysis determining means. Conversion means.
また、請求項2記載の発明は、請求項3記載の発明のように、前記解析手段が、前記入力文に対して形態素解析を行って当該入力文に含まれる動詞が非自立動詞、状態動詞、及び非状態動詞の何れであるかを解析し、前記記憶手段が、非自立動詞、状態動詞、及び非状態動詞に対応する緩和表現の語句を各々記憶し、前記変換手段が、前記記憶手段に記憶された非自立動詞、状態動詞、及び非状態動詞に対応する緩和表現の語句のうち、前記解析定手段による前記動詞の解析結果に対応する語句を用いて前記入力文を変換してもよい。 Further, in the invention according to claim 2, as in the invention according to claim 3, the analysis means performs a morphological analysis on the input sentence, and the verb included in the input sentence is a non-independent verb or a state verb. , And a non-state verb, the storage means stores a non-independent verb, a state verb, and a relaxation phrase corresponding to the non-state verb, respectively, and the conversion means includes the storage means. Non-independent verbs, state verbs, and relaxation expression words corresponding to non-state verbs stored in the table, the input sentence may be converted using a word corresponding to the analysis result of the verb by the analysis determining means. Good.
また、請求項2又は請求項3記載の変換手段は、請求項4記載の発明のように、前記入力文の構文的構造が複数の変換ルールに対応した場合に、各変換ルールを用いて当該入力文を前記応答文にそれぞれ変換し、変換された各応答文に文字数が所定文字数以内のものがある場合、文字数が前記所定文字数以内の各応答文のうち文字数の最も多い応答文を前記出力手段による出力対象として選択し、変換された各応答文に文字数が前記所定文字数以内のものがない場合、当該各応答文のうち文字数の最も少ない応答文を前記出力手段による出力対象として選択してもよい。 In addition, when the syntactic structure of the input sentence corresponds to a plurality of conversion rules, the conversion means according to claim 2 or claim 3 uses the respective conversion rules. The input sentence is converted into the response sentence, and when each converted response sentence has a number of characters within a predetermined number of characters, the response sentence having the largest number of characters among the response sentences with the number of characters within the predetermined number of characters is output. If the number of characters in the converted response sentences is not within the predetermined number of characters, the response sentence with the smallest number of characters is selected as the output target by the output means. Also good.
また、請求項2〜請求項4の何れか1項記載の生成手段は、請求項5記載の発明のように、ユーザとの親密度を導出する導出手段をさらに有し、前記記憶手段が、接続助詞、副詞、及び緩和表現の少なくとも1種類の語句を前記親密度の度合に応じて複数さらに記憶し、前記変換手段が、前記記憶手段に記憶された接続助詞、副詞、及び緩和表現の少なくとも1種類の複数の語句のうち、前記導出手段により導出された親密度に応じた語句を用いて前記入力文を変換してもよい。 Further, the generation means according to any one of claims 2 to 4 further includes a derivation means for deriving a closeness with a user as in the invention according to claim 5, wherein the storage means A plurality of words, at least one of conjunctive particles, adverbs, and relaxation expressions are further stored according to the degree of intimacy, and the conversion means stores at least one of connection particles, adverbs, and relaxation expressions stored in the storage means. You may convert the said input sentence using the phrase according to the familiarity derived | led-out by the said deriving means among several types of words / phrases.
また、請求項5記載の発明は、請求項6記載の発明のように、前記記憶手段が、ユーザとの対話回数をユーザ毎にさらに記憶し、前記導出手段が、前記記憶手段に記憶された、対話を行うユーザとの前記対話回数が多いほど前記親密度を高いものとして導出してもよい。 According to a fifth aspect of the invention, as in the sixth aspect of the invention, the storage means further stores the number of times of interaction with the user for each user, and the derivation means is stored in the storage means. The degree of closeness may be derived as the number of conversations with the user performing the conversation increases.
また、請求項2〜請求項6の何れか1項記載の発明は、請求項7記載の発明のように、前記記憶手段が、所定の否定的な語句と当該否定的な語句を肯定的に表現した肯定的な語句とを対応付けた対応語句データをさらに記憶し、前記変換手段が、前記入力文を肯定的な応答文に変換する場合で且つ当該入力文に前記否定的な語句が含まれる場合、又は、前記入力文を否定的な応答文に変換する場合で且つ当該入力文に前記肯定的な語句が含まれる場合、前記記憶手段に記憶されている対応語句データで対応付けられた語句を用いて変換してもよい。 Further, in the invention according to any one of claims 2 to 6, as in the invention according to claim 7, the storage means affirms a predetermined negative word and the negative word. Corresponding phrase data associated with the expressed positive phrase is further stored, and the conversion means converts the input sentence into a positive response sentence, and the input sentence includes the negative phrase Or when the input sentence is converted into a negative response sentence and the positive sentence is included in the input sentence, it is associated with the corresponding phrase data stored in the storage means You may convert using words.
一方、上記目的を達成するため、請求項8記載の発明の応答文生成方法は、ユーザと対話を行う際に当該ユーザからの入力となる入力文を示す入力文データを取得し、取得された入力文データにより示される入力文の構文的構造を解析し、記憶手段に予め記憶された、前記入力文の前記構文的構造に応じて当該入力文を肯定的な応答文又は否定的な応答文に変換するための変換ルールを示す変換ルール情報により示される変換ルールのうち、前記解析により特定された入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換する。 On the other hand, in order to achieve the above object, the response sentence generation method of the invention according to claim 8 is obtained by acquiring input sentence data indicating an input sentence to be input from the user when interacting with the user. Analyzes the syntactic structure of the input sentence indicated by the input sentence data, and stores the input sentence as a positive response sentence or a negative response sentence according to the syntactic structure of the input sentence, which is stored in the storage unit in advance. Among the conversion rules indicated by the conversion rule information indicating the conversion rule for converting to the input rule, the input sentence is a positive response sentence using the conversion rule corresponding to the syntactic structure of the input sentence specified by the analysis, Or convert it to a negative response sentence.
よって、請求項8記載の発明によれば、ユーザと対話を行う際に当該ユーザからの入力となる入力文をの構文的構造を解析し、入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換することができるので、ユーザと多様な対話が可能になる。 Therefore, according to the invention described in claim 8, when a dialogue with the user is performed, the syntactic structure of the input sentence to be input from the user is analyzed, and the conversion rule corresponding to the syntactic structure of the input sentence is used. Thus, since the input sentence can be converted into a positive response sentence or a negative response sentence, various dialogs with the user are possible.
一方、上記目的を達成するため、請求項9記載の発明の応答文生成処理プログラムは、入力された入力文データにより示されるユーザからの入力文の構文的構造を解析する解析ステップと、記憶手段に予め記憶された、前記入力文の前記構文的構造に応じて当該入力文を肯定的な応答文又は否定的な応答文に変換するための変換ルールを示す変換ルール情報により示される変換ルールのうち、前記解析ステップによる解析により特定された入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換する変換ステップと、を含んでいる。 On the other hand, in order to achieve the above object, a response sentence generation processing program according to claim 9 includes an analysis step for analyzing a syntactic structure of an input sentence from a user indicated by input sentence data, and storage means Of the conversion rule indicated by the conversion rule information indicating the conversion rule for converting the input sentence into a positive response sentence or a negative response sentence in accordance with the syntactic structure of the input sentence. A conversion step of converting the input sentence into a positive response sentence or a negative response sentence using a conversion rule corresponding to the syntactic structure of the input sentence specified by the analysis in the analysis step. It is out.
よって、請求項9記載の発明によれば、ユーザと対話を行う際に当該ユーザからの入力となる入力文をの構文的構造を解析し、入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換することができるので、ユーザと多様な対話が可能になる。 Therefore, according to the ninth aspect of the invention, when a dialogue with the user is performed, the syntactic structure of the input sentence that is input from the user is analyzed, and the conversion rule corresponding to the syntactic structure of the input sentence is used. Thus, since the input sentence can be converted into a positive response sentence or a negative response sentence, various dialogs with the user are possible.
以上説明したように、本発明によれば、ユーザと対話を行う際に当該ユーザからの入力となる入力文を示す入力文データを取得し、取得された入力文データにより示される入力文に対して肯定的な応答文、又は否定的な応答文を生成し、生成した応答文を出力するので、ユーザと多様な対話が可能になる、という優れた効果を有する。 As described above, according to the present invention, when the user interacts with the user, the input sentence data indicating the input sentence to be input from the user is acquired, and the input sentence indicated by the acquired input sentence data is obtained. Thus, a positive response sentence or a negative response sentence is generated, and the generated response sentence is output, so that it is possible to have various effects with the user.
以下、図面を参照して本発明の実施の形態について詳細に説明する。なお、以下では、本発明を、ユーザから否定的な入力文が入力された場合に、肯定的な応答文を生成して出力することにより傾聴を行う対話処理装置をパーソナル・コンピュータを用いて実現した場合を例として説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following, the present invention is realized by using a personal computer as an interactive processing device that listens by generating and outputting a positive response sentence when a negative input sentence is input from the user. This will be described as an example.
図1には、本実施の形態に係る対話処理装置10の電気系の要部構成を示すブロック図が示されている。
FIG. 1 is a block diagram showing the main configuration of the electrical system of the
同図に示すように、対話処理装置10は、各種情報を表示するディスプレイ12と、ユーザからの各種の操作指示が入力される、例えば、マウスやキーボードなどの入力装置14と、コンピュータ本体16と、を備えている。
As shown in the figure, the
コンピュータ本体16は、装置全体の動作を司るCPU(中央処理装置)20と、CPU20による各種処理プログラムの実行時のワークエリア等として用いられるRAM(Random Access Memory)22と、後述する応答文生成処理プログラムを含む各種制御プログラムや各種パラメータ等が予め記憶されたROM(Read Only Memory)24と、各種情報を記憶するために用いられるハードディスク26と、ディスプレイ12への操作画面やメッセージなどの各種情報の表示を制御する表示制御部28と、入力装置14に対して入力された操作指示を検出する操作入力検出部29と、が備えられており、これら各部はシステムバスBUSにより電気的に相互に接続されている。
The computer
従って、CPU20は、RAM22、ROM24、及びハードディスク26に対するアクセス、入力装置14を介した各種入力情報の取得、及びディスプレイ12に対する各種情報の表示を各々行うことができる。
Therefore, the
入力装置14には、ユーザと対話を行う際に当該ユーザからの入力となる入力文が入力される。
The
コンピュータ本体16は、入力装置14より入力された入力文に対して肯定的な応答文を生成し、生成した応答文をディスプレイ12に表示させる制御を行なうものとされている。
The computer
図2には、本実施の形態に係る対話処理装置10の機能的な構成を示す機能ブロック図が示されている。
FIG. 2 is a functional block diagram showing a functional configuration of the
同図に示されるように、対話処理装置10は、親密度導出部30と、入力文解析部32と、入力文変換部34と、受容応答生成部36と、応答選択部38と、を備えている。
As shown in the figure, the
本実施の形態に係る対話処理装置10は、ユーザ毎に当該ユーザから入力文が入力された回数を対話回数としてカウントしている。ハードディスク26には、ユーザ毎に対話回数が記憶されている。
The
親密度導出部30は、ハードディスク26、入力文変換部34、及び受容応答生成部36に接続されている。
The
親密度導出部30は、ユーザと対話を行う際に、ハードディスク26に記憶されている対話回数に基づいて当該ユーザとの親密度を導出し、導出した親密度情報を入力文変換部34及び受容応答生成部36へ出力するものとされている。なお、本実施の形態では、親密度を「高」、「中」、「低」の3段階のレベルで導出するものとしている。本実施の形態に係る親密度導出部30は、対話回数が50回以上の場合、親密度を「高」と導出し、対話回数が20回以上且つ50回未満の場合、親密度を「中」と導出し、対話回数が20回未満の場合、親密度を「低」と導出する。なお、この親密度のレベルの分け方や各レベルの対話回数の範囲については適宜変更可能である。
The
入力文解析部32は、入力装置14、ハードディスク26、及び入力文変換部34に接続されており、入力装置14より入力文を示す入力文データが入力される。
The input
入力文解析部32は、入力装置14より入力された入力文データにより示される入力文に対して形態素解析を行うことにより構文的構造を解析して単語の原形や当該単語の品詞(名詞や、格助詞、動詞、接続助詞、副詞、形容詞、係助詞、助動詞など)などの構文要素を特定し、特定した入力文の構文的構造を示す構文構造情報を入力文変換部34へ出力するものとされている。
The input
なお、一般的な形態素解析では、動詞は「自立動詞」「非自立動詞」として認識されるが、本実施の形態に係る形態素解析では、自立動詞を状態動詞と非状態動詞に分類している。この「状態動詞」とは、ある状態を表す動詞で、一般に進行形(・・・ている)をとらない動詞をさす。「非状態動詞」とは状態動詞以外の動詞をさす。 In general morphological analysis, verbs are recognized as “independent verbs” and “non-independent verbs”, but in the morphological analysis according to the present embodiment, independent verbs are classified into state verbs and non-state verbs. . The “state verb” is a verb representing a certain state, and generally refers to a verb that does not take a progressive form (...). “Non-state verb” refers to a verb other than a state verb.
このため、本実施の形態では、図3に示すような状態動詞の辞書データをハードディスク26に予め記憶させている。入力文解析部32は、ハードディスク26に記憶された状態動詞の辞書データを用いて自立動詞を「状態動詞」「非状態動詞」のいずれかに分類する。
For this reason, in the present embodiment, dictionary data of state verbs as shown in FIG. The input
また、本実施の形態では、形態素解析の結果、特定された接続助詞及び係助詞の語句が否定的な意味を有するものか否かを特定している。 Further, in the present embodiment, it is specified as a result of the morphological analysis whether or not the words of the identified connected particles and the associated particles have a negative meaning.
このため、本実施の形態では、図4(A)〜(C)に示すように、否定的な意味を有する否定接続助詞の辞書データ、否定的な意味を有する否定係助詞の辞書データ、及び否定的な意味を有する否定呼応副詞の辞書データをそれぞれハードディスク26に予め記憶させている。なお、図4(A)〜(C)では、否定接続助詞、否定係助詞、及び否定呼応副詞の各語句を親密度に応じてレベル分けしているが、本実施の形態では、必ずしもレベル分けする必要はない。
For this reason, in the present embodiment, as shown in FIGS. 4A to 4C, the dictionary data of negative connective particles having a negative meaning, the dictionary data of negative particle having a negative meaning, and Dictionary data of negative responsive adverbs having negative meanings are stored in advance in the
入力文解析部32は、形態素解析を行って特定した接続助詞や係助詞の語句をハードディスク26に記憶された否定接続助詞の辞書データ、否定係助詞の辞書データ及び否定呼応副詞の辞書データの各語句と比較することにより、当該特定した接続助詞や係助詞、呼応副詞の語句が否定接続助詞や否定係助詞、否定呼応副詞であるか否かを特定する。
The input
さらに、ハードディスク26には、入力文の構文的構造に応じて当該入力文を肯定的な応答文に変換するための変換ルールを示す変換ルール情報が予め記憶されている。
Furthermore, the
図5には、本実施の形態に係る変換ルール情報のデータ構造の一例が示されている。 FIG. 5 shows an example of the data structure of the conversion rule information according to the present embodiment.
同図に示すように、変換ルール情報には、入力文の構文的構造に応じて否定的な入力文を肯定的な応答文に変換するための構文的な変換ルールが定められている。 As shown in the figure, the conversion rule information defines a syntactic conversion rule for converting a negative input sentence into a positive response sentence in accordance with the syntactic structure of the input sentence.
なお、同図に示す変換ルールにおいて、[]で囲まれた項目は必須項目であることを示しており、()で囲まれた項目は選択項目であることを示している。すなわち、[]で囲まれた否定接続助詞や否定助動詞、肯定接続助詞、及び逆接接続助詞は、必須項目であり、()で囲まれた否定呼応副詞、緩和表現、文末緩和表現は、任意項目である。 In the conversion rule shown in the figure, items surrounded by [] indicate that they are essential items, and items surrounded by () indicate that they are selection items. That is, negative connective particles, negative auxiliary verbs, positive connective particles, and reverse connective particles enclosed in [] are required items, and negative responsive adverbs, relaxed expressions, and sentence ending relaxed expressions enclosed in () are optional items. It is.
また、本実施の形態では、図6(A)〜(E)に示すように、それぞれ親密度の度合(高、中、低)に応じて、入力文を変換する際に用いる肯定的な意味を有する肯定接続助詞の辞書データ、逆説的な意味を有する逆説接続助詞の辞書データ、肯定的な意味を有する緩和表現の辞書データ、肯定的な意味を有する文末緩和表現の辞書データをハードディスク26に予め記憶させている。なお、本実施の形態に係る対話処理装置10では、図6(C)、(D)に示すように状態動詞と状態動詞以外の動詞(非状態動詞)とで緩和表現を各々別に記憶させている。
In the present embodiment, as shown in FIGS. 6A to 6E, the positive meaning used when converting the input sentence according to the degree of closeness (high, medium, low), respectively. Is stored in the
また、ハードディスク26には、所定の否定的な語句と当該否定的な語句を肯定的に表現した肯定的な語句とを対応付けた対応語句データが予め記憶されている。
The
図7には、本実施の形態に係る対応語句データのデータ構造の一例が示されている。 FIG. 7 shows an example of the data structure of the corresponding phrase data according to the present embodiment.
同図に示すように、対応語句データには、所定の否定的な語句と当該否定的な語句を肯定的に表現した肯定的な語句とが対応付けられている。 As shown in the figure, the corresponding phrase data is associated with a predetermined negative phrase and a positive phrase that positively expresses the negative phrase.
さらに、ハードディスク26には、親密度の度合に応じた受容応答文を定めた受容応答文データベースが予め記憶されている。
Further, the
図8には、本実施の形態に係る受容応答文データベースのデータ構造の一例が示されている。 FIG. 8 shows an example of the data structure of the acceptance response sentence database according to the present embodiment.
同図に示すように、受容応答文データベースには、親密度の度合(高、中、低)に応じた受容応答文が定めれている。 As shown in the figure, in the acceptance response sentence database, acceptance response sentences according to the degree of familiarity (high, medium, low) are defined.
入力文変換部34(図2参照。)は、入力装置14、ハードディスク26及び応答選択部38に接続されており、入力装置14より入力文データが入力され、親密度導出部30より親密度情報が入力され、入力文解析部32より構文構造情報が入力される。
The input sentence conversion unit 34 (see FIG. 2) is connected to the
入力文変換部34は、ハードディスク26に記憶された変換ルール情報により示される変換ルールのうち、構文構造情報に示される入力文の構文的構造に対応する変換ルールに従って、ハードディスク26に記憶された肯定接続助詞、逆説接続助詞、緩和表現、文末緩和表現の各辞書データの各語句のうち、親密度情報により示される親密度に応じた語句を用いて、入力文を肯定的な応答文に変換するものとされている。なお、緩和表現については、入力文解析部32において形態素解析を行って動詞を状態動詞又は非状態動詞に分類した結果に対応するものを用いて変換を行う。また、親密度に応じた語句が複数存在する場合は、何れかの語句を任意に選択する。
The input
また、入力文変換部34は、入力文データにより示される入力文に否定的な語句が含まれる場合、ハードディスク26に記憶されている対応語句データで対応付けられた語句を用いて変換を行う。なお、対応語句データに対応付けられた語句が複数存在する場合は、何れかの語句を任意に選択する。
Further, when the input sentence indicated by the input sentence data includes a negative word / phrase, the input
そして、入力文変換部34は、変換された応答文を示す応答文データを応答選択部38へ出力するものとされている。
Then, the input
受容応答生成部36は、ハードディスク26及び応答選択部38に接続されており、親密度導出部30より親密度情報が入力される。
The acceptance
受容応答生成部36は、ハードディスク26に記憶された受容応答文データベースから、親密度情報により示される親密度に応じた受容応答文を選択し、選択した受容応答文を示す受容応答文データを応答選択部38へ出力するものとされている。なお、親密度に応じた受容応答文が複数存在する場合は、何れかの受容応答文を任意に選択する。
The acceptance
応答選択部38は、ディスプレイ12に接続されており、入力文変換部34より応答文データが入力され、受容応答生成部36より受容応答文データが入力される。
The
応答選択部38は、入力文変換部34より応答文データが入力した場合、応答文データにより示される応答文をディスプレイ12に表示させる。また、応答選択部38は、入力文変換部34で入力文を変換できず、入力文変換部34より応答文データが入力しない場合、受容応答生成部36より入力される受容応答文データにより示される応答文をディスプレイ12に表示させる。
When the response text data is input from the input
ところで、以上のように構成された対話処理装置10の各構成要素(親密度導出部30、入力文解析部32、入力文変換部34、受容応答生成部36と、応答選択部38)による処理は、プログラムを実行することにより、コンピュータを利用してソフトウェア構成により実現することができる。但し、ソフトウェア構成による実現に限られるものではなく、ハードウェア構成や、ハードウェア構成とソフトウェア構成の組み合わせによって実現することもできることは言うまでもない。
By the way, the processing by each component (
以下では、本実施の形態に係る対話処理装置10が、応答文生成処理プログラムを実行することにより上記各構成要素による処理を実現するものとされている場合について説明する。この場合、当該応答文生成処理プログラムをROM24やハードディスク26に予めインストールしておく形態や、コンピュータ読み取り可能な記録媒体に格納された状態で提供される形態、有線又は無線による通信手段を介して配信される形態等を適用することができる。
Hereinafter, a case will be described in which the
次に、図9を参照して、本実施の形態に係る対話処理装置10の作用を説明する。なお、図9は、CPU20により実行される応答文生成処理プログラムの処理の流れを示すフローチャートであり、当該プログラムは、ユーザより入力装置14に入力文が入力された場合にCPU20により実行される。また、以下では、入力装置14に入力文として「ミルクをあげているのに全然大きくならない」が入力された場合を例にして説明する。
Next, with reference to FIG. 9, the operation of the
同図のステップ100では、ハードディスク26に記憶された、入力文を入力したユーザとの対話回数に基づいて当該ユーザとの親密度を導出する。
In
次のステップ102では、入力装置14より入力された入力文データにより示される入力文に対して形態素解析を行うことにより構文的構造を解析して構文要素を特定する。
In the next step 102, the syntactic structure is analyzed by performing morphological analysis on the input sentence indicated by the input sentence data input from the
図10(A)には、入力文である「ミルクをあげているのに全然大きくならない」に対して形態素解析を行なった結果の一例が模式的に示されている。 FIG. 10A schematically shows an example of the result of performing morphological analysis on the input sentence “I'm giving milk but it doesn't grow at all”.
次のステップ104では、上記ステップ102において解析された入力文の構文的構造が変換ルール情報により示される変換ルールの入力側の構文的構造の何れかに対応しているか否かを判定し、肯定判定となった場合はステップ104へ移行する一方、否定判定となった場合はステップ106へ移行する。
In the
例えば、図10(A)に示される入力文の構文的構造は、図5に示される変換ルールの入力側の1行目、及び3行目に対応する。 For example, the syntactic structure of the input sentence shown in FIG. 10A corresponds to the first and third lines on the input side of the conversion rule shown in FIG.
ステップ106では、対応する変換ルールに基づいて入力文の変換を行う。なお、変換を行う際に、図6(A)〜(E)に示される肯定接続助詞、逆説接続助詞、緩和表現、及び文末緩和表現については、上記ステップ100において導出した親密度に応じた語句を用いて変換を行うものとする。また、緩和表現については、上記ステップ102において形態素解析を行って動詞を状態動詞又は非状態動詞に分類した結果に対応するものを用いて変換を行う。
In
例えば、親密度が「中」と導出され、図10(A)に示す入力文に対して図10(B)に示すような1行目の変換ルールを用いて変換した場合は、図10(C)に示すように変換される。 For example, when the familiarity is derived as “medium” and the input sentence shown in FIG. 10A is converted using the conversion rule in the first line as shown in FIG. 10B, FIG. Converted as shown in C).
また、例えば、親密度が「高」と導出され、図10(A)に示す入力文に対して図11(A)に示すような3行目の変換ルールを用いて変換した場合は、図11(B)に示すように変換される。 Also, for example, when the familiarity is derived as “high” and the input sentence shown in FIG. 10A is converted using the conversion rule in the third line as shown in FIG. 11 (B).
ステップ108では、上記ステップ106において入力文に対して変換が行われた場合は当該変換された入力文に対して、入力文に対して変換が行われなかった場合は入力文に対して、否定的な語句が含まれているか否かを判定し、肯定判定となった場合はステップ110へ移行する一方、否定判定となった場合はステップ112へ移行する。
In
ステップ110では、入力文に含まれる否定的な語句をハードディスク26に記憶された対応語句データで対応付けられた語句で変換する。
In
ステップ112では、上記ステップ106及びステップ110の少なくとも一方において入力文に対して変換が行われたか否かを判定し、肯定判定となった場合はステップ114へ移行する一方、否定判定となった場合はステップ116へ移行する。
In
ステップ114では、入力文を変換することにより生成された肯定的な応答文をディスプレイ12に表示させ、本応答文生成処理プログラムを終了する。なお、入力文の構文的構造が複数の変換ルールに対応した場合の選択方法には複数あるが、例えばそのひとつとして、生成された肯定的な応答文の文字数をカウントする。そして、生成された応答文の何れか一方の文字数が、例えば、20文字以内である場合は、文字数が20文字以内の応答文をディスプレイ12に表示させ、文字数が共に20文字以内である場合は、文字数の多い方の応答文をディスプレイ12に表示させ、文字数が共に20文字より多い場合は、文字数の少ない方の応答文をディスプレイ12に表示させ、文字数が同じ場合は何れか一方を任意に選択して応答文をディスプレイ12に表示させる。
In
すなわち、ユーザは、応答文が短い場合、対話処理装置10が入力文の内容に対して共感していないように感じる場合があり、また、応答文が長い場合、入力文の内容との重複部分が長くなるため、応答文の内容を煩雑に感じる場合がある。このため、本実施の形態に係る対話処理装置10では、応答文の文字数を20字程度とするようにしている。
That is, when the response sentence is short, the user may feel that the
一方、ステップ116では、ハードディスク26に記憶された受容応答文データベースから、親密度情報により示される親密度に応じた受容応答文を選択する。
On the other hand, in
そして、次のステップ118では、上記ステップ116において選択された受容応答文をディスプレイ12に表示させ、本応答文生成処理プログラムを終了する。
In the
すなわち、入力文の構文的構造が何れの変換ルールにも対応せず、かつ入力文に否定的な語句が含まれない場合は、親密度に応じて選択された受容応答文がディスプレイ12に表示される。
That is, when the syntactic structure of the input sentence does not correspond to any conversion rule and the input sentence does not include negative words, the acceptance response sentence selected according to the familiarity is displayed on the
ここで、図12(A)〜(C)には、ユーザと対話処理装置10とが対話を行った結果の一例が示されている。なお、図12(A)〜(C)の例では親密度は「中」であるものとする。
Here, FIGS. 12A to 12C show an example of a result of a dialogue between the user and the
図12(A)に示されるユーザからの入力文1は、構文的構造が何れの変換ルールにも対応せず、かつ入力文に否定的な語句が含まれない。このため、ディスプレイ12には受容応答文(応答文1)が表示される。
In the input sentence 1 from the user shown in FIG. 12A, the syntactic structure does not correspond to any conversion rule, and the input sentence does not include negative words. For this reason, an acceptance response sentence (response sentence 1) is displayed on the
また、ユーザからの入力文2は、構文的構造が変換ルールに対応している。このため、ディスプレイ12には、変換ルールに従って生成された応答文(応答文2)が表示される。
The input sentence 2 from the user has a syntactic structure corresponding to the conversion rule. For this reason, a response sentence (response sentence 2) generated according to the conversion rule is displayed on the
さらに、ユーザからの入力文3は、構文的構造が何れの変換ルールにも対応せず、かつ入力文に否定的な語句が含まれない。このため、ディスプレイ12には、受容応答文(応答文3)が表示される。
Furthermore, the input sentence 3 from the user has a syntactic structure that does not correspond to any conversion rule, and the input sentence does not include negative words. For this reason, an acceptance response sentence (response sentence 3) is displayed on the
一方、図12(B)に示されるユーザからの入力文4は、構文的構造が何れの変換ルールにも対応しないが、「泣き虫だ」と否定的な語句が含まれる。このため、ディスプレイ12には、否定的な語句をハードディスク26に記憶された対応語句データで対応付けられた語句で変換した応答文(応答文4)が表示される。
On the other hand, the input sentence 4 from the user shown in FIG. 12 (B) does not have a syntactic structure corresponding to any conversion rule, but includes a negative phrase such as “It is a crybaby”. Therefore, the
一方、図12(C)に示されるユーザからの入力文5は、構文的構造が変換ルールの入力側の5行目に対応している。このため、ディスプレイ12には、変換ルールに従って生成された応答文(応答文5)が表示される。なお、図13(A)〜(C)には、入力文5に対して形態素解析を行なった結果、入力文5の構文的構造が対応している5行目の変換ルール、当該変換ルールを用いて変換した結果の一例が示されている。
On the other hand, the input sentence 5 from the user shown in FIG. 12C has a syntactic structure corresponding to the fifth line on the input side of the conversion rule. For this reason, a response sentence (response sentence 5) generated according to the conversion rule is displayed on the
以上のように、本実施の形態によれば、入力装置14により、ユーザと対話を行う際に当該ユーザからの入力となる入力文を示す入力文データを取得し、コンピュータ本体16により、入力装置14により取得された入力文データにより示される入力文に対して肯定的な応答文を生成し、ディスプレイ12により、コンピュータ本体16により生成された応答文が表示されるので、ユーザと多様な対話が可能になる。
As described above, according to the present embodiment, the
また、本実施の形態によれば、ユーザに対する応答文の表現を当該ユーザとの親密度に応じて変化させており、親密度が高くなると応答文に打ち解けた表現を用いるため、ユーザとの対話が行い易くなる。 In addition, according to the present embodiment, the expression of the response sentence to the user is changed according to the familiarity with the user, and when the familiarity increases, the expression that can be understood by the response sentence is used. Is easier to do.
なお、本実施の形態では、入力文を肯定的な応答文に変換する場合について説明したが、本発明はこれに限定されるものではなく、例えば、否定的な応答文に変換するようにしてもよい。この場合、図5に示す入力側と出力側を逆にすれば、否定的な応答文を生成するための変換ルールとすることができる。また、図7に示す対応語句データについても入力側と出力側を逆にすれば、肯定的な語句を否定的な語句に変換することができる。 In the present embodiment, the case where the input sentence is converted into a positive response sentence has been described. However, the present invention is not limited to this. For example, the input sentence is converted into a negative response sentence. Also good. In this case, if the input side and the output side shown in FIG. 5 are reversed, a conversion rule for generating a negative response sentence can be obtained. Also, with respect to the corresponding phrase data shown in FIG. 7, if the input side and the output side are reversed, a positive phrase can be converted into a negative phrase.
また、本実施の形態では、入力装置14としてキーボードにより入力文が入力される場合について説明したが、本発明はこれに限定されるものではなく、例えば、入力装置14として、音声を認識する音声認識装置を適用し、発話された音声を音声認識装置によって認識することにより入力文が入力されるものとしてもよい。
Further, in the present embodiment, the case where an input sentence is input by the keyboard as the
また、本実施の形態では、応答文をディスプレイ12に表示する場合について説明したが、本発明はこれに限定されるものではなく、例えば、応答文を音声で出力するものとしてもよい。
In the present embodiment, the case where the response sentence is displayed on the
さらに、本実施の形態では、対話回数により親密度を導出する場合について説明したが、本発明はこれに限定されるものではなく、例えば、ユーザ毎に親密度を示す親密度情報を予め記憶させておき、当該親密度情報を読み出すことにより親密度を導出するものとしてもよい。また、ユーザからの入力文に含まれる、例えば、否定接続助詞、否定係助詞の語句、及び否定呼応副詞の語句を図4(A)〜(C)に示す語句を比較することにより親密度を求め、当該親密度に応じた応答文に変換するものとしてもよい。 Furthermore, in the present embodiment, the case where the familiarity is derived based on the number of conversations has been described. However, the present invention is not limited to this. For example, familiarity information indicating the familiarity is stored in advance for each user. The familiarity may be derived by reading the familiarity information. In addition, the intimacy can be determined by comparing the phrases shown in FIGS. 4A to 4C with the phrases shown in FIGS. It is good also as what calculates | requires and converts into the response sentence according to the said familiarity.
その他、本実施の形態で説明した対話処理装置10の電気系の要部構成(図1参照。)、及び対話処理装置10の機能的な構成(図2参照。)は一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。
In addition, the main configuration (see FIG. 1) of the electrical system of the
また、本実施の形態で説明した各辞書データ(図3、図4(A)〜(C)、図6(A)〜(E)参照。)、変換ルール情報(図5参照。)、対応語句データ(図7参照。)、及び受容応答文データベース(図8参照。)のデータ構造も一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。 Also, each dictionary data described in the present embodiment (see FIGS. 3, 4A to 4C, 6A to 6E), conversion rule information (see FIG. 5), and correspondence. The data structure of the phrase data (see FIG. 7) and the acceptance response sentence database (see FIG. 8) is also an example, and it goes without saying that it can be changed as appropriate without departing from the gist of the present invention.
さらに、本実施の形態で説明した応答文生成処理プログラム(図9参照。)の処理の流れも一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。 Furthermore, the processing flow of the response sentence generation processing program (see FIG. 9) described in the present embodiment is also an example, and it goes without saying that it can be changed as appropriate without departing from the gist of the present invention.
10 対話処理装置
12 ディスプレイ(出力手段)
14 入力装置(取得手段)
16 コンピュータ本体(生成手段)
26 ハードディスク(記憶手段)
30 親密度導出部(導出手段)
32 入力文解析部(解析手段)
34 入力文変換部(変換手段)
10
14 Input device (acquisition means)
16 Computer body (generation means)
26 Hard disk (storage means)
30 Intimacy deriving section (derivation means)
32 Input sentence analysis part (analysis means)
34 Input sentence conversion part (conversion means)
Claims (9)
前記取得手段により取得された入力文データにより示される入力文に対して肯定的な応答文、又は否定的な応答文を生成する生成手段と、
前記生成手段により生成された応答文を出力する出力手段と、
を備えた対話処理装置。 An acquisition means for acquiring input sentence data indicating an input sentence to be input from the user when interacting with the user;
Generating means for generating a positive response sentence or a negative response sentence for the input sentence indicated by the input sentence data acquired by the acquisition means;
Output means for outputting a response sentence generated by the generating means;
A dialogue processing apparatus comprising:
前記取得手段により取得された入力文データにより示される入力文の構文的構造を解析する解析手段と、
前記構文的構造に応じて前記入力文を肯定的な応答文又は否定的な応答文に変換するための変換ルールを示す変換ルール情報を予め記憶した記憶手段と、
前記記憶手段に記憶された変換ルール情報により示される変換ルールのうち、前記解析定手段による解析により特定された入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換する変換手段と、
を有する請求項1記載の対話処理装置。 The generating means includes
Analyzing means for analyzing the syntactic structure of the input sentence indicated by the input sentence data acquired by the acquiring means;
Storage means for storing in advance conversion rule information indicating a conversion rule for converting the input sentence into a positive response sentence or a negative response sentence according to the syntactic structure;
Among the conversion rules indicated by the conversion rule information stored in the storage means, the input sentence is positively answered using a conversion rule corresponding to the syntactic structure of the input sentence specified by the analysis by the analysis determination means. A conversion means for converting into a sentence or a negative response sentence;
The dialogue processing apparatus according to claim 1, further comprising:
前記記憶手段は、非自立動詞、状態動詞、及び非状態動詞に対応する緩和表現の語句を各々記憶し、
前記変換手段は、前記記憶手段に記憶された非自立動詞、状態動詞、及び非状態動詞に対応する緩和表現の語句のうち、前記解析定手段による前記動詞の解析結果に対応する語句を用いて前記入力文を変換する
請求項2記載の対話処理装置。 The analysis means performs morphological analysis on the input sentence to analyze whether the verb included in the input sentence is a non-independent verb, a state verb, or a non-state verb,
The storage means stores non-independent verbs, state verbs, and relaxation expressions corresponding to non-state verbs, respectively.
The converting means uses a phrase corresponding to the analysis result of the verb by the analysis determining means, out of words of relaxation expressions corresponding to non-independent verbs, state verbs, and non-state verbs stored in the storage means. The dialogue processing apparatus according to claim 2, wherein the input sentence is converted.
請求項2又は請求項3記載の対話処理装置。 When the syntactic structure of the input sentence corresponds to a plurality of conversion rules, the conversion means converts the input sentence to the response sentence using each conversion rule, and the number of characters in each converted response sentence If there are those within the predetermined number of characters, the response sentence having the largest number of characters is selected as an output target by the output means among the response sentences within the predetermined number of characters, and the number of characters in the converted response sentence is the predetermined number of characters. 4. The dialogue processing apparatus according to claim 2, wherein, when there is no response, the response sentence having the smallest number of characters among the response sentences is selected as an output target by the output unit. 5.
ユーザとの親密度を導出する導出手段をさらに有し、
前記記憶手段は、接続助詞、副詞、及び緩和表現の少なくとも1種類の語句を前記親密度の度合に応じて複数さらに記憶し、
前記変換手段は、前記記憶手段に記憶された接続助詞、副詞、及び緩和表現の少なくとも1種類の複数の語句のうち、前記導出手段により導出された親密度に応じた語句を用いて前記入力文を変換する
請求項2〜請求項4の何れか1項記載の対話処理装置。 The generating means includes
A derivation unit for deriving the intimacy with the user;
The storage means further stores a plurality of connective particles, adverbs, and relaxation expressions in accordance with the degree of intimacy.
The conversion means uses the input sentence by using a phrase according to the familiarity derived by the derivation means from among a plurality of words of at least one of connected particles, adverbs, and relaxation expressions stored in the storage means. The dialogue processing apparatus according to any one of claims 2 to 4, wherein:
前記導出手段は、前記記憶手段に記憶された、対話を行うユーザとの前記対話回数が多いほど前記親密度を高いものとして導出する
請求項5記載の対話処理装置。 The storage means further stores the number of interactions with the user for each user,
The dialogue processing apparatus according to claim 5, wherein the derivation unit derives the intimacy as the number of dialogues with the user who performs dialogue stored in the storage unit increases.
前記変換手段は、前記入力文を肯定的な応答文に変換する場合で且つ当該入力文に前記否定的な語句が含まれる場合、又は、前記入力文を否定的な応答文に変換する場合で且つ当該入力文に前記肯定的な語句が含まれる場合、前記記憶手段に記憶されている対応語句データで対応付けられた語句を用いて変換する
請求項2〜請求項6の何れか1項記載の対話処理装置。 The storage means further stores corresponding phrase data in which a predetermined negative phrase is associated with a positive phrase that positively expresses the negative phrase,
The conversion means is a case where the input sentence is converted into a positive response sentence and the negative sentence is included in the input sentence, or a case where the input sentence is converted into a negative response sentence. 7. When the input sentence includes the positive word / phrase, the input sentence is converted using the word / phrase associated with the corresponding word / phrase data stored in the storage unit. 7. Interactive processing device.
取得された入力文データにより示される入力文の構文的構造を解析し、
記憶手段に予め記憶された、前記入力文の前記構文的構造に応じて当該入力文を肯定的な応答文又は否定的な応答文に変換するための変換ルールを示す変換ルール情報により示される変換ルールのうち、前記解析により特定された入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換する
応答文生成方法。 Get input sentence data indicating the input sentence that will be input from the user when interacting with the user,
Analyzing the syntactic structure of the input sentence indicated by the acquired input sentence data,
Conversion indicated by conversion rule information indicating a conversion rule for converting the input sentence into a positive response sentence or a negative response sentence in accordance with the syntactic structure of the input sentence stored in advance in a storage unit A response sentence generation method for converting an input sentence into a positive response sentence or a negative response sentence using a conversion rule corresponding to the syntactic structure of the input sentence specified by the analysis.
記憶手段に予め記憶された、前記入力文の前記構文的構造に応じて当該入力文を肯定的な応答文又は否定的な応答文に変換するための変換ルールを示す変換ルール情報により示される変換ルールのうち、前記解析ステップによる解析により特定された入力文の構文的構造に対応する変換ルールを用いて当該入力文を肯定的な応答文、又は否定的な応答文に変換する変換ステップと、
をコンピュータに実行させる応答文生成処理プログラム。 An analysis step for analyzing the syntactic structure of the input sentence from the user indicated by the input sentence data;
Conversion indicated by conversion rule information indicating a conversion rule for converting the input sentence into a positive response sentence or a negative response sentence in accordance with the syntactic structure of the input sentence stored in advance in a storage unit A conversion step of converting the input sentence into a positive response sentence or a negative response sentence using a conversion rule corresponding to the syntactic structure of the input sentence specified by the analysis in the analysis step among the rules;
Is a response sentence generation processing program for causing a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007119792A JP2008276543A (en) | 2007-04-27 | 2007-04-27 | Interactive processing apparatus, response sentence generation method, and response sentence generation processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007119792A JP2008276543A (en) | 2007-04-27 | 2007-04-27 | Interactive processing apparatus, response sentence generation method, and response sentence generation processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008276543A true JP2008276543A (en) | 2008-11-13 |
Family
ID=40054415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007119792A Pending JP2008276543A (en) | 2007-04-27 | 2007-04-27 | Interactive processing apparatus, response sentence generation method, and response sentence generation processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008276543A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011210157A (en) * | 2010-03-30 | 2011-10-20 | Ntt Docomo Inc | Information management system, server device and program |
JP2012247557A (en) * | 2011-05-26 | 2012-12-13 | Nippon Telegr & Teleph Corp <Ntt> | Voice synthesizer, method and program thereof |
JP2016090775A (en) * | 2014-11-04 | 2016-05-23 | トヨタ自動車株式会社 | Response generation apparatus, response generation method, and program |
JP2016090776A (en) * | 2014-11-04 | 2016-05-23 | トヨタ自動車株式会社 | Response generation apparatus, response generation method, and program |
JP2017157011A (en) * | 2016-03-02 | 2017-09-07 | 株式会社アイ・ビジネスセンター | Conversation system and program |
WO2020137696A1 (en) * | 2018-12-26 | 2020-07-02 | 日本電信電話株式会社 | Spoken sentence generation model learning device, spoken sentence collecting device, spoken sentence generation model learning method, spoken sentence collection method, and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62209663A (en) * | 1986-03-10 | 1987-09-14 | Sharp Corp | Correcting device for japanese sentence |
-
2007
- 2007-04-27 JP JP2007119792A patent/JP2008276543A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62209663A (en) * | 1986-03-10 | 1987-09-14 | Sharp Corp | Correcting device for japanese sentence |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011210157A (en) * | 2010-03-30 | 2011-10-20 | Ntt Docomo Inc | Information management system, server device and program |
JP2012247557A (en) * | 2011-05-26 | 2012-12-13 | Nippon Telegr & Teleph Corp <Ntt> | Voice synthesizer, method and program thereof |
JP2016090775A (en) * | 2014-11-04 | 2016-05-23 | トヨタ自動車株式会社 | Response generation apparatus, response generation method, and program |
JP2016090776A (en) * | 2014-11-04 | 2016-05-23 | トヨタ自動車株式会社 | Response generation apparatus, response generation method, and program |
JP2017157011A (en) * | 2016-03-02 | 2017-09-07 | 株式会社アイ・ビジネスセンター | Conversation system and program |
WO2020137696A1 (en) * | 2018-12-26 | 2020-07-02 | 日本電信電話株式会社 | Spoken sentence generation model learning device, spoken sentence collecting device, spoken sentence generation model learning method, spoken sentence collection method, and program |
JP2020106905A (en) * | 2018-12-26 | 2020-07-09 | 日本電信電話株式会社 | Speech sentence generation model learning device, speech sentence collection device, speech sentence generation model learning method, speech sentence collection method, and program |
JP7156010B2 (en) | 2018-12-26 | 2022-10-19 | 日本電信電話株式会社 | Utterance sentence generation model learning device, utterance sentence collection device, utterance sentence generation model learning method, utterance sentence collection method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7860705B2 (en) | Methods and apparatus for context adaptation of speech-to-speech translation systems | |
US10460034B2 (en) | Intention inference system and intention inference method | |
US10861458B2 (en) | Response sentence generation apparatus, method and program, and voice interaction system | |
US9805718B2 (en) | Clarifying natural language input using targeted questions | |
CN106486121B (en) | Voice optimization method and device applied to intelligent robot | |
KR101534413B1 (en) | Method and apparatus for providing counseling dialogue using counseling information | |
JP2008276543A (en) | Interactive processing apparatus, response sentence generation method, and response sentence generation processing program | |
JP5073024B2 (en) | Spoken dialogue device | |
CN111968646A (en) | Voice recognition method and device | |
KR101097186B1 (en) | System and method for synthesizing voice of multi-language | |
JP5722375B2 (en) | End-of-sentence expression conversion apparatus, method, and program | |
Aliyeva | Text Linguistics and the Use of Linguistic Data in Modern Technologies: Prospects for Development | |
JP5289261B2 (en) | Text conversion device, method and program | |
JP2008165718A (en) | Intention determination device, intention determination method, and program | |
JP2001117752A (en) | Information processor, information processing method and recording medium | |
JP5251132B2 (en) | Response generation apparatus and response generation program | |
Sawalha et al. | Prosody prediction for arabic via the open-source boundary-annotated qur’an corpus | |
JP3903820B2 (en) | Natural language processing system, natural language processing method, and computer program | |
JP7102986B2 (en) | Speech recognition device, speech recognition program, speech recognition method and dictionary generator | |
JP2009129405A (en) | Feeling estimation device, case feeling information generation device, and feeling estimation program | |
CN114373445B (en) | Voice generation method and device, electronic equipment and storage medium | |
JP2001100788A (en) | Speech processor, speech processing method and recording medium | |
WO2023047623A1 (en) | Information processing device, information processing method, and information processing program | |
JP2009198686A (en) | Response generator and program | |
JP2023007014A (en) | Response system, response method, and response program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110513 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110524 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110720 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120207 |