JPS6386019A - Message producing device - Google Patents

Message producing device

Info

Publication number
JPS6386019A
JPS6386019A JP61232900A JP23290086A JPS6386019A JP S6386019 A JPS6386019 A JP S6386019A JP 61232900 A JP61232900 A JP 61232900A JP 23290086 A JP23290086 A JP 23290086A JP S6386019 A JPS6386019 A JP S6386019A
Authority
JP
Japan
Prior art keywords
message
dictionary
words
word
memory
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
Application number
JP61232900A
Other languages
Japanese (ja)
Inventor
Toshiyuki Funabe
舟部 敏行
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61232900A priority Critical patent/JPS6386019A/en
Publication of JPS6386019A publication Critical patent/JPS6386019A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Digital Computer Display Output (AREA)
  • Machine Translation (AREA)

Abstract

PURPOSE:To reduce the storage capacity of a memory by using a 1st dictionary memory storing a message dictionary, a 2nd dictionary memory storing a word dictionary, a message retrieving device, and a sentence producing device. CONSTITUTION:This message producing device consists of the 1st dictionary memory 1 storing a message dictionary, the 2nd dictionary memory 2 storing a word dictionary, a message retrieving device 3, a sentence producing device 4, a controller 5, and an input/output device 6 containing a keyboard and a CRT display. The fields for independent and additional words are designated to the message dictionary of the memory 1 in the order of paragraphs of sentences with the types of messages defined as keys and items. Then, these independent and additional words are grouped for each field in the memory 2. Thus, the memory 1 is retrieved 3 in response to the type of the message designated by the controller 5 and one of those messages is selected through the memory 2 for production of a message sentence.

Description

【発明の詳細な説明】 薮亙公互 データベース検索装置やその他害種情報処理装置(シス
テム)に適用し得る自然語によるメツセージ発生装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a message generation device in natural language that can be applied to a public database search device and other harmful species information processing devices (systems).

盗】U1柚 近年、各種情報処理システムにおいて、オペレータがシ
ステムと自然語による全語形式で処理を進める方式が多
用されるようになってきたが、その場合のシステムから
のメツセージは一般に1つの意味内容に対しては1つの
固定された文で表示されていた。
[Theft] U1 Yu In recent years, in various information processing systems, methods have been increasingly used in which the operator processes the system and the entire language in natural language, but in such cases, messages from the system generally have one meaning. The content was displayed in one fixed sentence.

すなわち、従来のこのような情報処理システムに用いら
れているメツセージ発生装置は、システムがオペレータ
に伝える必要があると予想される各内容ごとに1つのメ
ッセージ文のデータを予め記憶させておき、その中から
必要に応じてメッセージ文を選択して表示するようにな
っていた。
In other words, the message generator used in conventional information processing systems stores in advance data for one message for each content that the system is expected to need to convey to the operator, and Messages could be selected and displayed as needed.

しかしながら、自然語の会話システムにおいては会話文
の豊かさが重要であり、上述のような従来のメツセージ
発生装置では充分ではなく、特にデータベース検索シス
テムなどには不充分であった。
However, in natural language conversation systems, the richness of conversation sentences is important, and the conventional message generators described above are not sufficient, especially for database search systems.

そこで、従来のようなやり方で、同じ意味内容に対して
複数のメッセージ文を用意して変化を持たせようとする
と、記憶すべきメツセージの数が数倍に増加し、記憶容
量が非常に大きなメモリが必要になるため、大幅なコス
トアップになるという開運があった。
Therefore, if you try to create multiple messages with the same meaning and variation using the conventional method, the number of messages to be memorized will increase several times, and the storage capacity will become extremely large. Fortunately, the cost increased significantly because memory was required.

目   的 この発明は上記の点に鑑みてなされたものであり、メモ
リの記憶容量をあまり増加させることなく、同じ意味内
容に対して変化に富んだメッセージ文を発生できるよう
にすることを目的とする。
Purpose This invention was made in view of the above points, and an object of the present invention is to make it possible to generate a wide variety of message sentences for the same meaning without significantly increasing the storage capacity of the memory. do.

l−威 上記の目的を達成するため、第1番目の発明は。l-wei In order to achieve the above object, the first invention is as follows.

メツセージの種類をキーとし1項目として文の文節順序
通りに自立語及び付属語の分解を指定してあるメッセー
ジ辞書を格納した第1の辞書メモリと。
a first dictionary memory storing a message dictionary in which the type of message is used as a key and decomposition of independent words and attached words is specified in accordance with the order of clauses of a sentence as one item;

自立語及び付属語を上記分野別にグループ分けしてある
単語辞書を格納した第2の辞書メモリと。
a second dictionary memory storing a word dictionary in which independent words and attached words are grouped according to the field;

メツセージの種類に応じて上記第1の辞書メモリのメツ
セージ辞書を検索してメツセージ情報を得るメツセージ
検索装置と。
A message search device for obtaining message information by searching a message dictionary in the first dictionary memory according to the type of message.

該装置からのメツセージ情報の自立語及び付属語分野に
従って上記第2の辞書メモリの単語辞書を検索し、グル
ープ分けさ九た各分野毎に自立語又は付属語のひとつを
選択してメッセージ文を生成する文生成装置とからなる
メツセージ発生装置を提供するものである。
Search the word dictionary in the second dictionary memory according to the independent word and dependent word fields of message information from the device, select one of the independent words or dependent words for each grouped field, and write the message. The present invention provides a message generation device comprising a sentence generation device and a sentence generation device.

さらに、第2番目の発明は、 メツセージの種類をキーとし、項目として文の文節順序
通りに自立語及び付属語の分野を指定してあるメッセー
ジ辞書を格納した第1の辞書メモリと。
Furthermore, the second invention includes: a first dictionary memory storing a message dictionary in which the type of message is used as a key and fields of independent words and attached words are specified according to the clause order of the sentence as items;

自立語及び付属語を上記分野別にグループ分けすると共
に接続記号の情報が付加された単語辞書を格納した第2
の辞書メモリと。
A second dictionary stores a word dictionary in which independent words and attached words are grouped according to the above-mentioned fields, and information on connecting symbols is added.
with dictionary memory.

上記接続記号の組合せに対する接続可否の情報を格納し
た接続可否情報メモリと、 メツセージの種類に応じて上記第1の辞書メモリのメツ
セージ辞書を検索してメツセージ情報を得るメツセージ
検索装置と、 該装置からのメツセージ情報中の文節情報を乱数を用い
て選択し、その選択した文節の自立語及び付属語分野に
従って上記第2の辞書メモリの単語辞書を検索し、グル
ープ分けされた各分野毎に自立語又は付属語のひとつを
選択すると共に、それに付加されている接続記号を用い
て、上記接続可否情報メモリの情報によって接続可否を
チェックしてメッセージ文を生成する文生成装置とから
なるメツセージ発生装置を提供するものである。
a connectability information memory that stores information on connectability for the combination of connection symbols; a message search device that retrieves message information by searching the message dictionary of the first dictionary memory according to the type of message; and from the device. The phrase information in the message information is selected using random numbers, and the word dictionary in the second dictionary memory is searched according to the independent words and attached word fields of the selected phrase, and the independent words are searched for each grouped field. or a message generating device that selects one of the attached words and generates a message by checking whether or not the connection is possible based on the information in the connection possibility information memory using the connection symbol added thereto. This is what we provide.

なお、この明細書中で「分野」とは、単語の同義語をま
とめた総称をいう。
Note that in this specification, the term "field" refers to a collective term for synonyms of words.

以下、この各発明を実施に基づいて具体的に説明する。Hereinafter, each of these inventions will be specifically explained based on implementation.

第1図は第1番目の発明の一実施の構成を示すブロック
図であり、メツセージ辞書を格納した第1の辞書メモリ
1と、単語辞書を格納した第2の辞書メモリ2と、メツ
セージ検索装置32文生成装置4.制御袋aS、及びキ
ーボードとCRTディスプレイからなる入出力装置6に
よ、ってメツセージ発生装置を構成している。
FIG. 1 is a block diagram showing the configuration of an embodiment of the first invention, which includes a first dictionary memory 1 storing a message dictionary, a second dictionary memory 2 storing a word dictionary, and a message retrieval device. 32 sentence generator 4. The control bag aS and the input/output device 6 consisting of a keyboard and a CRT display constitute a message generating device.

そして、第1の辞書メモリ1に格納されているメツセー
ジ辞書には、メツセージの種類をキーとし、項目として
文の文節の順序逆りに自立語及び付属語の分野が指定さ
れている。
In the message dictionary stored in the first dictionary memory 1, the types of messages are used as keys, and fields of independent words and attached words are specified in reverse order of the clauses of sentences as items.

第2の辞書メモリ2に格納されている単語辞書には、自
立語及び付属語が分野別にグループ分けされている。
In the word dictionary stored in the second dictionary memory 2, independent words and attached words are grouped by field.

メツセージ検索袋![3は、制御装置5から指定される
メツセージの種類に応じて、上記第1の辞書メモリ1の
メツセージ辞書を検索してメツセージ情報を得て文生成
装置4へ送る。
Message search bag! [3] searches the message dictionary in the first dictionary memory 1 according to the type of message specified by the control device 5, obtains message information, and sends the message information to the sentence generation device 4.

文生成装置4は、メツセージ検索装置3からのメツセー
ジ情報の自立語及び付属語の分野に従って上記第2の辞
書メモリの単語辞書を検索し、グループ分けされた各分
野毎に自立語又は付属のひとつを選択してメッセージ文
を生成し、それを制御袋riisへ送る。
The sentence generation device 4 searches the word dictionary in the second dictionary memory according to the fields of independent words and attached words in the message information from the message retrieval device 3, and searches the word dictionary of the second dictionary memory for independent words or attached words for each grouped field. Select to generate a message and send it to the control bag riis.

制御装置5は、システム内でメツセージの種類Mが指定
されると、それを受は取ってメツセージ検索袋[3へ送
り1文生成装置によって生成されたメッセージ文を入出
力装置6へ送ってCRTディスプレイ6aに表示させる
When the message type M is specified in the system, the control device 5 receives it, sends it to the message search bag [3], sends the message generated by the sentence generation device to the input/output device 6, and sends it to the CRT. It is displayed on the display 6a.

なお、この実施例の制御装置5と入出力装置6を除いて
も、指定されたメツセージの種類に応じたメッセージ文
を生成することはできるので、この発明によるメツセー
ジ発生装置としてはなりたつ。
Note that even if the control device 5 and the input/output device 6 of this embodiment are omitted, it is still possible to generate a message according to the specified message type, so that the message generation device according to the present invention can still be used.

次に、この実施例をデータベース検索システムに適用し
た場合を例にその動作を説明する。
Next, the operation of this embodiment will be explained using an example in which this embodiment is applied to a database search system.

データベースを検索したが、求めるものが何もなかった
場合のメツセージの種類をMOとする。
Let MO be the type of message when the database is searched but nothing is found.

このメツセージの種類M、に対するメツセージ辞書の項
目の例を第2図に示す。
An example of message dictionary entries for this message type M is shown in FIG.

この第2図に示すメツセージM、は、3文節からなり、
第1文節P、は自立語項目J4からなり、第2文節P2
は自立語項目J8と付属語項目’F3からなり、第3文
節P3は自立語項目J +oからなる。なお、第2図中
「−」は「項目なし」を示す。
The message M shown in Fig. 2 consists of three clauses,
The first clause P, consists of independent word item J4, and the second clause P2
consists of an independent word item J8 and an adjunct word item 'F3, and the third clause P3 consists of an independent word item J +o. Note that "-" in FIG. 2 indicates "no item".

この各自立語(単独で意味を持つ語)及び付属語(助詞
のように単独では意味を持たない語)の項目に対する単
語辞書の内容、すなわち分野別にグループ分けされた語
群の例を第6図(a)〜(d)に示す。
The contents of the word dictionary for each of these independent words (words that have meaning on their own) and adjunct words (words that have no meaning on their own, such as particles), that is, examples of word groups grouped by field, are shown in Section 6. Shown in Figures (a) to (d).

そこで、まずメツセージの種111 M oが制御装置
5に送られてくると、それがメツセージ検索装置3に伝
えられ、メツセージ検索装置3は第1の辞書メモリ1の
メツセージ辞書を検索して、第2図に示したメツセージ
情報を得てそれを文生成装置4へ送る。
Therefore, first, when the message seed 111 Mo is sent to the control device 5, it is transmitted to the message search device 3, which searches the message dictionary in the first dictionary memory 1 and retrieves the message seed 111Mo. The message information shown in FIG. 2 is obtained and sent to the sentence generation device 4.

文生成装置4は、このメツセージ情報のうちメツセージ
の種類を示すMOを除いて、先頭の文節の項目から順に
第2の辞書メモリ2の単語辞書(第3図)を検索し、そ
の検索された分野の単語の中から乱数を用いて任意のひ
とつを選択して。
The sentence generation device 4 searches the word dictionary (FIG. 3) in the second dictionary memory 2 in order from the first clause item, except for the MO indicating the type of message from this message information, and searches the word dictionary (Fig. Select any one of the words in the field using random numbers.

第2図のメツセージ情報中の項目と置き換える。Replace the items in the message information in Figure 2.

例えば、まず、第2図のJ4で単語辞書を引き、第3図
(、)の3つの単語を得る。ここで乱数を発生させ、「
1」が出たら「該当する」を、「2Jが出たら「入力し
たJを、「3」が出たら希望した」を選択する。
For example, first, the word dictionary is looked up at J4 in FIG. 2, and the three words shown in FIG. 3 (,) are obtained. Generate a random number here and
If ``1'' appears, select ``Applicable'', if ``2J'' appears, select ``J entered, and if ``3'' appears, select ``desired''.

今、乱数で「2」が出たとすると「入力した」を選択し
、第2図のメツセージ情報の中の項目J4の代りに[入
力した」を入れて第4図に示すようにする。
Now, if the random number is ``2'', select ``Input'' and enter ``Input'' in place of item J4 in the message information of FIG. 4, as shown in FIG.

以後、項目をJayF3J+oについても同様の処理を
する。そして、JIOまでの処理が終った時には、メツ
セージ情報は例えば第5図に示すようになる。
Thereafter, the same process is performed for the item JayF3J+o. When the processing up to JIO is completed, the message information becomes as shown in FIG. 5, for example.

文生成装置4は、このようにして生成した文の文字列を
順に取り出して制御装置5へ送り、入出力装置6のCR
Tディスプレイ6aに、「入力した項目がありません」 と表示させる。
The sentence generation device 4 sequentially extracts the character strings of the sentences generated in this way and sends them to the control device 5, and sends them to the CR of the input/output device 6.
The T-display 6a displays ``There is no input item.''

また、乱数によりこのメツセージに代えて次のようなメ
ツージが表示される可能性がある。
Also, depending on random numbers, the following message may be displayed instead of this message.

[該当する情報がありません」 「希望した内容が見つかりません」 その他多数 このように、ある種類のメツセージの基本形はひとつで
あるが、乱数により同様な意味をもつ多数の異なる表現
でメッセージ文を生成することができるので会話文が豊
富になる。
[No matching information found] "The desired content was not found" and many more In this way, a certain type of message has one basic form, but a message text can be generated using random numbers in many different expressions with the same meaning. Since you can do this, your conversation sentences will be richer.

次に、上記実施例を一部変更した他の実施例について説
明する。
Next, another embodiment in which the above embodiment is partially modified will be described.

この実施例のブロック構成は第1図と同様であるが、文
生成装置4の機能と第2の辞書メモリ2に格納される単
語辞書の内容が若干具なる。
The block configuration of this embodiment is the same as that shown in FIG. 1, but the functions of the sentence generation device 4 and the contents of the word dictionary stored in the second dictionary memory 2 are slightly different.

すなわち、この実施例の文生成装置4は、単語辞書の各
項目を検索して分野毎の単語(自立語又は付属語)を選
択する際に、乱数を用いずに候補の単語をシーケンシャ
ルにサーチし、単語辞書の選択有無篩にO“が立ってい
る最初の単語を選択する。そして、単語辞書におけるそ
の選択した単語の選択有無篩に1″を立てる。
That is, when searching each item of the word dictionary and selecting words (independent words or attached words) for each field, the sentence generation device 4 of this embodiment sequentially searches for candidate words without using random numbers. Then, select the first word for which O" is set in the selection checkbox of the word dictionary. Then, set 1" in the selection checkbox of the selected word in the word dictionary.

この単語選択時に、全ての候補の単語に1″が立ってい
たら、単語辞書の選択有無篩を全て0″にリセットして
先頭の単語を選択する。
At the time of word selection, if 1'' is set for all candidate words, all selection/non-selection sieves in the word dictionary are reset to 0'' and the first word is selected.

そのため、第2の辞書メモリ2の単語辞書には。Therefore, in the word dictionary of the second dictionary memory 2.

第6図に示すように各分野の各単語に対して選択有無調
を設けており、そこに文生成装置4によって選択された
か否かを示すデータとして、下記の1″か0”を付加し
ている。
As shown in Fig. 6, a selection tone is provided for each word in each field, and the following 1'' or 0'' is added to it as data indicating whether or not it has been selected by the sentence generation device 4. ing.

1:以前に選択された 0:まだ選択されていない この実施例をさらに一部変更して1文生成装置4が単語
を選択する際に候補の単語をシーケンシャルにサーチせ
ずに、先に説明した実施例と同様に乱数を用いるように
してもよい。
1: Previously selected 0: Not yet selected This embodiment is further modified so that when the sentence generator 4 selects a word, it does not sequentially search for candidate words, as described first. Random numbers may be used as in the embodiment described above.

なお、この場合も単語辞書に選択有無の情報を付加し、
まだ選択されていない単語の中から選択するようにする
In this case as well, information on whether or not the word is selected is added to the word dictionary.
Allows you to choose from words that are not already selected.

これらの実施例によっても、同じ意味のメツセージを変
化に富んだ文で表現することができる。
These embodiments also allow messages with the same meaning to be expressed in a wide variety of sentences.

しかも、メモリの記憶容量をそれほど増加させなくて済
む。
Moreover, it is not necessary to increase the storage capacity of the memory so much.

次に、第2番目の発明の実施例の構成を第7図によって
説明する。
Next, the configuration of the second embodiment of the invention will be explained with reference to FIG.

この実施例も、第1図の実施例と略同様に構成されてお
り、同じ部分には同一の符号を付しであるが、新たに接
続可否情報メモリ10を設けた点と、第2の辞書メモリ
12の単語辞書の内容及び文生成装置14の機能が、第
1図の第2の辞書メモリ2の単語辞書の内容及び文生成
装置4の機能と若干具なっている。
This embodiment is also constructed in substantially the same manner as the embodiment shown in FIG. 1, and the same parts are given the same reference numerals. The contents of the word dictionary in the dictionary memory 12 and the functions of the sentence generating device 14 are somewhat similar to the contents of the word dictionary in the second dictionary memory 2 and the functions of the sentence generating device 4 shown in FIG.

第2の辞書メモリ12の単語辞書には、第S図に示すよ
うに接続記号(この例では、自立語項目J Ioに対し
て「3」)の情報が付加されている。
The word dictionary in the second dictionary memory 12 has added information on a connecting symbol (in this example, "3" for the independent word item JIo) as shown in FIG.

また、接続可否情報メモリ10には1前後の2つの文節
の接続記号を行番号(後の文節)と列番号(前の文節)
にしたマトリクスによる接−続チェック表に、接続可否
の情報が1″(接続可)と” o ″(接続否)で表現
され、さらに行の接続記号に対しては5文頭可否と文末
可否の情報がそれぞれ1“(可)と0“(否)で示され
ている。
In addition, in the connection availability information memory 10, the connection symbols of the two clauses before and after 1 are stored in the row number (later clause) and column number (previous clause).
In the connection check table based on the matrix, the information on whether or not the connection is possible is expressed as 1'' (connection possible) and "o" (connection not possible), and for the connection symbol in the line, there are The information is shown as 1" (acceptable) and 0" (unacceptable), respectively.

そして1文生成装置14は、メツセージ検索装置3から
の第2図に示したようなメツセージ情報中の文節情報(
自立語項目)の選択に乱数を用い。
Then, the one-sentence generation device 14 generates phrase information (
Random numbers are used to select independent word items).

そ、れによって選択した文節情報で第2の辞書メモリ1
2の単語辞書を検索して、その項目の候補+1を語から
乱数を用いるかあるいはシーケンシャルなサーチによっ
てひとつの単語を選択すると共に、その項目に付加され
ている接続記号を見る。
Accordingly, the selected phrase information is stored in the second dictionary memory 1.
2. Search the word dictionary of 2 and select one word from the candidates of the item +1 using random numbers or sequential search, and look at the connecting symbol added to the item.

その接続記号により、接続可否情報メモリ10の接続チ
ェック表により、前の文節との接続の可否及び文頭ある
いは文末の文節の場合にはその可否もチェックして、い
ずれかが否であればその文節の選択を取消して、再度乱
数によって選択しなおす。
Based on the connection symbol, the connection check table in the connection information memory 10 is used to check whether or not it can be connected to the previous clause, and if it is a clause at the beginning or end of a sentence, it is also checked, and if either is not, the clause is connected. Cancel the selection and select again using random numbers.

例えば、第2図に示したメツセージ情報に対して、乱数
を発生させたところ「3」と出た場合には、rJlO−
Jの第3文節を選択し、その自立語項目J +oによっ
て単語辞書を検索すると、第8図に示すように接続記号
として「3」が付加されている3つの単語がある。
For example, if a random number is generated for the message information shown in Figure 2 and "3" is output, rJlO-
When the third clause of J is selected and the word dictionary is searched using its independent word item J +o, there are three words with "3" added as a connecting symbol, as shown in FIG.

そこで、再び乱数を発生させてその単語のうちのひとつ
を選択するが、「1」が出たとすると「ありません」を
選択する。
Then, a random number is generated again and one of the words is selected, but if ``1'' is returned, ``None'' is selected.

さらに、この単語に対する接続記号「3」によって、接
続可否情報メモリ10に格納されている第9図に示した
接続チェック表の行番号を引く。
Furthermore, the line number of the connection check table shown in FIG. 9 stored in the connection availability information memory 10 is drawn using the connection symbol "3" for this word.

この場合、文頭の文節なので、まず第3行の文頭可否情
報を見て、それが0″なのでこの単語は接続できないと
いうことになり1選択を取消して、あらためて残ってい
る文節の中から乱数によって上記のような選択及び接続
チェックを行なう。
In this case, since it is the beginning of a sentence, we first look at the sentence-initiality information in the third line, and since it is 0'', we can say that this word cannot be connected, so we cancel the first selection and select a random number from among the remaining phrases. Perform the selection and connection check as described above.

また、文頭以外の文節の単語を選択した時には、その文
節の単語の接続記号で接続チェック表の行番号を引き、
その直前に選択された文節の単語の接続記号で接続チェ
ック表の列番号を引いて、その交点の接続可否情報によ
って接続の可否をチェックする。
Also, when you select a word in a clause other than the beginning of a sentence, subtract the line number in the connection check table using the connection symbol of the word in that clause,
The column number of the connection check table is subtracted from the connection symbol of the word of the clause selected immediately before, and the connection possibility is checked based on the connection possibility information of the intersection point.

このようにして、接続可能な範囲で文節の順序を任意に
選択し、且つその各文節の単語も単語辞書にある範囲で
任意に選択してメッセージ文を生成する。
In this way, a message sentence is generated by arbitrarily selecting the order of the clauses within the connectable range, and by arbitrarily selecting the words of each clause within the range available in the word dictionary.

したがって、前述の各実施例よりもさらにバラエティに
富んだメッセージ文を得ることができる。
Therefore, it is possible to obtain a greater variety of message texts than in each of the embodiments described above.

効果 以上説明してきたように、この第1番目及び第2番口の
発明によれば、いずれもメモリの記憶容量をあまり増加
することなく、同じ、低味のメッセージ文を種々に変化
させて生成することができるので、各種情報処理システ
ムにおける自然語による会話文が豊になる。
Effects As explained above, according to the first and second inventions, the same low-quality message text can be generated in various ways without significantly increasing the storage capacity of the memory. This allows for richer natural language conversations in various information processing systems.

第2番目の発明によれば、メッセージ文の文節の順序も
変化するので、−層変化に富んだ会話文が得られる。
According to the second invention, since the order of the clauses of the message sentence also changes, a conversation sentence rich in layer changes can be obtained.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は第1番目の発明の実施例の構成を示すブロック
図、 第2図はメツセージ検索装置3によって検索されるメツ
セージ情報の一例を示す図、 第3図は第2図のメツセージ情報に対応する単語辞書の
内容例を示す図 第4図は文生成装置4によってメッセージ文を生成する
過程のメツセージ情報を示す図、第5図は文生成装置に
よるメツセージ文生成処理が終了した時のメツセジ情報
を示す図、第6図は第1番目の発明の他の実施例におけ
る単語辞書の一部を示す図、 第7図は第2番目の発明の実施例の構成を示すブロック
図、 第8図は同じくその第2の辞書メモリ12に格納さ九て
いる単語辞書の一部を示す図、 第9図は同じくその接続可否情報メモリ10に格納され
ている接続チェック表の例を示す図である。 1・・・第1の辞書メモリ(メツセージ辞書)2.12
・・・第2の辞書メモリ(単語辞書)3・・・メツセー
ジ検索装置 4.14・・・文生成装置   5・・・制御装置6・
・・入出力装置   10・・・接続可否情報メモリ第
1図 第3図 第4図 M  入力した!−J:  F  Jl +−第5図 MO入力した1−項目1 が ありません: −第6図
FIG. 1 is a block diagram showing the configuration of an embodiment of the first invention, FIG. 2 is a diagram showing an example of message information searched by the message search device 3, and FIG. Figure 4 shows an example of the contents of the corresponding word dictionary. Figure 4 shows message information in the process of generating a message by the sentence generation device 4. Figure 5 shows the message information when the sentence generation device has completed the message generation process. A diagram showing information, FIG. 6 is a diagram showing a part of a word dictionary in another embodiment of the first invention, FIG. 7 is a block diagram showing the configuration of an embodiment of the second invention, and FIG. 9 is a diagram showing a part of the word dictionary stored in the second dictionary memory 12, and FIG. 9 is a diagram showing an example of the connection check table stored in the connection availability information memory 10. be. 1...First dictionary memory (message dictionary) 2.12
...Second dictionary memory (word dictionary) 3...Message search device 4.14...Sentence generation device 5...Control device 6.
...Input/output device 10... Connection availability information memory Figure 1 Figure 3 Figure 4 M Input! -J: F Jl +-Figure 5 MO input 1-item 1 is missing: -Figure 6

Claims (1)

【特許請求の範囲】 1 メッセージの種類をキーとし、項目として文の文節
順序通りに自立語及び付属語の分野を指定してあるメッ
セージ辞書を格納した第1の辞書メモリと、 自立語及び付属語を上記分野別にグループ分けしてある
単語辞書を格納した第2の辞書メモリと、 メッセージの種類に応じて上記第1の辞書メモリのメッ
セージ辞書を検索してメッセージ情報を得るメッセージ
検索装置と、 該装置からのメッセージ情報の自立語及び付属語の分野
に従って上記第2の辞書メモリの単語辞書を検索し、グ
ループ分けされた各分野毎に自立語又は付属語のひとつ
を選択してメッセージ文を生成する文生成装置とからな
ることを特徴とするメッセージ発生装置。 2 文生成装置が、各分野毎の自立語又は付属語の選択
を乱数を用いて行なう手段を有する特許請求の範囲第1
項記載のメッセージ発生装置。 3 文生成装置が、各分野毎の自立語又は付属語の選択
をシーケンシャルに行なう手段を有する特許請求の範囲
第1項記載のメッセージ発生装置。 4 文生成装置が、第2の辞書メモリの単語辞書を検索
してグループ分けされた各分野毎に自立語又は付属語の
ひとつを選択した時、上記単語辞書に当該自立語又は付
属語を選択したことを示すデータを付加する手段を有し
、各分野毎の自立語又は付属語を選択する際には、上記
データが付加されていないものの中から選択するように
構成されている特許請求の範囲第1項乃至第3項のいず
れかに記載されたメッセージ発生装置。 5 メッセージの種類をキーとし、項目として文の文節
順序通りに自立語及び付属語の分野を指定してあるメッ
セージ辞書を格納した第1の辞書メモリと、 自立語及び付属語を上記分野別にグループ分けすると共
に接続信号の情報が付加された単語辞書を格納した第2
の辞書メモリと、 上記接続信号の組合せに対する接続可否の情報を格納し
た接続可否情報メモリと、 メッセージの種類に応じて上記第1の辞書メモリのメッ
セージ辞書を検索してメッセージ情報を得るメッセージ
検索装置と、 該装置からのメッセージ情報中の文節情報を乱数を用い
て選択し、その選択した文節の自立語及び付属語の分野
に従って上記第2の辞書メモリの単語辞書を検索してグ
ループ分けされた各分野毎に自立語又は付属語のひとつ
を選択すると共に、それに付加されている上記接続記号
を用いて上記接続可否情報メモリの情報によって接続可
否をチェックしてメッセージ文を生成する文生成装置と
からなることを特徴とするメッセージ発生装置。
[Scope of Claims] 1. A first dictionary memory storing a message dictionary in which fields of independent words and attached words are specified according to the order of the clauses of a sentence as items using message types as keys; Independent words and attached words; a second dictionary memory storing a word dictionary in which words are grouped according to the field; a message search device for obtaining message information by searching the message dictionary in the first dictionary memory according to the type of message; Search the word dictionary in the second dictionary memory according to the fields of independent words and attached words in the message information from the device, select one of the independent words or attached words for each grouped field, and write the message. A message generating device comprising: a sentence generating device that generates a sentence. 2. Claim 1, wherein the sentence generation device has means for selecting independent words or attached words for each field using random numbers.
Message generator described in Section 1. 3. The message generating device according to claim 1, wherein the sentence generating device has means for sequentially selecting independent words or attached words for each field. 4 When the sentence generation device searches the word dictionary in the second dictionary memory and selects one of the independent words or attached words for each grouped field, selects the independent word or attached word in the word dictionary. A patent claim that has means for adding data indicating that the data has been added, and when selecting an independent word or attached word for each field, selects from among those to which the above data is not added. A message generating device according to any one of items 1 to 3 of the scope. 5. A first dictionary memory that stores a message dictionary in which the type of message is used as a key and fields of independent words and attached words are specified according to the order of the clauses of sentences as items, and the independent words and attached words are grouped by the above fields. A second word dictionary storing a word dictionary to which connection signal information is added.
a dictionary memory; a connection availability information memory storing connection availability information for the combination of connection signals; and a message search device for obtaining message information by searching the message dictionary of the first dictionary memory according to the type of message. The phrase information in the message information from the device is selected using random numbers, and the word dictionary in the second dictionary memory is searched and grouped according to the fields of independent words and attached words of the selected phrase. a sentence generation device that selects one of the independent words or attached words for each field, and generates a message sentence by checking whether the connection is possible or not based on the information in the connection possibility information memory using the connection symbol added thereto; A message generator comprising:
JP61232900A 1986-09-30 1986-09-30 Message producing device Pending JPS6386019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61232900A JPS6386019A (en) 1986-09-30 1986-09-30 Message producing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61232900A JPS6386019A (en) 1986-09-30 1986-09-30 Message producing device

Publications (1)

Publication Number Publication Date
JPS6386019A true JPS6386019A (en) 1988-04-16

Family

ID=16946598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61232900A Pending JPS6386019A (en) 1986-09-30 1986-09-30 Message producing device

Country Status (1)

Country Link
JP (1) JPS6386019A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04344523A (en) * 1991-05-21 1992-12-01 Nec Corp Message generating system
JPH07175496A (en) * 1993-12-18 1995-07-14 Ricoh Co Ltd Device for generating sentence
JPH08190399A (en) * 1995-01-09 1996-07-23 Ricoh Co Ltd Rule generation device
JP5763828B1 (en) * 2014-12-03 2015-08-12 岡野 武志 Writing program
JP2016194926A (en) * 2015-04-01 2016-11-17 株式会社発明屋 Invention system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04344523A (en) * 1991-05-21 1992-12-01 Nec Corp Message generating system
JPH07175496A (en) * 1993-12-18 1995-07-14 Ricoh Co Ltd Device for generating sentence
JPH08190399A (en) * 1995-01-09 1996-07-23 Ricoh Co Ltd Rule generation device
JP5763828B1 (en) * 2014-12-03 2015-08-12 岡野 武志 Writing program
JP2016194926A (en) * 2015-04-01 2016-11-17 株式会社発明屋 Invention system

Similar Documents

Publication Publication Date Title
US6601059B1 (en) Computerized searching tool with spell checking
US6460029B1 (en) System for improving search text
McKeown et al. Generating concise natural language summaries
US6442523B1 (en) Method for the auditory navigation of text
US20070112554A1 (en) System of interactive dictionary
US20100293162A1 (en) Automated Keyword Generation Method for Searching a Database
JP2005157524A (en) Question response system, and method for processing question response
EP0775963B1 (en) Indexing a database by finite-state transducer
JPH04271443A (en) Method and device for data base constitution
Hlava The taxobook: Principles and practices of building taxonomies, part 2 of a 3-part series
Klingbiel A technique for machine-aided indexing
JPS6386019A (en) Message producing device
Jayashree et al. Text Document Summarization Using POS tagging for Kannada Text Documents
JPS60247770A (en) Character processor
JPH05233704A (en) Keyword extension retrieval system
JPH0578058B2 (en)
JPH07114565A (en) Electronic dictionary
Hiregoudar et al. Speech to SQL generator-a voice based approach
Pashev et al. Facebook Integrated Chatbot for Bulgarian Language Aiding Learning Content Delivery
JPH0612451A (en) Illustrative sentence retrieving system
JPH02224069A (en) Information retrieving system
JPH0756945A (en) Whole sensitive data base system
JP3538636B2 (en) Hierarchical structure data search system, hierarchical structure data search processing method, and program recording medium therefor
JPS59103136A (en) Kana (japanese syllabary)/kanji (chinese character) processor
Joyce Mapping word knowledge for basic Japanese vocabulary