JP3004847B2 - Source program generation method and system - Google Patents
Source program generation method and systemInfo
- Publication number
- JP3004847B2 JP3004847B2 JP5242482A JP24248293A JP3004847B2 JP 3004847 B2 JP3004847 B2 JP 3004847B2 JP 5242482 A JP5242482 A JP 5242482A JP 24248293 A JP24248293 A JP 24248293A JP 3004847 B2 JP3004847 B2 JP 3004847B2
- Authority
- JP
- Japan
- Prior art keywords
- sentence
- program
- source
- rule
- sentence information
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 103
- 238000012545 processing Methods 0.000 claims description 190
- 238000011161 development Methods 0.000 description 76
- 230000014509 gene expression Effects 0.000 description 69
- 238000010586 diagram Methods 0.000 description 47
- 238000012986 modification Methods 0.000 description 43
- 230000004048 modification Effects 0.000 description 43
- 238000004458 analytical method Methods 0.000 description 28
- 230000006870 function Effects 0.000 description 28
- 238000012797 qualification Methods 0.000 description 20
- 238000005034 decoration Methods 0.000 description 13
- 239000011159 matrix material Substances 0.000 description 7
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 4
- 238000002910 structure generation Methods 0.000 description 4
- 238000007405 data analysis Methods 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- JOJYUFGTMHSFEE-YONYXQDTSA-M Cytarabine ocfosphate Chemical compound [Na+].O[C@H]1[C@H](O)[C@@H](COP([O-])(=O)OCCCCCCCCCCCCCCCCCC)O[C@H]1N1C(=O)N=C(N)C=C1 JOJYUFGTMHSFEE-YONYXQDTSA-M 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、プログラムの機能仕様
を箇条書で記述した文章から目的とするソースプログラ
ムを生成するソースプログラム生成方法およびシステム
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a source program generation method and system for generating a target source program from sentences in which functional specifications of a program are described in an itemized manner.
【0002】[0002]
【従来の技術】従来において、仕様書中にソースプログ
ラムを生成するための文を記述する場合に、1文1命令
で1対1に対応付けた文を文情報ファイルに登録してお
き、仕様書中にその登録した文を記述することで対応す
る命令語に置き換えてソースプログラムを生成するシス
テムがある。2. Description of the Related Art Conventionally, when a statement for generating a source program is described in a specification, a statement associated one-to-one with one instruction per sentence is registered in a statement information file, and There is a system that generates a source program by describing the registered statement in a book and replacing it with a corresponding instruction word.
【0003】図56は、ソースプログラムの仕様を木構
造エディタ100を使用して作成する従来の例を示す説
明図である。この木構造エディタ100は、プログラム
の構造を表す各種シンボルS,R,Iなどを組み合わせ
て仕様を記述するもので、各シンボルの中には、文情報
ファイル110に登録されている文を記述することがで
きる。FIG. 56 is an explanatory diagram showing a conventional example of creating a specification of a source program using the tree structure editor 100. The tree structure editor 100 describes specifications by combining various symbols S, R, I, and the like representing the structure of a program. In each symbol, a statement registered in the statement information file 110 is described. be able to.
【0004】例えば、「〜が〜でありかつ〜が〜であ
る。」という表現を文として入力する場合には、事前に
文情報ファイル110に「〜が〜でありかつ〜が〜であ
る。」という文111と、それに対応する「($1=$
2)AND($3=$4)」という命令語112とから
成る命令後置き換え規則を対で登録しておく。そこで、
まず、文を入力したいシンボル101を選択すると、登
録されている文の一覧が表示されるので、その中から入
力したい文111(「〜が〜でありかつ〜が〜であ
る。)」を選択すると、その選択した文111がシンボ
ル101の中に入力される。[0004] For example, when the expression "-is and-is" is input as a sentence, the sentence information file 110 contains "-is and-is" in advance. "And its corresponding" ({1 = {@
2) A post-instruction replacement rule composed of the instruction word 112 “AND ($ 3 = $ 4)” is registered as a pair. Therefore,
First, when a symbol 101 for which a sentence is to be input is selected, a list of registered sentences is displayed. From the list, a sentence 111 to be input is selected (“-is and -is”). Then, the selected sentence 111 is input into the symbol 101.
【0005】次に、「〜」の中に任意の用語を入力すた
め、「〜」を選択すると、データ項目120の一覧が表
示されるので、その中から入力したい用語「日付」12
1、「空白」122、「氏名」123、「空白」122
をそれぞれ選択する。すると、「〜」中に選択した用語
が入力される。Next, when "-" is selected to input an arbitrary term in "-", a list of data items 120 is displayed.
1, "blank" 122, "name" 123, "blank" 122
Select each. Then, the term selected in "~" is input.
【0006】以上の手順により、「日付が空白でかつ氏
名が空白である」102という文を入力することができ
る。According to the above procedure, the sentence "Date is blank and name is blank" 102 can be input.
【0007】このような仕様書により図示のようなソー
スプログラム130が生成される。このソースプログラ
ム130は、木構造エディタ100の所定のソース生成
規則により生成された木構造部分のソース131と、文
情報ファイル110に登録された文の命令語置き換え規
則112を元に置き換えられたソース132とから構成
される。[0007] A source program 130 as shown in the figure is generated based on such specifications. The source program 130 includes a source 131 of a tree structure portion generated according to a predetermined source generation rule of the tree structure editor 100 and a source replaced by a command replacement rule 112 of a statement registered in the statement information file 110. 132.
【0008】[0008]
【発明が解決しようとする課題】しかし、上記のような
ソースプログラム生成方法にあっては次のような問題が
ある。However, the above-described method of generating a source program has the following problems.
【0009】(1)仕様書に記述された文は1つの文で
完結しているため、複雑な条件式などを記述する場合に
は文の表現が長くなり、意味が判りにくくなる。また、
記述される条件式の組合せに応じて文を登録する必要が
あるので、その数は膨大なものとなってしまう。(1) Since a sentence described in the specification is completed by one sentence, when a complicated conditional expression or the like is described, the expression of the sentence becomes long and its meaning is difficult to understand. Also,
Since it is necessary to register sentences according to the combination of the conditional expressions described, the number thereof becomes enormous.
【0010】(2)仕様書に記述された文からは単純な
文字列の置換しか行なわないために、記述される仕様に
プログラムの制御を含む表現がある場合にはその仕様を
記述できない。(2) Since only a simple character string is replaced from the sentence described in the specification, if the specification to be described includes an expression including control of a program, the specification cannot be described.
【0011】本発明の目的は、プログラミングの知識の
ない人でも、複雑な条件を含んだプログラムの機能仕様
を容易に記述し、目的とするソースプログラムを生成す
ることができるソースプログラム生成方法およびシステ
ムを提供することである。An object of the present invention is to provide a source program generation method and a system capable of easily writing a functional specification of a program including complicated conditions and generating a target source program even for a person having no programming knowledge.
Is to provide a system.
【0012】また、プログラムの制御を含む仕様を容易
に記述し、目的とするソースプログラムを生成すること
ができるソースプログラム生成方法およびシステムを提
供することである。 Further, the specification including a control program easily described, is to provide a source program generation method and system capable of generating a source program of interest.
【0013】[0013]
【課題を解決するための手段】上記目的を達成するため
に本発明は、基本的には、ユーザ設定部分が空欄になっ
ている文と、その文に対応するプログラム制御構造の種
別データ及びソース生成規則を1組とする複数組の文情
報を格納した文情報ファイルと、箇条書き文章形式のプ
ログラム機能仕様の記述データを入力するための入力装
置とを備え、プログラム仕様書ファイルに格納されたプ
ログラム仕様書データに対応するソースプログラムを生
成するソースプログラム生成システムにおけるソースプ
ログラム生成方法であって、前記文情報ファイルに格納
された複数組の文情報を読み出し、各文情報の空欄部分
にユーザが必要とする内容を前記入力装置から入力させ
る第1の処理ステップと、空欄部分にユーザが必要とす
る内容が入力された複数の文の組み合わせを箇条書き文
章形式のプログラム機能仕様の記述データとして前記プ
ログラム仕様書ファイルに格納する第2の処理ステップ
と、この第2の処理ステップにより前記プログラム仕様
書ファイルに格納されたプログラム機能仕様の記述デー
タを読み出し、当該データ中の各文を表す文情報ノード
を作成する第3の処理ステップおよび各文が有するプロ
グラム制御構造の種別データからプログラム制御構造を
判別し、各文情報ノード間の制御関係を表す有向グラフ
を作成する第4の処理ステップと、前記有向グラフと各
文のソース生成規則に基づいて前記プログラム機能仕様
記述データに対応したソースプログラムを作成する第5
の処理ステップとを有することを特徴とする。According to the present invention, in order to achieve the above object, basically, a user setting portion is left blank.
Statement and the type of program control structure that corresponds to the statement
Multiple sets of texts with one set of separate data and source generation rules
Sentence information file that stores
Input device for inputting descriptive data of program function specifications
And a location, play the source program corresponding to the stored program specifications data to program specifications file
A source program generation method in a source program generation system for forming, reads pre Kibun information plurality of sets statements information stored in the file, the contents required by the user from the input device to the blank portion of each sentence information A first processing step of inputting, and a second step of storing, in the program specification file, a combination of a plurality of sentences in which contents required by the user are input in blanks as description data of a program function specification in a bulleted text format. And a third processing step of reading out the description data of the program function specification stored in the program specification file by the second processing step, and creating a statement information node representing each statement in the data; and The program control structure is determined from the type data of the program control structure of each statement, and each statement information Fifth creating a fourth processing step of creating a directed graph representing a control relationship between over de, the source program corresponding to the program function specification description data based on the directed graph and each sentence of the source generation rules
And a processing step of
【0014】また、プログラム仕様書ファイルに格納さ
れたプログラム仕様書データに対応するソースプログラ
ムを生成するソースプログラム生成システムであって、
ユーザ設定部分が空欄になっている文と、その文に対応
するプログラム制御構造の種別データ及びソース生成規
則を1組とする複数組の文情報を格納した文情報ファイ
ルと、 この文情報ファイルに格納された文情報を用いて
空欄部分にユーザが必要とする内容を設定した文を複数
組み合せて構成された箇条書き文章形式のプログラム機
能仕様の記述データを前記ソースプログラム生成システ
ム付属の入力装置から受付け、そのプログラム仕様記述
のデータを前記プログラム仕様書ファイルに格納する手
段と、 前記プログラム仕様書ファイルに格納されたプロ
グラム仕様記述のデータを読み出し、当該データ中の各
文を表す文情報ノードを作成すると共に、各文が有する
プログラム制御構造の種別データからプログラム制御構
造を判別し、各文情報ノード間の制御関係を表す有向グ
ラフを作成する有向グラフ作成手段と、 作成された有向
グラフと各文のソース生成規則に基づいて前記プログラ
ム仕様記述のデータに対応したソースプログラムを生成
するソース生成手段とを備えることを特徴とする。 The program specification file
Source program corresponding to the specified program specification data
A source program generation system for generating a system,
Corresponds to the sentence where the user setting part is blank and the sentence
Type control data and source generation rules
Sentence information file that stores a plurality of sets of sentence information with one set of rules
And the sentence information stored in this sentence information file.
Multiple sentences with user-required contents in blanks
A bullet-type sentence-type program machine configured in combination
The description data of the functional specification is stored in the source program generation system.
Received from the input device attached to the
To store the data of
And the profile stored in the program specification file.
Read the data of the program specification description, and
Creates a sentence information node that represents a sentence, and each sentence has
From the type data of the program control structure,
Directed group representing the control relationship between each sentence information node
A directed graph creating means for creating a rough, and the created directed
Based on the graph and the source generation rules for each statement, the program
Generates a source program corresponding to the data in the system specification description
And a source generation unit that performs the operation.
【0015】[0015]
【作用】上記手段によれば、文情報ファイルを参照し、
1ないし複数の処理条件および処理内容を含む機能仕様
が箇条書き文章(実施例では日本語の箇条書き文章)で
記述されたソースプログラム生成システム付属の入力装
置から入力することにより、そのプログラム仕様に対応
した有向グラフが作成され、この有向グラフに基づいて
前記プログラム仕様に対応したソースプログラムが生成
される。このため、新規のプログラムを作成する場合に
は、新規開発プログラムの機能仕様を箇条書き文章形式
で記述し、この箇条書き文章形式の新規開発プログラム
の機能仕様のデータを入力すればよい。 According to the above means , the statement information file is referred to,
Functional specification including one or more processing conditions and processing contents
Is an itemized sentence (in this example, Japanese itemized sentence)
Input device attached to the described source program generation system
Compatible with the program specifications by inputting from the device
Is created, and based on this directed graph,
Generates source program corresponding to the program specifications
Is done. For this reason, when creating a new program
Lists the functional specifications of the newly developed program
Newly developed program in this bulleted sentence format
What is necessary is just to input the data of the function specification.
【0016】プログラムの機能仕様を箇条書き文章で入
力可能にしたことにより、複雑な条 件を含んだプログラ
ムの機能仕様をプログラミングの知識のない人でも容易
に記述し、目的とするソースプログラムを生成すること
ができる。 [0016] Enter the functional specifications of the program in a bulleted list.
By that enables the force, including a complex condition program
Easy to use for functional specification of system
And generate the desired source program
Can be.
【0017】さらに、文情報ファイルに格納されている
各文に、その文からソースプログラムを生成するための
ソース生成規則とプログラム制御構造を表す種別を持た
せているため、プログラムの制御構造をも箇条書き文章
の記述によって同時に記述したことになり、プログラム
制御構造を別の手段で記述する必要がない。したがっ
て、プログラミングの知識のない人でもプログラム制御
構造を意識することなく、機能仕様を入力し、目的とす
るソースプログラムを生成することが可能になる。 Further, the sentence information file is stored in the sentence information file.
Each statement is used to generate a source program from that statement.
Has types indicating source generation rules and program control structures
Because of this, the control structure of the program is also
Is described at the same time by the description of
There is no need to describe the control structure by another means. Accordingly
Even people without programming knowledge can control programs
Enter functional specifications without considering the structure
Source programs can be generated.
【0018】さらに、箇条書き文章を構成する各文が有
する前記プログラム制御構造の種別データからプログラ
ム制御構造を判別することによって有向グラフを作成
し、ソースプログラムは前記有向グラフと各文が有する
ソース生成規則に従って生成するため、文単位のソース
プログラムを生成し、これを有向グラフで示される制御
構造にしたがって結合すればよく、複雑な制御構造であ
っても生成処理自体が簡単になる。 Further, each of the sentences constituting the itemized sentence has
From the type data of the program control structure
Create a directed graph by determining the system control structure
And the source program has the directed graph and each sentence
Sources for each statement are generated according to the source generation rules.
Generate a program and control it by a directed graph
It is only necessary to combine according to the structure, and it is a complicated control structure.
However, the generation process itself is simplified.
【0019】[0019]
【実施例】以下、本発明を図示する実施例に基づいて詳
細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the illustrated embodiments.
【0020】図1〜図3は、表形式仕様書220の欄に
箇条書文章で機能を記述し、ソースプログラムを生成す
る場合の処理方法の実施例を示す説明図である。FIGS. 1 to 3 are explanatory diagrams showing an embodiment of a processing method when a source program is generated by describing a function in an itemized text in a column of a tabular specification 220. FIG.
【0021】図1の表形式仕様書220は、あるデータ
項目に対して、項目をチェックする条件を記述する条件
部分221と、条件が成立した場合に行なう処理を記述
する処理部分222とから構成される。The tabular specification 220 shown in FIG. 1 includes, for a certain data item, a condition portion 221 for describing a condition for checking the item, and a processing portion 222 for describing a process to be performed when the condition is satisfied. Is done.
【0022】このような仕様書220に対し、「氏名が
空白であり、かつ日付が数字であるの条件が成立したら
口座番号にコードをセットする。」という機能仕様21
0が提起されたとすると、条件部分221には「下記の
全てである。」、「(1)氏名が空白である。」、
「(2)日付が数字である。」という条件文223を記
述し、処理部分222には「口座番号にコードをセット
する。」という処理文224を箇条書で記述する。With respect to such a specification 220, a function specification 21 "set a code in the account number when the condition that the name is blank and the date is a number is satisfied".
Assuming that 0 has been raised, the condition part 221 contains “all of the following.”, “(1) Name is blank.”
A conditional sentence 223 "(2) Date is a number" is described, and a processing sentence 224 "Set a code in the account number" is described in the processing part 222 in an itemized manner.
【0023】図2は表形式仕様書220の箇条書文章に
対応するフローチャートであり、箇条書された文章をフ
ローチャートで表すと、条件部分231は条件フローチ
ャート310のようになり、処理部分232は処理フロ
ーチャート320のようになる。FIG. 2 is a flowchart corresponding to the itemized text of the tabular specification 220. When the itemized text is represented by a flowchart, the condition part 231 becomes like the condition flowchart 310, and the processing part 232 becomes the processing flowchart 320. become that way.
【0024】そこで、後述する方法でソースプログラム
の生成を行なうと、図3に示すようなソースプログラム
430が生成される。このソースプログラム430は、
条件フローチャート310に対応する条件ソースプログ
ラム410と処理フローチャート320に対応する処理
ソースプログラム420から構成される。Therefore, when a source program is generated by a method described later, a source program 430 as shown in FIG. 3 is generated. This source program 430 is
It comprises a condition source program 410 corresponding to the condition flowchart 310 and a processing source program 420 corresponding to the processing flowchart 320.
【0025】すなわち、個々の欄に記述された箇条書文
章から生成された条件ソースプログラム410と処理ソ
ースプログラム420は、表形式仕様書220の独自の
規則により組み合わされ、完成したソースプログラム4
30として生成される。That is, the condition source program 410 and the processing source program 420 generated from the itemized sentences described in the individual columns are combined according to the unique rules of the tabular specification 220, and the completed source program 4
30.
【0026】この例では、図3中に「@処理」と記述し
た部分に処理ソースプログラム420をマージすること
により、完成したソースプログラム430が生成され
る。In this example, a completed source program 430 is generated by merging the processing source program 420 with the portion described as "$ process" in FIG.
【0027】この場合、組合せ後のフローチャートは図
2に示す合成フローチャート330として表される。In this case, the combined flowchart is shown as a combining flowchart 330 shown in FIG.
【0028】図4〜図6は、表形式仕様書の処理の欄に
箇条書文章で機能を記述し、ソースプログラムを生成す
る場合の実施例を示す説明図である。FIGS. 4 to 6 are explanatory diagrams showing an embodiment in which a function is described in an itemized text in a processing column of a tabular specification and a source program is generated.
【0029】図4の表形式仕様書520は、あるデータ
項目に対して、項目をチェックする条件を記述する条件
部分521と、条件が成立した場合に行なう処理を記述
する処理部分522とから構成される。The table format specification 520 shown in FIG. 4 includes, for a certain data item, a condition portion 521 for describing a condition for checking the item, and a processing portion 522 for describing a process to be performed when the condition is satisfied. Is done.
【0030】このような表形式仕様書520に対し、
「口座番号にコードをセットする」という機能仕様51
0が提起されたとすると、条件部分521には「無条
件」という条件文523を記述し、処理部分522には
「口座番号にコードをセットする。」という処理文52
4を記述する。For such a tabular specification 520,
Functional specification 51 "set code to account number"
If 0 is raised, a conditional statement 523 of "unconditional" is described in the conditional part 521, and a processing statement 52 of "set a code in the account number" is written in the processing part 522.
4 is described.
【0031】図5は表形式仕様書520の箇条書文章に
対応するフローチャートであり、箇条書された文章をフ
ローチャートで表すと条件部分531は条件フローチャ
ート610ようになり、処理部分532は処理フローチ
ャート620のようになる。FIG. 5 is a flowchart corresponding to the itemized text of the tabular specification 520. When the itemized text is represented by a flowchart, the condition part 531 becomes a condition flowchart 610, and the processing part 532 becomes a process flowchart 620. become.
【0032】そこで、後述する方法を用いてソースプロ
グラム生成を行なうと、図6のようなソースプログラム
730が生成される。このソースプログラム730は、
条件フローチャート610に対応する条件ソースプログ
ラム710と、処理フローチャート620に対応する処
理ソースプログラム720から構成される。Therefore, when a source program is generated using a method described later, a source program 730 as shown in FIG. 6 is generated. This source program 730 is
It comprises a condition source program 710 corresponding to the condition flowchart 610 and a processing source program 720 corresponding to the processing flowchart 620.
【0033】すなわち、個々の欄に記述された箇条書文
章から生成されたソースプログラム710,720は表
形式仕様書520の独自の規則により組み合わされ、完
成したソースプログラム730として生成される。That is, the source programs 710 and 720 generated from the itemized sentences described in the individual columns are combined according to the unique rules of the table specification 520 to generate a completed source program 730.
【0034】この例では、「@処理」と記述した部分に
処理部分のソースプログラム720をマージすることに
より、完成したソースプログラム730が生成される。In this example, a completed source program 730 is generated by merging the source program 720 of the processing part with the part described as “$ processing”.
【0035】組合せ後のフローチャートは図5のような
合成フローチャート630として表される。The flowchart after the combination is represented as a synthesis flowchart 630 as shown in FIG.
【0036】図7〜図9は、表形式仕様書820のチェ
ック条件,チェック内容の欄に箇条書文章で機能を記述
し、ソースプログラムを生成する場合の実施例を示す説
明図である。FIGS. 7 to 9 are explanatory diagrams showing an embodiment in which a function is described in the column of check conditions and check contents of the tabular specification 820 in the form of itemized sentences and a source program is generated.
【0037】図7の表形式仕様書820は、あるデータ
項目に対して、項目をチェックする条件を記述するチェ
ック条件部分821と、条件が成立した場合に行なうチ
ェック内容を記述するチェック内容部分822と、条件
が成立しなかった場合に設定するエラーコード部分82
3とから構成されている。The tabular specification 820 shown in FIG. 7 includes a check condition portion 821 for describing a condition for checking an item with respect to a certain data item, and a check content portion 822 for describing a check to be performed when the condition is satisfied. And an error code part 82 set when the condition is not satisfied
And 3.
【0038】このような表形式仕様書820に対し、
「氏名が空白であるかつ日付が数字であるの条件が成立
したら口座番号が数字であるかチェックを行ない、条件
が成立しない場合はエラーコードに9999をセットす
る」という機能仕様810が提起された場合、チェック
条件部521には「下記の全てである。」、「(1)氏
名が空白である。」、「(2)日付が数字である。」と
いうチェック条件文824を記述し、チェック内容部分
822には「口座番号が数字である。」というチェック
内容文826を記述し、エラーコード部分823には
「9999」というエラーコード文827を記述する。For such a tabular specification 820,
Functional specification "If the condition that the name is blank and the date is a number is satisfied, check whether the account number is a number, and if the condition is not satisfied , set the error code to 9999." When 810 is raised, the check condition part 521 includes check condition statements 824 such as “all of the following.”, “(1) Name is blank”, and “(2) Date is a number”. Is described in a check content portion 822, and a check content sentence 826 "Account number is a number" is described, and an error code portion 827 "9999" is described in an error code portion 823.
【0039】図8は表形式仕様書820の箇条書文章に
対応するフローチャートであり、チェック条件部分83
1はチェック条件フローチャート910のようになり、
チェック内容部分832はチェック内容フローチャート
920のようになる。FIG. 8 is a flowchart corresponding to the itemized text in the tabular specification 820.
1 is as shown in a check condition flowchart 910,
The check content portion 832 is as shown in a check content flowchart 920.
【0040】そこで、後述する方法を用いてソースプロ
グラムの生成を行なうと、図9に示すようなソースプロ
グラム1040が生成される。このソースプログラム1
040は、チェック条件部分831に対応するチェック
条件ソースプログラム1010と、チェック内容部分8
32に対応するチェック内容ソースプログラム1020
とから成る。エラーコード部分823は表形式仕様書8
20の独自の規則にしたがってエラーコードソースプロ
グラム1030として生成される。Therefore, when a source program is generated using a method described later, a source program 1040 as shown in FIG. 9 is generated. This source program 1
040 is a check condition source program 1010 corresponding to the check condition portion 831 and a check content portion 8
Check source program 1020 corresponding to 32
Consisting of Error code part 823 is tabular specification 8
It is generated as an error code source program 1030 according to 20 unique rules.
【0041】すなわち、個々の欄に記述された箇条書文
章から生成されたソースプログラム1010,102
0,1030は表形式仕様書の独自の規則により組み合
わされ、完成したソースプログラム1040として生成
される。That is, the source programs 1010, 102 generated from the itemized sentences described in the individual columns
0, 1030 are combined according to the unique rules of the tabular specification, and are generated as a completed source program 1040.
【0042】この例では、「@処理」と記述した部分に
チェック内容部分832のソースプログラム1020、
「@エラーコード」と記述した部分にエラーコードのソ
ースプログラム1030をマージすることにより、完成
したソースプログラム1040が生成される。In this example, the source program 1020 of the check content portion 832
A complete source program 1040 is generated by merging the source program 1030 of the error code with the portion described as “$ error code”.
【0043】この場合、組合せ後のフローチャートは図
8のような合成フローチャート940として表される。In this case, the flowchart after the combination is represented as a synthesis flowchart 940 as shown in FIG.
【0044】図10〜図12は、木構造形式仕様書11
20のシンボルに箇条書文章で機能を記述し、ソースプ
ログラムを生成する場合の実施例を示す説明図である。FIGS. 10 to 12 show the tree structure format specification 11.
FIG. 10 is an explanatory diagram showing an embodiment in which a function is described in itemized sentences in 20 symbols and a source program is generated.
【0045】図10の木構造形式仕様書1120は、プ
ログラムの構造を表す条件シンボル1121、処理シン
ボル1122などの中に処理する内容を記述し、各々の
シンボルを組み合わせてプログラムを生成するものであ
る。The tree structure format specification 1120 shown in FIG. 10 describes the contents to be processed in a conditional symbol 1121 and a processing symbol 1122 representing the structure of the program, and generates a program by combining the respective symbols. .
【0046】このような仕様書1120に対し、「氏名
が空白であるかつ日付が数字であるの条件が成立したら
口座番号にコードをセットする」という機能仕様111
0が提起された場合、木構造形式仕様書1120の条件
シンボル1121内には「次の全てである。」、
「(1)氏名が空白である。」、「(2)日付が数字で
ある。」という箇条書文章1123を記述し、処理シン
ボル1122内には「口座番号にコードをセットす
る。」という箇条書文章1124を記述する。In response to such a specification 1120, a function specification 111 "set a code to the account number when the condition that the name is blank and the date is a number is satisfied"
When 0 is raised, “all of the following” is included in the conditional symbol 1121 of the tree structure format specification 1120.
An itemized sentence 1123 of “(1) Name is blank” and “(2) Date is a number” is described, and an itemized sentence of “set a code in account number” in the processing symbol 1122 is described. 1124 is described.
【0047】図11は木構造形式仕様書1120の箇条
書文章に対応するフローチャートであり、箇条書された
文章をフローチャートで表すと、条件シンボルフローチ
ャート1210と処理シンボル部分フローチャート12
20のようになる。FIG. 11 is a flowchart corresponding to the itemized text of the tree structure specification 1120. When the itemized text is represented by a flowchart, a conditional symbol flowchart 1210 and a processing symbol partial flowchart 12 are shown.
It looks like 20.
【0048】そこで、後述する方法を用いてソースプロ
グラムの生成を行なうと、図12のような木構造形式仕
様書1120の箇条書文章1131,1132に対応す
るソースプログラム1340が生成される。このソース
プログラム1340は、条件シンボル1121に対応す
る条件ソースプログラム1310と、処理シンボル11
22に対応する処理ソースプログラム1320と、木構
造の生成規則を示す木構造生成規則ソースプログラム1
330とから構成される。Therefore, when a source program is generated using a method described later, a source program 1340 corresponding to the itemized sentences 1131 and 1132 of the tree structure format specification 1120 as shown in FIG. 12 is generated. This source program 1340 includes a condition source program 1310 corresponding to the condition symbol 1121 and a processing symbol 11
22 and a tree structure generation rule source program 1 indicating a tree structure generation rule
330.
【0049】すなわち、個々ののシンボルに記述された
箇条書文章1131,1132から生成されたソースプ
ログラム1310,1320は、木構造生成規則ソース
プログラム1330により組み合わされ、完成したソー
スプログラム1340として生成される。この場合、組
合せ後のフローチャートは図11のような合成フローチ
ャート1240として表される。That is, the source programs 1310 and 1320 generated from the itemized sentences 1131 and 1132 described in the individual symbols are combined by the tree structure generation rule source program 1330 to generate a completed source program 1340. In this case, the combined flowchart is represented as a combined flowchart 1240 as shown in FIG.
【0050】この例では、シンンボルの組合せによりプ
ログラムの構造は図11に示す木構造部分フローチャー
ト1230に示される構造となり、プログラムの組合せ
はこの構造に従って生成される木構造生成規則ソースプ
ログラム1330を使用して生成される。In this example, the combination of symbols makes the structure of the program the structure shown in the tree structure partial flowchart 1230 shown in FIG. 11, and the combination of programs uses the tree structure generation rule source program 1330 generated according to this structure. Generated.
【0051】図13〜図16は、デシジョンテーブル形
式仕様書1420の条件部、処理部中に箇条書文章で機
能を記述し、ソースプログラムを生成する場合の実施例
を示す説明図である。FIGS. 13 to 16 are explanatory diagrams showing an embodiment in which a function is described in a conditional section and a processing section of the decision table format specification 1420 in the form of a paragraph and a source program is generated.
【0052】図13のデシジョンテーブル形式仕様書1
420は、条件部1421にチェックする条件、処理部
1422に処理する内容を記述し、条件部1421のマ
トリックス1423に条件が成立する場合は「Y」、成
立しない場合には「N」を記述する。処理部1422の
マトリックス1424には、条件部1421のマトリッ
クス1423に記述された条件が成立した場合に行なう
処理に「X」を記述するようになっている。FIG. 13 Decision Table Format Specification 1
Reference numeral 420 describes a condition to be checked in the condition part 1421 and contents to be processed in the processing part 1422. If the condition is satisfied in the matrix 1423 of the condition part 1421, "Y" is described, and if not, "N" is described. . In the matrix 1424 of the processing unit 1422, “X” is described in a process performed when the condition described in the matrix 1423 of the condition unit 1421 is satisfied.
【0053】このような仕様書1420に対し、「氏名
が空白であり、かつ日付が数字であるの条件が成立した
ら口座番号にコードをセットする」という機能仕様14
10と、「氏名が空白であり、かつ日付が数字でない場
合にエラーコードに9999をセットする」という機能
仕様1411と、「氏名が空白であり、かつ日付が数字
であり、かつ口座番号が数字でない場合はエラーコード
に9999をセットする」という機能仕様1412が提
起された場合、デシジョンテーブル形式仕様書1420
の条件部1421には「下記の全てである。」、
「(1)氏名が空白である。」、「(2)日付が数字で
ある。」という箇条書文章1425と、「口座番号が数
字である。」という箇条書文章1426を記述し、処理
部1422には「口座番号にコードをセットする。」と
いう箇条書文章1427と「エラーコードに9999を
セットする。」という箇条書文章1428を記述し、機
能仕様に応じて、条件部1421のマトリックス142
3の条件が成立する場合は「Y」、成立しない場合には
「N」を記述し、処理部1422のマトリックス142
4には条件部のマトリックス1423に記述された条件
が成立した場合に行なう処理に「X」を記述する。[0053] For such a specification 1420, feature called "name is blank, and the date is the condition of there with a number to set the code to the account number Once you have established" specification 14
And 10, and the functional specification 1411 that "name is blank, and the date is set 9999 to the error code in place <br/> if not a number", "name is blank, and a date numbers, And the error code is set to 9999 if the account number is not a number, the decision table format specification 1420 is issued.
In the condition part 1421, “all of the following” is indicated.
A paragraph sentence 1425 of “(1) Name is blank”, “(2) Date is a number” and a paragraph sentence 1426 of “Account number is a number” are described in the processing unit 1422. Describes an itemized sentence 1427 "Set a code in the account number." And an itemized sentence 1428 "Set the error code to 9999." The matrix 142 of the condition part 1421 is described according to the function specification.
If the condition 3 is satisfied, “Y” is described, otherwise, “N” is described.
In “4”, “X” is described in the processing performed when the condition described in the matrix 1423 of the condition part is satisfied.
【0054】この仕様書1420に記述された箇条書文
章は、「条件1」1431及び「条件2」1432と
「処理1」1433及び「処理2」1434に分けて記
述されている。The itemized sentence described in the specification 1420 is described separately in “condition 1” 1431 and “condition 2” 1432, and “process 1” 1433 and “process 2” 1434.
【0055】図14はデシジョンテーブル形式仕様書1
420の箇条書文章に対応するフローチャートであり、
箇条書された文章をフローチャートで表すと、「条件
1」1431は「条件1フローチャート」1510で表
され、「条件2」1432は「条件2フローチャート」
1520で表され、「処理1」1433は「処理1フロ
ーチャート」1530、「処理2」1434は「処理2
フローチャート」1540で表される。FIG. 14 shows a decision table format specification 1.
It is a flowchart corresponding to the article 420 of a paragraph,
When the itemized text is represented by a flowchart, “condition 1” 1431 is represented by “condition 1 flowchart” 1510, and “condition 2” 1432 is represented by “condition 2 flowchart”.
1520, “Process 1” 1433 is “Process 1 flowchart” 1530, and “Process 2” 1434 is “Process 2”.
This is represented by a flowchart 1540.
【0056】そこで、後述する方法を用いてソースプロ
グラムの生成を行なうと、図16のようなソースプログ
ラム1660が生成される。このソースプログラム16
60は、「条件1」1431に対応する「条件1ソース
プログラム」1610と、「条件2」1432に対応す
る「条件2ソースプログラム」1620と、「処理1」
1433に対応する「処理1ソースプログラム」163
0と、「処理2」1434に対応する「処理2ソースプ
ログラム」1640とから構成される。Therefore, when a source program is generated using a method described later, a source program 1660 as shown in FIG. 16 is generated. This source program 16
A “condition 1 source program” 1610 corresponding to “condition 1” 1431, a “condition 2 source program” 1620 corresponding to “condition 2” 1432, and a “processing 1”
“Process 1 source program” 163 corresponding to 1433
0 and a “processing 2 source program” 1640 corresponding to the “processing 2” 1434.
【0057】すなわち、個々の条件部、処理部に記述さ
れた箇条書文章から生成されたソースプログラム161
0,1620,1630,1640はデシジョンテーブ
ル形式仕様書1420の独自の規則により組み合わされ
て完成したソースプログラム1660として生成され
る。この完成したソースプログラム1660は図15に
示すフローチャートで表される。That is, the source program 161 generated from the itemized text described in each condition part and processing part
0, 1620, 1630, and 1640 are generated as a completed source program 1660 by being combined according to the unique rules of the decision table format specification 1420. The completed source program 1660 is represented by a flowchart shown in FIG.
【0058】この例では、条件部のマトリックス142
3と処理部のマトリックス1424でチェックされた項
目によりプログラムの構造は図14(e)のデシジョン
テーブルフローチャート1550に示される構造となる
ので、この構造に従い図16のデシジョンテーブルソー
スプログラム1650が生成される。そして、このデシ
ジョンテーブルソースプログラム1650のソース生成
規則に従い各ソースプログラム1610,1620,1
630,1640が組合せられ、合成ソースプログラム
1660となる。In this example, the condition part matrix 142
3 and the items checked in the matrix 1424 of the processing unit, the structure of the program becomes the structure shown in the decision table flowchart 1550 of FIG. 14E. According to this structure, the decision table source program 1650 of FIG. 16 is generated. . Then, according to the source generation rules of the decision table source program 1650, each source program 1610, 1620, 1
630 and 1640 are combined to form a synthesized source program 1660.
【0059】本発明では、上記のような各種の仕様書に
記述された箇条書文章からソースプログラムを生成する
ものであるが、次に、仕様書に記述された箇条書文章よ
りソースプログラムを生成するシステムについて説明す
る。In the present invention, a source program is generated from the itemized text described in the various specifications as described above. Next, a system for generating a source program from the itemized text described in the specification is described. Will be described.
【0060】図17は、本発明のソースプログラム生成
システムの一実施例を示すブロック図である。FIG. 17 is a block diagram showing one embodiment of the source program generation system of the present invention.
【0061】図17において、2000は箇条書文章か
らのソースプログラム生成システム、2010は仕様書
ファイル、2020は文情報ファイル、2030は用語
情報ファイル、2040はソースプログラムファイルで
ある。In FIG. 17, reference numeral 2000 denotes a source program generation system from a paragraph document, 2010 denotes a specification file, 2020 denotes a sentence information file, 2030 denotes a term information file, and 2040 denotes a source program file.
【0062】図18に、これらのファイルに格納される
情報をさらに詳しく示す。FIG. 18 shows the information stored in these files in more detail.
【0063】文情報ファイル2020は仕様書中で使用
される文をあらかじめ登録しておくファイルであり、仕
様書中で使用される文と、文の持つプログラムの制御属
性と、文からソースプログラムを生成するためのソース
プログラム生成規則とを1組として複数組格納するファ
イルである。The statement information file 2020 is a file in which statements used in the specification are registered in advance, and the statement used in the specification, the control attribute of the program of the statement, and the source program from the statement are stored. This file stores a plurality of sets of source program generation rules for generation as one set .
【0064】この文情報ファイル2020に格納される
文は、その文だけで完結したものだけではなく、「〜が
〜である」であるという文を登録してユーザ設定内容欄
である「〜」の中に任意の用語または文字を記述できる
文も登録することができるようになっている。The sentence stored in the sentence information file 2020 is not limited to a sentence that is completed only by the sentence, but a sentence that “is a is” is registered and a user setting contents field is registered.
It is also possible to register a sentence in which an arbitrary term or character can be described in "~".
【0065】用語情報ファイル2030は、文情報ファ
イル2020に登録された文の「〜」の中に記述する用
語を登録しておくファイルであり、文中で使用される用
語と用語に対応するデータ名が対になって格納されてい
る。The term information file 2030 is a file in which terms described in "-" of the sentence registered in the sentence information file 2020 are registered. The term used in the sentence and the data name corresponding to the term are registered. Are stored in pairs.
【0066】仕様書ファイル2010は、プログラムの
仕様を記述した情報を格納するためのファイルであり、
仕様書固有の情報、例えば仕様書の表のフォーマットや
箇条書された文以外の情報と、文情報ファイル2020
と用語情報ファイル2030に登録された文と用語を用
いて記述された箇条書文章の情報を格納する。The specification file 2010 is a file for storing information describing the specification of the program.
Information unique to the specification, for example, information other than the format of the table of the specification or the itemized sentences, and the sentence information file 2020.
And information on the itemized text described using the sentence and the term registered in the term information file 2030.
【0067】箇条書された文章は、箇条書された文の記
述された順序、段づけ、文中に記述された用語の情報を
仕様書上のまとまった単位に分けて保持する。本例で
は、仕様書に記述された箇条書文章を条件2101や処
理2102などのの表の欄の単位に分けて格納してい
る。The itemized sentence holds the information on the order, step, and terminology described in the itemized sentence in units of the specification document. In this example, the itemized sentences described in the specification are stored in units of table columns such as the condition 2101 and the process 2102.
【0068】ソースプログラムファイル2040は、仕
様書ファイル2010に記述された箇条書文章から文情
報ファイル2020と用語情報ファイル2030を元に
生成されたと各欄(条件部分、処理部分等)の部分的な
ソースプログラムを、表仕様書の独自の手順に従って組
み合わせたソースプログラム2040が格納される。The source program file 2040 is generated based on the sentence information file 2020 and the term information file 2030 from the paragraph text described in the specification file 2010. A source program 2040 in which programs are combined according to a unique procedure of a table specification is stored.
【0069】ソースプログラム生成システム2000
は、仕様書ファイル2010より箇条書文章を読み込ん
でメモリに展開する仕様書データ読み込みモジュール2
001と、仕様書データ読み込みモジュール2001に
より読み込んだ箇条書文章をメモリに展開するための仕
様書データ展開エリア2004、文情報ファイル202
0より文情報を読み込み、メモリに展開する文情報デー
タ読み込みモジュール2002、文情報データ読み込み
モジュール2002により読み込んだ文情報をメモリに
展開するための文情報データ展開エリア2005、用語
情報ファイル2030より用語情報を読み込み、メモリ
に展開する用語データ読み込みモジュール2003、用
語データ読み込みモジュール2003により読み込んだ
用語情報をメモリに展開するための用語情報データ展開
エリア2006を備えている。Source program generation system 2000
Is a specification data reading module 2 that reads a paragraph sentence from the specification file 2010 and expands it into a memory.
001, a specification data development area 2004 for developing the paragraph text read by the specification data reading module 2001 in the memory, and a sentence information file 202.
Sentence information reading module 2002 for reading sentence information from 0 and expanding it to memory, sentence information data expansion area 2005 for expanding sentence information read by sentence information data reading module 2002 to memory, and term information from term information file 2030 And a term data reading module 2003 for reading the term information and developing the term information in a memory, and a term information data development area 2006 for developing the term information read by the term data reading module 2003 into the memory.
【0070】さらに、仕様書データ展開エリア2004
に展開された箇条書の内容2016を解析し、プログラ
ムの制御を表す有向グラフの作成を指示する仕様書デー
タ解析モジュール2007、各モジュールの指示にした
がい文情報2014または用語情報2015を文情報デ
ータ展開エリア2005または用語情報データ展開エリ
ア2006から検索する文章・用語データ検索モジュー
ル2008、仕様書データ解析モジュール2007の指
示にしたがい所定の有向グラフを作成する有向グラフ生
成モジュール2009、有向グラフ生成モジュール20
09により生成されたプログラムの制御を表す有向グラ
フの情報を格納するための有向グラフ展開エリア201
0、有向グラフ展開エリア2010に作成された情報2
017を元に、有向グラフの実行手順にしたがい個々の
文のソース展開の指示を行なう箇条書文章ソース生成モ
ジュール2012、箇条書文章ソース生成モジュール2
012より指示された個々の文のソース生成規則を解析
し、ソースの展開指示を行なうソース生成規則解析モジ
ュール2011、ソース生成規則解析モジュール201
1の指示に従い文の内容をソースプログラムとして展開
するソース展開モジュール2013より構成される。こ
のソースプログラム生成システム2000は 、メモリを
含む汎用のコンピュータとディスプレイ、キーボード等
の入出力装置で構成されるものであり、文情報ファイル
2020に格納された複数組の文情報を使用して箇条書
き文章からなるプログラム機能仕様のデータを入力する
場合には、複数組の文情報をディスプレイに表示させ、
その中から必要とする文情報をキーボード操作等によっ
てユーザに選択させ、その選択した文情報のユーザ設定
欄「〜」に必要な内容をキーボード操作等によって入力
させるようになっている。 Further, the specification data development area 2004
It analyzes the contents 2016 of bullets developed in, specifications data analysis module 2007 for instructing the creation of the directed graph representing the control program, sentence information data expand message information 2014 or term information 2015 in accordance with an instruction of each module area 2005 or the term information sentence-term data retrieval module 2008 to be retrieved from the data expansion area 2006, a directed graph generation module 2009 to create a given directed graph in accordance with the instructions of the specification data analysis module 2007, a directed graph generation module 20
Directed graph deployment area 201 for storing information directed graph <br/> off representing a control program generated by the 09
0, information has been created in a directed graph deployment area 2010 2
017 based on, bulleted text source generation module 2012 according to the procedure of execution directed graph instructs the source deployment individual statements, bullets sentences source generation module 2
The source generation rule analysis module 2011 and the source generation rule analysis module 201 that analyze the source generation rule of each sentence designated by the instruction 012 and instruct the source to be expanded.
The source expansion module 2013 expands the contents of a sentence as a source program in accordance with the instruction 1. This
Of the source program generation system 2000, a memory
Including general-purpose computers, displays, keyboards, etc.
Sentence information file.
Item list using a plurality of sets of sentence information stored in 2020
Input data of program function specifications consisting of text
In this case, a plurality of sets of sentence information are displayed on the display,
The necessary sentence information from among them can be
And let the user select it, and set the user for the selected sentence information.
Input necessary information in the column "~" by keyboard operation etc.
It is made to let.
【0071】図18に、文情報ファイル2020、用語
情報ファイル2030、仕様書ファイル2010、仕様
書2100およびソースプログラム2040の関係を示
す。FIG. 18 shows the relationship between the sentence information file 2020, the term information file 2030, the specification file 2010, the specification 2100, and the source program 2040.
【0072】以上のシステム構成において、箇条書され
た文章からソース生成を行なうための文の種類と箇条書
された記述より求められる有向グラフとフローチャート
について以下説明する。[0072] In the above system arrangement will be described below types and bullets has been directed graphs and flow charts obtained from the description of the statements for performing source generated from the text that are bullets.
【0073】図19〜図25に示すように、仕様書中に
記述される文は、文情報データとして文そのもの220
1と、プログラムの制御種別2202と、文からソース
の生成を行なうためのソース生成規則2203とから構
成される。As shown in FIGS. 19 to 25, the sentence described in the specification is the sentence information 220 as sentence information data.
1, a control type 2202 of the program, and a source generation rule 2203 for generating a source from a sentence.
【0074】本実施例では、文のプログラムの制御種別
は、プログラムの構造を表す基本的な要素として条件、
式、処理、修飾の4つに分類されている。これ以外にも
必要に応じて要素を追加することも可能である。In the present embodiment, the control type of the program of the statement is a condition,
It is classified into four types: expression, processing, and modification. In addition, elements can be added as needed.
【0075】1.条件 図19は「条件論理積」の文情報の例、図20は「条件
論理和」の文情報の例であり、条件は文章中において判
定を行なう仕様を記述する文に対して使用し、式、修飾
属性を持つ文と併記して記述する。例えば、文の記述は
2210と2310となり、これに対応するフローチャ
ートは2230と2330となる。1. FIG. 19 is an example of sentence information of “conditional AND”, and FIG. 20 is an example of sentence information of “conditional OR”. The condition is used for a sentence describing a specification for making a judgment in a sentence. Write it together with expressions and statements with qualification attributes. For example, sentence descriptions are 2210 and 2310, and corresponding flowcharts are 2230 and 2330.
【0076】2.式 図21は「論理積式」の文情報の例、図22は「論理和
式」の文情報の例であり、これらの式は文章中である式
を記述する文に対し使用し、修飾属性を持つ文と併記し
て記述する。例えば、文の記述は2410と2510と
なり、これに対応するフローチャートは2430と25
30となる。2. Expression FIG. 21 is an example of statement information of “logical AND expression”, and FIG. 22 is an example of statement information of “logical sum expression”. These expressions are used for a sentence describing an expression in a sentence, and are modified. Write together with the statement that has the attribute. For example, sentence descriptions are 2410 and 2510, and the corresponding flowcharts are 2430 and 2510.
It will be 30.
【0077】3.処理 図23は「処理」の文情報例であり、「処理」は文章中
である処理を行なう仕様を記述する文に対し使用し、例
えば、文の記述は2710となり、これに対応するフロ
ーチャートは2730となる。3. Processing FIG. 23 is an example of sentence information of “processing”. “Processing” is used for a sentence describing a specification for performing processing in a sentence. For example, the description of the sentence is 2710, and the corresponding flowchart is as follows. 2730.
【0078】4.修飾 図24、図25は「修飾」の文情報例であり、「修飾」
は文章中である判定を行なう仕様を記述する文に対して
使用し、複雑な条件を記述する場合には条件、式と併記
して使用する。例えば、文の記述は2810,2910
となり、これに対応するフローチャートは2830,2
930となる。4. Modification FIGS. 24 and 25 show examples of sentence information of “modification”, and “modification”
Is used for a sentence describing a specification for making a judgment in a sentence, and when describing a complicated condition, it is used together with a condition and an expression. For example, the description of a sentence is 2810, 2910
Next, the flowchart corresponding to 2830,2
930.
【0079】本発明ではこのような文を解析することに
より、次の3つ種類の文情報ノードに分けてプログラム
の制御を表す有向グラフを作成した後、ソースプログラ
ムを作成する。In the present invention, by analyzing such a sentence, a directed graph representing program control is created by dividing the sentence information into the following three types of sentence information nodes, and then a source program is created.
【0080】1.条件ノード 1つの条件を記述した文情報ノードを保持する。条件ノ
ードは論理積(THEN 節)と論理和(ELSE
節)の情報を持つ。論理積を表す有向グラフは図19の
2240,論理和を表す有向グラフは図20の2340
で示される。1. Condition node Holds a sentence information node describing one condition. The condition node is a logical product (THEN clause) and a logical sum (ELSE
Section). 2240 directed graph 19 representing a logical product, 2340 directed graph 20 representing the logical OR
Indicated by
【0081】以降、条件用ノードは角の丸い四角の記
号、論理積は横方向の線、論理和は縦方向の線で表記す
る。Hereinafter, condition nodes are represented by square symbols with rounded corners, logical products are represented by horizontal lines, and logical sums are represented by vertical lines.
【0082】なお、修飾文に対する有向グラフは図2
4、図25の符号2840,2940で表記される。[0082] Incidentally, the directed graph for the modified statement 2
4, denoted by reference numerals 2840 and 2940 in FIG.
【0083】2.式ノード 条件などの中に記述される式の文情報ノードを保持す
る。式ノードは論理積(ANDと論理和(OR)の情報
を持つ。論理積を表す有向グラフは図21の2440,
論理和を表す有向グラフは図22の2540で示され
る。以降、式用ノードは楕円の記号、論理積と論理和は
線で表記する。2. Expression node Holds a statement information node of an expression described in a condition or the like. 2440 directed graph 21 expression node representing the. Logical product having information of the logical product (AND and logical OR (OR),
Directed graph representing a logical sum is represented by 2540 of FIG. 22. Hereinafter, the expression nodes are represented by elliptical symbols, and the logical product and logical sum are represented by lines.
【0084】3.処理ノード 処理などの1つのまとまった文章の記述の文情報ノード
を保持する。処理ノードは文が列記された場合の情報を
持つ。列記された場合を表す有向グラフは図23の27
40で示される。以降、処理ノードは四角の記号で表記
する。3. Processing node Holds a sentence information node of a description of a single sentence such as processing. The processing node has information when a sentence is listed. 27 of directed graphs 23 representing the cases listed
Indicated at 40. Hereinafter, processing nodes are represented by square symbols.
【0085】図26、図27に実際に箇条書を行なった
文章を元に作成されたフローチャートと有向グラフの作
成例を示す。[0085] Figure 26 shows an actual example of creating flowcharts and directed graph created based on the text was performed itemization in Figure 27.
【0086】図26は、単純に連続した処理を記述した
文章3000を元に作成されるフローチャート3010
を示すものであり、これを元に有向グラフ3020を作
成すると、「日付に暦日をセット」3001、「口座に
当座をセットする」3002の文は処理属性を持つ文に
該当するので、それぞれ「日付に暦日をセット」の処理
ノード3021,「口座に当座をセットする」の処理ノ
ード3022として作成され、「日付に暦日をセット」
の処理ノード3021と「口座に当座をセットする」の
処理ノード3022は列記された場合に該当するために
縦方向の線3023で接続された有向グラフとなる。FIG. 26 is a flowchart 3010 created based on a sentence 3000 that simply describes continuous processing.
It is indicative of the, if you create a directed graph 3020 based on this, "set a calendar date to date" 3001, because the statement of "To set the current to account" 3002 corresponds to the statement with the processing attribute, Each is created as a processing node 3021 of "set calendar date on date" and a processing node 3022 of "set current account", and "set calendar date on date".
The processing node 3022 processing nodes 3021 and in "Loading checking the account" is a directed graph that are connected by vertical lines 3023 to correspond to the cases listed.
【0087】図27は、複合条件を記述した文章330
0を元に作成されるフローチャート3310を示すもの
であり、「(2)下記の全てである」3305以降の処
理が記述された条件がフローチャート上ではステップ3
311と3312と複数の場所に現れる。FIG. 27 shows a sentence 330 describing a complex condition.
FIG. 33 shows a flowchart 3310 created based on 0. In the flowchart, the condition in which the processing after “(2) all of the following” 3305 is described is step 3 in the flowchart.
311 and 3312 appear in multiple places.
【0088】これを元に有向グラフ3320を作成する
と、「(1)下記のいずれかである」3302は条件属
性を待つが、「(1)下記のいずれかである」3302
はその文だけでは意味をなさず、段付けされて記述され
た「(1)日付が暦日である。」3303と「(2)日
付が空白である。」3304の修飾属性を持つ文の記述
を元に「(1)日付が暦日である。」の条件ノード33
21、「(2)日付が空白である。」の条件ノード33
22を生成する。[0088] When you create a directed graph 3320 based on this, "(1) either of which is below" 3302 is waiting for the condition attribute, "is either (1) below" 3302
Does not make sense in the sentence alone, and the sentence having the qualification attribute of “(1) date is a calendar date” 3303 and “(2) date is blank” Based on the description, the condition node 33 of “(1) Date is a calendar date”
21, condition node 33 of "(2) date is blank"
22 is generated.
【0089】「(1)日付が暦日である。」の条件ノー
ド3321と「(2)日付が空白である。」の条件ノー
ド3322との間の線は、親の文が「(1)下記のいず
れかである」3302であり、文の属性が論理和を持つ
属性に該当するため縦方向の線3323として接続され
る。The line between the condition node 3321 of “(1) Date is a calendar date” and the condition node 3322 of “(2) Date is blank” has a parent sentence of “(1). Any of the following "3302, and is connected as a vertical line 3323 because the sentence attribute corresponds to an attribute having a logical sum.
【0090】「(2)次のいずれかである。」3306
は、同様に、その文だけでは意味をなさず、段付けされ
て記述された「(1)口座種別が普通である。」330
7と「(2)口座種別が当座である。」3308の修飾
属性を持つ文の記述を元に「(1)口座種別が普通であ
る。」の式ノード3324、「(2)口座種別が当座で
ある。」の式ノード3325を生成する。“(2) Either of the following” 3306
Similarly, the sentence alone does not make sense, and is described in a stepped manner, "(1) Account type is normal."
7 and the expression node 3324 of “(1) Account type is normal.” Based on the description of the statement having the qualifying attribute of “(2) Account type is immediate” 3308, and “(2) Account type is Is generated for the moment. "
【0091】「(1)口座種別が普通である。」の式ノ
ード3324と「(2)口座種別が当座である。」の式
ノード3325の間の線は、親の文が「(2)次のいず
れかである。」3306であり、文の属性が論理和を持
つ属性に該当するため線3326として接続される。The line between the expression node 3324 of “(1) Account type is ordinary” and the expression node 3325 of “(2) Account type is immediate” has a parent sentence of “(2). Either of the following: "3306, which is connected as line 3326 because the attribute of the sentence corresponds to an attribute having a logical sum.
【0092】「(2)下記の全てである」3305に段
付けされて記述された「(2)次のいずれかである。」
3306と「(2)口座番号が数字である」3309の
記述を元に「(2)次のいずれかである。」の条件ノー
ド3327と「(2)口座番号が数字である」の条件ノ
ード3328を接続する。"(2) All of the following" 3305 is described in a stepped manner in "(2) Any of the following."
3306 and a condition node 3327 of “(2) Either of the following.” And a condition node of “(2) Account number is a number” based on the description of “(2) Account number is a number” 3309 3328 is connected.
【0093】「(2)次のいずれかである。」の条件ノ
ード3327と「(2)口座番号が数字である」の条件
ノード3328との間の線は、親の文が「(2)下記の
全てである」3305であり、文の属性が論理積を持つ
属性に該当するため横方向の線3329として接続され
る。The line between the conditional node 3327 of “(2) Either of the following.” And the conditional node 3328 of “(2) Account number is a number” has a parent sentence of “(2) 3305, which is connected as a horizontal line 3329 because the attribute of the sentence corresponds to an attribute having a logical product.
【0094】「(1)下記のいずれかである。」330
2と「(2)下記の全てである。」3305とは、親の
文が「下記の全てである。」3301であり、文の属性
が論理和を持つ属性であるために横方向の線3330,
3331で接続された有向グラフが作成される。"(1) Any of the following" 330
2 and “(2) All of the following.” 3305 indicate that the parent sentence is “All of the following.” 3301, and the attribute of the sentence is an attribute having a logical sum, so that a horizontal line 3330,
Directed graph connected by 3331 is generated.
【0095】図28に、箇条書文章からソースプログラ
ムを生成する処理の全体を表すフローチャートを示す。FIG. 28 is a flowchart showing the entire process of generating a source program from an itemized sentence.
【0096】まず、仕様書データ読み込みモジュール2
001を使用し、仕様書ファイル2010から箇条書文
章から成る仕様書データをソース生成システム2000
内に入力し、その仕様書データを仕様書データ展開エリ
ア2004に展開する(ステップ3401)。この場
合、仕様書ファイル2010に格納される仕様書データ
は、前述のように、ソースプログラム生成システム20
00に付属したキーボード操作により、文情報ファイル
2020に格納された複数組の文情報をディスプレイに
表示させ、その中から必要とする文情報をキーボード操
作等によってユーザに選択させ、その選択した文情報の
ユーザ設定欄「〜」に必要な内容をキーボード操作等に
よって入力させることによって格納されるものである。 First, the specification data reading module 2
001, the specification data composed of itemized text from the specification file 2010 is generated by the source generation system 2000.
And the specification data is developed in the specification data development area 2004 (step 3401). This place
If the specification data stored in the specification file 2010
Is, as described above, the source program generation system 20.
Sentence information file by keyboard operation attached to 00
2020 multiple sets of sentence information stored in the display
Display, and the necessary sentence information
The user is allowed to make a selection by work, etc., and the selected sentence information is
The contents required for the user setting column "~" are used for keyboard operation etc.
Therefore, it is stored by inputting.
【0097】次に、文情報データ読み込みモジュール2
002を使用し、文情報ファイル2020から文情報デ
ータをソース生成システム2000内に入力し、その文
情報データを文情報データ展開エリア2005に展開す
る(ステップ3402)。Next, the sentence information data reading module 2
002, the sentence information data is input from the sentence information file 2020 into the source generation system 2000, and the sentence information data is developed in the sentence information data development area 2005 (step 3402).
【0098】次に、用語情報データ読み込みモジュール
2003を使用し、用語情報ファイル2030から用語
情報データをソース生成システム2000内に入力し、
その用語情報データ展開エリア2006に展開する(ス
テップ3403)。Next, by using the term information data reading module 2003, the term information data is input from the term information file 2030 into the source generation system 2000,
It is developed in the term information data development area 2006 (step 3403).
【0099】次に、文章・用語データ検索モジュール2
008を使用し、仕様書データ展開エリア2004と文
情報データ展開エリア2005の内容からプログラム制
御種別を獲得し、箇条書された文章を仕様書データ解析
モジュール2007を使用して解析し、さらに有向グラ
フ作成モジュール2009を使用してプログラムの制御
を表す有向グラフを作成し、有向グラフ展開エリア20
10に展開する(ステップ3404)。最後に、有向グ
ラフ展開エリア2010に展開された有向グラフの内容
を箇条書文章ソース生成モジュール2012によって順
次獲得し、その獲得した内容を元に、文章・用語データ
検索モジュール2008を使用して必要とする文のソー
ス生成規則を文情報データ展開エリア2005と用語情
報データ展開エリア2006の中から獲得し、その獲得
したソース生成規則をソース生成規則解析モジュール2
011を使用して解析し、その解析結果を元にソース生
成展開モジュール2013を用いてソースプログラムを
生成し、ソースファイル2040に出力する(ステップ
3405)。Next, the sentence / term data retrieval module 2
008, the program control type is acquired from the contents of the specification data development area 2004 and the sentence information data development area 2005, the itemized text is analyzed using the specification data analysis module 2007, and the directed graph is further analyzed. use <br/> full creation module 2009 creates a directed graph representing the control program, directed graph expansion area 20
10 (step 3404). Finally, the contents of a directed graph that has been deployed in directed grayed <br/> rough deployment area 2010 sequentially won by bullets sentence source generation module 2012, on the basis of the acquired content, sentence-term data retrieval module 2008 Is obtained from the sentence information data development area 2005 and the term information data development area 2006 using the necessary source generation rules, and the obtained source generation rules are obtained from the source generation rule analysis module 2
The source program is analyzed using the source generation and development module 2013 based on the analysis result, and is output to the source file 2040 (step 3405).
【0101】以上の順序により箇条書文章からソースプ
ログラムが生成される。According to the above sequence, a source program is generated from an itemized sentence.
【0102】次に、ステップ3404とステップ340
5について詳しく説明する。Next, step 3404 and step 340
5 will be described in detail.
【0103】図27の箇条書文章3300から実際の有
向グラフを生成するフローチャートを図29,図30,
図31に示す。また、図32〜図43に仕様書データ展
開エリア2004に展開された文3501を1行づつ読
み込んだときのデータの流れと有向グラフ3503の作
成過程を示す。[0103] In fact Yu from bullets sentence 3300 of FIG. 27
Flowcharts for generating a directed graph are shown in FIGS.
As shown in FIG. Also shows a process of creating flow and directed graph 3503 of data when read line by line a statement 3501 deployed in the specification data development area 2004 in FIGS. 32 to 43.
【0104】箇条書文章解析のフローチャートは、入力
データとして親の文情報3501を入力し、出力データ
として解析した子の文情報ノードの先頭アドレス350
2を返す。また、図32〜図43のデータフローでは、
仕様書データ展開エリア2004に展開された文と、有
向グラフ情報展開エリア2010に展開された有向グラ
フの内容を示す。The flowchart for itemized sentence analysis is as follows. The parent sentence information 3501 is input as input data, and the head address 350 of the analyzed child sentence information node is output as output data.
Returns 2. Also, in the data flows of FIGS.
And statements that have been deployed in the specification data development area 2004, Yes
Shows the contents of a directed graph <br/> full deployed in directed graph information expansion area 2010.
【0105】始めに「下記の全てである。」3301よ
り処理を行なう。First, processing is performed from “all of the following” 3301.
【0106】最初に、処理の対象となっている子の文情
報ノード先頭アドレスに「NULL」をセットする(ス
テップ3503)。同時に、子の文情報ノード前アドレ
スに「NULL」をセットして初期設定を行なう(ステ
ップ3504)。First, "NULL" is set to the head address of the sentence information node of the child to be processed (step 3503). At the same time, “NULL” is set to the previous address of the child sentence information node to perform initialization (step 3504).
【0107】次に、仕様書データ展開エリア2004よ
り、箇条書された文の子の文レコードを1レコード読み
込む。すると、図32(a)に示すように、1番先頭の
「下記の全てである。」3301が読み込まれる(ステ
ップ3505)。Next, one sentence record of a child of the itemized sentence is read from the specification data development area 2004. Then, as shown in FIG. 32A, the first "all of the following" 3301 is read (step 3505).
【0108】次に、同じレベルの文があるかの判定を行
なう。すでに、「下記の全てである。」3301の文が
読み込まれているので、「同じレベルの文あり」とな
り、文の読み込みループの処理を続行する(ステップ3
506)。Next, it is determined whether there is a sentence of the same level. Since the sentence "All of the following" 3301 has already been read, the sentence becomes "there is a sentence of the same level", and the processing of the sentence reading loop is continued (step 3).
506).
【0109】次に、子の文情報の有無の判定を行なう。
すると、「(1)下記のいずれかである。」3302が
存在するために「子の文情報=有り」で「Y」が成立す
る(ステップ3540)。Next, it is determined whether or not there is child sentence information.
Then, since “(1) one of the following.” 3302 exists, “Y” is established by “child sentence information = present”.
That (step 3540).
【0110】ここで、「下記の全てである。」3301
の処理を一時的に保留し、「下記の全てである。」33
01の文情報をスタックし、「下記の全てである。」3
301の文情報を入力データとして箇条書文章解析を再
帰的に呼び出す(ステップ3523)。このときに、入
力データ3501は「下記の全てである。」3301と
なり、有向グラフ展開エリア2010の内容は図32
(b)に示すようになり、文情報として「論理条件
(積)」3820がスタックされる。Here, “all of the following” 3301
Is temporarily suspended, and “all of the following” 33
The statement information of No. 01 is stacked, and “all of the following” 3
To call recursively the bullet sentence analysis of the 301 sentence information as input data (step 3523). At this time, the input data 3501 "are all below." 3301, and the contents of a directed graph deployment area 2010 32
As shown in (b), “logical condition (product)” 3820 is stacked as sentence information.
【0111】次に、「(1)下記のいずれかである。」
3302を処理する状態になるが、ステップ3523の
箇条書文章解析処理を再帰的に呼び出したことにより、
新たにフローチャートの先頭から処理が開始される。こ
のときに、入力データとして「下記の全てである。」3
301の文情報を入力データとして獲得する。Next, "(1) Any of the following"
Although it is in a state of processing 3302, by recursively calling the itemized sentence analysis processing of step 3523,
The process is newly started from the top of the flowchart. At this time, the input data is "all of the following".
The sentence information 301 is obtained as input data.
【0112】まず、処理の対象となっている子の文情報
ノード先頭アドレス3502に「NULL」をセットす
る(ステップ3503)。同時に、子の文情報ノード前
アドレスに「NULL」をセットして初期設定を行なう
(ステップ3504)。First, "NULL" is set to the head address 3502 of the sentence information node of the child to be processed (step 3503). At the same time, “NULL” is set to the previous address of the child sentence information node to perform initialization (step 3504).
【0113】次に、仕様書データ展開エリア2004よ
り、「下記の全てである。」3301の子の文レコード
を1レコード読み込む。すると、1番先頭の「(1)下
記のいずれかである。」3302が読み込まれる(ステ
ップ3505)。Next, one record of a child sentence record of “all of the following” 3301 is read from the specification data development area 2004. Then, the topmost item "(1) Any of the following" 3302 is read (step 3505).
【0114】次に、同じレベルの文があるかの判定を行
なう。すでに、「(1)下記のいずれかである。」33
02の文が読み込まれているので、「同じレベルの文あ
り」となり、文の読み込みループの処理を続行する(ス
テップ3506)。Next, it is determined whether there is a sentence of the same level. Already, “(1) Any of the following” 33
Since the sentence No. 02 has been read, the sentence is “there is a sentence of the same level”, and the processing of the sentence reading loop is continued (step 3506).
【0115】次に、子の文情報の有無の判定を行なう。
すると、「(1)日付が暦日である。」3303が存在
するために、「子の文情報=有り」で「Y」が成立する
(ステップ3540)。Next, it is determined whether or not there is child sentence information.
Then, since “(1) date is a calendar date” 3303 exists, “Y” is established by “child sentence information = present” (step 3540).
【0116】ここで、「(1)下記のいずれかであ
る。」3302の処理を一時的に保留し、「(1)下記
のいずれかである。」3302の文情報をスタックし、
さらに「(1)下記のいずれかである。」3302の文
情報を入力データとして、箇条書文章解析処理を再度、
再帰的に呼び出す(ステップ3523)。Here, the processing of “(1) Any of the following” 3302 is temporarily suspended, and the sentence information of “(1) Any of the following” 3302 is stacked.
Further, using the sentence information of “(1) Any of the following.” 3302 as input data, the itemized sentence analysis processing is performed again.
It is called recursively (step 3523).
【0117】このときに、入力データ3501は
「(1)下記のいずれかである。」3302となり、有
向グラフ展開エリア2010の内容は図33(a)に示
すような状態になり、文情報として「論理条件(和)」
3920がスタックされる。[0117] At this time, the input data 3501 "is either (1) below." 3302, and the Yes
The contents of the directed graph development area 2010 are in a state as shown in FIG. 33A, and "logical condition (sum)" is used as sentence information.
3920 is stacked.
【0118】次に、「(1)日付が暦日である。」33
03を処理する状態になるが、再度、箇条書文章解析処
理を再帰的に呼び出したことにより、新たにフローチャ
ートの先頭から処理が開始される。このときに、入力デ
ータとして「(1)下記のいずれかである。」3302
の文情報を獲得する。Next, "(1) Date is a calendar date" 33
03 is processed, but the process is newly started from the top of the flowchart by recursively calling the itemized sentence analysis process again. At this time, as input data, “(1) Any of the following” 3302
Get sentence information.
【0119】まず、処理の対象となっている子の文情報
ノード先頭アドレス3502に「NULL」をセットす
る(ステップ3503)。同時に、子の文情報ノード前
アドレスに「NULL」をセットして初期設定を行なう
(ステップ3504)。First, “NULL” is set to the head address 3502 of the sentence information node of the child to be processed (step 3503). At the same time, “NULL” is set to the previous address of the child sentence information node to perform initialization (step 3504).
【0120】次に、仕様書データ展開エリア2004よ
り、「(1)下記のいずれかである。」3302の子の
文レコードを1レコード読み込む。すると、1番先頭の
「(1)日付が暦日である。」3303が読み込まれる
(ステップ3505)。Next, one record of a child sentence record of “(1) Any of the following” 3302 is read from the specification data development area 2004. Then, the first “(1) date is a calendar date” 3303 is read (step 3505).
【0121】次に、同じレベルの文があるかの判定を行
なう。すでに、「(1)日付が暦日である。」3303
の文が読み込まれているので、「同じレベルの文あり」
となり、文の読み込みループの処理を続行する(ステッ
プ3506)。Next, it is determined whether there is a sentence of the same level. Already, “(1) Date is a calendar day” 3303
Sentence is read, so there is a sentence of the same level
And the processing of the statement reading loop is continued (step 3506).
【0122】次に、子の文情報の有無の判定を行なう。
すると、子の文情報が存在しないために「子の文情報=
有り」で「N」が成立する(ステップ3540)。Next, it is determined whether or not there is child sentence information.
Then, because there is no child sentence information, "child sentence information =
"N" is established for "Yes" (step 3540).
【0123】子の文情報が存在しない場合は、文情報ノ
ード作成処理を行う(ステップ3507)。If there is no child sentence information, a sentence information node creation process is performed (step 3507).
【0124】図30は、この文情報ノード作成処理の詳
細を示すものであり、まず、「(1)日付が暦日であ
る。」3303の文レコードからプログラムの制御種別
を獲得する(ステップ3507)。FIG. 30 shows details of the sentence information node creation processing. First, the control type of the program is obtained from the sentence record of "(1) Date is a calendar date" 3303 (step 3507). ).
【0125】次に、獲得したプログラムの制御種別を判
定する(ステップ3609〜3612)。すると、
「(1)日付が暦日である。」3303は修飾属性に該
当するため、「プログラムの制御種別=修飾」の「Y」
の条件が成立し、修飾属性の処理を行なう(ステップ3
612)。Next, the control type of the acquired program is determined (steps 3609 to 3612). Then
Since “(1) Date is a calendar day” 3303 corresponds to the decoration attribute, “Y” of “program control type = modification”
Is satisfied, and the decoration attribute is processed (step 3).
612).
【0126】次に、「(1)日付が暦日である。」33
03の文情報と親の「(1)下記のいずれかである。」
3302のプログラム制御種別(条件(論理和))を有
向グラフ作成モジュール2009に渡し、文情報ノード
を作成を指示する(ステップ3629)。Next, "(1) Date is a calendar date" 33
03 and the parent “(1) Any of the following.”
Program control type of 3302 have the (condition (logical OR))
Passing the directed graph generation module 2009, that instructs the create sentence information node (step 3629).
【0127】次に、文情報ノードカレントポインタに
「(1)日付が暦日である。」の文情報ノード3321
のアドレスをセットする(ステップ3630)。Next, the sentence information node 3321 of "(1) Date is a calendar date" is set in the sentence information node current pointer.
Is set (step 3630).
【0128】図31は有向グラフ作成処理の詳細を示す
ものであり、ここでは、まず、子の文情報ノード前アド
レスが「NULL」か否かの判定を行なう。すると、子
の文情報ノード前アドレス値は未設定のために子の文情
報ノード前アドレス=NULLとなり「Y」の条件が成
立する(ステップ3713)。[0128] Figure 31 is shows the details of the directed graph creation process, Here, first, sentence information node address before the child is determined whether "NULL". Then, since the child sentence information node preceding address value is not set, the child sentence information node preceding address = NULL, and the condition of “Y” is satisfied (step 3713).
【0129】そこで、子の文情報ノード先頭アドレスに
「(1)日付が暦日である。」の文情報ノード3321
をセットし、子の文情報ノード先頭アドレスを記憶する
(ステップ3731)。Therefore, the sentence information node 3321 of “(1) Date is a calendar date” is added to the head address of the child sentence information node.
Sets, store text information nodes start address of the child (step 3731).
【0130】子の文情報ノード前アドレスに文の解析を
終了した「(1)日付が暦日である。」の文情報ノード
3321をセットする(ステップ3719)。The sentence information node 3321 of “(1) Date is a calendar date” for which sentence analysis has been completed is set to the child sentence information node previous address (step 3719).
【0131】このときに、有向グラフ展開エリア201
0の内容は図34(b)に示すようなものとなり、文情
報として「(1)日付が暦日である。」が論理条件
(和)の文情報ノード3321として作成される。[0131] At this time, a directed graph expansion area 201
The content of 0 is as shown in FIG. 34B, and "(1) date is a calendar date" is created as sentence information node 3321 of the logical condition (sum) as sentence information.
【0132】次に、「(2)日付が空白である。」33
04を処理する状態になる。Next, “(2) Date is blank” 33
04.
【0133】次に、仕様書データ展開エリア2004よ
り、「(1)日付が暦日である。」3303の次の文レ
コードを1レコード読み込む。すると、「(2)日付が
空白である。」3304が読み込まれる(ステップ35
20)。Next, from the specification data development area 2004, one record is read from the statement record next to “(1) Date is a calendar date” 3303. Then, “(2) Date is blank” 3304 is read (step 35).
20).
【0134】次に、同じレベルの文があるかの判定を行
ない、文がある場合には文の読み込みループの処理を続
行する(ステップ3521)。Next, it is determined whether there is a sentence of the same level, and if there is a sentence, the processing of the sentence reading loop is continued (step 3521).
【0135】次に、子の文情報の有無の判定を行なう
(ステップ3540)。すると、子の文情報が存在しな
いために「子の文情報=有り」で「N」が成立する(ス
テップ3540)。Next, it is determined whether or not there is child sentence information (step 3540). Then, it holds the "N" for there is no statement information of the child in the "statement information of the child = yes" (step 3540).
【0136】そこで、読み込んだ「(2)日付が空白で
ある。」3304の文レコードから文のプログラムの制
御種別を獲得する(ステップ3607)。[0136] Therefore, it reads "(2) The date is blank." To gain control type of a statement of the program from the statement record of 3304 (step 3607).
【0137】次に、獲得したプログラムの制御種別を判
定する。すると、「(2)日付が空白である。」330
4は修飾属性に該当するため、「プログラムの制御種別
=修飾」の「Y」の条件が成立し、修飾属性の処理を行
なう(ステップ3612)。Next, the control type of the acquired program is determined. Then, “(2) date is blank” 330
4 corresponds to the decoration attribute, the condition of “Y” of “program control type = modification” is satisfied, and the processing of the decoration attribute is performed (step 3612).
【0138】次に、「(2)日付が空白である。」33
04の文情報と親の「(1)下記のいずれかである。」
3302のプログラム制御種別(条件(論理和))を有
向グラフ作成モジュール2009に渡し、文情報ノード
を作成を指示する(ステップ3629)。Next, "(2) Date is blank" 33
04 sentence information and the parent "(1) One of the following."
Program control type of 3302 have the (condition (logical OR))
Passing the directed graph generation module 2009, that instructs the create sentence information node (step 3629).
【0139】次に、文情報ノードカレントポインタに
「(2)日付が空白である。」の文情報ノード3322
のアドレスをセットする(ステップ3630)。Next, the sentence information node 3322 of "(2) Date is blank" is set as the sentence information node current pointer.
Is set (step 3630).
【0140】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は「(1)日付が暦日である。」の文情報ノード33
21がセットされているために子の文情報ノード前アド
レス≠NULLとなり「N」の条件が成立する(ステッ
プ3713)。Next, the address before the child sentence information node is NU.
When the LL is determined, the child sentence information node previous address value is "(1) Date is a calendar day."
Since 21 is set, the child sentence information node previous address is ≠ NULL, and the condition of “N” is satisfied (step 3713).
【0141】次に、親の文情報の種別を判定すると
「(1)下記のいずれかである。」3302は条件属性
に該当するため、「プログラム制御種別=条件」の条件
が成立する(ステップ3717)。さらに、プログラム
制御種別を詳しく判定すると、条件(論理和)が成立す
る(ステップ3736)。Next, when the type of the parent sentence information is determined, since “(1) Any of the following” 3302 corresponds to the condition attribute, the condition of “program control type = condition” is satisfied (step 3717). Further, when the program control type is determined in detail, a condition (logical sum) is established (step 3736).
【0142】次に、「(1)日付が暦日である。」の文
情報ノード3321と「(2)日付が空白である。」の
文情報ノード3322の間に条件(論理和)の線332
3を張る(ステップ3737)。Next, a line of a condition (logical sum) is placed between the sentence information node 3321 of “(1) Date is a calendar date” and the sentence information node 3322 of “(2) Date is blank”. 332
3 is set (step 3737).
【0143】次に、子の文情報ノード前アドレスに文の
解析を終了した「(2)日付が空白である。」3304
の文情報ノードをセットする(ステップ3719)。Next, the sentence analysis of the child sentence information node previous address is completed. “(2) Date is blank” 3304
Is set (step 3719).
【0144】このときに、有向グラフ展開エリア201
0の内容は図35(b)の状態となり、「(2)日付が
空白である。」が条件(論理和)の文情報ノード332
2として作成され、「(1)日付が暦日である。」の文
情報ノード3321と「(2)日付が空白である。」の
文情報ノード3322との間に条件(倫理和)の線33
23が張られる。[0144] At this time, a directed graph expansion area 201
The content of 0 is in the state of FIG. 35B, and the sentence information node 332 of the condition (logical sum) is “(2) Date is blank.
2 and a line of the condition (ethical sum) between the sentence information node 3321 of “(1) Date is a calendar date” and the sentence information node 3322 of “(2) Date is blank”. 33
23 is set.
【0145】次に、仕様書データ展開エリア2004よ
り、「(2)日付が空白である。」3304の次の文レ
コードを1レコード読み込む(ステップ3520)。Next, from the specification data development area 2004, one record is read from the statement record next to “(2) Date is blank” 3304 (step 3520).
【0146】次に、文があるかの判定を行なうと、該当
する文がないために、文の読み込みループの処理を抜け
る(ステップ3521)。Next, when it is determined whether or not there is a sentence, since there is no corresponding sentence, the process exits the sentence reading loop (step 3521).
【0147】次に、子の文情報ノード先頭アドレスに記
憶しておいた「(1)日付が暦日である。」3303の
文情報アドレスを返す(ステップ3522)。Next, the sentence information address of "(1) Date is a calendar day" 3303 stored in the head address of the sentence information node of the child is returned (step 3522).
【0148】以上の手順で、再帰呼び出しの呼び出し元
に戻り、一時的に保留していた「(1)下記のいずれか
である。」3302の処理を続行する。With the above procedure, the procedure returns to the caller of the recursive call, and the processing of “(1) Any of the following” 3302 temporarily held is continued.
【0149】処理は、箇条書文章解析を再帰的に呼び出
した直後より開始する(ステップ3523)。The processing is started immediately after recursively calling the itemized sentence analysis (step 3523).
【0150】次に、読み込んだ「(1)下記のいずれか
である。」3302の文レコードからプログラムの制御
種別を獲得する(ステップ3607)。Next, the control type of the program is obtained from the sentence record of the read “(1) Any of the following” 3302 (step 3607).
【0151】次に、獲得したプログラムの制御種別を判
定するが、「(1)下記のいずれかである。」3302
は条件属性に該当するため、「プログラムの制御種別=
条件」の「Y」の条件が成立し、条件属性の処理を行な
う(ステップ3609)。Next, the control type of the acquired program is determined. "(1) Any of the following" 3302
Corresponds to the condition attribute, so "program control type =
The condition of "Y" of the condition is satisfied, and the processing of the condition attribute is performed (step 3609).
【0152】文情報ノードのカレントポインタして、箇
条書文章解析を再帰的に呼び出したときの戻り値の
「(1)日付が暦日である。」の文情報ノードアドレス
3321をセットする(ステップ3626)。As the current pointer of the sentence information node, the sentence information node address 3321 of "(1) Date is a calendar day" is set as the return value when recursively calling the itemized sentence analysis (step 3626). ).
【0153】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は未設定であるため、子の文情報ノード前アドレス=
NULLとなり「Y」の条件が成立する(ステップ37
13)。Next, the address before the child sentence information node is NU.
When the LL is determined, the child statement information node previous address is not set, so the child statement information node previous address =
NULL and the condition of "Y" is satisfied (step 37)
13).
【0154】そこで、子の文情報ノード先頭アドレスに
「(1)日付が暦日である。」の文情報ノード3321
をセットし、子の文情報ノード先頭アドレスとして記憶
する(ステップ3731)。Accordingly, the sentence information node 3321 of “(1) Date is a calendar date” is set as the head address of the child sentence information node.
Is set and stored as the child sentence information node start address (step 3731).
【0155】子の文情報ノード前アドレスに文の解析を
終了した「(1)日付が暦日である。」の文情報ノード
3321をセットする(ステップ3719)。The sentence information node 3321 of “(1) Date is a calendar date” for which sentence analysis has been completed is set to the child sentence information node previous address (step 3719).
【0156】このとき、有向グラフ展開エリア2010
の内容は図36(b)に示す状態となり、呼び出し元に
戻ったことにより、文情報のスタックが1つ戻り「論理
条件(積)」となる。[0156] In this case, a directed graph deployment area 2010
36 becomes the state shown in FIG. 36 (b), and by returning to the caller, the stack of the statement information returns by one, and becomes the "logical condition (product)".
【0157】次に、「(2)下記の全てである」330
5を処理する状態になる。Next, "(2) All of the following" 330
5 is processed.
【0158】そこで、仕様書データ展開エリア2004
より、「(1)下記のいずれかである。」3302の次
の文レコードを1レコード読み込むと、「(2)下記の
全てである」3305が読み込まれる(ステップ352
0)。Accordingly, the specification data development area 2004
Therefore, when one record is read from the sentence record following “(1) Any of the following” 3302, “(2) All of the following” 3305 is read (step 352).
0).
【0159】次に、同じレベルの文があるかの判定を行
ない、文がある場合には、文の読み込みループの処理を
続行する(ステップ3506)。Next, it is determined whether there is a sentence of the same level, and if there is a sentence, the processing of the sentence reading loop is continued (step 3506).
【0160】次に、子の文情報の有無の判定を行なう
と、「(1)下記のいずれかである。」3302が存在
するため、子の文情報=有りで「Y」が成立する(ステ
ップ3540)。[0160] Next, when the determination of the presence or absence of the statement information of the child, "(1) is any of the following." Since 3302 there, it established "Y" in there = statement information of the child (Step 3540).
【0161】ここで、「(2)下記の全てである」33
05の処理を一時的に保留し、「(2)下記の全てであ
る」3305の文情報をスタックし、「(2)下記の全
てである」3305の文情報を入力データ3501とし
て箇条書文章解析を再帰的に呼び出す(ステップ352
3)。Here, “(2) All of the following” 33
05 is temporarily suspended, the sentence information of “(2) All of the following” 3305 is stacked, and the sentence information of “(2) All of the following” 3305 is input data 3501 and the itemized sentence analysis is performed. Is called recursively (step 352).
3).
【0162】このときに、入力データ3501は
「(2)下記の全てである」3305となり、有向グラ
フ展開エリア2010の内容は図37(b)に示す状態
になり、文情報として「論理条件(積)」4320がス
タックされる。At this time, the input data 3501 becomes “(2) All of the following” 3305, the contents of the directed graph development area 2010 become the state shown in FIG. A “logical condition (product)” 4320 is stacked as information.
【0163】次に、「(1)次のいずれかである。」3
306を処理する状態になる。Next, "(1) Either of the following" 3
306 is processed.
【0164】箇条書文章解析を再帰的に呼び出したこと
により新たにフローチャートの先頭から処理が開始され
る。このときに、入力データとして「(2)下記の全て
である」3305の文情報を入力データとして獲得す
る。The process is newly started from the head of the flowchart by recursively calling the itemized sentence analysis. At this time, the sentence information of “(2) All of the following” 3305 is obtained as input data.
【0165】最初に、処理の対象となっている子の文情
報ノード先頭アドレスにNULLをセットする(ステッ
プ3503)。同時に、子の文情報ノード前アドレスに
NULLをセットして初期設定を行なう(ステップ35
04)。First, NULL is set to the head address of the sentence information node of the child to be processed (step 3503). At the same time, NULL is set to the previous address of the child sentence information node to perform initialization (step 35).
04).
【0166】次に、仕様書データ展開エリア2004よ
り、「(2)下記の全てである」3305の子の文レコ
ードを1レコード読み込むと、1番先頭の「(1)次の
いずれかである。」3306が読み込まれる(ステップ
3505)。Next, from the specification data development area 2004, when one statement record of the child record of “(2) All of the following” 3305 is read, the first one is “(1) one of the following. . 3306 is read (step 3505).
【0167】次に、同じレベルの文があるかの判定を行
なうが、すでに、「(1)次のいずれかである。」33
06の文が読み込まれているので、「同じレベルの文あ
り」となり、文の読み込みループの処理を続行する(ス
テップ3506)。Next, it is determined whether or not there is a sentence of the same level.
Since the sentence 06 has been read, it is determined that "there is a sentence of the same level", and the processing of the sentence reading loop is continued (step 3506).
【0168】次に、同じレベルの文があるかの判定を行
う。すると、「(1)口座種別を普通である。」330
7が存在するために、「子の文情報=有り」で「Y」が
成立する(ステップ3540)。Next, it is determined whether there is a sentence of the same level. Then, “(1) Account type is normal.” 330
In order to 7 is present, the "Y" established in the "statement information of the child = yes" (step 3540).
【0169】ここで、「(1)次のいずれかである。」
3306の処理を一時的に保留し、「(1)次のいずれ
かである。」3306の文情報をスタックし、「(1)
次のいずれかである。」3306の文情報を入力データ
3501として箇条書文章解析を再度、再帰的に呼び出
す(ステップ3523)。Here, "(1) Any of the following"
The process of 3306 is temporarily suspended, and the statement information of “(1) One of the following.” 3306 is stacked, and “(1)
One of the following: Using the sentence information of "3306" as input data 3501, the itemized sentence analysis is recursively called again (step 3523).
【0170】このときに、入力データ3501は
「(1)次のいずれかである。」3306となり、有向
グラフ展開エリア2010の内容は図38(b)に示す
状態になり、文情報として「論理式(和)」4420が
スタックされる。At this time, the input data 3501 becomes “(1) One of the following.” 3306, and the contents of the directed graph development area 2010 are as shown in FIG. “Logical expression (sum)” 4420 is stacked as sentence information.
【0171】次に、「(1)口座種別が普通である。」
3307を処理する状態になる。Next, "(1) Account type is normal."
A state of processing 3307 is entered.
【0172】箇条書文章解析を再帰的に呼び出したこと
により新たにフローチャートの先頭から処理が開始され
る。このときに、入力データとして「(1)次のいずれ
かである。」3306の文情報を入力データとして獲得
する。When the itemized sentence analysis is recursively called, the process is newly started from the top of the flowchart. At this time, the sentence information of “(1) Any of the following” 3306 is obtained as input data.
【0173】最初に、処理の対象となっている子の文情
報ノード先頭アドレスにNULLをセットする(ステッ
プ3503)。同時に、子の文情報ノード前アドレスに
NULLをセットして初期設定を行なう(ステップ35
04)。First, NULL is set to the head address of the sentence information node of the child to be processed (step 3503). At the same time, NULL is set to the previous address of the child sentence information node to perform initialization (step 35).
04).
【0174】次に、仕様書データ展開エリア2004よ
り、「(1)次のいずれかである。」3306の子の文
レコードを1レコード読み込むと、1番先頭の「(1)
口座種別が普通である。」3307が読み込まれる(ス
テップ3505)。Next, from the specification data development area 2004, when one statement record of a child of “(1) Any of the following.” 3306 is read, the first “(1)
Account type is normal. 3307 is read (step 3505).
【0175】次に、同じレベルの文があるかの判定を行
なうが、すでに、「(1)口座種別が普通である。」3
307の文が読み込まれているので、「同じレベルの文
あり」となり、文の読み込みループの処理を続行する
(ステップ3506)。Next, it is determined whether or not there is a sentence of the same level. As already described, “(1) Account type is normal” 3
Since the statement 307 has been read, "statement of the same level exists" and the processing of the statement reading loop is continued (step 3506).
【0176】次に、同じレベルの文があるかの判定を行
う。すると、子の文情報が存在しないために「子の文情
報=有り」で「N」が成立する(ステップ3540)。Next, it is determined whether there is a sentence of the same level. Then, since there is no child sentence information, “N” is established for “child sentence information = present” (step 3540).
【0177】次に、読み込んだ「(1)口座種別が普通
である。」3307の文レコードからプログラムの制御
種別を獲得する(ステップ3607)。Next, the control type of the program is obtained from the sentence record of the read “(1) Account type is normal” 3307 (step 3607).
【0178】次に、獲得したプログラムの制御種別を判
定すると、「(1)口座種別が普通である。」3307
は修飾属性に該当するため、「プログラムの制御種別=
修飾」の「Y」の条件が成立し、修飾属性の処理を行な
う(ステップ3612)。Next, when the control type of the acquired program is determined, “(1) Account type is normal” 3307
Corresponds to the qualification attribute, so "program control type =
The condition of “Y” of “modification” is satisfied, and processing of the decoration attribute is performed (step 3612).
【0179】次に、「(1)口座種別が普通である。」
3307の文情報と親の「(1)次のいずれかであ
る。」3306のプログラム制御種別(式(論理和))
を有向グラフ作成モジュール2009に渡し、文情報ノ
ードを作成を指示する(ステップ3629)。Next, "(1) Account type is normal."
The statement information of 3307 and the parent program "(1) One of the following." 3306, the program control type (expression (logical sum))
The passing the directed graph generation module 2009, and instructs the create sentence information node (step 3629).
【0180】次に、文情報ノードカレントポインタに
「(1)口座種別が普通である。」の文情報ノード33
24のアドレスをセットする(ステップ3630)。Next, the sentence information node 33 of "(1) Account type is ordinary" is set as the sentence information node current pointer.
24 are set (step 3630).
【0181】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は未設定のため、子の文情報ノード前アドレス=NU
LLとなり「Y」の条件が成立する(ステップ371
3)。Next, the child statement information node previous address is NU
When it is determined whether the LL is the LL, the previous sentence information node address value is not set, and thus the previous sentence information node address of the child is NU.
LL, and the condition of “Y” is satisfied (step 371).
3).
【0182】子の文情報ノード先頭アドレスに「(1)
口座種別が普通である。」の文情報ノード3324をセ
ットし、子の文情報ノード先頭アドレスとして記憶する
(ステップ3731)。In the head address of the child sentence information node, "(1)
Account type is normal. Is set and stored as a child sentence information node start address (step 3731).
【0183】子の文情報ノード前アドレスに文の解析を
終了した「(1)口座種別が普通である。」の文情報ノ
ード3324をセットする(ステップ3719)。The sentence information node 3324 of “(1) Account type is ordinary” for which sentence analysis has been completed is set to the child sentence information node preceding address (step 3719).
【0184】このときに、有向グラフ展開エリア201
0の内容は図39(b)に示す状態となり、文情報とし
て「(1)口座種別が普通である。」が式の文情報ノー
ド3324として作成される。[0184] At this time, a directed graph expansion area 201
The content of 0 is in the state shown in FIG. 39B, and “(1) Account type is normal” is created as sentence information node 3324 of the formula.
【0185】次に、「(2)口座種別が当座である。」
3308を処理する状態になる。Next, "(2) Account type is immediate."
3308 is processed.
【0186】次に、仕様書データ展開エリア2004よ
り、「(1)口座種別が普通である。」3307の次の
文レコードを1レコード読み込むと、「(2)口座種別
が当座である。」3308が読み込まれる(ステップ3
520)。Next, from the specification data development area 2004, when one record is read from the statement record next to “(1) Account type is normal.” 3307, “(2) Account type is immediate.” 3308 is read (step 3
520).
【0187】次に、同じレベルの文があるかの判定を行
ない、文がある場合には文の読み込みループの処理を続
行する(ステップ3506)。Next, it is determined whether or not there is a sentence of the same level. If there is a sentence, the processing of the sentence reading loop is continued (step 3506).
【0188】次に、同じレベルの文があるかの判定を行
う。すると、子の文情報が存在しないために「子の文情
報=有り」で「N」が成立する(ステップ3540)。Next, it is determined whether there is a sentence of the same level. Then, since there is no child sentence information, “N” is established for “child sentence information = present” (step 3540).
【0189】次に、読み込んだ「(2)口座種別が当座
である。」3308の文レコードから文のプログラの制
御種別を獲得する(ステップ3607)。Next, the control type of the sentence program is acquired from the sentence record of the read “(2) Account type is immediate” 3308 (step 3607).
【0190】次に、獲得したプログラムの制御種別を判
定すると、「(2)口座種別が当座である。」3308
は修飾属性に該当するため、「プログラムの制御種別=
修飾」の「Y」の条件が成立するので、修飾属性の処理
を行なう(ステップ3612)。Next, when the control type of the acquired program is determined, "(2) Account type is immediate" 3308
Corresponds to the qualification attribute, so "program control type =
Since the condition of “Y” of “modification” is satisfied, processing of the modification attribute is performed (step 3612).
【0191】次に、「(2)口座種別が当座である。」
3308の文情報と親の「(1)次のいずれかであ
る。」3306のプログラム制御種別(式(論理和))
を有向グラフ作成モジュール2009に渡し、文情報ノ
ードを作成を指示する(ステップ3629)。Next, "(2) Account type is immediate."
Program control type (expression (logical sum)) of the statement information 3308 and the parent “(1) One of the following.” 3306
The passing the directed graph generation module 2009, and instructs the create sentence information node (step 3629).
【0192】次に、文情報ノードカレントポインタに
「(2)口座種別が当座である。」の文情報ノード33
24のアドレスをセットする(ステップ3630)。次
に、子の文情報ノード前アドレスがNULLかの判定を
行なうと、子の文情報ノード前アドレスには「(1)口
座種別が普通である。」の文情報ノード3324がセッ
トされているため、子の文情報ノード前アドレス≠NU
LLとなり「N」の条件が成立する(ステップ371
3)。Next, the sentence information node 33 of "(2) Account type is current" is set as the sentence information node current pointer.
24 are set (step 3630). Next, when it is determined whether or not the child sentence information node front address is NULL, the sentence information node 3324 of “(1) Account type is normal” is set in the child sentence information node front address. Therefore, child sentence information node previous address $ NU
LL, and the condition of “N” is satisfied (step 371).
3).
【0193】次に、親の文情報ノードの種別を判定する
と「(1)次のいずれかである。」3306は式属性に
該当するため、プログラム制御種別=式の条件が成立す
る(ステップ3718)。Next, when the type of the parent sentence information node is determined, “(1) Either of the following” 3306 corresponds to the expression attribute, so that the condition of program control type = expression is satisfied (step 3718). ).
【0194】次に、「(1)口座種別が普通である。」
文情報ノード3324と「(2)口座種別が当座であ
る。」の文情報ノード3325の文情報ノードの間に式
の線3326を張る(ステップ3734)。Next, "(1) Account type is normal."
An expression line 3326 is provided between the sentence information node 3324 and the sentence information node of the sentence information node 3325 of “(2) Account type is immediate” (step 3734).
【0195】このときに、有向グラフ展開エリア201
0の内容は図40(b)に示す状態になり、文情報とし
て「(2)口座種別が当座である。」が論理式(和)の
文情報ノード3325として作成され、「(1)口座種
別が普通である。」文情報ノード3324と「(2)口
座種別が当座である。」の文情報ノード3325の間に
式の線3326が張られる。[0195] At this time, a directed graph expansion area 201
0 is in the state shown in FIG. 40 (b), and the sentence information “(2) Account type is immediate” is created as the sentence information node 3325 of the logical expression (sum), and “(1) Account An expression line 3326 is provided between the sentence information node 3324 and the sentence information node 3325 of “(2) Account type is immediate.”
【0196】次に、子の文情報ノード前アドレスに文の
解析を終了した「(2)口座種別が当座である。」33
08の文情報ノードをセットする(ステップ371
9)。Next, the sentence analysis for the child sentence information node previous address is completed. “(2) Account type is immediate.” 33
08 sentence information node is set (step 371).
9).
【0197】次に、仕様書データ展開エリア2004よ
り、「(2)口座種別が当座である。」3308の次の
文レコードを1レコード読み込む(ステップ352
0)。Next, from the specification data development area 2004, one record is read from the statement record next to “(2) Account type is immediate” 3308 (step 352).
0).
【0198】次に、文があるかの判定を行なうと、該当
する文がないために、文の読み込みループの処理を抜け
る(ステップ3521)。Next, when it is determined whether there is a sentence, since there is no corresponding sentence, the process exits the sentence reading loop (step 3521).
【0199】次に、子の文情報ノード先頭アドレスに記
憶しておいた「(1)口座種別が普通である。」文情報
ノードのアドレス3324を返す(ステップ352
2)。Next, the address 3324 of the "(1) account type is normal." Sentence information node stored at the head address of the child sentence information node is returned (step 352).
2).
【0200】以上の手順で、再帰呼び出しの呼び出し元
に戻り、一時的に保留していた「(1)次のいずれかで
ある。」3306の処理を続行する。With the above procedure, the process returns to the caller of the recursive call, and the processing of “(1) Any of the following” 3306, which has been temporarily suspended, is continued.
【0201】次に、読み込んだ「(1)次のいずれかで
ある。」3306の文レコードからプログラムの制御種
別を獲得する(ステップ3607)。そして、獲得した
プログラムの制御種別を判定すると、「(1)次のいず
れかである。」3306は式属性に該当するため、「プ
ログラムの制御種別=式」の「Y」の条件が成立し、式
属性の処理を行なう(ステップ3610)。Next, the control type of the program is acquired from the sentence record of the read “(1) Any of the following” 3306 (step 3607). When the control type of the acquired program is determined, “(1) any of the following” 3306 corresponds to the expression attribute, so the condition of “Y” of “program control type = expression” is satisfied. , Processing of the expression attribute (step 3610).
【0202】次に、「(1)次のいずれかである。」3
306の文情報と親の「(2)下記の全てである」33
05のプログラム制御種別(条件(論理積))を有向グ
ラフ作成モジュール2009に渡し、文情報ノード作成
を指示する(ステップ3626)。Next, "(1) Either of the following" 3
The statement information 306 and the parent “(2) All of the following” 33
05 program control type (Condition (logical product)) passing the directed grayed <br/> rough creation module 2009, and instructs the creation sentence information node (step 3626).
【0203】次に、文情報ノードカレントポインタに
「(1)次のいずれかである。」の文情報ノード332
7の式の線を張る(ステップ3627)。Next, the statement information node 332 of "(1) Any of the following" is set in the statement information node current pointer.
The line of the formula 7 is drawn (step 3627).
【0204】次に、文情報ノードカレントアドレスに
「(1)次のいずれかである。」の文情報ノード332
7のアドレスをセットする(ステップ3628)。Next, the sentence information node 332 of "(1) Any of the following" is added to the sentence information node current address.
7 is set (step 3628).
【0205】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は未設定であるため、子の文情報ノード前アドレス=
NULLとなり、「Y」の条件が成立する(ステップ3
713)。Next, the address before the child sentence information node is NU.
When the LL is determined, the child statement information node previous address is not set, so the child statement information node previous address =
NULL, and the condition of “Y” is satisfied (step 3
713).
【0206】子の文情報先頭アドレスに「(1)次のい
ずれかである。」の文情報ノード3327をセットし、
子の文情報先頭アドレスとして記憶する(ステップ37
31)。The sentence information node 3327 of “(1) Any of the following” is set to the child sentence information head address,
It is stored as the child sentence information head address (step 37).
31).
【0207】子の文情報ノード前アドレスに文の解析を
終了した「(1)次のいずれかである。」の文情報ノー
ド3327をセットする(ステップ3519)。The sentence information node 3327 of “(1) Either of the following” is set to the child sentence information node previous address (step 3519).
【0208】このとき、有向グラフ展開エリア2010
の内容は図41(b)に示す状態になり、「(1)次の
いずれかである。」の文情報ノード3327が作成さ
れ、呼び出し元に戻ったことにより、文情報のスタック
が1つ戻り「論理(積)」となる。[0208] In this case, a directed graph deployment area 2010
41B is in the state shown in FIG. 41B, a statement information node 3327 of “(1) Any one of the following.” Is created, and the stack returns to the caller by one. The return is "logical (product)".
【0209】次に、「(2)口座番号が数字である。」
3309を処理する状態になる。Next, "(2) Account number is a number."
3309 is processed.
【0210】次に、仕様書データ展開エリア2004よ
り、「(1)次のいずれかである。」3306の次の文
レコードを1レコード読み込むと、「(2)口座番号が
数字である。」3309が読み込まれる(ステップ35
20)。Next, from the specification data development area 2004, when one record is read from the next sentence record of “(1) Either of the following.” 3306, “(2) Account number is a number.” 3309 is read (step 35)
20).
【0211】次に、同じレベルの文があるかの判定を行
ない、文がある場合には文の読み込みループの処理を続
行する(ステップ3506)。Next, it is determined whether there is a sentence of the same level, and if there is a sentence, the processing of the sentence reading loop is continued (step 3506).
【0212】次に、子の文情報の有無の判定を行なう
と、子の文情報が存在しないため、「子の文情報=有
り」で「N」が成立する(ステップ3540)。Next, when it is determined whether or not there is child sentence information, since there is no child sentence information, "N" is established by "child sentence information = present" (step 3540).
【0213】次に、読み込んだ「(2)口座番号が数字
である。」3309の文レコードから文のプログラの制
御種別を獲得する(ステップ3607)。Next, the control type of the sentence program is acquired from the sentence record of the read “(2) Account number is a number” 3309 (step 3607).
【0214】次に、獲得したプログラムの制御種別を判
定する。すると、「(2)口座番号が数字である。」3
309は修飾属性に該当するため、「プログラムの制御
種別=修飾」の「Y」の条件が成立し、修飾属性の処理
を行なう(ステップ3612)。Next, the control type of the acquired program is determined. Then, “(2) Account number is a number.” 3
Since 309 corresponds to the decoration attribute, the condition of “Y” of “program control type = modification” is satisfied, and the processing of the decoration attribute is performed (step 3612).
【0215】次に、「(2)口座番号が数字である。」
3309の文情報と親の「(2)下記の全てである」3
305のプログラム制御種別(条件(論理積))を有向
グラフ作成モジュール2009に渡し、文情報ノードの
作成を指示する(ステップ3629)。Next, "(2) Account number is a number."
The sentence information of 3309 and the parent “(2) All of the following” 3
The program control type (condition (logical product)) 305 is passed to the directed graph creation module 2009 to instruct creation of a sentence information node (step 3629).
【0216】次に、文情報ノードカレントポインタに
「(2)口座番号が数字である。」の文情報ノード33
28のアドレスをセットする(ステップ3630)。Next, the sentence information node 33 of "(2) Account number is a number" is set as the sentence information node current pointer.
The address 28 is set (step 3630).
【0217】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は「(1)次のいずれかである。」の文情報ノード3
327がセットされているため、子の文情報ノード前ア
ドレス=NULLとなり「N」の条件が成立する(ステ
ップ3713)。Next, the address before the child sentence information node is NU.
When the LL is determined, the previous sentence information node address value of the child is “(1) one of the following.”
Since 327 has been set, the child sentence information node previous address = NULL, and the condition of “N” is satisfied (step 3713).
【0218】次に、親の文情報ノードの種別を判定する
と「(2)下記の全てである。」は条件属性に該当する
ため、プログラム制御種別=条件の「Y」が成立する
(ステップ3717)。Next, when the type of the parent sentence information node is determined, since “(2) all of the following” corresponds to the condition attribute, the program control type = condition “Y” is satisfied (step 3717). ).
【0219】さらに、プログラム制御種別を詳しく判定
すると、条件(論理積)が成立する(ステップ373
4)。When the program control type is determined in detail, the condition (logical product) is satisfied (step 373).
4).
【0220】次に、「(1)次のいずれかである。」の
文情報ノード3327との「(2)口座番号が数字であ
る。」の文情報ノード3328の間に条件(論理積)の
線3329を張る(ステップ3735)。Next, a condition (logical product) is placed between the sentence information node 3327 of “(1) Either of the following.” And the sentence information node 3328 of “(2) Account number is a number.” (Step 3735).
【0221】次に、子の文情報ノード前アドレスに文の
解析を終了した「(2)口座番号が数字である。」の文
情報ノード3328をセットする(ステップ371
9)。Next, the sentence information node 3328 of “(2) Account number is a number” whose sentence analysis has been completed is set to the child sentence information node previous address (step 371).
9).
【0222】このとき、有向グラフ展開エリア2010
の内容は図42(b)に示す状態になり、文情報として
「(2)口座番号が数字である。」が条件(論理積)の
文情報ノード3328として作成され、「(1)次のい
ずれかである。」の文情報ノード3327と「(2)口
座番号が数字である。」の文情報ノード3328の間に
条件(論理積)の線3329が張られる。[0222] In this case, a directed graph deployment area 2010
42 (b), "(2) Account number is a number" is created as sentence information node 3328 of the condition (logical product) as sentence information, and "(1) Next A line 3329 of a condition (logical product) is provided between the sentence information node 3327 of "either." And the sentence information node 3328 of "(2) Account number is a number."
【0223】次に、仕様書データ展開エリア2004よ
り、「(2)口座番号が数字である。」3309の次の
文レコードを1レコード読み込む(ステップ352
0)。Next, from the specification data development area 2004, one record is read from the statement record next to “(2) Account number is a number” 3309 (step 352).
0).
【0224】次に、文があるかの判定を行なうと、該当
する文がないために、文の読み込みループの処理を抜け
る(ステップ3521)。Next, when it is determined whether there is a sentence, since there is no corresponding sentence, the process exits the sentence reading loop (step 3521).
【0225】次に、子の文情報ノード先頭アドレスに記
憶しておいた「(1)次のいずれかである。」の文情報
ノード3327のアドレスを返す(ステップ352
2)。Next, the address of the sentence information node 3327 of "(1) Any of the following" stored in the head address of the child sentence information node is returned (step 352).
2).
【0226】以上の手順で、再帰呼び出しの呼び出し元
に戻り、一時的に保留していた「(2)下記の全てであ
る」3305の処理を続行する。With the above procedure, the process returns to the caller of the recursive call, and the process of “(2) All of the following” 3305 temporarily held is continued.
【0227】処理は、箇条書文章解析を再帰的に呼び出
した直後より開始する(ステップ3525)。The processing is started immediately after recursively calling the itemized sentence analysis (step 3525).
【0228】次に、読み込んだ「(2)下記の全てであ
る」3305の文レコードからプログラムの制御種別を
獲得する(ステップ3607)。Next, the control type of the program is acquired from the read statement record of “(2) All of the following” 3305 (step 3607).
【0229】次に、獲得したプログラムの制御種別を判
定するが、「(2)下記の全てである」3305は条件
属性に該当するため、「プログラムの制御種別=条件」
の「Y」の条件が成立し、条件属性の処理を行なう(ス
テップ3609)。文情報ノードのカレントポインタし
て、箇条書文章解析を再帰的に呼び出したときの戻り値
の「(1)次のいずれかである。」の文情報ノード33
27をセットする(ステップ3626)。Next, the control type of the acquired program is determined. Since “(2) All of the following” 3305 corresponds to the condition attribute, “program control type = condition”
Is satisfied, and the condition attribute is processed (step 3609). The sentence information node 33 of “(1) Any of the following” of the return value when the item text analysis is recursively called as the current pointer of the sentence information node.
27 is set (step 3626).
【0230】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は「(1)日付が暦日である。」の文情報ノード33
21がセットされているため、子の文情報ノード前アド
レス=NULLとなり「N」の条件が成立する(ステッ
プ3713)。Next, the address before the child sentence information node is NU.
When the LL is determined, the child sentence information node previous address value is "(1) Date is a calendar day."
Since 21 is set, the child sentence information node previous address = NULL, and the condition of "N" is satisfied (step 3713).
【0231】次に、親の文の文情報ノードの種別を判定
すると、「下記の全てである。」3301の文情報は条
件属性に該当するため、プログラム制御種別=条件の
「Y」が成立する(ステップ3517)。さらに、プロ
グラム制御種別を詳しく判定すると条件(論理積)が成
立する(ステップ3734)。Next, when the type of the sentence information node of the parent sentence is determined, since the sentence information of “all of the following” 3301 corresponds to the condition attribute, the program control type = condition “Y” is satisfied. (Step 3517). Further, when the program control type is determined in detail, the condition (logical product) is satisfied (step 3734).
【0232】次に、「(1)日付が暦日である。」の文
情報ノード3321、「(2)日付が空白である。」)
の文情報ノード3322と「(1)次のいずれかであ
る。」の文情報ノード3327の間に条件(論理積)の
線3330,3331を張る(ステップ3735)。Next, the sentence information node 3321 of “(1) Date is a calendar date”, “(2) Date is blank”.
Lines 3330 and 3331 for conditions (logical product) are set up between the sentence information node 3322 of “1” and the sentence information node 3327 of “(1) One of the following” (step 3735).
【0233】次に、子の文情報ノード前ポインタに文の
解析を終了した「(1)次のいずれかである。」の文情
報ノード3327をセットする(ステップ3719)。Next, the sentence information node 3327 of “(1) Either of the following” is set to the child sentence information node previous pointer (step 3719).
【0234】このとき、有向グラフ展開エリア2010
の内容は図43(b)に示す状態になり、「(1)日付
が暦日である。」の文情報ノード3321、「(2)日
付が空白である。」)の文情報ノード3322と
「(1)次のいずれかである。」の文情報ノード332
7の間に条件(論理積)が張られる。[0234] In this case, a directed graph deployment area 2010
43 (b), the sentence information node 3321 of "(1) Date is a calendar date." And the sentence information node 3322 of "(2) Date is blank." Sentence information node 332 of “(1) One of the following.”
7, a condition (logical product) is set.
【0235】以降は、次に、仕様書データ展開エリア2
004より、「(2)下記の全てである」3305の次
の文レコードを1レコード読み込む(ステップ352
0)。Thereafter, the specification data development area 2
From 004, one record is read from the statement record next to “(2) All of the following” 3305 (step 352).
0).
【0236】次に、文があるかの判定を行なうと、該当
する文がないために、文の読み込みループの処理を抜け
る(ステップ3521)。Next, when it is determined whether there is a sentence, since there is no corresponding sentence, the process exits the sentence reading loop (step 3521).
【0237】次に、子の文情報ノード先頭アドレスに記
憶しておいた「(1)日付が暦日である。」の文情報ノ
ード3321のアドレスを返す(ステップ3522)。Next, the address of the sentence information node 3321 of “(1) Date is a calendar date” stored in the head address of the child sentence information node is returned (step 3522).
【0238】以上の手順で、再帰呼び出しの呼び出し元
に戻り、一時的に保留していた「下記の全てである」3
301の処理を続行する。With the above procedure, the process returns to the caller of the recursive call, and the “all of the following” 3
The processing of 301 is continued.
【0239】次に、読み込んだ「下記の全てである。」
3301の文レコードからプログラムの制御種別を獲得
する(ステップ3607)。Next, the read "All of the following."
The control type of the program is acquired from the statement record of 3301 (step 3607).
【0240】処理は、箇条書文章解析を再帰的に呼び出
した直後より開始する(ステップ3523)。The processing is started immediately after recursively calling the itemized sentence analysis (step 3523).
【0241】次に、獲得したプログラムの制御種別を判
定する。「下記の全てである。」3301は条件属性に
該当するため、「プログラムの制御種別=条件」の
「Y」の条件が成立し、条件属性の処理を行なう(ステ
ップ3609)。文情報ノードのカレントポインタし
て、箇条書文章解析を再帰的に呼び出したときの戻り値
の「(1)日付が暦日である。」の文情報アドレス33
21をセットする(ステップ3626)。Next, the control type of the acquired program is determined. Since “All of the following” 3301 corresponds to the condition attribute, the condition of “Y” of “program control type = condition” is satisfied, and the condition attribute is processed (step 3609). The sentence information address 33 of the return value "(1) Date is a calendar date" when the item text analysis is recursively called with the current pointer of the sentence information node.
21 is set (step 3626).
【0242】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は未設定のため、子の文情報ノード前アドレス=NU
LLとなり「Y」の条件が成立する(ステップ371
3)。Next, the address before the child sentence information node is NU.
When it is determined whether the LL is the LL, the previous sentence information node address value is not set, and thus the previous sentence information node address of the child is NU.
LL, and the condition of “Y” is satisfied (step 371).
3).
【0243】子の文情報ノード先頭アドレスに「(1)
日付が暦日である。」3303の文情報ノードをセット
し、子の文情報ノード先頭アドレスとして記憶する(ス
テップ3731)。In the head address of the child statement information node, “(1)
The date is a calendar day. The sentence information node of "3303" is set and stored as a child sentence information node head address (step 3731).
【0244】子の文情報ノード前アドレスに文の解析を
終了した「(1)日付が暦日である。」3303の文情
報ノードをセットする(ステップ3519)。The sentence information node of “(1) Date is a calendar date” 3303, for which the sentence analysis has been completed, is set to the child sentence information node previous address (step 3519).
【0245】次に、仕様書データ展開エリア2004よ
り、「下記の全てである」3301の次の文レコードを
1レコード読み込む(ステップ3520)。Next, one sentence record next to “all of the following” 3301 is read from the specification data development area 2004 (step 3520).
【0246】次に、文があるかの判定を行なうと、該当
する文がないために、文の読み込みループの処理を抜け
る(ステップ3521)。次に、子の文情報ノード先頭
アドレスに記憶しておいた「(1)日付が暦日であ
る。」の文情報ノード3321のアドレスを返す(ステ
ップ3522)。Next, when it is determined whether there is a sentence, since there is no corresponding sentence, the process exits the sentence reading loop (step 3521). Next, the address of the sentence information node 3321 of "(1) Date is a calendar date" stored in the child sentence information node head address is returned (step 3522).
【0247】以上の手順でプログラムの制御を表す有向
グラフが作成される。With the above procedure, a directed graph representing the control of the program is created.
【0248】図52〜図55に箇条書された文章330
0から作成された有向グラフ3320を元に実際にソー
スを生成する手順を示す。また、図44〜図45に生成
過程を順に示す。このうち、図44と図45とで生成過
程の全貌を概略的に示し、図46〜図51で各過程を詳
しく示している。The sentence 330 itemized in FIGS.
Demonstrate the procedure for generating a source a directed graph 3320 created from 0 to the original. 44 to 45 sequentially show the generation process. Among them, FIGS. 44 and 45 schematically show the whole of the generation process, and FIGS. 46 to 51 show each process in detail.
【0249】まず、各文に対応して作成するソース中に
記述されるソース生成規則は、次の4つの種類の規則に
分けることができる。[0249] First, the source generation rules are described in a source to be created corresponding to each sentence can be divided into the following four types of rules.
【0250】1.箇条書展開規則 箇条書された文章からソースを展開するための規則であ
り、箇条書された文が連続して続く場合は%で指定され
た位置に親の文を繰り返し展開し、そうでない場合は、
#S〜#Eで指定された範囲を展開する。[0250] 1. Bullet expansion rule This rule is used to expand the source from the bulleted text. If the bulleted text continues, the parent text is repeatedly expanded to the position specified by%, otherwise,
The range specified by #S to #E is expanded.
【0251】2.文展開規則 箇条書された文を修飾する文を展開するための規則であ
り、&NEXTで表した位置に該当する文のソース生成
規則を展開する。[0251] 2. Sentence expansion rule This is a rule for expanding a sentence that qualifies the itemized sentence, and expands a source generation rule of the sentence corresponding to the position represented by & NEXT.
【0252】3.修飾展開規則 修飾文を展開するための規則であり、〔〜〕は該当する
修飾文が単独で使用された場合に生成するソース生成を
表し、{〜}は該当する修飾文が最後の修飾文の場合に
ソース生成をしない範囲を表す。[0252] 3. Modification expansion rules These are rules for expanding the qualification statement. [~] Indicates the source generation generated when the relevant qualification statement is used alone, and {-{indicate the corresponding qualification statement is the last qualification statement. In the case of, it represents the range where the source is not generated.
【0253】4.用語展開規則 文中の「〜」の中に記述された用語の内容を展開するた
めの規則であり、$1〜$99で表し、番号で指定され
た用語の情報を展開することを表す。[0253] 4. Term expansion rule This is a rule for expanding the content of the term described in "-" in the sentence. It is expressed by $ 1 to $ 99, and indicates that information of the term specified by the number is expanded.
【0254】図52、図53は箇条書文章ソース生成の
フローチャート、図54は式展開のフローチャート、図
55は文展開のフローチャートを表す。FIGS. 52 and 53 are flowcharts for generating a paragraph sentence source, FIG. 54 is a flowchart for formula expansion, and FIG. 55 is a flowchart for sentence expansion.
【0255】最初に、「日付が暦日である」の文情報ノ
ード3321の処理を行なう手順をフローチャートを用
いて説明する。First, the procedure for performing the processing of the sentence information node 3321 of “date is a calendar day” will be described with reference to a flowchart.
【0256】図52、図53の箇条書文章ソース生成の
フローチャートでは、入力データ5701として、有向
グラフの最初の「日付が暦日である」の文情報ノード3
321より処理を開始する。In the flowchart for generating the itemized sentence source shown in FIGS. 52 and 53, the sentence information node 3 of the first “date is a calendar day” in the directed graph is used as the input data 5701.
The processing is started from 321.
【0257】最初に、「日付が暦日である」の文情報ノ
ード3321の情報を元にプログラムの制御種別を獲得
し、条件(論理和)属性を持つことから「下記のいずれ
かである。」のソース生成規則2350,2360を文
章・用語データ検索モジュール2008を使用してし獲
得する。この時に条件(論理和)の線がある場合には、
ソース生成規則の後半部分2360を「下記の全てであ
る。」のソース生成規則の前半部分2250に置き換え
てソース生成規則として読み込む(ステップ570
2)。First, the control type of the program is acquired based on the information of the sentence information node 3321 of “date is a calendar day” and has a condition (logical sum) attribute. Using the sentence / term data search module 2008. If there is a condition (logical sum) line at this time,
The latter part 2360 of the source generation rule is replaced with the former part 2250 of the source generation rule of “all of the following.” And read as the source generation rule (step 570).
2).
【0258】次に、読み込んだソース生成規則を1つづ
つ獲得し、最初の「&NEXT」4510を獲得する
(ステップ5703)。Next, the read source generation rules are obtained one by one, and the first “& NEXT” 4510 is obtained (step 5703).
【0259】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、横ソース生成規
則獲得ループの中の処理を行なう(ステップ570
4)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, a process in a horizontal source generation rule acquisition loop is performed (step 570).
4).
【0260】続いて、獲得したソース生成規則の種別の
判定を行なうと、「&NEXT」4510は文展開規則
に該当するため、ソース生成規則=文展開規則の判定で
「Y」が成立し、文展開規則の処理を行なう(ステップ
5706)。Subsequently, when the type of the acquired source generation rule is determined, since “& NEXT” 4510 corresponds to the sentence expansion rule, “Y” is satisfied in the determination of source generation rule = sentence expansion rule, and Processing of an expansion rule is performed (step 5706).
【0261】次に「日付が暦日である」3303の属性
を判定すると、修飾属性に該当するため、文属性=修飾
展開の判定で「Y」が成立し、修飾展開の処理を行なう
(ステップ5729)。Next, when the attribute of “date is a calendar day” 3303 is determined, since it corresponds to the decoration attribute, “Y” is established in the determination of sentence attribute = modification expansion, and the processing of the decoration expansion is performed (step). 5729).
【0262】次に、「日付が暦日である」3303のソ
ース生成規則2950を展開するために「日付が暦日で
ある」の文情報ノード3321の処理の処理を一時的に
保留し、「日付が暦日である」3303のソース生成規
則名を渡し修飾展開を呼び出す(ステップ5743)。Next, in order to expand the source generation rule 2950 of “date is calendar date” 3303, the processing of the statement information node 3321 of “date is calendar date” is temporarily suspended, and “ The source generation rule name of “Date is a calendar day” 3303 is passed and the qualified expansion is called (step 5743).
【0263】図55の文展開のフローチャートでは、入
力データ6001として「日付が暦日である」3303
のソース生成規則名を受け取る。「日付が暦日である」
のソース生成規則2950を文章・用語データ検索モジ
ュール2008を使用して獲得する(ステップ600
2)。In the sentence development flowchart of FIG. 55, “date is a calendar day” 3303 as input data 6001
Receives the source production rule name of. "The date is a calendar day"
Is obtained using the sentence / term data search module 2008 (step 600).
2).
【0264】次に、読み込んだソース生成規則を1つづ
つを獲得し、最初の「CALL’REKI_CHK’U
SING $1 R_CODE」4520を獲得する
(ステップ6003)。Next, the read source generation rules are acquired one by one, and the first “CALL'REKI_CHK'U
SING # 1 R_CODE "4520 is obtained (step 6003).
【0265】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には文ソース生成規則
獲得ループの中の処理を行なう(ステップ6004)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, a process in a statement source generation rule acquisition loop is performed (step 6004).
【0266】続いて、獲得したソース生成規則の種別の
判定を行なうと、「$1」は文展開規則に該当するた
め、ソース生成規則=用語展開規則の判定で「Y」が成
立し、用語展開規則の処理を行なう(ステップ600
7)。Subsequently, when the type of the acquired source generation rule is determined, since “$ 1” corresponds to the sentence expansion rule, “Y” is satisfied in the determination of source generation rule = term expansion rule, and Process expansion rules (step 600)
7).
【0267】次に、用語展開規則では、「〜が暦日であ
る」4531の「日付」4532の部分が置き換える規
則に該当するため、「CALL’REKI_CHK’U
SING $1 R_CODE」の「$1」の部分を
「日付」4532に対応する「DATE」4599で置
き換える(ステップ6018)。Next, the term expansion rule corresponds to a rule that replaces the “date” 4532 part of “is a calendar day” 4531, so “CALL'REKI_CHK'U
The “$ 1” part of SING $ 1 R_CODE is replaced with “DATE” 4599 corresponding to “date” 4532 (step 6018).
【0268】次に、「END−CALL」4533、
「IF(R_CODE=0)」4534のソース生成規
則は該当する規則がないため、そのままソースに出力さ
れる(ステップ6008)。Next, “END-CALL” 4533,
The source generation rule of “IF (R_CODE = 0)” 4534 has no corresponding rule, and is thus output directly to the source (step 6008).
【0269】次のソース生成規則はないため、修飾ソー
ス生成規則獲得ループを抜け、文展開のフローチャート
を終了する(ステップ6010)。ここまでで生成され
るソースは下記のようになる。Since there is no next source generation rule, the process exits the qualified source generation rule acquisition loop and ends the sentence expansion flowchart (step 6010). The source generated so far is as follows.
【0270】CALL′REKI_CHK’USING
DATE R_CODE END−CALL IF(R_CODE=0) これを図46では、符号5270で示している。CALL'REKI_CHK'USING
DATE R_CODE END-CALL IF (R_CODE = 0) This is indicated by reference numeral 5270 in FIG.
【0271】「日付が暦日である」3303の文展開を
終了したことにより、処理を一時的に保留していた箇条
書文章ソース生成より処理を開始する。処理は、文展開
を呼び出した位置より開始される(ステップ574
3)。[0271] When the sentence development of "Date is a calendar day" 3303 is completed, the processing is started from the generation of the paragraph document source for which the processing is temporarily suspended. The processing is started from the position where the sentence expansion is called (step 574).
3).
【0272】次の「THEN」4535のソース生成規
則は該当する規則がないため、そのままソースに出力さ
れる(ステップ5707)。ここまでで生成されるソー
スは下記のようになる。The source generation rule of the next “THEN” 4535 has no corresponding rule, and is output to the source as it is (step 5707). The source generated so far is as follows.
【0273】THENこれを図46では、符号5271
で示している。In FIG. 46, this is denoted by reference numeral 5271.
Indicated by.
【0274】次の「%%」4536は箇条書展開規則に
該当するため、ソース生成規則=箇条書展開規則の判定
で「Y」が成立し、箇条書展開規則の処理を行なう(ス
テップ5705)。Since the next “%%” 4536 corresponds to the item development rule, “Y” is satisfied in the determination of the source generation rule = item development rule, and the item development rule is processed (step 5705).
【0275】次に、横方向のノードの有無を判定すると
「次のいずれかである。」の文情報ノード3327が存
在するため、「横方向のノード=あり」で「Y」の条件
が成立し、箇条書展開の処理を行なう(ステップ571
8)。Next, when it is determined whether or not there is a node in the horizontal direction, the statement information node 3327 of “any of the following” exists, so that the condition of “Y” is satisfied with “horizontal node = present”. Then, the item is expanded (step 571).
8).
【0276】次に、「次のいずれかである。」3306
のソース生成規則を展開するために「日付が暦日であ
る」の文情報ノード3321の処理を一時的に保留し、
入力データ5701として「次のいずれかである。」の
文情報ノード3327を渡し、箇条書文章ソース生成を
再帰的に呼び出す(ステップ5722)。Next, “any of the following” 3306
Temporarily expands the processing of the sentence information node 3321 of “date is a calendar day” to expand the source generation rule of
A sentence information node 3327 of “any of the following” is passed as the input data 5701, and the generation of the itemized text source is recursively called (step 5722).
【0277】箇条書文章ソース生成を再帰的に呼出した
ことにより新たにフローチャートの先頭から処理が開始
される。このときの入力データ5701として「次のい
ずれかである。」の文情報ノード3327を入力データ
として獲得する。The process is newly started from the beginning of the flowchart by recursively calling the generation of the paragraph text source. At this time, a sentence information node 3327 of “any of the following” is obtained as input data 5701.
【0278】最初に、「次のいずれかである。」の文情
報ノード3327の情報を元にプログラムの制御種別を
獲得し、条件(論理積)属性を持つことから「下記のい
ずれかである。」のソース生成規則2350,2360
を文章・用語データ検索モジュール2008を使用して
し獲得し、ソース生成規則として読み込む(ステップ5
702)。First, the control type of the program is acquired based on the information of the statement information node 3327 of “any one of the following.” Since it has a condition (logical product) attribute, “one of the following: Source generation rules 2350, 2360
Is acquired using the sentence / term data retrieval module 2008 and is read as a source generation rule (step 5).
702).
【0279】次に、読み込んだソース生成規則を1つづ
つソース生成規則を獲得し、最初の「&NEXT」52
13を獲得する(ステップ5703)。Next, a source generation rule is acquired for each of the read source generation rules one by one, and the first “& NEXT” 52
13 is acquired (step 5703).
【0280】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、横ソース生成規
則獲得ループの中の処理を行なう(ステップ570
4)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, a process in a horizontal source generation rule acquisition loop is performed (step 570).
4).
【0281】続いて、獲得したソース生成規則の種別の
判定を行なうと、「&NEXT」5213は文展開規則
に該当するため、ソース生成規則=文展開規則の判定で
「Y」が成立し、文展開規則の処理を行なう(ステップ
5706)。Subsequently, when the type of the acquired source generation rule is determined, since “& NEXT” 5213 corresponds to the sentence expansion rule, “Y” is satisfied in the determination of source generation rule = sentence expansion rule, and Processing of an expansion rule is performed (step 5706).
【0282】次に「次のいずれかである。」3306の
属性を判定すると、式属性に該当するために文属性=式
展開の判定で「Y」が成立し、式展開の処理を行なう
(ステップ5727)。Next, when the attribute of “any of the following” 3306 is determined, since it corresponds to the expression attribute, “Y” is established in the determination of statement attribute = expression expansion, and the expression expansion process is performed ( Step 5727).
【0283】次に、「次のいずれかである。」3306
のソース生成規則を展開するために「次のいずれかであ
る。」の文情報ノード3327の処理を一時的に保留
し、入力データ5901として、「口座種別が普通であ
る。」の文情報ノード3324を渡し、式展開を呼び出
す(ステップ5726)。Next, “any of the following” 3306
In order to expand the source generation rule, the process of the sentence information node 3327 of “any of the following.” Is temporarily suspended, and as the input data 5901, the sentence information node of “the account type is normal”. 3324 is passed, and expression expansion is called (step 5726).
【0284】図54の式展開のフローチャートでは、入
力データ5901として「口座種別が普通である。」の
文情報ノード3324を受け取る。In the expression expansion flowchart of FIG. 54, a sentence information node 3324 of “account type is ordinary” is received as input data 5901.
【0285】次に、「次のいずれかである。」のソース
生成規則2450を文章・用語データ検索モジュール2
008を使用してし獲得する(ステップ5902)。Next, the source / generating rule 2450 of “any of the following.”
008 and obtain (step 5902).
【0286】次に、読み込んだソース生成規則を1つづ
つ獲得し、最初の「〔IF(〕(&NEXT){OR}
%%〔)〕」4537を獲得する(ステップ590
3)。Next, the read source generation rules are acquired one by one, and the first "[IF (] (& NEXT) {OR}
%% [)] "4537 (step 590)
3).
【0287】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、式ソース生成規
則獲得ループの中の処理を行なう(ステップ590
4)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, processing in an expression source generation rule acquisition loop is performed (step 590).
4).
【0288】続いて、獲得したソース生成規則の種別の
判定を行なうと、「〔IF(〕」は修飾展開規則に該当
するため、ソース生成規則=修飾展開規則の判定で
「Y」が成立し、修飾展開規則の処理を行なう(ステッ
プ5907)。Subsequently, when the type of the acquired source generation rule is determined, since "[IF (]""corresponds to the modification expansion rule," Y "is satisfied in the determination of source generation rule = modification expansion rule. Then, the processing of the modification expansion rule is performed (step 5907).
【0289】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ592
1)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 592).
1).
【0290】次に、「次のいずれかである。」の式がネ
ストして記述されているかの判定を行なうと、ネストし
て記述されていないために「ネストあり」の判定で
「N」が成立し、文展開規則の処理を行なう(ステップ
5926)。Next, when it is determined whether or not the expression “any of the following” is nested and described, it is determined that the expression “nested” exists because the expression is not nested and described. If the determination is "N", the sentence expansion rule is processed (step 5926).
【0291】〔〜〕の範囲の展開処理を行なうので「I
F(」をソースに出力する(ステップ5927)。Since expansion processing in the range of [-] is performed,
F () is output to the source (step 5927).
【0292】次に、「(」のソース生成規則は該当する
規則がないため、そのままソースに出力される(ステッ
プ5909)。Next, since the source generation rule of “(” has no corresponding rule, it is directly output to the source (step 5909).
【0293】次に、「&NEXT」は文展開規則に該当
するため、ソース生成規則=文展開規則の判定で「Y」
が成立し、文展開規則の処理を行なう(ステップ590
6)。次に「口座種別が普通である。」3324の属性
を判定すると、修飾属性に該当するため、文属性=修飾
展開の判定で「Y」が成立し、修飾展開の処理を行なう
(ステップ5914)。Next, since “& NEXT” corresponds to the sentence expansion rule, the source generation rule = “Y” in the judgment of the sentence expansion rule.
Holds, and the processing of the sentence expansion rule is performed (step 590).
6). Next, when the attribute of “account type is ordinary.” 3324 is determined, since the attribute is a qualified attribute, “Y” is established in the determination of sentence attribute = qualified development, and a qualified development process is performed (step 5914). .
【0294】次に、「口座種別が普通である。」330
7のソース生成規則を展開するために「次のいずれかで
ある。」の文情報ノード3327をの処理を一時的に保
留し、「口座種別が普通である。」3307のソース生
成規則名を渡し、修飾展開を呼び出す(ステップ591
5)。Next, "the account type is normal" 330
7, the processing of the sentence information node 3327 of “any of the following.” Is temporarily suspended, and the source generation rule name of “account type is normal.” Handover and call for a qualified expansion (step 591
5).
【0295】図55の文展開のフローチャートでは、入
力データ6001として「口座種別が普通である。」3
307のソース生成規則名を受け取る。「口座種別が普
通である。」のソース生成規則2850を文・用語デー
タ検索モジュール2008を使用して獲得する(ステッ
プ6002)。In the sentence expansion flowchart of FIG. 55, the input data 6001 is “account type is ordinary”.
The source generation rule name 307 is received. The source generation rule 2850 of “account type is normal” is obtained by using the sentence / term data retrieval module 2008 (step 6002).
【0296】次に、読み込んだソース生成規則を1つづ
つ獲得し、最初の「〔IF〕$1−$2〔)〕」453
8を獲得する(ステップ6003)。次に、ソース生成
規則があるかの判定を行ない、ソース生成規則がある場
合には、文ソース生成規則獲得ループの中の処理を行な
う(ステップ6004)。続いて、獲得したソース生成
規則の種別の判定を行なうと、〔IF(〕は修飾展開規
則に該当するため、ソース生成規則=修飾展開規則の判
定で「Y」が成立し、修飾展開規則の処理を行なう(ス
テップ6006)。Next, the read source generation rules are acquired one by one, and the first “[IF] $ 1- $ 2 [)]” 453 is obtained.
8 is acquired (step 6003). Next, it is determined whether there is a source generation rule. If there is a source generation rule, a process in a statement source generation rule acquisition loop is performed (step 6004). Subsequently, when the type of the acquired source generation rule is determined, [IF (] corresponds to the qualification expansion rule, so that “Y” is satisfied in the determination of source generation rule = qualification expansion rule, and Processing is performed (step 6006).
【0297】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
2)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = [〜], and processing of the expansion rule of [〜] is performed (step 601).
2).
【0298】次に、「口座種別が普通である。」330
7の式がネストして記述されているかの判定を行なうと
「次のいずれかである。」を親にネストして記述されて
いるため、「ネストあり」の判定で「Y」が成立し、
「IF(」の出力をスキップする(ステップ601
3)。Next, "the account type is normal" 330
When it is determined whether expression 7 is described in a nested manner, "any of the following" is nested in the parent, so that "Y" is satisfied in the determination of "nested". ,
Skip the output of "IF (" (step 601
3).
【0299】次に、獲得したソース生成規則の種別の判
定を行なうと、「$1」は用語展開規則に該当するため
に、ソース生成規則=用語展開規則の判定で「Y」が成
立し、用語展開規則の処理を行なう(ステップ600
7)。Next, when the type of the acquired source generation rule is determined, since “$ 1” corresponds to the term expansion rule, “Y” is established in the determination of source generation rule = term expansion rule, The term expansion rule is processed (step 600).
7).
【0300】次に、用語展開規則では、「〜が〜であ
る」2850の「口座種別」4539の部分が置き換え
る規則に該当するために「〔IF〕$1−$2〔)〕」
の「$1」の部分を「口座種別」4539に対応する
「KOUZA_CODE」4540で置き換える(ステ
ップ6018)。Next, in the term expansion rule, since the part of “account type” 4539 of “is is” is replaced by “[IF] $ 1- $ 2 [)]”
Is replaced with “KOUZA_CODE” 4540 corresponding to “account type” 4539 (step 6018).
【0301】次に、「=」のソース生成規則は該当する
規則がないため、そのままソースに出力される(ステッ
プ6008)。Next, since there is no corresponding rule for the source generation rule of "=", it is output to the source as it is (step 6008).
【0302】次に、「$2」は文展開規則に該当するた
めに、ソース生成規則=用語展開規則の判定で「Y」が
成立し、用語展開規則の処理を行なう(ステップ600
7)。Next, since “$ 2” corresponds to the sentence expansion rule, “Y” is established in the determination of the source generation rule = term expansion rule, and the term expansion rule is processed (step 600).
7).
【0303】次に、用語展開規則では、「〜が〜であ
る」2850の「普通」4541の部分が置き換える規
則に該当するために「〔IF〕$1−$2〔)〕」の
「$2」の部分を「普通」4541に対応する「’
0’」4542で置き換える(ステップ6018)。Next, in the term expansion rule, since the part of “normal” 4541 of “is is” 2850 falls under the rule to be replaced, “{IF} $ 1- {2 [)]” The part “2” is replaced by “′” corresponding to “normal” 4541.
0 ′ ”4542 (step 6018).
【0304】次に、〔)〕は修飾展開規則に該当するた
めに、ソース生成規則=修飾展開規則の判定で「Y」が
成立し、修飾展開規則の処理を行なう(ステップ600
6)。Next, [)] corresponds to the modification development rule, so that “Y” is established in the determination of the source generation rule = modification development rule, and the modification development rule is processed (step 600).
6).
【0305】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
2)。次に、「口座種別が普通である。」3307の式
がネストして記述されているかの判定を行なうと、「次
のいずれかである。」を親にネストして記述されている
ために「ネストあり」の判定で「Y」が成立し、「)」
の出力をスキップする(ステップ6013)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 601).
2). Next, the formula of “account type is normal.” 3307
Is nested, it is determined that “any of the following” is nested in the parent, so “Y” is satisfied in the determination of “nested” and “ ) "
Is skipped (step 6013).
【0306】次のソース生成規則はないため、文ソース
生成規則獲得ループを抜け文展開のフローチャートを終
了する(ステップ6010)。Since there is no next source generation rule, the process exits the statement source generation rule acquisition loop and ends the sentence expansion flowchart (step 6010).
【0307】ここまでで生成されるソースはKOUZA
_CODE=’0’となる。The source generated so far is KOUZA
_CODE = '0'.
【0308】「口座種別が普通である。」3307の文
展開を終了したことにより、処理を一時的に保留してい
た式展開の処理を開始する。処理は、文展開を呼び出し
た位置より開始される(ステップ5915)。[0308] By completing the sentence expansion of "Account type is normal." 3307, the processing of the expression expansion temporarily suspended is started. The processing is started from the position where the sentence expansion is called (step 5915).
【0309】次に、「)」のソース生成規則は該当する
規則がないため、そのままソースに出力される(ステッ
プ5909)。次の「{OR}」は修飾展開規則に該当
するためにソース生成規則=修飾展開規則の判定で
「Y」が成立し、修飾展開規則の処理を行なう(ステッ
プ5907)。Next, the source generation rule of ")" is directly output to the source because there is no corresponding rule (step 5909). Since the next “{OR}” corresponds to the qualification expansion rule, “Y” is established in the determination of the source generation rule = the qualification expansion rule, and the qualification expansion rule is processed (step 5907).
【0310】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別={〜}の判定で「Y」が成立
し、{〜}の展開規則の処理を行なう(ステップ592
2)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = {to}, and processing of the expansion rules of {to} is performed (step 592).
2).
【0311】次に、「口座種別が普通である。」330
7の次の文があるかの判定を行なうと、「口座種別が当
座である。」3308があるため、次の文ありの判定で
「Y」が成立し、{〜}の展開規則の処理を行なう(ス
テップ5918)。{〜}の範囲の展開処理を行なうで
「OR」をソースに出力する(ステップ5919)。さ
らに「%%」を読み込むと、箇条書展開規則に該当する
ためにソース生成規則=箇条書展開規則の判定で「Y」
が成立し、箇条書展開規則の処理を行なう(ステップ5
905)。Next, "Account type is normal" 330
When it is determined whether there is a sentence next to No. 7 because there is "Account type is current." Is performed (step 5918). "OR" is output to the source by performing the expansion processing in the range of (1) to (5). When "%%" is further read, the source generation rule = "Y" in the judgment of the item development rule because it corresponds to the item development rule
Holds, and the processing of the item expansion rule is performed (step 5).
905).
【0312】次に、ノード有りの判定を行うと「口座種
別が当座である。」3308が存在するため、ノード有
りの判定で「Y」が成立し式展開規則の処理を行う(ス
テップ5912)。Next, when it is determined that there is a node, "Y" is satisfied in the determination that there is a node, and the processing of the expression expansion rule is performed because "Account type is current" 3308 exists (step 5912). .
【0313】次に、「口座種別が当座である。」330
8のソース生成規則を展開するために「口座種別が普通
である。」の文情報ノード3324の処理を一時的に保
留し、「口座種別が当座である。」の文情報ノード33
25を渡し、式展開を再帰的に呼び出す(ステップ59
13)。Next, "the account type is immediate" 330
In order to expand the source generation rule of No. 8 , the processing of the sentence information node 3324 of "account type is normal." Is temporarily suspended, and the sentence information node 33 of "account type is immediate."
25 and recursively invoke expression expansion (step 59)
13).
【0314】式展開を再帰的にことにより新たにフロー
チャートの先頭から処理が開始される。The processing is newly started from the head of the flowchart by recursively performing the expression expansion.
【0315】このときの入力データとして「口座種別が
当座である。」の文情報ノード3325を入力データと
して獲得する。At this time, a sentence information node 3325 “Account type is current” is obtained as input data.
【0316】次に、「次のいずれかである。」のソース
生成規則2450を文章・用語データ検索モジュール2
008を使用してし獲得する(ステップ5902)。Next, the source / generating rule 2450 of “any of the following.”
008 and obtain (step 5902).
【0317】次に、読み込んだソース生成規則を1つづ
つ獲得し、最初の「〔IF(〕(&NEXT){OR}
%%〔)〕」4543を獲得する(ステップ590
3)。Next, the read source generation rules are acquired one by one, and the first “[IF (] (& NEXT) {OR}
%% [)] "4543 (step 590).
3).
【0318】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、式ソース生成規
則獲得ループの中の処理を行なう(ステップ590
4)。続いて、獲得したソース生成規則の種別の判定を
行なうと、「〔IF(〕」は修飾展開規則に該当するた
めに、ソース生成規則=修飾展開規則の判定で「Y」が
成立し、修飾展開規則の処理を行なう(ステップ590
7)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, processing in an expression source generation rule acquisition loop is performed (step 590).
4). Subsequently, when the type of the acquired source generation rule is determined, since “[IF (]” ”corresponds to the modification expansion rule,“ Y ”is established in the determination of source generation rule = modification expansion rule, and the modification is performed. The expansion rule is processed (step 590).
7).
【0319】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ592
1)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 592).
1).
【0320】次に、「口座種別が当座である。」330
8の式がネストして記述されているかの判定を行なう
と、「次のいずれかである。」を親にネストして記述さ
れているために「ネストあり」の判定で「Y」が成立
し、「IF(」の出力をスキップする(ステップ592
6)。Next, "the account type is immediate" 330
When it is determined whether the expression 8 is nested and described, "any of the following" is nested and described in the parent, so "Y" is satisfied in the determination of "nested". Then, the output of “IF (” is skipped (step 592).
6).
【0321】次に、「(」のソース生成規則は該当する
規則がないため、そのままソースに出力される(ステッ
プ5909)。Next, since the source generation rule of “(” does not have a corresponding rule, it is directly output to the source (step 5909).
【0322】次に、「&NEXT」は文展開規則510
5に該当するためにソース生成規則=文展開規則の判定
で「Y」が成立し、文展開規則の処理を行なう(ステッ
プ5906)。Next, “& NEXT” corresponds to the sentence expansion rule 510.
Since “5” is satisfied, “Y” is established in the determination of the source generation rule = sentence expansion rule, and the processing of the sentence expansion rule is performed (step 5906).
【0323】次に「口座種別が当座である。」3308
の属性を判定すると修飾属性に該当するために、文属性
=修飾展開の判定で「Y」が成立し、修飾展開の処理を
行なう(ステップ5914)。Next, “Account type is immediate.” 3308
Is determined to be a decoration attribute, "Y" is established in the determination of sentence attribute = modification expansion, and a decoration expansion process is performed (step 5914).
【0324】次に、「口座種別が当座である。」330
8のソース生成規則を展開するために「口座種別が当座
である。」の文情報ノード3325の処理を一時的に保
留し、「口座種別が当座である。」3308のソース生
成規則名を渡し、修飾展開を呼び出す(ステップ591
5)。Next, "the account type is immediate" 330
In order to expand the source generation rule of No. 8 , the processing of the sentence information node 3325 of “Account type is immediate” is temporarily suspended, and the source generation rule name of “Account type is immediate” 3308 is passed. , Call the expansion (step 591)
5).
【0325】図55の文展開のフローチャートでは、入
力データ6001として「口座種別が当座である。」3
308のソース生成規則名を受け取る。In the sentence expansion flowchart of FIG. 55, the input data 6001 is “Account type is immediate.” 3
A source generation rule name 308 is received.
【0326】「口座種別が当座である。」のソース生成
規則2850を文章・用語データ検索モジュール200
8を使用して獲得する(ステップ6002)。次に、読
み込んだソース生成規則を1つづつ獲得し、最初の
「〔IF)〕$1=$2〔)〕」4544を獲得する
(ステップ6003)。The source generation rule 2850 of “the account type is current” is set to the sentence / term data search module 200
8 (step 6002). Next, the read source generation rules are obtained one by one, and the first “[IF] $ 1 = $ 2 [)]” 4544 is obtained (step 6003).
【0327】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、文ソース生成規
則獲得ループの中の処理を行なう(ステップ600
4)。続いて、獲得したソース生成規則の種別の判定を
行なうと、〔IF(〕は修飾展開規則に該当するため
に、ソース生成規則=修飾展開規則の判定で「Y」が成
立し、修飾展開規則の処理を行なう(ステップ600
6)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, processing in a statement source generation rule acquisition loop is performed (step 600).
4). Subsequently, when the type of the acquired source generation rule is determined, [IF (] is a qualified expansion rule, so that “Y” is satisfied in the determination of the source generation rule = modified expansion rule, and the qualified expansion rule is satisfied. (Step 600)
6).
【0328】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
2)。Next, when the type of the source generation rule is acquired, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 601).
2).
【0329】次に、「口座種別が当座である。」330
7の式がネストして記述されているかの判定を行なう
と、「次のいずれかである。」を親にネストして記述さ
れているために「ネストあり」の判定で「Y」が成立
し、「IF(」の出力をスキップする(ステップ601
3)。Next, “the account type is immediate” 330
When it is determined whether the expression 7 is described in a nested manner, "Y" is established in the determination of "nested" because "any of the following" is nested and described in the parent. Then, the output of “IF (” is skipped (step 601).
3).
【0330】次に、獲得したソース生成規則の種別の判
定を行なうと、「$1」は用語展開規則に該当するため
に、ソース生成規則=用語展開規則の判定で「Y」が成
立し、用語展開規則の処理を行なう(ステップ600
7)。Next, when the type of the acquired source generation rule is determined, since “$ 1” corresponds to the term expansion rule, “Y” is established in the determination of source generation rule = term expansion rule, The term expansion rule is processed (step 600).
7).
【0331】次に、用語展開規則では、「〜が〜であ
る」のソース生成規則2850の「口座種別」の部分が
置き換える規則に該当するために「〔IF)〕$1=$
2〔)〕」の「$1」の部分を「口座種別」4545に
対応する「KOUZA_CODE」4546で置き換え
る(ステップ6018)。Next, in the term expansion rule, the rule [[IF)] {1 =} corresponds to the rule that replaces the “account type” part of the source generation rule 2850 of “is is”.
2 [)] ”is replaced with“ KOUZA_CODE ”4546 corresponding to“ account type ”4545 (step 6018).
【0332】次に、「=」のソース生成規則は該当する
規則がないため、そのままソースに出力される(ステッ
プ6008)。次に、「$2」は用語展開規則に該当す
るために、ソース生成規則=用語展開規則の判定で
「Y」が成立し、用語展開規則の処理を行なう(ステッ
プ6007)。Next, since the source generation rule of “=” has no corresponding rule, it is output to the source as it is (step 6008). Next, since “$ 2” corresponds to the term expansion rule, “Y” is established in the determination of the source generation rule = term expansion rule, and the term expansion rule is processed (step 6007).
【0333】次に、用語展開規則では、「〜が〜であ
る」のソース生成規則2850の「当座」の部分が置き
換え規則に該当するために「〔IF)〕$1=$
2〔)〕」の「$2」の部分を「当座」4547に対応
する「’1’」4548で置き換える(ステップ601
8)。Next, in the term expansion rule, “[IF]] {1 =} since the“ interim ”portion of the source generation rule 2850 of“ is is ”corresponds to the replacement rule.
2 [)] ”is replaced with“ 1 ”4548 corresponding to“ quick ”4547 (step 601).
8).
【0334】次に、〔)〕は修飾展開規則に該当するた
めに、ソース生成規則=修飾展開規則の判定で「Y」が
成立し、修飾展開規則の処理を行なう(ステップ600
6)。次に、ソース生成規則の種別を獲得するとソース
生成規則種別=〔〜〕の判定で「Y」が成立し、〔〜〕
の展開規則の処理を行なう(ステップ6012)。次
に、「口座種別が当座である。」3308の式がネスト
して記述されているかの判定を行なうと、「次のいずれ
かである。」を親にネストして記述されているために
「ネストあり」の判定で「Y」が成立し、「)」の出力
をスキップする(ステップ6013)。Next, since []] corresponds to the modification development rule, “Y” is satisfied in the determination of the source generation rule = modification development rule, and the modification development rule is processed (step 600).
6). Next, when the type of the source generation rule is acquired, “Y” is established in the determination of the source generation rule type = [〜], and [〜]
(Step 6012). Next, when it is determined whether the expression of “Account type is immediate” 3308 is described in a nested manner, it is determined that “any of the following” is nested in the parent. "Y" is satisfied in the determination of "nesting", and the output of ")" is skipped (step 6013).
【0335】次のソース生成規則はないため、ソース生
成規則獲得ループを抜け文展開のフローチャートを終了
する(ステップ6010)。Since there is no next source generation rule, the process exits the source generation rule acquisition loop and ends the flowchart of sentence expansion (step 6010).
【0336】ここまでで生成されるソースはKOUZA
_CODE=’1’となる。The source generated so far is KOUZA
_CODE = '1'.
【0337】次に、「口座種別が当座である。」330
8の文展開を終了したことにより、処理を一時的に保留
していた式展開の処理を開始する。処理は、文展開を呼
び出した位置より開始される(ステップ5915)。Next, "the account type is immediate" 330
By terminating the sentence expansion of No. 8, the processing of the expression expansion whose processing has been temporarily suspended is started. The processing is started from the position where the sentence expansion is called (step 5915).
【0338】次に、「)」のソース生成規則は該当する
規則がないため、そのままソースに出力される(ステッ
プ5909)。次の「{OR}」は修飾展開規則に該当
するため、ソース生成規則=修飾展開規則の判定で
「Y」が成立し、修飾展開規則の処理を行なう(ステッ
プ5907)。Next, the source generation rule of “)” is output to the source as it is because there is no corresponding rule (step 5909). Since the next “{OR}” corresponds to the qualification expansion rule, “Y” is established in the determination of the source generation rule = the qualification expansion rule, and the qualification expansion rule is processed (step 5907).
【0339】次に、「口座種別が当座である。」330
8の次の文があるかの判定を行なうと、次の文がないた
めに「次の文あり」の判定で「N」が成立し、「OR」
の出力をスキップする(ステップ5918)。さらに
「%%」は箇条書展開規則に該当するためにソース生成
規則=箇条書展開規則の判定で「Y」が成立し、箇条書
展開規則の処理を行なう(ステップ5905)。Next, "the account type is immediate" 330
When it is determined whether or not there is a next sentence of No. 8, since there is no next sentence, “N” is established in the determination of “next sentence” and “OR”
Is skipped (step 5918). Further, since “%%” corresponds to the item development rule, “Y” is established in the determination of the source generation rule = item development rule, and the item development rule is processed (step 5905).
【0340】次に、「口座種別が当座である。」330
8の次の文があるかの判定を行なうと、次の文がないた
めに次の文ありの判定で「N」が成立し、箇条書展開規
則の出力をスキップする(ステップ5912)。Next, "the account type is immediate" 330
When it is determined whether there is a next sentence of No. 8, since there is no next sentence, "N" is determined in the determination of the presence of the next sentence, and the output of the item development rule is skipped (step 5912).
【0341】「〔)〕」は修飾展開規則に該当するため
に、ソース生成規則=修飾展開規則の判定で「Y」が成
立し、修飾展開規則の処理を行なう(ステップ590
7)。次に、「口座種別が当座である。」3308の式
がネストして記述されているかの判定を行なうと、「次
のいずれかである。」を親にネストして記述されている
ために「ネストあり」の判定で「Y」が成立し、「)」
の出力をスキップする(ステップ5926)。Since “[]]” corresponds to the modification development rule, “Y” is established in the determination of the source generation rule = modification development rule, and the modification development rule is processed (step 590).
7). Next, when it is determined whether the expression of “Account type is immediate” 3308 is described in a nested manner, “any of the following” is nested in the parent and described. Therefore, "Y" is established in the determination of "nested" and ")"
Is skipped (step 5926).
【0342】次のソース生成規則はないためにソース生
成規則獲得ループを抜け式展開のフローチャートを終了
する(ステップ5911)。Since there is no next source generation rule, the flow chart of the expression expansion through the source generation rule acquisition loop is ended (step 5911).
【0343】ここまでで生成されるソースは(KOUZ
A_CODE=’1’)となる。The source generated so far is (KOUZ
A_CODE = '1').
【0344】「口座種別が当座である。」3308の式
展開を終了したことにより、処理を一時的に保留してい
た式展開の処理を開始する。処理は、文展開を呼び出し
た位置より開始される(ステップ5915)。[0344] After terminating the expression of "account type is immediate." 3308, the process of the expression development whose processing has been temporarily suspended is started. The processing is started from the position where the sentence expansion is called (step 5915).
【0345】次に、「)」のソース生成規則は該当する
規則がないため、そのままソースに出力される(ステッ
プ5909)。Next, the source generation rule of ")" is directly output to the source because there is no corresponding rule (step 5909).
【0346】「〔)〕」は修飾展開規則に該当するため
に、ソース生成規則=修飾展開規則の判定で「Y」が成
立し、修飾展開規則の処理を行なう(ステップ590
7)。Since “[]]” corresponds to the modification development rule, “Y” is satisfied in the determination of the source generation rule = modification development rule, and the modification development rule is processed (step 590).
7).
【0347】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ592
1)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 592).
1).
【0348】次に、「次のいずれかである。」の式がネ
ストして記述されているかの判定を行なうとネストして
記述されていないために「ネストあり」の判定で「N」
が成立し、修飾展開規則の処理を行なう(ステップ59
26)。Next, if it is determined whether the expression “any of the following” is described in a nested manner, since the expression is not nested and described, “N” is determined in the determination of “nested”.
Holds, and the processing of the modification expansion rule is performed (step 59).
26).
【0349】〔〜〕の範囲の展開処理を行なうの
で「)」をソースに出力する(ステップ5927)。Since expansion processing of [-] is performed, ")" is output to the source (step 5927).
【0350】次のソース生成規則はないためにソース生
成規則獲得ループを抜け、式展開のフローチャートを終
了する(ステップ5911)。Since there is no next source generation rule, the process exits the source generation rule acquisition loop and ends the expression expansion flowchart (step 5911).
【0351】IF((KOUZA_CODE=’0’)
OR(KOUZA_CODE=’1’))これを図46
では符号5272で示している。IF ((KOUZA_CODE = '0')
OR (KOUZA_CODE = '1'))
In FIG.
【0352】「次のいずれかである。」3305の文展
開を終了したことにより、処理を一時的に保留していた
箇条書文章ソース生成を開始する。処理は、式展開を呼
び出した位置より開始される(ステップ5726)。[0352] By completing the sentence development of "either of the following" 3305, the generation of the itemized sentence source for which the processing is temporarily suspended is started. The processing is started from the position where the expression expansion is called (step 5726).
【0353】次の「THEN」4535のソース生成規
則は該当する規則がないためにそのままソースに出力さ
れる(ステップ5707)。The source generation rule of the next “THEN” 4535 is directly output to the source because there is no corresponding rule (step 5707).
【0354】THENこれを図46では符号5273で
示している。This is indicated by reference numeral 5273 in FIG.
【0355】次の「%%」4536は箇条書展開規則に
該当するために、ソース生成規則=箇条書展開規則の判
定で「Y」が成立し、箇条書展開規則の処理を行なう
(ステップ5705)。Since the next “%%” 4536 corresponds to the item development rule, “Y” is satisfied in the determination of the source generation rule = item development rule, and the item development rule is processed (step 5705).
【0356】次に、横方向のノードの有無を判定する
と、「口座番号が数字である。」の文情報ノード332
8が存在するため、横方向のノード=ありで「Y」の条
件が成立し、箇条書展開の処理を行なう(ステップ57
22)。Next, when it is determined whether or not there is a node in the horizontal direction, the sentence information node 332 of “account number is a number”.
8 exists, the condition of "Y" is satisfied when the node in the horizontal direction is present, and the processing of item development is performed (step 57).
22).
【0357】次に、「口座番号が数字である。」330
9のソース生成規則を展開するために「次のいずれかで
ある。」の文情報ノード3327の処理を一時的に保留
し、入力データ5701として「口座番号が数字であ
る。」の文情報ノード3328を渡し、箇条書文章ソー
ス生成処理を再帰的に呼び出す。Next, "the account number is a number" 330
In order to expand the source generation rule of No. 9, the processing of the sentence information node 3327 of “any of the following.” Is temporarily suspended, and the sentence information node of “the account number is a number” as the input data 5701. 3328 is passed, and the itemized text source generation processing is recursively called.
【0358】箇条書文章ソース生成処理を再帰的に呼び
出したことにより、新たにフローチャートの先頭から処
理が開始される。このときの入力データとして「口座番
号が数字である。」の文情報ノード3328を入力デー
タとして獲得する。[0358] By recursively calling the itemized text source generation processing, the processing is newly started from the top of the flowchart. At this time, a sentence information node 3328 of “account number is a number” is obtained as input data.
【0359】最初に、「口座番号が数字である。」の文
情報ノード3328の情報を元にプログラムの制御種別
を獲得し、条件(論理積)属性を持つことから「下記の
全てである。」のソース生成規則2250,2260を
文章・用語データ検索モジュール2008を使用して獲
得する(ステップ5702)。First, the control type of the program is acquired based on the information of the sentence information node 3328 of “the account number is a number.” Since it has the condition (logical product) attribute, “all of the following. Are acquired using the sentence / term data retrieval module 2008 (step 5702).
【0360】次に、読み込んだソース生成規則を1つづ
つ獲得し、最初の「&NEXT」4549を獲得する。
次に、ソース生成規則があるかの判定を行ない、ソース
生成規則がある場合には、横ソース生成規則獲得ループ
の中の処理を行なう(ステップ5704)。続いて、獲
得したソース生成規則の種別の判定を行なうと、「&N
EXT」4549は文展開規則に該当するために、ソー
ス生成規則=文展開規則の判定で「Y」が成立し、文展
開規則の処理を行なう(ステップ5706)。Next, the read source generation rules are obtained one by one, and the first “& NEXT” 4549 is obtained.
Next, it is determined whether there is a source generation rule. If there is a source generation rule, a process in a horizontal source generation rule acquisition loop is performed (step 5704). Subsequently, when the type of the acquired source generation rule is determined, “& N
Since “EXT” 4549 corresponds to the sentence expansion rule, “Y” is established in the determination of the source generation rule = the sentence expansion rule, and the sentence expansion rule is processed (step 5706).
【0361】次に「口座番号が数字である。」3309
の属性を判定すると、式属性に該当するために、文属性
=修飾展開の判定で「Y」が成立し、修飾展開の処理を
行なう(ステップ5729)。Next, “Account number is a number” 3309
Is determined, the expression attribute is satisfied, so that "Y" is established in the determination of sentence attribute = modification expansion, and a modification expansion process is performed (step 5729).
【0362】次に、「口座番号が数字である。」330
9のソース生成規則を展開するために「口座番号が数字
である。」の文情報ノード3328の処理を一時的に保
留し、入力データ6001として、「口座番号が数字で
ある。」3309のソース生成規則名を渡し、文展開を
呼び出す(ステップ5743)。Next, "the account number is a number" 330
In order to develop the source generation rule of No. 9, the processing of the sentence information node 3328 of “Account number is a number” is temporarily suspended, and the source of “Account number is a number” 3309 as input data 6001. The generation rule name is passed, and sentence expansion is called (step 5743).
【0363】図54の文展開のフローチャートでは、入
力データ6001として「口座番号が数字である。」3
309のソース生成規則名を受け取る。In the sentence development flowchart of FIG. 54, “account number is a number.”
309 is received.
【0364】次に、「口座番号が数字である。」のソー
ス生成規則4450を文・用語データ検索モジュール2
008を使用して獲得する(ステップ6002)。Next, the source generation rule 4450 of “account number is a number.”
008 (step 6002).
【0365】次に、読み込んだソース生成規則を1つづ
つ獲得し、最初の「〔IF(〕$1=NUMERI
C〔)〕」4550を獲得する(ステップ6003)。
次に、ソース生成規則があるかの判定を行ない、ソース
生成規則がある場合には、文ソース生成規則獲得ループ
の中の処理を行なう(ステップ6004)。Next, the read source generation rules are acquired one by one, and the first “[IF () $ 1 = NUMERI”
C [)] ”4550 (step 6003).
Next, it is determined whether there is a source generation rule. If there is a source generation rule, a process in a statement source generation rule acquisition loop is performed (step 6004).
【0366】続いて、獲得したソース生成規則の種別の
判定を行なうと、「〔IF(〕」は修飾展開規則に該当
するために、ソース生成規則=修飾展開規則の判定で
「Y」が成立し、修飾展開規則の処理を行なう(ステッ
プ6006)。Subsequently, when the type of the acquired source generation rule is determined, since “[IF (]” ”corresponds to the modification expansion rule,“ Y ”is satisfied in the determination of source generation rule = modification expansion rule. Then, the processing of the modification expansion rule is performed (step 6006).
【0367】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
2)。Next, when the type of the source generation rule is acquired, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 601).
2).
【0368】次に、「口座番号が数字である。」330
9の式がネストして記述されているかの判定を行なう
と、ネストして記述されていないために「ネストあり」
の判定で「N」が成立し、文展開規則の処理を行なう
(ステップ6013)。〔〜〕の範囲の展開処理を行な
ので、「IF(」をソースに出力する(ステップ601
4)。Next, "the account number is a number" 330
When it is determined whether expression 9 is described in a nested manner, "nesting exists" because it is not described in a nested manner
"N" is established, and the processing of the sentence expansion rule is performed (step 6013). Since the expansion processing in the range of [-] is performed, "IF (" is output to the source (step 601).
4).
【0369】次に、獲得したソース生成規則の種別の判
定を行なうと、「$1」は用語展開規則に該当するため
に、ソース生成規則=用語展開規則の判定で「Y」が成
立し、用語展開規則の処理を行なう(ステップ600
7)。Next, when the type of the acquired source generation rule is determined, since “$ 1” corresponds to the term expansion rule, “Y” is established in the determination of source generation rule = term expansion rule, The term expansion rule is processed (step 600).
7).
【0370】次に、用語展開規則では、「〜が数字であ
る」5161の「口座番号」4551の部分が置き換え
る規則に該当するために「〔IF(〕$1=N UME
RIC〔)〕」の「$1」の部分を「口座番号」455
1に対応する「KOUZA_NO」4552で置き換え
る(ステップ6018)。Next, in the term expansion rule, since the "account number" 4551 part of "is a number" 5161 falls under the rule to be replaced, "[IF () @ 1 = N UME
RIC [)] ”is replaced with“ account number ”455
1 is replaced with “KOUZA_NO” 4552 (step 6018).
【0371】次に、「=N UMERIC」のソース生
成規則は該当する規則がないためにそのままソースに出
力する(ステップ6008)。「)〕」は文展開規則に
該当するために、ソース生成規則=修飾展開規則の判定
で「Y」が成立し、修飾展開規則の処理を行なう(ステ
ップ6006)。Next, the source generation rule of “= N UMERIC” is output to the source as it is because there is no corresponding rule (step 6008). Since “)]” corresponds to the sentence expansion rule, “Y” is established in the determination of source generation rule = qualification expansion rule, and processing of the expansion rule is performed (step 6006).
【0372】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
2)。次に、「口座番号が数字である。」の式がネスト
して記述されているかの判定を行なうと、ネストして記
述されていないために「ネストあり」の判定で「N」が
成立し、文展開規則の処理を行なう(ステップ601
3)。Next, when the type of the source generation rule is acquired, “Y” is established in the determination of the source generation rule type = [〜], and processing of the expansion rule of [〜] is performed (step 601).
2). Next, when it is determined whether or not the expression of “account number is a number” is described in a nested manner, “N” is satisfied in the determination of “nested” because the expression is not nested and described. Perform the processing of the sentence expansion rule (step 601)
3).
【0373】〔〜〕の範囲の展開処理を行なうで「)」
をソースに出力する(ステップ6014)。By performing the expansion processing in the range [-], ")" is used.
Is output to the source (step 6014).
【0374】次のソース生成規則はないためにソース生
成規則獲得ループを抜け、文展開のフローチャートを終
了する(ステップ6009)。Since there is no next source generation rule, the process exits the source generation rule acquisition loop and ends the sentence expansion flowchart (step 6009).
【0375】IF(KOUZA_NO=N UMERI
C) これを図46では符号5274で示している。IF (KOUZA_NO = N UMERI)
C) This is indicated by reference numeral 5274 in FIG.
【0376】「口座番号が数字である。」3309の文
展開を終了したことにより、処理を一時的に保留してい
た箇条書文章ソース生成を開始する。処理は、文展開を
呼び出した位置より開始される(ステップ5743)。[0376] By completing the sentence expansion of "Account number is a number." 3309, the generation of the paragraph sentence source whose processing has been temporarily suspended is started. The processing is started from the position where the sentence expansion is called (step 5743).
【0377】次の「THEN」4553のソース生成規
則は該当する規則がないためにそのままソースに出力さ
れる(ステップ5707)。The source generation rule of the next “THEN” 4553 is directly output to the source because there is no corresponding rule (step 5707).
【0378】THEN これを図46では符号5275で示している。This is indicated by reference numeral 5275 in FIG.
【0379】次の「%%」4554は箇条書展開規則に
該当するために、ソース生成規則=箇条書展開規則の判
定で「Y」が成立し、箇条書展開規則の処理を行なう
(ステップ5705)。Since the next “%%” 4554 corresponds to the item development rule, “Y” is satisfied in the judgment of the source generation rule = item development rule, and the item development rule is processed (step 5705).
【0380】次に、横方向のノードの有無を判定する
と、該当する文情報ノードが存在しないために横方向の
ノード=ありで「N」の条件が成立し、#S〜#Eの展
開の処理を行なう(ステップ5718)。Next, when it is determined whether or not there is a node in the horizontal direction, since there is no corresponding sentence information node, the condition of “N” is satisfied with the node in the horizontal direction = Yes, and the expansion of #S to #E Processing is performed (step 5718).
【0381】#S〜#Eの範囲の展開処理を行なうので
「@処理」をソースに出力する(ステップ5719)。Since the expansion processing in the range from #S to #E is performed, "$ processing" is output to the source (step 5719).
【0382】次のソース生成規則「#〉」4555は横
方向のソース生成規則の終了を表す記号であるために、
横方向ソース生成規則獲得ループを抜ける(ステップ5
709)。Since the next source generation rule “#>” 4555 is a symbol indicating the end of the horizontal source generation rule,
Exit the horizontal source generation rule acquisition loop (step 5)
709).
【0383】@処理 これを図46では符号5276で示している。{Processing} This is indicated by reference numeral 5276 in FIG.
【0384】さらに、読み込んだソース生成規則を1つ
づつ獲得する(ステップ5810)。Further, the read source generation rules are acquired one by one (step 5810).
【0385】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、縦ソース生成規
則獲得ループの中の処理を行なう(ステップ581
1)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, a process in a vertical source generation rule acquisition loop is performed (step 581).
1).
【0386】次に、「ELSE」、「CONTINU
E」、「END−IF」4556はすべて該当するソー
ス生成規則がないため、そのままソース中に出力される
(ステップ5815)。Next, “ELSE”, “CONTINU”
Since “E” and “END-IF” 4556 do not all have a corresponding source generation rule, they are directly output to the source (step 5815).
【0387】次のソース生成規則はないため、縦ソース
生成規則獲得ループを抜け箇条書文章ソース生成を終了
する(ステップ5817)。Since there is no next source generation rule, the process exits the vertical source generation rule acquisition loop and terminates the paragraph document source generation (step 5817).
【0388】ELSE CONTINUE END−IF これを図46では符号5278で示している。ELSE CONTINUE END-IF This is indicated by reference numeral 5278 in FIG.
【0389】「口座番号が数字である。」の箇条書文章
ソース生成を終了したことにより、処理を一時的に保留
していた「次のいずれかである」の文情報ノード332
7よりの箇条書文章ソース生成を開始する。[0389] After the generation of the itemized sentence source of the item "Account number is a number.", The sentence information node 332 of "any of the following" has been temporarily suspended.
7. Start generating the source of the paragraph text from step 7.
【0390】処理は、箇条書文章ソース生成を再帰的に
呼び出した直後から開始される(ステップ5722)。The processing is started immediately after recursively calling the generation of the itemized text source (step 5722).
【0391】次のソース生成規則「#〉」は横方向のソ
ース生成規則の終了を表す記号であるために、横方向ソ
ース生成規則獲得ループを抜ける(ステップ570
9)。Since the next source generation rule “#>” is a symbol indicating the end of the horizontal source generation rule, the process exits the horizontal source generation rule acquisition loop (step 570).
9).
【0392】さらに、読み込んだソース生成規則を1つ
づつ獲得する(ステップ5810)。Further, the read source generation rules are acquired one by one (step 5810).
【0393】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、縦ソース生成規
則獲得ループの中の処理を行なう(ステップ581
1)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, processing in a vertical source generation rule acquisition loop is performed (step 581).
1).
【0394】次に、「ELSE」、「CONTINU
E」、「END−IF」4598はすべて該当するソー
ス生成規則がないため、そのままソース中に出力される
(ステップ5815)。次のソース生成規則はないため
に縦ソース生成規則獲得ループを抜け、箇条書文章ソー
ス生成を終了する(ステップ5817)。Next, "ELSE", "CONTINU"
E "and" END-IF "4598 are not output to the source without any corresponding source generation rule (step 5815). Since there is no next source generation rule, the process exits the vertical source generation rule acquisition loop, and ends the generation of the paragraph document source (step 5817).
【0395】ELSE CONTINUE END−IF これを図46では符号5279で示している。ELSE CONTINUE END-IF This is indicated by reference numeral 5279 in FIG.
【0396】「次のいずれかである」の箇条書文章ソー
ス生成を終了したことにより、処理を一時的に保留して
いた「日付が暦日である。」の文情報ノード3321よ
り箇条書文章ソース生成を開始する。[0396] The generation of the itemized sentence source of the item "one of the following" is completed, and the generation of the itemized item source from the sentence information node 3321 of "the date is a calendar date." To start.
【0397】処理は、箇条書文章ソース生成を再帰的に
呼び出した直後から開始される(ステップ5722)。The processing is started immediately after recursively calling the generation of the itemized text source (step 5722).
【0398】次のソース生成規則「#〉」4557は横
方向のソース生成規則の終了を表す記号であるために、
横方向ソース生成規則獲得ループを抜ける(ステップ5
709)。さらに、読み込んだソース生成規則を1つづ
つ獲得する(ステップ5810)。Since the next source generation rule “#>” 4557 is a symbol indicating the end of the horizontal source generation rule,
Exit the horizontal source generation rule acquisition loop (step 5)
709). Further, the read source generation rules are acquired one by one (step 5810).
【0399】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には、縦ソース生成規
則獲得ループの中の処理を行なう(ステップ581
1)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, a process in a vertical source generation rule acquisition loop is performed (step 581).
1).
【0400】次に、「ELSE」4558は該当するソ
ース生成規則がないためにそままソース中に出力される
(ステップ5815)。Next, “ELSE” 4558 is output to the source as it is because there is no corresponding source generation rule (step 5815).
【0401】ELSE これを図46では符号5280で示している。次の「%
%」4559は箇条書展開規則に該当するために、ソー
ス生成規則=箇条書展開規則の判定で「Y」が成立し、
箇条書展開規則の処理を行なう(ステップ5812)。ELSE This is indicated by reference numeral 5280 in FIG. next"%
% ”4559 corresponds to the item development rule, so that“ Y ”is established in the determination of the source generation rule = the item development rule,
The item development rule is processed (step 5812).
【0402】次に、縦方向のノードの有無を判定すると
「日付が空白である。」の文情報ノード3322が存在
するため、縦方向のノード=ありで「Y」の条件が成立
し、箇条書展開の処理を行なう。Next, when it is determined whether there is a node in the vertical direction, since the sentence information node 3322 of “date is blank” exists, the condition of “Y” is satisfied when the node in the vertical direction is present, and Perform expansion processing.
【0403】次に、「日付が空白である。」3304の
ソース生成規則を展開するために「日付が暦日である」
の文情報ノード3321の処理を一時的に保留し、入力
データ5701として「日付が空白である。」の文情報
ノード3322を渡し、箇条書文章ソース生成を再帰的
に呼び出す。Next, to expand the source generation rule of “date is blank.” 3304, “date is a calendar date”
Temporarily suspend the processing of the sentence information node 3321, passes the statement information node 3322 of "date is blank." As the input data 5701, recursively call the bullet sentence source generation.
【0404】箇条書文章ソース生成を再帰的に呼び出し
たことにより、新たにフローチャートの先頭から処理が
開始される。このときの入力データとして「日付が空白
である。」の文情報ノード3322を入力データとして
獲得する。[0404] By recursively calling the generation of the itemized text source, the process is newly started from the top of the flowchart. At this time, a sentence information node 3322 of “date is blank” is obtained as input data.
【0405】最初に、「日付が空白である。」の文情報
ノード3322の情報を元にプログラムの制御種別を獲
得し、条件(論理積)属性を持つことから「下記の全て
である。」のソース生成規則2250,2260を文章
・用語データ検索モジュール2008を使用してし獲得
する(ステップ5702)。First, the control type of the program is acquired based on the information of the sentence information node 3322 of “date is blank.” Since it has a condition (logical product) attribute, “all of the following” The source generation rules 2250 and 2260 are obtained using the sentence / term data retrieval module 2008 (step 5702).
【0406】次に、読み込んだソース生成規則を1つづ
つ獲得し、最初の「&NEXT」4560を獲得する。
次に、ソース生成規則があるかの判定を行ない、ソース
生成規則がある場合には、横ソース生成規則獲得ループ
の中の処理を行なう(ステップ5704)。Next, the read source generation rules are obtained one by one, and the first “& NEXT” 4560 is obtained.
Next, it is determined whether there is a source generation rule. If there is a source generation rule, a process in a horizontal source generation rule acquisition loop is performed (step 5704).
【0407】続いて、獲得したソース生成規則の種別の
判定を行なうと、「&NEXT」4560は文展開規則
に該当するため、ソース生成規則=文展開規則の判定で
「Y」が成立し、文展開規則の処理を行なう(ステップ
5706)。次に「日付が空白である。」3304の属
性を判定すると、修飾属性に該当するため、文属性=修
飾展開の判定で「Y」が成立し、修飾展開の処理を行な
う(ステップ5729)。Subsequently, when the type of the acquired source generation rule is determined, since “& NEXT” 4560 corresponds to the sentence expansion rule, “Y” is satisfied in the determination of source generation rule = sentence expansion rule, and Processing of an expansion rule is performed (step 5706). Next, when the attribute of “date is blank.” 3304 is determined, it corresponds to the decoration attribute, so “Y” is established in the determination of sentence attribute = modification expansion, and the processing of decoration expansion is performed (step 5729).
【0408】次に、「日付が空白である。」3304の
ソース生成規則を展開するために「日付が空白であ
る。」の文情報ノード3322の処理を一時的に保留
し、入力データ6001として、「日付が空白であ
る。」3304のソース生成規則名を渡し、文展開を呼
び出す(ステップ5714)。Next, in order to expand the source generation rule of “date is blank” 3304, the processing of statement information node 3322 of “date is blank” is temporarily suspended, and as input data 6001 The source generation rule name of "date is blank." 3304 is passed, and the sentence expansion is called (step 5714).
【0409】図55の文展開のフローチャートでは、入
力データ6001として「日付が空白である。」330
4のソース生成規則名を受けとる。In the sentence expansion flowchart of FIG. 55, “date is blank” 330 as input data 6001.
4 is received.
【0410】「日付が空白である。」のソース生成規則
4561を文章・用語データ検索モジュール2008を
使用して獲得する(ステップ6002)。次に、読み込
んだソース生成規則を1つづつ獲得し、最初の「〔IF
(〕$1=SPACE〔)〕」4561を獲得する(ス
テップ6003)。The source generation rule 4561 “Date is blank” is obtained by using the sentence / term data retrieval module 2008 (step 6002). Next, the obtained source generation rules are acquired one by one, and the first "[IF
(] $ 1 = SPACE [)] ”4561 is acquired (step 6003).
【0411】次に、ソース生成規則があるかの判定を行
ない、ソース生成規則がある場合には文ソース生成規則
獲得ループの中の処理を行なう(ステップ6004)。
続いて、獲得したソース生成規則の種別の判定を行なう
と、「〔IF(〕」は修飾展開規則に該当するために、
ソース生成規則=修飾展開規則の判定で「Y」が成立
し、修飾展開規則の処理を行なう(ステップ600
6)。Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, a process in a statement source generation rule acquisition loop is performed (step 6004).
Subsequently, when the type of the acquired source generation rule is determined, since [[IF (]) corresponds to the modification expansion rule,
“Y” is established in the determination of the source generation rule = the modification development rule, and the modification development rule is processed (step 600)
6).
【0412】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
2)。次に、「日付が空白である。」の式がネストして
記述されているかの判定を行なうと、ネストして記述さ
れていないために「ネストあり」の判定で「N」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
3)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 601).
2). Next, when it is determined whether the expression “date is blank” is described in a nested manner, since the expression is not nested and described, “N” is established in the determination of “nested”, The processing of the expansion rule [-] is performed (step 601).
3).
【0413】〔〜〕の範囲の展開処理を行なうで「IF
(」をソースに出力する(ステップ6014)。次に、
獲得したソース生成規則の種別の判定を行なうと、$1
は用語展開規則に該当するために、ソース生成規則=用
語展開規則の判定で「Y」が成立し、用語展開規則の処
理を行なう(ステップ6007)。[0413] By performing expansion processing in the range of [~], "IF
() Is output to the source (step 6014).
When the type of the acquired source generation rule is determined, $ 1
Corresponds to the term expansion rule, so that “Y” is established in the determination of the source generation rule = term expansion rule, and the term expansion rule is processed (step 6007).
【0414】次に、用語展開規則では、「〜が空白であ
る」4562の「日付」4563の部分が置き換える規
則に該当するため、「〔IF(〕$1=SPAC
E〔)〕」の「$1」の部分を「日付」4563に対応
する「DATE」4564で置き換える(ステップ60
18)。[0414] Next, in the term expansion rule, since the "date" 4563 part of "is blank" 4562 falls under the rule to be replaced, "[IF () $ 1 = SPAC
E [)] ”is replaced with“ DATE ”4564 corresponding to“ Date ”4563 (step 60).
18).
【0415】次に、「=SPACE」のソース生成規則
は該当するソース生成規則がないためにそままソース中
に出力される(ステップ6009)。「〔)〕」は修飾
展開規則に該当するためソース生成規則=修飾展開規則
の判定で「Y」が成立し、修飾展開規則の処理を行なう
(ステップ6006)。Next, the source generation rule of “= SPACE” is output to the source as it is because there is no corresponding source generation rule (step 6009). Since “[]]” corresponds to the qualification expansion rule, “Y” is satisfied in the determination of the source generation rule = the qualification expansion rule, and the qualification expansion rule is processed (step 6006).
【0416】次に、ソース生成規則の種別を獲得する
と、ソース生成規則種別=〔〜〕の判定で「Y」が成立
し、〔〜〕の展開規則の処理を行なう(ステップ601
2)。次に、「日付が空白である。」の式がネストして
記述されているかの判定を行なうと、ネストして記述さ
れていないために「ネストあり」の判定で「N」が成立
し、文展開規則の処理を行なう(ステップ6013)。Next, when the type of the source generation rule is obtained, “Y” is established in the determination of the source generation rule type = [〜], and the processing of the expansion rule of [〜] is performed (step 601).
2). Next, when it is determined whether the expression “date is blank” is described in a nested manner, since the expression is not nested and described, “N” is established in the determination of “nested”, The processing of the sentence expansion rule is performed (step 6013).
【0417】〔〜〕の範囲の展開処理を行なうで「)」
をソースに出力する(ステップ6014)。Performing the expansion process in the range of [~] results in ")".
Is output to the source (step 6014).
【0418】次のソース生成規則はないためにソース生
成規則獲得ループを抜け、文展開のフローチャートを終
了する(ステップ6010)。Since there is no next source generation rule, the process exits the source generation rule acquisition loop and ends the sentence expansion flowchart (step 6010).
【0419】IF(DATE=SPACE) これを図46では符号5281で示している。IF (DATE = SPACE) This is indicated by reference numeral 5281 in FIG.
【0420】「口座番号が数字である。」3309の文
展開を終了したことにより、処理を一時的に保留してい
た箇条書ソース生成を開始する。処理は、文展開を呼び
出した位置より開始される(ステップ5915)。[0420] Upon completion of the sentence expansion of "Account number is a number" 3309, the generation of the item source temporarily suspended is started. The processing is started from the position where the sentence expansion is called (step 5915).
【0421】次の「THEN」4565のソース生成規
則は、該当する規則がないためにそのままソースに出力
される(ステップ5909)。The source generation rule of the next “THEN” 4565 is directly output to the source because there is no corresponding rule (step 5909).
【0422】THEN これを図46では符号5282で示している。This is indicated by reference numeral 5282 in FIG.
【0423】次の「%%」4566は箇条書展開規則に
該当するために、ソース生成規則=箇条書展開規則の判
定で「Y」が成立し、箇条書展開規則の処理を行なう
(ステップ5705)。Since the next “%%” 4566 corresponds to the item development rule, “Y” is satisfied in the determination of the source generation rule = item development rule, and the item development rule is processed (step 5705).
【0424】次に、横方向のノードの有無を判定すると
「次のいずれかである。」の文情報ノード3327が存
在するため、横方向のノード=ありで「Y」の条件が成
立し、箇条書展開の処理を行なう(ステップ572
2)。Next, when it is determined whether or not there is a node in the horizontal direction, there is a sentence information node 3327 of “any of the following”. The item is expanded (step 572).
2).
【0425】次に、「次のいずれかである。」3306
のソース生成規則を展開するために「日付が空白であ
る」の文情報ノード3322の処理を一時的に保留し、
入力データ5701として「次のいずれかである。」の
文情報ノード3327を渡し、4536と同様の手順に
より箇条書文章ソース生成を再帰的に呼び出す(ステッ
プ5722)。Next, “any of the following” 3306
Temporarily expands the processing of the sentence information node 3322 of “date is blank” to expand the source generation rule of
The sentence information node 3327 of “any of the following” is passed as the input data 5701, and the generation of the paragraph document source is recursively called in the same procedure as in 4536 (step 5722).
【0426】「次のいずれかである」の箇条書文章ソー
ス生成を終了したら、処理を一時的に保留していた「次
のいずれかである」の文情報ノード3322よりの箇条
書文章ソース生成を開始する。When the generation of the item text source of “any of the following” is completed, the generation of the item text source of the item “any of the following” sentence information node 3322 whose processing is temporarily suspended is started. I do.
【0427】次のソース生成規則「#〉」4567は、
横方向のソース生成規則の終了を表す記号であるため
に、横方向ソース生成規則獲得ループを抜ける(ステッ
プ5708)。The following source generation rule “#>” 4567 is
Since the symbol indicates the end of the horizontal source generation rule, the process exits the horizontal source generation rule acquisition loop (step 5708).
【0428】IF((KOUZA_CODE=’0’)
OR(KOUZA_CODE=’1’)) THEN IF(KOUZA_NO=N UMERIC) THEN @処理 ELSE CONTINUE END−IF ELSE CONTINUE END−IF これを図46では符号5283で示している。IF ((KOUZA_CODE = '0')
OR (KOUZA_CODE = '1')) THEN IF (KOUZA_NO = N UMERIC) THEN {Process ELSE CONTINUE END-IF ELSE CONTINUE END-IF This is indicated by reference numeral 5283 in FIG.
【0429】さらに、読み込んだソース生成規則を1つ
づつ獲得する(ステップ5810)。次に、ソース生成
規則があるかの判定を行ない、ソース生成規則がある場
合には、縦ソース生成規則獲得ループの中の処理を行な
う(ステップ5811)。Further, the read source generation rules are acquired one by one (step 5810). Next, it is determined whether or not there is a source generation rule. If there is a source generation rule, a process in a vertical source generation rule acquisition loop is performed (step 5811).
【0430】次に、「ELSE」、「CONTINU
E」、「END−IF」4568は、すべて該当するソ
ース生成規則がないためにそのままソース中に出力され
る(ステップ5815)。Next, “ELSE”, “CONTINU”
"E" and "END-IF" 4568 are directly output to the source because there is no corresponding source generation rule (step 5815).
【0431】次のソース生成規則はないために縦ソース
生成規則獲得ループを抜け、箇条書文章ソース生成を終
了する(ステップ5817)。Since there is no next source generation rule, the process exits the vertical source generation rule acquisition loop and terminates the generation of the paragraph document source (step 5817).
【0432】ELSE CONTINUE END−IF これを図46では符号5284で示している。ELSE CONTINUE END-IF This is indicated by reference numeral 5284 in FIG.
【0433】以上の手順により箇条書文章からのソース
生成が実行される。According to the above procedure, the source is generated from the itemized text.
【0434】次に、図26の箇条書文章から有向グラフ
3020を作成する例を図29〜図31のフローチャー
トに基づいて説明する。[0434] will be described with reference to the flowchart of FIGS. 29 to 31 is an example of creating a directed graph 3020 from bullets sentences Figure 26.
【0435】始めに「日付に暦日をセットする。」30
01より処理を行なう。First, “set a calendar date for date” 30
01 is processed.
【0436】最初に、処理の対象となっている子の文情
報ノード先頭アドレスにNULLをセットする(ステッ
プ3503)。同時に、子の文情報ノード前アドレスに
NULLをセットして初期設定を行なう(ステップ35
04)。First, NULL is set to the head address of the sentence information node of the child to be processed (step 3503). At the same time, NULL is set to the previous address of the child sentence information node to perform initialization (step 35).
04).
【0437】次に、仕様書データ展開エリア2004よ
り、箇条書された文の子の文レコードを1レコード読み
込むと、1番先頭の「日付に暦日をセットする。」30
01が読み込まれる(ステップ3505)。[0437] Next, when one sentence record of a child of the itemized sentence is read from the specification data development area 2004, the first item "set calendar date to date" 30 is read.
01 is read (step 3505).
【0438】次に、同じレベルの文があるかの判定を行
なう。すでに、「日付に暦日をセットする。」3001
の文が読み込まれているので、「同じレベルの文があ
り」となり、文の読み込みループの処理を続行する(ス
テップ3506)。Next, it is determined whether there is a sentence of the same level. Already, “Set calendar date to date.” 3001
Has been read, the sentence becomes "there is a sentence of the same level", and the processing of the statement reading loop is continued (step 3506).
【0439】次に、子の文情報の有無の判定を行なう
と、子の文情報は存在しないために子の文情報=有りで
「N」が成立する(ステップ3540)。Next, when it is determined whether or not there is child sentence information, since there is no child sentence information, "N" is established when the child sentence information is present (step 3540).
【0440】次に、読み込んだ「日付に暦日をセットす
る。」3001の文レコードからプログラムの制御種別
を獲得する(ステップ3607)。次に、獲得したプロ
グラムの制御種別を判定する。すると、「日付に暦日を
セットする。」3001は処理属性に該当するため、
「プログラムの制御種別=処理」の「Y」の条件が成立
し、処理属性の処理を行なう(ステップ3611)。Next, the control type of the program is obtained from the sentence record of the read “set calendar date in date” 3001 (step 3607). Next, the control type of the acquired program is determined. Then, “set calendar day in date” 3001 corresponds to the processing attribute,
The condition of “Y” of “program control type = processing” is satisfied, and processing of the processing attribute is performed (step 3611).
【0441】有向グラフ作成モジュール2009に渡
し、文情報ノードの作成を指示する(ステップ362
9)。[0441] passing the directed graph generation module 2009, to instruct the creation of a sentence information node (step 362
9).
【0442】次に、文情報カレントアドレスに「日付に
暦日をセットする。」の文情報ノード3021のアドレ
スをセットする(ステップ3630)。次に、子の文情
報ノード前アドレスがNULLかの判定を行なうと、子
の文情報ノード前アドレス値は未設定のため、子の文情
報ノード前アドレス=NULLとなり「Y」の条件が成
立する(ステップ3713)。Next, the address of the sentence information node 3021 of “set calendar date in date” is set as the sentence information current address (step 3630). Next, when it is determined whether or not the child sentence information node preceding address is NULL, the child sentence information node preceding address is set to NULL because the child sentence information node preceding address value is not set, and the condition of “Y” is satisfied. (Step 3713).
【0443】子の文情報先頭アドレスに「日付に暦日を
セットする。」の文情報ノード3021をセットし、子
の文情報先頭アドレスを記憶する(ステップ363
1)。The sentence information start address of the child is set to the sentence information node 3021 of “set calendar date in date”, and the child sentence information start address is stored (step 363).
1).
【0444】子の文情報ノード前アドレスに文の解析を
終了した「日付に暦日をセットする。」の文情報ノード
3021をセットする(ステップ3519)。The sentence information node 3021 of “set calendar date for date” for which the sentence analysis has been completed is set to the child sentence information node previous address (step 3519).
【0445】このときに、有向グラフの「日付に暦日を
セットする。」が処理の文情報ノード3021として作
成される。[0445] At this time, "to set the calendar to date." Directed graph is created as a statement information node 3021 of processing.
【0446】次に、「口座に当座をセットする。」30
02を処理する状態になる。Next, “Set an immediate account” 30
02.
【0447】次に、仕様書データ展開エリア2004よ
り、「日付に暦日をセットする。」3001の次の文レ
コードを1レコード読み込むと、「口座に当座をセット
する。」3001が読み込まれる(ステップ352
0)。Next, from the specification data development area 2004, when one sentence record following “Set calendar date in date” 3001 is read, “Set interim account” 3001 is read ( Step 352
0).
【0448】次に、同じレベルの文があるかの判定を行
ない、文がある場合には、文の読み込みループの処理を
続行する(ステップ3506)。次に、子の文情報の有
無の判定を行なうと、子の文情報は存在しないために子
の文情報=有りで「N」が成立する(ステップ354
0)。Next, it is determined whether there is a sentence of the same level. If there is a sentence, the processing of the sentence reading loop is continued (step 3506). Next, when it is determined whether or not there is child sentence information, since there is no child sentence information, "N" is established when the child sentence information is present (step 354).
0).
【0449】次に、読み込んだ「口座に当座をセットす
る。」3002の文レコードから文のプログラの制御種
別を獲得する(ステップ3607)。次に、獲得したプ
ログラムの制御種別を判定する。「口座に当座をセット
する。」3002は処理属性に該当するため、「プログ
ラムの制御種別=処理」の「Y」の条件が成立し、処理
属性の処理を行なう(ステップ3611)。有向グラフ
作成モジュール2009に渡し、文情報ノードの作成を
指示する(ステップ3629)。Next, the control type of the sentence program is obtained from the sentence record of the read “set an immediate account” 3002 (step 3607). Next, the control type of the acquired program is determined. Since “Set an interim account” 3002 corresponds to the processing attribute, the condition of “Y” of “program control type = processing” is satisfied, and processing of the processing attribute is performed (step 3611). Passing the directed graph generation module 2009, and instructs the creation of the sentence information node (step 3629).
【0450】次に、文情報ノードカレントポインタに
「口座に当座をセットする。」の文情報ノード3022
のアドレスをセットする(ステップ3630)。Next, the sentence information node 3022 of “set an immediate account” is set in the sentence information node current pointer.
Is set (step 3630).
【0451】次に、子の文情報ノード前アドレスがNU
LLかの判定を行なうと、子の文情報ノード前アドレス
値は「日付に暦日をセットする。」の文情報ノード30
21がセットされているため、子の文情報ノード前アド
レス=NULLとなり「N」の条件が成立する(ステッ
プ3713)。Next, the child statement information node previous address is NU
When the LL is determined, the sentence information node 30 of the child sentence information node previous address value is "set calendar date to date."
Since 21 is set, the child sentence information node previous address = NULL, and the condition of "N" is satisfied (step 3713).
【0452】次に、親の文情報の種別を判定すると、
「日付に暦日をセットする。」3002は処理属性に該
当するため、プログラム制御種別=処理の条件が成立す
る(ステツプ3015)。次に、「日付に暦日をセット
する。」文情報ノード3021と「口座に当座をセット
する。」の文情報ノード3022の文情報ノードの間に
処理の線3023を張る(ステップ3733)。Next, when the type of the parent sentence information is determined,
Since “set calendar day in date” 3002 corresponds to the processing attribute, the condition of program control type = processing is satisfied (step 3015). Next, a processing line 3023 is set up between the sentence information node 3021 of "Set the calendar date in the date." And the sentence information node 3022 of "Set the current account." (Step 3733).
【0453】このときに、有向グラフの「口座に当座を
セットする。」が処理の文情報ノード3022として作
成され、「日付に暦日をセットする。」文情報ノード3
021と「口座に当座をセットする。」の文情報ノード
3022の文情報ノードの間に処理の線3023を張
る。[0453] At this time, "to set the current to account." Directed graph is created as a statement information node 3022 of the process, "to set the calendar to date." Sentence information node 3
A processing line 3023 is provided between the statement information node 3022 of the statement information node 3022 and the statement information node 3022 of “Set an immediate account”.
【0454】次に、仕様書データ展開エリア2004よ
り、「口座に当座をセットする。」3003の次の文レ
コードを1レコード読み込む(ステップ3520)。Next, one record is read from the specification data development area 2004 as a sentence record next to “Set an immediate account” 3003 (step 3520).
【0455】次に、文があるかの判定を行なうと、該当
する文がないために、文の読み込みループの処理を抜け
る(ステップ3521)。次に、子の文情報ノード先頭
アドレスに記憶しておいた「日付に暦日をセットす
る。」文情報ノードのアドレス3021を返す(ステッ
プ3522)。Next, when it is determined whether there is a sentence, since there is no corresponding sentence, the process exits the sentence reading loop (step 3521). Next, the address 3021 of the sentence information node stored in the child sentence information node head address, "set the calendar date in the date." Is returned (step 3522).
【0456】以上の手順により図26の有向グラフ30
20が作成される。[0456] directed graph 30 in FIG. 26 by the above procedure
20 are created.
【0457】[0457]
【発明の効果】以上のように本発明においては、文情報
ファイルを参照し、1ないし複数の処理条件および処理
内容を含む機能仕様が箇条書き文章(実施例では日本語
の箇条書き文章)で記述されたソースプログラム生成シ
ステム付属の入力装置から入力することにより、そのプ
ログラム仕様に対応した有向グラフが作成され、この有
向グラフに基づいて前記プログラム仕様に対応したソー
スプログラムが生成される。このため、新規のプログラ
ムを作成する場合には、新規開発プログラムの機能仕様
を箇条書き文章形式で記述し、この箇条書き文章形式の
新規開発プログラムの機能仕様のデータを入力すればよ
い。プログラムの機能仕様を箇条書き文章で入力可能に
したことにより、複雑な条件を含んだプログラムの機能
仕様をプログラミングの知識のない人でも容易に記述
し、目的とするソースプログラムを生成することができ
る。 As described above, in the present invention, sentence information
Referring to a file, one or more processing conditions and processing
The function specification including the content is a bulleted sentence (Japanese
Source program generation system described in
By inputting from the input device attached to the stem,
A directed graph corresponding to the program specification is created.
Source corresponding to the program specifications based on the directional graph
Program is generated. Because of this, new programs
When creating a program, the function specifications of the newly developed program
Is written in a bulleted sentence format, and this bulleted sentence format
Enter the data of the functional specifications of the newly developed program
No. Program function specifications can be entered in bulleted text
By doing so, the function of the program including complicated conditions
Specifications can be easily written by people without programming knowledge
And generate the desired source program.
You.
【0458】さらに、文情報ファイルに格納されている
各文に、その文からソースプログラムを生成するための
ソース生成規則とプログラム制御構造を表す種別を持た
せているため、プログラムの制御構造をも箇条書き文章
の記述によって同時に記述したことになり、プログラム
制御構造を別の手段で記述する必要がない。したがっ
て、プログラミングの知識のない人でもプログラム制御
構造を意識することなく、機能仕様を入力し、目的とす
るソースプログラムを生成することが可能になる。 さら
に、箇条書き文章を構成する各文が有する前記プログラ
ム制御構造の種別データからプログラム制御構造を判別
することによって有向グラフを作成し、ソースプログラ
ムは前記有向グラフと各文が有するソース生成規則に従
って生成するため、文単位のソースプログラムを生成
し、これを有向グラフで示される制御構造にしたがって
結合すればよく、複雑な制御構造であっても生成処理自
体が簡単になるなどの効果がある。 [0458] Furthermore, it is stored in the sentence information file.
Each statement is used to generate a source program from that statement.
Has types indicating source generation rules and program control structures
Because of this, the control structure of the program is also
Is described at the same time by the description of
There is no need to describe the control structure by another means. Accordingly
Even people without programming knowledge can control programs
Enter functional specifications without considering the structure
Source programs can be generated. Further
In addition, the program included in each sentence that constitutes the bulleted statement
Discriminates program control structure from type data of program control structure
To create a directed graph,
The program follows the directed graph and the source generation rules of each sentence.
To generate a source program for each sentence
Then, according to the control structure shown by the directed graph,
It is only necessary to combine them.
This has the effect of simplifying the body.
【図1】表形式仕様書にプログラム機能仕様を記述して
ソースプログラムを生成する場合の機能仕様記述の一実
施例を示す説明図である。FIG. 1 is an explanatory diagram showing an embodiment of a function specification description when a source program is generated by describing a program function specification in a tabular specification.
【図2】図1の機能仕様記述に対するフローチャートで
ある。FIG. 2 is a flowchart for the function specification description of FIG. 1;
【図3】図1の機能仕様記述に対して生成されたソース
プログラムの例を示す説明図である。FIG. 3 is an explanatory diagram showing an example of a source program generated for the functional specification description of FIG. 1;
【図4】表形式仕様書にプログラム機能仕様を記述して
ソースプログラムを生成する場合の機能仕様記述の第2
の実施例を示す説明図である。FIG. 4 is a second functional specification description when a source program is generated by describing a program functional specification in a tabular specification.
It is explanatory drawing which shows Example of this.
【図5】図4の機能仕様記述に対するフローチャートで
ある。FIG. 5 is a flowchart for the function specification description of FIG. 4;
【図6】図4の機能仕様記述に対して生成されたソース
プログラムの例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of a source program generated for the functional specification description of FIG. 4;
【図7】表形式仕様書にプログラム機能仕様を記述して
ソースプログラムを生成する場合の機能仕様記述の第3
の実施例を示す説明図である。FIG. 7 is a third functional specification description when a source program is generated by describing a program functional specification in a tabular specification.
It is explanatory drawing which shows Example of this.
【図8】図7の機能仕様記述に対するフローチャートで
ある。FIG. 8 is a flowchart for the function specification description of FIG. 7;
【図9】図7の機能仕様記述に対して生成されたソース
プログラムの例を示す説明図である。FIG. 9 is an explanatory diagram showing an example of a source program generated for the functional specification description of FIG. 7;
【図10】木構造仕様書にプログラム機能仕様を記述し
てソースプログラムを生成する場合の機能仕様記述の第
4の実施例を示す説明図である。FIG. 10 is an explanatory diagram showing a fourth embodiment of the functional specification description when a source program is generated by describing a program functional specification in a tree structure specification.
【図11】図10の機能仕様記述に対するフローチャー
トである。11 is a flowchart for the function specification description of FIG.
【図12】図10の機能仕様記述に対して生成されたソ
ースプログラムの例を示す説明図である。FIG. 12 is an explanatory diagram showing an example of a source program generated for the functional specification description of FIG. 10;
【図13】デシジョンテーブル仕様書にプログラム機能
仕様を記述してソースプログラムを生成する場合の機能
仕様記述の第5の実施例を示す説明図である。FIG. 13 is an explanatory diagram showing a fifth embodiment of the function specification description when a source program is generated by describing a program function specification in a decision table specification.
【図14】図13の機能仕様記述に対するフローチャー
トである。FIG. 14 is a flowchart for the function specification description of FIG.
【図15】図13の機能仕様記述に対する全体のフロー
チャートである。FIG. 15 is an overall flowchart for the function specification description of FIG. 13;
【図16】図13の機能仕様記述に対して生成されたソ
ースプログラムの例を示す説明図である。FIG. 16 is an explanatory diagram showing an example of a source program generated for the functional specification description of FIG. 13;
【図17】箇条書文章からのソース生成システムの一実
施例を示す構成図である。FIG. 17 is a configuration diagram showing an embodiment of a source generation system from a paragraph sentence.
【図18】箇条書文章からのソース生成システムのファ
イル関連図である。FIG. 18 is a file-related diagram of a system for generating a source from an itemized sentence.
【図19】条件論理積文の例を示す説明図である。FIG. 19 is an explanatory diagram illustrating an example of a conditional conjunction statement.
【図20】条件倫理和文の例を示す説明図である。FIG. 20 is an explanatory diagram showing an example of a conditional ethics Japanese sentence.
【図21】論理積式文の例を示す説明図である。FIG. 21 is an explanatory diagram showing an example of a logical product expression statement.
【図22】論理和式文の例を示す説明図である。FIG. 22 is an explanatory diagram showing an example of a logical sum expression sentence.
【図23】処理文の例を示す説明図である。FIG. 23 is an explanatory diagram showing an example of a processing sentence.
【図24】修飾文の例を示す説明図である。FIG. 24 is an explanatory diagram showing an example of a modification sentence.
【図25】修飾文の他の例を示す説明図である。FIG. 25 is an explanatory diagram showing another example of a modification sentence.
【図26】箇条書文章からのフローと解析木の生成例を
示す説明図である。FIG. 26 is an explanatory diagram showing a flow from an itemized sentence and an example of generation of an analysis tree.
【図27】箇条書文章からのフローと解析木の第2の生
成例を示す説明図である。FIG. 27 is an explanatory diagram showing a flow from an itemized sentence and a second generation example of the analytic tree.
【図28】箇条書文章からのソース生成の全体を示すフ
ローチャートである。FIG. 28 is a flowchart showing the entire generation of a source from an itemized sentence.
【図29】箇条書文章からの解析木生成のフローチャー
トである。FIG. 29 is a flowchart of generating a parse tree from an itemized sentence.
【図30】箇条書文章からの解析木生成のフローチャー
トである。FIG. 30 is a flowchart of generating a parse tree from an itemized sentence.
【図31】箇条書文章からの解析木生成のフローチャー
トである。FIG. 31 is a flowchart of generating a parse tree from an itemized sentence.
【図32】箇条書文章からの解析木生成のデータフロー
図である。FIG. 32 is a data flow diagram for generating a parse tree from an itemized sentence.
【図33】箇条書文章からの解析木生成のデータフロー
図である。FIG. 33 is a data flow diagram for generating a parse tree from an itemized sentence.
【図34】箇条書文章からの解析木生成のデータフロー
図である。FIG. 34 is a data flow diagram for generating a parse tree from an itemized sentence.
【図35】箇条書文章からの解析木生成のデータフロー
図である。FIG. 35 is a data flow diagram for generating a parse tree from an itemized sentence.
【図36】箇条書文章からの解析木生成のデータフロー
図である。FIG. 36 is a data flow diagram for generating a parse tree from an itemized sentence.
【図37】箇条書文章からの解析木生成のデータフロー
図である。FIG. 37 is a data flow diagram for generating a parse tree from an itemized sentence.
【図38】箇条書文章からの解析木生成のデータフロー
図である。FIG. 38 is a data flow diagram for generating a parse tree from an itemized sentence.
【図39】箇条書文章からの解析木生成のデータフロー
図である。FIG. 39 is a data flow diagram for generating a parse tree from an itemized sentence.
【図40】箇条書文章からの解析木生成のデータフロー
図である。FIG. 40 is a data flow diagram for generating a parse tree from an itemized sentence.
【図41】箇条書文章からの解析木生成のデータフロー
図である。FIG. 41 is a data flow diagram for generating a parse tree from an itemized sentence.
【図42】箇条書文章からの解析木生成のデータフロー
図である。FIG. 42 is a data flow diagram for generating a parse tree from an itemized sentence.
【図43】箇条書文章からの解析木生成のデータフロー
図である。FIG. 43 is a data flow diagram for generating a parse tree from an itemized sentence.
【図44】解析木からのソース生成過程を示すデータフ
ロー図である。FIG. 44 is a data flow diagram showing a process of generating a source from a parse tree.
【図45】図44と共に解析木からのソース生成過程を
示すデータフロー図である。FIG. 45 is a data flow diagram showing a process of generating a source from a parse tree together with FIG. 44.
【図46】解析木から生成されたソースプログラムの例
を示す説明図である。FIG. 46 is an explanatory diagram showing an example of a source program generated from a parse tree.
【図47】解析木からのソース生成過程を詳細に示すデ
ータフロー図である。FIG. 47 is a data flow diagram showing in detail a process of generating a source from a parse tree.
【図48】解析木からのソース生成過程の第1の部分を
さらに詳細に示すデータフロー図である。FIG. 48 is a data flow diagram showing the first part of the process of generating a source from a parse tree in more detail.
【図49】解析木からのソース生成過程の第2の部分を
さらに詳細に示すデータフロー図である。FIG. 49 is a data flow diagram showing in further detail the second part of the process of generating a source from a parse tree.
【図50】解析木からのソース生成過程の第3の部分を
さらに詳細に示すデータフロー図である。FIG. 50 is a dataflow diagram showing in further detail the third part of the process of generating a source from a parse tree.
【図51】解析木からのソース生成過程の第4の部分を
さらに詳細に示すデータフロー図である。FIG. 51 is a dataflow diagram showing in further detail the fourth part of the process of generating a source from a parse tree.
【図52】箇条書文章からソースプログラムを生成する
処理の詳細を示すフローチャートである。FIG. 52 is a flowchart showing details of processing for generating a source program from an itemized sentence.
【図53】箇条書文章からソースプログラムを生成する
処理の詳細を示すフローチャートである。FIG. 53 is a flowchart showing details of a process of generating a source program from an itemized sentence.
【図54】式を展開する処理の詳細を示すフローチャー
トである。FIG. 54 is a flowchart showing details of processing for expanding an expression.
【図55】文を展開する処理の詳細を示すフローチャー
トである。FIG. 55 is a flowchart showing details of processing for expanding a sentence.
【図56】従来のソースプログラム生成方法の例を示す
説明図である。FIG. 56 is an explanatory diagram showing an example of a conventional source program generation method.
210…機能仕様、220…表形式仕様書、221…条
件部分、222…処理部分、223…条件文、224…
処理文、430…ソースプログラム、1120…木構造
形式仕様書、2000…ソース作成システム、2010
…仕様書ファイル、2020…文情報ファイル、203
0…用語情報ファイル、2040…ソースファイル、2
202…制御種別、2203…ソース生成規則、302
0…有向グラフ。210: functional specification, 220: tabular specification, 221: conditional part, 222: processing part, 223: conditional statement, 224 ...
Processing statement, 430: source program, 1120: tree structure format specification, 2000: source creation system, 2010
... Specification file, 2020 ... Sentence information file, 203
0: Term information file, 2040: Source file, 2
202: control type, 2203: source generation rule, 302
0 ... directed graph.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−286226(JP,A) 特開 平4−140834(JP,A) 特開 平5−265765(JP,A) 「電子情報通信学会論文誌」Vol. J71−D,No.12(1988−12)P. 2555−2562 原田実監修「CASEのすべて」オー ム社(1991)P.441−443 (58)調査した分野(Int.Cl.7,DB名) G06F 9/06 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-3-286226 (JP, A) JP-A-4-140834 (JP, A) JP-A 5-265765 (JP, A) Transactions, Vol. J71-D, No. 12 (1988-12) P. 2555-2562 Minoru Harada, "All about CASE" Ohmsha (1991) 441-443 (58) Field surveyed (Int. Cl. 7 , DB name) G06F 9/06
Claims (2)
と、その文に対応するプログラム制御構造の種別データ
及びソース生成規則を1組とする複数組の文情報を格納
した文情報ファイルと、箇条書き文章形式のプログラム
機能仕様の記述データを入力するための入力装置とを備
え、プログラム仕様書ファイルに格納されたプログラム
仕様書データに対応するソースプログラムを生成するソ
ースプログラム生成システムにおけるソースプログラム
生成方法であって、 前 記文情報ファイルに格納された複数組の文情報を読み
出し、各文情報の空欄部分にユーザが必要とする内容を
前記入力装置から入力させる第1の処理ステップと、 空欄部分にユーザが必要とする内容が入力された複数の
文の組み合わせを箇条書き文章形式のプログラム機能仕
様の記述データとして前記プログラム仕様書ファイルに
格納する第2の処理ステップと、 この第2の処理ステップにより前記プログラム仕様書フ
ァイルに格納されたプログラム機能仕様の記述データを
読み出し、当該データ中の各文を表す文情報ノードを作
成する第3の処理ステップおよび各文が有するプログラ
ム制御構造の種別データからプログラム制御構造を判別
し、各文情報ノード間の制御関係を表す有向グラフを作
成する第4の処理ステップと、 前記有向グラフと各文のソース生成規則に基づいて前記
プログラム機能仕様記述データに対応したソースプログ
ラムを作成する第5の処理ステップとを有することを特
徴とするソースプログラム生成方法。1. A sentence in which a user setting portion is blank.
And the type data of the program control structure corresponding to the statement
And multiple sets of sentence information with one source generation rule set
Sentence information file and program in bulleted sentence format
An input device for inputting the description data of the functional specification.
For example, a source program generation method in source <br/> over scan program generation system for generating a source program corresponding to the stored program specifications data to program specifications file previously stored Kibun information file a plurality of sets A first processing step of reading the sentence information of each sentence and inputting the content required by the user in the blank portion of each sentence information from the input device; and a plurality of sentences in which the content required by the user is input in the blank portion. A second processing step in which the combination is stored in the program specification file as description data of the program function specification in a bulleted sentence format, and a description of the program function specification stored in the program specification file by the second processing step Third process of reading data and creating a sentence information node representing each sentence in the data A fourth processing step of determining a program control structure from steps and type data of a program control structure of each sentence and creating a directed graph representing a control relationship between each sentence information node; and a source generation rule of the directed graph and each sentence. And a fifth processing step of creating a source program corresponding to the program function specification description data on the basis of the above.
プログラム仕様書データに対応するソースプログラムを
生成するソースプログラム生成システムであって、 ユーザ設定部分が空欄になっている文と、その文に対応
するプログラム制御構造の種別データ及びソース生成規
則を1組とする複数組の文情報を格納した文情報ファイ
ルと、 この文情報ファイルに格納された文情報を用いて空欄部
分にユーザが必要とする内容を設定した文を複数組み合
せて構成された箇条書き文章形式のプログラム機能仕様
の記述データを前記ソースプログラム生成システム付属
の入力装置から受付け、そのプログラム仕様記述のデー
タを前記プログラム仕様書ファイルに格 納する手段と、 前記プログラム仕様書ファイルに格納されたプログラム
仕様記述のデータを読み出し、当該データ中の各文を表
す文情報ノードを作成すると共に、各文が有するプログ
ラム制御構造の種別データからプログラム制御構造を判
別し、各文情報ノード間の制御関係を表す有向グラフを
作成する有向グラフ作成手段と、 作成された有向グラフと各文のソース生成規則に基づい
て前記プログラム仕様記述のデータに対応したソースプ
ログラムを生成するソース生成手段とを備えることを特
徴とするソースプログラム生成システム。 2. A program stored in a program specification file.
Source program corresponding to the program specification data
The source program generation system to generate, and the sentence where the user setting part is blank corresponds to the sentence
Type control data and source generation rules
Sentence information file that stores a plurality of sets of sentence information with one set of rules
And the blank using the sentence information stored in this sentence information file.
Combining multiple sentences that set the contents required by the user
Function specifications in the form of bulleted sentences composed
Descriptive data of the source program generation system
From the input device of the
Means for store the data in the program specification file, said program specification file to a program stored in
Reads the specification description data and displays each sentence in the data.
Create a sentence information node and
The program control structure is determined from the type data of the ram control structure.
And a directed graph representing the control relationship between each sentence information node.
Based on the directed graph creation means to be created, based on the created directed graph and the source generation rules for each sentence
Source code corresponding to the data of the program specification
Source generation means for generating a program.
Source program generation system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5242482A JP3004847B2 (en) | 1993-09-29 | 1993-09-29 | Source program generation method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5242482A JP3004847B2 (en) | 1993-09-29 | 1993-09-29 | Source program generation method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0798650A JPH0798650A (en) | 1995-04-11 |
| JP3004847B2 true JP3004847B2 (en) | 2000-01-31 |
Family
ID=17089749
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5242482A Expired - Fee Related JP3004847B2 (en) | 1993-09-29 | 1993-09-29 | Source program generation method and system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3004847B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5844347B2 (en) * | 2013-12-27 | 2016-01-13 | 株式会社おおとり | Computer program generation device |
-
1993
- 1993-09-29 JP JP5242482A patent/JP3004847B2/en not_active Expired - Fee Related
Non-Patent Citations (2)
| Title |
|---|
| 「電子情報通信学会論文誌」Vol.J71−D,No.12(1988−12)P.2555−2562 |
| 原田実監修「CASEのすべて」オーム社(1991)P.441−443 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0798650A (en) | 1995-04-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1271564A (en) | Method for implementing an on-line presentation in an information processing system | |
| EP1016001B1 (en) | System and method for creating a language grammar | |
| KR100650427B1 (en) | Integrated development tool for building natural language-aware applications | |
| US5982365A (en) | System and methods for interactively generating and testing help systems | |
| US5033008A (en) | Dynamic selection of logical element data format as a document is created or modified | |
| JP2001060150A (en) | Automatic data processing program generation system, method therefor and computer readable recording medium | |
| WO2008095191A1 (en) | Techniques for customization of phonetic schemes | |
| JP3828379B2 (en) | Test specification generation support apparatus, method, program, and recording medium | |
| JP3444948B2 (en) | Document editing apparatus and document editing method | |
| JP2004094487A (en) | Document creation support system | |
| JP3004847B2 (en) | Source program generation method and system | |
| CN112734378A (en) | Method, system and medium for generating project bulletin | |
| JP2000029677A (en) | Automatic generating device for screen constitution | |
| JP2632212B2 (en) | Document processing method | |
| JP2003202886A (en) | Text input processing device and method and program | |
| JP3069050B2 (en) | Program conversion method | |
| JP3187317B2 (en) | Interactive program generation device | |
| JP3446472B2 (en) | Object model generation method and apparatus | |
| JPH06161733A (en) | Program generation system and program generation method | |
| JP5581894B2 (en) | Data processing program automatic generation system | |
| JPS62217294A (en) | Voice information dictionary creation device | |
| JP2866437B2 (en) | Example dictionary registration method and device | |
| JP3137865B2 (en) | How to create specifications | |
| JPH036659A (en) | Document processor | |
| JP3050811B2 (en) | Parsing tree database construction support device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |