JPH08106464A - Document generating device - Google Patents

Document generating device

Info

Publication number
JPH08106464A
JPH08106464A JP6239995A JP23999594A JPH08106464A JP H08106464 A JPH08106464 A JP H08106464A JP 6239995 A JP6239995 A JP 6239995A JP 23999594 A JP23999594 A JP 23999594A JP H08106464 A JPH08106464 A JP H08106464A
Authority
JP
Japan
Prior art keywords
document
field
variable
item
value
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
JP6239995A
Other languages
Japanese (ja)
Inventor
Hiroyuki Shimizu
宏行 清水
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP6239995A priority Critical patent/JPH08106464A/en
Publication of JPH08106464A publication Critical patent/JPH08106464A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: To provide the document generating device which can easily generate a document that has differently detailed contents. CONSTITUTION: A document skeleton containing changeable items is inputted at a document skeleton input part 1 and held in a document skeleton holding part 2. As for the respective changeable items, plural fields are defined at a field definition part 3 and held in a field definition holding part 4, and field values are set at a field value input part 5 for the respective fields of the respective changeable items and stored in a field value storage part 6. A field selection part 8 selects a corresponding field according to the specification of the knowledge level of a user through a field selection information input part 7. A changeable item generation part 9 takes the field value of the selected field out of the filed value holding part 6 and generates a changeable item value. A document generation part 10 replaces the changeable item in the document skeleton in the document skeleton holding part 2 with the changeable item value generated by the changeable item generation part 9 to generate a document.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文書生成装置に関する
ものである。特に、固定の内容を持つ部分と内容の変更
が可能な1つ以上の部分(可変部分と呼ぶ)からなる文
書において、可変部分を適切な内容に入れ換えることに
よって、内容の一部が異なる文書を生成する文書生成装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document generation device. In particular, in a document consisting of a part having a fixed content and one or more parts whose contents can be changed (referred to as a variable part), by replacing the variable part with an appropriate content, a document in which a part of the content is different is displayed. The present invention relates to a document generation device for generating.

【0002】[0002]

【従来の技術】ワープロやDTP(デスクトップ・パブ
リッシング)ソフトウェアなどを利用した電子文書の作
成、電子ファイリングやデータベースなどによる文書の
管理、バブルジェットプリンタやレーザビーム・プリン
タなどを利用した印刷など、電子文書の文書処理が、企
業内だけでなく、地域社会の活動や個人生活の中でも利
用されるようになり、一般化してきた。このような一般
化にともない、これらの高度な文書処理機能を提供する
製品の利用者層は、性別、職業などによる偏りが少なく
なり、幅広い利用者を持つに至っている。
2. Description of the Related Art Electronic documents such as creation of electronic documents using word processor or DTP (desktop publishing) software, management of documents by electronic filing or database, printing using bubble jet printer, laser beam printer, etc. Document processing has become popular not only in companies but also in community activities and personal life. With such generalization, the user base of products that provide these advanced document processing functions is less biased by sex, occupation, etc., and has a wide range of users.

【0003】しかし、利用者層は広がったものの、これ
らの製品に関する利用者の知識レベルは様々である。例
えば、初めてワープロに触れる人からワープロを道具と
して使い込んでいる人まで、様々な人が同じワープロを
使っている。そのため、はじめてワープロに触れる人は
製品の取扱い説明書を読んでも使い方がわからず、ワー
プロを使い込んでいる人にとっては取扱説明書を見ても
不要な記載が多く、所望の機能の記載を探すのに時間が
かかるなどの問題が発生している。したがって、読み手
の知識レベルに応じて説明の詳しさを変えた取扱い説明
書などが求められている。
However, although the user base has expanded, the level of knowledge of users regarding these products varies. For example, various people are using the same word processor, from those who are new to word processing to those who are using it as tools. Therefore, people who are new to the word processor do not understand how to use it even if they read the instruction manual of the product, and for those who are using the word processor there are many unnecessary descriptions even when looking at the instruction manual, so search for the description of the desired function. There is a problem such as taking time. Therefore, there is a demand for an instruction manual or the like in which the details of the explanation are changed according to the knowledge level of the reader.

【0004】例えば、ワークステーションのDTPソフ
トウェアの操作説明書において、文字フォントのサイズ
の変更方法について記述する場合を考える。この操作説
明として、「マウスのカーソルを画面上部にあるヘラル
ドの[Format]に合わせ、マウス左ボタンを押し
続けて[Type Style...]を選択します」
(文章1)のように詳細に記載されていれば、そのソフ
トウェアはもちろん、そのワークステーションのウィン
ドウシステムもほとんど使ったことのないユーザにも、
そのコマンドの位置や操作方法を理解しやすい。一方、
そのソフトウェアは知らないが、ウィンドウシステムの
操作方法を理解しているユーザにとっては、文章1は冗
長である。ウインドウシステムの操作方法を理解してい
るユーザであれば、例えば、「ヘラルドの[Forma
t]から[Type Style...]を選択しま
す」(文章2)といった操作説明で理解できる。逆に、
もしウインドウシステムも理解していないユーザに文章
2を提示すると、そのウィンドウシステムでは一般的な
「ヘラルド」という用語がわからないために、「ヘラル
ド」が何なのか調べることになる可能性がある。文章1
では「画面上部にある」というヒントを与えているの
で、これを手がかりにして[Format]を探すこと
が可能である。このように、読み手の知識レベルに応じ
て、説明の詳しさを変えることが、読み手の理解を手助
けする1つとなる。
For example, consider a case where a method for changing the size of a character font is described in the operation manual of the DTP software of the workstation. As an explanation of this operation, "Move the cursor of the mouse to [Format] of the Herald at the top of the screen, hold down the left mouse button and select [Type Style ...]."
If it is described in detail as (Sentence 1), not only for the software but also for users who have hardly used the window system of the workstation,
It is easy to understand the position and operation method of the command. on the other hand,
Sentence 1 is redundant for a user who does not know the software but who understands how to operate a window system. If the user understands how to operate the window system, for example, "Herald [Forma
t] to [Type Style. . . ] ”(Sentence 2) to understand. vice versa,
If sentence 2 is presented to a user who does not understand the window system, it may be possible to find out what "herald" is because the general term "herald" is not understood in that window system. Sentence 1
In that case, since the hint "is at the top of the screen" is given, it is possible to search for [Format] by using this as a clue. In this way, changing the level of detail of the explanation depending on the knowledge level of the reader is one that helps the reader to understand.

【0005】上述の例は、ワークステーションのソフト
ウェアに関するものであるが、ビデオデッキやビデオカ
メラなどのように、従来、一部の専門家によって使われ
ていた機器が、コストダウンやユーザインターフェース
などの改善によって、一般に普及する場合には、様々な
レベルの知識を持った人が、同一の製品の利用者になる
ので、同様の問題が発生し得る。
Although the above-mentioned example relates to the software of the workstation, devices such as a video deck and a video camera which have been used by some experts in the past are used for cost reduction and user interface. In the case where the improvement generally spreads, since a person having various levels of knowledge becomes a user of the same product, the same problem may occur.

【0006】このような様々な知識レベルの人に対応し
た取扱説明書などの文書の作成を支援するには、ユーザ
の知識レベルに応じて、文書内容を置き換える機能が必
要になる。このような機能を有する文書処理装置もいく
つか考えられている。その一つとして、例えば、文書に
埋め込んだ複数のフィールドに、別に用意したテーブル
の値を埋め込んで印刷する差し込み印刷を持つシステム
がある。このようなシステムでは、フィールドを埋める
文として、ユーザのレベルに合わせた複数の文を用意し
ておくことによって、ユーザのレベルに応じた文書を作
成することができる。しかし、フィールドに埋め込む文
は、各ユーザレベルごとに用意する必要がある。そのた
め、いくつかのレベルに共通して用いる文であっても、
それぞれ用意することになる。また、同じ文を違うフィ
ールドに埋め込む場合であっても、各フィールドごとに
文を用意する必要がある。このように、同じ文であって
も多数入力しなければならず、入力ミスが多発するとと
もに、フィールドに埋め込む文のデータ量が多くなると
いう問題がある。また、同じ文が複数存在する場合、そ
れらの修正は煩雑である。
[0006] In order to support the creation of documents such as instruction manuals for people of various knowledge levels, it is necessary to have a function of replacing the document contents according to the user's knowledge level. Some document processing apparatuses having such a function are also considered. As one of them, for example, there is a system having a merge print in which the values of a separately prepared table are embedded and printed in a plurality of fields embedded in a document. In such a system, it is possible to create a document according to the level of the user by preparing a plurality of sentences matching the level of the user as the sentences for filling the fields. However, the statement to be embedded in the field must be prepared for each user level. Therefore, even if it is a sentence that is commonly used for several levels,
Each will be prepared. Further, even when the same sentence is embedded in different fields, it is necessary to prepare a sentence for each field. As described above, even if the same sentence is input, it is necessary to input a large number, and there are problems that input errors occur frequently and the amount of data of the sentence embedded in the field increases. Moreover, when there are a plurality of same sentences, the correction of them is complicated.

【0007】また、フィールドや表の内容を設定するた
めのプログラムを文書内に保持できるシステムも開発さ
れている。このようなシステムによれば、所望のフィー
ルドに所望の文を割り付けることが可能である。しか
し、プログラミングの知識が要求され、文書作成者の負
担は大きいといった問題がある。
Also, a system has been developed which can hold a program for setting the contents of fields and tables in a document. According to such a system, it is possible to assign a desired sentence to a desired field. However, there is a problem that the knowledge of programming is required and the burden on the document creator is heavy.

【0008】特開平2−294772号公報に記載され
ているシステムでは、文書コマンドを含んだ可変フィー
ルドを含む骨組み文書と、可変フィールドの内容の候補
を保持したテーブルおよびテキストファイルを用意して
おき、可変フィールドにテーブルおよびテキストファイ
ルの内容を埋め込んで複数の文書を生成する方式が開示
されている。この方式では、可変フィールドに文書コマ
ンドを用いたプログラムを記述しておくことによって、
テーブルの値に応じてテキストファイルの内容を骨組み
文書に挿入することができる。この技術を用いて文書ご
とに説明の詳しさを変えようとすると、簡単には、詳し
さの異なるテキストから構成されるテーブルを用意して
おけばよい。このとき、文書コマンドを用いるので、同
じ文が違う部分で用いられる場合でも、1つ記述してお
けばよい。しかし、詳しさの異なるいくつかの文書に共
通する文は、すべてテーブルに記述しておかなければな
らず、テーブルは大きくなり、修正時の一貫性の管理に
手間がかかる。また、プログラムを記述することによっ
て、同じ文を減少させることも可能であるが、プログラ
ムの知識が要求されることになるなど、多くの問題を抱
えている。
In the system disclosed in Japanese Patent Laid-Open No. 2-294772, a skeleton document including a variable field containing a document command, a table and a text file holding candidates for the contents of the variable field are prepared. A method of generating a plurality of documents by embedding the contents of a table and a text file in a variable field is disclosed. In this method, by writing a program that uses a document command in the variable field,
The contents of the text file can be inserted into the skeleton document depending on the values in the table. If the detail level of the explanation is to be changed for each document using this technique, it is simply necessary to prepare a table composed of texts having different detail levels. At this time, since the document command is used, even if the same sentence is used in different parts, one description is sufficient. However, all the sentences that are common to some documents with different details must be described in the table, the table becomes large, and it takes time and effort to manage the consistency at the time of modification. Although it is possible to reduce the same sentence by writing a program, it has many problems such as requiring knowledge of the program.

【0009】[0009]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、内容の詳しさの違う文書を
簡易に生成することができる文書生成装置を提供するこ
とを目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a document generating apparatus capable of easily generating a document having different details. It is a thing.

【0010】[0010]

【課題を解決するための手段】本発明は、文書生成装置
において、固定の内容を持つ固定項目と内容の変化する
可変項目からなる文書骨格を保持する文書骨格保持手段
と、前記可変項目に対応付けられた小項目の並びを記憶
する可変項目保持手段と、文書の詳しさのレベルを指定
する文書レベル指定手段と、該文書レベル指定手段の指
定にしたがって前記可変項目に対応付けられた各小項目
を使用するかしないかを選択する小項目選択手段と、該
小項目選択手段の選択した小項目を前記文書骨格中の前
記可変項目に置き換えて文書を生成する文書生成手段を
有することを特徴とするものである。前記文書生成手段
は、前記可変項目に置き換えて挿入される小項目に応じ
て、該小項目および前記固定項目を再配置して文書を生
成するように構成することができる。
The present invention relates to a document skeleton holding means for holding a document skeleton made up of fixed items having fixed contents and variable items whose contents change, and a variable item in the document generating apparatus. A variable item holding means for storing a sequence of attached small items, a document level designating means for designating a level of detail of a document, and each small item associated with the variable item according to the designation of the document level designating means. It has a small item selecting means for selecting whether to use an item and a document generating means for generating a document by replacing the small item selected by the small item selecting means with the variable item in the document skeleton. It is what The document generation means may be configured to rearrange the small item and the fixed item in accordance with a small item inserted by replacing the variable item and generate a document.

【0011】また、文書生成装置において、固定の内容
を持つ固定項目と内容の変化する可変項目からなる文を
含んだ文書骨格を保持する文書骨格保持手段と、前記可
変項目に対応付けられた文節の並びを記憶する可変項目
保持手段と、文書の詳しさのレベルを指定する文書レベ
ル指定手段と、該文書レベル指定手段の指定にしたがっ
て前記文書骨格中の可変項目に対応付けられた各文節を
使用するかしないかを選択する文節選択手段と、該文節
選択手段の選択した文節を前記文書骨格中の可変項目に
置き換えて文書を生成する文書生成手段を有することを
特徴とするものである。
Further, in the document generating apparatus, a document skeleton holding means for holding a document skeleton containing a sentence consisting of fixed items having fixed contents and variable items whose contents change, and clauses associated with the variable items. A variable item holding means for storing a sequence of items, a document level designating means for designating a level of detail of a document, and each clause associated with a variable item in the document skeleton according to the designation of the document level designating means. It is characterized by comprising a clause selecting means for selecting whether to use or not, and a document generating means for generating a document by replacing the clause selected by the clause selecting means with a variable item in the document skeleton.

【0012】[0012]

【作用】本発明によれば、可変項目保持手段に可変項目
に対応付けられた小項目の並びを記憶させておく。文書
レベル指定手段で文書の詳しさのレベルを指定すると、
その指定にしたがって、小項目選択手段で可変項目に対
応付けられた各小項目を使用するかしないかを選択す
る。文書生成手段では、文書骨格保持手段に保持されて
いる文書骨格中の可変項目を小項目選択手段で選択した
小項目に置き換えて文書を生成する。生成された文書
は、文書レベル指定手段で指定されたレベルに対応する
詳しさの文書となっている。可変項目保持手段に保持さ
れる小項目の並びには、複数のレベルで共通して用いる
小項目でも1つのみ保持させればよく、小項目の使用の
有無は、小項目選択手段が指定されたレベルに基づき決
定する。また、文書骨格中の別の位置に同じ小項目を配
置する場合にも、小項目は1つのみ保持させればよく、
文書骨格中に同じ可変項目を複数記述すればよい。この
ように、可変項目保持手段には、最小限の小項目が保持
されるだけであり、記憶容量を削減できるとともに、入
力ミスの減少が期待でき、さらに、小項目の変更時の一
貫性の維持が容易になる。また、複雑なプログラムを記
述する必要がないので、文書作成者の負担の増加を最低
限に抑えることが可能となる。
According to the present invention, the variable item holding means stores the arrangement of the small items associated with the variable items. If you specify the level of detail of the document with the document level specification means,
According to the designation, the small item selection means selects whether or not to use each small item associated with the variable item. The document generating means generates a document by replacing the variable items in the document skeleton held by the document skeleton holding means with the small items selected by the small item selecting means. The generated document has a level of detail corresponding to the level designated by the document level designating means. With respect to the arrangement of the small items held in the variable item holding means, it is sufficient to hold only one small item commonly used in a plurality of levels. Whether or not the small item is used is designated by the small item selecting means. Make a decision based on the level. Further, even when the same small item is arranged at another position in the document skeleton, it is sufficient to hold only one small item,
Multiple same variable items may be described in the document skeleton. In this way, the variable item holding means holds only a minimum of small items, which can reduce the storage capacity and can be expected to reduce input errors. Furthermore, the consistency when changing small items can be expected. Easy to maintain. Further, since it is not necessary to write a complicated program, it is possible to minimize the increase in the burden on the document creator.

【0013】可変項目を小項目で置き換えると、例え
ば、文の長さが変化したり、図や表の置換によってレイ
アウトの変更が必要となる場合がある。そのような場合
には、文書生成手段は、可変項目に置き換えて挿入され
る小項目に応じて、小項目および固定項目を適切に再配
置して文書を生成するように構成することによって、常
に見栄えのよい文書を生成することができる。
When a variable item is replaced with a small item, for example, the sentence length may change, or the layout may need to be changed by replacing the figure or table. In such a case, the document generation means always rearranges the small items and the fixed items appropriately to generate a document according to the small items inserted by replacing the variable items. You can generate good-looking documents.

【0014】小項目としては、例えば、請求項3に記載
の発明のように、文節あるいは複数の文節の並びとする
ことができる。ユーザの知識レベルに応じた文章表現
は、伝えたいことを最も端的に表現する言葉の表記と、
それを修飾する言葉の有無によって生成できる。そのた
め、文章表現のうち、最低限必要な文節から構成される
文を固定項目とし、修飾部を可変項目として、ユーザの
知識レベルに応じて選択的に修飾部を付加して文書を生
成する。修飾部は、修飾語からなる文節であることもあ
るし、複数の文節の並びからなることもある。これによ
って、ユーザの知識レベルに応じた文章表現を用いた文
書を容易に生成することができる。
As the small item, for example, as in the invention described in claim 3, a clause or a sequence of a plurality of clauses can be used. The sentence expression according to the user's knowledge level is the notation of the word that most simply expresses what you want to convey,
It can be generated by the presence or absence of words that modify it. Therefore, of the sentence expressions, a sentence composed of minimum necessary clauses is a fixed item, a modifier is a variable item, and a modifier is selectively added according to a user's knowledge level to generate a document. The modifier part may be a clause consisting of modifiers, or a sequence of plural clauses. With this, it is possible to easily generate a document using a sentence expression according to the knowledge level of the user.

【0015】[0015]

【実施例】図1は、本発明の文書生成装置の第1の実施
例を示す概略構成図である。図中、1は文書骨格入力
部、2は文書骨格保持部、3はフィールド定義部、4は
フィールド定義保持部、5はフィールド値入力部、6は
フィールド値保持部、7はフィールド選択情報入力部、
8はフィールド選択部、9は可変項目生成部、10は文
書生成部である。
1 is a schematic block diagram showing a first embodiment of a document generating apparatus according to the present invention. In the figure, 1 is a document skeleton input unit, 2 is a document skeleton holding unit, 3 is a field definition unit, 4 is a field definition holding unit, 5 is a field value input unit, 6 is a field value holding unit, and 7 is field selection information input. Department,
Reference numeral 8 is a field selection unit, 9 is a variable item generation unit, and 10 is a document generation unit.

【0016】文書骨格入力部1では、可変項目が埋め込
まれた文書骨格を入力する。文書骨格入力部1は、例え
ば、一般のワープロと同様の文書入力機能によって実現
することができる。文書骨格保持部2は、文書骨格入力
部1で入力された文書骨格を保持する。文書骨格保持部
2は、ハードディスクなどの2次記憶装置でもよいし、
主記憶装置でもよい。
The document skeleton input unit 1 inputs a document skeleton in which variable items are embedded. The document skeleton input unit 1 can be realized by, for example, a document input function similar to that of a general word processor. The document skeleton holding unit 2 holds the document skeleton input by the document skeleton input unit 1. The document skeleton holding unit 2 may be a secondary storage device such as a hard disk,
It may be the main storage device.

【0017】フィールド定義部3は、各可変項目に対し
て用意するフィールドの構造を定義する。このフィール
ドは、ユーザの知識レベルに応じて選択的に用いられる
ものである。フィールドの構造には、選択可能なフィー
ルドの個数や各フィールドのフィールド名等の定義を含
む。フィールド定義保持部4は、フィールド定義部3で
定義されたフィールド定義を保持する。フィールド値入
力部5は、フィールド定義部3に保持されているフィー
ルド定義に従って、文書骨格中に記述可能な各可変項目
に対応した各フィールドにフィールド値を設定する。フ
ィールド値保持部6は、可変項目およびフィールドに対
応づけられたフィールド値が保持されている。すなわ
ち、各可変項目について複数のフィールドが定義されて
おり、各可変項目の各フィールドにフィールド値が設定
される。各可変項目は可変項目名で、各フィールドはフ
ィールド名で識別される。
The field definition unit 3 defines the structure of the field prepared for each variable item. This field is selectively used according to the knowledge level of the user. The field structure includes definitions such as the number of selectable fields and the field name of each field. The field definition holding unit 4 holds the field definition defined by the field definition unit 3. The field value input unit 5 sets a field value in each field corresponding to each variable item that can be described in the document skeleton according to the field definition held in the field definition unit 3. The field value holding unit 6 holds field values associated with variable items and fields. That is, a plurality of fields are defined for each variable item, and a field value is set in each field of each variable item. Each variable item is identified by a variable item name, and each field is identified by a field name.

【0018】フィールド選択情報入力部7では、生成す
べき文書が想定するユーザの知識レベルが指定される。
フィールド選択部8は、フィールド選択情報と、選択す
るフィールド名のリストとを対にして記憶している。フ
ィールド選択情報は、フィールド選択情報入力部7で指
定されるユーザの知識レベルに相当する。すなわち、ユ
ーザの知識レベルに対応して、フィールド値保持部6に
保持されているフィールドのうちどれを文書に埋め込む
かを選択するための情報を保持している。そして、フィ
ールド選択部8は、フィールド選択情報入力部7による
ユーザの知識レベルの指定に従って、対応するフィール
ド名のリストを可変項目生成部9に通知する。
In the field selection information input section 7, the user's knowledge level assumed by the document to be generated is designated.
The field selection unit 8 stores field selection information and a list of field names to be selected as a pair. The field selection information corresponds to the user's knowledge level designated by the field selection information input unit 7. That is, it holds information for selecting which of the fields held in the field value holding unit 6 to be embedded in the document, corresponding to the knowledge level of the user. Then, the field selection unit 8 notifies the variable item generation unit 9 of the list of corresponding field names according to the user's knowledge level designation by the field selection information input unit 7.

【0019】可変項目生成部9は、フィールド選択部8
から通知されたフィールド名のリストをもとに、フィー
ルド値保持部6に保持されている各可変項目ごとにフィ
ールド名に対応するフィールド値を取り出し、可変項目
値を生成する。
The variable item generation unit 9 includes a field selection unit 8
The field value corresponding to the field name is extracted for each variable item held in the field value holding unit 6 based on the list of field names notified from the field value holding unit 6, and the variable item value is generated.

【0020】文書生成部10は、文書骨格保持部2に保
持されている文書骨格中に埋め込まれている可変項目
を、可変項目生成部9で生成された可変項目値に置き換
え、フィールド選択情報入力部7で指定したユーザの知
識レベルに適合した文書を生成する。このとき、可変項
目値に置き換えたことによって、例えば、文の長さが変
化したり、図や表に置き換えられる場合にはそれらのス
ペース量が変化することが考えられる。そのため、文書
生成部10では、文書骨格で設定されているフォーマッ
トあるいはデフォルトのフォーマットに基づき、適宜、
生成する文書中の文、図、表などの各要素の再配置を行
なう。
The document generation unit 10 replaces the variable item embedded in the document skeleton held in the document skeleton holding unit 2 with the variable item value generated by the variable item generation unit 9, and inputs the field selection information. A document suitable for the user's knowledge level designated by the unit 7 is generated. At this time, it is conceivable that the sentence length may be changed, or the space amount of the sentence may be changed when the sentence is replaced with a figure or a table, by replacing the variable item value. Therefore, in the document generation unit 10, based on the format set in the document skeleton or the default format,
Rearrange each element such as sentences, figures, and tables in the generated document.

【0021】図2は、本発明の文書生成装置の第1の実
施例における動作の一例の説明図である。図中の符号は
図1と同様である。
FIG. 2 is an explanatory diagram showing an example of an operation in the first embodiment of the document generating apparatus of the present invention. Reference numerals in the figure are the same as those in FIG.

【0022】文書骨格保持部2には、文書骨格入力部1
で入力された、可変項目が埋め込まれた文書骨格が保持
されている。図2に示した例では、「&」から「;」ま
でが可変項目である。「&」と「;」で挟まれた文字列
が可変項目名である。例えば、可変項目「&A;」の可
変項目名は「A」である。ここでは、2つの可変項目
「&A;」と1つの可変項目「&B;」が文書骨格中に
挿入されている。
The document skeleton holding unit 2 includes a document skeleton input unit 1
The document skeleton in which the variable items are embedded, which is input in, is held. In the example shown in FIG. 2, “&” to “;” are variable items. A character string sandwiched between "&" and ";" is a variable item name. For example, the variable item name of the variable item “&A;” is “A”. Here, two variable items “&A;” and one variable item “&B;” are inserted in the document skeleton.

【0023】一方、フィールド定義部3では、フィール
ド名「F1」,「F2」,「F3」の3つのフィールド
が定義され、また、可変項目名「A」,「B」,「C」
が定義され、フィールド定義保持部4に保持される。こ
のフィールド定義に従って、フィールド値入力部5にお
いて各可変項目、各フィールドに対応してフィールド値
が入力される。フィールド値保持部6には、このように
して入力されたフィールド値が可変項目名、フィールド
名と対応づけて保持されている。図2では、フィールド
名「F1」,「F2」,「F3」と対応づけて、可変項
目名「A」のフィールド値としてそれぞれ「a1」,
「a2」,「a3」が設定されている。同様に、可変項
目名「B」のフィールド値としてそれぞれ「b1」,
「b2」,「b3」が設定され、可変項目名「C」のフ
ィールド値としてそれぞれ「c1」,「c2」,「c
3」が設定されている。
On the other hand, the field definition unit 3 defines three fields of field names "F1", "F2", "F3", and variable item names "A", "B", "C".
Is defined and held in the field definition holding unit 4. According to this field definition, the field value input section 5 inputs a field value corresponding to each variable item and each field. The field value holding unit 6 holds the field value input in this way in association with the variable item name and the field name. In FIG. 2, the field names “F1”, “F2”, and “F3” are associated with each other, and the field values of the variable item name “A” are “a1”,
“A2” and “a3” are set. Similarly, as the field value of the variable item name “B”, “b1”,
“B2” and “b3” are set, and “c1”, “c2”, and “c” are set as the field values of the variable item name “C”, respectively.
3 ”is set.

【0024】また、フィールド選択部8は、フィールド
選択情報と、選択するフィールド名のリストとを対にし
て記憶しており、ここでは、「レベル1」とフィールド
名のリスト「F3」が、「レベル2」と「F2,F3」
が、「レベル3」と「F1,F2,F3」がそれぞれ対
応づけられている。
The field selection unit 8 also stores field selection information and a list of field names to be selected as a pair. Here, the "level 1" and the field name list "F3" are " Level 2 "and" F2, F3 "
However, "level 3" and "F1, F2, F3" are associated with each other.

【0025】いま、フィールド選択情報入力部7におい
て、フィールド選択情報として「レベル2」が指定され
たものとする。すると、フィールド選択部8では、フィ
ールド選択情報入力部7で指定されたフィールド選択情
報「レベル2」に基づき、対応するフィールド名のリス
ト「F2,F3」が選択され、フィールド名「F2」と
「F3」が選択されたことを可変項目生成部9に通知す
る。
It is assumed that "level 2" is designated as the field selection information in the field selection information input section 7. Then, the field selection unit 8 selects the corresponding field name list "F2, F3" based on the field selection information "level 2" specified by the field selection information input unit 7, and selects the field names "F2" and "F2". The variable item generation unit 9 is notified that “F3” has been selected.

【0026】可変項目生成部9では、フィールド選択部
8からフィールド名「F2」,「F3」が選択されたこ
とが通知されると、フィールド値保持部6に保持されて
いるフィールド名「F2」,「F3」の欄のみを参照
し、例えば、可変項目「A」についてはフィールド値
「a2」,「a3」を取り出し、これらを連結して可変
項目値「a2a3」を生成する。可変項目「B」,
「C」についても同様に、可変項目値「b2b3」,
「c2c3」を生成する。生成された可変項目値は文書
生成部10に渡される。
In the variable item generator 9, when the field selector 8 notifies that the field names "F2" and "F3" have been selected, the field name "F2" held in the field value holder 6 is notified. , "F3" only, for example, for variable item "A", field values "a2" and "a3" are extracted, and these are concatenated to generate variable item value "a2a3". Variable item "B",
Similarly, for "C", the variable item values "b2b3",
“C2c3” is generated. The generated variable item value is passed to the document generation unit 10.

【0027】文書生成部10では、可変項目生成部9で
生成された可変項目値を用いて、文書骨格保持部2に保
持されている文書骨格中に埋め込まれている可変項目を
置き換える。例えば、図2に示した骨格文書中の2つの
可変項目「&A;」は可変項目値「a2a3」に、1つ
の可変項目「&B;」は可変項目値「b2b3」にそれ
ぞれ置き換えられ、フィールド選択情報入力部7で指定
した「レベル2」の文書が生成される。可変項目「&
C;」は、文書骨格保持部2に保持されている文書骨格
中に存在しないので使用されない。このようにして、ユ
ーザの知識レベルに対応した文書を生成することができ
る。
The document generation unit 10 uses the variable item value generated by the variable item generation unit 9 to replace the variable item embedded in the document skeleton held in the document skeleton holding unit 2. For example, two variable items “&A;” in the skeleton document shown in FIG. 2 are replaced with variable item values “a2a3”, and one variable item “&B;” is replaced with variable item value “b2b3”. The “level 2” document designated by the information input unit 7 is generated. Variable item "&
C; ”is not used because it does not exist in the document skeleton held in the document skeleton holding unit 2. In this way, a document corresponding to the user's knowledge level can be generated.

【0028】図1に示した例では、可変項目生成部9
は、フィールド選択部8から通知される全てのフィール
ド名について、フィールド値保持部6を参照して一括し
て全ての可変項目に対応する可変項目値を生成して出力
するように示されている。しかしこれに限らず、1つず
つ可変項目値を生成するように構成してもよい。すなわ
ち、フィールド選択部8から通知されるフィールド名を
もとに可変項目生成部9を参照して、最初の可変項目に
対応する選択されたフィールド値からなる可変項目値を
生成し、さらにこの可変項目値を文書生成部10に渡し
て、文書骨格保持部2に保持されている骨格文書の該当
する可変項目を入れ替える。次に、2番目の可変項目に
ついて、フィールド値保持部6からフィールド値を得て
可変項目値を生成し、文書生成部10で骨格文書の該当
する可変項目を入れ替える。同様にして、全ての可変項
目値を順次処理し、指定された知識レベルに対応する文
書を完成する。このように、可変項目値を順次生成して
骨格文書内の可変項目の入れ替えを行なって文書を生成
するように構成してもよい。
In the example shown in FIG. 1, the variable item generator 9
For all the field names notified from the field selection unit 8, the variable value values corresponding to all the variable items are collectively generated with reference to the field value holding unit 6 and output. . However, the present invention is not limited to this, and variable item values may be generated one by one. That is, the variable item generation unit 9 is referred to based on the field name notified from the field selection unit 8 to generate a variable item value including the selected field value corresponding to the first variable item, and the variable item value is further generated. The item value is passed to the document generation unit 10 to replace the corresponding variable item of the skeleton document held in the document skeleton holding unit 2. Next, for the second variable item, a field value is obtained from the field value holding unit 6 to generate a variable item value, and the document generating unit 10 replaces the corresponding variable item of the skeletal document. Similarly, all variable item values are sequentially processed to complete the document corresponding to the specified knowledge level. As described above, the variable item value may be sequentially generated, and the variable items in the skeleton document may be replaced to generate the document.

【0029】上述の例では、知識レベルと3つとして説
明したが、いくつであってもよい。また、フィールドの
数も3つに限定されるものではない。図1では示してい
ないが、フィールド選択部8に保持されるフィールド選
択情報とフィールド名のリストとの対の情報を入力する
ための手段を付加することもできる。
In the above example, the knowledge level and the knowledge level are three, but any number may be used. Also, the number of fields is not limited to three. Although not shown in FIG. 1, means for inputting pair information of the field selection information held in the field selection unit 8 and a list of field names can be added.

【0030】以下、本発明の文書生成装置の第1の実施
例における動作の一例を、具体例を用いて説明する。こ
こでは、あるソフトウェアに関係するユーザの知識量に
対応させた、3つのレベルを想定し、それぞれのレベル
に対応した説明の詳しさが異なる文書(マニュアル)を
生成する例を示す。
An example of the operation of the first embodiment of the document generating apparatus of the present invention will be described below using a concrete example. Here, an example in which three levels corresponding to the amount of knowledge of a user related to a certain software are assumed and a document (manual) corresponding to each level and having different details of description is generated is shown.

【0031】図3ないし図5は、文書骨格の具体例の説
明図である。利用者(本発明の装置を利用する人を利用
者と呼ぶ)は、文書骨格入力部1を用いて、可変項目を
含んだ文書骨格を入力する。入力された文書骨格は、文
書骨格保持部2に一時的に保持される。図3ないし図5
では、可変項目は、「&」で始まり、「;」で終わる文
字列によって示している。「(」と「)」に囲まれた文
字列、例えば、「転記」、は可変項目の名前を表わして
いる。「&」と「(」に囲まれた文字列、例えば、「C
OMMAND」は、可変項目の一部分または全部のフィ
ールドを表わしている。図3の「COMMAND(転
記)」と「ACTION(転記)」は、それぞれ可変項
目「転記」のフィールド「COMMAND」と「ACT
ION」を表わしている。「COMMAND(転記)」
と「ACTION(転記)」は、可変項目「転記」を限
定した可変項目である。この具体例では、限定した可変
項目「COMMAND(転記)」,「ACTION(転
記)」などの値を変化させることによって、詳しさが異
なる文書を生成する。図4の「COMMAND(GVの
終了)」,「ACTION(GVの終了)」、図5の
「COMMAND(ダブルクリックオープン)」,「A
CTION(ダブルクリックオープン)」も同様であ
る。
3 to 5 are explanatory views of specific examples of the document skeleton. A user (a person who uses the apparatus of the present invention is called a user) uses the document skeleton input unit 1 to input a document skeleton including variable items. The input document skeleton is temporarily held in the document skeleton holding unit 2. 3 to 5
In, the variable item is indicated by a character string that starts with “&” and ends with “;”. A character string surrounded by "(" and ")", for example, "transcription", represents the name of a variable item. Character strings between "&" and "(", for example, "C
"OMMAND" represents a part or all of the fields of the variable item. In FIG. 3, "COMMAND" and "ACTION" are fields "COMMAND" and "ACT" of the variable item "transcription", respectively.
ION ”. "COMMAND"
And “ACTION” are variable items limiting the variable item “transcription”. In this specific example, documents having different details are generated by changing the values of the limited variable items “COMMAND”, “ACTION”, and the like. “COMMAND (end of GV)”, “ACTION (end of GV)” in FIG. 4, “COMMAND (double-click open)” in FIG. 5, “A”
The same applies to "CION (double-click open)".

【0032】それぞれの文書骨格では、ある操作を行な
う対象と、操作自体の部分を可変項目としている。例え
ば、図3に示した文書骨格では、「&COMMAND
(転記);を&ACTION(転記);します。」とい
う記述がなされている。「&COMMAND(転
記);」の部分が操作の対象であり、「&ACTION
(転記);」の部分が操作自体を示す。これらの可変項
目の記述を変化させることによって、ユーザの知識レベ
ルに応じた文を生成する。
In each of the document skeletons, the target of a certain operation and the portion of the operation itself are variable items. For example, in the document skeleton shown in FIG. 3, "& COMMAND
(Post); && ACTION. Is described. The part of "&COMMAND;" is the target of the operation, and "&ACTION"
(Transcription); ”indicates the operation itself. By changing the description of these variable items, a sentence according to the user's knowledge level is generated.

【0033】図6は、本発明の第1の実施例におけるフ
ィールド値保持部に保持されるフィールド値の一例の説
明図である。ここでは説明のため、表形式で示している
が、実際のデータ構造は表形式に限らない。表中の「可
変項目名」の欄は、可変項目の名前を表わす。この例で
は、可変項目名として「転記」、「GVの終了」、「ダ
ブルクリックオープン」が登録されている。「COMM
AND」と「ACTION」の欄は、可変項目のフィー
ルドを表わしている。フィールド「COMMAND」は
さらにフィールド「ROOT」、「TOOL」および
「COMMAND−LEAF」から構成されている。フ
ィールド「ROOT」は、さらにフィールド「ROOT
−NAME」と「限定詞1」から構成されている。同様
に、フィールド「TOOL」は、フィールド「TOOL
−NAME」と「限定詞2」から構成されている。
FIG. 6 is an explanatory diagram of an example of field values held in the field value holding unit in the first embodiment of the present invention. For the sake of explanation, the table format is shown here, but the actual data structure is not limited to the table format. The column of "variable item name" in the table represents the name of the variable item. In this example, "transcription", "end of GV", and "double-click open" are registered as variable item names. "COMM
The columns of "AND" and "ACTION" represent fields of variable items. The field "COMMAND" further comprises fields "ROOT", "TOOL" and "COMMAND-LEAF". The field “ROOT” is further divided into the field “ROOT”
-NAME "and" qualifier 1 ". Similarly, the field "TOOL" is replaced by the field "TOOL"
-NAME "and" qualifier 2 ".

【0034】図6では、ユーザの知識レベルに応じた操
作対象の説明を行なうために、フィールド「COMMA
ND」を複数のフィールド群で構成している。このこと
を、可変項目名の値が「転記」の行で説明する。転記と
いう機能は、フィールド「COMMAND−LEAF」
の値、すなわち「<転記>キー」、をフィールド「AC
TION」の値、すなわち「押」すことで実行できる。
また、フィールド「TOOL」と「COMMAND−L
EAF」の値を連結して、「特殊キーの中の<転記>キ
ー」を「押」すことで実行できる。さらに、フィールド
「ROOT」,「TOOL」,「COMMAND−LE
AF」の値を連結して、「キーボードの左側にある特殊
キーの中の<転記>キー」を「押」すと説明してもよ
い。このように、フィールド「COMMAND」を構成
するフィールドである「ROOT」、「TOOL」、
「COMMAND−LEAF」を連結することで、詳し
さの異なる操作対象の説明の生成が可能になる。可変項
目名が「GVの終了」の行、および、可変項目名が「ダ
ブルクリックオープン」の行についても同様である。
In FIG. 6, in order to explain the operation target according to the user's knowledge level, the field "COMMA" is displayed.
"ND" is composed of a plurality of field groups. This will be described in the row in which the value of the variable item name is "transcription". The function of posting is in the field "COMMAND-LEAF".
Value, that is, "<posting>key", in the field "AC
It can be executed by the value of “TION”, that is, “press”.
In addition, the fields "TOOL" and "COMMAND-L"
This can be executed by connecting the values of "EAF" and "pressing" the "<transcription> key in the special keys". In addition, the fields "ROOT", "TOOL", "COMMAND-LE
It may be explained that the value of “AF” is connected and the “transcription key in the special keys on the left side of the keyboard” is “pressed”. In this way, the fields “ROOT”, “TOOL”, which are the fields constituting the field “COMMAND”,
By connecting “COMMAND-LEAF”, it is possible to generate descriptions of operation targets having different details. The same applies to the line in which the variable item name is “End of GV” and the line in which the variable item name is “Double-click open”.

【0035】フィールド定義部3によって、図6に例示
したような可変項目のフィールドを定義し、フィールド
定義保持部4で一時的に保持する。図4の最初の欄が可
変項目のフィールド定義に当たる。図7は、本発明の第
1の実施例におけるフィールド定義をSGMLで行なっ
た具体例の説明図である。SGML(Standard
Generalized Markup Langu
age;ISO8879)については、例えば、Eri
c van Herwijnen,実践SGML,日本
規格協会などを参照されたい。図7では、「フィール
ド」と名付けた文書タイプ定義によって、フィールドを
定義している。文書タイプ定義「フィールド」は、1つ
以上の「タプル」の繰り返しで構成されている。「タプ
ル」は、「可変項目名」、「COMMAND」、「AC
TION」からなり、これらがこの順番に並んでいなけ
ればならないと定義している。「COMMAND」は、
「ROOT」、「TOOL」、「COMMAND−LE
AF」からなり、さらに「ROOT」と「TOOL」は
それぞれ「ROOT−NAME」と「限定詞1」、「T
OOL−NAME」と「限定詞2」が順番に並んでいな
ければならないと定義している。「可変項目名」、「C
OMMAND−LEAF」、「ROOT−NAME」、
「限定詞1」、「TOOL−NAME」、「限定詞
2」、および「ACTION」は、その内容として文字
データを持つと定義している。このようにして、図6の
フィールド定義を図7に示すように表現することができ
る。
The field of the variable item as shown in FIG. 6 is defined by the field definition unit 3, and is temporarily held by the field definition holding unit 4. The first column in FIG. 4 corresponds to the variable item field definition. FIG. 7 is an explanatory diagram of a specific example in which the field definition in the first embodiment of the present invention is performed by SGML. SGML (Standard)
Generalized Markup Langu
age; ISO8879), for example, Eri
See c van Herwijnen, Practical SGML, Japanese Standards Association, etc. In FIG. 7, the field is defined by the document type definition named “field”. The document type definition “field” is formed by repeating one or more “tuples”. "Tuple" means "variable item name", "COMMAND", "AC"
TION ”and defines that they must be arranged in this order. "COMMAND" is
"ROOT", "TOOL", "COMMAND-LE
AF, and "ROOT" and "TOOL" are "ROOT-NAME", "qualifier 1", and "T", respectively.
It defines that "OOL-NAME" and "qualifier 2" must be arranged in order. "Variable item name", "C
"OMMAND-LEAF", "ROOT-NAME",
It is defined that “qualifier 1”, “TOOL-NAME”, “qualifier 2”, and “ACTION” have character data as their contents. In this way, the field definition of FIG. 6 can be expressed as shown in FIG.

【0036】フィールド値入力部5では、図6に示す可
変項目名のフィールド値を入力する。図6では、下から
3行が入力されたフィールド値である。このとき、フィ
ールド定義保持部4に保持されたフィールド定義を読み
込んで、入力すべき全てのフィールドの値が正しく入力
されたかをチェックする。全てのフィールドが正しく入
力されていれば、それらをフィールド値保持部6に保持
する。もし、そうでなければ、フィールド値保持部6に
は保持されない。あるいは、フィールド定義保持部4に
保持されているフィールド定義に基づいて、各フィール
ド値を入力するように構成してもよい。このとき、図6
に示すようなテーブルを表示し、各セルにフィールド値
を入力するように構成することも可能である。
The field value input section 5 inputs the field value of the variable item name shown in FIG. In FIG. 6, the bottom three lines are the input field values. At this time, the field definitions held in the field definition holding unit 4 are read, and it is checked whether the values of all the fields to be input are correctly input. If all fields are correctly input, they are held in the field value holding unit 6. If not, it is not held in the field value holding unit 6. Alternatively, each field value may be input based on the field definition held in the field definition holding unit 4. At this time, FIG.
It is also possible to display a table as shown in and to input a field value in each cell.

【0037】図8は、本発明の第1の実施例におけるフ
ィールド値の表記をSGMLで行なった具体例の説明図
である。フィールド値入力部5で入力されたフィールド
値はフィールド値保持部6に保持されるが、このとき、
例えば、図8に示すようにSGMLを用いて表現するこ
とが可能である。図8では、「<フィールド>」の内容
として、「<可変項目名>」,「<COMMAND
>」,「<ACTION>」の3つの記述が3回繰り返
し行なわれており、それぞれ、可変項目名が「転記」,
「GVの終了」,「ダブルクリックオープン」の各行の
フィールド値が記述されている。以下、可変項目名が
「転記」の部分のみ説明する。
FIG. 8 is an explanatory diagram of a concrete example in which the field value is described in SGML in the first embodiment of the present invention. The field value input by the field value input unit 5 is held in the field value holding unit 6, and at this time,
For example, it can be expressed using SGML as shown in FIG. In FIG. 8, the contents of “<field>” are “<variable item name>”, “<COMMAND
> ”And“ <ACTION> ”are repeated three times, and variable item names are“ transcription ”,
The field value of each line of "End of GV" and "Double-click open" is described. Hereinafter, only the part in which the variable item name is "transcription" will be described.

【0038】最初の「<可変項目名>」と「</可変項
目名>」で挟まれた「転記」が可変項目名のフィールド
値である。「<COMMAND>」と「</COMMA
ND>」に挟まれた記述がフィールド「COMMAN
D」の記述である。さらに、「<ACTION>」と
「</ACTION>」に挟まれた記述「押」がフィー
ルド「ACTION」のフィールド値である。フィール
ド「COMMAND」の記述は入れ子構造となってお
り、フィールド「ROOT」,「TOOL」,「COM
MAND−LEAF」の記述が含まれている。フィール
ド「ROOT」の記述は、「<ROOT>」と「</R
OOT>」に挟まれた部分である。この記述も入れ子構
造となっており、フィールド「ROOT−NAME」,
「限定詞1」の記述が含まれている。フィールド「RO
OT−NAME」のフィールド値は、「<ROOT−N
AME>」と「</ROOT−NAME>」に挟まれた
記述「キーボード」である。また、フィールド「限定詞
1」のフィールド値は、「<限定詞1>」と「</限定
詞1>」に挟まれた記述「の左側にある」である。フィ
ールド「TOOL」についても同様である。フィールド
「COMMAND−LEAF」のフィールド値は、「<
COMMAND−LEAF>」と「</COMMAND
−LEAF>」に挟まれた記述「<転記>キー」であ
る。以下同様に、可変項目名「GVの終了」,「ダブル
クリックオープン」についても各フィールド値の記述が
行なわれている。
The first "transcription" sandwiched between "<variable item name>" and "</ variable item name>" is the field value of the variable item name. "<COMMAND>" and "</ COMMA
The description sandwiched between "ND>" is the field "COMMAN
"D". Further, the description “press” sandwiched between “<ACTION>” and “</ ACTION>” is the field value of the field “ACTION”. The description of the field "COMMAND" has a nested structure, and the fields "ROOT", "TOOL", and "COM" are included.
"MAND-LEAF" is included. The description of the field "ROOT" is "<ROOT>" and "</ R
It is a part sandwiched between OOT> ”. This description also has a nested structure, and the field "ROOT-NAME",
The description of "qualifier 1" is included. Field "RO
The field value of "OT-NAME" is "<ROOT-N
It is a description "keyboard" sandwiched between "AME>" and "</ ROOT-NAME>". The field value of the field “qualifier 1” is the description “to the left of” between “<qualifier 1>” and “</ qualifier 1>”. The same applies to the field "TOOL". The field value of the field "COMMAND-LEAF" is "<
COMMAND-LEAF> ”and“ </ COMMAND
-LEAF>"is a description"<transcription> key "sandwiched between the two. Similarly, the field values are described for the variable item names "End GV" and "Double-click open".

【0039】このようにSGMLの記述に従ってフィー
ルド値が記述されている場合、SGMLのパーサーを用
いて、例えば、図7に示したフィールド定義に合致して
いるかを検査することができる。あるいは、図7に示し
たフィールド定義に従ってフィールド値を入力し、図8
に示すような表記に変換することができる。もちろん、
フィールド値を保持するためのデータ構造として他の方
法を用いることも可能である。
When the field value is described according to the SGML description, it is possible to check whether the field value matches the field definition shown in FIG. 7, for example, using the SGML parser. Alternatively, enter the field value according to the field definition shown in FIG.
Can be converted into the notation as shown in. of course,
Other methods can be used as a data structure for holding field values.

【0040】図9は、フィールド選択部8で利用するユ
ーザの知識レベルの定義の一例の説明図である。フィー
ルド選択情報入力部7では、フィールドを選択するため
のフィールド選択情報を入力して、文書の生成に利用す
るフィールドを選択する。フィールド選択情報として
は、例えば、ユーザの知識レベルとすることができる。
この例では3種類の知識レベル、すなわち、「常用者」
「ビギナー」「W/Sのビギナー」の3レベルを設定し
ている。このうちの1つを指定することによって、その
レベルに適した文書を生成するためのフィールドを選択
する。図9に示した例では、各レベルにおいて、値が
「Y」であるフィールドのみを選択する。レベル「常用
者」が選ばれると、フィールド「COMMAND」のう
ち、その値が「Y」であるフィールド「COMMAND
−LEAF」が選択される。また、レベル「ビギナー」
が選ばれると、フィールド「TOOL−NAME」、
「限定詞2」と「COMMAND−LEAF」が選択さ
れる。同様にして、レベル「W/Sのビギナー」が選ば
れると、フィールド「ROOT−NAME」、「限定詞
1」、「TOOL−NAME」、「限定詞2」および
「COMMAND−LEAF」の全てが選択される。フ
ィールド「ACTION」はユーザレベルに関係なく選
択される。ここではテーブルを用い、選択するフィール
ドに値「Y」、選択しないフィールドに値「N」を設定
しているが、選択するフィールド名のみを列記するよう
に構成してもよい。そのほかにも、ポインタ構造やリス
ト構造など、種々のデータ構造を用いることができる。
FIG. 9 is an explanatory diagram of an example of the definition of the user's knowledge level used in the field selection unit 8. The field selection information input unit 7 inputs field selection information for selecting a field and selects a field used for generating a document. The field selection information can be, for example, the user's knowledge level.
In this example, there are three levels of knowledge, namely "addicts".
There are 3 levels, “Beginner” and “Beginner of W / S”. By specifying one of these, a field for generating a document suitable for that level is selected. In the example shown in FIG. 9, only the fields whose value is “Y” are selected at each level. When the level "consumer" is selected, the field "COMMAND" whose value is "Y" in the field "COMMAND" is selected.
-LEAF "is selected. Also, the level "Beginner"
Is selected, the field "TOOL-NAME",
"Definitive 2" and "COMMAND-LEAF" are selected. Similarly, when the level "Beginner of W / S" is selected, all of the fields "ROOT-NAME", "qualifier 1", "TOOL-NAME", "qualifier 2" and "COMMAND-LEAF" are selected. To be selected. The field "ACTION" is selected regardless of user level. Here, the table is used and the value “Y” is set in the field to be selected and the value “N” is set in the field not to be selected, but only the field name to be selected may be listed. Besides, various data structures such as a pointer structure and a list structure can be used.

【0041】図10,図11は、ユーザの知識レベルの
定義にSGMLを用いた具体例の説明図である。図1
0,図11に示した記述の構成は、ほぼ、上述の図7に
示したフィールド定義の記述と、図8に示したフィール
ド値の記述を合わせたような構成である。文書タイプ定
義は「レベル」となっており、まず、フィールド定義と
同様の構造の定義がなされている。続いて、知識レベル
「常用者」のタプル、知識レベル「ビギナー」のタプ
ル、知識レベル「W/Sビギナー」のタプルが順に記述
されている。各タプル内に各フィールドの使用の有無を
示す値「Y」または「N」の記述が行なわれている。
FIG. 10 and FIG. 11 are explanatory views of a specific example in which SGML is used to define the knowledge level of the user. FIG.
0, the structure of the description shown in FIG. 11 is almost the same as the structure of the description of the field definition shown in FIG. 7 and the description of the field value shown in FIG. The document type definition is “level”, and first, the same structure definition as the field definition is made. Then, a tuple of the knowledge level "regular user", a tuple of the knowledge level "beginner", and a tuple of the knowledge level "W / S beginner" are described in order. The value "Y" or "N" indicating whether or not each field is used is described in each tuple.

【0042】フィールド選択部8では、このようなユー
ザの知識レベルの定義を用い、フィールド選択情報入力
部7から入力されたユーザの知識レベルに従って、その
知識レベルで選択するフィールド名を得て、選択するフ
ィールド名のリストを可変項目生成部9に通知する。
The field selection unit 8 uses the definition of the user's knowledge level as described above, and according to the user's knowledge level input from the field selection information input unit 7, obtains the field name to be selected at that knowledge level and selects it. The variable item generation unit 9 is notified of the list of field names to be set.

【0043】図12は、本発明の第1の実施例における
可変項目生成部9の動作の一例を示すフローチャートで
ある。上述のように、可変項目生成部9はフィールド選
択部から通知されたフィールド名のリストに従って、フ
ィールド値保持部6からフィールド値を得て、可変項目
値を生成する。なお、可変項目生成部9から通知された
フィールド名のリストには、例えば、フィールドが階層
構造となっている場合、その親のフィールド名もリスト
に加えられているものとする。また、可変項目名のフィ
ールド名は常に選択されているものとする。また、フィ
ールド値保持部6に保持されるフィールド値は、図8に
示すようなSGMLで記述されているものとする。以下
の説明において、トークンとは、開始タグ、終了タグ、
内容のいずれかである。開始タグは、「<」から「>」
までの記述である。終了タグは、「</」から「>」ま
での記述である。それ以外の部分が内容である。
FIG. 12 is a flow chart showing an example of the operation of the variable item generator 9 in the first embodiment of the present invention. As described above, the variable item generation unit 9 obtains the field value from the field value holding unit 6 according to the list of field names notified from the field selection unit, and generates the variable item value. In addition, in the list of field names notified from the variable item generation unit 9, for example, when the fields have a hierarchical structure, the parent field name is also added to the list. The field name of the variable item name is always selected. Further, the field value held in the field value holding unit 6 is described in SGML as shown in FIG. In the following description, token means start tag, end tag,
It is one of the contents. The start tag is from "<" to ">"
It is a description up to. The end tag is a description from "</>" to ">". The other parts are the contents.

【0044】まず、S21において、可変項目値を保持
するためのリストを初期化する。このリストには、処理
が進むにつれて、可変項目名とその値が対になって保持
されていく。この実施例では、リストにフィールド名と
フィールド値の対も保持される。S21において行なう
初期化では、可変項目値が何も生成されていないことを
示すために、リストの最初のセルにNULLが設定され
る。
First, in S21, a list for holding variable item values is initialized. In this list, variable item names and their values are paired and held as the processing progresses. In this embodiment, the list also holds field name / field value pairs. In the initialization performed in S21, NULL is set in the first cell of the list to indicate that no variable item value has been generated.

【0045】次に、S22において、生成した可変項目
値と可変項目名を一時的に保持するための作業用のスタ
ックを初期化する。この実施例では、タグ名や、フィー
ルド名とフィールド値も一時的に保持される。S22に
おける初期化では、スタックに必要な記憶領域を確保
し、スタックをからの状態に設定する。
Next, in S22, a work stack for temporarily holding the generated variable item value and variable item name is initialized. In this embodiment, the tag name, the field name and the field value are also temporarily stored. In the initialization in S22, the storage area required for the stack is secured and the stack is set to the empty state.

【0046】S23では、フィールド値保持部6に保持
されているフィールド値に関するSGMLの記述から、
順次、トークンを切り出す。各トークンは、SGMLに
おける開始タグ、終了タグ、内容のいずれかである。こ
れらのトークンの種類と切り出されたトークンを得る。
At S23, from the SGML description regarding the field value held in the field value holding unit 6,
Sequentially cut out tokens. Each token is one of a start tag, an end tag, and a content in SGML. Get these token types and cut tokens.

【0047】フィールド値保持部6から切り出すべきト
ークンがなくなった場合には、それをS24において検
出する。それまでの処理で生成した可変項目値は、リス
トに保持されている。可変項目値を保持したリストを文
書生成部10に渡し、処理を終了する。この実施例で
は、リストにはフィールド名とフィールド値の対も保持
されている。
When there are no more tokens to be cut out from the field value holding unit 6, it is detected in S24. The variable item values generated by the processing so far are held in the list. The list holding the variable item values is passed to the document generation unit 10, and the process ends. In this example, the list also holds field name and field value pairs.

【0048】S25では、S24で切り出されたトーク
ンが終了タグか否かを判定し、処理を切り換える。S2
5でトークンが開始タグまたは内容であると判定された
場合は、S26において、後で可変項目値を生成するた
めに、切り出したトークンをスタックにプッシュする。
そして、次のトークンの処理を行なうために、S23の
トークンの切り出し処理に移る。
In S25, it is determined whether or not the token cut out in S24 is the end tag, and the process is switched. S2
If it is determined in 5 that the token is a start tag or content, in S26, the cut token is pushed onto the stack in order to generate a variable item value later.
Then, in order to perform the processing of the next token, the process proceeds to the token cutting processing of S23.

【0049】S25でトークンが終了タグであると判定
される場合は、可変項目値を生成する。生成方法は2種
類ある。どちらの方法で生成するかは、S27において
フィールド選択部8で選択されたフィールド名と該終了
タグのタグ名が一致するか否かを判定して決定する。
If it is determined in S25 that the token is the end tag, variable item values are generated. There are two generation methods. Which method to generate is determined by determining whether or not the field name selected by the field selection unit 8 in S27 matches the tag name of the end tag.

【0050】S27において、終了タグのタグ名に一致
する選択されたフィールド名が存在すると判定された場
合は、S28において、終了タグのタグ名と一致する開
始タグが現われるまでスタックからデータをポップアッ
プする。ポップアップしたデータが内容である場合に
は、ポップアップした内容を連結して、可変項目値を生
成する。このとき、最近にポップアップしたデータが先
頭になるように順次連結する。データの連結は、複数の
フィールドから構成された可変項目値を生成するために
行なう。
If it is determined in S27 that the selected field name that matches the tag name of the end tag exists, then in S28 data is popped up from the stack until a start tag that matches the tag name of the end tag appears. . When the pop-up data is content, the pop-up content is concatenated to generate a variable item value. At this time, the most recently popped-up data is sequentially connected so that it is at the head. The data is connected to generate a variable item value composed of a plurality of fields.

【0051】そして、S29において、終了タグのタグ
名と生成した可変項目値とを対にして、リストに追加す
る。さらに、S30において、複数のフィールドから構
成された可変項目の値を生成するために、生成した可変
項目値をスタックにプッシュする。次のトークンを処理
するためにS23へ戻り、トークンの切り出し処理に移
る。
Then, in S29, the tag name of the end tag and the generated variable item value are paired and added to the list. Further, in S30, the generated variable item value is pushed onto the stack in order to generate the value of the variable item composed of a plurality of fields. In order to process the next token, the process returns to S23 and proceeds to the token cutting process.

【0052】一方、S27において終了タグのタグ名に
一致する該選択されたフィールド名が存在しない場合
は、可変項目値を空とする。さらに、タグが現われるま
で、スタックからデータをポップアップし、該データを
捨てる。
On the other hand, if the selected field name that matches the tag name of the end tag does not exist in S27, the variable item value is made empty. In addition, pop up the data from the stack and discard the data until the tag appears.

【0053】図8に示したSGMLによるフィールド値
の例がフィールド値保持部6に保持されているとき、フ
ィールド選択情報入力部7から「ビギナー」が指定さ
れ、フィールド選択部8からフィールド「TOOL−N
AME」、「限定詞2」、「COMMAND−LEA
F」、「ACTION」が選択された旨が通知されたも
のとする。フィールド選択部8からは、さらに、フィー
ルド「TOOL」、「COMMAND」も選択されてい
るものとして通知される。また、フィールド「可変項目
名」は常に選択されている。このような状態で可変項目
生成部9が動作を開始すると、S21,S22でリスト
およびスタックが初期化される。そして、S23で順次
トークンが切り出される。
When the example field value according to SGML shown in FIG. 8 is held in the field value holding section 6, "beginner" is designated by the field selection information input section 7 and the field "TOOL- N
"AME", "Limiter 2", "COMMAND-LEA"
It is assumed that the fact that “F” or “ACTION” has been selected is notified. The field selection unit 8 further notifies that the fields "TOOL" and "COMMAND" are also selected. The field "variable item name" is always selected. When the variable item generation unit 9 starts the operation in such a state, the list and the stack are initialized in S21 and S22. Then, the tokens are sequentially cut out in S23.

【0054】トークン「<フィールド>」,「<可変項
目名>」,「転記」は、S26で順次スタックにプッシ
ュされる。次のトークン「</可変項目名>」は終了タ
グであり、「可変項目名」は選択されているので、S2
8でスタックからトークン「転記」,「<可変項目名
>」が順次ポップアップされる。そして、S29でタグ
名「可変項目名」と「転記」とを対にしてリストに追加
されるとともに、S30で「転記」をスタックにプッシ
ュする。
The tokens "<field>", "<variable item name>" and "transcription" are sequentially pushed onto the stack in S26. The next token "</ variable item name>" is an end tag, and "variable item name" is selected, so S2
At 8, the tokens "transcribe" and "<variable item name>" are sequentially popped up from the stack. Then, in S29, the tag name "variable item name" and "transcription" are paired and added to the list, and in S30, "transcription" is pushed onto the stack.

【0055】次のトークン「<COMMAND>」,
「<ROOT>」,「<ROOT−NAME>」,「キ
ーボード」はS26において順次スタックにプッシュさ
れる。トークン「</ROOT−NAME>」は終了タ
グであるが、選択されていない。そのため、S31にお
いて、トークン「キーボード」,「<ROOT−NAM
E>」が順次ポップアップされ、捨てられる。同様にし
て、トークン「<限定詞1>」,「の左側にある」は、
「</限定詞1>」の切り出し時に捨てられる。さら
に、次のトークン「</ROOT>」の切り出し時にト
ークン「<ROOT>」もポップアップされて捨てられ
る。
The next token "<COMMAND>",
"<Root>", "<Root-Name>", and "keyboard" are sequentially pushed onto the stack in S26. The token "</ ROOT-NAME>" is an end tag but is not selected. Therefore, in S31, the tokens "keyboard", "<ROOT-NAM
E> ”is sequentially popped up and discarded. Similarly, the tokens "<definition 1>" and "to the left of" are
Discarded when cutting out "<// determiner 1>". Furthermore, when the next token "</ ROOT>" is cut out, the token "<ROOT>" is also popped up and discarded.

【0056】次のトークン「<TOOL>」,「<TO
OL−NAME>」,「特殊キー」がS26においてス
タックにプッシュされる。トークン「</TOOL−N
AME>」は終了タグであり、選択されているフィール
ド名である。トークン「特殊キー」,「<TOOL−N
AME>」が順次ポップアップされ、タグ名「TOOL
−NAME」と「特殊キー」が対応づけられてリストに
追加される。また、「特殊キー」がスタックにプッシュ
される。同様にして、タグ名「限定詞2」と「の中の」
が対応づけられてリストに追加されるとともに、「の中
の」がスタックにプッシュされる。
Next tokens "<TOOL>", "<TOO
"OL-NAME>" and "special key" are pushed onto the stack in S26. Token "</ TOOL-N
“AME>” is an end tag and is the selected field name. Token "special key", "<TOOL-N
"AME>" pops up in sequence and the tag name "TOOL
-NAME "and" special key "are associated and added to the list. Also, a "special key" is pushed onto the stack. Similarly, the tag names "definition 2" and "inside"
Is added to the list, and "in" is pushed onto the stack.

【0057】次のトークン「/TOOL」は終了タグで
あり、選択されているフィールド名であるので、スタッ
クから「の中の」,「特殊キー」,「<TOOL>」を
順次ポップアップする。このとき、内容である「の中
の」の前に「特殊キー」を連結し、「特殊キーの中の」
という可変項目値を生成する。そして、タグ名「TOO
L」と生成した可変項目値「特殊キーの中の」を対応づ
けてリストに追加するとともに、「特殊キーの中の」を
スタックにプッシュする。
Since the next token "/ TOOL" is the end tag and the selected field name, "in", "special key" and "<TOOL>" are sequentially popped up from the stack. At this time, connect the "special key" before the "inside" which is the content, and
Variable value is generated. And the tag name "TOO
"L" and the generated variable item value "in the special key" are associated with each other and added to the list, and "in the special key" is pushed onto the stack.

【0058】次の「COMMAND−LEAF」も選択
されているフィールド名であるので、このタグ名と「<
転記>キー」とを対にしてリストに追加するとともに、
「<転記>キー」をスタックにプッシュする。さらに、
「COMMAND」も選択されているフィールド名であ
るので、スタックにプッシュされている「<転記>キ
ー」,「特殊キーの中の」,「<COMMAND>」が
順次ポップアップされる。このとき、「<転記>キー」
の前に「特殊キーの中の」を連結し、「特殊キーの中の
<転記>キー」という可変項目値を生成する。タグ名
「COMMAND」と生成した可変項目値「特殊キーの
中の<転記>キー」とを対にしてリストに追加し、可変
項目値をスタックにプッシュする。
Since the next "COMMAND-LEAF" is also the selected field name, this tag name and "<
"Posting>key" is added to the list as a pair,
Push the "<posting>key" onto the stack. further,
Since “COMMAND” is also the selected field name, “<transcription> key”, “in special key”, and “<COMMAND>” pushed on the stack are sequentially popped up. At this time, "<Posting>key"
"In the special key" is concatenated in front of, and a variable item value "<transcription> key in the special key" is generated. The tag name “COMMAND” and the generated variable item value “<transcription> key in special key” are added to the list as a pair, and the variable item value is pushed onto the stack.

【0059】「ACTION」についても選択されたフ
ィールド名であるので、リストへの追加とスタックへの
プッシュが行なわれる。以下、同様にして可変項目名
「GVの終了」,「ダブルクリックオープン」について
も可変項目値の生成が行なわれて、リストへ追加され
る。最後のトークン「</フィールド>」は選択されて
いないので、スタックはクリアされる。そして、S24
でトークンの終わりが検出され、それまでにリストに追
加された可変項目値が文書生成部10に出力される。
Since "ACTION" is also the selected field name, it is added to the list and pushed onto the stack. In the same manner, variable item values are generated for the variable item names "End GV" and "Double-click open", and are added to the list. The stack is cleared because the last token "</ field>" is not selected. And S24
The end of the token is detected at, and the variable item value added to the list up to that point is output to the document generation unit 10.

【0060】このようにして、リストには、最初に可変
項目名の対が登録され、続いてその可変項目名に対応す
るフィールド名と可変項目値の対が登録されている。可
変項目値は、フィールド選択部8で選択されたフィール
ド値のみが抽出され、生成されている。上述のフィール
ド選択情報入力部4から「ビギナー」が選択されている
場合には、可変項目名「転記」の中のフィールド名「C
OMMAND」の可変項目値は「特殊キーの中の<転記
>キー」が生成されている。同様に、フィールド選択情
報入力部4から「常用者」が選択されている場合には、
可変項目名「転記」の中のフィールド名「COMMAN
D」の可変項目値は「<転記>キー」が生成される。さ
らに、フィールド選択情報入力部4から「W/Sのビギ
ナー」が選択されている場合には、可変項目名「転記」
の中のフィールド名「COMMAND」の可変項目値は
「キーボードの左側にある特殊キーの中の<転記>キ
ー」が生成される。フィールド名「ACTION」の値
は、知識レベルに関係なく「押」である。
In this way, the variable item name pair is first registered in the list, and then the field name and variable item value pair corresponding to the variable item name are registered. The variable item value is generated by extracting only the field value selected by the field selection unit 8. When "beginner" is selected from the field selection information input section 4 described above, the field name "C" in the variable item name "transcription" is selected.
As the variable item value of “OMMAND”, “<transcription> key in special key” is generated. Similarly, when the "user" is selected from the field selection information input section 4,
The field name "COMMANN" in the variable item name "Post"
For the variable item value of “D”, “<transcription> key” is generated. Furthermore, when "Beginner of W / S" is selected from the field selection information input section 4, the variable item name "transcription"
The variable item value of the field name "COMMAND" in is generated as "<transcription> key in special keys on the left side of the keyboard". The value of the field name "ACTION" is "press" regardless of the knowledge level.

【0061】図13ないし図21は、本発明の第1の実
施例において文書生成部10によって生成された文書の
一例の説明図である。可変項目生成部9によって生成さ
れた可変項目の値を、文書骨格保持部2に保持されてい
る文書骨格の対応する可変部分と入れ替えることによっ
て、フィールド選択情報入力部7で指定した知識レベル
の読み手を想定した文書を生成する。図3ないし図5に
示した文書骨格に対して、ユーザの知識レベルを「常用
者」としたときに生成される文書を図13ないし図15
に、ユーザの知識レベルを「ビギナー」としたときに生
成される文書を図16ないし図18に、ユーザの知識レ
ベルを「W/Sのビギナー」としたときに生成される文
書を図19ないし図21にそれぞれ示している。
13 to 21 are explanatory views of an example of a document generated by the document generating unit 10 in the first embodiment of the present invention. By replacing the value of the variable item generated by the variable item generation unit 9 with the corresponding variable portion of the document skeleton held in the document skeleton holding unit 2, the reader of the knowledge level designated by the field selection information input unit 7 is replaced. Generate a document that assumes. Documents generated when the knowledge level of the user is set to "consumer" with respect to the document skeletons shown in Figs. 3 to 5 are shown in Figs. 13 to 15.
16 to 18 show documents generated when the user's knowledge level is "beginner", and FIGS. 19 to 19 are documents generated when the user's knowledge level is "W / S beginner". Each is shown in FIG.

【0062】例えば、ユーザの知識レベルとして「ビギ
ナー」が指定されている場合には、可変項目名「転記」
のフィールド名「COMMAND」の可変項目値は「特
殊キーの中の<転記>キー」である。また、フィールド
名「ACTION」の可変項目値は「押」である。図3
に示した文書骨格中の「&COMMAND(転記);」
は「特殊キーの中の<転記>キー」に置き換えられ、
「&ACTION(転記);」は「押」に置き換えられ
る。このような置き換えによって、図3に示した文書骨
格中の「&COMMAND(転記);を&ACTION
(転記);します。」という文から、「特殊キーの中の
<転記>キーを押します。」という文が生成され、図1
6に示すような文書が生成される。
For example, when "beginner" is specified as the user's knowledge level, the variable item name "transcription"
The variable item value of the field name “COMMAND” of “is a <transcription> key in the special keys”. The variable item value of the field name "ACTION" is "press". FIG.
“&COMMAND;” in the document skeleton shown in
Is replaced by "<Posting> key in special key",
"& ACTION (transcription);" is replaced with "push". By such replacement, "&COMMAND;" in the document skeleton shown in FIG.
(Posting); Yes. From the sentence ", the sentence" Press the <transcription> key in the special keys. "Is generated, and Fig. 1
A document as shown in 6 is generated.

【0063】同様にして、可変項目名「GVの終了」の
フィールド名「COMMAND」の可変項目値は「ヘッ
ダーコマンドから[GlobalView終了]」であ
り、フィールド名「ACTION」の可変項目値は「選
択」であるので、図4に示した文書骨格中の「&COM
MAND(GVの終了);」は「ヘッダーコマンドから
[GlobalView終了]」に置き換えられ、「&
ACTION(GVの終了);」は「選択」に置き換え
られる。このような置き換えによって、図4に示した文
書骨格中の「&COMMAND(GVの終了);を&A
CTION(GVの終了);します。」という文から、
「ヘッダーコマンドから[GlobalView終了]
を選択します。」という文が生成され、図17に示すよ
うな文書が生成される。また、可変項目名「ダブルクリ
ックオープン」のフィールド名「COMMAND」の可
変項目値は「マウスボタンのうち選択ボタン」であり、
フィールド名「ACTION」の可変項目値は「続けて
2回クリック」であるので、図5に示した文書骨格中の
「開きたいアイコンにカーソルを合わせ、&COMMA
ND(ダブルクリックオープン);を&ACTION
(ダブルクリックオープン);します。」という文か
ら、「開きたいアイコンにカーソルを合わせ、マウスボ
タンのうち選択ボタンを続けて2回クリックします。」
という文が生成され、図18に示すような文書が生成さ
れる。ユーザの知識レベルとして「常用者」あるいは
「W/Sのビギナー」が指定された場合も同様である。
Similarly, the variable item value of the field name "COMMAND" of the variable item name "End of GV" is "From header command to [GlobalView end]", and the variable item value of the field name "ACTION" is "Selection". "& COM in the document skeleton shown in FIG.
"MAND (End of GV);" is replaced with "From header command [End Global View]", and "&
ACTION (End of GV); "is replaced with" selection ". By such replacement, && COMMAND (end of GV) in the document skeleton shown in FIG.
CTION (End of GV); From the sentence
"From the header command [End GlobalView]
Choose. Is generated, and a document as shown in FIG. 17 is generated. In addition, the variable item value of the field name "COMMAND" of the variable item name "double-click open" is "selection button among mouse buttons",
Since the variable item value of the field name "ACTION" is "click twice in succession", move the cursor to the icon you want to open in the document skeleton shown in FIG.
ND (Double click open); && ACTION
(Double-click open); From the sentence, "Move the cursor to the icon you want to open and click the select button of the mouse button twice in succession."
Is generated, and a document as shown in FIG. 18 is generated. The same applies when "regular user" or "beginner of W / S" is designated as the knowledge level of the user.

【0064】以上のようにして、ユーザの知識レベルを
指定することによって、対応する可変項目のフィールド
を選択し、説明の詳しさが異なる文書を生成することが
できる。
As described above, by designating the user's knowledge level, it is possible to select the field of the corresponding variable item and generate a document having different details.

【0065】上述のようにして可変項目を可変項目値で
置き換えたとき、文の長さが変化する。例えば、ユーザ
の知識レベルとして「W/Sのビギナー」が指定されて
いる場合、図3に示す文書骨格中の「&COMMAND
(転記);を&ACTION(転記);します。」とい
う文は「キーボードの左側にある特殊キーの中の<転記
>キーを押します。」という文に置き換えられるが、こ
のとき、置き換えられた後の文は1行には収まらず、2
行にわたって記載されることになる。このような場合に
は、文書骨格のフォーマットに従って、レイアウトを行
なう。これにより、図19に示すように、操作手順2に
はインデンテーションがなされた2行にわたる表題が記
述されることになる。また、行が増えたことによって、
例えば、図がそのページに入りきれなくなった場合の処
理等、文の体裁以外のページレイアウトなども自動的に
修正するように構成することができる。
When the variable item is replaced with the variable item value as described above, the length of the sentence changes. For example, when "W / S beginner" is specified as the user's knowledge level, "&COMMAND" in the document skeleton shown in FIG.
(Post); && ACTION. The sentence "is replaced by the sentence" Press the <transcription> key in the special keys on the left side of the keyboard. "However, the sentence after the replacement does not fit on one line
It will be written across the lines. In such a case, layout is performed according to the format of the document skeleton. As a result, as shown in FIG. 19, the indented title over two lines is described in the operation procedure 2. Also, due to the increase in rows,
For example, it is possible to automatically correct a page layout other than the format of a sentence, such as processing when a figure cannot fit on the page.

【0066】図22は、本発明の文書生成装置の第2の
実施例を示すブロック図である。図中、図1と同様の部
分には同じ符号を付して説明を省略する。11は選択指
定部である。この第2の実施例では、上述の第1の実施
例におけるフィールド選択に加えて、同一の可変項目名
の複数のフィールド値から1つを選択することで、例え
ば、キーボードの違いなど、システム構成の違いに応じ
て、機能の割付が異なるソフトウェア製品の文書(マニ
ュアル)を生成する例を示している。
FIG. 22 is a block diagram showing the second embodiment of the document generating apparatus of the present invention. In the figure, the same parts as those in FIG. Reference numeral 11 is a selection designation unit. In the second embodiment, in addition to the field selection in the first embodiment described above, by selecting one from a plurality of field values of the same variable item name, for example, a system configuration such as a difference in keyboard is obtained. An example is shown in which documents (manuals) of software products with different function allocations are generated according to the difference in.

【0067】選択指定部11では、例えば、システム構
成などの構成の指定を行なう。フィールド定義では、新
たにフィールド「構成」が設けられている。そして、フ
ィールド値保持部6には、同じ可変項目名を有し、構成
名の違うフィールド値が保持される。可変項目生成部9
では、フィールド値保持部6に保持されているフィール
ド値のうち、選択指定部11で指定された「構成」の値
が一致する行のみが選択される。さらに、選択された行
に対して、フィールド選択部8で選択されたフィールド
の値が抽出され、可変項目値が生成される。
The selection designation section 11 designates a configuration such as a system configuration. In the field definition, a field “composition” is newly provided. Then, the field value holding unit 6 holds field values having the same variable item name but different configuration names. Variable item generation unit 9
Then, among the field values held in the field value holding unit 6, only the rows in which the values of “configuration” specified by the selection specifying unit 11 match are selected. Further, for the selected row, the value of the field selected by the field selection unit 8 is extracted, and the variable item value is generated.

【0068】図23は、本発明の第2の実施例における
フィールド値保持部に保持されるフィールド値の一例の
説明図である。図23には、キーボードの違いなど、シ
ステム構成の違いに応じて、機能の割付が異なるソフト
ウェア製品を想定した例を示している。最初の欄のフィ
ールド「構成」は、システム構成の違いを示している。
値として、「TYPE1」,「TYPE2」の2種類の
構成が登録されている。この「構成」の値ごとに、内容
の詳しさが異なる文書を生成する。システム構成が違っ
ても、説明する機能は同じであるので、可変項目名は両
方とも「転記」となっている。図23では可変項目名と
して「転記」だけが登録されている。
FIG. 23 is an explanatory diagram of an example of field values held in the field value holding unit in the second embodiment of the present invention. FIG. 23 shows an example in which a software product having different function allocations is assumed according to a difference in system configuration such as a difference in keyboard. The field "Configuration" in the first column indicates the difference in system configuration.
Two types of configurations, "TYPE1" and "TYPE2", are registered as values. Documents having different details are generated for each value of the "configuration". Even if the system configuration is different, the function to be explained is the same, so both variable item names are "transcription". In FIG. 23, only “transcription” is registered as the variable item name.

【0069】フィールド「構成」の値が「TYPE1」
の場合には、「転記」という機能は、「キーボードの左
側にある特殊キーの中の<転記>キー」に割り付けられ
ていて、このキーを「押」すことによって、「転記」が
実行されることを示している。同様に、フィールド「構
成」の値が「TYPE2」の場合には、「転記」という
機能が、「ディスプレイの上部にあるヘラルドから[転
記]」という項目を「選択」することにより実行される
ことを示している。
The value of the field "configuration" is "TYPE1"
In the case of, the function of "transcribe" is assigned to the "<transcribe> key in the special keys on the left side of the keyboard", and "transcribe" is executed by pressing this key. Which indicates that. Similarly, when the value of the field "configuration" is "TYPE2", the function "transcription" is executed by "selecting" the item "[transcription] from the Herald at the top of the display". Is shown.

【0070】図24は、本発明の第2の実施例における
フィールド定義をSGMLで行なった具体例の説明図、
図25は、本発明の第2の実施例におけるフィールド値
の表記をSGMLで行なった具体例の説明図である。こ
れらの記述は、ほぼ第1の実施例における図7、図8と
同様である。図24のフィールド定義では、フィールド
の一つとして「構成」が増えている。また、図25のフ
ィールド値の表記についても、可変項目名の前に構成の
フィールド値が記述されている。なお、図23において
は、図6に示したフィールド「ROOT」,「ROOT
−NAME」の代わりに、フィールド「DEVIC
E」,「DEVICE−NAME」を設けている。
FIG. 24 is an explanatory diagram of a concrete example in which the field definition in the second embodiment of the present invention is performed by SGML.
FIG. 25 is an explanatory diagram of a specific example in which the field value is notated in SGML in the second embodiment of the present invention. These descriptions are almost the same as those in FIGS. 7 and 8 in the first embodiment. In the field definition of FIG. 24, “composition” is increased as one of the fields. Also, regarding the notation of the field value in FIG. 25, the field value of the configuration is described before the variable item name. Note that, in FIG. 23, the fields “ROOT” and “ROOT” shown in FIG.
-Instead of "NAME", the field "DEVIC"
"E" and "DEVICE-NAME" are provided.

【0071】以下、本発明の文書生成装置の第2の実施
例における動作の一例を具体例をもとに説明する。文書
骨格保持部2には図3に示した文書骨格が、フィールド
値保持部6には図23に示したフィールド値がそれぞれ
保持されているものとする。また、フィールド選択部8
は、図9に示すユーザの知識レベルの定義を有している
ものとする。
An example of the operation of the second embodiment of the document generating apparatus of the present invention will be described below based on a concrete example. It is assumed that the document skeleton holding unit 2 holds the document skeleton shown in FIG. 3, and the field value holding unit 6 holds the field values shown in FIG. Also, the field selection unit 8
Has the definition of the user's knowledge level shown in FIG.

【0072】このとき、フィールド選択情報入力部7に
おいて「ビギナー」が指定され、また、選択指定部11
において「構成」の値として「TYPE1」が指定され
たものとする。フィールド選択情報入力部7における
「ビギナー」の指定により、フィールド選択部8は、図
9に示すユーザの知識レベルの定義から、フィールド
「TOOL−NAME」,「限定詞2」,「COMMA
ND−LEAF」,「ACTION」が選択される。一
方、選択指定部11における「TYPE1」の指定によ
り、図23に示したフィールド値の第1行が指定された
ことになる。これら2つの指定により、フィールド「C
OMMAND」のフィールド値として「特殊キーの中の
<転記>キー」が生成され、ACTION(転記)の値
として、「押」が生成される。
At this time, "beginner" is designated in the field selection information input section 7, and the selection designation section 11 is also designated.
In, it is assumed that “TYPE1” is specified as the value of “configuration”. By specifying "beginner" in the field selection information input unit 7, the field selection unit 8 determines the fields "TOOL-NAME", "qualifier 2", "COMMA" from the definition of the user's knowledge level shown in FIG.
"ND-LEAF" and "ACTION" are selected. On the other hand, the designation of "TYPE1" in the selection designation unit 11 designates the first line of the field values shown in FIG. By these two designations, the field "C
As the field value of “OMMAND”, “<transcription> key in special key” is generated, and as the value of ACTION (transcription), “press” is generated.

【0073】選択指定部11において「構成」の値とし
て「TYPE2」が指定された場合には、図23に示す
フィールド値の第2行が指定されたことになり、フィー
ルド「COMMAND」のフィールド値として「ヘラル
ドから[転記]」が生成される。ACTION(転記)
の値は、「選択」になる。
When "TYPE2" is designated as the value of "configuration" in the selection designation section 11, it means that the second line of the field values shown in FIG. 23 is designated, and the field value of the field "COMMAND" is designated. As a result, "[Posting] from Herald" is generated. ACTION
The value of becomes "selection".

【0074】図26は、本発明の第2の実施例における
可変項目生成部9の動作の一例を示すフローチャートで
ある。図26に示したフローチャート中、S21ないし
S31はほぼ図12と同様である。なお、フィールド
「構成」は自動的に選択されているものとする。S25
で終了タグが見つかり、S27でその終了タグが選択さ
れているものであるときには、S28で可変項目値の生
成を行なった後、S32へ移る。S32では、終了タグ
のタグ名が「構成」で、かつ、指定されていない構成で
あるか否かを判定する。指定されていない構成である場
合には、S33において、タグ名が「構成」である開始
タグまでデータを読み飛ばす。開始タグをスタックにプ
ッシュし、以降のトークンの処理を続行すべく、S23
のトークンの切り出し処理へ移る。
FIG. 26 is a flow chart showing an example of the operation of the variable item generator 9 in the second embodiment of the present invention. In the flowchart shown in FIG. 26, S21 to S31 are almost the same as those in FIG. Note that the field “configuration” is automatically selected. S25
When the end tag is found in step S27 and the end tag is selected in step S27, the variable item value is generated in step S28, and then the process proceeds to step S32. In S32, it is determined whether or not the tag name of the end tag is "composition" and the composition is not specified. If the structure is not specified, the data is skipped to the start tag whose tag name is “structure” in S33. In order to push the start tag onto the stack and continue processing the subsequent tokens, S23
Move on to the token cutting process.

【0075】S32において終了タグのタグ名が「構
成」でない、あるいは、指定された構成である場合に
は、S29,S30における可変項目値のリストへの追
加およびスタックへのプッシュを行なう。
If the tag name of the end tag is not "composition" or the specified composition in S32, the variable item values in S29 and S30 are added to the list and pushed to the stack.

【0076】例えば、図25に示したようなSGMLで
記述されたフィールド値がフィールド値格納部6に格納
されているとき、選択指定部11で「TYPE2」が指
定された場合を考える。S25で最初の終了タグ「</
構成>」が検出され、フィールド「構成」は選択されて
いるので、S32に至る。S32では、構成の値「TY
PE1」が指定されていないことを検知し、S33で次
のタグ名「構成」の開始タグまで読み飛ばす。そして、
S23に戻る。
Consider, for example, a case where "TYPE2" is designated by the selection designation section 11 when the field value described in SGML as shown in FIG. 25 is stored in the field value storage section 6. In S25, the first end tag "<//
Since the "configuration>" is detected and the field "configuration" is selected, the process proceeds to S32. In S32, the configuration value "TY
It is detected that "PE1" is not designated, and in S33, the process is skipped to the start tag of the next tag name "composition". And
Return to S23.

【0077】トークン「TYPE2」がスタックにプッ
シュされた後、S25で終了タグ「</構成>」が検出
され、S32に至る。このとき、構成の値「TYPE
2」は指定されているので、S33による読み飛ばしは
行なわれない。読み飛ばしが行なわれない場合の処理の
流れは、第1の実施例の場合と同様であり、可変項目値
がリストに順次追加されて行く。フィールド値のトーク
ンがなくなると、S24で終了が判定され、リストに保
持されている可変項目値が文書生成部10に渡される。
After the token "TYPE2" is pushed onto the stack, the end tag "</ configuration>" is detected in S25, and the process goes to S32. At this time, the configuration value "TYPE
Since "2" is designated, the skipping in S33 is not performed. The flow of the process when the skip is not performed is the same as that of the first embodiment, and variable item values are sequentially added to the list. When the tokens of the field value are exhausted, the end is determined in S24, and the variable item value held in the list is passed to the document generation unit 10.

【0078】文書生成部10では、フィールド選択情報
入力部7で指定されたユーザの知識レベルと、選択指定
部11で指定されたシステム構成に従って可変項目生成
部9で生成された可変項目値を用い、文書骨格保持部2
に保持されている文書骨格中の可変項目を可変項目値で
置き換えて、文書を生成する。図27、図28は、本発
明の第2の実施例において文書生成部10によって生成
された文書の一例の説明図である。図3に示した文書骨
格に対して、ユーザの知識レベルとして「ビギナー」を
指定し、システムの「構成」として「TYPE1」を指
定した場合に得られる文書を図27に示している。同様
に、システムの「構成」として「TYPE2」を指定し
た場合に得られる文書を図28に示している。図3に示
した文書骨格における「&COMMAND(転記);を
&ACTION(転記);します。」という文は、それ
ぞれ、「特殊キーの中の<転記>キーを押します。」、
「ヘラルドから[転記]を選択します。」という文が生
成され、それぞれのシステム構成に合った文書が生成さ
れる。
The document generation unit 10 uses the knowledge level of the user designated by the field selection information input unit 7 and the variable item value generated by the variable item generation unit 9 according to the system configuration designated by the selection designation unit 11. , Document skeleton holding unit 2
A variable item in the document skeleton held in is replaced with a variable item value to generate a document. 27 and 28 are explanatory diagrams of an example of a document generated by the document generation unit 10 in the second embodiment of the present invention. FIG. 27 shows a document obtained when “beginner” is designated as the user's knowledge level and “TYPE1” is designated as the “configuration” of the system with respect to the document skeleton shown in FIG. Similarly, FIG. 28 shows a document obtained when "TYPE 2" is designated as the "configuration" of the system. In the document skeleton shown in FIG. 3, the sentences "&COMMAND;&& ACTION. Do" are respectively, "Press the <transcription> key in the special keys.",
The sentence "Select [Post] from Herald." Is generated, and the document suitable for each system configuration is generated.

【0079】上述の各実施例では、文書骨格入力部1と
して、一般のワープロと同様の文書入力装置を利用する
ことができるが、例えば、ワープロなどの別の文書編集
装置を用いて文書骨格を作成し、文書骨格入力部1に入
力するように構成してもよい。この時、文書交換ファイ
ルフォーマットが公開されているワープロを用いること
により、作成した文書骨格に相当する文書を、その公開
された文書交換ファイルフォーマットでスムースに入力
することができる。この場合には、文書骨格入力部1
は、文書交換ファイルフォーマットのファイルを読み込
んで、本発明の文書生成装置で扱う文書アーキテクチャ
の文書に変換する機能を提供する手段を有することにな
る。
In each of the above-mentioned embodiments, a document input device similar to a general word processor can be used as the document skeleton input unit 1, but the document skeleton can be obtained by using another document editing device such as a word processor. It may be configured to be created and input to the document skeleton input unit 1. At this time, by using a word processor whose document exchange file format is open to the public, a document corresponding to the created document skeleton can be smoothly input in the open document exchange file format. In this case, the document skeleton input unit 1
Will have a means for reading a file in the document exchange file format and providing a function of converting it into a document having a document architecture handled by the document generation apparatus of the present invention.

【0080】また、上述の各実施例では、COMMAN
D(転記)やACTION(転記)等の可変項目を用い
て説明しているが、例えば、フィールド「COMMAN
D」の下位に展開されている例えばフィールド「TOO
L」や、フォールド「TOOL−NAME」を用いるこ
とができる。このような場合、階層を明示的に示すた
め、例えば、ROOT−NAME(COMMAND(転
記))などと記述したり、あるいは簡単にROOT−N
AME(転記)などと記述することができる。これらに
対応する可変項目値は、例えば、図12や図26に示し
た可変項目生成部9の処理では、リスト中に生成されて
いるので、文書生成部10でこれらの可変項目を可変項
目値で置き換えればよい。このように階層的に定義され
たフィールドを自由に使用できるように構成することに
よって、文書をより柔軟に生成することができる。
In each of the above embodiments, COMMAN is used.
Although description is made using variable items such as D (transcription) and ACTION (transcription), for example, the field "COMMAN" is used.
For example, the field "TOO" that is expanded under "D"
L ”and fold“ TOOL-NAME ”can be used. In such a case, in order to explicitly indicate the hierarchy, for example, it is described as ROOT-NAME (COMMAND), or simply ROOT-N.
It can be described as AME (transcription). The variable item values corresponding to these are generated in the list in the process of the variable item generating unit 9 shown in FIG. 12 or FIG. You can replace with. A document can be generated more flexibly by arranging such hierarchically defined fields so that they can be used freely.

【0081】上述の各実施例では、可変項目は文の一部
のみであったが、これに限らず、文全体としたり、ある
いは、図や表など、文字以外の要素を可変項目とするこ
とも可能である。
In each of the above-described embodiments, the variable item is only a part of the sentence. However, the variable item is not limited to this and the variable item may be an element other than a character such as a figure or a table. Is also possible.

【0082】[0082]

【発明の効果】以上の説明から明らかなように、本発明
によれば、知識レベルなどを指定するだけで、詳しさの
異なる文書を生成できるので、文書の生成を簡便に行な
うことができる。また、可変項目の値をフィールドに分
割して、詳しさの違いを表現しているので、従来技術の
ように同じ記述を複数有するような冗長さはなく、した
がって、入力ミスの減少が期待でき、さらに値の変更時
の一貫性の維持が容易になるという効果がある。
As is apparent from the above description, according to the present invention, it is possible to generate a document with different details simply by designating a knowledge level or the like, so that the document can be easily generated. Also, since the value of the variable item is divided into fields to express the difference in detail, there is no redundancy such as having the same description as in the conventional technique, and therefore a reduction in input errors can be expected. Furthermore, there is an effect that it becomes easier to maintain consistency when changing values.

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

【図1】 本発明の文書生成装置の第1の実施例を示す
概略構成図である。
FIG. 1 is a schematic configuration diagram showing a first embodiment of a document generation device of the present invention.

【図2】 本発明の文書生成装置の第1の実施例におけ
る動作の一例の説明図である。
FIG. 2 is an explanatory diagram of an example of an operation in the first exemplary embodiment of the document generation apparatus of the present invention.

【図3】 文書骨格の第1の具体例の説明図である。FIG. 3 is an explanatory diagram of a first specific example of a document skeleton.

【図4】 文書骨格の第2の具体例の説明図である。FIG. 4 is an explanatory diagram of a second specific example of a document skeleton.

【図5】 文書骨格の第3の具体例の説明図である。FIG. 5 is an explanatory diagram of a third specific example of a document skeleton.

【図6】 本発明の第1の実施例におけるフィールド値
保持部に保持されるフィールド値の一例の説明図であ
る。
FIG. 6 is an explanatory diagram of an example of field values held in a field value holding unit according to the first embodiment of the present invention.

【図7】 本発明の第1の実施例におけるフィールド定
義をSGMLで行なった具体例の説明図である。
FIG. 7 is an explanatory diagram of a specific example in which field definition in the first embodiment of the present invention is performed by SGML.

【図8】 本発明の第1の実施例におけるフィールド値
の表記をSGMLで行なった具体例の説明図である。
FIG. 8 is an explanatory diagram of a specific example in which field values are represented by SGML in the first embodiment of the present invention.

【図9】 フィールド選択部8で利用するユーザの知識
レベルの定義の一例の説明図である。
9 is an explanatory diagram of an example of a definition of a user's knowledge level used in the field selection unit 8. FIG.

【図10】 ユーザの知識レベルの定義にSGMLを用
いた具体例の説明図である。
FIG. 10 is an explanatory diagram of a specific example in which SGML is used to define a user's knowledge level.

【図11】 ユーザの知識レベルの定義にSGMLを用
いた具体例の説明図(続き)である。
FIG. 11 is an explanatory diagram (continuation) of a specific example in which SGML is used to define a user's knowledge level.

【図12】 本発明の第1の実施例における可変項目生
成部9の動作の一例を示すフローチャートである。
FIG. 12 is a flowchart showing an example of operation of the variable item generation unit 9 in the first exemplary embodiment of the present invention.

【図13】 本発明の第1の実施例においてユーザの知
識レベルとして「常用者」が指定されたときの第1の具
体例に対応する文書生成部10によって生成された文書
の一例の説明図である。
FIG. 13 is an explanatory diagram of an example of a document generated by the document generation unit 10 corresponding to the first specific example when “user” is specified as the knowledge level of the user in the first example of the present invention. Is.

【図14】 本発明の第1の実施例においてユーザの知
識レベルとして「常用者」が指定されたときの第2の具
体例に対応する文書生成部10によって生成された文書
の一例の説明図である。
FIG. 14 is an explanatory diagram of an example of a document generated by the document generation unit 10 corresponding to the second specific example when “user” is specified as the knowledge level of the user in the first example of the present invention. Is.

【図15】 本発明の第1の実施例においてユーザの知
識レベルとして「常用者」が指定されたときの第3の具
体例に対応する文書生成部10によって生成された文書
の一例の説明図である。
FIG. 15 is an explanatory diagram of an example of a document generated by the document generation unit 10 corresponding to the third specific example when “user” is specified as the knowledge level of the user in the first example of the present invention. Is.

【図16】 本発明の第1の実施例においてユーザの知
識レベルとして「ビギナー」が指定されたときの第1の
具体例に対応する文書生成部10によって生成された文
書の一例の説明図である。
FIG. 16 is an explanatory diagram of an example of a document generated by the document generation unit 10 corresponding to the first specific example when “beginner” is specified as the user's knowledge level in the first example of the present invention. is there.

【図17】 本発明の第1の実施例においてユーザの知
識レベルとして「ビギナー」が指定されたときの第2の
具体例に対応する文書生成部10によって生成された文
書の一例の説明図である。
FIG. 17 is an explanatory diagram of an example of a document generated by the document generating unit 10 corresponding to the second specific example when “beginner” is designated as the user's knowledge level in the first example of the present invention. is there.

【図18】 本発明の第1の実施例においてユーザの知
識レベルとして「ビギナー」が指定されたときの第3の
具体例に対応する文書生成部10によって生成された文
書の一例の説明図である。
FIG. 18 is an explanatory diagram of an example of a document generated by the document generation unit 10 corresponding to the third specific example when “beginner” is specified as the user's knowledge level in the first example of the present invention. is there.

【図19】 本発明の第1の実施例においてユーザの知
識レベルとして「W/Sのビギナー」が指定されたとき
の第1の具体例に対応する文書生成部10によって生成
された文書の一例の説明図である。
FIG. 19 is an example of a document generated by the document generation unit 10 corresponding to the first specific example when “W / S beginner” is designated as the user's knowledge level in the first example of the present invention. FIG.

【図20】 本発明の第1の実施例においてユーザの知
識レベルとして「W/Sのビギナー」が指定されたとき
の第2の具体例に対応する文書生成部10によって生成
された文書の一例の説明図である。
FIG. 20 is an example of a document generated by the document generation unit 10 corresponding to the second specific example when “W / S beginner” is specified as the user's knowledge level in the first example of the present invention. FIG.

【図21】 本発明の第1の実施例においてユーザの知
識レベルとして「W/Sのビギナー」が指定されたとき
の第3の具体例に対応する文書生成部10によって生成
された文書の一例の説明図である。
FIG. 21 is an example of a document generated by the document generation unit 10 corresponding to the third specific example when “W / S beginner” is specified as the user's knowledge level in the first example of the present invention. FIG.

【図22】 本発明の文書生成装置の第2の実施例を示
すブロック図である。
FIG. 22 is a block diagram showing a second embodiment of the document generation apparatus of the present invention.

【図23】 本発明の第2の実施例におけるフィールド
値保持部に保持されるフィールド値の一例の説明図であ
る。
FIG. 23 is an explanatory diagram showing an example of field values held in a field value holding unit according to the second embodiment of the present invention.

【図24】 本発明の第2の実施例におけるフィールド
定義をSGMLで行なった具体例の説明図である。
FIG. 24 is an explanatory diagram of a specific example in which field definition in SGML is performed in the second embodiment of the present invention.

【図25】 本発明の第2の実施例におけるフィールド
値の表記をSGMLで行なった具体例の説明図である。
FIG. 25 is an explanatory diagram of a specific example in which field values are described in SGML according to the second embodiment of the present invention.

【図26】 本発明の第2の実施例における可変項目生
成部9の動作の一例を示すフローチャートである。
FIG. 26 is a flowchart showing an example of the operation of the variable item generation unit 9 in the second example of the present invention.

【図27】 本発明の第2の実施例において構成として
TYPE1を指定したときに文書生成部10によって生
成された文書の一例の説明図である。
FIG. 27 is an explanatory diagram of an example of a document generated by the document generation unit 10 when TYPE1 is designated as the configuration in the second exemplary embodiment of the present invention.

【図28】 本発明の第2の実施例において構成として
TYPE2を指定したときに文書生成部10によって生
成された文書の一例の説明図である。
FIG. 28 is an explanatory diagram of an example of a document generated by the document generation unit 10 when TYPE2 is designated as the configuration in the second exemplary embodiment of the present invention.

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

1…文書骨格入力部、2…文書骨格保持部、3…フィー
ルド定義部、4…フィールド定義保持部、5…フィール
ド値入力部、6…フィールド値保持部、7…フィールド
選択情報入力部、8…フィールド選択部、9…可変項目
生成部、10…文書生成部、11…選択指定部。
DESCRIPTION OF SYMBOLS 1 ... Document skeleton input unit, 2 ... Document skeleton holding unit, 3 ... Field definition unit, 4 ... Field definition holding unit, 5 ... Field value input unit, 6 ... Field value holding unit, 7 ... Field selection information input unit, 8 ... field selection section, 9 ... variable item generation section, 10 ... document generation section, 11 ... selection designation section.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 固定の内容を持つ固定項目と内容の変化
する可変項目からなる文書骨格を保持する文書骨格保持
手段と、前記可変項目に対応付けられた小項目の並びを
記憶する可変項目保持手段と、文書の詳しさのレベルを
指定する文書レベル指定手段と、該文書レベル指定手段
の指定にしたがって前記可変項目に対応付けられた各小
項目を使用するかしないかを選択する小項目選択手段
と、該小項目選択手段の選択した小項目を前記文書骨格
中の前記可変項目に置き換えて文書を生成する文書生成
手段を有することを特徴とする文書生成装置。
1. A document skeleton holding means for holding a document skeleton composed of fixed items having fixed contents and variable items whose contents change, and variable item holding for storing a sequence of small items associated with the variable items. Means, a document level designating means for designating a level of detail of the document, and a sub-item selection for selecting whether or not to use each sub-item associated with the variable item according to the designation of the document level designating means. A document generation device comprising: a means and a document generation means for generating a document by replacing the small item selected by the small item selection means with the variable item in the document skeleton.
【請求項2】 前記文書生成手段は、前記可変項目に置
き換えて挿入される小項目に応じて、該小項目および前
記固定項目を再配置して文書を生成することを特徴とす
る請求項1に記載の文書生成装置。
2. The document generation means rearranges the small item and the fixed item according to a small item inserted by replacing the variable item, and generates a document. The document generation device described in 1.
【請求項3】 固定の内容を持つ固定項目と内容の変化
する可変項目からなる文を含んだ文書骨格を保持する文
書骨格保持手段と、前記可変項目に対応付けられた文節
の並びを記憶する可変項目保持手段と、文書の詳しさの
レベルを指定する文書レベル指定手段と、該文書レベル
指定手段の指定にしたがって前記文書骨格中の可変項目
に対応付けられた各文節を使用するかしないかを選択す
る文節選択手段と、該文節選択手段の選択した文節を前
記文書骨格中の可変項目に置き換えて文書を生成する文
書生成手段を有することを特徴とする文書生成装置。
3. A document skeleton holding means for holding a document skeleton containing a sentence consisting of fixed items having fixed contents and variable items whose contents change, and a sequence of clauses associated with the variable items are stored. Variable item holding means, document level designating means for designating the level of detail of a document, and whether or not to use each clause associated with the variable item in the document skeleton according to the designation of the document level designating means A document generation device comprising: a clause selecting unit for selecting a clause; and a document generating unit for replacing the clause selected by the clause selecting unit with a variable item in the document skeleton to generate a document.
JP6239995A 1994-10-04 1994-10-04 Document generating device Pending JPH08106464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6239995A JPH08106464A (en) 1994-10-04 1994-10-04 Document generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6239995A JPH08106464A (en) 1994-10-04 1994-10-04 Document generating device

Publications (1)

Publication Number Publication Date
JPH08106464A true JPH08106464A (en) 1996-04-23

Family

ID=17052911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6239995A Pending JPH08106464A (en) 1994-10-04 1994-10-04 Document generating device

Country Status (1)

Country Link
JP (1) JPH08106464A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124495A (en) * 1996-08-16 1998-05-15 Pfu Ltd Original text generation processor and medium for storing program for the same
JPH10214265A (en) * 1997-01-30 1998-08-11 Mitsubishi Electric Corp Device for processing structured document
JPH10269219A (en) * 1997-01-21 1998-10-09 Pfu Ltd Original text generation processor and its program storage medium
JPH117443A (en) * 1997-06-16 1999-01-12 Pfu Ltd Original text generation processor, its method and storage medium
JPH1185750A (en) * 1997-07-08 1999-03-30 Hitachi Ltd Structured document rpocessing method, structured document rpocessor and computer-readable recording medium recorded with structured document processing program
JPH11232270A (en) * 1998-02-13 1999-08-27 Dainippon Screen Mfg Co Ltd Variable document preparation system, variable document output device and variable original preparing device
JP2002091956A (en) * 2000-09-12 2002-03-29 Fuji Xerox Co Ltd Manual processing system
JP2013250722A (en) * 2012-05-31 2013-12-12 Pfu Software Ltd Document generation device, document generation method and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124495A (en) * 1996-08-16 1998-05-15 Pfu Ltd Original text generation processor and medium for storing program for the same
JPH10269219A (en) * 1997-01-21 1998-10-09 Pfu Ltd Original text generation processor and its program storage medium
JPH10214265A (en) * 1997-01-30 1998-08-11 Mitsubishi Electric Corp Device for processing structured document
JPH117443A (en) * 1997-06-16 1999-01-12 Pfu Ltd Original text generation processor, its method and storage medium
JPH1185750A (en) * 1997-07-08 1999-03-30 Hitachi Ltd Structured document rpocessing method, structured document rpocessor and computer-readable recording medium recorded with structured document processing program
JPH11232270A (en) * 1998-02-13 1999-08-27 Dainippon Screen Mfg Co Ltd Variable document preparation system, variable document output device and variable original preparing device
JP2002091956A (en) * 2000-09-12 2002-03-29 Fuji Xerox Co Ltd Manual processing system
JP2013250722A (en) * 2012-05-31 2013-12-12 Pfu Software Ltd Document generation device, document generation method and program

Similar Documents

Publication Publication Date Title
WO2006046523A1 (en) Document analysis system and document adaptation system
JPH08106464A (en) Document generating device
JP2008146637A (en) Domain transformation languages
JP6565012B2 (en) Translation support system
JPH11149486A (en) Electronic dictionary, retrieving device and information retrieving method
JP3416780B2 (en) Structured document browsing device
JP5563706B1 (en) Document file generation apparatus, document file generation method, and document file generation program
JPH01214963A (en) Device for consulting dictionary
JP3952009B2 (en) Translation memory system, translation method, and program for translation memory system
JP3791565B2 (en) Character input device
JP4660071B2 (en) Sentence creation support device and sentence creation support program
JP2001318911A (en) Document processor, its method and computer readable recording medium recording program for allowing computer to execute the method
JPH11232270A (en) Variable document preparation system, variable document output device and variable original preparing device
JPH08185401A (en) Document retrieving device
JPS6366665A (en) Document analyzing/shaping device
JPH0756943A (en) Whole sentence data base system
JPH04329468A (en) Document preparing device
JPS63128424A (en) Data processing system
JPH0424759A (en) Document processor
JPH08137885A (en) Multilingual document processor
JPH05303571A (en) Document processor
JPH03102565A (en) Document preparing device
JPH0520420A (en) Graphic processor
Cooke et al. A guide to MathWriter: The Scientific Word Processor for the Macintosh (Professional version)
JPH02255960A (en) Document producing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031216