JPH03134764A - Fixed-form sentence generating system dependent upon menu selection - Google Patents

Fixed-form sentence generating system dependent upon menu selection

Info

Publication number
JPH03134764A
JPH03134764A JP1272560A JP27256089A JPH03134764A JP H03134764 A JPH03134764 A JP H03134764A JP 1272560 A JP1272560 A JP 1272560A JP 27256089 A JP27256089 A JP 27256089A JP H03134764 A JPH03134764 A JP H03134764A
Authority
JP
Japan
Prior art keywords
fixed
template
words
fixed phrase
word
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
JP1272560A
Other languages
Japanese (ja)
Inventor
Toshio Nishiyama
西山 敏雄
Masanobu Higashida
正信 東田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP1272560A priority Critical patent/JPH03134764A/en
Publication of JPH03134764A publication Critical patent/JPH03134764A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To quickly and efficiently generate a fixed-form sentence by automatically selecting the fixed-form statement in accordance with the progress and results of word selection dependent upon menus without preliminarily selecting a fixed-form sentence template. CONSTITUTION:A fixed-form sentence generating system dependent upon menu selection consists of a part 1 which selects words to be inserted by menus, a selected category history managing part 2, a selected word managing part 3, a fixed-form sentence template ID selecting part 4, an ID-fixed-form sentence template converting part 5, a fixed-form sentence generating part 6, a set of fixed-form sentence temperates 7, and an index table 8. Though a fixed-form sentence template is preliminarily selected in the conventional fixed-form sentence generating method dependent upon menu selection, a fixed-form sentence template to which selected words should be inserted is automatically selected in accordance with a selected category history and the number of selected words obtained in the progress of word selection and words are inserted to this template to generate a fixed-form sentence. Thus, the fixed-form sentence is quickly and efficiently generated.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、予め用意した定型文テンプレートにメニュー
によって選択した単語を埋め込んで定型文を生成する定
型文生成方式に関し、特に定型文テンプレートを予め選
択しておくことなく、メニューによる単語選択の経緯と
結果から、その選択した単語の埋め込み対象となる定型
文テンプレートを高速に自動的に選択して定型文の生成
をより一層効率的に行うメニュー選択による定型文生成
方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a fixed phrase generation method that generates fixed sentences by embedding words selected from a menu in a fixed phrase template prepared in advance, and in particular, A menu that automatically selects a fixed phrase template to embed the selected word based on the history and results of word selection from the menu without having to select it in advance, making the generation of fixed phrases even more efficient. It concerns a method of generating fixed phrases by selection.

[従来の技術] 従来より、定型文の生成を効率的に行うために、予め定
型文テンプレートを用意しておいて、用途毎に変化する
単語をその定型文テンプレートの埋め込み位置に埋め込
んで定型文を生成する定型文生成方式が知られている。
[Prior Art] Conventionally, in order to efficiently generate fixed sentences, fixed phrase templates are prepared in advance, and words that change depending on the purpose are embedded in the embedded positions of the fixed phrase template to generate fixed sentences. A fixed phrase generation method is known that generates a fixed phrase.

この定型文生成方式は、メニュー選択により、まず、生
成しようとする定型文テンプレートを選択し、次に、定
型文テンプレートの単語の埋め込み位置に付加されてい
るカテゴリ情報に従って単語の選択を行い、その選択さ
れた単語を上記埋め込み位置に埋め込んで定型文を生成
するものであった。
This fixed phrase generation method first selects the fixed phrase template to be generated by menu selection, then selects words according to the category information added to the embedded position of the word in the fixed phrase template. The selected word was embedded in the above-mentioned embedding position to generate a fixed sentence.

[発明が解決しようとする課題] しかしながら、上記従来の技術におけるメニュー選択に
よる定型文生成方式では、以下のような欠点があった。
[Problems to be Solved by the Invention] However, the above-mentioned conventional technique for generating fixed sentences based on menu selection has the following drawbacks.

(り従来の定型文生成では、メニュー選択によって、ま
ず最適な定型文テンプレートの選択を行い、次にその埋
め込み位置に付加されているカテゴリ情報に従って単語
の選択を行うため、定型文作成を目的としたシステム以
外の適用は困難であった。
(In conventional fixed phrase generation, the optimal fixed phrase template is first selected by menu selection, and then words are selected according to the category information added to the embedding position. It was difficult to apply this system to systems other than those that have been developed.

(2)定型文テンプレートが膨大になると、その選択も
煩わしいものになる。
(2) When the number of fixed phrase templates becomes enormous, selecting one becomes troublesome.

(3)選択した定型文テンプレートが当初の意図と異な
った場合、最初の定型文テンプレートの選択から再度や
り直しが必要となる。
(3) If the selected fixed phrase template differs from the original intention, it is necessary to select the first fixed phrase template again.

上記(1)、(2)、(3)の欠点を解消するために、
予め定型文テンプレートを選択しない場合には、メニュ
ーから選択した単語の上位カテゴリ全てを対象として、
それぞれ含む全ての定型テンプレートを埋め込みの対象
として捉え、単語か選択された時点で、少しづつ衿り込
む必要があるため、最終的に1つの定型文テンプレート
しか使用しないにも関わらず、多くの無駄な処理が行イ
っれるので、効率が悪い。
In order to eliminate the drawbacks of (1), (2), and (3) above,
If you do not select a fixed phrase template in advance, all the top categories of the word selected from the menu will be selected.
It is necessary to consider all the templates included in each template as embedding targets, and embed them little by little when a word is selected, so even though only one template is used in the end, there is a lot of waste. It is inefficient because it takes a lot of processing.

本発明は、上記欠点を解決するために創案されたもので
、定型文テンプレートを予め選択しておくことなく、メ
ニューによる単語選択の経緯と結果から定型文を自動的
に選択し、定型文の生成を高速にかつより一層効率良く
行えるようにするメニュー選択による定型文生成方式を
提供することを目的とする。
The present invention was devised to solve the above-mentioned drawbacks, and automatically selects a fixed phrase based on the process and result of word selection from a menu without having to select a fixed phrase template in advance. The purpose of the present invention is to provide a method for generating fixed phrases using menu selection, which allows generation to be performed faster and more efficiently.

[課題を解決するための手段] 上記の目的を達成するための本発明のメニュー選択によ
る定型文生成方式の構成は、 定型文生成の雛形となる定型文テンプレートに対し、そ
の定型文テンプレートを示す識別標とメニューにより選
択される単語の埋め込み位置とその埋め込まれろ単語数
の情報とその単語が属する上位の任意のカテゴリ情報と
を付加して、これらを集めた定型文テンプレート集と、 この定型文テンプレート集に含まれる全てのカテゴリ情
報のカテゴリをインデックスとし、そのインデックスの
カテゴリを含む定型文テンプレートの識別標とその定型
文テンプレートに埋め込まれる単語数との組のすべてを
参照可能に作成したインデックステーブルとを設け、 メニューにより選択したカテゴリから単語を選択して行
く過程で得た該カテゴリの選択の履歴と最終的に選択さ
れた単語数とから上記インデックステーブルを参照し、
該履歴に含まれるすべてのカテゴリを含みかつ該単語数
が一致する定型文テンプレートの識別標を得て、この識
別標により上記選択された単語を埋め込む定型文テンプ
レートを上記定型文テンプレート集から自動的に選択し
、上記選択された定型文テンプレートの埋め込み位置と
この埋め込み位置に記述してあるカテゴリ情報に従って
、そのカテゴリに属する上記選択された単語をその埋め
込み位置に埋め込むことにより定型文の生成を行うこと
を特徴とする。
[Means for Solving the Problems] The configuration of the fixed phrase generation method using menu selection of the present invention to achieve the above object is as follows: For a fixed phrase template that is a template for generating fixed sentences, the fixed phrase template is indicated. A collection of fixed phrase templates that collect information on the embedding position of the word selected by the identification mark and menu, the number of words to be embedded, and information on a higher rank arbitrary category to which the word belongs, and this fixed phrase. An index table that uses the categories of all the category information included in the template collection as an index, and allows you to refer to all pairs of identification marks of fixed phrase templates that include the index category and the number of words embedded in the fixed phrase templates. and refers to the index table from the selection history of the category obtained in the process of selecting words from the category selected from the menu and the number of words finally selected,
Obtain the identification mark of a fixed phrase template that includes all the categories included in the history and match the number of words, and automatically create a fixed sentence template from the set of fixed sentence templates in which the selected word is embedded using this identification mark. and generate a fixed sentence by embedding the selected word belonging to that category at the embedding position according to the embedding position of the fixed-format sentence template selected above and the category information described in this embedding position. It is characterized by

[作用] 本発明は、メニュー選択によって、まずカテゴリの選択
による定型文に埋め込むべき単語の選択を行い、この過
程で得られたカテゴリの履歴と最終的な単語数とから、
カテゴリをインデックスとしそのカテゴリを含む定型文
テンプレートの識別標とその定型文テンプレートに埋め
込まれる単語数の組のすべてが得られるインデックステ
ーブルを参照して、上記選択した単語を埋め込むことが
できる定型文テンプレートを高速に自動的に選択するこ
とにより、煩雑な定型文テンプレートのメニュー選択を
不要として、定型文の生成を高速にかつ一層効率良く行
えるようにする。
[Operation] The present invention first selects words to be embedded in a fixed sentence by selecting a category by selecting a menu, and from the history of categories obtained in this process and the final number of words,
A fixed phrase template in which the selected word can be embedded by referring to an index table that uses a category as an index and obtains all pairs of identifiers of fixed phrase templates including the category and the number of words to be embedded in the fixed phrase template. To automatically select a template at high speed, thereby eliminating the need for complicated menu selection of templates for templates, and generating templates at high speed and more efficiently.

[実施例コ 以下、本発明の実施例を図面に基づいて詳細に説明する
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は本発明の一実施例を示すブロック図である。本
実施例は本発明を適用したメニュー選択による定型文生
成システムの各処理部を示したものである。1はメニュ
ーによる埋め込み単語選択部、2は単語選択部Iで単語
を選択するまでに選択したカテゴリの履歴を保持し管理
する選択カテゴリ履歴管理部、3は単語選択部1で選択
された単語および単語数を保持し管理する選択単語管理
部、4は選択カテゴリ履歴管理部2で管理されている選
択カテゴリ履歴および選択単語管理部3で管理されてい
る単語数から定型文テンプレートのIDを選択する定型
文テンプレートID選択部、5は定型文テンプレートI
D選択部4で決定された定型文テンプレートのIDから
実際の定型文テンプレートに変換するID一定型文テン
プレート変換部、6はID一定型文テンプレート変換部
5で変換された定型文テンプレートに対して選択単語管
理部3で管理されている実際に選択された単語を定型文
テンプレートの埋め込み位置と埋め込み単語のカテゴリ
情報に従って埋め込んで定型文の生成を行う定型文生成
部である。上記において、定型文テンプレートのIDと
は複数の定型文テンプレートの一つ一つを識別するため
に付けられる識別標(識別ラベル、識別符号とも呼ばれ
ている)である。ID一定型文テンプレート変換部5は
、定型文生成の雛形となる定型文テンプレートに対し、
その定型文テンプレートを示すIDとメニューにより選
択される単語の埋め込み位置とその埋め込まれる単語数
の情報とその単語か属する上位の任意のカテゴリ情報と
を付加して、これらを集めた定型文テンプレート集7を
有し、rDから定型文テンプレートに変換する際に参照
する。また、定型文テンプレート10選択部4は、上記
の定型文テンプレート集7に含まれる全てのカテゴリ情
報のカテゴリをインデックスとし、そのインデックスの
カテゴリを含む定型文テンプレートのIDとその定型文
テンプレートに埋め込まれる単語数との組のすべてを参
照可能に作成したインデックステーブルを有し、選択さ
れたカテゴリ履歴および選択された単語数とから定型文
テンプレートのIDを選択する際に参照する。
FIG. 1 is a block diagram showing one embodiment of the present invention. This embodiment shows each processing unit of a system for generating fixed phrases based on menu selection to which the present invention is applied. 1 is an embedded word selection section using a menu; 2 is a selected category history management section that maintains and manages the history of categories selected until a word is selected in the word selection section I; 3 is a section for selecting words and words selected in the word selection section 1; A selected word management unit 4 that holds and manages the number of words selects the ID of a fixed phrase template from the selected category history managed by the selected category history management unit 2 and the number of words managed by the selected word management unit 3. Fixed phrase template ID selection section, 5 is fixed phrase template I
D: An ID fixed form sentence template converter converting the ID of the fixed form sentence template determined by the selection unit 4 into an actual fixed form sentence template; This is a fixed-form sentence generation section that generates a fixed-form sentence by embedding the actually selected words managed by the selected word management section 3 according to the embedding position of the fixed-form sentence template and the category information of the embedded words. In the above, the ID of a fixed phrase template is an identification mark (also called an identification label or an identification code) attached to identify each of a plurality of fixed phrase templates. The ID fixed form sentence template conversion unit 5 converts the fixed form sentence template, which is a template for generating a fixed form sentence, into a fixed form sentence template.
A collection of standard sentence templates that includes an ID indicating the standard sentence template, the embedding position of the word selected from the menu, information on the number of words to be embedded, and information on a higher-level arbitrary category to which the word belongs. 7, and is referenced when converting from rD to a fixed phrase template. Further, the fixed phrase template 10 selection unit 4 uses the categories of all the category information included in the above-mentioned fixed phrase template collection 7 as an index, and the ID of the fixed phrase template including the category of the index and the ID of the fixed phrase template embedded in the fixed phrase template. It has an index table that is created so that all pairs with the number of words can be referenced, and is referenced when selecting the ID of a fixed phrase template from the selected category history and the selected number of words.

第2図は上記実施例のメニュー選択による定型文生成シ
ステムにおいて、交通情報の案内文の生成を行うための
定型文テンプレート集7とそれから作成されるインデッ
クステーブル8の例を示したものである。この図の定型
文テンプレート集7の中で示している“<XXX>”は
、定型文テンプレート中に埋め込まれる単語の位置とそ
の単語が属する上位のカテゴリXXxを示している。こ
のカテゴリXxXは単語に対して任意に付加することが
でき、後記するように選択される単語に対する定型テン
プレートの選択の範囲を広げることができる。また、番
号1,2,3.・・・、n、・・・は、各定型文テンプ
レートに固有に付したIDであり、数4.3,5.・・
・5m、・・・は、各定型文テンプレート中に埋め込ま
れる単語数を示している。また、インデックステーブル
8の中で“n (m)”は、上記カテゴリXXXをイン
デックスとし、そのカテゴリを含む定型文テンプレート
のIDnと埋め込む単語数mの組を単位として表したら
のであり、各インデックス毎に、そのカテゴリを含むI
Dと単語数の組のすべてを参照可能に作成する。
FIG. 2 shows an example of a set of template templates 7 for generating traffic information and an index table 8 created from the templates in the system for generating templates based on menu selection according to the above embodiment. “<XXX>” shown in the fixed-form sentence template collection 7 in this figure indicates the position of the word embedded in the fixed-form sentence template and the upper category XXXx to which the word belongs. This category XxX can be arbitrarily added to a word, and the range of selection of fixed templates for the selected word can be expanded as will be described later. Also, numbers 1, 2, 3. . . . , n, . . . are IDs uniquely assigned to each fixed phrase template, and are expressed in numbers 4.3, 5.・・・
・5m, . . . indicate the number of words embedded in each fixed phrase template. In addition, "n (m)" in the index table 8 is expressed as a unit of the above category XXX as an index and the IDn of the fixed phrase template including that category and the number of words m to be embedded, and is expressed for each index. contains the category I
All pairs of D and the number of words are created so that they can be referenced.

以上のように構成した実施例の動作および作用を述べる
The operation and effect of the embodiment configured as above will be described.

第3図は上記実施例による定型文生成システムの動作処
理フローを示す図である。まず、定型文を生成しようと
する利用者は、メニューによる埋め込み単語選択部lに
より、選択しようとずろ単語が属しているカテゴリを上
位から順に下位に向かって選択し、最終的に希望する単
語の選択を希望する単語数になるまでの繰り返し行う。
FIG. 3 is a diagram showing the operational processing flow of the fixed phrase generation system according to the above embodiment. First, a user who wants to generate a fixed sentence uses the menu-based embedded word selection section l to select the categories to which the word he or she wants to select belongs, starting from the top and working his way down. Repeat the selection until you reach the desired number of words.

その間のカテゴリの選択履歴や選択単語は、選択力テゴ
リ履歴管理部2と選択単語管理部3により保持管理され
る。続いて、定型文テンブレー81D選択部4において
選択カテゴリ履歴管理部2で管理されている選択カテゴ
リの履歴と、選択単語管理部3で管理されている選択単
語数とから第2図に示すようなインデックステーブル8
から選択単語の埋め込みの対象となる定型文テンプレー
トIDを選択する。ID一定型文テンプレート変換部5
では、定型文テンプレートID、選択部4で選択された
定型文テンプレートIDにより第2図に示すような定型
文テンブレー ト集7から実際の定型文テンプレートに
変換する。最後に、定型文生成部6では、ID一定型文
テンプレート変換部5で変換された実際の定型文テンプ
レートに対して、選択単語管理部3で管理されている実
際の選択単語を、定型文テンプレートに付加されている
埋め込み位置とその位置に埋め込まれる単語が属してい
る上位カテゴリ情報とにより埋め込みを行い、定型文生
成を行う。
The selection history and selected words of the categories during that period are maintained and managed by the selection power category history management section 2 and the selected word management section 3. Next, the fixed phrase template 81D selection unit 4 selects the selected category history managed by the selected category history management unit 2 and the number of selected words managed by the selected word management unit 3 as shown in FIG. index table 8
Select a fixed phrase template ID from which the selected word is to be embedded. ID fixed type sentence template conversion unit 5
Now, using the fixed phrase template ID and the fixed phrase template ID selected in the selection section 4, the fixed phrase template collection 7 as shown in FIG. 2 is converted into an actual fixed phrase template. Finally, the fixed-form sentence generation unit 6 converts the actual selected words managed by the selected word management unit 3 into the fixed-form sentence template with respect to the actual fixed-form sentence template converted by the fixed-ID fixed-form sentence template conversion unit 5. The embedding is performed using the embedding position added to the embedding position and the upper category information to which the word to be embedded at that position belongs, and a fixed sentence is generated.

第4図は、第2図の定型文テンプレート集7とインデッ
クステーブル8を実際に使って、メニューにより単語を
選択した際の選択カテゴリ履歴と選択単語、およびイン
デックステーブル8から選択される定型文テンプレート
IDの関係を説明した図である。この図の選択カテゴリ
履歴では、まずカテゴリ〈道路〉を選択し、続いて〈高
速道路〉を選択した後に実際の単語である「東名高速道
路」を選択し、以下希望する単語を同様に選択していっ
た様子が示されている。このとき、例えば単語「東名高
速道路」を選択するために経過してきたカテゴリは、上
位のく道路〉から下位のく高速道路〉に至っているが、
インデックステーブル8で参照されるのは上位のく道路
〉だけであり、その結果定型文テンプレートIDとして
はl、2゜3が得られる。従って、実際の単語である「
東名高速道路」をインデックスとする必要がないため、
カテゴリく道路〉に含まれる全ての単語に対して同じ定
型文テンプレートIDを得ることが可能となる。また、
下位のカテゴリである〈高速道路〉を埋め込みカテゴリ
情報とした定型文テンプレートを作成し、これをインデ
ックスとしたインデックステーブルを作成することも同
様に可能であるため、この場合は上位カテゴリく道路〉
に含まれているく高速道路〉とそれ以外のカテゴリ(例
えば〈一般国道〉等)とを区別した定型文テンプレート
IDを得ることも可能となる。このように任意の上位カ
テゴリを埋め込み情報とすることが可能であり、それぞ
れに従った幾つらの定型文テンプレートを区別して選択
し、定型文を生成することが可能である。
FIG. 4 shows the selection category history and selected words when a word is selected from the menu by actually using the fixed phrase template collection 7 and index table 8 shown in FIG. 2, and the fixed phrase templates selected from the index table 8. It is a figure explaining the relationship of ID. In the selection category history in this figure, first select the category ``Road'', then select ``Expressway'', then select the actual word ``Tomei Expressway'', and then select the desired word in the same way. It shows how it went. At this time, for example, the categories that have passed in order to select the word "Tomei Expressway" range from high-ranking roads to low-ranking expressways.
In the index table 8, only the upper-ranked road> is referred to, and as a result, l, 2°3 is obtained as the fixed phrase template ID. Therefore, the actual word “
Because there is no need to use "Tomei Expressway" as an index,
It is possible to obtain the same fixed phrase template ID for all words included in the category "road". Also,
It is also possible to create a fixed phrase template that embeds the lower category <Expressway> as category information and create an index table using this as an index, so in this case, the upper category <Road>
It is also possible to obtain a fixed phrase template ID that distinguishes between ``Expressways'' included in ``Expressways'' and other categories (for example, ``General National Highways'', etc.). In this way, it is possible to use any higher-level category as embedded information, and it is possible to generate a fixed sentence by distinguishing and selecting a number of fixed-form sentence templates according to each category.

以上の説明から明らかなように、本発明のメニュー選択
による定型文生成方式は、以下の手順で行われる。
As is clear from the above description, the method for generating fixed sentences by menu selection according to the present invention is performed in the following steps.

(1)埋め込み対象となる定型文テンプレート集への定
型文テンプレートの登録時に、その定型文テンプレート
を示すIDと、単語を埋め込む位置、埋め込む単語数、
及び埋め込み位置に埋め込む単語が属する任意の上位カ
テゴリを同時に登録する。
(1) When registering a fixed phrase template to the fixed phrase template collection to be embedded, the ID indicating the fixed phrase template, the position where the word is to be embedded, the number of words to be embedded,
and any higher category to which the word to be embedded belongs is simultaneously registered at the embedding position.

(2)上記の(1)で作成された定型文テンプレート集
に含まれる全てのカテゴリをインデックスとし、それぞ
れのカテゴリ毎にそのカテゴリを含む定型文テンプレー
トの10と埋め込まれる単語数を組にしたインデックス
テーブルを作成する。
(2) An index that uses all the categories included in the collection of fixed phrase templates created in (1) above as an index, and for each category, sets the 10 fixed phrase templates that include that category and the number of words to be embedded. Create a table.

(3)メニューから単語の選択を行うために、その単語
が属するカテゴリを上位から下位に向かって順に選択し
、最終的な選択単語の決定を、必要な単語カテゴリにつ
いて全て繰り返す。
(3) In order to select a word from the menu, select the categories to which the word belongs in order from the top to the bottom, and repeat the determination of the final selected word for all necessary word categories.

(4)上記の(3)で選択されたカテゴリの履歴と、決
定された選択単語数とを得る。
(4) Obtain the history of the categories selected in (3) above and the determined number of selected words.

(5)カテゴリの履歴の順に、上記の(2)で作成され
たインデックステーブルからその履歴に含まれるカテゴ
リを含む定型文テンプレートのIDとその定型文テンプ
レートに埋め込まれる単語数とを得て、決定された選択
単語数との比較により同数の定型文テンプレートのID
のみを保持する。
(5) In the order of the category history, obtain the ID of the fixed phrase template that includes the category included in the history from the index table created in (2) above and the number of words to be embedded in the fixed phrase template, and decide. ID of the same number of fixed phrase templates by comparing with the number of selected words.
only hold.

(6)カテゴリ履歴に含まれるカテゴリに対して得られ
たすべての定型文テンプレートIDのAND論理をとり
、共通な定型文テンプレートを得る。
(6) Perform AND logic on all the fixed phrase template IDs obtained for the categories included in the category history to obtain a common fixed phrase template.

(7)最終的に得られた定型文テンプレートに対して、
その定型文テンプレートに埋め込まれる単語が属するカ
テゴリ情報に従って、決定された選択単語を埋め込むこ
とにより定型文を生成する。
(7) For the final fixed phrase template,
A fixed phrase is generated by embedding the determined selected word in accordance with the category information to which the word to be embedded in the fixed phrase template belongs.

[発明の効果] 以上説明したように、従来メニュー選択による定型文生
成においては、予め定型文テンプレートを選択していた
のに対し、本発明では、単語を選択することによりその
過程で得られる選択カテゴリ履歴と選択単語数から、埋
め込むべき定型文テンプレートを自動的に選択でき、こ
れに埋め込みを行って定型文を生成することが可能にな
るという利点がある。
[Effects of the Invention] As explained above, in conventional generation of fixed phrases by menu selection, a fixed phrase template is selected in advance, whereas in the present invention, a fixed phrase template is selected in advance by selecting a word. It has the advantage that a fixed phrase template to be embedded can be automatically selected from the category history and the number of selected words, and a fixed phrase can be generated by embedding this template.

また、定型文テンプレートが持つ埋め込み位置の単語が
属するカテゴリをインデックスとしたインデックステー
ブルにより、効率的に埋め込み対象となる定型文テンプ
レートを選択できるため、処理の無駄を少なくし、高速
に定型文の生成が行えるという利点もある。
In addition, by using an index table indexed by the category to which the word at the embedding position of a fixed phrase template belongs, it is possible to efficiently select a fixed phrase template for embedding, reducing wasteful processing and generating fixed phrases at high speed. There is also the advantage that it can be done.

さらに、定型文テンプレートが持つ埋め込み位置の単語
が属するカテゴリ情報には、その単語が属する任意の上
位カテゴリを選ぶことができ、それぞれに応じて異なる
定型文テンプレートを設定できるため、同一の選択単語
に対しても様々な定型文生成が行えるという利点もある
Furthermore, for the category information to which the word in the embedded position of the fixed phrase template belongs, you can select any higher level category to which the word belongs, and different fixed phrase templates can be set for each category. It also has the advantage of being able to generate various fixed phrases.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例において交通情報の案内文を生成するための
定型文テンプレート集の例とそれから作成されるインデ
ックステーブルの例を示した図、第3図は上記実施例の
動作処理フローを示す図、第4図は本実施例により第2
図の定型文テンプレート集とインデックステーブルにお
いて選択カテゴリ履歴と選択単語数および選択単語との
関係を示しその結果として実際に生成される定型文を示
す図ある。 l・・・メニューによる埋め込み単語選択部、2・・・
選択カテゴリ履歴管理部、3・・・選択単語管理部、4
・・・定型文テンブレー)ID選択部、5・・ID−定
型文テンプレート変換部、7・・・定型文テンプレート
集、8・・・インデックステーブル。
Fig. 1 is a block diagram showing an embodiment of the present invention, and Fig. 2 shows an example of a collection of template templates for generating traffic information guide texts in the above embodiment and an example of an index table created from the templates. 3 is a diagram showing the operation processing flow of the above embodiment, and FIG. 4 is a diagram showing the operation processing flow of the above embodiment.
This figure shows the relationship between the selected category history, the number of selected words, and the selected words in the fixed-form sentence template collection and index table shown in the figure, and shows the fixed-form sentences actually generated as a result. l... Embedded word selection section using menu, 2...
Selected category history management section, 3... Selected word management section, 4
. . . Fixed phrase template) ID selection unit, 5. ID-fixed sentence template conversion unit, 7. Fixed phrase template collection, 8. Index table.

Claims (1)

【特許請求の範囲】[Claims] (1)定型文生成の雛形となる定型文テンプレートに対
し、その定型文テンプレートを示す識別標とメニューに
より選択される単語の埋め込み位置とその埋め込まれる
単語数の情報とその単語が属する上位の任意のカテゴリ
情報とを付加して、これらを集めた定型文テンプレート
集と、 この定型文テンプレート集に含まれる全てのカテゴリ情
報のカテゴリをインデックスとし、そのインデックスの
カテゴリを含む定型文テンプレートの識別標とその定型
文テンプレートに埋め込まれる単語数との組のすべてを
参照可能に作成したインデックステーブルとを設け、 メニューにより選択したカテゴリから単語を選択して行
く過程で得た該カテゴリの選択の履歴と最終的に選択さ
れた単語数とから上記インデックステーブルを参照し、
該履歴に含まれるすべてのカテゴリを含みかつ該単語数
が一致する定型文テンプレートの識別標を得て、この識
別標により上記選択された単語を埋め込む定型文テンプ
レートを上記定型文テンプレート集から自動的に選択し
、上記選択された定型文テンプレートの埋め込み位置と
この埋め込み位置に記述してあるカテゴリ情報に従って
、そのカテゴリに属する上記選択された単語をその埋め
込み位置に埋め込むことにより定型文の生成を行うこと
を特徴とするメニュー選択による定型文生成方式。
(1) For a fixed phrase template that serves as a template for generating fixed phrases, an identification mark indicating the fixed phrase template, the embedding position of the word selected from the menu, information on the number of words to be embedded, and the upper arbitrary number to which the word belongs A collection of fixed phrase templates is created by adding the category information of the fixed phrase templates, and the categories of all the category information included in this collection of fixed phrase templates are used as an index, and the identification mark of the fixed phrase templates including the categories of the index is created. We have created an index table that allows you to refer to all pairs of words and the number of words embedded in the fixed phrase template, and we have created an index table that allows you to refer to all pairs of words and numbers embedded in the fixed phrase template. Refer to the above index table based on the number of words selected,
Obtain the identification mark of a fixed phrase template that includes all the categories included in the history and match the number of words, and automatically create a fixed sentence template from the set of fixed sentence templates in which the selected word is embedded using this identification mark. and generate a fixed sentence by embedding the selected word belonging to that category at the embedding position according to the embedding position of the fixed-format sentence template selected above and the category information described in this embedding position. A method for generating fixed phrases using menu selection, which is characterized by the following.
JP1272560A 1989-10-19 1989-10-19 Fixed-form sentence generating system dependent upon menu selection Pending JPH03134764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1272560A JPH03134764A (en) 1989-10-19 1989-10-19 Fixed-form sentence generating system dependent upon menu selection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1272560A JPH03134764A (en) 1989-10-19 1989-10-19 Fixed-form sentence generating system dependent upon menu selection

Publications (1)

Publication Number Publication Date
JPH03134764A true JPH03134764A (en) 1991-06-07

Family

ID=17515609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1272560A Pending JPH03134764A (en) 1989-10-19 1989-10-19 Fixed-form sentence generating system dependent upon menu selection

Country Status (1)

Country Link
JP (1) JPH03134764A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07175496A (en) * 1993-12-18 1995-07-14 Ricoh Co Ltd Device for generating sentence
JP2009175994A (en) * 2008-01-24 2009-08-06 Yokogawa Electric Corp Document creation device and document creation method
JP2016533563A (en) * 2013-10-16 2016-10-27 バリパット エス.エー.Valipat S.A. Method and system for automatically generating documents from an index

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07175496A (en) * 1993-12-18 1995-07-14 Ricoh Co Ltd Device for generating sentence
JP2009175994A (en) * 2008-01-24 2009-08-06 Yokogawa Electric Corp Document creation device and document creation method
JP2016533563A (en) * 2013-10-16 2016-10-27 バリパット エス.エー.Valipat S.A. Method and system for automatically generating documents from an index

Similar Documents

Publication Publication Date Title
CN106777644A (en) Power plant identifies the automatic generation method and device of system coding
WO2016179987A1 (en) Chinese address parsing and annotation method
WO2016179988A1 (en) Chinese address parsing and annotation method
ATE488806T1 (en) SYSTEM AND METHOD FOR ANALYZING A REQUEST AND GENERATING ANSWERS AND RELATED QUESTIONS
CN113886930B (en) Automatic generation method of building design description document
CN100382075C (en) Hardware-level based test script automatic generating system and method
JPH03134764A (en) Fixed-form sentence generating system dependent upon menu selection
CN112468613B (en) Industrial Internet identification analysis method and system based on Handle identification analysis system
DE69901242T2 (en) METHOD FOR GENERATING AND INTERPRETING A POSITION REFERENCE FOR A DIGITAL CARD
CA2144876C (en) Graphical user interface method and apparatus for communicating with a message processor
CN109739946A (en) The generation method and device of project data packet
CN1155941C (en) Traffic information apparatus comprising improved spedch synthesizer
CN110110050A (en) A kind of generation method of media event production question and answer data set
CN114329745A (en) BIM (building information modeling) model automatic coding method based on decision tree analysis
JPH0969059A (en) File form conversion system
CN101866297B (en) Method and device for generating management platform
CN114374574B (en) B-SS supporting embedded BACnet device, sensor and building automatic control system
CN111753055B (en) Automatic prompt method and device for customer questions and answers
US20090123076A1 (en) Method for comparing computer-generated drawings
CN113704555B (en) Feature management method based on medical direction federal learning
Jordan Public participation and GIS: report back
KR0175600B1 (en) Transformation Method of S-Ivy Type for Automatic Generation of Intelligent Network Service Logic
JPS6175932A (en) Registration system for incorporation of program
JP2002358322A (en) System, program and method for information collection
CN117458708A (en) Intelligent power grid dispatching method and system based on man-machine voice interaction