JPH04177455A - Document structure generation system - Google Patents

Document structure generation system

Info

Publication number
JPH04177455A
JPH04177455A JP2301164A JP30116490A JPH04177455A JP H04177455 A JPH04177455 A JP H04177455A JP 2301164 A JP2301164 A JP 2301164A JP 30116490 A JP30116490 A JP 30116490A JP H04177455 A JPH04177455 A JP H04177455A
Authority
JP
Japan
Prior art keywords
logical structure
structural element
common
document
logical
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
JP2301164A
Other languages
Japanese (ja)
Inventor
Hitoki Kiyoujima
仁樹 京嶋
Koji Kusumoto
浩二 楠本
Makoto Takeoka
竹岡 誠
Noriyuki Kamibayashi
上林 憲行
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 JP2301164A priority Critical patent/JPH04177455A/en
Publication of JPH04177455A publication Critical patent/JPH04177455A/en
Priority to US08/248,547 priority patent/US5434962A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save the labor required for the document processing operation by acquiring the information on a logic structure which satisfies the limitation of an input common logical structure from the logical structure of an input document and generating a part or the whole of a logic structure which satisfies an output common logical structure based on the information on the former logical structure. CONSTITUTION:An automatic logical structure generation processing part 107 generates a new logical structure which satisfies a common logical structure stored in a common logical structure storage part 105 and the document parts and also generates the connection between the logical structure and the document parts based on a program of a logical structure generation program storage part 106. In other words, a generation rule is prescribed between a logical structure which satisfies the limitation of the common logical. structure that limits the logical structure of the input document and a logical structure which satisfies an limitation of the common logical. structure that limits the logical structure of an output document. Based on this generation rule, the logical structure of the output document is obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ワープロ、あるいは文書処理機能を持つワー
クスチーシロン等で処理される電子文書の文書構造の生
成方式に係り、 特に既存の単数または複数の電子文書の文書構造から、
新しい単数または複数の電子文書の文書構造を自動的に
生成する文書構造生成方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for generating a document structure of an electronic document processed by a word processor or a WorkStylon or the like having a document processing function, and particularly relates to a method for generating a document structure of an electronic document that is processed by a word processor or a workstation with a document processing function. From the document structure of multiple electronic documents,
The present invention relates to a document structure generation method that automatically generates the document structure of a new single or multiple electronic documents.

〔従来の技術〕[Conventional technology]

従来、電子文書から電子文書を自動的に生成する方式と
しては、山田、「帳票間データ処理の自動実行方式」、
情報処理学会第35面金国大会論文集、P、2571、
浅見、山田「帳票間データ処理のユーザインタフェース
」、情報処理学会第36面金国大会論文集、P2213
に記載されているような、帳票の処理を対象としたもの
が知られている。
Conventionally, methods for automatically generating electronic documents from electronic documents include Yamada's "Automatic Execution Method for Data Processing Between Documents,"
Proceedings of the Information Processing Society of Japan, Page 35, Golden Country Conference, P, 2571,
Asami, Yamada "User interface for inter-form data processing", Proceedings of the Information Processing Society of Japan, Page 36, Kinkoku Conference, p. 2213
There are known methods for processing forms, such as the one described in .

帳票は、記入項目、各記入項目に記入されるデータの形
がほぼ決まっており、帳票のデータ構造を定義すること
が容易である。
In a form, the entries and the form of the data entered in each entry are almost fixed, and it is easy to define the data structure of the form.

したがって帳票のデータ構造を定義し、帳票から帳票を
自動的に生成するプログラムを用意し、入力となる帳票
に対して該プログラムを実行することにより帳票の自動
処理を行うことが容易であった・ しかし、帳票のように、記入項目、各記入項目に記入さ
れるデータの型が明確な文書以外の、技術論文、マニュ
アル、仕様書などの一般的な電子文書に関しては、その
データの構造を定義する手段がなく、そのことが自動処
理を困難にしていた。
Therefore, it was easy to define the data structure of a form, prepare a program to automatically generate a form from the form, and execute the program on the input form to automatically process the form. However, for general electronic documents such as technical papers, manuals, and specifications, the structure of the data is defined, except for documents such as forms in which the entry items and the type of data entered in each entry are clear. There was no way to do this, which made automatic processing difficult.

最近になって、Furuta 、  R,: Conc
epts and  Models  for  5t
ructured  Documents、   5t
ructured  Documents、   Ca
mbridge   University  Pre
ss、  pp、  7−38 (1988)に記述さ
れているように、 電子文書を文書の内容の一部を保持する文書部品の集合
として考え、論理的な視点から見た場合の文書部品間の
関係を表現した論理構造やレイアウトの視点から見た場
合の文書部品間の関係を表現した割り付は構造といった
文書構造を電子文書に付与することが考えられるように
なり、電子文書のデータ構造を表現することが比較的容
易になってきた。
More recently, Furuta, R.: Conc.
epts and Models for 5t
structured documents, 5t
structured documents, Ca
mbridge University Pre
ss, pp. 7-38 (1988), consider electronic documents as a collection of document parts that hold part of the content of the document, and consider the relationship between document parts from a logical perspective. It has become possible to consider adding a document structure to electronic documents, such as a logical structure that expresses relationships and an layout structure that expresses relationships between document parts from a layout perspective. It has become relatively easy to express.

このような文書構造を持つ文書は構造化文書と呼ばれて
いる。
A document having such a document structure is called a structured document.

特に構造文書の概念を具体化した国際規格であるODA
  (Office  Document  Arch
itecture  )では、ISO/Is 8613
.Information Processing −
Text and 0ffice System −0
ffice Document Architectu
re (ODA) and Interchange 
Format (1988)に記述されているように、 電子文書が、論理的な視点から見た場合の文書部品間の
関係を表現した特定論理構造と、レイアウトの視点から
見た場合の文書部品間の関係を表現した特定割り付は構
造を持つことが規格化されている。
In particular, ODA is an international standard that embodies the concept of a structural document.
(Office Document Arch
ISO/Is 8613
.. Information Processing -
Text and Office System -0
ffice Document Architecture
re (ODA) and Interchange
Format (1988), an electronic document has a specific logical structure that expresses the relationships between document parts from a logical perspective, and a specific logical structure that expresses the relationships between document parts from a layout perspective. It is standardized that specific assignments expressing relationships have a structure.

また、ODAでは、特定論理構造・特定割り付は構造の
取り得る構造を制約する共通構造(共通論理構造・共通
割り付は構造)が規定されている。
Further, in ODA, a common structure (common logical structure/common allocation is a structure) that restricts the possible structures of a specific logical structure/specific allocation is defined.

すべての特許明細書は、特許明細書としての共通構造を
持ち、すべてのマニュアルはマニュアルとしての共通構
造を持つというように、同じ種類の文書は同じ共通構造
を持つ。
Documents of the same type have the same common structure, such as all patent specifications having a common structure as patent specifications and all manuals having a common structure as manuals.

ODA文書は共通構造をひな型として生成される。ODA documents are generated using a common structure as a model.

このような電子文書の処理技術としては、石田。Ishida is an example of such electronic document processing technology.

村田rODA文書処理システムの試作(1)−設計課題
−」、情報処理学会第37面金国大会論文集、P、18
53、鈴木、中津山、村田、「ODA文書処理システム
の試作(2)−人力、可視化処理−」、情報処理学会率
37面金国大会論文集。
"Prototype of Murata rODA document processing system (1) -Design issues-", Proceedings of the Information Processing Society of Japan, Page 37, Golden Country Conference, p. 18
53, Suzuki, Nakatsuyama, Murata, "Prototype of ODA document processing system (2) - Human power, visualization processing -", Proceedings of Information Processing Society of Japan's 37-page Golden Country Conference.

P、1855、林、斎藤1石田、村田、rODA文書処
理システムの試作(2)−割り付は処理−」、情報処理
学会率37面金国大会論文集、P。
P, 1855, Hayashi, Saito 1 Ishida, Murata, "Prototype of rODA document processing system (2) - Allocation is processing -", Proceedings of the Information Processing Society of Japan's 37-page Golden Country Conference, P.

1857に記載されているように、 ODAの規格にそった文書の編集と自動割り付は処理を
行うものが知られている。
As described in 1857, it is known that documents are edited and automatically allocated in accordance with ODA standards.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

オフィスでの文書処理業務の多くは、 (1)文書の論理的な構成が組織内で明示的、あるいは
暗黙の内に規定されており、 多くの文書はその規定を完全に、あるいは部分的に満足
している。
In many office document processing operations, (1) the logical structure of documents is explicitly or implicitly specified within the organization, and many documents completely or partially follow these rules; Is pleased.

(2)文書と文書の間には、論理的な構成に基づいた関
係(例えば、ある文書のタイトルと、別の文書の一項目
が同じである等)が存在し、該関係に基づいて文書の一
部あるいは全体が、定期的、非定期的に何度も生成され
たり、−度に大量に生成されたりする、 という特徴を持っている。
(2) There is a relationship between documents based on their logical structure (for example, the title of one document is the same as an item in another document), and based on this relationship, It has the characteristic that part or all of it is generated many times regularly or non-regularly, or it is generated in large quantities at once.

上記の文書処理は、フオーム処理等の一部を除いて、人
間による対話的編集によって行われている。
The above-mentioned document processing is performed by human interactive editing, except for a part such as form processing.

この場合、 (1)数多くの同一種の文書に対しては同様な編集作業
を、定期的、非定期的に何度も行う。
In this case, (1) similar editing operations are performed on many documents of the same type over and over again, either regularly or irregularly;

あるいは、−度に大量に行う (2)既存文書を素材とした加工作業が多い。Or do it in large quantities at − degrees. (2) There is a lot of processing work that uses existing documents as raw materials.

という特徴を挙げることができ 上記の文書処理も、人間の対話的編集によって行うこと
の冗長性と非効率性を指摘することができる。
This feature points out the redundancy and inefficiency of performing the above document processing through human interactive editing.

一般に、文書の構造が固定しているような表やフオーム
に対しては、上記従来技術により、文書の内容と、別の
文書の内容を具体的に対応付けて割当てることによって
、文書を完成させることが可能である。
In general, for tables and forms in which the document structure is fixed, the above-mentioned conventional technology is used to complete the document by assigning the contents of the document in a concrete manner to the contents of another document. Is possible.

これに対し、技術文献、マニュアル、報告書などは、文
書の構成の大枠だけが規定されており、具体的な構造は
個々の文書で持つことができる自由度が認められている
On the other hand, for technical documents, manuals, reports, etc., only the outline of the structure of the document is prescribed, and each document is allowed a degree of freedom in determining its specific structure.

これらの文書の論理的な構造は、ODA等の構造化文書
によってはじめて表現することが可能になった。
It became possible to express the logical structure of these documents for the first time through structured documents such as ODA.

しかし、このような論理的な構造に対しては、厳密に決
定された構造のもとて文書内容を写像することを前提と
した内容の割当て方式は有効ではなく、文書の自動作成
の対象として扱うことができず、対話的に構造を作り変
えて作成する以外には手段がなかった。
However, for such a logical structure, a content assignment method that assumes that document contents are mapped based on a strictly determined structure is not effective; There was no way to manipulate it other than to create it by interactively reshaping the structure.

本発明の目的は、上記の問題点を解決するために、 構造化文書を対象とした文書の自動生成方式を提供し、
フオーム以外の一般的な文書の文書処理の省力化を向上
させることにある。
The purpose of the present invention is to provide an automatic document generation method for structured documents in order to solve the above problems.
The object of the present invention is to improve the labor saving of document processing for general documents other than forms.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発明は、文書部品の構成
上のまとまりを示すノードの連結によって表現された論
理構造を持ち、該文書の論理構造の取り得るノードの連
結状態に対する制約が共通論理構造として規定されてい
る電子文書の文書構造生成方式において、既存の電子文
書の論理構造を入力として、新しい電子文書の論理構造
の一部または全体を出力する際に、 入力する文書の論理構造を制約する入力共通論理構造と
、出力する文書の論理構造を制約する出力共通論理構造
との間に、 入力した文書の論理構造の情報から出力すべき文書の論
理構造を生成する生成規則を、予め、設定しておき、 入力した文書の論理構造から入力共通論理構造の制約を
満たす論理構造の情報を獲得し、これをもとに出力共通
論理構造の制約を、満たす論理構造の一部または全体を
自動生成することを特徴とする。
In order to achieve the above object, the present invention has a logical structure expressed by a connection of nodes indicating a structural group of document parts, and constraints on the connection state of nodes that can be taken in the logical structure of the document are set by a common logic. In a document structure generation method for electronic documents that is defined as a structure, when the logical structure of an existing electronic document is input and a part or the entire logical structure of a new electronic document is output, the logical structure of the input document is Between the input common logical structure to be constrained and the output common logical structure to constrain the logical structure of the output document, a generation rule that generates the logical structure of the document to be output from the information of the logical structure of the input document is created in advance. , is set, and information on the logical structure that satisfies the constraints of the input common logical structure is obtained from the logical structure of the input document, and based on this information, part or all of the logical structure that satisfies the constraints of the output common logical structure is obtained. It is characterized by automatically generating.

また、文書部品の構造上のまとまりを示すノードを連結
した木構造によって表現された論理構造を持ち、該文書
の論理構造に対する制約が、木構造上に出現しうるノー
ドのひな型である共通論理構造要素の集合で表現された
共通論理構造によって規定され、 該共通論理構造要素には、該共通論理構造要素をひな型
とするノードの子ノードの列に対する制約が記述されて
いる電子文書の文書構造生成方式既存の電子文書の論理
構造を入力として、新しい電子文書の論理構造の一部ま
たは全体を出力する際に、 入力する文書の論理構造を制約する共通論理構造に含ま
れる共通論理構造要素をひな型とするノードに適用可能
な子ノードの列と出力する文書の論理構造を制約する共
通論理構造に含まれる共通論理構造要素をひな型とする
ノードに適用可能な子ノードの列との間の関係と、 該関係が適用されるノードを決定するための適用条件か
らなる論理構造要素生成規則を、予め、設定しておき、 該論理構造要素生成規則に基づいて入力した文書の論理
構造から新たな論理構造の一部または全体を自動的に生
成することを特徴とする。
In addition, it has a logical structure expressed by a tree structure that connects nodes that indicate a structural grouping of document parts, and the constraints on the logical structure of the document are common logical structures that are templates of nodes that can appear on the tree structure. Document structure generation of an electronic document defined by a common logical structure expressed as a set of elements, in which the common logical structure element describes constraints on a sequence of child nodes of a node whose model is the common logical structure element. Method When outputting part or all of the logical structure of a new electronic document using the logical structure of an existing electronic document as input, the common logical structure elements included in the common logical structure that constrain the logical structure of the input document are used as a template. The relationship between the sequence of child nodes that can be applied to a node and the sequence of child nodes that can be applied to a node whose model is a common logical structure element included in a common logical structure that constrains the logical structure of the output document. , A logical structure element generation rule consisting of application conditions for determining the nodes to which the relationship is applied is set in advance, and a new logic is created from the logical structure of the input document based on the logical structure element generation rule. It is characterized by automatically generating part or the entire structure.

〔作 用〕[For production]

本発明によれば、入力となる単数または複数の文書の論
理構造を制約する共通論理構造の制約を満たす論理構造
と、出力となる単数または複数の文書の論理構造を制約
する共通論理構造の制約を満たす論理構造の間に生成規
則を規定し、該生成規則にしたがって入力文書の論理構
造から、出力文書の論理構造を生成することにより、論
理構造の自動生成を可能にする。
According to the present invention, a logical structure that satisfies the common logical structure constraints that constrain the logical structure of one or more input documents, and a common logical structure constraint that constrains the logical structure of one or more output documents. A generation rule is defined between logical structures that satisfy the following, and the logical structure of an output document is generated from the logical structure of an input document according to the generation rule, thereby making it possible to automatically generate a logical structure.

特に、生成規則を論理構造に対する制約が記述された共
通論理構造間に記述することにより、同じ共通論理構造
を持つ論理構造は、同じ生成規則で処理することが可能
である。
In particular, by writing production rules between common logical structures in which constraints on logical structures are described, logical structures having the same common logical structure can be processed using the same production rule.

たとえば、特許明細書の文書構造に関する共通論理構造
が存在すれば、該共通論理構造を利用して記述された文
書構造自動生成のための生成規則は、すべての特許明細
書に対して適用可能である。
For example, if a common logical structure regarding the document structure of patent specifications exists, a generation rule for automatic document structure generation written using the common logical structure can be applied to all patent specifications. be.

本発明は、特にODAの特定論理構造の生成に有効であ
る。
The present invention is particularly effective in generating a specific logical structure of ODA.

その際、生成規則は共通論理構造間に記述される。At that time, production rules are written between common logical structures.

〔実施例〕〔Example〕

以下、本発明の実施例につき、図面を参照して詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明を適用する文書の論理構造生成装置の
概略を示すブロック図であって、101はキーボードお
よびマウス等からなる入力部であり、ユーザは入力部1
01から論理構造自動生成処理の開始の指示を入力する
FIG. 1 is a block diagram showing an outline of a document logical structure generation device to which the present invention is applied.
From 01, an instruction to start the automatic logical structure generation process is input.

102はCRTデイスプレィ等からなる表示部、103
は入出力制御部、104は電子文書の文書部品の集合・
論理構造・割り付は構造・文書属性を記憶する電子文書
記憶部、105は論理構造自動生成処理の処理対象とな
る論理構造の共通構造である共通論理構造を記憶してい
る共通論理構造記憶部、 106は既存の論理構造、文書部品、および該論理構造
と文書部品の連結が持つ情報を基に、新しい論理構造、
文書部品、および該論理構造と文書部品の連結を生成す
る論理構造生成プログラムを記憶する論理構造生成プロ
グラム記憶部、107は電子文書記憶部104に記憶さ
れている単数または複数の電子文書の論理構造から、論
理構造生成プログラム記憶部106に記憶されている論
理構造生成プログラムに基づいて共通論理構造記憶部1
05に記憶されている共通論理構造の制約を満たす新し
い論理構造、文書部品、および該論理構造と文書部品の
連結を生成する論理構造自動生成処理部である。
102 is a display unit such as a CRT display; 103
104 is an input/output control unit, and 104 is a collection of document parts of the electronic document.
The logical structure/layout is an electronic document storage unit that stores structure/document attributes, and 105 is a common logical structure storage unit that stores a common logical structure that is a common structure of logical structures to be processed in the automatic logical structure generation process. , 106 creates a new logical structure,
A logical structure generation program storage unit that stores a logical structure generation program that generates document components and connections between the logical structures and document components; 107 is a logical structure of one or more electronic documents stored in the electronic document storage unit 104; , the common logical structure storage unit 1 based on the logical structure generation program stored in the logical structure generation program storage unit 106.
This is a logical structure automatic generation processing unit that generates new logical structures, document parts, and connections between the logical structures and document parts that satisfy the constraints of the common logical structures stored in 05.

第2図は電子文書記憶部に格納される電子文書のデータ
構成の説明図であって、 201は電子文書データ、202は電子文書の識別子で
ある文書識別子、203は電子文書データの一部である
文書部品に関する情報である文書部品情報部、204は
電子文書データの一部である文書構造(論理構造・割り
付は構造)に関する情報である文書構造情報、205は
電子文書データの一部である文書属性に関する情報であ
る文書属性情報部、206は文書構造情報部204に含
まれる論理構造情報部、207は文書構造情報部204
に含まれる割り付は構造情報部、208は論理構造情報
部206に含まれる論理構造の生成を制約する共通論理
構造の識別子である共通論理構造識別子、209は論理
構造情報部206に含まれる論理構造情報、210は割
り付は構造情報部207に含まれる割り付は構造の生成
を制約する共通割り付は構造の識別子である共通割り付
は構造識別子、211は割り付は構造情報部207に含
まれる割り付は構造情報である。
FIG. 2 is an explanatory diagram of the data structure of an electronic document stored in the electronic document storage unit, in which 201 is electronic document data, 202 is a document identifier that is an identifier of the electronic document, and 203 is a part of the electronic document data. A document component information section 204 is information regarding a certain document component; document structure information 204 is information regarding a document structure (logical structure/layout structure) that is a part of the electronic document data; and 205 is a part of the electronic document data. A document attribute information section 206 is information regarding a certain document attribute, a logical structure information section included in the document structure information section 204, and 207 is a document structure information section 204.
208 is a common logical structure identifier that is an identifier of a common logical structure that constrains the generation of the logical structure contained in the logical structure information part 206. 209 is the logic contained in the logical structure information part 206. Structure information, 210, allocation is included in the structure information section 207. Allocation, which constrains the generation of the structure, common allocation is the identifier of the structure, common allocation is the structure identifier, 211, allocation is included in the structure information section 207. The included layout is structural information.

第3図は電子文書データに含まれている文書部品情報部
のデータ構成の説明図であって、301は文書部品デー
タ、302は文書部品データ301に含まれている文書
部品識別子、303は文書部品データ301に含まれて
いる文書部品内容情報であり、文書部品の保持する文書
内容の一部に関する情報が格納される。
FIG. 3 is an explanatory diagram of the data structure of the document component information section included in the electronic document data, in which 301 is the document component data, 302 is the document component identifier included in the document component data 301, and 303 is the document component information section. This is document component content information included in the component data 301, and stores information regarding part of the document content held by the document component.

304は文書部品データ301に含まれている文書部品
データに関する種々の情報が格納される部分である。
Reference numeral 304 is a portion where various information related to the document component data included in the document component data 301 is stored.

第4図は電子文書データに含まれている論理構造情報の
データ構成の説明図である。
FIG. 4 is an explanatory diagram of the data structure of logical structure information included in electronic document data.

本実施例においては、論理構造は文書部品の論理構成上
のまとまりを示すノードが木構造上に連結し、さらに文
書部品が論理構造の葉ノードに連結する。
In this embodiment, the logical structure is such that nodes representing logically structured groups of document parts are connected in a tree structure, and the document parts are further connected to leaf nodes of the logical structure.

すなわち、ノードの下には複数の子ノードか、複数の文
書部品のどちらかが連結する。
That is, either a plurality of child nodes or a plurality of document parts are connected under the node.

また、文書部品の下には何も連結しない。Also, nothing is connected under the document component.

同図において、401は論理構造を構成する単位である
構造要素のデータが格納される構造要素データで、構造
要素は論理構造上のノードにあたる。
In the figure, numeral 401 denotes structural element data in which data of structural elements, which are units constituting a logical structure, are stored, and the structural elements correspond to nodes on the logical structure.

また、構造要素、該構造要素の子ノードの列(直下構造
)についての情報を保持している該構造要素間の連結に
ついての情報は、直下構造データで表現されている。
Furthermore, information about the connections between the structural elements, which holds information about the structural elements and the rows of child nodes of the structural elements (directly subordinate structures), is expressed as direct subordinate structure data.

402は構造要素データ401に含まれている構造要素
識別子であり、構造要素の識別子を表す。
402 is a structural element identifier included in the structural element data 401, and represents an identifier of a structural element.

403は構造要素識別子402で指定された構造要素を
制約する共通構造要素の識別子である共通構造要素識別
子である。
A common structural element identifier 403 is an identifier of a common structural element that constrains the structural element specified by the structural element identifier 402.

共通構造要素は、共通論理構造を構成する単位であり、
構造要素の直下構造を制約する。
A common structural element is a unit that constitutes a common logical structure,
Constrain the immediate structure of a structural element.

一つの共通構造要素は単数または複数の構造要素を制約
する。
One common structural element constrains one or more structural elements.

404は構造要素識別子402で指定された構造要素に
直下構造が存在すれば該直下構造が記述される直下構造
データであり、直下構造データには該構造要素の子ノー
ドの識別子のリスト、すなわち構造要素識別子のリスト
が保持される。
404 is direct structure data that describes the structure immediately below the structure element specified by the structure element identifier 402, if the structure exists, and the direct structure data includes a list of identifiers of child nodes of the structure element, that is, the structure A list of element identifiers is maintained.

405は構造要素識別子402で指定され構造要素が子
ノードを持たない葉ノードであり、特定の文書部品を持
つ場合に記述される文書部品データである。
Reference numeral 405 is a leaf node in which the structural element specified by the structural element identifier 402 has no child nodes, and is document component data that is written when the structural element has a specific document component.

文書部品データには、文書部品識別子のリストが保持さ
れる。
The document component data holds a list of document component identifiers.

406は構造要素データ401に含まれている構造要素
データに関する種々の情報が格納される部分である。
Reference numeral 406 is a portion in which various information related to the structural element data included in the structural element data 401 is stored.

電子文書データ201に含まれている割り付は構造情報
211も論理構造情l1i209と同様のデータ構成を
持つ。
The layout structure information 211 included in the electronic document data 201 also has the same data structure as the logical structure information 11i 209.

第5図は共通論理構造記憶部に記憶されている共通論理
構造データのデータ構成の説明図であって、 501は共通論理構造データ、502は共通論理構造識
別子、503は共通論理構造を構成する共通構造要素の
データが格納される共通構造要素データ部、504は共
通構造要素データ部503に格納されている共通構造要
素データ、505は個々の共通構造要素データを識別す
るための共通構造要素識別子であり、共通構造要素の識
別子を表す。
FIG. 5 is an explanatory diagram of the data structure of the common logical structure data stored in the common logical structure storage unit, where 501 is the common logical structure data, 502 is the common logical structure identifier, and 503 is the common logical structure. A common structural element data section in which common structural element data is stored, 504 common structural element data stored in the common structural element data section 503, and 505 a common structural element identifier for identifying individual common structural element data. , which represents the identifier of a common structural element.

506は構造要素の持つ直下構造を制約する制約情報、
507は共通構造要素データ504に含まれている共通
構造要素データに関する種々の情報が格納される部分で
ある。
506 is constraint information that constrains the immediate structure of the structural element;
Reference numeral 507 is a portion in which various information regarding the common structural element data included in the common structural element data 504 is stored.

第6図は論理構造生成プログラム記憶部に記憶されてい
る論理構造生成プログラムのデータ構成の説明図であっ
て、 601は論理構造生成プログラム、602は論理構造生
成プログラム識別子、603は出力となる電子文書の論
理構造の共通論理構造が指定される出力共通論理構造指
定部、604は入力となる電子文書の論理構造の共通論
理構造が指定される入力共通論理構造指定部、605は
論理構造生成プログラムに含まれる構造要素生成規則部
であり、既存の論理構造から新しい論理構造を生成する
ための規則が記述される。
FIG. 6 is an explanatory diagram of the data structure of the logical structure generation program stored in the logical structure generation program storage unit, in which 601 is the logical structure generation program, 602 is the logical structure generation program identifier, and 603 is the output electronic data. 604 is an input common logical structure designation part in which the common logical structure of the logical structure of the input electronic document is designated; 605 is the logical structure generation program; This is the structure element generation rule section included in the structure element generation rule section, in which rules for generating a new logical structure from an existing logical structure are described.

606は論理構造生成プログラム601に含まれる内容
部生成規則部であり、既存の文書部品、および該論理構
造と文書部品の連結を基に新しい文書の文書部品、およ
び論理構造と文書部品の連結を生成するための規則が記
述される。
Reference numeral 606 denotes a content part generation rule section included in the logical structure generation program 601, which creates document parts of a new document and connections between the logical structure and document parts based on existing document parts and the connections between the logical structures and document parts. Rules for generation are described.

607は構造要素生成規則部605に格納されている構
造要素生成規則、608はこの構造要素生成規則を識別
するための構造要素生成規則識別子、609は構造要素
生成規則識別子607で指定された構造要素生成規則が
適用される出力文書の論理構造内の構造要素に対する条
件(構造要素指定記述)を記述した出力構造要素指定部
、610は構造要素生成規則識別子607で指定された
構造要素生成規則が適用される入力文書の論理構造内の
構造要素に対する条件(構造要素指定記述)を記述した
入力構造要素指定部である。
607 is a structure element generation rule stored in the structure element generation rule section 605, 608 is a structure element generation rule identifier for identifying this structure element generation rule, and 609 is a structure element specified by the structure element generation rule identifier 607. The output structure element specification section 610 describes the conditions (structure element specification description) for the structure elements in the logical structure of the output document to which the production rules are applied, to which the structure element generation rules specified by the structure element generation rule identifier 607 are applied. This is an input structure element specification part that describes conditions (structure element specification description) for structure elements in the logical structure of the input document to be processed.

出力構造要素指定部と入力構造要素指定部に記述された
ものが構造要素生成規則の適用条件となる。
What is written in the output structure element specification part and the input structure element specification part becomes the application condition of the structure element generation rule.

611は出力構造要素指定部609と、入力構造指定部
610によって指定された構造要素に適用される生成規
則である。
611 is a production rule applied to the structure elements specified by the output structure element specification section 609 and the input structure specification section 610.

612は内容部生成規則部606に格納されている内容
部生成規則、613は個々の内容部生成規則を識別する
ための内容部生成規則識別子、614は内容部生成規則
識別子613で指定された内容部生成規則が適用される
出力文書の論理構造内の構造要素に対する条件(構造要
素指定記述)を記述した出力構造要素指定部、615は
内容部生成規則識別子613で指定された内容部生成規
則が適用される入力文書の論理構造内の構造要素に対す
る条件(構成要素指定記述)を記述した入力構造要素指
定部である。
612 is a content generation rule stored in the content generation rule section 606, 613 is a content generation rule identifier for identifying each content generation rule, and 614 is the content specified by the content generation rule identifier 613. An output structure element specification section 615 describes the conditions (structure element specification description) for the structure elements in the logical structure of the output document to which the section generation rules are applied; This is an input structure element specification section that describes conditions (component specification description) for the structure elements in the logical structure of the input document to be applied.

出力構造要素指定部と入力構造要素指定部に記述された
ものが内容部生成規則の適用条件となる。
What is written in the output structure element specification part and the input structure element specification part becomes the application condition of the content part generation rule.

616は出力構造要素指定部614と入力構造要素指定
部615によって指定された構造要素に適用される生成
規則である。
616 is a production rule applied to the structure element specified by the output structure element specification section 614 and the input structure element specification section 615.

第7図は共通論理構造記憶部に記憶されている”論文ク
ラス”という共通論理構造識別子を持つ共通論理構造の
内容説明図であって、701は共通論理構造識別子、7
02は共通構造要素データ部である。
FIG. 7 is a content explanatory diagram of a common logical structure having a common logical structure identifier called "paper class" stored in the common logical structure storage unit, where 701 is a common logical structure identifier;
02 is a common structure element data section.

共通構造要素データ部には共通構造要素データ703が
いくつか記憶されている。
Some common structural element data 703 is stored in the common structural element data section.

論文クラスの場合には13個の共通構造要素データが共
通構造要素データ部に存在する。
In the case of the paper class, 13 pieces of common structural element data exist in the common structural element data section.

704で代表される、”R″、”−”、数字によって記
述されているのが共通構造要素識別子である。
The common structural element identifier is represented by "R", "-", and numbers 704.

705で代表される、′$”、”¥”、′ψ2、の記述
子とその後に続く共通構造要素識別子のリスト、あるい
はnil”によって記述されているのが構造要素の子ノ
ードの列である直下構造を制約する制約情報である。
Descriptors such as ``$'', ``¥'', and ``ψ2'', represented by 705, followed by a list of common structural element identifiers, or a string of child nodes of the structural element are described by ``nil''. This is constraint information that constrains the immediate structure.

706はユーザの理解を助けるために各共通構造要素に
付加された名前であり、その他の情報507の部分にあ
たる。
706 is a name added to each common structural element to aid the user's understanding, and corresponds to the other information 507 portion.

第8図は電子文書記憶部104に記憶されている”論文
A“という文書識別子を持つ電子文書に含まれている論
理構造情報部の内容説明図であって、 801は共通論理構造識別子であり、”論文A”の電子
文書の論理構造を制約する共通論理構造の識別子、80
2は論理構造情報、803は構造要素データである。
FIG. 8 is an explanatory diagram of the contents of the logical structure information part included in the electronic document having the document identifier "Paper A" stored in the electronic document storage unit 104, and 801 is a common logical structure identifier. , identifier of a common logical structure that constrains the logical structure of the electronic document of "Paper A", 80
2 is logical structure information, and 803 is structural element data.

論理構造情報802には16個の構造要素データが記憶
されている。
Logical structure information 802 stores 16 structural element data.

804で代表される、′r″、′−”、数字によって記
述されているのが構造要素識別子である。
The structural element identifier is represented by 'r'', '-'', and numbers 804.

805で代表されるR”、′−”数字によって記述され
ているのが構造要素の直下構造を制約する共通構造要素
の識別子である共通構造要素識別子である。
What is described by the R",'-" numerals represented by 805 is a common structural element identifier that is an identifier of a common structural element that constrains the structure immediately below the structural element.

806で代表される、構造要素識別子のリスト、あるい
は”ni1″によって記述されているのが直下構造を示
す直下構造データである。
What is described by the list of structural element identifiers represented by 806 or "ni1" is the immediately subordinate structure data indicating the immediately subordinate structure.

807で代表される、リスト、あるいは”niI”によ
って記述されているのが、構造要素の持つ文書部品を示
す文書部品データであり、リストの内容は文書部品識別
子である。
What is described by a list or "niI" represented by 807 is document component data indicating a document component possessed by a structural element, and the contents of the list are document component identifiers.

直下構造データと文書部品データは常にどちらか一方が
nilである。
One of the direct structure data and document component data is always nil.

これは論理構造上のノードの下には常に子ノードが文書
部品のどちらかが連結することに対応する。
This corresponds to the fact that one of the document parts is always connected to a child node under a node in the logical structure.

808はユーザの理解を助けるために各共通構造要素に
付加された名前であり、その他の情報406の部分にあ
たる。
808 is a name added to each common structural element to aid the user's understanding, and corresponds to the other information 406 portion.

第9図は第7図で示された共通論理構造の内容をわかり
やすくグラフによって示した説明図であって、901に
代表される矩形が共通構造要素を示している。
FIG. 9 is an explanatory diagram showing the contents of the common logical structure shown in FIG. 7 in an easy-to-understand graph, and rectangles represented by 901 indicate common structural elements.

各共通構造要素の共通構造要素識別子は、902のよう
に矩形の下半分はその他の情報507の部分に記述され
た共通構造要素の名前である。
The common structure element identifier of each common structure element is the name of the common structure element described in the other information 507 portion in the lower half of the rectangle, as shown in 902.

矩形901に対応する共通構造要素データは707(共
通構造要素”R”)である(iiik別子が一致してい
る)。
The common structural element data corresponding to the rectangle 901 is 707 (common structural element "R") (the iiik identifiers match).

共通構造要素”R”の制約情報は、 $ (R−1,R−2,R−3)    (1)となっ
ている。
The constraint information for the common structural element "R" is $ (R-1, R-2, R-3) (1).

”$”はリストと同じパターンの直下構造を持つことを
示す。
“$” indicates that it has an immediate structure with the same pattern as the list.

したがって、この表記は、共通構造要素″R”に制約さ
れる構造要素が、 (共通構造要素”R−1”に制約される構造要素。
Therefore, this notation means that the structural element constrained by the common structural element "R" is (the structural element constrained by the common structural element "R-1").

共通構造要素”R−2”に制約される 構造要素。Constrained by common structural element "R-2" structural elements.

共通構造要素”R−3”に制約される 構造要素) というパターンの直下構造を持つことを示している。Constrained by common structural element "R-3" structural elements) This shows that it has a structure directly below the pattern.

このことは、第9図では、矩形901から無印の3つの
矢印が、共通構造要素”R−1”、共通構造要素”R−
2”、共通構造要素”R−3”につながっていることで
示されている。
This means that in FIG. 9, the three unmarked arrows from the rectangle 901 indicate the common structural element "R-1" and the common structural element "R-1".
2”, shown as connected to the common structural element “R-3”.

矩形903に対応する共通構造要素データは708(共
通構造要素”R−1−2”)である。
The common structural element data corresponding to the rectangle 903 is 708 (common structural element "R-1-2").

共通構造要素”R−1−2”の制約情報は、¥(R−1
−2−1)        (2)となっている。
The constraint information of the common structural element “R-1-2” is ¥(R-1
-2-1) (2).

”¥3は、リスト内に記述されているパターンの繰り返
しを示す。
``¥3'' indicates the repetition of the pattern described in the list.

したがって、この表記は、共通構造要素”R−1−2”
に制約される構造要素が、共通構造要i″R−1−2−
1″に制約される構造要素の繰り返しで構成される直下
構造を持つことを示している。
Therefore, this notation is the common structural element "R-1-2"
The structural elements constrained by the common structure requirement i″R-1-2-
It shows that it has a direct structure consisting of repeating structural elements constrained to 1''.

このことは、第9図では、矩形903から”repea
t”というラベルのついた矢印が共通構造要素” R−
1−2−1’につながっていることで示されている。
This means that in FIG. 9, from the rectangle 903
The arrow labeled “t” is the common structural element “R-
1-2-1'.

矩形904に対応する共通構造要素データは703(共
通構造要素”R−3−1”)である。
The common structural element data corresponding to the rectangle 904 is 703 (common structural element "R-3-1").

共通構造要素”R−3−1”の制約情報は、φ(R−3
−1−1,R3−1−2)(3)となっている。
The constraint information of the common structural element “R-3-1” is φ(R-3
-1-1, R3-1-2) (3).

”φ”は、リスト内に記述されているもののうちどれか
が選択されることを示す。
"φ" indicates that one of the items described in the list is selected.

したがって、この表記は、共通構造要素″R−3−1”
に制約される構造要素が、 (共通構造要素” R−3−1−1”に制約される構造
要素) あるいは (共通構造要素”R−3−1−2”に制約される構造要
素) のどちらかの形の直下構造を持つことを示している。
Therefore, this notation is the common structural element "R-3-1"
(Structural element constrained by common structural element "R-3-1-1") or (Structural element constrained by common structural element "R-3-1-2") This indicates that it has a direct structure of either type.

このことは、第9図では、矩形904から”Choic
e”というラベルのついた矢印が共通構造要素”R−3
−1−1”と共通構造要素”R−3−12”につながっ
ていることで示されている。
This means that in FIG.
The arrow labeled “e” indicates the common structural element “R-3”
-1-1" and the common structural element "R-3-12".

第10図は第8図で示された論理構造情報の内容をグラ
フで示した説明図である。
FIG. 10 is an explanatory diagram showing the contents of the logical structure information shown in FIG. 8 in a graph.

ただし、構造要素と文書部品の連結は図示していない。However, connections between structural elements and document components are not illustrated.

同図において、1001に代表される矩形が構造要素を
示している。
In the figure, rectangles represented by 1001 indicate structural elements.

各構造要素の構造要素識別子は、工002のように矩形
の最上段に示されている。
The structural element identifier of each structural element is shown at the top of the rectangle, such as 002.

また、各構造要素を制約する共通構造要素の共通構造要
素識別子は、1003のように矩形の中段に示されてい
る。
Further, a common structural element identifier of a common structural element that constrains each structural element is shown in the middle of the rectangle, such as 1003.

矩形の最下段は、その他の情報406の部分に記述され
た構造要素の名前である。
The bottom row of the rectangle is the name of the structural element described in the other information 406 section.

構造要素1001  (構造要素″r”)で制約する共
通構造要素は、901 (共通構造要素”R”)である
(論文Aの共通論理構造識別子で、第9図で示した共通
論理構造”論文クラス”を指しており、構造要素″r”
の共通構造要素識別子で共通構造要素が指定されている
)。
The common structural element constrained by structural element 1001 (structural element "r") is 901 (common structural element "R") (common logical structure identifier of paper A, "common logical structure" paper shown in FIG. 9). class”, and the structural element “r”
The common structure element is specified by the common structure element identifier).

したがって構造要素″r”の直下構造は、$ (R−1
,R−2,R−3)    (4)という記述によって
制約されている。
Therefore, the structure immediately below the structural element "r" is $ (R-1
, R-2, R-3) (4).

構造要素”r”の構造要素データは809である。The structural element data of structural element "r" is 809.

構造要素データ809の直下構造データには、(r−1
,r−2,r−3) と記述されている。
The structure data immediately below the structure element data 809 includes (r-1
, r-2, r-3).

識別子”r−1”を持つ構造要素は1004であり、構
造要素”r−1”を制約するのは共通構造要素”R−1
”である。
The structure element with the identifier "r-1" is 1004, and the constraint on the structure element "r-1" is the common structure element "R-1".
” is.

識別子”r−2゛を持つ構造要素は1005であり、構
造要素”r−2″を制約するのは共通構造要素”R−2
”である。
The structural element with the identifier "r-2" is 1005, and the common structural element "R-2" constrains the structural element "r-2".
” is.

識別子”r−3”を持つ構造要素は1006であり、構
造要素”r−3”を制約するのは共通構造要素”R−3
”である。
The structure element with the identifier "r-3" is 1006, and the constraint on the structure element "r-3" is the common structure element "R-3".
” is.

したがって、構造要素”r″の直下構造は、該構造要素
を制約する共通構造要素の持つ制約情報を満たしている
Therefore, the structure immediately below the structural element "r" satisfies the constraint information possessed by the common structural element that constrains this structural element.

構造要素1007 (構造要素”r−1−2”)を制約
する共通構造要素は、903(共通構造要素”R−1−
2″)である。
The common structural element that constrains the structural element 1007 (structural element "r-1-2") is the common structural element 903 (common structural element "R-1-2").
2″).

したがって、構造要素″r−1−2”の直下構造は ¥(R−1−2−1)        (5)という記
述によって制約されている。
Therefore, the structure immediately below the structural element "r-1-2" is constrained by the description ¥(R-1-2-1) (5).

構造要素”r−1−2″の構造要素データは810であ
る。構造データ810の直下構造データには (r−1−2−1) と記述されている。
The structural element data of structural element "r-1-2" is 810. In the structure data directly below the structure data 810, (r-1-2-1) is written.

識別子″r−1−2−1”を持つ構造要素は1008で
あり、構造要素”r−1−2−1”を制約するのは共通
構造要素″R−1−2−1”である。
The structural element with the identifier "r-1-2-1" is 1008, and the common structural element "R-1-2-1" constrains the structural element "r-1-2-1".

したがって、構造要素”r−1−2”の直下構造は、該
構造要素を制約する共通構造要素の持つ制約情報を満た
している。
Therefore, the structure immediately below the structural element "r-1-2" satisfies the constraint information possessed by the common structural element that constrains this structural element.

構造要素1009 (構造要素”r−3−1”)を制約
する共通構造要素は904(共通構造要素″R−3−1
″)である。
The common structural element that constrains structural element 1009 (structural element "r-3-1") is 904 (common structural element "R-3-1").
″).

したがって、構造要素”R−3−1”の直下構造は φ(R−3−1−1,R−3−1−2)という記述によ
って制約されている。
Therefore, the structure immediately below the structural element "R-3-1" is constrained by the description φ(R-3-1-1, R-3-1-2).

構造要素”r−3−1”の構造要素データは811であ
る。
The structural element data of structural element "r-3-1" is 811.

構造要素データ811の直下構造データには(r−3−
1−1) と記述されている。
The structure data immediately below the structure element data 811 includes (r-3-
1-1).

識別子”r−311″を持つ構造要素は1010であり
、構造要素″r−3−1−1”を制約するのは共通構造
要素”R−3−1−1”である。
The structural element with the identifier "r-311" is 1010, and the common structural element "R-3-1-1" constrains the structural element "r-3-1-1".

したがって、構造要素”r−3−1”の直下構造は、該
構造要素を制約する共通構造要素の持つ制約情報を満た
している。
Therefore, the structure immediately below the structural element "r-3-1" satisfies the constraint information possessed by the common structural element that constrains this structural element.

構造要素1010 (構造要素”r−3−1−1”)を
制約する共通構造要素は、905(共通構造要素”R−
1−1−1″)である。
The common structural element that constrains the structural element 1010 (structural element "r-3-1-1") is 905 (common structural element "R-
1-1-1'').

共通構造要素″R−3−1−1″の制約情報はnil″
である。
Constraint information of common structural element "R-3-1-1" is nil"
It is.

このことは、共通構造要素”R−3−1−1”に制約さ
れる構造要素は直下構造を持たないことを示している。
This indicates that the structural element constrained by the common structural element "R-3-1-1" does not have a direct subordinate structure.

したがって、構造要素″r−3−1−13の直下構造デ
ータはni1″である。
Therefore, the direct structure data of the structural element "r-3-1-13" is ni1.

そのかわり、構造要素”r−3−1−1”の下には文書
部品が連結する。
Instead, the document component is connected under the structural element "r-3-1-1".

第8図に示したように、構造要素”r−3−1−1”に
は″5.論文A”という文書部品識別子を持った文書部
品が連結している。
As shown in FIG. 8, a document component having a document component identifier "5. Paper A" is connected to the structural element "r-3-1-1".

第11図は共通論理構造記憶部に記憶されている”論文
抄録クラス”という共通論理構識別子を持つ共通論理構
造の内容説明図である。
FIG. 11 is an explanatory diagram of the contents of a common logical structure having a common logical structure identifier called "paper abstract class" stored in the common logical structure storage section.

第12図は電子文書記憶部に記憶されている”論文抄録
A”という文書識別子を持つ電子文書に含まれている論
理構造情報部の内容説明図である。
FIG. 12 is an explanatory diagram of the contents of the logical structure information section included in the electronic document having the document identifier "Paper Abstract A" stored in the electronic document storage section.

第13図は第11図で示された共通論理構造の内容をわ
かりやすくグラフによって示した説明図である。
FIG. 13 is an explanatory diagram showing the contents of the common logical structure shown in FIG. 11 in an easy-to-understand graph.

第14図は第12図に示された論理構造情報の内容をグ
ラフで示した説明図である。
FIG. 14 is an explanatory diagram showing the contents of the logical structure information shown in FIG. 12 in a graph.

ただし、構造要素と文書部品の連結は図示していない。However, connections between structural elements and document components are not illustrated.

第15図は論理構造生成プログラム記憶部に記憶されて
いる”論文抄録生成”という識別子を持つ論理構造生成
プログラムの内容説明図であって、1501は論理構造
生成プログラム識別子であり、”論文抄録生成”という
識別子が記憶されている。
FIG. 15 is an explanatory diagram of the contents of the logical structure generation program having the identifier "Paper Abstract Generation" stored in the logical structure generation program storage unit, and 1501 is the logical structure generation program identifier; ” is stored.

1502は出力共通論理構造指定部であり、本論理構造
生成プログラムによって生成される論理構造を制約する
共通論理構造が”論文抄録クラス”という識別子を持つ
ものであることが指定されている。
Reference numeral 1502 is an output common logical structure designation section, which specifies that the common logical structure that constrains the logical structure generated by this logical structure generation program has an identifier of "article abstract class."

1053は入力共通論理構造指定部であり、本論理構造
生成プログラムの入力となる論理構造が”論文クラス”
という識別子を持つ共通論理構造によって制約されるも
のと”論文抄録クラス”という識別子を持つ共通論理構
造によって制約されるものの2つであることが指定され
ている。
1053 is an input common logical structure specification part, and the logical structure that is input to this logical structure generation program is a "paper class".
It is specified that there are two types of constraints: one is constrained by a common logical structure with the identifier ``paper abstract class,'' and the other is constrained by a common logical structure with the identifier ``paper abstract class.''

1504は構造要素生成規則部であり、1505で代表
されるのが個々の構造要素生成規則である。
Reference numeral 1504 is a structural element generation rule section, and 1505 represents individual structure element generation rules.

1507は内容部生成規則部であり、1508で代表さ
れるのが内容部生成規則である。
1507 is a content part generation rule part, and 1508 is representative of the content part generation rule.

第16図はユーザに論理構造生成プログラムを指定され
るために表示部102に表示される論理構造自動生成ウ
ィンドウとその入力例の説明図であって、 同図(a)は、ユーザに論理構造生成プログラム記憶部
106に記憶されている論理構造生成プログラムを指定
させるために表示部102に表示される論理構造自動生
成ウィンドウであり、1601は論理構造自動性成ウィ
ンドウ、1602はユーザがマウス等のボインティング
・デバイスを介して入力の終了を指示するための終了ボ
タン、工603はユーザが論理構造生成プログラムの識
別子を記述するための論理構造生成プログラム識別子記
述フィールドである。
FIG. 16 is an explanatory diagram of an automatic logical structure generation window displayed on the display unit 102 for the user to specify a logical structure generation program, and an example of its input. A logical structure automatic generation window is displayed on the display unit 102 to allow the user to specify the logical structure generation program stored in the generation program storage unit 106, and 1601 is a logical structure automatic generation window, and 1602 is a logical structure automatic generation window when the user uses a mouse or the like. An end button 603 for instructing the end of input through the pointing device is a logic structure generation program identifier description field for the user to write the identifier of the logic structure generation program.

また、同図(b)はユーザによって論理構造生成プログ
ラム識別子記述フィールド1603に”論文抄録生成”
という識別子が記述された例である。
In addition, in the same figure (b), "paper abstract generation" is entered by the user in the logical structure generation program identifier description field 1603.
This is an example where the identifier is written.

第17図は論理構造自動生成ウィンドウの入力の終了後
にユーザが入力となる論理構造を持つ電子文書の識別子
と出力となる論理構造を持つ電子文書の識別子を指定す
るための電子文書指定ウィンドウとその表示例の説明図
であって、(a)は論理構造自動生成ウィンドウ160
1の入力の終了後、ユーザが入力となる論理構造を持つ
電子文書の識別子と出力となる論理構造を持つ電子文書
の識別子を指定するための電子文書指定ウィンドウを図
示したものである。
Figure 17 shows an electronic document specification window and its window for specifying the identifier of an electronic document with a logical structure to be input and the identifier of an electronic document with a logical structure to be output after the user completes the input in the logical structure automatic generation window. FIG. 6 is an explanatory diagram of a display example, in which (a) is a logical structure automatic generation window 160;
1 is a diagram illustrating an electronic document designation window for the user to specify an identifier of an electronic document having a logical structure to be input and an identifier of an electronic document having a logical structure to be output after completing the input in step 1.

1701は電子文書指定ウィンドウ、1702はユーザ
がマウス等のボインティング・デバイスを介して入力の
終了を指示するための終了ボタンである。
1701 is an electronic document specification window, and 1702 is an end button for the user to instruct to end input through a pointing device such as a mouse.

1703は実行される論理構造生成プログラムの識別子
が表示される論理構造生成プログラム識別子表示部であ
り、 該識別子は論理構造自動生成ウィンドウ1601の入力
時にユーザによって指定された論理構造生成プログラム
識別子と一致する。
1703 is a logical structure generation program identifier display area in which the identifier of the logical structure generation program to be executed is displayed, and this identifier matches the logical structure generation program identifier specified by the user when inputting the logical structure automatic generation window 1601. .

1704は論理構造生成プログラム識別子表示部170
3に表示された論理構造生成プログラムの入力となる論
理構造を制約する共通論理構造の識別子が表示される入
力共通論理構造識別子表示部であり、 その内容は、論理構造生成プログラム識別子表示部17
03に表示された論理構造生成プログラムの入力共通論
理構造指定部の内容と一致する。
1704 is a logical structure generation program identifier display section 170
This is an input common logical structure identifier display area in which an identifier of a common logical structure that constrains the logical structure that is input to the logical structure generation program displayed in 3 is displayed, and its contents are as follows:
This matches the contents of the input common logical structure designation section of the logical structure generation program displayed in 03.

1705は論理構造生成プログラム識別子表示部170
3に表示された論理構造生成プログラムの入力となる論
理構造を持つ電子文書の識別子をユーザに指定されるた
めの入力電子文書識別子記述フィールドであり、 該フィールドで指定された電子文書の電子文書データに
含まれる共通論理構造識別子は、入力共通論理構造識別
子表示部1704に表示された共通論理構造の識別子と
一致していなければならない。
1705 is a logical structure generation program identifier display section 170
This is an input electronic document identifier description field for the user to specify the identifier of an electronic document with a logical structure that will be input to the logical structure generation program displayed in 3, and the electronic document data of the electronic document specified in the field. The common logical structure identifier included in the input common logical structure identifier must match the common logical structure identifier displayed in the input common logical structure identifier display section 1704.

論理構造生成プログラム識別子表示部1703に表示さ
れた論理構造生成プログラムの入力となる論理構造が複
数存在する場合、 すなわち、論理構造生成プログラム識別子表示部170
3に表示された論理構造生成プログラムの入力共通論理
構造指定部に複数の共通論理構造識別子が記述されてい
る場合には、 入力共通論理構造識別子表示部と入力電子文書識別子記
述フィールドの対も同じ数だけ存在する。
When there are multiple logical structures that can be input to the logical structure generation program displayed in the logical structure generation program identifier display section 1703, that is, the logical structure generation program identifier display section 170
If multiple common logical structure identifiers are described in the input common logical structure specification section of the logical structure generation program displayed in 3, the pairs of input common logical structure identifier display section and input electronic document identifier description field are also the same. There are only a few.

1706は論理構造生成プログラム識別子表示部170
3に表示された論理構造生成プログラムの出力となる論
理構造を制約する共通論理構造の識別子が表示される出
力共通論理構造識別子表示部であり、 その内容は、論理構造生成プログラム識別子表示部17
03に表示された論理構造生成プログラムの出力共通論
理構造指定部の内容と一致する。
1706 is a logical structure generation program identifier display section 170
This is an output common logical structure identifier display section in which an identifier of a common logical structure that constrains the logical structure that is the output of the logical structure generation program displayed in 3 is displayed, and its contents are as follows:
This matches the content of the output common logical structure designation section of the logical structure generation program displayed in 03.

1707は論理構造生成プログラム識別子表示部170
3に表示された論理構造生成プログラムの出力となる論
理構造を持つ新しい電子文書の識別子をユーザに指定さ
せるための出力電子文書識別子記述フィールドである。
1707 is a logical structure generation program identifier display section 170
This is an output electronic document identifier description field for allowing the user to specify the identifier of a new electronic document having a logical structure that is the output of the logical structure generation program shown in 3.

論理構造生成プログラム識別子表示部1703に表示さ
れた論理構造生成プログラムの出力となる論理構造が複
数存在する場合、 すなわち、構造生成プログラム識別子表示部1703に
表示された論理構造生成プログラムの出力共通論理構造
指定部に複数の共通論理構造識別子が記述されている場
合には、 出力共通論理構造識別子表示部と出力電子文書識別子記
述フィールドの対も同じ数だけ存在する。
When there are multiple logical structures that are the output of the logical structure generation program displayed in the logical structure generation program identifier display section 1703, that is, the output common logical structure of the logical structure generation program displayed on the structure generation program identifier display section 1703. When multiple common logical structure identifiers are described in the specification section, the same number of pairs of output common logical structure identifier display section and output electronic document identifier description field also exist.

第17図(b)は、論理構造自動生成ウィンドウが第1
6図(b)のようであった場合に表示される電子文書指
定ウィンドウの表示例である。
Figure 17(b) shows that the logical structure automatic generation window is
6 is a display example of the electronic document designation window that is displayed when the screen is as shown in FIG. 6(b).

また第17図(c)は、第17図(b)の電子文書指定
ウィンドウの各フィールドがユーザによって埋められた
例である。
Further, FIG. 17(c) is an example in which each field of the electronic document designation window of FIG. 17(b) is filled in by the user.

第18図は論理構造自動生成装置によって既存の電子文
書の論理構造、文書部品、および該論理構造と文書部品
の連結から新しい電子文書の論理構造、文書部品、およ
び該論理構造と文書部品の連結を自動生成する際の処理
の流れを示したフローチャートである。
FIG. 18 shows a new electronic document logical structure, document parts, and connection of the logical structure and document parts from the logical structure of an existing electronic document, document parts, and the connection of the logical structures and document parts by the logical structure automatic generation device. 12 is a flowchart showing the flow of processing when automatically generating .

第19図は第18図のフローチャートのステップ181
2″新しい論理構造、文書部品、それらの連結の生成”
の部分の処理の流れを示したフローチャートである。
FIG. 19 shows step 181 of the flowchart in FIG.
2 “Generation of new logical structures, document parts, and their connections”
FIG.

第20図は第19図のフローチャートにしたがって新し
い論理構造が生成される過程を説明するための説明図で
あり、共通論理構造識別子と論理構造の状態をあられし
ている。
FIG. 20 is an explanatory diagram for explaining the process of generating a new logical structure according to the flowchart of FIG. 19, and shows the common logical structure identifier and the state of the logical structure.

第21図は、共通論理構造記憶部105に記憶されてい
る共通論理構造”論文抄録クラス(改)″の内容をグラ
フによって示したものである。
FIG. 21 is a graph showing the contents of the common logical structure "paper abstract class (revised)" stored in the common logical structure storage unit 105.

第22図は第18図のフローチャートのステップ181
2″新しい論理構造、文書部品、それらの連結の生成”
の部分の処理の流れを示した、第19図とは別の例のフ
ローチャートである。
FIG. 22 shows step 181 of the flowchart in FIG. 18.
2 “Generation of new logical structures, document parts, and their connections”
20 is a flowchart of an example different from that shown in FIG. 19, showing the flow of processing in the part shown in FIG.

以下では、共通論理構造が第7図で示した”論文クラス
“であり、第8図で示した論理構造を持つ電子文書”論
文A”の論理構造、文書部品、および該論理構造と文書
部品の連結と、共通論理構造が第11図で示した”論文
抄録クラス”であり、第12図で示した論理構造を持つ
電子文書”論文抄録A”の論理構造、文書部品、および
該論理構造と文書部品の連結から、論理構造生成プログ
ラム1論文抄録生成”によって、共通論理構造が第11
図で示した”論文抄録クラス”である新しい電子文書”
論文抄録B”の論理構造、文書部品、および該論理構造
と文書部品の連結を自動生成する場合を例として論理構
造自動生成処理の流れを、第18図のフローチャートに
したがって説明する。
Below, the common logical structure is the "paper class" shown in Figure 7, and the logical structure, document parts, and the logical structure and document parts of the electronic document "Paper A", which has the logical structure shown in Figure 8. The connection and common logical structure is the "Paper Abstract Class" shown in Figure 11, and the logical structure, document parts, and the logical structure of the electronic document "Paper Abstract A" with the logical structure shown in Figure 12. From the connection of the document parts and the logical structure generation program 1, the common logical structure is
A new electronic document that is a “paper abstract class” illustrated in the figure.”
The flow of the automatic logical structure generation process will be described with reference to the flowchart of FIG. 18, taking as an example the case where the logical structure of "Paper Abstract B", document parts, and connections between the logical structures and document parts are automatically generated.

ここで、共通論理構造”論文クラス”、”論文抄録クラ
ス”は共通論理構造記憶部105に記憶されており、 電子文書゛論文A”、”論文抄録A”は電子文書記憶部
104に記憶されており、 論理構造生成プログラム”論文抄録生成”は論理構造生
成プログラム記憶部106に記憶されているものとする
Here, the common logical structures “paper class” and “paper abstract class” are stored in the common logical structure storage unit 105, and the electronic documents “paper A” and “paper abstract A” are stored in the electronic document storage unit 104. It is assumed that the logical structure generation program “Paper Abstract Generation” is stored in the logical structure generation program storage unit 106.

入力部101からユーザの入力、あるいはその他の手段
によって論理構造と文書部品、および論理構造と文書部
品の連結の自動生成が論理構造自動生成処理部107に
対して指示れると、表示部102に論理構造自動生成ウ
ィンドウ1601が表示される(ステップ1801)。
When the logical structure automatic generation processing unit 107 is instructed to automatically generate a logical structure, a document component, and a connection between a logical structure and a document component by a user input from the input unit 101 or by other means, a logical structure is displayed on the display unit 102. An automatic structure generation window 1601 is displayed (step 1801).

ユーザによって論理構造生成プログラム識別子フィール
ド1603に論理構造生成プログラムの識別子が入力さ
れ、入力の終了が指示される(ステップ1802)と、
論理構造生成プログラム識別子フィールド1603に記
述された識別子をもつ論理構造生成プログラムが論理構
造生成プログラム記憶部106から論理構造自動生成処
理部107に読み込まれる(ステップ1803)。
When the user inputs the identifier of the logical structure generation program in the logical structure generation program identifier field 1603 and instructs to finish the input (step 1802),
The logical structure generation program having the identifier written in the logical structure generation program identifier field 1603 is read from the logical structure generation program storage section 106 into the logical structure automatic generation processing section 107 (step 1803).

本例の場合は、論理構造自動生成処理に使われる論理構
造生成プログラムの識別子が”論文抄録生成”であるの
で、論理構造自動生成ウィンドウは、第16図(b)の
ように入力され、第15図で示した”論文抄録生成゛と
いう識別子を持つ論理構造生成プログラムが論理構造自
動生成処理部107に読み込まれる。
In this example, the identifier of the logical structure generation program used for the automatic logical structure generation process is "Paper Abstract Generation", so the automatic logical structure generation window is entered as shown in Figure 16(b), and the The logical structure generation program having the identifier “paper abstract generation” shown in FIG. 15 is read into the logical structure automatic generation processing unit 107.

論理構造生成プログラムが論理構造自動生成処理部10
7に読み込まれると、論理構造生成プログラムの実行に
必要な共通論理構造が共通論理構造記憶部105に記憶
されているかが調べられる(ステップ1804)。
The logical structure generation program is the logical structure automatic generation processing section 10.
7, it is checked whether the common logical structure necessary for executing the logical structure generation program is stored in the common logical structure storage unit 105 (step 1804).

必要な共通論理構造が存在しなかった場合、そのことを
警告するメツセージが表示部102に表示され(ステッ
プ1808)、論理構造自動生成処理は終了する。
If the necessary common logical structure does not exist, a message warning of this is displayed on the display unit 102 (step 1808), and the automatic logical structure generation process ends.

必要な共通論理構造が存在する場合には、該共通論理構
造が共通論理構造記憶部105から論理構造自動生成処
理107に読み込まれる(ステップ1805)。
If a necessary common logical structure exists, the common logical structure is read from the common logical structure storage unit 105 into the logical structure automatic generation process 107 (step 1805).

本実施例の論理構造自動生成装置においては、入力とな
る電子文書、出力となる電子文書の論理構造を制約する
共通論理構造が論理構造生成プログラムの実行に必要で
ある。
In the logical structure automatic generation device of this embodiment, a common logical structure that constrains the logical structure of an input electronic document and an output electronic document is necessary to execute the logical structure generation program.

したがって、その有無が調べられる。Therefore, its presence or absence can be investigated.

これらの共通論理構造が識別子は、論理構造生成プログ
ラム610の出力の出力共通論理構造指定部603、入
力共通論理構造指定部604に保持されている。
These common logical structure identifiers are held in an output common logical structure designation section 603 and an input common logical structure designation section 604 that are output from the logical structure generation program 610.

本処理の場合には、論理構造生成プログラム”論文抄録
生成”の出力共通論理構造指定部には、”論文抄録クラ
ス”、入力共通論理構造指定部には、”論文クラス” 
・”論文抄録クラス“という識別子が記述されており、 ”論文クラス”論文抄録クラス”という識別子を持つ共
通論理構造が共通論理構造記憶部105に記憶されてい
るかが調べられる。
In the case of this process, the output common logical structure specification section of the logic structure generation program "Paper Abstract Generation" contains the "paper abstract class," and the input common logical structure specification section contains the "paper class."
- It is checked whether the identifier "paper abstract class" is written and a common logical structure having the identifier "paper class" or "paper abstract class" is stored in the common logical structure storage unit 105.

”論文クラス”という識別子を持つ共通論理構造は第7
図に示したものであり、”論文抄録クラス”という識別
子を持つ共通論理構造は第11図に示したものである。
The common logical structure with the identifier “paper class” is the seventh
The common logical structure having the identifier "paper abstract class" is shown in FIG.

これらはともに、共通論理構造記憶部105に記憶され
ているので、共通論理構造“論文クラス”論文抄録クラ
ス”が論理構造自動生成処理部107に読み込まれる。
Since both of these are stored in the common logical structure storage unit 105, the common logical structures “paper class” and “paper abstract class” are read into the logical structure automatic generation processing unit 107.

その後、表示部102に電子文書指定ウィンドウ170
1が表示される(ステップ1806)。
After that, an electronic document specification window 170 is displayed on the display unit 102.
1 is displayed (step 1806).

その時、論理構造生成プログラム識別子表示部1703
にはステップ1803で論理構造自動生成処理部107
に読み込まれた論理構造生成プログラムの識別子が表示
され、入力共通論理構造識別子表示部1704と出力共
通論理構造識別子表示部1706には、それぞれ該論理
構造生成プログラムの入力共通論理構造指定部604に
保持されている内容と出力共通論理構造指定部603に
保持されている内容が表示される。
At that time, the logical structure generation program identifier display section 1703
In step 1803, the logical structure automatic generation processing unit 107
The identifier of the logical structure generation program read in is displayed, and the input common logical structure identifier display section 1704 and the output common logical structure identifier display section 1706 each display the identifier held in the input common logical structure specification section 604 of the logical structure generation program. The contents held in the output common logical structure specifying section 603 are displayed.

本処理例の場合には、論理構造自動生成処理部107に
読み込まれた論理構造生成プログラムが第15図に示し
たものであることから、第17図(b)のように表示さ
れる。
In the case of this processing example, since the logical structure generation program read into the automatic logical structure generation processing unit 107 is shown in FIG. 15, the display is as shown in FIG. 17(b).

ユーザによって入力電子文書識別子記述フィールド17
05、出力電子文書識別子記述フィールド1707にそ
れぞれ論理構造生成プログラムの入力・出力となる電子
文書の識別子が入力され、入力の終了が指示される(ス
テップ1807)と、入力電子文書識別子記述フィール
ド1705に記述された識別子を持つ電子文書が電子文
書記憶部104に記憶されているかが調べられる(ステ
ップ1809)。
Electronic document identifier description field 17 input by user
05, the identifiers of the electronic documents to be input and output of the logical structure generation program are respectively input to the output electronic document identifier description field 1707, and when the end of input is instructed (step 1807), the input electronic document identifier description field 1705 is inputted. It is checked whether an electronic document having the written identifier is stored in the electronic document storage unit 104 (step 1809).

記憶されていない場合には、そのことを警告するメツセ
ージが表示部102に表示され(ステップ1814)、
論理構造自動生成処理は終了する。
If it is not stored, a message warning of this is displayed on the display unit 102 (step 1814),
The logical structure automatic generation process ends.

記憶されている場合には、該電子文書が電子文書記憶部
104から論理構造自動生成処理部107に読み込まれ
る(ステップ1810)。
If the electronic document is stored, the electronic document is read from the electronic document storage unit 104 into the logical structure automatic generation processing unit 107 (step 1810).

第17図(C)のようにユーザが入力した場合、”論文
A”、”論文抄録A″の識別子を持つ電子文書が電子文
書記憶部に記憶されているので、該電子文書が論理構造
自動生成処理部107に読み込まれる。
When the user makes an input as shown in FIG. 17(C), the electronic document with the identifiers “Paper A” and “Paper Abstract A” is stored in the electronic document storage unit, so the electronic document has a logical structure automatically. The data is read into the generation processing unit 107.

電子文書が論理構造自動生成処理部107に読み込まれ
た後、該電子文書の論理構造を制約する共通論理構造の
識別子、すなわち該電子文書の電子文書データ内の共通
論理構造識別子と論理構造生成プログラムの入力共通論
理構造指定部に保持されている識別子が一致するかどう
かが調べられる(ステップ1811)一致していない場
合には、そのことを警告するメソセージが表示部102
に表示され(ステップ1815)、論理構造自動生成処
理は終了する。
After the electronic document is read into the logical structure automatic generation processing unit 107, the identifier of the common logical structure that constrains the logical structure of the electronic document, that is, the common logical structure identifier in the electronic document data of the electronic document and the logical structure generation program It is checked whether the identifiers held in the input common logical structure specification section of the input common logical structure specifying section match (step 1811). If they do not match, a message warning about this is displayed on the display section 102.
is displayed (step 1815), and the logical structure automatic generation process ends.

一致している場合には、新しい論理構造、文書部品、お
よび該論理構造と文書部品の連結の自動生成が行われる
(ステップ1812)。
If they match, a new logical structure, a document component, and a connection between the logical structure and the document component are automatically generated (step 1812).

新しい論理構造、文書部品、および該論理構造と文書部
品の連結の生成が終了すると、それを新しい電子文書と
して電子文書記憶部104に記憶する(ステップ181
3)。
When the generation of a new logical structure, document component, and connection of the logical structure and document component is completed, it is stored in the electronic document storage unit 104 as a new electronic document (step 181
3).

この時の電子文書の識別子は、電子文書指定ウィンドウ
1701の出力電子文書識別子記述フィールド1707
に記述されたものである。
The identifier of the electronic document at this time is the output electronic document identifier description field 1707 of the electronic document specification window 1701.
This is what was described in .

また、該電子文書のデータのうち、割り付は構造等、依
然として未設定のデータは未設定のまま記憶し、後に自
動レイアウト処理やユーザによる編集等の手段によって
設定する。
Further, among the data of the electronic document, data that is not yet set, such as the layout and structure, is stored as unset, and is set later by means such as automatic layout processing or editing by the user.

次に、同じ処理例をもとに、ステップ1812の”新し
い論理構造1文書部品、それらの連結の生成”の方式に
ついて第19図のフローチャートにしたがって説明する
Next, based on the same processing example, the method of "generating new logical structure 1 document parts and their connections" in step 1812 will be explained according to the flowchart of FIG. 19.

本実施例における論理構造の生成とは、論理構造を構成
する構造要素の生成である。
The generation of a logical structure in this embodiment is the generation of structural elements that constitute the logical structure.

各構造要素は、第4図に示したように、構造要素識別子
、共通構造要素識別子、直下構造データ、文書部品デー
タ、その他の情報からなる。
As shown in FIG. 4, each structural element consists of a structural element identifier, a common structural element identifier, immediate structural data, document component data, and other information.

このうち、構造要素識別子は生成される木構造に応じて
自動的に決定される。
Among these, the structural element identifier is automatically determined according to the tree structure to be generated.

まず最初に論理構造の根ノードに対応する構造要素を生
成する(ステップ1901)。
First, a structural element corresponding to the root node of the logical structure is generated (step 1901).

根ノードに対応する構造要素の識別子は”r”である。The identifier of the structural element corresponding to the root node is "r".

本処理例においては、根ノードに対応する構造要素は第
11図に示した共通論理構造”論文抄録クラス”共通構
造要素1101によって制約される。
In this processing example, the structural element corresponding to the root node is constrained by the common logical structure "paper abstract class" common structural element 1101 shown in FIG.

したがって、共通構造要素識別子は共通構造要素110
1の識別子″R”である。
Therefore, the common structure element identifier is the common structure element 110
1 is the identifier “R”.

直下構造データはこの時点では設定されず、”no−1
nfo″と記述される。
Direct structure data is not set at this point, and “no-1”
nfo''.

また、文書部品データはこの時点では”nil”と設定
される。
Further, the document component data is set to "nil" at this point.

本実施例では、その他の情報406の部分にはユーザの
理解を助けるために設定された名前が保持される。
In this embodiment, the other information 406 section holds a name set to aid the user's understanding.

論理構造自動生成処理においては、この名前は該構造要
素を制約する共通構造要素のその他の情報の部分に設定
されている名前をそのまま継承するものとする。
In the logical structure automatic generation process, this name is assumed to inherit as it is the name set in the other information part of the common structure element that constrains the structure element.

したがって、根ノードに対応する構造要素の場合には、
共通構造要素1101のその他の情報の部分の内容と同
じ゛name→論文抄録”という情報が設定される。
Therefore, for the structural element corresponding to the root node,
The same information as the content of the other information part of the common structure element 1101, ``name→article abstract'', is set.

この時点で、新しく生成される”論文抄録B”の共通論
理構造識別子と論理構造の状態は第20図<a)のよう
になる。
At this point, the state of the common logical structure identifier and logical structure of the newly generated "paper abstract B" is as shown in FIG. 20<a).

次に、直下構造の未設定の構造要素、すなわち直下構造
データが”no−1nfo”となっている構造要素を捜
す(ステップ1902)。
Next, a search is made for an unset structural element in the direct structure, that is, a structure element whose direct structure data is "no-1nfo" (step 1902).

そういった構造要素が存在しなければ論理構造の生成は
終了する。
If such a structure element does not exist, the generation of the logical structure ends.

存在すれば、そのような構造要素の内の一つを選び(ス
テップ1903)、直下構造の設定を行う。
If it exists, one of such structural elements is selected (step 1903), and the immediate structure is set.

本処理では、第20図(a)の時点で直下構造データが
no−1nfo″であるものは構造要素″r” (20
02)だけであるのでその直下構造が設定される。
In this process, the structure element "r" (20
02), the structure immediately below it is set.

ステップ1903で選択された構造要素に対して、まず
、直下構造の有無が調べられる(ステップ1904)。
The structural element selected in step 1903 is first checked to see if there is a structure immediately below it (step 1904).

その有無は、該構造要素を制約する共通構造要素の制約
情報に保持されているni1″かどうかで決まる。
Its presence or absence is determined by whether ni1'' is held in the constraint information of the common structural element that constrains the structural element.

”nil”であれば、該構造要素には直下構造が存在せ
ず、その直下構造データは”ni1″となる(ステップ
1905)。
If it is "nil", there is no direct structure in the structural element, and its direct structure data is "ni1" (step 1905).

次に、直下構造を持たない構造要素は文書部品をもつあ
で、該構造要素の文書部品データが設定される(ステッ
プ1906)。
Next, for structural elements that do not have a direct structure, the document component data of the structural element is set when the structural element has a document component (step 1906).

文書部品データの設定は、入力である電子文書の文書部
品からの複製による文書部品の生成と、生成された文書
部品の文書部品識別子のリストを文書部品データの設定
の対象となっている構造要素の文書部品データに設定す
ることからなる。
Setting the document component data involves generating a document component by copying the document component of the input electronic document, and adding a list of the document component identifiers of the generated document component to the structure element that is the target of the document component data settings. This consists of setting the document part data of

文書部品データの設定は、第15図に示した論理構造生
成プログラム内容部生成規則を選択・評価することによ
って行われる。
Setting of document component data is performed by selecting and evaluating the logical structure generation program content generation rules shown in FIG.

その選択・評価方式は、後に述べる構造要素生成規則の
選択・評価方式に類似のものであるが、その詳細は本発
明の範囲外であるので説明を省略し、文書部品データの
設定(ステップ1906)においては−律に”?”が設
定されるものとする。
The selection/evaluation method is similar to the selection/evaluation method for structural element generation rules described later, but since the details are outside the scope of the present invention, the explanation will be omitted. ), it is assumed that "?" is set as a rule.

ステップ1904で、該構造要素を制約する共通構造要
素の制約情報に保持されている情報が”nil”でなか
った場合には、直下構造が存在し、ステップ1907以
下で直下構造が設定される。
In step 1904, if the information held in the constraint information of the common structural element that constrains the structural element is not "nil", a direct subordinate structure exists, and the direct subordinate structure is set in steps 1907 and subsequent steps.

構造要素”r”で(2002)を制約する共通構造要素
は、第20図(a)の共通論理構造識別子”論文抄録ク
ラス”と構造要素”r”の構造要素識別子”R”かられ
かるように、第11図に示した共通構造要素”R” (
1101)であり、共通構造要素”R” (1101)
は制約情報を持つので構造要素”r” (2002)に
は直下構造が存在する。
The common structural element that constrains (2002) with the structural element "r" can be found from the common logical structure identifier "paper abstract class" in Figure 20 (a) and the structural element identifier "R" of the structural element "r". In addition, the common structural element "R" (
1101), and the common structural element "R" (1101)
has constraint information, so structure element “r” (2002) has a direct subordinate structure.

直下構造の設定に際して、まず該直下構造の決定に論理
構造生成プログラムに記述されている構造要素生成規則
の適用の必要性の判断なされる(ステップ1907)。
When setting the direct subordinate structure, first, it is determined whether the structural element generation rules written in the logical structure generation program need to be applied to the determination of the direct subordinate structure (step 1907).

その必要性は、直下構造の決定される構造要素を制約す
る共通構造要素の情報をもとに判断される。
Its necessity is determined based on information on common structural elements that constrain the determined structural elements of the immediate structure.

制約情報は”$”、”¥”、”ψ”の記述子とその後に
続く共通構造要素識別子のリスト、あるいはnil”に
よって記述されている。
The constraint information is described by a descriptor of "$", "\", "ψ" followed by a list of common structural element identifiers, or "nil".

制約情報が”nil”の場合はステップ1904の判断
で除外され、ステップ1907が適用されることはない
If the constraint information is "nil", it is excluded by the determination in step 1904, and step 1907 is not applied.

制約情報が”$”記述子とその後に続く共通構造要素識
別子のリストである場合には、共通構造要素識別子のリ
ストに対応する構造要素の列を作ればそれが直下構造と
なるので、構造要素生成規則の適用の必要性はない。
If the constraint information is a "$" descriptor followed by a list of common structure element identifiers, if you create a sequence of structure elements corresponding to the list of common structure element identifiers, it will become the direct structure, so the structure element There is no need to apply production rules.

制約情報が”¥”記述子とその後に続く共通構造要素識
別子のリストである場合には、直下構造が共通構造要素
識別子のリストに対応する構造要素の列が繰り返される
構造であることを意味しており、繰り返しの回数を構造
要素生成規則によって決定しなければならない。
If the constraint information is a "\" descriptor followed by a list of common structure element identifiers, it means that the immediate structure is a structure in which the sequence of structure elements corresponding to the list of common structure element identifiers is repeated. The number of repetitions must be determined by the structure element generation rules.

制約情報が”ψ”記述子とその後に続く共通構造要素識
別子のリストである場合には、直下構造が共通構造要素
識別子のリストの中の1つの共通構造要素に制約される
構造要素からなることを意味しており、どの共通構造要
素を選択するかを構造要素生成規則によって決定しなけ
ればならない。
If the constraint information is a "ψ" descriptor followed by a list of common structure element identifiers, the immediate structure consists of structure elements that are constrained by one common structure element in the list of common structure element identifiers. This means that which common structural element to select must be determined by the structural element generation rule.

構造要素生成規則の適用の必要性の判断の結果、必要が
ないと判断された場合には、 直下構造を決定すべき構造要素を制約する共通構造要素
の制約情報をもとに該構造要素の子ノードである構造要
素が生成され、該子ノードである構造要素の識別子のリ
ストが直下構造を決定すべき構造要素の直下構造データ
に設定され(ステップ1908)、ステップ1902に
もどる。
As a result of determining the necessity of applying structural element generation rules, if it is determined that it is not necessary, apply the structural element generation rule based on the constraint information of the common structural element that constrains the structural element whose immediate subordinate structure is to be determined. A structural element that is a child node is generated, and a list of identifiers of the structural element that is a child node is set in the immediately subordinate structure data of the structural element whose immediate subordinate structure is to be determined (step 1908), and the process returns to step 1902.

ただし、この時、新しく生成された子ノードである構造
要素の直下構造データは”no−1nfo”である。
However, at this time, the direct structure data of the structure element which is the newly generated child node is "no-1nfo".

構造要素生成規則の適用の必要性があると判断された場
合には、どの構造要素生成規則を適用するかを決定する
(ステップ1909)。
If it is determined that there is a need to apply a structural element generation rule, it is determined which structural element generation rule to apply (step 1909).

構造要素”r” (2002)を制約する共通構造要素
”R” (1101)の制約情報は¥(R−1)   
         (7)であるので、構造要素生成規
則を適用する必要がある。
The constraint information of the common structural element “R” (1101) that constrains the structural element “r” (2002) is ¥ (R-1)
(7), it is necessary to apply the structural element generation rule.

直下構造の決定に適用される構造要素生成規則は、直下
構造を決定中である構造要素を表現した構造要素指示表
記と、構造要素生成規則に保持されている出力構造要素
指定部に記述された構造要素指定記述によって決定され
る。
The structure element generation rules applied to determine the immediate structure are the structure element designation notation that expresses the structure element whose immediate structure is being determined, and the output structure element specification part held in the structure element generation rule. Determined by the structural element specification description.

構造要素指示表記は、BNF記法によれば以下のような
形式を持つ。
According to the BNF notation, the structural element designation notation has the following format.

〈構造要素指定表記〉 ココ=〈構造要素指定部〉@ 〈共通論理構造の識別子〉 : 〈入出力識別子〉。<Structural element specification notation> Here=〈Structural element specification section〉@ <Identifier of common logical structure> : <I/O identifier>.

く構造要素指示部〉 ココ=〈構造要素指示子〉 1 く構造要素指示子〉。Structural element instruction section Here = <Structural element designator> 1. Structural element designator.

く構造要素指示部〉。Structural element instruction section>

く構造要素指示子〉 ココ=〈共通構造要素の識別子〉 #〈自然数〉 1 〈共通構造要素の識別子ン。Structural element designator Here = <Identifier of common structural element> #<Natural number> 1 <Identifier of common structural element.

く入出力識別子)::=il。input/output identifier)::=il.

例えば、本処理例の入力電子文書である”論文抄録A”
の論理構造に含まれる構造要素”1−3−2”の構造要
素指示表記は、 R1−3−112,R−1−3#1.R−1#1゜ R@論文抄録クラス: i         (9)と
なる。
For example, “paper abstract A” which is the input electronic document for this processing example.
The structural element designation notation for the structural element "1-3-2" included in the logical structure is R1-3-112, R-1-3#1. R-1#1゜R@Paper Abstract Class: i (9).

最後尾の”ビは、入出力識別子であり、その構造要素指
示表記が入力する電子文書の論理構造に関するものであ
ることを表している。
The ``bi'' at the end is an input/output identifier and indicates that the structural element designation is related to the logical structure of the input electronic document.

入出力識別子が”0”であれば、その構造要素指示表記
は出力する電子文書の論理構造に関するものである。
If the input/output identifier is "0", the structural element designation is related to the logical structure of the electronic document to be output.

”@”の直後の”論文抄録クラス′という記述は、構造
要素指示表記が表現する構造要素を含む論理構造を制約
する共通論理構造の識別子である。
The description "paper abstract class" immediately after "@" is an identifier of a common logical structure that constrains the logical structure including the structural element expressed by the structural element designation notation.

@論文抄録クラス:i       (10)の表記に
よって、この構造要素指示表記が表現する構造要素を含
む論理構造が、入力する電子文書の論理構造で、かつ共
通論理構造”論文抄録クラス”によって制約されるもの
であることがわかる。
@Dissertation abstract class: i The notation (10) indicates that the logical structure including the structural element expressed by this structural element directive notation is the logical structure of the input electronic document and is constrained by the common logical structure "Dissertation abstract class". It can be seen that the

R−1−3−1#2.R−1−3#1.R−1#1.R の部分は、構造要素指示子が”、″によってつながった
構造要素指示部であり、 構造要素指示表記が表現する構造要素を含む論理構造の
根ノードである構造要素から、構造要素指示表記が表現
する構造要素に達するための論理構造上の経路を表現し
ている。
R-1-3-1 #2. R-1-3#1. R-1#1. The R part is a structural element designation part in which structural element designators are connected by ",", and the structural element designation notation starts from the structural element which is the root node of the logical structure containing the structural element expressed by the structural element designation notation. It expresses the logical structural route to reach the expressed structural element.

(11)式の最右側の構造要素指示子”R”は、構造要
素指示表記が表現する構造要素を含む論理構造の内、”
R”という識別子を持つ共通構造要素によって制約され
るもの、すなわち構造要素”r’  (根ノード)を指
す。
The structural element designator "R" on the rightmost side of the formula (11) indicates "
It refers to something that is constrained by a common structural element with an identifier "R", that is, a structural element "r' (root node)."

構造要素指示部の最右側の構造要素指示子には、必ず構
造要素指示表記が表現する構造要素を含む論理構造の根
ノードを制約する共通構造要素の識別子が記述される。
The rightmost structural element designator in the structural element designation section always describes the identifier of a common structural element that constrains the root node of the logical structure that includes the structural element expressed by the structural element designation notation.

構造要素指示部の最右側の構造要素指示子以外の個々の
構造要素指示子は、該構造要素指示子に右に存在する構
造要素指示子で指示された構造要素の直下構造に含まれ
る構造要素の内の一つを指す。
Each structural element designator other than the rightmost structural element designator in the structural element designator is a structural element included in the structure immediately below the structural element designated by the structural element designator to the right of the structural element designator. Refers to one of the following.

例えば、(11)式の R−1#1.R(12) の部分のR−1#1”は、′R1で指定された構造要素
の直下構造に含まれる構造要素内で”R−1″という識
別子を持つ共通構造要素によって制約されるもののうち
、直下構造を表現するリスト上で1番目のもの(”#1
″で指定されている)を指す。
For example, R-1#1 in formula (11). R-1 #1” in the R(12) part is restricted by a common structural element with an identifier “R-1” among the structural elements included in the structure immediately below the structural element specified by 'R1. Among them, the first one on the list that represents the immediate structure ("#1
”).

したがって、”論文抄録A”の論理構造に含まれる構造
要素″r−1”を指す。
Therefore, it refers to the structural element "r-1" included in the logical structure of "paper abstract A".

以下同様に、(11)式の R−1−3#1.  R−1#1.  Rの部分で、構
造要素”r−1−3”が指定され、構造要素指示表記(
10)全体は構造要素”r −1−3−2”を指定する
Similarly, R-1-3 #1 of formula (11). R-1#1. In the R part, the structural element "r-1-3" is specified, and the structural element designation notation (
10) Specify the structural element "r-1-3-2" for the whole.

このように、構造要素指示表記は、構造要素指示表記が
表現する構造要素を論理構造の根ノードに対応する構造
要素から、構造要素指示表記が表現する構造要素に達す
るための論理構造上の経路を経路上の構造要素を構造要
素指示子によって順に指定することによって表現してい
る。
In this way, the structural element designation notation is a path on the logical structure to reach the structural element expressed by the structural element designation notation from the structural element corresponding to the root node of the logical structure. is expressed by sequentially specifying the structural elements on the path using structural element designators.

構造要素指示表記は、論理構造上のすべての構造要素に
対して指定可能であり、かつ指定される構造要素は一つ
である。
The structural element designation notation can be specified for all structural elements on the logical structure, and only one structural element can be specified.

構造要素2002を構造要素指示表記によって表現する
と、 R@論文抄録クラス:o       (14)となる
When the structural element 2002 is expressed using structural element designation notation, it becomes R@paper abstract class: o (14).

構造要素生成規則に保持されている出力構造要素指示部
に記述された構造要素指定記述には、上記構造要素指示
表記に対する条件が記述されている。
The structural element specification description written in the output structural element instruction part held in the structural element generation rule describes conditions for the above-mentioned structural element specification notation.

したがって、出力構造指定部に記述された構造要素指定
記述の設定した条件に適合する構造要素指示表記で表現
される構造要素の直下構造の設定にのみ、構造要素生成
規則が適用される。
Therefore, the structure element generation rule is applied only to the setting of the structure immediately below the structure element expressed by the structure element specification notation that meets the conditions set in the structure element specification description written in the output structure specification part.

第15図に示した論理構造生成プログラム″論文抄録生
成”に含まれている構造要素生成規則”rulel” 
(1505)の出力構造要素指定部の構造要素指定記述
は No=R@論文抄録クラス:o  (15)である。
Structural element generation rule “rulel” included in the logical structure generation program “Paper Abstract Generation” shown in Figure 15
The structure element specification description of the output structure element specification section (1505) is No=R@paper abstract class: o (15).

これは、構造要素生成規則″rulel”はR@論文抄
録クラス: o     (16)という構造要素指示
表記で指定される構造要素の直下構造の決定にのみ適用
されることを示している。
This indicates that the structural element generation rule "rule" is applied only to the determination of the immediate structure of the structural element specified by the structural element designation notation R@paper abstract class: o (16).

したがって、構造要素2002の直下構造の決定には、
構造要素生成規則”rulel”が適用される。
Therefore, to determine the structure immediately below the structural element 2002,
The structural element production rule "rulel" is applied.

”No″は生成変数と呼ばれ、構造要素生成規則の適用
時に、構造要素指定記述の”−”以下の記述の設定した
条件に連合した構造要素を指す。
"No" is called a generation variable and indicates a structure element associated with the condition set in the description below "-" in the structure element specification description when applying the structure element generation rule.

これは、入力構造指定部構造要素指定記述Gこ含まれる
生成変数”Nビも同様である。
This also applies to the generated variable "Nbi" included in the input structure specification section structure element specification description G.

生成変数は構造要素生成規則の生成規則で利用される。The production variables are used in the production rules of the structure element production rules.

同じ論理構造生成プログラム”論文抄録生成”に含まれ
ている構造要素生成規則″rule2”(1506)の
出力構造要素指定部の記述番よNo=R−1−2#1.
R−1#x、R@論文抄録クラス:O na X ≦ count(R@論文抄録クラス:1)である。
The description number of the output structure element specification part of the structure element generation rule "rule2" (1506) included in the same logical structure generation program "Paper Abstract Generation" is No.=R-1-2#1.
R-1#x, R@paper abstract class: O na X ≦ count (R@paper abstract class: 1).

これは、構造要素生成規則”rule2″は、R−1−
2#1.R−1#x、R@ 論文抄録クりス二〇 という構造要素指示表記で指定される構造要素の直下構
造の決定に適用されることを示している。
This means that the structure element generation rule "rule2" is R-1-
2#1. R-1#x, R@ This indicates that it is applied to the determination of the immediate structure of the structural element specified by the structural element designation notation called Paper Abstract 20.

ここで、x”という変数がある。Here, there is a variable called x.

このような変数にはある条件の範囲内で任意の自然数を
許す。
Such variables can be any natural number within certain conditions.

その条件は、同じ構造要素指定記述の”and”以下に
記述される。(17)式ではX≦c o u n t 
(R@論文抄録クラス:1)と記述されている。
The condition is described after "and" in the same structure element specification description. In formula (17), X≦c o u n t
It is described as (R@Paper Abstract Class: 1).

count  (a)          (20)と
いう関数は、”a”で指定された構造要素の直下構造に
含まれる構造要素の識別子の数を示している。
The function count (a) (20) indicates the number of identifiers of structural elements included in the structure immediately below the structural element specified by “a”.

したがって count(R@論文抄録クラス:1)の値が3であっ
たら、Xは1.2.3のどれでもよいことになる。
Therefore, if the value of count (R@paper abstract class: 1) is 3, then X can be any of 1, 2, and 3.

その時構造要素生成規則”rule2”は、x=1のと
き R−1−2#1.R−1#1.R @論文抄録クラス:0 x=2のとき R−1−2#1.R−1#2.R @論文抄録クラス:0 x=3のとき R−1−2#1.R−1#3.R @論文抄録クラス二〇 という構造要素指示表記のどれかで指定される構造要素
の直下構造の決定に適用される。
At that time, the structure element generation rule "rule2" is R-1-2 #1 when x=1. R-1#1. R @ Paper abstract class: 0 When x=2, R-1-2 #1. R-1#2. R @Paper Abstract Class: 0 When x=3, R-1-2 #1. R-1#3. R @Paper Abstract Class 20 This is applied to the determination of the immediate structure of a structural element specified by any of the structural element designation notations.

また、このような構造要素生成規則が適用されることが
決まった際のX”の値は、後の入力構造要素指定部記述
による生成変数′Ni”が指す構造要素の決定の際に使
われる。
In addition, the value of X" when it is decided that such a structure element generation rule will be applied will be used later when determining the structure element pointed to by the generation variable 'Ni' in the input structure element specification section description. .

適用される構造要素生成規則が決定すると、構造要素生
成規則を評価して直下構造の決定が行われる(ステップ
1910)。
When the structural element generation rule to be applied is determined, the structure element generation rule is evaluated to determine the immediate structure (step 1910).

構造要素生成規則の評価は、 ■入力構造要素指定部の構造要素指定記述による生成変
数”Ni”の指す構造要素の決定■生成規則の評価 からなる。
The evaluation of the structural element generation rule consists of (1) determination of the structural element pointed to by the generation variable "Ni" based on the structural element specification description of the input structure element specification section; and (2) evaluation of the generation rule.

まず、■の生成変数”Nビの指す構造要素の決定を行う
First, the structural element pointed to by the generation variable "Nbi" in (2) is determined.

構造要素生成規則の入力構造要素指定部に記述された構
造要素指定記述は、出力構造要素指定部に記述された構
造要素指定記述と同様に、構造要素指定表記に対する条
件が記述されている。
The structure element specification description written in the input structure element specification part of the structure element generation rule describes conditions for the structure element specification description, similar to the structure element specification description written in the output structure element specification part.

すなわち、入力構造要素指定部に記述された構造要素指
定記述に合致する構造要素指示表記で実現される構造要
素が生成変数”Nビの指すものとなる。
That is, the structure element realized by the structure element designation notation that matches the structure element designation description written in the input structure element designation part is what the generated variable "Nbi" points to.

構造要素2002の直下構造の決定においては、適用さ
れる構造要素生成規則” rulel”  (1505
)の入力構造要素指定部の構造要素指定記述が N1=R@論文抄録クラス:i    (22>となっ
ている。
In determining the structure immediately below the structure element 2002, the applied structure element generation rule "rulel" (1505
), the structure element specification description of the input structure element specification section is N1=R@paper abstract class: i (22>).

したがって、 R@論文抄録クラス:i    (23)という構造要
素指定表記で指定される構造要素が生成変数”Ni”の
指す構造要素となる。
Therefore, the structural element specified by the structural element specification notation R@Paper Abstract Class:i (23) becomes the structural element pointed to by the generated variable "Ni".

このような構造要素は、第12図に示した電子文書”論
文抄録A”の論理構造に含まれる構造要素″r”  (
1201)である。
Such a structural element is the structural element "r" (
1201).

また、論理構造生成プログラム”論文抄録生成”の構造
要素生成規則”rule2” (1506)の入力構造
要素指定部の構造要素指定記述N1=R12#1.R−
1#x、R のように、変数″X”が使われることもある。
Also, the structure element specification description N1=R12#1 of the input structure element specification section of the structure element generation rule "rule2" (1506) of the logical structure generation program "Paper Abstract Generation". R-
The variable "X" is sometimes used, as in 1#x,R.

このとき、変数”X”は、必ず、その構造要素生成規則
の出力構造要素指定部の構造要素指定記述に出現してお
り、適用される構造要素生成規則の決定の際に決まった
”X”の値がそのまま使われる。
At this time, the variable "X" always appears in the structure element specification description of the output structure element specification part of the structure element generation rule, and the variable "X" is determined when determining the structure element generation rule to be applied. The value of is used as is.

入力構造要素指定記述によって生成変数”Ni”の指す
構造要素が決定した後、生成規則の評価(■)により、
出力側の構造要素の直下構造が決定される。
After the structure element pointed to by the generation variable “Ni” is determined by the input structure element specification description, the generation rule is evaluated (■),
The structure immediately below the structural element on the output side is determined.

構造要素2002の直下構造の決定においては、適用さ
れる構造要素生成規則”rulel”の生成規則の記述
が count (No)=count (Ni)+1であ
る。
In determining the immediate structure of the structural element 2002, the description of the production rule of the structural element production rule “rulel” that is applied is count (No)=count (Ni)+1.

これは、「生成変数″NO”で指定される構造要素の直
下構造に含まれる構造要素の識別子の数(count 
(No))が、生成変数”Ni”で指定される構造要素
の直下構造に含まれる構造要素の識別子の数(coun
t (Ni))より1多い」 ことを示している。
This is the number of structure element identifiers included in the structure immediately below the structure element specified by the generated variable "NO".
(No)) is the number of structure element identifiers (count
t (Ni)).

この生成変数”Ni”で指定される構造要素は、構造要
素1201であり、 count (Ni) の評価値は1である。
The structural element specified by this generation variable “Ni” is structural element 1201, and the evaluation value of count (Ni) is 1.

したがって、 count  (No) は2となる。therefore, count (No) becomes 2.

構造要素2002は、共通構造要素1101によって制
約され、その直下構造は制約情報¥(R−1)    
       (26)によって、共通構造要素”R−
1” (1102)に制約される構造要素の列からなる
リストであることが決まっているので、構造要素200
2の直下構造は共通構造要素1102に制約される構造
要素2つからなるリストであると決定され、共通構造要
素1102に制約される構造要素を2つ生成した後、そ
れらの識別子のリストが直下構造となる。
The structure element 2002 is constrained by the common structure element 1101, and its immediate structure is constraint information ¥(R-1)
(26), the common structural element “R-
1” (1102), so the structure element 200
2 is determined to be a list consisting of two structure elements constrained by the common structure element 1102, and after generating two structure elements constrained by the common structure element 1102, the list of their identifiers is It becomes a structure.

ただし、この時、新しく生成された構造要素の直下構造
データは”no−1nfo″である。
However, at this time, the direct structure data of the newly generated structural element is "no-1nfo".

この時点で、新しく生成される”論文抄録B”の共通論
理構造識別子と論理構造の状態は第20図(b)のよう
になる。
At this point, the state of the common logical structure identifier and logical structure of the newly generated "paper abstract B" is as shown in FIG. 20(b).

第20図(b)においては、共通論理構造”論文抄録ク
ラス”に含まれる共通構造要素”R−1″ (1102
)に制約される構造要素が”r−1” (2005)、
”r−2″ (2006)と2つ作られ、 その識別子のリスト (r−1、r−2) が構造要素2002の直下構造データとなる。
In FIG. 20(b), the common structural element “R-1” (1102
) is “r-1” (2005),
Two “r-2” (2006) are created, and the list of identifiers (r-1, r-2) becomes the structure data directly under the structure element 2002.

この時、構造要素2005.2006の識別子”r−1
”、”r−2″は、生成される木構造に応じて自動的に
設定されたものである。
At this time, the identifier of structure element 2005.2006 is "r-1"
",""r-2" are automatically set according to the tree structure to be generated.

これにより、構造要素2002は2004のようになる
As a result, the structural element 2002 becomes like 2004.

■の生成規則の評価が終了するとステップ1902の直
下構造の未設定の構造要素、すなわち直下構造データが
”no−1nfo”となっている構造要素の存在の確認
に戻る。
When the evaluation of the generation rule (2) is completed, the process returns to step 1902 to confirm the existence of an unset structure element in the immediate structure, that is, a structure element whose direct structure data is "no-1nfo".

以下、第20図(b)の状態から、電子文書”論文抄録
B”の論理構造の生成の過程をステップを追って説明す
る。
Hereinafter, the process of generating the logical structure of the electronic document "paper abstract B" will be explained step by step starting from the state shown in FIG. 20(b).

ステップ1902:構造要素が”r−1”、”r−2”
の直下構造データが”no−1nfo”であることによ
り、ステップ1903へ。
Step 1902: Structural elements are “r-1” and “r-2”
Since the direct structure data of is "no-1nfo", the process advances to step 1903.

ステップ1903:構造要素″r−1″を選択。Step 1903: Select structural element "r-1".

ステップ1904:構造要素”r−1”を制約する共通
構造要素は共通論理構造”論文抄録クラス”の”R−1
”であり、制約情報を持つ。
Step 1904: The common structural element that constrains the structural element “r-1” is “R-1” of the common logical structure “paper abstract class”.
” and has constraint information.

したがって、構造要素”r−1”には直下構造が存在す
るのでステップ1907へ。
Therefore, since the structure element "r-1" has a structure immediately below it, the process advances to step 1907.

ステップ1907:共通論理構造”論文抄録クラス”の
共通構造要素”R−1”の制約情報は$ (R−1−1
,R−1−2,R−1−3)である。
Step 1907: The constraint information of the common structure element “R-1” of the common logical structure “paper abstract class” is $ (R-1-1
, R-1-2, R-1-3).

したがって、構造要素生成規則の適用の必要はない。ス
テップ1908へ。
Therefore, there is no need to apply structural element production rules. Proceed to step 1908.

ステップ1908:共通論理構造”論文抄録クラス”の
共通構造要素”R−1”の制約情報にしたがって構造要
素”r−1−1”、”r−1−2”、”r−13”が生
成され、 電子文書”論文抄録B″の共通論理構造識別子と論理構
造の状態は第20図(c)のようになる。
Step 1908: Structural elements “r-1-1”, “r-1-2”, and “r-13” are generated according to the constraint information of the common structural element “R-1” of the common logical structure “paper abstract class” The common logical structure identifier and the state of the logical structure of the electronic document "Paper Abstract B" are as shown in FIG. 20(c).

ステップ1902へ戻る。Return to step 1902.

ステップ1902:構造要素”r−1−1″、r−1−
2”、”r−1−3”、r−2”の直下構造データが”
no−4nfo″であることにより、ステップ1903
へ。
Step 1902: Structural element "r-1-1", r-1-
2”, “r-1-3”, and r-2” structure data is “
no-4nfo'', step 1903
fart.

ステップ1903:構造要素”r−1−1”を選択。Step 1903: Select structural element "r-1-1".

ステップ1904:構造要素″r−1−1”を制約する
共通構造要素は共通論理構造”論文抄録クラスの”R−
1−1”であり、制約情報を持たない。
Step 1904: The common structural element that constrains the structural element “r-1-1” is the common logical structure “R-
1-1'' and has no constraint information.

したがって構造要素″r−1−1”には直下構造が存在
しないのでステップ1905へ。
Therefore, the structure element "r-1-1" has no structure immediately below it, so the process advances to step 1905.

ステップ1905.1906:構造要素”r−1−1”
の直下構造データは”nil”、文書部品データが”?
”。ステップ1902へ戻る。
Step 1905.1906: Structural element "r-1-1"
The direct structure data of is "nil", and the document part data is "?"
”. Return to step 1902.

ステップ1902:構造要素”r−1−2”、”r−1
−3”、′r−2″の直下構造データがno−1nfo
″であることにより、ステップ1903へ。
Step 1902: Structural elements "r-1-2", "r-1"
-3", the direct structure data of 'r-2" is no-1nfo
”, the process advances to step 1903.

ステップ1903:構造要素”r−1−2”を選択。Step 1903: Select structural element "r-1-2".

ステップ1904:構造要素″r−1−2’を制約する
共通構造要素は共通論理構造”論文抄録クラス”の”R
−1−2”であり、制約情報を持つ。
Step 1904: The common structural element that constrains the structural element "r-1-2" is "R" of the common logical structure "paper abstract class".
-1-2'' and has constraint information.

したがって、構造要素”r−1−2″には直下構造が存
在するのでステップ1907へ。
Therefore, since there is a structure immediately below the structural element "r-1-2", the process advances to step 1907.

ステップ1907:共通論理構造1論文抄録クラス”の
共通構造要素”R−1−2”の制約情報は ¥ (R−1−2−1)         (28)で
ある。
Step 1907: The constraint information of the common structure element "R-1-2" of the "common logical structure 1 paper abstract class" is ¥ (R-1-2-1) (28).

したがって、構造要素生成規則の適用が必要である。ス
テップ1909へ。
Therefore, it is necessary to apply structural element generation rules. Proceed to step 1909.

ステップ1909:構造要素″r−1−2”を表す構造
要素指定記述は、 R−1−2#1.’#R−1#1.R @論文抄録クラス二〇 である。
Step 1909: The structural element specification description representing the structural element "r-1-2" is R-1-2#1. '#R-1#1. R @ Essay Abstract Class 20.

構造要素生成規則”rule2”の出力構造指定部の構
造要素指定記述のうち、 X≦count(R@論文抄録クラス:1)の R@論文抄録クラス:i      (31)で指定さ
れるのは、電子文書゛論文抄録A”の論理構造内の構造
要素”r” (1201)であり、count (R@
論文抄録クラス:i)±1したがって、′変数1″X”
にはいる数の集合は(1)。
Among the structure element specification descriptions in the output structure specification part of the structure element generation rule "rule 2", what is specified by R@paper abstract class: i (31) of X≦count (R@paper abstract class: 1) is: This is the structural element "r" (1201) in the logical structure of the electronic document "Paper Abstract A", and count (R@
Paper abstract class: i) ±1 Therefore, ``variable 1''X''
The set of numbers in is (1).

x−1の場合に、構造要素”r−1−2”を表す構造要
素指示表記が、構造要素生成規則”ruIe2’の出力
構造要素指定部の構造要素指定記述に適合し構造要素生
成規則”rule2”の適用が決まる。
In the case of x-1, the structural element designation notation representing the structural element "r-1-2" conforms to the structural element specification description of the output structural element specification part of the structural element production rule "ruIe2', and the structural element production rule" The application of "rule2" is decided.

ステップ1910ニステツプ1909で、生成変数” 
N o ”が構造要素”r−1−2” (2007)を
指すことが決定している。
In step 1910 and step 1909, the generated variable "
It has been determined that “N o ” refers to the structural element “r-1-2” (2007).

く評価■〉構造要素生成規則” rule2”の出力構
造要素指定部の構造要素指定記述の変数”Xゝが1であ
るので、生成変数″Ni”が指すのは、構造要素指定表
記 R−1−2#1.R−1#1.R @論文抄録クラス:1 で指定される構造要素である。
Evaluation■〉Since the variable “Xゝ” in the structure element specification description in the output structure element specification part of the structure element generation rule “rule2” is 1, the generation variable “Ni” points to the structure element specification expression R-1 -2#1.R-1#1.R @Thesis abstract class: This is a structural element specified by 1.

これは、第12図の構造要素”r−1−2”(1202
)であり、生成変数”Ni”はこれを指すことが決定す
る。
This is the structural element “r-1-2” (1202
), and it is determined that the generated variable "Ni" refers to this.

〈評価■〉 count (Ni)=2 したがって、 count  (No)=2 となり、構造要素”r−12″ (2007)の直下構
造に含まれる構造要素の数が2つに決まる。
<Evaluation ■> count (Ni) = 2 Therefore, count (No) = 2, and the number of structural elements included in the structure immediately below structural element "r-12" (2007) is determined to be two.

構造要素”r−1−2”  (2007)は共通構造要
素”R−1−2″ (1103)によって制約され、そ
の直下構造は制約情報 ¥(R−1−2−1)       (34)によって
、共通構造要素”R−1−2−1”  (1104)に
制約される構造要素の列からなるリストであることが決
まっているので、 構造要素”r−1−2” (2007)の直下構造は共
通構造要素”R−1−2−1” (1104)に制約さ
れる構造要素2つからなるリストであると決定され、直
下構造が設定される。
Structural element "r-1-2" (2007) is constrained by common structural element "R-1-2" (1103), and its immediate structure is constrained by constraint information ¥(R-1-2-1) (34). , is determined to be a list consisting of a sequence of structural elements constrained by the common structural element "R-1-2-1" (1104), so the list immediately below the structural element "r-1-2" (2007) The structure is determined to be a list consisting of two structural elements constrained by the common structural element "R-1-2-1" (1104), and the immediate structure is set.

この時点で、新しく生成される”論文抄録B”の共通論
理構造識別子と論理構造の状態は第20図(d)のよう
になる。ステップ1902へ戻る。
At this point, the state of the common logical structure identifier and logical structure of the newly generated "paper abstract B" is as shown in FIG. 20(d). Return to step 1902.

ステップ1902:″構造要素”r−1−2−1″、”
r−1−2−2″、”r−1−3″、′r−2”の直下
構造データがn0−info″であることにより、ステ
ップ1903へ。
Step 1902: "Structural element "r-1-2-1","
Since the direct structure data of r-1-2-2", "r-1-3", and 'r-2' is n0-info", the process advances to step 1903.

ステップ1903:構造要素”r−1−2−1”を選択
Step 1903: Select structural element "r-1-2-1".

ステップ19Q4:構造要素”r−1−2−1”を制約
する共通構造要素は共通論理構造”論文抄録クラス”の
”R−1−2−1″であり、制約情報を持つ。
Step 19Q4: The common structural element that constrains the structural element "r-1-2-1" is "R-1-2-1" of the common logical structure "paper abstract class" and has constraint information.

したがって、構造要素”r−1−2−1”には直下構造
が存在するのでステップ1907へ。
Therefore, since the structure element "r-1-2-1" has a structure immediately below it, the process advances to step 1907.

ステップ1907:共通論理構造”論文抄録クラス”の
共通共通構造要素”R−1〜2−1”の制約情報は $ (R−1−2−1−1,R−1−2−1−である。
Step 1907: The constraint information of the common common structural elements “R-1 to 2-1” of the common logical structure “paper abstract class” is $ (R-1-2-1-1, R-1-2-1- be.

したがって、構造要素生成規則の適用の必要はない。ス
テップ1908へ ステップ1908:共通論理構造”論文抄録クラス”の
共通構造要素”R−1−2−1”の制約情報にしたがっ
て共通構造要素”R−1−2−1−1”に制約される構
造要素”r−1−2−1−1”、共通構造要素”R−1
−2−1−2”に制約される構造要素″r−1−2−1
2”が生成され、構造要素″r−1−2−1”の直下構
造となる。ステップ1902へ戻る。
Therefore, there is no need to apply structural element production rules. Go to step 1908 Step 1908: Constraint to common structural element "R-1-2-1-1" according to constraint information of common structural element "R-1-2-1" of common logical structure "paper abstract class" Structural element "r-1-2-1-1", common structural element "R-1"
-2-1-2” structural element “r-1-2-1”
2'' is generated and becomes the structure immediately below the structural element "r-1-2-1". The process returns to step 1902.

ステップ1902:構造要素″r−1−2−1−1”、
” r−1−2−1−2″、”r−1−2=2”、”r
−1−3”、”r−2”の直下構造データが”no−1
nfo”であることにより、ステップ1903へ。
Step 1902: Structural element "r-1-2-1-1",
"r-1-2-1-2", "r-1-2=2", "r
-1-3", the direct structure data of "r-2" is "no-1"
nfo”, the process advances to step 1903.

ステップ1903:構造要素″r−1−2−1−1”を
選択。
Step 1903: Select structural element "r-1-2-1-1".

ステップ1904:構造要素”r−1−2−1−1”を
制約する共通構造要素は共通論理構造”論文抄録クラス
”の”R−1−2−1−1” であり、制約情報を持た
ない。
Step 1904: The common structural element that constrains the structural element “r-1-2-1-1” is “R-1-2-1-1” of the common logical structure “paper abstract class” and has constraint information. do not have.

したがって構造要素”r−1−2−1−1″には直下構
造が存在しないのでステップ19o5へ。
Therefore, since there is no structure immediately below the structural element "r-1-2-1-1", the process advances to step 19o5.

ステップ1905.1906:構造要素”r−1−2−
1−1”の直下構造データは”nil”。
Step 1905.1906: Structural element "r-1-2-
The structure data immediately below “1-1” is “nil”.

文書部品データカぜ?”。ステップ19o2へ戻る。Document part data file? ”. Return to step 19o2.

ステップ1902:構造要素″r−1−2−1−2″ 
、”  r−1−2−2”  、”  r−1−3″ 
、”r−2″の直下構造データが”no−1nfo″で
あることにより、ステップ 1903へ。
Step 1902: Structural element "r-1-2-1-2"
, "r-1-2-2", "r-1-3"
, since the direct structure data of "r-2" is "no-1nfo", the process advances to step 1903.

ステップ1903:構造要素″r−1−2−1−2″を
選択。
Step 1903: Select structural element "r-1-2-1-2".

ステップ1904:構造要素’r−1−2−1−2”を
制約する共通構造要素は共通論理構造”論文抄録クラス
”のR−1−2−1−2”であり、制約情報を持たない
Step 1904: The common structural element that constrains the structural element 'r-1-2-1-2' is the common logical structure 'R-1-2-1-2' of the 'paper abstract class' and does not have any constraint information. .

したがって構造要素”r−1−2−1−2″には直下構
造が存在しないのでステップ1905へ。
Therefore, since there is no structure immediately below the structural element "r-1-2-1-2", the process advances to step 1905.

ステップ1905,1906:  構造要素″r−1−
2−1−2”の直下構造データはnil”、文書部品デ
ータが”?”。ステップ1902へ戻る。
Steps 1905, 1906: Structural element "r-1-
The direct structure data of "2-1-2" is "nil", and the document part data is "?". Return to step 1902.

ステップ1902:構造要素″r−1−2−2″、r−
1−3″、”r−2″の直下構造データがno−1nf
o”であることにより、ステップ エ903へ。
Step 1902: Structural elements "r-1-2-2", r-
1-3", "r-2" direct structure data is no-1nf
o”, proceed to step E903.

ステップ1903:構造要素″r−1−2−2”を選択
Step 1903: Select structural element "r-1-2-2".

ステップ1904:構造要素’r−1−2−2′を制約
する共通構造要素は共通論理構造″論文抄録クラス”の
R−1−2−1″であり、制約情報を持つ。
Step 1904: The common structural element that constrains the structural element 'r-1-2-2' is R-1-2-1'' of the common logical structure "paper abstract class" and has constraint information.

したがって、構造要素”r−122”には直下構造が存
在するのでステップ1907へ。
Therefore, since the structure element "r-122" has a structure immediately below it, the process advances to step 1907.

ステップ1907:共通論理構造”論文抄録クラス”の
共通構造要素”R−1−2−1”の制約情報は $ (R−1−2−1−1,R−1−1−1−である。
Step 1907: The constraint information of the common structural element "R-1-2-1" of the common logical structure "paper abstract class" is $ (R-1-2-1-1, R-1-1-1- .

したがって、構造要素生成規則の適用の必要はない。ス
テップ1908へ。
Therefore, there is no need to apply structural element production rules. Proceed to step 1908.

ステシブ1908:共通論理構造”論文抄録クラス”の
共通構造要素”R−12−1”の制約情報にしたがって
共通構造要素”R−1−2−1−1″に制約される構造
要素”r−1−2−2−1”、共通構造要素”R−1−
2−1−2”に制約される”r−1−2−2−2’が生
成される。
Stesive 1908: Structural element "r-" that is constrained to the common structural element "R-1-2-1-1" according to the constraint information of the common structural element "R-12-1" of the common logical structure "Paper Abstract Class" 1-2-2-1”, common structural element “R-1-
2-1-2'' is generated.

ステップ1902へ戻る。Return to step 1902.

ステップ1902:構造要素”r−1−2−2−1”、
”r−1−2−22″、”r−1−3”、” r  2
”、の直下構造データが”no−1nfo″であること
により、ステップ1903へ。
Step 1902: Structural element "r-1-2-2-1",
"r-1-2-22", "r-1-3", "r 2
Since the direct structure data of "," is "no-1nfo", the process advances to step 1903.

テップ1903:構造要素”r−1−2−2−1″を選
択。
Step 1903: Select structural element "r-1-2-2-1".

ステップ1904:構造要素”r−1−2−2−1”を
制約する共通構造要素は共通論理構造”論文抄録クラス
”の”R−1−2−1−1”であり、制約情報を持たな
い。
Step 1904: The common structural element that constrains the structural element “r-1-2-2-1” is “R-1-2-1-1” of the common logical structure “paper abstract class” and has constraint information. do not have.

したがって、構造要素”r−1−2−2−1″には直下
構造が存在しないのでステップ1905へ。
Therefore, since there is no structure immediately below the structural element "r-1-2-2-1", the process advances to step 1905.

ステップ1905.’1906:構造要素”r−1−2
−2−1”の直下構造データはnil”、文書部品デー
タが”?”。ステップ1902へ戻る。
Step 1905. '1906: Structural element "r-1-2
-2-1", the direct structure data is nil" and the document component data is "?". Return to step 1902.

ステップ1902:構造要素”r−1−2−2−2” 
、” r−1−3”、”r−2”の直下構造データ が
”no−1nfo”であることにより、ステップ190
3へ。
Step 1902: Structural element “r-1-2-2-2”
, "r-1-3" and "r-2" are "no-1nfo", so step 190 is executed.
Go to 3.

ステップ1903:構造要素”r−1−2−2−2”を
選択。
Step 1903: Select structural element "r-1-2-2-2".

ステップ1904:構造要素”r−1−2−2−2”を
制約する共通構造要素は共il!論理構造”論文抄録ク
ラス”のR−1−2−1−2”であり、制約情報を持た
ない。
Step 1904: The common structural elements that constrain the structural element “r-1-2-2-2” are both il! The logical structure is ``R-1-2-1-2'' of ``paper abstract class'' and does not have constraint information.

したがって、構造要素”r−1−2−2−2″には直下
構造が存在しないのでステップ1905へ。
Therefore, since there is no structure immediately below the structural element "r-1-2-2-2", the process advances to step 1905.

ステップ1905,1906:構造要素”r−1−2−
2−2”の直下構造データは”nil”、文書部品デー
タが”?”。
Steps 1905, 1906: Structural element "r-1-2-"
The direct structure data of "2-2" is "nil", and the document part data is "?" ”.

この時点で、第20図(d)の共通論理構造識別子と論
理構造の状態は第20図(e)のようになる。ステップ
1902へ戻る。
At this point, the state of the common logical structure identifier and logical structure in FIG. 20(d) becomes as shown in FIG. 20(e). Return to step 1902.

ステップ1902:構造要素”r−1−3”、”r−2
″の直下構造データが”no−1nfO”であることに
より、ステップ1903へ。
Step 1902: Structural elements "r-1-3", "r-2"
Since the direct structure data of " is "no-1nfO", the process advances to step 1903.

ステップ1903:構造要素”r−1−3”を選択”。Step 1903: Select structural element "r-1-3".

ステップ1904:構造要素”r−1−3”を制約する
共通構造要素は共通論理構造”論文抄録クラス”の”R
−1−3″であり、制約情報を持つ。
Step 1904: The common structural element that constrains the structural element “r-1-3” is “R” of the common logical structure “paper abstract class”.
-1-3'' and has constraint information.

したがって、構造要素”r−1−3”には直下構造が存
在するのでステップ1907へ。
Therefore, since the structure element "r-1-3" has a structure immediately below it, the process advances to step 1907.

ステップ1907:共通論理構造”論文抄録クラス”の
共通構造要素”R−1−3”の制約情報は¥(R−1−
3−1)       (37)である。
Step 1907: The constraint information of the common structure element “R-1-3” of the common logical structure “Paper Abstract Class” is ¥(R-1-
3-1) (37).

したがって、構造要素生成規則の適用が必要である。ス
テップ1909へ。
Therefore, it is necessary to apply structural element generation rules. Proceed to step 1909.

ステップ1909:構造要素”r−1−3”を表す構造
要素指定記述は R−1−3#1.R−1#1.R @論文抄録クラス:0 である。
Step 1909: The structural element specification description representing structural element "r-1-3" is R-1-3#1. R-1#1. R @ Paper abstract class: 0.

構造要素生成規則”rule4”の出力構造要素指定部
の構造要素指定記述のうち、 X≦c o u n t (R@論文抄録クラス:1)
の R@論文抄録クラス:i       (40)で指定
されるのは、電子文書”論文抄録A”の論理構造内の構
造要素”r” (1201)であり、count(R@
論文抄録クラス: i) =1したがって、′変数”X
”にはいる数の場合は(1)。
Among the structure element specification descriptions in the output structure element specification part of the structure element generation rule "rule 4", X≦count (R@paper abstract class: 1)
The R@paper abstract class: i (40) specifies the structural element "r" (1201) in the logical structure of the electronic document "paper abstract A", and the count (R@
Paper abstract class: i) = 1 Therefore, 'variable'X
” if the number is (1).

x=1の場合に板構造要素”r−1−3”を表す構造要
素指示表記が、構造要素生成規則”rule4”の出力
構造要素指定部の構造要素指定記述に連合し、構造要素
生成規則”rule4”の適用が決まる。
When x=1, the structural element designation notation representing the plate structural element "r-1-3" is combined with the structural element specification description of the output structural element specification part of the structural element generation rule "rule 4", and the structural element generation rule The application of "rule 4" is determined.

ステップ1910ニステツプ1909で、生成変数”N
o”が構造要素”r−1−3” (2008)を指すこ
とが決定している。
Step 1910 In step 1909, the generated variable "N"
It is determined that "o" refers to the structural element "r-1-3" (2008).

く評価■〉構造要素生成規則”rule4”の出力構造
要素指定部の構造要素指定記述の変数”X”が1である
ので、生成変数″Ni”が指すのは、構造要素指定表記 R−1−3#1.R−1#1.R @論文抄録クラス:1 で指定される構造要素である。
Evaluation ■> Since the variable “X” of the structure element specification description in the output structure element specification part of the structure element generation rule “rule 4” is 1, the generation variable “Ni” points to the structure element specification description R-1 -3#1. R-1#1. This is a structural element specified by R @Paper Abstract Class: 1.

これは、第12図の構造要素″r−1−3”(1203
)であり、生成変数”Ni”はこれを指すことが決定す
る。
This corresponds to the structural element “r-1-3” (1203
), and it is determined that the generated variable "Ni" refers to this.

く評価■〉 count (Ni)=2 したがって count  (No’)=2 となり、 構造要素”r−1−3” (2008)の直下構造に含
まれる構造要素の数が2つに決まる。
Evaluation ■> count (Ni) = 2 Therefore, count (No') = 2, and the number of structural elements included in the structure immediately below structural element "r-1-3" (2008) is determined to be two.

構造要素”r−1−3” (2008)は共通構造要素
”R−1−3” (1105)によって制約され、その
直下構造は制約情報 ¥(R−1−3−1)       (43)によって
、共通構造要素″R−1−3−11(1106)に制約
される構造要素の列からなるリストであることが決まっ
ているので、 構造要素”r−1−3” (200B)の直下構造は共
通構造要素”R−1−3−1″ (1106)に制約さ
れる構造要素2つからなると決定され、直下構造が設定
される。
Structural element "r-1-3" (2008) is constrained by common structural element "R-1-3" (1105), and its immediate structure is constrained by constraint information ¥ (R-1-3-1) (43). , it is determined that the list consists of a sequence of structural elements constrained by the common structural element "R-1-3-11 (1106)," so the structure directly under the structural element "r-1-3" (200B) is determined to consist of two structural elements constrained by the common structural element "R-1-3-1" (1106), and the immediate structure is set.

この時点で第20図(e)の共通論理構造識別子と論理
構造の状態は、第20図(f)のようになる。ステップ
1902へ戻る。
At this point, the state of the common logical structure identifier and logical structure in FIG. 20(e) becomes as shown in FIG. 20(f). Return to step 1902.

ステップ1902:構造要素″r−1−3−1″、” 
r−1−3J″、”r−2″の直下構造データ が”n
o−1nfo”であることにより、ステップ1903へ
Step 1902: Structural element “r-1-3-1”,”
The direct structure data of “r-1-3J” and “r-2” is “n”
o-1nfo'', the process advances to step 1903.

ステップ1903:構造要素″r−1−3−1”を選択
Step 1903: Select structural element "r-1-3-1".

ステップ1904:構造要素″r−1−3−1”を制約
する共通構造要素は共通論理構造”論文抄録クラス2の
”R−1−3−1”であり、制約情報を持たない。
Step 1904: The common structural element that constrains the structural element "r-1-3-1" is "R-1-3-1" of the common logical structure "paper abstract class 2" and does not have constraint information.

したがって、構造要素”r−1−3−1”には直下構造
が存在しないので、ステップ1905へ。
Therefore, since the structure element "r-1-3-1" has no structure immediately below it, the process advances to step 1905.

ステップ1905,1906:構造要素”r−1−3−
1”の直下構造データは”nil”、文書部品データが
”?”。ステップ1902へ戻る。
Steps 1905, 1906: Structural element "r-1-3-
The direct structure data of “1” is “nil”, and the document part data is “?” ”. Return to step 1902.

ステップ1902:構造要素”r−1−3−2”、”r
−2”の直下構造データが3no−info”であるこ
とより、ステップ1903へ。
Step 1902: Structural elements "r-1-3-2", "r
Since the direct structure data of ``-2'' is 3no-info'', the process advances to step 1903.

ステップ1903:構造要素”r−1−3−2”を選択
Step 1903: Select structural element "r-1-3-2".

ステップ1904:構造要i″r−1−3−2”を制約
する共通構造要素は共通論理構造”論文抄録クラス”の
”R−1−3−1”であり、制約情報を持たない。
Step 1904: The common structural element that constrains the structure element i"r-1-3-2" is "R-1-3-1" of the common logical structure "paper abstract class" and does not have constraint information.

したがって、構造要素″r−1−3−2″には直下構造
が存在しないので1905へ。
Therefore, since there is no structure immediately below the structural element "r-1-3-2", the process goes to 1905.

ステップ1905,1906:構造要素”r−1−3−
2”の直下構造データは”nil”、文書部品データが
”?”。ステップ1902へ戻る。
Steps 1905, 1906: Structural element "r-1-3-
The direct structure data of "2" is "nil", and the document part data is "?" ”. Return to step 1902.

ステップ1902:構造要素”r−2”の直下構造デー
タがno−1nfo”であることにより、ステップ19
03へ。
Step 1902: Step 19
Go to 03.

ステップ1903:構造要素”r−2”を選択。Step 1903: Select structural element "r-2".

ステップ1904:構造要素”r−2”を制約する共通
構造要素は共通論理構造”論文抄録クラス”のR−1”
であり、制約情報を持つ。
Step 1904: The common structural element that constrains the structural element “r-2” is “R-1” of the common logical structure “paper abstract class”
and has constraint information.

したがって、構造要素″r−2”には直下構造が存在す
るのでステップ1907へ。
Therefore, since the structure element "r-2" has a structure immediately below it, the process advances to step 1907.

ステップ1907:共通論理構造”論文抄録クラス”の
共通構造要素”R−1”の制約情報は$ (R−1−1
,R−1−2,R−1−3)である。
Step 1907: The constraint information of the common structure element “R-1” of the common logical structure “paper abstract class” is $ (R-1-1
, R-1-2, R-1-3).

したがって、構造要素生成規則の適用は必要ない。ステ
ップ1908へ。
Therefore, there is no need to apply structural element production rules. Proceed to step 1908.

ステップ1908:共通論理構造”論文抄録クラス”の
共通構造要素”R−1”の制約情報にしたがって構造要
素”r−2−1”、”r−2−2”、”r−2−3″が
生成され、 電子文書”論文抄録B1の共通論理構造識別子と論理構
造の状態は第20図(g)のようになる。
Step 1908: Structure elements "r-2-1", "r-2-2", "r-2-3" according to the constraint information of the common structure element "R-1" of the common logical structure "paper abstract class" is generated, and the common logical structure identifier and the state of the logical structure of the electronic document "paper abstract B1" are as shown in FIG. 20(g).

ステップ 1902へ戻る。Return to step 1902.

ステップ1902:構造要素”r−2−1”、′″r−
2−2”、”r−2−3”の直下構造データがno−1
nfo’であることにより、ステップ1903へ。
Step 1902: Structural elements “r-2-1”, ′″r-
2-2", the direct structure data of "r-2-3" is no-1
nfo', the process advances to step 1903.

ステップ1903:構造要lA” r−2−1”を選択
Step 1903: Select structure requirement lA"r-2-1".

ステップ1904:構造要素″r−2−1″を制約する
共通構造要素は共通論理構造”論文抄録クラス”の”R
−1−1″であり、制約情報を持たない。
Step 1904: The common structural element that constrains the structural element "r-2-1" is "R" of the common logical structure "paper abstract class".
-1-1'' and has no constraint information.

したがって、構造要素″r−2−1”には直下構造が存
在しないのでステップ1905へ。
Therefore, since there is no structure immediately below the structural element "r-2-1", the process advances to step 1905.

ステップ1905,1906:構造要素″r−2−1”
の直下構造データは”nil”、文書部品データが”?
”。ステップ1902へ戻る。
Steps 1905, 1906: Structural element "r-2-1"
The direct structure data of is "nil", and the document part data is "?"
”. Return to step 1902.

ステップ1902:構造要素”r−2−2”、r−2−
3”の直下構造データがno−1nfo”であることよ
り、ステップ1903へ。
Step 1902: Structural element "r-2-2", r-2-
Since the direct structure data of ``3'' is ``no-1nfo'', the process advances to step 1903.

ステップ1903:構造要素″r−2−2”を選択。Step 1903: Select structural element "r-2-2".

ステップ1904:構造要素″r−2−2”に対応する
共通構造要素は共通論理構造”論文抄録クラス”の”R
−1−2’であり、制約情報を持つ。
Step 1904: The common structural element corresponding to the structural element "r-2-2" is "R" of the common logical structure "paper abstract class".
-1-2' and has constraint information.

したがって、構造要素″r−2−2″には直下構造が存
在するのでステップ1907へ。
Therefore, since there is a structure immediately below the structural element "r-2-2", the process advances to step 1907.

ステップ1907:共通論理構造”論文抄録クラス”の
共通構造要素”R−1−2”の制約情報は ¥ (R−1−2−1>        (45)であ
る。
Step 1907: The constraint information of the common structural element "R-1-2" of the common logical structure "paper abstract class" is ¥ (R-1-2-1> (45)).

したがって、構造要素生成規則の適用が必要である。ス
テップ1909へ。
Therefore, it is necessary to apply structural element generation rules. Proceed to step 1909.

ステップ1909:構造要素”r−2−2”を表す構造
要素指定記述は R−1−2#1.R−1#2.R @論文抄録クラス:0 である。
Step 1909: The structural element specification description representing the structural element "r-2-2" is R-1-2#1. R-1#2. R @ Paper abstract class: 0.

構造要素生成規則”rule3”の出力構造要素指定部
の構造要素指定記述のうち、 count(R@論文抄録クりy、: i) +1の R@論文抄録クラス:i      (48)で指定さ
れたのは、電子文書”論文抄録A”の論理構造内の構造
要素w r″ (1201)であり、count (R
@論文抄録クラス: i) =1したがって、′変数”
χ”にはいる数の集合は(2)。
Among the structure element specification descriptions in the output structure element specification part of the structure element generation rule "rule 3", count (R@paper abstract class: i) +1 R@paper abstract class: i (48) is the structural element w r″ (1201) in the logical structure of the electronic document “Paper Abstract A”, and count (R
@Paper abstract class: i) = 1 Therefore, 'variable'
The set of numbers in χ” is (2).

x=2の場合に、構造要素”r−2−2”を表す構造要
素指示表記が、構造要素生成規則”rule3”の出力
構造要素指定部の構造要素指定記述に適合し、構造要素
生成規則”rule3”の適用が決まる。
In the case of x=2, the structural element designation notation representing the structural element "r-2-2" matches the structural element specification description of the output structural element specification part of the structural element production rule "rule 3", and the structural element production rule Application of "rule 3" is determined.

ステップ1910ニステツプ1909で、生成変数″N
o″が構造要素″r−22” (2009)を指すこと
が決定している。
Step 1910 In step 1909, the generated variable "N"
It is determined that o'' refers to the structural element "r-22" (2009).

く評価■〉生成変数”Ni”が指すのは、構造要素指定
表記 R−1−2#1.R−1#1.R @論文クラス:1 で指定される構造要素である。
Evaluation ■> The generated variable “Ni” refers to the structural element specification notation R-1-2 #1. R-1#1. This is a structural element specified by R @paper class: 1.

これは、第8図に示した電子文書”論文A”の論理構造
に含まれる構造要素”r−1−2” (810)であり
、生成変数”Ni″はこれを指すことが決定する。
This is the structural element "r-1-2" (810) included in the logical structure of the electronic document "Paper A" shown in FIG. 8, and it is determined that the generated variable "Ni" points to this.

く評価■〉 count (Ni)=1 したがって、 count  (No)=1 となり、構造要素″r−2−2″ (2009)の直下
構造に含まれる構造要素の数が1つに決まる。
Evaluation ■> count (Ni) = 1 Therefore, count (No) = 1, and the number of structural elements included in the structure immediately below the structural element "r-2-2" (2009) is determined to be one.

構造要素″r−2−2”  (2009)は構造要素″
R−1−2″ (1103)によって制約され、その直
下構造は制約情報 ¥(R−1−2−1)       (51)によって
、共通構造要素”R−1−2−1” (工104)に制
約される構造要素の列からなるリストであることが決ま
っているので、 構造要素”r−2−2” (2009)の直下構造は共
通構造要素”R−1−2−1” (1104)に制約さ
れる構造要素1つからなるリストであると決定され、直
下構造が設定される。
Structural element "r-2-2" (2009) is structural element"
R-1-2'' (1103), and its immediate structure is constrained by the constraint information \(R-1-2-1) (51), the common structural element "R-1-2-1" (Eng. 104) Since it is determined that the list consists of a sequence of structural elements constrained by ), and the immediate structure is set.

この時点で、新しく生成される”論文抄録B”の共通論
理構造識別子と論理構造の状態は第20図(h)のよう
になる。ステップ1902へ戻る。
At this point, the state of the common logical structure identifier and logical structure of the newly generated "paper abstract B" is as shown in FIG. 20(h). Return to step 1902.

以下、同様の処理を続けた結果、直下構造データがno
−1nfo”である構造要素がなくなり、論理構造の生
成が終了する。
As a result of continuing the same process, the direct structure data is no.
-1nfo" is no longer present, and the generation of the logical structure ends.

その際の”論文抄録B”の共通論理構造識別子と論理構
造の状態は、第20図(i)のようになる。
At that time, the common logical structure identifier and the state of the logical structure of "Paper Abstract B" are as shown in FIG. 20(i).

本処理例の論理構造生成プログラム構造要素生成規則は
、入力側・出力側の構造要素が1つであったが、構造要
素生成規則は、複数の構造要素間に対して記述可能なよ
うに本装置を構成することもできる。
The logical structure generation program structure element generation rules in this processing example have one structure element on the input side and output side, but the structure element generation rules are designed so that they can be written between multiple structure elements. It is also possible to configure the device.

例えば、第21図の共通論理構造”論文抄録クラス(改
)”によって論理構造を制約される。
For example, the logical structure is constrained by the common logical structure "paper abstract class (revised)" shown in FIG.

既存の電子文書と、第13図の共通論理構造”論文クラ
ス”によって論理構造を制約される既存の電子文書から
、第21図の共通論理構造′″ (改)”によって制約
される新しい電子文書の論理構造を生成する論理構造生
成プログラムを考える。
From an existing electronic document and an existing electronic document whose logical structure is constrained by the common logical structure "paper class" shown in Fig. 13, a new electronic document whose logical structure is constrained by the common logical structure '''(revised)' shown in Fig. 21. Consider a logical structure generation program that generates a logical structure.

2つの既存の電子文書の中に記載されている抄録内容に
は重複がないものとし、出力される電子文書には、2つ
の既存の電子文書の中の抄録内容のすべてが記載される
ものとする。
There shall be no duplication in the abstract contents contained in the two existing electronic documents, and the output electronic document shall contain all of the abstract contents contained in the two existing electronic documents. do.

この処理において、第21図の共通論理構造”論文抄録
クラス(改)”の共通構造要素”R−2″は、登録され
ている論文の1ndexであり、その1ndexの項目
数が、論文概要の数と同じでなければならないとする。
In this process, the common structural element "R-2" of the common logical structure "Paper abstract class (revised)" in Figure 21 is the 1ndex of the registered paper, and the number of items in the 1ndex is the paper summary. It must be the same as the number.

このとき、このことを示す構造要素生成規則は、出力構
造要素指定部の構造要素指定記述No1= R−111,R@論文抄録クラス(改):。
At this time, the structural element generation rule indicating this is: Structural element specification description No. 1 of the output structural element specification section = R-111, R@ Paper abstract class (revised):.

No2= R−211,R@論文抄録クラス(改)二〇入力構造要
素指定部の構造要素指定記述Ni1= R−1#1.R@論文抄録クラス(改):1Ni2=R
@論文抄録クラス:i   (62)生成規則 count (Nol )= count  (Nil  )+count  (Ni
2  )count  (No2  )= count  (Nil  )+count  (Ni
2)と記述される。
No. 2 = R-211, R@ Paper abstract class (revised) 20 Structural element specification description of input structural element specification section Ni1 = R-1 #1. R @ Paper abstract class (revised): 1Ni2=R
@Paper abstract class: i (62) Production rule count (Nol) = count (Nil) + count (Ni
2) count (No2) = count (Nil) + count (Ni
2).

この記述では、生成に関与する構造要素が入力側・出力
側とも複数あるので、 出力構造要素指定部の構造要素指定記述、入力構造要素
指定部の構造要素指定記述とも複数存在し、生成変数も
複数存在する。
In this description, there are multiple structural elements involved in generation on both the input and output sides, so there are multiple structural element specification descriptions in the output structure element specification part, multiple structure element specification descriptions in the input structure element specification part, and there are also generation variables. There are multiple.

それらを”Nol”  ・”No2”のように添字をつ
けて区別している。
They are distinguished by adding subscripts such as "Nol" and "No2".

このような記述のされた構造要素生成規則を持つ論理構
造生成プログラムを使って論理構造を自動的に生成する
には、第19図のフローチャートを若干修正し、第22
図のような処理の流れにする必要がある。
In order to automatically generate a logical structure using a logical structure generation program having structure element generation rules described in this way, slightly modify the flowchart in FIG.
It is necessary to create a process flow as shown in the figure.

以下、第22図における処理の流れにいて説明する。The process flow shown in FIG. 22 will be explained below.

第22図の処理の流れは、ステップ2203に至るまで
は第19図の処理の流れと同じである。
The process flow in FIG. 22 is the same as the process flow in FIG. 19 up to step 2203.

ステップ2203では、適用される構造要素生成規則が
選択されるが、このときステップ2201で選択された
構造要素を表現する構造要素指定表記が、複数存在する
出力構造要素指定部の構造要素指定記述の内どれかに適
合すれば、その構造要素生成規則を適用することとする
In step 2203, a structural element generation rule to be applied is selected, but at this time, the structural element specification notation expressing the structural element selected in step 2201 is one of the structural element specification descriptions in the output structure element specification part that exists. If any one of these is met, that structural element generation rule will be applied.

この時点で、出力構造要素指定部の構造要素指定記述に
記述されている生成変数の内の1つは、該生成変数が指
す構造要素が決定する。
At this point, one of the generation variables described in the structure element specification description of the output structure element specification section is determined as the structure element pointed to by the generation variable.

ステップ2204では、出力構造要素指定部の構造要素
指定記述に記述されている生成変数の内で、まだ該生成
変数が指す構造要素が決定していないものについて、該
生成変数に対応する構造要素指定記述の条件を満たす構
造要素が存在するかどうかが調べられる。
In step 2204, for the generation variables described in the structure element specification description of the output structure element specification part, for which the structure element pointed to by the generation variable has not yet been determined, the structure element corresponding to the generation variable is specified. It is checked whether a structural element exists that satisfies the conditions of the description.

構造要素指定記述の条件を満たす構造要素が存在しない
生成変数が一つでも存在すれば、該構造要素生成規則は
連用不可能となり、ステップ2206へ移る。
If there is even one generation variable for which there is no structure element that satisfies the conditions of the structure element specification description, the structure element generation rule cannot be used repeatedly, and the process moves to step 2206.

ステップ2206では、論理構造生成プログラム中のす
べての構造要素生成規則の適用が不可能なことが決定し
ていない直下構造の未設定の構造要素が存在するかを調
べる。
In step 2206, it is checked whether there is an unset structure element in the immediate structure to which it has not been determined that all the structure element generation rules in the logical structure generation program cannot be applied.

存在しなければエラーメツセージを表示し、処理は終了
する。
If it does not exist, an error message will be displayed and the process will end.

存在すれば、構造要素生成規則の適用が不可能なことが
決定していない直下構造の未設定の構造要素を一つ選択
し、ステップ2202に戻る。
If it exists, one unset structural element in the immediate structure to which it has been determined that the structural element generation rule cannot be applied is selected, and the process returns to step 2202.

ステップ2204で構造要素生成規則が適用可能であれ
ば、構造要素生成規則が評価され、出力構造要素指定部
の構造要素指定記述に記述されている生成変数が指すべ
ての構造要素の直下構造が決定される。
If the structural element generation rule is applicable in step 2204, the structural element generation rule is evaluated, and the direct structure of the structural element for which all the generated variables described in the structural element specification description of the output structural element specification section are fingers is determined. be done.

本実施例で示した電子文書は、ODA準拠の文書に近い
物であり、本発明はODA準拠の文書の特定論理構造と
内容部を対象とした処理に、特に効果がある。
The electronic document shown in this embodiment is close to an ODA-compliant document, and the present invention is particularly effective in processing a specific logical structure and content part of an ODA-compliant document.

また、ODA準拠の電子文書の特定割り付は構造と、該
割り付は構造を制約する共通割り付は構造は、本実施例
における論理構造と該論理構造を制約する共通論理構造
と同様のデータ構成をとることが可能である。
In addition, the specific layout of an ODA-compliant electronic document is the structure, and the common layout that restricts the structure is the same data as the logical structure in this embodiment and the common logical structure that restricts the logical structure. It is possible to take a configuration.

したがって、本実施例は、既存のODA準拠の電子文書
の特定割り付は構造から、新しいODA準拠の電子文書
の特定論理構造を生成するものとして構成することも可
能である。
Therefore, this embodiment can also be configured to generate a specific logical structure of a new ODA-compliant electronic document from the specific layout structure of an existing ODA-compliant electronic document.

〔発明の効果〕 以上詳細に説明したように、本発明の文書構造生成方式
により、既存の電子文書の論理構造から新しい電子文書
の論理構造を自動的に生成することが可能となる。
[Effects of the Invention] As described above in detail, the document structure generation method of the present invention makes it possible to automatically generate the logical structure of a new electronic document from the logical structure of an existing electronic document.

これにより、帳票処理だけでなく一般の電子文書の処理
についても自動化が可能となり、特にオフィスにおける
文書処理の省力化が著しく進展する。
This makes it possible to automate not only form processing but also the processing of general electronic documents, leading to significant labor savings in document processing, especially in offices.

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

第1図は本発明を適用する電子文書を対象とした論理構
造自動生成装置の概略を示すブロック図、第2図は電子
文書記憶部に格納される電子文書のデータ構造の説明図
、 第3図は電子文書データに含まれている文書部品情報部
のデータ構成の説明図、 第4図は電子文書データに含まれている論理構造情報の
データ構成の説明図、 第5図は共通論理構造記憶部に記憶されている共通論理
構造データのデータ構成の説明図、第6図は論理構造生
成プログラム記憶部に記載されている論理構造生成プロ
グラムのデータ構成の説明図、 第7図は共通論理構造記憶部に記憶されている共通論理
構造の一例の内容説明図、 第8図は電子文書記憶部に記憶されている電子文書の一
例に含まれている論理構造情報部の内容説明図、 第9図は第7図に示した共通論理構造の内容をグラフで
示す説明図、 第10図は第8図に示した論理構造情報の内容をグラフ
で示す説明図、 第11図は共通論理構造記憶部に記憶されている共通論
理構造の第7図に示したものは別の例の内容説明図、 第12図は電子文書記憶部に記憶されている第8図に示
したものとは別の例に含まれている論理構造情報部の内
容説明図、 第13図は第11図に示した共通論理構造の内容をグラ
フで示す説明図、 第14図は第12図に示した論理構造情報の内容を木構
造で示す説明図、 第15図は論理構造生成プログラム記憶部に記憶されて
いる論理構造生成プログラムの一例の説明図、 第16図はユーザに論理構造生成プログラムを指定させ
るために表示部に表示される論理構造自動生成ウィンド
ウとその入力例の説明図、第17図は論理構造生成ウィ
ンドウの入力の終了後にユーザが入力となる論理構造を
持つ電子文書の識別子と出力となる論理構造を持つ電子
文書の識別子を指定するための電子文書指定ウィンドウ
とその表示例、入力例の説明図、 第18図は論理構造自動生成装置によって既存の電子文
書の論理構造から新しい電子文書の論理構造を作る際の
処理の流れを示すフローチャート、第19図は第18図
のフローチャートにおける”新しい論理構造1文書部品
、それらの連結の生成”の部分の処理の流れを示すフロ
ーチャート、第20図は第19図のフローチャートに従
って新しい論理構造が生成されれる過程の説明図、第2
1図は共通論理構造記憶部に記憶されている共通論理構
造のうち第7図と第11図に示したものとは別の例の内
容をグラフで示す説明図、第22図は第18図のフロー
チャートにおける”新しい論理構造1文書部品、それら
の連結の生成”の部分の処理の流れを示す第19図とは
別のフローチャートである。 101・・・入力部 102・・・表示部 103・・・入出力制御部 104・・・電子文書記憶部 105・・・共通論理構造記憶部 106・・・論理構造生成プログラム記憶部107・・
・論理構造自動生成処理部 出願人 富士ゼロックス株式会社 代理人  小 野 寺  洋 二(外1名)第1図 第2図 第5図 第3図 第4図 第6区 第9図 第13図 repeat 第16図 (a) 第16図 (b) 第17区 (a) jg 1 8図 (k)) 第20図 (sa ) 第20図 (b) 第21図 第22図 (b )
FIG. 1 is a block diagram schematically showing a logical structure automatic generation device for electronic documents to which the present invention is applied; FIG. 2 is an explanatory diagram of the data structure of electronic documents stored in an electronic document storage unit; The figure is an explanatory diagram of the data structure of the document component information section included in the electronic document data. Figure 4 is an explanatory diagram of the data structure of the logical structure information included in the electronic document data. Figure 5 is a common logical structure. FIG. 6 is an explanatory diagram of the data structure of the common logical structure data stored in the storage section. FIG. 6 is an explanatory diagram of the data structure of the logical structure generation program written in the logical structure generation program storage section. FIG. 7 is the common logic FIG. 8 is a content explanatory diagram of an example of a common logical structure stored in a structure storage unit; FIG. 8 is a content explanatory diagram of a logical structure information section included in an example of an electronic document stored in an electronic document storage unit; Figure 9 is an explanatory diagram showing the contents of the common logical structure shown in Figure 7 in a graph, Figure 10 is an explanatory diagram showing the contents of the logical structure information shown in Figure 8 in a graph, and Figure 11 is a common logical structure. The common logical structure stored in the storage section shown in FIG. 7 is another example of the content explanatory diagram, and FIG. 12 is different from the one shown in FIG. 8 that is stored in the electronic document storage section. Figure 13 is an explanatory diagram showing the contents of the common logical structure shown in Figure 11 as a graph. Figure 14 is the logical structure shown in Figure 12. An explanatory diagram showing the content of information in a tree structure; FIG. 15 is an explanatory diagram of an example of a logical structure generation program stored in the logical structure generation program storage unit; FIG. 16 is an explanatory diagram for allowing the user to specify a logical structure generation program. 17 is an explanatory diagram of the logical structure automatic generation window displayed on the display unit and an example of its input. FIG. 17 is an explanatory diagram of the logical structure automatic generation window displayed on the display unit and an example of its input. FIG. An electronic document specification window for specifying the identifier of an electronic document with a logical structure, its display example, and an explanatory diagram of an input example. FIG. 19 is a flowchart showing the flow of processing when creating a logical structure. FIG. is an explanatory diagram of the process in which a new logical structure is generated according to the flowchart in FIG.
FIG. 1 is an explanatory diagram that graphically shows the contents of an example of the common logical structure stored in the common logical structure storage unit, different from those shown in FIGS. 7 and 11, and FIG. 19 is a flowchart different from that shown in FIG. 19, which shows the processing flow of the "generation of new logical structure 1 document parts and their connections" part in the flowchart of FIG. 101... Input unit 102... Display unit 103... Input/output control unit 104... Electronic document storage unit 105... Common logical structure storage unit 106... Logical structure generation program storage unit 107...
・Logical Structure Automatic Generation Processing Department Applicant: Fuji Xerox Co., Ltd. Agent Yoji Onodera (1 other person) Figure 1 Figure 2 Figure 5 Figure 3 Figure 4 Figure 6 Section 9 Figure 13 repeat Figure 16 (a) Figure 16 (b) District 17 (a) jg 1 8 (k)) Figure 20 (sa) Figure 20 (b) Figure 21 Figure 22 (b)

Claims (2)

【特許請求の範囲】[Claims] (1)文書部品の構成上のまとまりを示すノードの連結
によって表現された論理構造を持ち、該文書の論理構造
の取り得るノードの連結状態に対する制約が共通論理構
造として規定されている電子文書の文書構造生成方式に
おいて、 既存の電子文書の論理構造を入力として、新しい電子文
書の論理構造の一部または全体を出力する際に、 入力する文書の論理構造を制約する入力共通論理構造と
、出力する文書の論理構造を制約する出力共通論理構造
との間に、 入力した文書の論理構造の情報から出力すべき文書の論
理構造を生成する生成規則を、予め、設定しておき、 入力した文書の論理構造から入力共通論理構造の制約を
満たす論理構造の情報を獲得し、これをもとに出力共通
論理構造の制約を満たす論理構造の一部または全体を自
動生成することを特徴とする文書構造生成方式。
(1) An electronic document that has a logical structure expressed by a connection of nodes that represents a structural grouping of document parts, and in which constraints on the possible connection states of nodes in the document's logical structure are defined as a common logical structure. In the document structure generation method, when outputting part or all of the logical structure of a new electronic document using the logical structure of an existing electronic document as input, an input common logical structure that constrains the logical structure of the input document and an output A generation rule that generates the logical structure of the document to be output from information on the logical structure of the input document is set in advance between the output common logical structure that constrains the logical structure of the document to be output. A document characterized in that information on a logical structure that satisfies the constraints of an input common logical structure is obtained from the logical structure of the logical structure, and based on this information, part or all of the logical structure that satisfies the constraints of the output common logical structure is automatically generated. Structure generation method.
(2)文書部品の構造上のまとまりを示すノードを連結
した木構造によって表現された論理構造を持ち、該文書
の論理構造に対する制約が、木構造上に出現しうるノー
ドのひな型である共通論理構造要素の集合で表現された
共通論理構造によって規定され、 該共通論理構造要素には、該共通論理構造要素をひな型
とするノードの子ノードの列に対する制約が記述されて
いる電子文書の文書構造生成方式において、 既存の電子文書の論理構造を入力として、新しい電子文
書の論理構造の一部または全体を出力する際に、 入力する文書の論理構造を制約する入力共通論理構造に
含まれる共通論理構造要素をひな型とするノードに適用
可能な子ノードの列と出力する文書の論理構造を制約す
る出力共通論理構造に含まれる共通論理構造要素をひな
型とするノードに適用可能な子ノードの列との間の関係
と、該関係が適用されるノードを選択するための適用条
件からなる論理構造要素生成規則を、予め、設定してお
き、 該論理構造要素生成規則に基づいて入力した文書の論理
構造から出力する文書の論理構造の一部または全体を自
動的に生成することを特徴とする文書構造生成方式。
(2) A common logic that has a logical structure expressed by a tree structure that connects nodes that represent a structural grouping of document parts, and whose constraints on the logical structure of the document are templates of nodes that can appear on the tree structure. A document structure of an electronic document that is defined by a common logical structure expressed as a set of structural elements, and in which the common logical structural element describes constraints on a sequence of child nodes of a node whose model is the common logical structural element. In the generation method, when outputting part or all of the logical structure of a new electronic document using the logical structure of an existing electronic document as input, common logic included in the input common logical structure that constrains the logical structure of the input document is A sequence of child nodes that can be applied to a node whose model is a structural element and a sequence of child nodes that can be applied to a node whose model is a common logical structure element included in the output common logical structure that constrains the logical structure of the output document. A logical structure element generation rule is set in advance, which consists of a relationship between A document structure generation method characterized by automatically generating part or the entire logical structure of a document to be output from the structure.
JP2301164A 1990-09-07 1990-11-08 Document structure generation system Pending JPH04177455A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2301164A JPH04177455A (en) 1990-11-08 1990-11-08 Document structure generation system
US08/248,547 US5434962A (en) 1990-09-07 1994-05-24 Method and system for automatically generating logical structures of electronic documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2301164A JPH04177455A (en) 1990-11-08 1990-11-08 Document structure generation system

Publications (1)

Publication Number Publication Date
JPH04177455A true JPH04177455A (en) 1992-06-24

Family

ID=17893562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2301164A Pending JPH04177455A (en) 1990-09-07 1990-11-08 Document structure generation system

Country Status (1)

Country Link
JP (1) JPH04177455A (en)

Similar Documents

Publication Publication Date Title
CN101297268B (en) For integrated system, the tool and method of designing automated business process applications
US8549353B2 (en) Batch processing error handling modes
US8438534B2 (en) Transformation of data between hierarchical data formats
EP2369502A2 (en) SQL generation
US8683431B2 (en) Applying rules to data
US20110161941A1 (en) Creation of form-based applications
JP2003132187A (en) Method for making work flow
EP2341476A1 (en) Transaction regions in methods of processing data
EP2348401A1 (en) Transformation of hierarchical data formats using graphical rules
US20110161917A1 (en) Processing collections of data items
US5987239A (en) Computer system and method for building a hardware description language representation of control logic for a complex digital system
JPH05197734A (en) Data processing system
Shoval et al. FOOM-Functional and Object-Oriented Analysis and Design of Information Systems: An Integrated Methodology
CN107122171A (en) Automatically generate the method and system of data manipulation in operation flow
US20110161934A1 (en) Generating and monitoring data items
WO1996002033A1 (en) Method of writing program for specific business
CN111126932A (en) Form-based flow chart configuration method
JPH04177455A (en) Document structure generation system
JP2001344230A (en) Device and method for generating multimedia document, and recording medium with program for allowing computer to execute the method recorded thereon
JPH11102293A (en) Program automatic generating method
JPH0683693A (en) Data processor for executing processing by combining objects
Brockman et al. A schema-based approach to CAD task management
KR20140065389A (en) Module structural analysis supporting device and program
CN108563621A (en) A kind of PDF report form generation methods, device, equipment and storage medium
US20050080608A1 (en) Simulator for request/response systems