JPH10124515A - Natural language sentence generation system, method and storage medium storing program for executing the same - Google Patents

Natural language sentence generation system, method and storage medium storing program for executing the same

Info

Publication number
JPH10124515A
JPH10124515A JP8274718A JP27471896A JPH10124515A JP H10124515 A JPH10124515 A JP H10124515A JP 8274718 A JP8274718 A JP 8274718A JP 27471896 A JP27471896 A JP 27471896A JP H10124515 A JPH10124515 A JP H10124515A
Authority
JP
Japan
Prior art keywords
dictionary
personality
concept
natural language
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.)
Withdrawn
Application number
JP8274718A
Other languages
Japanese (ja)
Inventor
Kazue Kaneko
和恵 金子
Tsuyoshi Yagisawa
津義 八木沢
Minoru Fujita
稔 藤田
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP8274718A priority Critical patent/JPH10124515A/en
Publication of JPH10124515A publication Critical patent/JPH10124515A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a natural language sentence generation system, method and storage medium storing program for executing the same with which natural language sentences can be generated corresponding to the personality of baby, child, aged and sofisticated girl. SOLUTION: Semantic structure is inputted (S201) and when there is a concept (S202, YES), S203 is started to retrieve the concept of a baby dictionary. When there is a correspondent concept (S204, YES), S205 is started to retrieve a baby vocaburary. When there is no correspondent concept (S204, NO), S209 is started to retrieve the baby concept while using a system dictionary (S209) and when there is a correspondent concept (S210, YES), S205 is started. When there is no correspondent concept (S210, NO), a system concept is retrieved (S211). Thus, the natural language sentence can be generated by using the baby dictionary while taking priority over the system dictionary.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、意味構造から自然
言語による文を生成する自然言語文生成システム,方法
およびこの方法を実現するプログラムを格納した記憶媒
体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a natural language sentence generation system and method for generating a sentence in a natural language from a semantic structure, and a storage medium storing a program for implementing the method.

【0002】[0002]

【従来の技術】従来の自然言語文生成方法では、生成す
べき文章のタイプなどによって、生成する文の言い回し
を変えている。例えば、“論文調”,“マニュアル調”
といった文章のタイプを指定して、“丁寧”,“ぞんざ
い”などの待遇表現の違いをつけ、“です,ます調”,
“である調”といった文末表現の切り替えを行うといっ
たものである。
2. Description of the Related Art In a conventional natural language sentence generation method, the wording of a generated sentence is changed depending on the type of a sentence to be generated. For example, "paper style", "manual style"
Specify the type of sentence, such as "Polite", "Zonzai", etc.
For example, the end-of-sentence expression such as "Naru-tona" is switched.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、音声に
よる応答システムなどでは、応答する側(音声合成シス
テム)では、男性(音声),女性(音声),ロボットな
どの個性が付与されており、発生する音声の音質が切り
替えられるようになっているものが多い。将来的には、
子供,老人といった年齢や、なまりなどの個性も付与さ
れるものと考えられる。
However, in a response system using voice or the like, the responding side (voice synthesis system) is given personality such as male (voice), female (voice), robot, etc. In many cases, the sound quality of voice can be switched. In the future,
It is considered that ages such as children and old people and personalities such as roundness are also given.

【0004】これらの音質の個性の差は、“丁寧”,
“ぞんざい”などの待遇表現のみによる、文末表現の切
り替えのみでは、表現しきれず、生成される文の自然さ
が失われる場合も多い。例えば、「本を買ってきてね」
という文の文末を関西弁風にすると、「本を買ってきて
な」となるが、それだけでは不十分であり、「買って」
という表現は「こうて」としなくてはならない。
[0004] The difference between these personalities of sound quality is "attentive",
It is often the case that only the switching of the sentence end expression based on the treatment expression such as “Zonzai” cannot achieve the expression and the naturalness of the generated sentence is lost. For example, "Please buy a book"
If the sentence at the end of the sentence is written in Kansai dialect, it means "I have bought a book", but that alone is not enough.
Must be said "this way".

【0005】本発明は、このような状況のもとでなされ
たもので、幼児,子供,老人,お嬢様などの個性に合わ
せた自然言語文を生成する自然言語文生成システム,方
法およびこの方法を実現するプログラムを格納した記憶
媒体を提供することを目的とするものである。
[0005] The present invention has been made under such circumstances, and a natural language sentence generation system and method for generating a natural language sentence tailored to the personality of an infant, a child, an old man, a young lady, and the like, and a method thereof. It is an object to provide a storage medium storing a program to be realized.

【0006】[0006]

【課題を解決するための手段】前記目的を達成するた
め、本発明では、自然言語文生成システムを次の(1)
〜(7)のとおりに、また自然言語文生成方法を次の
(8)のとおりに、また記憶媒体を次の(9)のとおり
に構成する。
In order to achieve the above object, the present invention provides a natural language sentence generation system according to the following (1).
(7), the natural language sentence generation method is configured as in the following (8), and the storage medium is configured as in the following (9).

【0007】(1)意味構造を入力する入力手段と、シ
ステム辞書を格納した第1の記憶手段と、個性辞書を格
納した第2の記憶手段と、前記入力手段に入力した意味
構造にもとづいて、前記個性辞書を前記システム辞書よ
り優先的に使用して文生成を行う文生成手段とを備えた
自然言語文生成システム。
(1) Input means for inputting a semantic structure, first storage means for storing a system dictionary, second storage means for storing a personality dictionary, and a semantic structure input to the input means Sentence generation means for generating a sentence by using the personality dictionary with priority over the system dictionary.

【0008】(2)意味構造を入力する入力手段と、シ
ステム辞書を格納した第1の記憶手段と、互に個性の異
なる複数の文生成主体を想定した、複数の個性辞書を格
納した第2の記憶手段と、前記複数の個性辞書から一つ
の個性辞書を選択する個性辞書選択手段と、前記入力手
段に入力した意味構造にもとづいて、前記個性辞書選択
手段で選択された個性辞書を前記システム辞書より優先
的に使用して文生成を行う文生成手段とを備えた自然言
語文生成システム。
(2) An input unit for inputting a semantic structure, a first storage unit for storing a system dictionary, and a second storage unit for storing a plurality of personality dictionaries assuming a plurality of sentence generating entities having different personalities. Storage means, a personality dictionary selecting means for selecting one personality dictionary from the plurality of personality dictionaries, and the personality dictionary selected by the personality dictionary selecting means based on the semantic structure input to the input means. A natural language sentence generation system comprising: a sentence generation means for generating a sentence by using the dictionary preferentially.

【0009】(3)概念,語彙,生成規則を入力し、シ
ステム辞書および/または個性辞書に登録する登録手段
を備えた前記(1)または(2)記載の自然言語文生成
システム。
(3) The natural language sentence generation system according to (1) or (2), further comprising a registration means for inputting a concept, a vocabulary, and a generation rule and registering the input into a system dictionary and / or a personality dictionary.

【0010】(4)新たな個性の文生成主体を想定した
個性辞書を入力し、第2の記憶手段に格納し、この格納
した個性辞書を個性辞書選択手段で選択可能にする制御
手段を備えた前記(2)記載の自然言語文生成システ
ム。
(4) There is provided control means for inputting a personality dictionary assuming a sentence generating entity of a new personality, storing the personality dictionary in the second storage means, and selecting the stored personality dictionary by the personality dictionary selecting means. The natural language sentence generation system according to (2).

【0011】(5)個性辞書に含まれる概念辞書は、上
位下位などの概念階層を有するものである前記(1)な
いし(4)のいずれかに記載の自然言語文生成システ
ム。
(5) The natural language sentence generation system according to any one of (1) to (4), wherein the concept dictionary included in the personality dictionary has a concept hierarchy such as upper and lower levels.

【0012】(6)個性辞書に含まれる概念辞書は、上
位下位などの概念階層を有しないものである前記(1)
ないし(4)のいずれかに記載の自然言語文生成システ
ム。
(6) The concept dictionary included in the personality dictionary does not have a concept hierarchy such as upper and lower levels.
The natural language sentence generation system according to any one of (1) to (4).

【0013】(7)個性辞書は、機能語を記述する書式
と機能語を含むものである前記(1)ないし(4)のい
ずれかに記載の自然言語文生成システム。
(7) The natural language sentence generation system according to any one of (1) to (4), wherein the personality dictionary includes a format for describing the function words and the function words.

【0014】(8)自然言語文生成システムについての
自然言語文生成方法であって、意味構造にもとづいて、
個性辞書をシステム辞書より優先的に使用して文生成を
行う自然言語文生成方法。
(8) A method for generating a natural language sentence for a natural language sentence generation system, comprising the steps of:
A natural language sentence generation method that generates sentences using the personality dictionary with priority over the system dictionary.

【0015】(9)CPUを介して前記(8)記載の方
法を実現するプログラムを格納した記憶媒体。
(9) A storage medium storing a program for realizing the method according to (8) via a CPU.

【0016】[0016]

【発明の実施の形態】以下本発明の実施の形態を“自然
言語文生成システム”の実施例により詳しく説明する。
この実施例では、構成要素が1個所に集中したスタンド
アロンタイプを想定しているが、本発明はこれに限定さ
れるものではなく、たとえば、有線或は無線のネットワ
ーク上に構成要素が分散したタイプで実施することがで
きる。請求項の“自然言語文生成システム”は、前記ス
タンドアロンタイプと前述のネットワーク上に分散した
タイプを含むものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to embodiments of a "natural language sentence generation system".
In this embodiment, a stand-alone type in which components are concentrated in one place is assumed. However, the present invention is not limited to this type. For example, a type in which components are distributed on a wired or wireless network. Can be implemented. The "natural language sentence generation system" of the claims includes the stand-alone type and the type distributed on the network.

【0017】[0017]

【実施例】図1は、実施例である“自然言語文生成シス
テム”のシステム構成を示すブロック図である。本実施
例の文生成主体の個性としては、幼児を例にとる。
FIG. 1 is a block diagram showing a system configuration of a "natural language sentence generation system" according to an embodiment. In the present embodiment, an infant is taken as an example of the personality of the sentence generation subject.

【0018】図1において、101は意味構造入力部、
102は文生成部、103は文出力部、104は対応づ
け検索部、105は個性管理部、106は個性登録部、
107はシステム概念辞書、108はシステム語彙辞
書、109はシステム生成規則、110は幼児概念辞
書、111は幼児語彙辞書、112は幼児生成規則であ
る。なおシステム概念辞書,システム語彙辞書,システ
ム生成規則をシステム辞書と総称し、幼児などの特定の
個性の文生成主体を想定した、概念辞書,語彙辞書,生
成規則を個性辞書と総称する。システム辞書は一般的な
文生成主体を想定した辞書である。
In FIG. 1, reference numeral 101 denotes a semantic structure input unit;
102 is a sentence generation unit, 103 is a sentence output unit, 104 is an association search unit, 105 is a personality management unit, 106 is a personality registration unit,
107 is a system concept dictionary, 108 is a system vocabulary dictionary, 109 is a system generation rule, 110 is an infant concept dictionary, 111 is an infant vocabulary dictionary, and 112 is an infant generation rule. The system concept dictionary, the system vocabulary dictionary, and the system generation rules are collectively referred to as a system dictionary, and the concept dictionary, the vocabulary dictionary, and the generation rules that assume a sentence generation subject of a specific personality such as an infant are collectively referred to as an individuality dictionary. The system dictionary is a dictionary that assumes a general sentence generator.

【0019】図2は、本実施例の幼児文生成の処理の手
順を示すフローチャートである。
FIG. 2 is a flowchart showing the procedure of the processing for generating an infant sentence according to the present embodiment.

【0020】図3は、本実施例の文生成主体の個性辞書
の登録の処理手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure for registering the personality dictionary of the sentence generator according to the present embodiment.

【0021】図4は、システム辞書と幼児個性辞書の説
明図である。
FIG. 4 is an explanatory diagram of the system dictionary and the infant personality dictionary.

【0022】図5は、システムと幼児の文生成主体を用
いた時の文生成の説明図である。
FIG. 5 is an explanatory diagram of sentence generation when the system and the infant sentence generation entity are used.

【0023】図2は、文生成主体が幼児の場合の処理を
示すものである。なおこれらのフローの処理は不図示の
CPUにより行われる。
FIG. 2 shows the processing when the sentence generation subject is an infant. The processing of these flows is performed by a CPU (not shown).

【0024】S201で意味構造の入力を受け入れる。
図5の文生成例の意味構造のような入力を受け入れる。
S202では、意味構造内の概念ひとつひとつについて
の処理を行うため、未処理の概念が残っているかどうか
の判定を行う。処理してない概念がなくなった時に、S
214に進む。個々の概念についての処理は、S203
から行う。
In S201, the input of the semantic structure is accepted.
An input such as the semantic structure of the example of generating a sentence in FIG. 5 is accepted.
In S202, in order to perform processing for each concept in the semantic structure, it is determined whether an unprocessed concept remains. When there are no more unprocessed concepts, S
Proceed to 214. The processing for each concept is performed in S203.
Do from.

【0025】S203では、幼児概念辞書中で概念を検
索する。例えば、図5の概念「コリー」を幼児概念辞書
で調べる。S204では、その概念が存在するかどうか
の判定を行う。ある場合は、S205へ進み、ない場合
は、S209へ進む。
In S203, the concept is searched in the infant concept dictionary. For example, the concept "collie" in FIG. In S204, it is determined whether or not the concept exists. If there is, go to S205, otherwise go to S209.

【0026】例えば、図5の概念「コリー」は、幼児概
念辞書には、存在しないのでS209へ進む。幼児概念
としてない場合は、S209でシステム概念を使った幼
児概念の検索を行う。例えば、図5の概念「コリー」を
システム概念辞書で調べ、その上位概念「犬」を得る。
「犬」は幼児辞書にあるので、この幼児辞書の概念
「犬」を取り出す。次にS210で適当な概念が取り出
せたかどうかの判定を行う。取り出せたらS205へ進
み、取り出せなかったらS211へ進む。
For example, since the concept "Cory" in FIG. 5 does not exist in the infant concept dictionary, the process proceeds to S209. If the child concept is not found, the child concept is searched using the system concept in S209. For example, the concept "collie" in FIG. 5 is searched in the system concept dictionary, and the superordinate concept "dog" is obtained.
Since "dog" is in the infant dictionary, the concept "dog" of this infant dictionary is extracted. Next, in S210, it is determined whether an appropriate concept has been extracted. If it can be taken out, the process proceeds to S205. If it cannot be taken out, the process proceeds to S211.

【0027】幼児概念が取り出せたら、S205で、幼
児語彙の検索を行う。例えば、図5の幼児辞書の概念
「犬」から、幼児語彙の「わんわん」を取り出す。S2
06で対応する語彙があるかどうかの判定を行い、あれ
ばS202に戻って、次の概念に対する処理を繰り返
す。
When the concept of the infant is extracted, a search for the infant vocabulary is performed in S205. For example, the child vocabulary "Wanwan" is extracted from the concept "dog" of the infant dictionary in FIG. S2
At 06, it is determined whether there is a corresponding vocabulary, and if there is, the process returns to S202 to repeat the process for the next concept.

【0028】S206で対応する語彙がない場合は、S
207へ進み、システム概念辞書とシステム語彙辞書を
使って対応する語彙を検索する。例えば、図5の幼児概
念「走る」には、対応する幼児語彙がない。そこで、シ
ステム概念の「走る」から、システム語彙の「走る」を
取り出す。S208で対応する語彙が取り出せたかどう
かの判定を行い、取り出せた場合は、S202に戻っ
て、次の概念に対する処理を繰り返す。ない場合はS2
13へ進む。
If there is no corresponding vocabulary in S206,
Proceeding to 207, a corresponding vocabulary is searched using the system concept dictionary and the system vocabulary dictionary. For example, the infant concept "run" in FIG. 5 has no corresponding infant vocabulary. Therefore, the system vocabulary “run” is extracted from the system concept “run”. In S208, it is determined whether or not the corresponding vocabulary can be extracted. If the vocabulary can be extracted, the process returns to S202 to repeat the processing for the next concept. If not, S2
Proceed to 13.

【0029】S210で幼児概念が取り出せなかった時
は、S211でシステム概念の検索を行う。次のS21
2で取り出せたかどうかの判定を行い、取り出せた場合
は、S207へ移り、その概念に対応するシステム語彙
の検索を行う。取り出せなかった場合は、S213へ進
む。
If the concept of the infant cannot be extracted in S210, the system concept is searched in S211. Next S21
In step S207, it is determined whether or not the vocabulary has been extracted. If the vocabulary has been extracted, the process proceeds to step S207 to search for a system vocabulary corresponding to the concept. If it cannot be taken out, the process proceeds to S213.

【0030】S213では、適当な語彙が見つからなか
ったとして、無意味語の生成を行う。無意味語として
は、「むむむむ」,「えーと」,「あー」,「んー」な
どの文字列を使ってもよいし、無音の文字列を生成して
もよい。
In S213, it is determined that no suitable vocabulary has been found, and a meaningless word is generated. As the meaningless word, a character string such as "Mummumu", "Eto", "Ah", "Nuu" may be used, or a silent character string may be generated.

【0031】S202ですべての概念について処理が終
了すると、S214へ進む。S214では、幼児生成規
則の検索を行う。これは、意味構造から、その構造にマ
ッチする生成規則を取り出す。図5では「S、V」とい
う生成規則を取り出している。S215で規則があるか
どうかの判定を行い、ある場合には、S216へ進み、
ない場合はS218へ進む。S216では、生成規則へ
語彙のあてはめを行う。図5の「S、V」の、主語の
「S」の位置へは「わんわん」を、動詞の「V」の位置
には「走る」の平仮名表記を当てはめて、「わんわん、
はしる」という文字列を得る。この当てはめの時、「走
る」のまま、当てはめても構わない。
When the process is completed for all the concepts in S202, the process proceeds to S214. In S214, a search for an infant generation rule is performed. This extracts from the semantic structure a production rule that matches the structure. In FIG. 5, the generation rule “S, V” is extracted. In S215, it is determined whether or not there is a rule. If there is, the process proceeds to S216,
If not, the process proceeds to S218. In S216, the vocabulary is applied to the generation rule. In FIG. 5, “Wanwan” is applied to the position of the subject “S” in the position of the subject “S”, and Hiragana notation of “run” is applied to the position of the verb “V”, and “Wanwan,
Get the character string At the time of this fitting, you may apply as it is "run".

【0032】S215で規則がなかった場合は、S21
8でシステム生成規則の検索を行う。S219で規則の
有無を判定し、ある場合は、S216へ進み生成規則へ
語彙のあてはめを行う。ない場合は、S220へ進む。
S220では、検索した語彙を無秩序に羅列して文字列
を生成する。
If there is no rule in S215, S21
In step 8, a search for a system generation rule is performed. In S219, the presence or absence of a rule is determined. If there is, the process proceeds to S216, where vocabulary is applied to the generation rule. If not, proceed to S220.
In S220, the searched vocabulary is randomly arranged to generate a character string.

【0033】S216もしくはS220で文としての文
字列が生成されたらS217で生成文を出力して終了す
る。
When a character string as a sentence is generated in S216 or S220, the generated sentence is output in S217 and the processing is terminated.

【0034】以上説明したように、本実施例では、文生
成の際、個性辞書をシステム辞書より優先して使用し、
所要の文を生成する。
As described above, in this embodiment, when generating a sentence, the personality dictionary is used in preference to the system dictionary.
Generate the required statement.

【0035】図3は、幼児の個性辞書に、新しく語彙な
どを登録する時の手順を示す。
FIG. 3 shows a procedure for registering a new vocabulary or the like in the infant personality dictionary.

【0036】S301で新しい語彙などの入力を受け入
れ、語彙の登録かどうかの判定を行う。語彙ならば、S
302に進み、そうでないならS309に進む。
In step S301, an input of a new vocabulary or the like is accepted, and it is determined whether or not the vocabulary is registered. For vocabulary, S
Proceed to 302, otherwise proceed to S309.

【0037】S302では、語彙の入力を受け入れ、S
303で語彙の登録を行う。S304はその語彙が何に
対応するものかを指定するキーの入力の受け入れを行
う。このキーは同義語や類義語や上位語の語彙でも概念
でもよい。
In S302, the vocabulary input is accepted, and S
At 303, the vocabulary is registered. In step S304, a key input for designating what the vocabulary corresponds to is accepted. This key may be a vocabulary or concept of synonyms, synonyms and broader terms.

【0038】S305でこのキーの入力から、対応する
概念をシステム概念辞書からリストアップし、S306
でその表示を行い選択を行う。S307では選択された
概念を入力し、S308で概念辞書に登録し、語彙辞書
との対応があればそれも登録して、終了する。
In step S305, based on the key input, the corresponding concept is listed up from the system concept dictionary.
Is displayed and the selection is made. In S307, the selected concept is input, and registered in the concept dictionary in S308. If there is a correspondence with the vocabulary dictionary, it is also registered, and the process ends.

【0039】S301で語彙辞書への登録でなかった場
合は、S309で概念辞書への登録かどうかの判定を行
う。概念辞書への登録の場合は、S304に進む。
If it is not registered in the vocabulary dictionary in S301, it is determined in S309 whether it is registered in the concept dictionary. In the case of registration in the concept dictionary, the process proceeds to S304.

【0040】概念辞書への登録でなかった場合は、S3
10で生成規則の登録かどうかの判定を行う。生成規則
の登録ならばS311で生成規則の登録を行って終了す
る。
If it is not registered in the concept dictionary, S3
At 10, it is determined whether or not the generation rule is registered. If the generation rule has been registered, the generation rule is registered in step S311 and the processing ends.

【0041】S310で生成規則の登録でもなかった場
合は、なにもせずに終了する。
If it is not a registration of a generation rule in S310, the process ends without doing anything.

【0042】以上説明したように、実施例によれば、シ
ステムの概念,語彙,生成規則の辞書(システム辞書)
の他に、概念,語彙,生成規則を個性辞書として持たせ
ることで、幼児,子供,老人,お嬢様などの個性にあわ
せた自然言語文を生成することができ、音声を使った応
答システムにおける個性を付与するための音質と、自然
に整合する自然言語文を生成できる。
As described above, according to the embodiment, a dictionary of system concepts, vocabulary, and generation rules (system dictionary)
In addition, by having concepts, vocabulary, and generation rules as personality dictionaries, it is possible to generate natural language sentences that match personalities of infants, children, the elderly, young women, etc., and to use personality in response systems using voice. And a natural language sentence that matches naturally with the sound quality for giving

【0043】また、新たな概念,語彙,生成規則を編
集,登録することができ、システムの能力を拡大するこ
とができる。
Further, a new concept, vocabulary, and generation rule can be edited and registered, and the capability of the system can be expanded.

【0044】(実施例の変形) a.前記実施例では、文生成主体の個性を「幼児」とし
たが、「お嬢様」,「江戸っ子」,「関西人」,「小言
じいさん」などさまざまな文生成主体の個性について、
個性辞書を作成し、ユーザの好みによって切り替えられ
るようにしてもよい。
(Modification of Embodiment) a. In the above embodiment, the individuality of the sentence generating entity is “infant”. However, regarding the individuality of various sentence generating entities such as “Young lady”, “Edo kid”, “Kansaijin”, “Shogashiji”,
A personality dictionary may be created and switched according to the user's preference.

【0045】b.前記実施例では、すでに作成されてい
る個性辞書について、新たな語彙の登録を行っている
が、これを別の個性として新しい個性辞書を作成して、
ユーザがカスタマイズしてもよい。
B. In the above embodiment, a new vocabulary is registered for a personality dictionary that has already been created, but a new personality dictionary is created using this as another personality,
The user may customize it.

【0046】c.また、新規に新しい個性辞書を作成
し、ユーザが独自の言語体系を作成して、ユーザ独自の
文生成を行うようにしてもよい。
C. Alternatively, a new personality dictionary may be newly created, a user may create a unique language system, and a user-specific sentence may be generated.

【0047】d.前記実施例では、個性辞書の概念辞書
は上位下位などの概念階層を持っているが、これを持た
せず、階層性については、システム辞書の概念階層のみ
を参照するようにしてもよい。
D. In the above embodiment, the concept dictionary of the personality dictionary has a concept hierarchy such as upper and lower levels. However, the concept dictionary may not be provided, and the hierarchy may be referred to only the concept hierarchy of the system dictionary.

【0048】e.また、前記実施例では、文生成規則
で、文末表現の生成については記述していないが、受け
身などの“ボイス表現”,丁寧さなどの“待遇表現”、
話しての意志や希望などの“ムード表現”についても、
対応できるよう、機能語を記述する書式と、機能語を個
性辞書として登録できる機能をもたせてもよい。
E. In the above-described embodiment, the generation of the end-of-sentence expression is not described in the sentence generation rules.
About "mood expression" such as will and desire to talk,
In order to cope with the problem, a format for describing the function word and a function for registering the function word as a personality dictionary may be provided.

【0049】[0049]

【発明の効果】以上説明したように、本発明によれば、
幼児,子供,老人,お嬢様などの個性にあわせた自然言
語文を生成することができる。
As described above, according to the present invention,
A natural language sentence can be generated according to the personality of an infant, a child, an old man, a young lady, and the like.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 実施例のシステム構成を示すブロック図FIG. 1 is a block diagram illustrating a system configuration according to an embodiment;

【図2】 幼児文生成の処理手順を示すフローチャートFIG. 2 is a flowchart showing a processing procedure of infant sentence generation;

【図3】 個性辞書登録の処理手順を示すフローチャー
FIG. 3 is a flowchart showing a processing procedure for registering an individual dictionary;

【図4】 システム辞書と幼児個性辞書の説明図FIG. 4 is an explanatory diagram of a system dictionary and an infant personality dictionary.

【図5】 文生成の説明図FIG. 5 is an explanatory diagram of sentence generation.

【符号の説明】[Explanation of symbols]

101 意味構造入力部 102 文生成部 107〜109 システム辞書 110〜112 幼児辞書 101 Semantic structure input unit 102 Sentence generation unit 107-109 System dictionary 110-112 Infant dictionary

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 意味構造を入力する入力手段と、システ
ム辞書を格納した第1の記憶手段と、個性辞書を格納し
た第2の記憶手段と、前記入力手段に入力した意味構造
にもとづいて、前記個性辞書を前記システム辞書より優
先的に使用して文生成を行う文生成手段とを備えたこと
を特徴とする自然言語文生成システム。
An input unit for inputting a semantic structure; a first storage unit for storing a system dictionary; a second storage unit for storing a personality dictionary; and a semantic structure input to the input unit. Sentence generation means for generating a sentence by using the personality dictionary with priority over the system dictionary.
【請求項2】 意味構造を入力する入力手段と、システ
ム辞書を格納した第1の記憶手段と、互に個性の異なる
複数の文生成主体を想定した、複数の個性辞書を格納し
た第2の記憶手段と、前記複数の個性辞書から一つの個
性辞書を選択する個性辞書選択手段と、前記入力手段に
入力した意味構造にもとづいて、前記個性辞書選択手段
で選択された個性辞書を前記システム辞書より優先的に
使用して文生成を行う文生成手段とを備えたことを特徴
とする自然言語文生成システム。
2. An input means for inputting a semantic structure, a first storage means storing a system dictionary, and a second storage means storing a plurality of personality dictionaries assuming a plurality of sentence generators having different personalities. Storage means, a personality dictionary selecting means for selecting one personality dictionary from the plurality of personality dictionaries, and a personality dictionary selected by the personality dictionary selecting means based on the semantic structure input to the input means. A natural language sentence generation system, comprising: a sentence generation means for generating a sentence by using it more preferentially.
【請求項3】 概念,語彙,生成規則を入力し、システ
ム辞書および/または個性辞書に登録する登録手段を備
えたことを特徴とする請求項1または請求項2記載の自
然言語文生成システム。
3. The natural language sentence generation system according to claim 1, further comprising a registration unit for inputting a concept, a vocabulary, and a generation rule and registering the input into a system dictionary and / or a personality dictionary.
【請求項4】 新たな個性の文生成主体を想定した個性
辞書を入力し、第2の記憶手段に格納し、この格納した
個性辞書を個性辞書選択手段で選択可能にする制御手段
を備えたことを特徴とする請求項2記載の自然言語文生
成システム。
4. A personality dictionary assuming a sentence generating entity of a new personality is input and stored in a second storage means, and a control means is provided for enabling the stored personality dictionary to be selected by the personality dictionary selecting means. 3. The natural language sentence generation system according to claim 2, wherein:
【請求項5】 個性辞書に含まれる概念辞書は、上位下
位などの概念階層を有するものであることを特徴とする
請求項1ないし請求項4のいずれかに記載の自然言語文
生成システム。
5. The natural language sentence generation system according to claim 1, wherein the concept dictionary included in the personality dictionary has a concept hierarchy such as upper and lower levels.
【請求項6】 個性辞書に含まれる概念辞書は、上位下
位などの概念階層を有しないものであることを特徴とす
る請求項1ないし請求項4のいずれかに記載の自然言語
文生成システム。
6. The natural language sentence generation system according to claim 1, wherein the concept dictionary included in the personality dictionary does not have a concept hierarchy such as upper and lower levels.
【請求項7】 個性辞書は、機能語を記述する書式と機
能語を含むものであることを特徴とする請求項1ないし
請求項4のいずれかに記載の自然言語文生成システム。
7. The natural language sentence generation system according to claim 1, wherein the personality dictionary includes a format describing a function word and a function word.
【請求項8】 自然言語文生成システムについての自然
言語文生成方法であって、意味構造にもとづいて、個性
辞書をシステム辞書より優先的に使用して文生成を行う
ことを特徴とする自然言語文生成方法。
8. A natural language sentence generation method for a natural language sentence generation system, wherein a sentence is generated based on a semantic structure by preferentially using an individuality dictionary over a system dictionary. Statement generation method.
【請求項9】 CPUを介して請求項8記載の方法を実
現するプログラムを格納した記憶媒体。
9. A storage medium storing a program for realizing the method according to claim 8 via a CPU.
JP8274718A 1996-10-17 1996-10-17 Natural language sentence generation system, method and storage medium storing program for executing the same Withdrawn JPH10124515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8274718A JPH10124515A (en) 1996-10-17 1996-10-17 Natural language sentence generation system, method and storage medium storing program for executing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8274718A JPH10124515A (en) 1996-10-17 1996-10-17 Natural language sentence generation system, method and storage medium storing program for executing the same

Publications (1)

Publication Number Publication Date
JPH10124515A true JPH10124515A (en) 1998-05-15

Family

ID=17545610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8274718A Withdrawn JPH10124515A (en) 1996-10-17 1996-10-17 Natural language sentence generation system, method and storage medium storing program for executing the same

Country Status (1)

Country Link
JP (1) JPH10124515A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002304186A (en) * 2001-04-05 2002-10-18 Sharp Corp Voice synthesizer, voice synthesizing method and voice synthesizing program
JP2007018342A (en) * 2005-07-08 2007-01-25 Nec Corp Apparatus and method for providing information
JP2018092485A (en) * 2016-12-06 2018-06-14 カシオ計算機株式会社 Sentence generation device, sentence generation method, and program
JP2018198097A (en) * 2018-09-20 2018-12-13 カシオ計算機株式会社 Sentence generation device, sentence generation method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002304186A (en) * 2001-04-05 2002-10-18 Sharp Corp Voice synthesizer, voice synthesizing method and voice synthesizing program
JP2007018342A (en) * 2005-07-08 2007-01-25 Nec Corp Apparatus and method for providing information
JP2018092485A (en) * 2016-12-06 2018-06-14 カシオ計算機株式会社 Sentence generation device, sentence generation method, and program
US10770068B2 (en) 2016-12-06 2020-09-08 Casio Computer Co., Ltd. Dialog agent, reply sentence generation method, and non-transitory computer-readable recording medium
JP2018198097A (en) * 2018-09-20 2018-12-13 カシオ計算機株式会社 Sentence generation device, sentence generation method, and program

Similar Documents

Publication Publication Date Title
Walker et al. Training a sentence planner for spoken dialogue using boosting
US8935163B2 (en) Automatic conversation system and conversation scenario editing device
JP4826275B2 (en) Response generating apparatus, method, and program
JP4186992B2 (en) Response generating apparatus, method, and program
JP4745036B2 (en) Speech translation apparatus and speech translation method
JP2019528512A (en) Human-machine interaction method and apparatus based on artificial intelligence
JP2007183421A (en) Speech synthesizer apparatus
JPH0335296A (en) Text voice synthesizing device
JP5073024B2 (en) Spoken dialogue device
JP5317093B2 (en) Learning content generation device, learning content generation method, program for causing a computer to function as the learning content generation device, and computer-readable recording medium storing the program
JP2007264284A (en) Device, method, and program for adding feeling
JPH10124515A (en) Natural language sentence generation system, method and storage medium storing program for executing the same
JP6643077B2 (en) Dialogue systems and programs
WO2024069978A1 (en) Generation device, learning device, generation method, training method, and program
Rambow et al. Evaluating a trainable sentence planner for a spoken dialogue system
JP3059398B2 (en) Automatic interpreter
Keh et al. Pancetta: Phoneme aware neural completion to elicit tongue twisters automatically
JPH10171485A (en) Voice synthesizer
JP2000187495A (en) Method and device for synthesizing speech, and recording medium where speech synthesis program is recorded
Šoić et al. Spoken notifications in smart environments using Croatian language
KR100736496B1 (en) performance improvement method of continuation voice recognition system
TW201839734A (en) Method, system and non-transitory computer-readable recording medium for supporting listening
Wong Musicality and intrafamily translation: with reference to European languages and Chinese
JP2004271727A (en) Voice data providing system and device and program for generating voice data
JP3892227B2 (en) Machine translation system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040106