JP2006119816A - Method and apparatus for processing table format data - Google Patents

Method and apparatus for processing table format data Download PDF

Info

Publication number
JP2006119816A
JP2006119816A JP2004305623A JP2004305623A JP2006119816A JP 2006119816 A JP2006119816 A JP 2006119816A JP 2004305623 A JP2004305623 A JP 2004305623A JP 2004305623 A JP2004305623 A JP 2004305623A JP 2006119816 A JP2006119816 A JP 2006119816A
Authority
JP
Japan
Prior art keywords
data
entry
derived
condition
entry area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004305623A
Other languages
Japanese (ja)
Inventor
Masatsugu Noda
野田正嗣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to JP2004305623A priority Critical patent/JP2006119816A/en
Publication of JP2006119816A publication Critical patent/JP2006119816A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processing method and an information processor capable of defining a document format by simple operation of the same level as specification operation for specifying a normal document format even in the case of a document format for specifying a change by setting an input condition of a data entry column on the basis of a condition of another data entry column and capable of automatically inputting/outputting data. <P>SOLUTION: The method for inputting/outputting data in a data entry area defined by a derived condition form for specifying a change in a data entry condition on a certain format on the basis of data or a data entry condition in another data entry area having the same item name on the same format comprises a step for defining the contents of a derived condition corresponding to one derived entry area and a reference base entry area and a step for identifying the data or the data entry condition of the corresponding base entry area and then generating data in the corresponding derived entry area on the basis of the determined definition contents of the derived condition. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、帳表フォーマット上のデータ処理を行う情報処理方法および装置に関する。   The present invention relates to an information processing method and apparatus for processing data on a book table format.

後出の図9に示す表フォーマットにおいては、表の上側から見て第3行から第6行まで、左側から見て第2列から第7列までのデータ記入欄(セル)のマトリクスには、各々、その見出し語を”売上げ”とするデータフィールドとその見出し語を”対前年比” とするデータフィールドとが平行隣接して配置され、この2つのデータフィールドの組み合わせが横方向に3回繰り返す形で配置されている。   In the table format shown in FIG. 9 below, the matrix of data entry columns (cells) from the third row to the sixth row as viewed from the upper side of the table and from the second column to the seventh column as viewed from the left side are included in the matrix. The data field whose headword is “sales” and the data field whose headword is “YoY” are arranged in parallel, and the combination of these two data fields is three times in the horizontal direction. They are arranged repeatedly.

図9に示した表フォーマットにおいて、文字列”売上げ”を見出し語とするデータフィールドの中、例えば、表の第2列上、第4行上のデータ記入欄(セル)には、項目名「年度」のデータが「2001年」であり、項目名「商品」のデータが「ラジオ」であるという集計条件によって、項目名「売上げ」のデータが集計記入されるようになっているのに対し、その右横(表の第3列上)に隣接し、文字列”対前年比”を見出し語とするデータ記入欄(セル)には、次のような記入条件により、データが集計記入されるようになっている。   In the table format shown in FIG. 9, in the data field having the character string “sales” as a headword, for example, in the data entry column (cell) on the second column and fourth row of the table, the item name “ The data for the item name “Sales” is tabulated and entered according to the aggregation condition that the data for “Year” is “2001” and the data for the item name “Product” is “Radio”. In the data entry column (cell) that is adjacent to the right side (on the third column of the table) and has the character string “YoY change” as the headword, the data is tabulated according to the following entry conditions. It has become so.

すなわち、この”対前年比”を見出し語とするデータ記入欄(セル)には、その左横に隣接する”売上げ”を見出し語とするデータ記入欄(セル)の集計条件の中、項目名「年度」についての集計条件データである「2001年」を、その「前年度」にあたる「2000年」に入れ替えた集計条件によって、いったん、項目名「売上げ」のデータが集計される。
次に、この項目名「売上げ」の集計値に対して、その左横に位置する、項目名「売上げ」のデータ記入欄(セル)内の集計値データとの比率が計算され、記入されるようになっている。
That is, in the data entry column (cell) whose headword is “YoY change”, the item name is included in the aggregation conditions of the data entry column (cell) whose headword is “sales” adjacent to the left side. The data of the item name “sales” is once aggregated according to the aggregation condition in which “2001”, which is the aggregation condition data for “year”, is replaced with “2000” corresponding to the “previous year”.
Next, with respect to the total value of the item name “Sales”, the ratio with the total value data in the data entry column (cell) of the item name “Sales” located on the left side is calculated and entered. It is like that.

この”対前年比”を見出し語とするデータ記入欄(セル)内のデータは、その左横に隣接する”売上げ”を見出し語とするデータ記入欄(セル)のデータ記入条件とデータをもとに、それに対する変換操作によって導出されるということができる。   The data in the data entry column (cell) with the headline “YoY” has the data entry conditions and data in the data entry column (cell) with the word “sales” adjacent to the left side. In addition, it can be said that it is derived by a conversion operation on it.

このように、あるデータ記入欄(セル)のデータ記入条件が、他のあるデータ記入欄(セル)のデータ記入条件を基準として、それに対する変更または変換を指定する形により定義されている場合、本明細書においては、この基準となっているセルを「ベースセル」と呼び、この「ベースセル」に対してある変換を指定することによりデータ記入条件が定義されたデータ記入欄セルを「派生セル」と呼ぶ。
また、この「派生セル」のデータ記入条件を定義するために、該当「ベースセル」に対して指定された変更条件を「派生条件」と呼ぶことにする。
In this way, when the data entry conditions of a certain data entry field (cell) are defined in a form that specifies a change or conversion to the data entry condition of another certain data entry field (cell), In this specification, this reference cell is referred to as a “base cell”, and by specifying a certain conversion for this “base cell”, a data entry column cell in which data entry conditions are defined is derived from Called “cell”.
In addition, in order to define the data entry condition of the “derived cell”, the change condition designated for the corresponding “base cell” is referred to as a “derived condition”.

現行の技術と商品を用いて、図9に示す表フォーマット上に所望のデータ出力を得るには、例えば、以下のような一連のユーザ作業が必要になる。
先ず、データ出力アプリケーションの中で、図51に示す表フォーマットを作成する。この表フォーマットは、左側から見て第1列上には、図51に示す表フォーマットと同じ、項目名「商品」のデータの並び”テレビ”、”ラジオ”、”カーナビ”が記入され、上側から見て第1行上には、項目名「年度」のデータの並び“2000年”、“2001年”、“2002年”、“2003年” が記入されている。左側から見て第2列以降、上側から見て第2行以降のセルのマトリクスには、項目名「売上げ」のデータが記入されるようになっている。
In order to obtain the desired data output on the table format shown in FIG. 9 using the current technology and products, for example, the following series of user operations are required.
First, the table format shown in FIG. 51 is created in the data output application. This table format is the same as the table format shown in FIG. 51, with the column “TV”, “Radio”, and “Car navigation” in the first column as viewed from the left. From the first row, the data of item name “FY”, “2000”, “2001”, “2002”, “2003”, is entered. The data of the item name “sales” is entered in the matrix of the cells from the second column onward when viewed from the left side and the cells after the second row as viewed from above.

続いて、データ出力アプリケーションを用いて、この表フォーマット上に、データファイルのデータを出力集計させた上、出力結果の表フォーマットを 表計算アプリケーションのシート上にインポートする。次に、表計算アプリケーションに用意された編集加工機能を用いて、この図51の表フォーマット上への出力結果を加工して、図52に示す表フォーマットを得る。   Subsequently, using the data output application, the data file data is output and aggregated on the table format, and the table format of the output result is imported on the sheet of the spreadsheet application. Next, the output processing on the table format of FIG. 51 is processed using the editing processing function prepared in the spreadsheet application to obtain the table format shown in FIG.

すなわち、図51の表フォーマットの出力結果上において、その第3列と第4列の間と第4列と第5列の間に、”対前年比”を見出し語とする、データ未記入の列が挿入され、新たに、図52の表フォーマットの第4列と第6列となっている。また、図51の表フォーマットの出力結果の第5列の右側にも、”対前年比”を見出し語とする、データ未記入の列が付加され、新たに、図52の表フォーマットの第8列となっている。
さらに、図52の表フォーマット上においては、各列の合計値を記入する行が最下行に付加されている。
That is, on the output result of the table format of FIG. 51, between the third column and the fourth column, and between the fourth column and the fifth column, “YoY change” is the headword, and no data is entered. A column is inserted, and the fourth and sixth columns of the table format of FIG. 52 are newly added. 51 is also added to the right side of the fifth column of the output result of the table format of FIG. 51, and a column in which no data is entered with “YoY change” as the headword is newly added. It is a column.
Further, on the table format of FIG. 52, a row for entering the total value of each column is added to the bottom row.

続いて、以上のデータ記入をおこなった図52に示す表フォーマットにおいて、表計算アプリケーションに用意された演算式定義機能を用いて、次のように演算式を定義し、それを実行させる。すなわち、この表の第2列と第3列と第5列と第7列について、
その第3行から第5行までの各データを合計し、合計結果データを、各々、同じ列位置にある第5行上の各セル内に記入する。
Next, in the table format shown in FIG. 52 in which the above data has been entered, an arithmetic expression is defined as follows using the arithmetic expression definition function prepared in the spreadsheet application, and is executed. That is, for the second, third, fifth and seventh columns of this table,
The respective data from the third row to the fifth row are summed, and the total result data is written in each cell on the fifth row at the same column position.

続いて、以上のように作成した、図52に示す表フォーマット上において、表計算アプリケーションの演算式定義機能を用いて、次のように演算式を定義し、それを実行させる。すなわち、この表の第3列上の見出し語を“2001年”とする各データを、各々、同じ行位置にある第2列上の各データにより除算し、除算結果のデータを同じ行位置にある第4列上の各セル内に記入する。   Subsequently, on the table format shown in FIG. 52 created as described above, an arithmetic expression is defined as follows using the arithmetic expression definition function of the spreadsheet application, and is executed. That is, each data item whose headword on the third column of this table is “2001” is divided by each data item on the second column at the same row position, and the data of the division result is placed at the same row position. Fill in each cell on a fourth column.

また、表の第5列上の見出し語を“2002年”とする各データを、各々、同じ行位置にある第3列上の各データにより除算し、除算結果のデータを同じ行位置にある第6列上の各セル内に記入する。表の第7列上の見出し語を“2003年”とする各データについても、各々、同じ行位置にある第5列上の各データにより除算し、除算結果のデータを同じ行位置にある第8列上の各セル内に記入する。以上の演算は、合計結果データが記入される第5行上においても同様におこなう。   Also, each data whose headword on the fifth column of the table is “2002” is divided by each data on the third column at the same row position, and the data of the division result is at the same row position. Fill in each cell on the sixth column. Each piece of data whose headword on the seventh column of the table is “2003” is also divided by each piece of data on the fifth column at the same row position, and the data of the division result is at the same row position. Fill in each cell on the 8th column. The above calculation is similarly performed on the fifth line where the total result data is written.

最後に、表計算アプリケーションの編集加工機能を用い、以上のデータ記入をおこなった図52に示す表フォーマットから、先ず、第2列を削除する。続いて、編集加工機能を用いて、表の最上行の上に新しく1行を追加した上、この追加行とその下の行に対して、図9の第1行と第2行と表の構造上、等価となるように加工を加え、目的の出力表フォーマットを得る。   Finally, the second column is first deleted from the table format shown in FIG. 52 in which the above data entry has been made by using the edit processing function of the spreadsheet application. Subsequently, using the editing process function, a new row is added on the top row of the table, and the first row, the second row, and the table in FIG. Processing is performed so as to be equivalent in structure, and the target output table format is obtained.

以上のように、現行の技術と商品を用いて、所望の表フォーマット上へのデータ出力を得ることはできるが、これらの方法はユーザに複数の工程からなる作業を強いるものである上、個々の作業は、手間と時間を要するものである。また、これらの作業と操作は、特に、これらの現行商品の使用に熟達していない多数の一般ユーザには、相応な学習を要するものとして簡単にはおこなえないものである。   As described above, it is possible to obtain data output on a desired table format using current technology and products. However, these methods impose a work consisting of a plurality of steps on the user and individually. This work requires time and effort. In addition, these operations and operations cannot be easily performed as a large amount of general users who are not proficient in using these current products, as it requires appropriate learning.

本発明は、かかる従来技術の問題に鑑みてなされたもので、上記にあげたような、あるデータ記入欄(フィールド)のデータ記入条件が、他のあるデータ記入欄(フィールド)のデータ記入条件を基準として、それに対する変更を表わす「派生条件」を指定する形により定義されている帳表フォーマットについても、通常の帳票フォーマットに対しておこなう指定操作と同レベルの簡単な操作により、帳票フォーマット定義をおこなえ、ユーザ操作をほとんど必要としない自動的なデータ入出力を行える情報処理方法と装置を提案することを目的としている。   The present invention has been made in view of the problems of the prior art. As described above, the data entry condition in one data entry field (field) is the same as the data entry condition in another data entry field (field). For the table format defined by specifying the “derivative condition” that expresses the change to it as a standard, the form format definition can be made by the same level of simple operations as the normal format. It is an object of the present invention to propose an information processing method and apparatus capable of performing automatic data input / output with little user operation.

本発明の別の目的は、上記にあげた「派生条件」が多様な形式により複雑に定義される帳票フォーマットについても、、通常の帳票フォーマットに対しておこなう指定操作と同レベルの簡単な操作により、帳票フォーマット定義をおこなえ、ユーザ操作をほとんど必要としない自動的なデータ入出力を行える情報処理方法と装置を提案することを目的としている。   Another object of the present invention is that the above-mentioned “derivative condition” is defined in a complicated manner by various formats, and even with a simple operation at the same level as the designation operation performed for the normal form format. An object of the present invention is to propose an information processing method and apparatus capable of performing form data definition and performing automatic data input / output that requires almost no user operation.

本発明の別の目的は、上記にあげた「派生条件」が多様な形式により複雑に定義される帳票フォーマットについても、誰もがおこなえ、誰もが理解できる視認性と可読性を備えた形で帳票フォーマット定義をおこなえ、ユーザ操作をほとんど必要としない自動的なデータ入出力をおこなえる情報処理方法と装置を提供することを目的とする。   Another object of the present invention is that the above-mentioned “derivative conditions” can be performed in a format that is complicatedly defined by various formats, and can be performed by anyone and can be understood and read by anyone. It is an object of the present invention to provide an information processing method and apparatus capable of performing form format definition and performing automatic data input / output requiring almost no user operation.

本発明の別の目的は、上記にあげた「派生条件」が多様な形式により複雑に定義される帳票フォーマットについても、多様な形式により複雑に定義される派生条件を人間間の意思伝達に日常用いる自然語表現をそのまま用いて定義ことによってユーザ親和性高くおこなえる情報処理方法と装置を提供することを目的とする。   Another object of the present invention is that, even for a form format in which the above-mentioned “derivative conditions” are defined in a complex manner by various formats, the derived conditions that are defined in a complex manner by various formats are used in daily communication between humans. It is an object of the present invention to provide an information processing method and apparatus that can be performed with high user affinity by defining natural language expressions as they are.

本発明の別の目的は、上記にあげた「派生条件」が多様な形式により複雑に定義される帳票フォーマットについても、人間間の意思伝達に日常用いる自然語表現をそのまま用いた派生条件の定義を確定的におこなえ、ユーザ親和性とユーザ指示の確定性を両立させる情報処理方法と装置を提供することを目的とする。   Another object of the present invention is to define a derivation condition that uses natural language expressions as they are for everyday communication between humans, even for a form format in which the above-mentioned derivation conditions are defined in a complex manner by various formats. It is an object of the present invention to provide an information processing method and apparatus capable of deterministically achieving both user affinity and user instruction determinism.

上記の目的を達成するため、本発明のうち、請求項1に記載の情報処理装置における表フォーマットデータ処理方法は、表フォーマット上の1つのデータ記入域に記入されるデータを規定するデータ記入条件が、同じ表フォーマット上の同一項目名を持つ他のデータ記入域のデータ、またはデータ記入条件を基準として、それに対する変更を指示するす派生条件の形式によって定義されているデータ記入域である派生記入域を含む表フォーマットのデータ入出力方法であって、1つの派生記入域について該当する派生条件の内容と上記した基準となるデータ記入域であるベース記入域を定めるステップと、
該当のベース記入域のデータ、またはデータ記入条件を識別した上、上記定めた派生条件定義内容にもとづいて、該当の派生記入域内のデータを生成するステップと、からなることを特徴とする。
In order to achieve the above object, a table format data processing method in an information processing apparatus according to claim 1 of the present invention is a data entry condition for defining data to be entered in one data entry area on a table format. Is a data entry area that is defined by the form of another data entry area with the same item name on the same table format, or by the form of a derived condition that directs changes to the data entry condition A method for inputting / outputting data in a table format including an entry area, the step of determining a content of a corresponding derivation condition for one derivation entry area and a base entry area which is a data entry area as a reference described above;
The method comprises the steps of identifying data in the corresponding base entry area or data entry conditions, and generating data in the corresponding entry entry area based on the above-mentioned definition of the derived condition definition.

また、請求項2に記載の方法は、譜求項1に記載の表フォーマットデータ処理方法であって、該当ベース記入域内の記入条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを表フォーマット上から識別するステップと、
派生条件として、ベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定めるステップと、
関連データ差異条件の定義内容にもとづいて、上記ベースレコードを構成する特定データに変更を加え、該当派生記入域の記入条件として、該当派生記入域内のデータと同時に参照されるべきデータ、または、該当派生記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせである派生レコードを生成するステップと、
を設け、上記派生レコード上へのデータ出力をおこなうことにより該当派生記入域内のデータを得ることを特徴とする。
The method according to claim 2 is a table format data processing method according to claim 1, wherein as data entry conditions in the corresponding base entry area, data to be referred to simultaneously with the data in the relevant base entry area, Or identifying from the table format a base record that is a combination of data entry areas of data to be referenced simultaneously with the data in the corresponding base entry area;
As a derivation condition, a step of defining a related data difference condition that indicates a change to specific data constituting the base record,
Based on the definition of the related data difference condition, the specific data constituting the base record is changed, and the data to be referred to at the same time as the data in the corresponding derived entry area as the entry condition of the corresponding derived entry area, or the applicable Generating a derived record that is a combination of data entry areas of data to be referenced simultaneously with data in the derived entry area;
And data in the corresponding entry entry area is obtained by outputting data on the derived record.

また、請求項3に記載の方法は、譜求項1に記載の表フォーマットデータ処理方法であって、該当ベース記入域内のデータを第1のオペランドとして、それに対する特定の演算を指示する形で定義されている派生条件について、上記演算の種別を表わす演算指示条件、および、該当のベース記入域と同じ項目名を持つ、演算の第2のオペランドデータの生成条件を表わす演算オペランド条件を定めておくステップと、
該当の派生記入域について、該当の演算オペランド条件に基づいて、上記第2のオペランドデータを生成するステップと、
を設け、上記第1のオペランドである該当ベース記入域内のデータと上記第2のオペランドデータの間で、該当の演算指示条件により定まる演算をおこない、演算結果のデータを該当派生記入域内に記入することを特徴とする。
The method according to claim 3 is the table format data processing method according to claim 1 in which the data in the corresponding base entry area is used as the first operand and a specific operation is instructed. For the defined derivation conditions, an operation instruction condition indicating the type of operation and an operation operand condition indicating the generation condition of the second operand data of the operation having the same item name as the corresponding base entry area are defined. Step to put
Generating the second operand data for the derived entry area based on the operational operand condition;
Between the data in the corresponding base entry area, which is the first operand, and the second operand data, and the operation determined by the corresponding operation instruction condition is entered, and the result data is entered in the corresponding derived entry area. It is characterized by that.

また、請求項4に記載の方法は、譜求項3に記載の表フォーマットデータ処理方法であって、上記演算オペランド条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定めるステップと、
該当のベースレコードに対して、該当の関連データ差異条件に基づいた変更をおこなうことにより、該当「派生記入域」内へのデータ出力時に同時に参照されるべきデータまたはデータ記入域の組合わせである派生レコードを生成するステップと、
を設け、上記派生レコード上へのデータ出力をおこなうことにより、該当派生記入域内のデータを得て、この派生記入域内の出力データを上記第2のオペランドとすることを特徴とする。
The method according to claim 4 is the table format data processing method according to claim 3, wherein the operation operand condition is data to be referred to simultaneously with data in the corresponding base entry area, or corresponding Defining relevant data variance conditions that direct changes to the specific data comprising the base record, which is a combination of the data entry areas of the data to be referenced simultaneously with the data in the base entry area;
This is a combination of data or data entry areas that should be referred to at the same time when data is output to the corresponding “derived entry area” by making changes based on the relevant data difference conditions for the relevant base record. Generating a derived record;
And outputting data on the derived record to obtain data in the corresponding derived entry area, and using the output data in the derived entry area as the second operand.

また、請求項5に記載の方法は、請求項2または4に記載の表フォーマットデータ処理方法であって、ユーザが日常、上記関連データ差異条件を表わすために使用する特定用語をその所属項目名と対応付けて、他の登録用語と区分して辞書手段に登録しておいた上、該当派生記入域に関連付けた文字列について、上記辞書登録用語をサーチすることによって、辞書に登録した意味にしたがった関連データ差異条件の定義内容を定めることを特徴とする。   The method according to claim 5 is the table format data processing method according to claim 2 or 4, wherein a specific term used by the user to express the related data difference condition on a daily basis is assigned to the item name to which it belongs. In association with and registered in the dictionary means separately from other registered terms, by searching the dictionary registered terms for the character string associated with the corresponding entry area, the meaning registered in the dictionary Therefore, the definition content of the related data difference condition is defined.

また、請求項6に記載の方法は、請求項3または4に記載の表フォーマットデータ処理方法であって、ユーザが日常、上記演算指示条件として使用する特定用語、または、上記演算オペランド条件として使用する特定用語を、互いに区分して辞書手段に登録しておくステップと、
使用言語の構文規則により定まっている、1つの文字列を構成する上記各区分に所属する用語間の配置順序に基づいて、派生記入域について対応付けた文字列上から、上記各区分に所属する登録用語をサーチ識別するステップと、
を設け、サーチ識別した各区分に所属する登録用語の意味に基づいて、演算指示条件と演算オペランド条件の内容を定めることを特徴とする。
The method according to claim 6 is the table format data processing method according to claim 3 or 4, wherein the user uses the specific term or the operation operand condition as a daily operation instruction condition. A specific term to be classified and registered in the dictionary means;
Based on the arrangement order of terms belonging to each of the above-mentioned sections constituting one character string, which is determined by the syntax rules of the language used, it belongs to each of the above-mentioned sections from the character string associated with the derived entry area. Searching and identifying registered terms;
And the contents of the calculation instruction condition and the calculation operand condition are defined based on the meaning of the registered term belonging to each category identified by the search.

また、請求項7に記載の方法は、請求項5に記載の表フォーマットデータ処理方法であって、上記辞書を参照して、該当の特定登録用語の所属項目名を識別するステップと、識別した所属項目名について定まっている所属データの順序列において、該当ベース記入域内のデータを起点として該当登録用語の意味が表わす変化分だけシフトした順序列上位置にあるデータを求めるステップと、
を設け、該当ベース記入域について作成したベースレコード中の該当項目名のデータを該当登録用語に基づいて求めた上記データにより置き換え、該当の派生レコードを作成することを特徴とする。
Further, the method according to claim 7 is the table format data processing method according to claim 5, wherein referring to the dictionary, the step of identifying the belonging item name of the corresponding specific registered term is identified. In the order column of the belonging data determined for the belonging item name, obtaining the data in the position on the ordered row shifted by the change represented by the meaning of the corresponding registered term starting from the data in the corresponding base entry area;
And the corresponding item name data in the base record created for the corresponding base entry area is replaced with the data obtained based on the corresponding registered term, and the corresponding derived record is created.

また、請求項8に記載の方法は、請求項3または4に記載の表フォーマットデータ処理方法であって、ユーザが日常、上記演算指示条件として使用する特定用語を他の登録用語と区分して辞書手段に登録しておき、上記登録用語を該当派生記入域に関連付けることによって、
該当登録用語が表わす意味にしたがった演算種別を定めることを特徴とする。
The method according to claim 8 is the table format data processing method according to claim 3 or 4, wherein the user uses a specific term as an operation instruction condition on a daily basis to distinguish it from other registered terms. By registering in the dictionary means and associating the above registered terms with the corresponding derivation entry area,
The calculation type is determined according to the meaning represented by the corresponding registered term.

また、請求項9に記載の方法は、請求項3に記載の表フォーマットデータ処理方法であって、ユーザが日常、上記演算オペランド条件として使用する特定用語を他の登録用語と区分して辞書手段に登録しておくステップと、
この特定登録用語を 該当派生記入域に関連付けるステップと、
該当登録用語の意味にしたがって、該当の表フォーマット上からデータを読み出した上、該当登録用語の意味により定まる演算をおこなうステップと、
を設け、得られた演算結果のデータを上記第2のオペランドとすることを特徴とする。
The method according to claim 9 is the table format data processing method according to claim 3, wherein the dictionary terminology is used by distinguishing a specific term used by the user as the operation operand condition on a daily basis from other registered terms. The steps to register with
Associating this particular registered term with the corresponding derived area;
In accordance with the meaning of the corresponding registered term, after reading the data from the corresponding table format, performing a calculation determined by the meaning of the relevant registered term;
And the obtained operation result data is used as the second operand.

また、請求項10に記載の方法は、請求項5または6に記載の表フォーマットデータ処理方法であって、該当の文字列に対して、上記辞書、または、使用言語の構文規則に基づいて、解析される定義内容構成情報であることを指定する特定指定操作を加えることを特徴とする。   Further, the method according to claim 10 is the table format data processing method according to claim 5 or 6, wherein for the corresponding character string, based on the dictionary or the syntax rule of the language used, A specific designating operation for designating the definition content configuration information to be analyzed is added.

また、請求項11に記載の方法は、請求項5または6に記載の表フォーマットデータ処理方法であって、該当の文字列に対して、辞書、または、使用言語の構文規則に基づいて、解析される定義内容構成情報であることを示す特定の図形的特徴付けを付すことを特徴とする。   The method according to claim 11 is the table format data processing method according to claim 5 or 6, wherein the character string is analyzed based on a dictionary or a syntax rule of the language used. It is characterized by having a specific graphical characterization indicating that it is definition content configuration information.

また、請求項12に記載の方法は、請求項1に記載の表フォーマットデータ処理方法であって、表フォーマット上において各ベース記入域と各派生記入域と同一行、または、同一列上にあり、かつ、該当のベース記入域と派生記入域の項目名とは異なる項目名に属するデータを識別するステップと、
表フォーマットの行方向、および、列方向の両方向において、上記した同一行/列上にあり、かつ、かつ、該当のベース記入域と派生記入域の項目名とは異なる項目名に属するデータを共有するベース記入域と派生記入域の組み合わせを識別するステップと、
を備えることによって、表フォーマット上におけるベース記入域と派生記入域の組み合わせを識別することを特徴とする。
The method according to claim 12 is the table format data processing method according to claim 1, wherein each base entry area and each derived entry area are on the same line or column in the table format. And identifying data belonging to an item name different from the item names of the corresponding base entry area and the derived entry area;
Share data belonging to item names that are on the same row / column as described above and that are different from the item names in the corresponding base entry area and derived entry area in both the row and column directions of the table format. Identifying the combination of base and derived entry areas to be performed;
To identify the combination of the base entry area and the derived entry area on the table format.

また、請求項13に記載の方法は、請求項2に記載の表フォーマットデータ処理方法であって、表フォーマット上において同一行または同一列上にあり、かつ、同一項目名のベース記入域からなる第1のデータ記入域の集合に対して、第1の演算結果記入欄を対応付けるステップと、
上記第1のデータ記入域の集合を構成する各ベース記入域に対応する各派生記入域から構成される第2のデータ記入域の集合に対して、第2の演算結果記入欄を対応付けるステップと、
上記第1の集合を構成する各ベース記入域内のデータに対して、第1の演算結果記入欄について定められている演算をおこない、演算結果のデータを第1の演算結果記入欄に記入するステップと、
上記第2の集合を構成する各派生記入域にデータファイルから出力された各データに対して、第1の演算結果記入欄について定められている演算をおこない、その演算結果のデータと第1の演算結果記入欄内のデータとの間で、上記演算指示条件にしたがった演算をおこない、演算結果のデータを第2の演算結果記入欄にに記入するステップと、
を有することを特徴とする。
A method according to claim 13 is a table format data processing method according to claim 2, which is on the same row or column in the table format and comprises a base entry area of the same item name. Associating a first calculation result entry field with the first set of data entry areas;
Associating a second calculation result entry field with a second set of data entry areas comprising each derived entry area corresponding to each base entry area constituting the first set of data entry areas; ,
A step of performing an operation defined for the first operation result entry column for the data in each base entry area constituting the first set and entering the operation result data in the first operation result entry column When,
For each data output from the data file in each derived entry area constituting the second set, an operation defined for the first operation result entry field is performed, and the operation result data and the first Performing a calculation in accordance with the calculation instruction condition with the data in the calculation result entry column, and entering the calculation result data in the second calculation result entry column;
It is characterized by having.

また、請求項14に記載の表フォーマットデータ処理装置は、表フォーマット上の1つのデータ記入域に記入されるデータを規定するデータ記入条件が、同じ表フォーマット上の同一項目名を持つ他のデータ記入域のデータ、またはデータ記入条件を基準として、それに対する変更を指示するす派生条件の形式によって定義されているデータ記入域である派生記入域を含む表フォーマットのデータ入出力装置であって、1つの派生記入域について該当する派生条件の内容と上記した基準となるデータ記入域であるベース記入域を定める手段と、
該当のベース記入域のデータ、またはデータ記入条件を識別した上、上記定めた派生条件定義内容にもとづいて、該当の派生記入域内のデータを生成する手段と、
を有することを特徴とする。
The table format data processing apparatus according to claim 14, wherein the data entry condition for defining data to be entered in one data entry area on the table format is another data having the same item name on the same table format. A data input / output device in a table format including a derived entry area, which is a data entry area defined by the form of a derived condition that directs changes to the data in the entry area or a data entry condition based on the data entry condition, Means for determining the contents of the corresponding derivation conditions for one derivation entry area and the base entry area which is the data entry area as the above-mentioned standard;
Means for identifying the data in the corresponding base entry area or the data entry conditions and generating data in the corresponding entry entry area based on the definition of the derived condition defined above;
It is characterized by having.

また、請求項15に記載の情報処理装置は、請求項14に記載の表フォーマットデータ処理装置であって、該当ベース記入域内の記入条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを表フォーマット上から識別する手段と、
派生条件として、ベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定める手段と、
関連データ差異条件の定義内容にもとづいて、上記ベースレコードを構成する特定データに変更を加え、該当派生記入域の記入条件として、該当派生記入域内のデータと同時に参照されるべきデータ、または、該当派生記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせである派生レコードを生成する手段と、
を設け、上記派生レコード上へのデータ出力をおこなうことにより該当派生記入域内のデータを得ることを特徴とする。
An information processing apparatus according to claim 15 is the table format data processing apparatus according to claim 14, wherein the data to be referred to simultaneously with the data in the corresponding base entry area as the entry condition in the corresponding base entry area. Or a means for identifying, from the table format, a base record that is a combination of data entry areas of data to be referenced simultaneously with data in the corresponding base entry area;
As a derivation condition, a means for defining a related data difference condition that instructs a change to the specific data constituting the base record;
Based on the definition of the related data difference condition, the specific data constituting the base record is changed, and the data to be referred to at the same time as the data in the corresponding derived entry area as the entry condition of the corresponding derived entry area, or the applicable Means for generating a derived record that is a combination of data fields of data to be referenced simultaneously with data in the derived fields;
And data in the corresponding entry entry area is obtained by outputting data on the derived record.

また、請求項16に記載の情報処理装置は、請求項14に記載の表フォーマットデータ処理装置であって、該当ベース記入域内のデータを第1のオペランドとして、それに対する特定の演算を指示する形で定義されている派生条件について、上記演算の種別を表わす演算指示条件、および、該当のベース記入域と同じ項目名を持つ、演算の第2のオペランドデータの生成条件を表わす演算オペランド条件を定めておく手段と、
該当の派生記入域について、該当の演算オペランド条件に基づいて、上記第2のオペランドデータを生成する手段と、
を設け、上記第1のオペランドである該当ベース記入域内のデータと上記第2のオペランドデータの間で、該当の演算指示条件により定まる演算をおこない、演算結果のデータを該当派生記入域内に記入することを特徴とする。
An information processing apparatus according to claim 16 is the table format data processing apparatus according to claim 14, wherein the data in the corresponding base entry area is used as a first operand, and a specific operation is instructed for the data. For the derivation condition defined in 1., the operation instruction condition indicating the type of the operation and the operation operand condition indicating the generation condition of the second operand data having the same item name as the corresponding base entry area are defined. Means to keep
Means for generating the second operand data for the derived entry area based on the operation operand condition;
Between the data in the corresponding base entry area, which is the first operand, and the second operand data, and the operation determined by the corresponding operation instruction condition is entered, and the result data is entered in the corresponding derived entry area. It is characterized by that.

また、請求項17に記載の情報処理装置は、請求項16に記載の表フォーマットデータ処理装置であって、上記演算オペランド条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定める手段と、
該当のベースレコードに対して、該当の関連データ差異条件に基づいた変更をおこなうことにより、該当「派生記入域」内へのデータ出力時に同時に参照されるべきデータまたはデータ記入域の組合わせである派生レコードを生成する手段と、
を設け、上記派生レコード上へのデータ出力をおこなうことにより、該当派生記入域内のデータを得て、この派生記入域内の出力データを上記第2のオペランドとすることを特徴とする。
An information processing apparatus according to claim 17 is the table format data processing apparatus according to claim 16, wherein the operation operand condition is data to be referred to at the same time as data in the corresponding base entry area, or Means for defining a related data difference condition for instructing a change to specific data constituting a base record, which is a combination of data entry areas of data to be referred to simultaneously with data in the corresponding base entry area;
This is a combination of data or data entry areas that should be referred to at the same time when data is output to the corresponding “derived entry area” by making changes based on the relevant data difference conditions for the relevant base record. A means of generating a derived record;
And outputting data on the derived record to obtain data in the corresponding derived entry area, and using the output data in the derived entry area as the second operand.

以上において説明したように、本発明によれば、あるデータ記入欄(フィールド)のデータ記入条件が、他のあるデータ記入欄(フィールド)のデータ記入条件を基準として、それに対する変更を表わす「派生条件」を指定する形により定義されている帳表フォーマットにおいても、単純な通常の帳表フォーマットについておこなうのと同レベルの帳表フォーマット上の簡単な指定操作によって自動的なデータ出力をおこなうための帳表定義を得ることができ、上記のような帳表フォーマットへのデータ出力を現行方法に比べて、格段の簡単さと迅速さによっておこなうことができる。   As described above, according to the present invention, a data entry condition in a certain data entry field (field) represents a change to the data entry condition in another data entry field (field) as a reference. Even in the book table format that is defined by specifying the `` condition '', it is possible to automatically output data by a simple specification operation on the same book table format as the simple normal book table format The book table definition can be obtained, and the data output to the book table format as described above can be performed with much simpler and quicker than the current method.

また、本発明によれば、上記にあげた「派生条件」が多様な形式により複雑に定義されている帳表フォーマットにおいて、「派生条件」を人間間の意思伝達に日常用いる自然語表現をそのまま用いる形で定義することができるので、上記帳表フォーマットへのデータ出力を簡単迅速におこなえる上、誰もが、ほとんど学習と習熟の必要無く、直ちにおこなえ、また定義内容を誰もが即座に理解できるユーザ親和性を備えた形でおこなうことができる。   Further, according to the present invention, in the book table format in which the above-described “derivative conditions” are defined in various forms in a complicated manner, the natural language expression that is used daily for communication between humans is used as it is. Since it can be defined in the form used, it is possible to output data to the above table format easily and quickly, and everyone can do it immediately with almost no learning and proficiency, and everyone can immediately understand the definition. It can be done in a form with user affinity.

また、本発明によれば、上記にあげた「派生条件」が多様な形式により複雑に定義されている帳表フォーマットにおいて、人間間の意思伝達に日常用いる自然語表現をそのまま用いた「派生条件」の定義を確定的におこなえるので、上記帳表フォーマットへのデータ出力をユーザ親和性と定義内容の確定性を両立させた形でおこなうことができる。   Further, according to the present invention, in the book table format in which the above-described “derivative conditions” are defined in various forms in a complicated manner, the “derivative conditions” that use natural language expressions for everyday communication between humans are used as they are. Can be deterministically performed, so that data output to the book table format can be performed in a form that satisfies both user affinity and deterministic definition.

以下、添付図を参照して本発明を説明する。
図1に、本発明の一実施例における情報処理装置のハードウェア上のシステム構成を示す。このシステムにおいて、カラーイメージ・スキャナ10、キーボード12、マウス14およびディジタイザ15が入力装置として、内部メモリ16および外部メモリ18が記憶装置として、表示装置20および印紙装置22が出力装置として、それぞれ適当なインタフエース回路(図示せず)を介してCPU24に接続されている。また、CPU24は、通信装置26を介して電話回線または通信回線27とも接続されている。
カラーイメージ・スキャナ10は、用紙上に記載された文書中の文字、記号および図形をカラー画像情報として読み取る。内部メモリ16および外部メモリ18には、CPU24の処理または制御動作を規定する各種プログラムのほか、各種電子辞書、キャラクタフォント、ファイル等が格納されている。通信装置26は、ファクシミリ通信機能を有している。
Hereinafter, the present invention will be described with reference to the accompanying drawings.
FIG. 1 shows a hardware system configuration of an information processing apparatus according to an embodiment of the present invention. In this system, the color image scanner 10, the keyboard 12, the mouse 14 and the digitizer 15 are suitable as input devices, the internal memory 16 and the external memory 18 as storage devices, and the display device 20 and the stamp device 22 as appropriate output devices. It is connected to the CPU 24 via an interface circuit (not shown). The CPU 24 is also connected to a telephone line or a communication line 27 via the communication device 26.
The color image scanner 10 reads characters, symbols, and figures in a document written on a sheet as color image information. The internal memory 16 and the external memory 18 store various electronic dictionaries, character fonts, files, and the like in addition to various programs that define processing or control operations of the CPU 24. The communication device 26 has a facsimile communication function.

図2に、本実施例のシステムにおいて帳表の作成に関する動作モードの一覧を示す。「文書作成」、「定義」、「環境設定」等の主モードが設定されており、これらの主モードはそれぞれ「取り出し」・・・、「定義解釈」・・・、「定義情報設定」等のサブモードに分岐している。
図3に、表示装置20のディスプレイ画面20aに表示される「主モードー覧メニュー」を示す。ディスプレイ画面20aの左下隅部に常時表示されている「モード」ボタンを選択指示すると、この「主モードー覧メニュー」が画面に現れ、画面の右下部に「文書作成」、「定義」、「環境設定」などの主モード選択ボタンが表示される。
FIG. 2 shows a list of operation modes related to creation of a book table in the system of the present embodiment. Main modes such as “Create document”, “Definition”, “Environment setting” are set, and these main modes are “Extraction”, “Definition interpretation”, “Definition information setting”, etc. Branches to the submode.
FIG. 3 shows a “main mode-view menu” displayed on the display screen 20 a of the display device 20. When the “mode” button that is always displayed in the lower left corner of the display screen 20a is selected and instructed, this “main mode-view menu” appears on the screen, and “document creation”, “definition”, “environment” appear at the lower right of the screen. A main mode selection button such as “SET” is displayed.

上記の「主モードー覧メニュー」で、「環境設定」ボタンをクリックすると、環境設定モードが選択される。この環境設定モードに切り替わると、ディスプレイ画面20aに図4に示すような画面が映し出され、画面の右下部に「定義区別設定」、「定義情報設定」等のサブモード選択ボタンが表示される。ここで、「定義情報設定」ボタンをクリックすると、定義情報設定モードに入り、図5に示すような「定義要素/記入情報対照表」画面に表示される。   When the “Environment setting” button is clicked in the “main mode-view menu”, the environment setting mode is selected. When switched to the environment setting mode, a screen as shown in FIG. 4 is displayed on the display screen 20a, and sub-mode selection buttons such as “definition distinction setting” and “definition information setting” are displayed in the lower right portion of the screen. Here, when the “definition information setting” button is clicked, the definition information setting mode is entered and displayed on the “definition element / entry information comparison table” screen as shown in FIG.

図5において、本実施例では、「共通」、「帳表定義」、等の複数の定義系が用意され、各定義系の中に複数の定義要素が設定されている。このうち、「帳表定義」、系の各定義要素は帳表上のデータ管理上のフォーマットを設定するために用いられ、「共通」の各定義要素は、他の定義系の定義にも共用される。   5, in this embodiment, a plurality of definition systems such as “common” and “book table definition” are prepared, and a plurality of definition elements are set in each definition system. Of these, “book table definition” and each definition element of the system are used to set the format for data management on the book table, and each definition element of “common” is also shared with other definition system definitions Is done.

図5に示すように、各定義要素には、1種類または複数種類の所定の文字(文字列)、記号または図形が対応づけられている。定義要素の中には、たとえば、定義要素「丸め方」に対応する“切上げ”のようにその記入情報だけで目的の定義内容を表すものもあれば、定義要素「項目名」に対応する“< >”のように、定義内容を構成するものとして、書面上の他の記入情報を指定するものもある。また、定義要素「登録語指定」に対応する“○”のように、これによって指定されている文字、記号等は、応用用語辞書を参照して定義内容を解釈すべきことを指示するものもある。 As shown in FIG. 5, each definition element is associated with one or more types of predetermined characters (character strings), symbols or figures. Some definition elements, for example, “round up” corresponding to the definition element “rounding”, represent the definition content of interest only by the entry information, and “ Some of the contents of the definition, such as “<>”, specify other entry information on the document. In addition, characters such as “○” corresponding to the definition element “registered word designation” indicate that the designated contents should be interpreted with reference to the application term dictionary. is there.

上記のような定義要素と記入情報との対応付けは、システムが最初から用意していてもよく、あるいはユーザが画面入力で随時設定登録できるようにしてもよい。いずれにしても、たとえば図6に示すようなデータフォーマットで、各定義要素毎に図5の対照表に相当する可変データ長の定義要素識別データが設定される。各定義要素識別データは、後述する定義情報認識部の定義要素識別データ記憶部48(図21)に保持される。   The association between the definition element and the entry information as described above may be prepared from the beginning by the system, or the user may be able to set and register at any time by screen input. In any case, for example, definition element identification data having a variable data length corresponding to the comparison table of FIG. 5 is set for each definition element in a data format as shown in FIG. Each definition element identification data is held in a definition element identification data storage section 48 (FIG. 21) of a definition information recognition section described later.

なお、図6の「定義要素識別データ」のデータフォーマットにおいて、「定義系コード」のデータ・フィールドには当該定義要素(たとえば「切上げ」)の属する定義系(帳表定義)のコードがセットされ、「定義要素種別」のデータ・フドィールドには当該定義要素(切上げ)のコードがセットされ、「構成文字列/記号列」の各データ・フィールドには当該定義要素(切上げ)に対応する文字列(切上げ、切り上げ…)のコードが所定の区切り識別データを挟んでセットされ、末尾のフィールドにはこのデータの終端を示す所定の終端識別データが付けられる。   In the data format of “definition element identification data” in FIG. 6, the code of the definition system (book table definition) to which the definition element (for example, “rounded up”) belongs is set in the data field of “definition system code”. , The code of the definition element (rounded up) is set in the data field of “definition element type”, and the character string corresponding to the definition element (round up) in each data field of “configuration string / symbol string” A code (rounded up, rounded up ...) is set across predetermined delimiter identification data, and predetermined end identification data indicating the end of this data is attached to the last field.

上記のように、本実施例では、文書上で各種の定義を行うための定義要素が、通常の文書内容を表す通常記入情報としても利用可能な文字、記号または図形と対応づけられている。ただし、後述するように、定義要素として用いられるときは、当該記入情報に特別の修飾情報(たとえば色情報)を付し、文書内容を表す通常記入情報とは区別するようにしている。つまり、ユーザにあっては、普段使い慣れている記入情報を、文書内容を表すための通常記入情報としてそのまま使えるだけでなく、これに特別の修飾情報を付加することで定義内容を示すための定義情報としても使えるようになっている。   As described above, in this embodiment, definition elements for performing various definitions on a document are associated with characters, symbols, or figures that can be used as normal entry information representing normal document contents. However, as will be described later, when used as a definition element, special modification information (for example, color information) is attached to the entry information so as to distinguish it from normal entry information representing the document contents. In other words, the user can use the entry information that he / she is familiar with as normal entry information to represent the document contents as it is, but also add a special modification information to the definition to show the definition contents. It can be used as information.

図4の「環境設定モード画面」において「定義区別設定」のサブモード選択ボタンを選択すると、ディスプレイ画面20aには図7に示すような「定義情報区別指示画面」が現われる。
図7において、[定義系]の欄こは「帳票定義」等の定義系がリストされている。ユーザは、各定義系の記入情報に用いる[色]、[線修飾]、[線太さ]、[手書き/印刷]の修飾情報または識別情報を各位置に入力すればよい。
図7の例では、たとえば、「帳表定義」の定義系には(青)を[色]の欄に入力し、「書式定義」の定義系には(赤)を指定している。「共通」の各定義要素は全ての定義系に共用されるので、「共通」固有の修飾情報を設定する必要はない。
When the “definition distinction setting” sub-mode selection button is selected on the “environment setting mode screen” in FIG. 4, a “definition information distinction instruction screen” as shown in FIG. 7 appears on the display screen 20a.
In FIG. 7, the “definition system” column lists definition systems such as “form definition”. The user only has to input the modification information or identification information of [color], [line modification], [line thickness], and [handwriting / printing] used for the entry information of each definition system at each position.
In the example of FIG. 7, for example, (blue) is entered in the [Color] field for the definition system of “book table definition”, and (red) is specified for the definition system of “format definition”. Since each definition element of “common” is shared by all definition systems, there is no need to set decoration information unique to “common”.

以上の指定を終えると、「定義情報区別指示画面」上の「終了」ボタンを指示すると、以上の定義情報区別指示の入力操作に応動してシステム内では、たとえば図8に示すようなデータフォーマットで各定義系についての定義情報区別データが設定される。この定義情報区別データは、後述する定義情報認識部の定義情報区別データ記憶部50(図21)に保持される。   When the above specification is completed, when an “end” button on the “definition information distinction instruction screen” is designated, a data format as shown in FIG. The definition information distinction data for each definition system is set in. This definition information distinction data is held in the definition information distinction data storage unit 50 (FIG. 21) of the definition information recognition unit described later.

次に、このシステムを用いて、ユーザが用紙上に自由に作成した集計表の上に、データの集計出力をおこなう例について説明する。
ユーザは、たとえば、図9に示す表のフォーマットを用紙として持っており、このフォーマット上に他のデータファイルのデータ、または、他の表フォーマットのデータを集計出力させることを意図しているものとする。
Next, an example will be described in which data is totaled and output on a tabulation table freely created on a sheet by the user using this system.
For example, the user has the table format shown in FIG. 9 as a sheet, and intends to output the data of another data file or the data of another table format on this format. To do.

表フォーマット中のあるデータを参照する時に、そのデータと「レコード」を構成するデータとして同時に参照される表フォーマット中のデータは、一般に、表フォーマットを使用する時に誰もがしたがう作成上の規則によって、通常の場合、該当のデータと表フォーマット上において同一行、または、同一列上に記入されていなければならない。
本明細書においては、あるデータを参照する時に、そのデータと「レコード」を構成するデータとして同時に参照される表フォーマット中のデータのことを、「関連データ条件」と呼び、その「関連データ条件」のデータが、通常の場合に記入される表フォーマット上の位置を特に、「関連データ記入位置」と呼ぶことにする。
When referring to certain data in the table format, the data in the table format that is simultaneously referenced as the data constituting the "record" is generally subject to the creation rules that everyone follows when using the table format. Normally, it must be written in the same row or column in the table format with the corresponding data.
In this specification, when referring to certain data, the data in the table format that is simultaneously referenced as the data constituting the data and the record is referred to as the “related data condition”. In particular, the position on the table format in which the data "" is normally entered is referred to as "related data entry position".

上記したように、図9に示した表フォーマットにおいて、文字列”売上げ”を見出し語とするデータフィールドの中、例えば、表の第2列上、第4行上のデータ記入欄(セル)の「関連データ条件」は、項目名「年度」については、同じ第2列上に記入されている「2001年」であり、項目名「商品」については同じ第4行上に記入されている「ラジオ」である。このデータ記入欄(セル)には、この「関連データ条件」を集計条件として、項目名「売上げ」のデータが集計記入されるようになっている。   As described above, in the table format shown in FIG. 9, in the data field having the character string “sales” as a headword, for example, in the data entry column (cell) on the second column and the fourth row of the table. The “related data condition” is “2001” entered in the same second column for the item name “FY”, and “item” “product” is entered in the same fourth row. Radio ". In this data entry column (cell), the data of the item name “sales” is tabulated and entered using this “related data condition” as a tabulation condition.

また、その右横(表の第3列上)に隣接し、文字列”対前年比”を見出し語とするデータ記入欄(セル)には、次のような記入条件により、データが集計記入されるようになっている。
すなわち、このデータ記入欄(セル)には、このデータ記入欄(セル)の上記した「関連データ記入位置」から読み取られるデータ(項目名「年度」については「2001年」、項目名「商品」については「ラジオ」)を基準として、その中の項目名「年度」についてのデータである「2001年」を、その「前年度」にあたる「2000年」に入れ替えた「関連データ条件」を集計条件として、いったん、項目名「売上げ」のデータが集計され、次に、この項目名「売上げ」の集計値データに対して、その左横に位置する項目名「売上げ」のデータ記入欄(セル)内の集計値データとの比率が計算され、記入されるようになっている。
In the data entry column (cell) that is adjacent to the right side (on the third column of the table) and has the character string “YoY change” as the headword, the data is tabulated according to the following entry conditions. It has come to be.
That is, in this data entry column (cell), data read from the “related data entry position” in the data entry column (cell) (“2001” for the item name “year”, “item” “product”) Is based on “Radio”), and “2001”, which is the data for the item name “FY”, is replaced with “2000”, which is the “previous year”. Once, the data of the item name “Sales” is aggregated, and then the data entry column (cell) of the item name “Sales” located on the left side of the aggregate value data of this item name “Sales” The ratio with the aggregated value data is calculated and entered.

文字列”対前年比”を見出し語とするデータ記入欄(セル)について、そのデータ記入条件を定義するために、最初に、その「関連データ記入位置」から読み取ったデータ(項目名「年度」については「2001年」、項目名「商品」については「ラジオ」)は、その左横に隣接する”売上げ”を見出し語とするデータ記入欄(セル)の「関連データ条件」と同じである。   In order to define the data entry conditions for the data entry column (cell) with the character string “YoY change” as the headword, first the data read from the “related data entry position” (item name “year”) “2001” for item name “radio” for item name “product”) is the same as “related data condition” in the data entry column (cell) with “sales” adjacent to the left side as the headword. .

また、この文字列”対前年比”を見出し語とするデータ記入欄(セル)の「項目名」は、この左横に隣接する”売上げ”を見出し語とするデータ記入欄(セル)と同じ「売上げ」である。一般に、上記した表の作成上の規則の1つとして、「項目名」の明示的な記入による対応付けが省略されているデータ記入欄(セル)が、他のデータ記入欄(セル)と「関連データ記入位置」にあるデータを共有している場合、両者は「項目名」も共有しているものと見なさなければならない。   Also, the “item name” in the data entry column (cell) whose headline is this character string “YoY” is the same as the data entry column (cell) whose headword is “sales” adjacent to the left side. “Sales”. In general, as one of the rules for creating the above-described table, a data entry column (cell) in which the association by explicit entry of “item name” is omitted is replaced with another data entry column (cell) and “ If the data at the “related data entry position” is shared, both must be regarded as sharing the “item name”.

以上のことから、図9の表フォーマットの例における文字列”対前年比”を見出し語とするデータ記入欄(セル)の記入条件は、次のように表現することもできる。すなわち、このデータ記入欄(セル)には、その左横に位置する項目名「売上げ」のデータ記入欄(セル)を基準のセルとして、いったん、その基準のセルの「関連データ条件」に対して、ある変更を加えた「関連データ条件」によって同じ項目名「売上げ」のデータが集計され、次に、この集計データとその基準のセル内集計データとの間で同一項目名間の演算がおこなわれ、その演算結果が記入されるようになっている。   From the above, the entry conditions in the data entry column (cell) with the character string “YoY change” in the example of the table format of FIG. 9 as the headword can also be expressed as follows. That is, in this data entry column (cell), the data entry column (cell) of the item name “sales” located on the left side of the data entry column (cell) is used as a reference cell, and once against the “related data condition” of the reference cell. Then, the data of the same item name “Sales” is aggregated according to the “Related Data Condition” with some changes, and then the operation between the same item names is performed between this aggregated data and the standard aggregated data in the cell. The calculation result is entered.

本明細書においては、以上の「派生セル」内データを生成する2段階の処理の中、前段階である、データを集計する時に集計条件として参照される「関連データ条件」における基準となるセルに対する変更内容を「関連データ差異条件」と呼び、また、後段階である、基準となるセル内のデータと該当セル内の集計データとの間でおこなわれる同一項目名間の演算内容を「演算条件」と呼ぶことにする。   In the present specification, the cell serving as a reference in the “related data condition” referred to as the aggregation condition when the data is aggregated, which is the previous stage in the above-described two-stage processing for generating the data in the “derived cell”. The changes made to are referred to as “related data difference conditions”, and the operation contents between the same item names that are performed between the data in the reference cell and the aggregated data in the corresponding cell, which is the later stage, are It will be called "condition".

本明細書においては、上記したように、あるデータ記入欄(セル)のデータ記入条件が、他のあるデータ記入欄(セル)のデータまたはデータ記入条件を基準として、それに対する変更または変換を指定する形により定義されている場合、本明細書においては、この変更を指定する条件のことを「派生条件」と呼ぶことにする。
また、この変更を指定する基準となるデータ記入欄(セル)を「ベースセル」と呼び、「ベースセル」に対する「派生条件」の指定によりデータ記入条件が定義されるデータ記入欄(セル)を「派生セル」と呼ぶ。
In this specification, as described above, the data entry condition of a certain data entry column (cell) is designated to be changed or converted based on the data or data entry condition of another data entry column (cell). In the present specification, a condition that designates this change is referred to as a “derivative condition”.
Also, the data entry field (cell) that serves as a reference for specifying this change is called a “base cell”, and the data entry field (cell) in which the data entry conditions are defined by specifying the “derivative condition” for the “base cell” This is called “derived cell”.

上記した基準となるセルとの間で同一項目名間の演算を定義する「演算条件」は、「ベースセル」内データに対する1つの変換操作を指示するものとして、上記した「派生条件」の1つの具体形であるということができる。
以上のことから、上記した、文字列”対前年比”を見出し語とするデータ記入欄(セル)は、その左横に隣接する”売上げ”を見出し語とするデータ記入欄(セル)を「ベースセル」とする「派生セル」であり、その「派生条件」は、該当「ベースセル」の「関連データ条件」に対して「関連データ差異条件」が指示する変更を加えた「関連データ条件」により決まる「派生セル」データ出力値を、もう1つのオペランドとする「演算条件」であるということができる。
The “calculation condition” that defines the calculation between the same item names with the reference cell described above indicates one conversion operation for the data in the “base cell”. It can be said that it is one concrete form.
From the above, the data entry column (cell) whose headword is the character string “YoY change” is the data entry column (cell) whose headword is “sales” adjacent to the left side thereof. A “derived cell” that is a “base cell”, and the “derived data” is a “related data condition” in which the “related data difference condition” is changed to the “related data condition” of the corresponding “base cell”. "Derived cell" data output value determined by the "operating condition" with another operand.

なお、「演算条件」は、後出の(他の使用例1)に示す例のように、他の条件によって生成されたデータをオペランドとすることもある。また、「関連データ差異条件」も、後出の(他の使用例3、4)に示す例のように、「演算条件」と組み合わされない単独で指定される場合は、「ベースセル」の「関連データ条件」に変更を加えて、「派生セル」の関連データ条件を生成することによって、「派生セル」内のデータを規定することから、上記「派生条件」の1つの具体形であるということができる。   Note that the “calculation condition” may use data generated by other conditions as an operand, as in the example described later (other use example 1). In addition, when the “related data difference condition” is also specified alone without being combined with the “calculation condition” as in the example described later (other usage examples 3 and 4), the “base cell” “ Since the data in the “derived cell” is defined by changing the “related data condition” and generating the related data condition of the “derived cell”, it is one specific form of the “derived condition”. be able to.

ユーザは、各項目名とそのデータ名との関連付けを記述した、何らかの辞書(たとえば、商品名マスタファイル…)を前提に、以上のことを表内の記入内容から読み取っている。例えば、項目名「年度」については、各々、その記入データの並び“2001年”、“2002年”、“2003年”から読み取り、項目名「商品」については、記入データの並び“テレビ”、“ラジオ”、“カーナビ”に加え、それに隣接した上側位置に記入されている見出し語“商品名”の助けも得て読み取っている。また、項目名「売上げ」とそのデータ記入欄(フィールド)との対応付けは表の表題から読み取っている。   The user reads the above from the entry contents in the table on the premise of some dictionary (for example, product name master file...) Describing the association between each item name and its data name. For example, the item name “FY” is read from the entry data sequence “2001”, “2002”, “2003”, and the item name “product” is entered from the entry data sequence “TV”, In addition to “radio” and “car navigation”, it is read with the help of the headword “product name” written in the upper position adjacent to it. The correspondence between the item name “sales” and its data entry field (field) is read from the title of the table.

また、図9の表フォーマットにおいて、ユーザは、「派生セル」とその「派生条件」の組み合わせを、見出し語として記入されている”対前年比”から一意に読みとっている。すなわち、”対前年比”という用語を構成する部分文字列”前年”から、上記したデータ集計条件の差異である「関連データ差異条件」を読み取り、それを挟む部分文字列の”対…比”から、上記した演算がおこなわれることを示す「演算条件」を読み取っている。   In the table format of FIG. 9, the user uniquely reads the combination of “derived cell” and “derivative condition” from “year-on-year comparison” entered as a headword. That is, from the partial character string “previous year” that constitutes the term “year-on-year”, the “related data difference condition” that is the difference in the data aggregation conditions described above is read, and the “comparison ratio” of the partial character string sandwiching it is read. From the above, “calculation conditions” indicating that the above-described calculation is performed are read.

なお、本明細書においては、同じ項目名と「派生条件」を持ち、隣接しあう「派生セル」の集合を「派生データフィールド」と呼び、1つの「派生データフィールド」を構成する各セルに対する「ベースセル」の集合を「ベースデータフィールド」と呼ぶことにする。
図9の表中においては、上記したように、表の上側から見て第3行から第6行まで、左側から見て第2列から第7列までののセルのマトリクスに、見出し語を”売上げ”とする「ベースデータフィールド」と見出し語を”対前年比” とする、その「派生データフィールド」とが平行隣接して配置され、この2つのデータフィールドの組み合わせが横方向に3回繰り返す形で配置されていることになる。
In this specification, a set of adjacent “derived cells” having the same item name and “derivative condition” is called a “derived data field”, and each cell constituting one “derived data field” is referred to as “derived data field”. A set of “base cells” is referred to as a “base data field”.
In the table of FIG. 9, as described above, headwords are entered in a matrix of cells from the third row to the sixth row as viewed from the upper side of the table and from the second column to the seventh column as viewed from the left side. The “base data field” for “sales” and the “derived data field” with the headline “YoY” are arranged in parallel, and the combination of these two data fields is three times in the horizontal direction. It will be arranged repeatedly.

この「ベースデータフィールド」と「派生データフィールド」の各組み合わせの 各々に対して、第1行上の項目名「年度」のデータである“2001年”、“2002年”、“2003年”が横方向の位置を共有する形で対応している。例えば、第2列上に配置された見出し語”売上げ”の「ベースデータフィールド」と第3列上に配置された見出し語” 対前年比”の「派生データフィールド」の組み合わせに対しては、項目名「年度」のデータの“2001年”が横方向の位置を共有する形で対応している。   For each combination of the “base data field” and “derived data field”, the data of “2001”, “2002”, and “2003”, which are the data of the item name “year” on the first row, are displayed. It corresponds by sharing the horizontal position. For example, for the combination of the “base data field” of the headword “sales” arranged in the second column and the “derived data field” of the headword “YoY” arranged in the third column, “2001” in the data of the item name “year” corresponds in a form of sharing the horizontal position.

また、表中の最下行には、次のような合計値を記入する合計欄が設けられている。すなわち、見出し語を”売上げ”とするデータフィールドの最下端となっている合計欄セルには、各々、同一列の項目名「売上げ」のデータを合計した値を記入されるようになっている。また、見出し語を”対前年比”とするデータフィールドの最下端となっている合計欄セルには、各々、次のような条件によりデータが記入されるようになっている。   The bottom row of the table has a total column for entering the total value as follows. In other words, the total column cell at the bottom of the data field with the headword “sales” is filled with the total value of the data of the item name “sales” in the same column. . The total column cells at the bottom of the data field having the headword as “YoY” are filled with data under the following conditions.

すなわち、上記したように、表フォーマット上の見出し語を”対前年比”とする「派生セル」には、上記した前段階の処理として、いったん、該当の「べースセル」の「関連データ条件」に対して、「関連データ差異条件」が指示する変更を加えた「関連データ条件」によりデータが集計される。見出し語を同じく”対前年比”とする最下行の各合計欄セルについては、先ず、それと同一列に属する各「派生セル」中の、この前段階の処理によって集計されたデータが合計され、ついで、この合計データとその左横に位置する、見出し語を”売上げ”とする合計欄セル中の合計データとの間で、該当の「演算条件」により指示されている比率演算がおこなわれ、その演算結果データが記入される。   That is, as described above, in the “derived cell” in which the headword in the table format is “YoY”, the “related data condition” of the corresponding “base cell” is temporarily processed as the above-described process. On the other hand, the data is aggregated according to the “related data condition” obtained by adding the change indicated by the “related data difference condition”. For each total column cell in the bottom row with the same headword as “YoY”, first, the data aggregated by this previous processing in each “derived cell” belonging to the same column is totaled, Next, the ratio calculation indicated by the corresponding “calculation condition” is performed between the total data and the total data in the total column cell having the headword “sales” located on the left side of the total data, The calculation result data is entered.

ユーザは、見出し語を”対前年比”とする最下行の合計欄セルについての、以上のような記入条件を、見出し語”対前年比”中の「演算差異条件」示す部分文字列”対…比”と最下行の右端に記入された見出し語”計”とから読み取っている。   The user enters the above entry conditions for the total column cell in the bottom row with the headword “YoY” as the substring “computation difference condition” in the headword “YoY”. It is read from "..." and the headword "total" written at the right end of the bottom line.

本システムでは、ユーザが上記のように認識するとおりの定義内容をシステムに多意性なく定型的に認識させるように、図10に示す「定義付け」操作をおこなう。この「定義付け」操作は、集計表の元々の記入内容である通常記入情報と区別し得る定義支援記入情報を追加記入することによっておこなう。本例の場合、定義支援記入情報は、図7に示したように「共通」と「帳表定義」の定義系に割り当てた(青)色を用いて記入することによって、通常記入情報と区別することにする。 In the present system, the “define” operation shown in FIG. 10 is performed so that the definition contents as recognized by the user as described above are recognized in a regular manner without any ambiguity. This “definition” operation is performed by additionally entering definition support entry information that can be distinguished from normal entry information that is the original entry contents of the tabulation table. In the case of this example, the definition support entry information is distinguished from the normal entry information by filling in the (blue) color assigned to the definition system of “common” and “book table definition” as shown in FIG. I will do it.

集計表における「定義付け」の基本として、まず、集計表上の全てのデータフィールドについて、その項目名を対応付ける「項目定義」をおこなう。なお、本明細書においては、「項目定義」がおこなわれたデータフィールドを、以降、「項目定義データフィールド」と呼び、「項目定義」に使用する項目名を、「対応項目名」と呼ぶ。   As the basis of “definition” in the summary table, first, “item definition” is performed to associate the item names of all data fields on the summary table. In the present specification, the data field in which “item definition” is performed is hereinafter referred to as “item definition data field”, and the item name used for “item definition” is referred to as “corresponding item name”.

項目定義データフィールドは、以下のように指定する。先ず、表フォーマット上において、「ベースセル」、または、「派生セル」になっていないデータ記入域セル(以降、「通常セル」と呼ぶ)について、同じ「対応項目名」を持ち、隣接し合うセルの集合(以降、「通常データフィールド」と呼ぶ)毎に、「フィールド指定」の定義要素記号“「 」”、または、“[ ]”を使用し、データフィールド範囲の指定をおこなう。すなわち、「フィールド指定」の定義要素記号“「 」”、または“[ ]”の構成記号である“「”と“」”、あるいは“[”と“]”を、各々、該当セル列の両端セル中の所定位置に記入する。
なお、本明細書においては、上記のようにデータフィールド範囲の指定をおこなったデータフィールドのことを、「指定データフィールド」と呼ぶことにする。
The item definition data field is specified as follows. First, in the table format, data entry area cells that are not “base cells” or “derived cells” (hereinafter referred to as “normal cells”) have the same “corresponding item name” and are adjacent to each other. For each set of cells (hereinafter referred to as “normal data field”), the definition field symbol ““ ”” or “[]” of “field specification” is used to specify the data field range. The definition element symbol ““ ”” of “Field specification”, ““ ”and“ ””, or “[” and “]”, which are constituent symbols of “[]”, respectively, in both end cells of the corresponding cell column Fill in the designated position.
In the present specification, a data field for which a data field range has been designated as described above is referred to as a “designated data field”.

「派生セル」となっているデータ記入域セルについては、共通の「対応項目名」と「差異条件」を持ち、隣接しあう「派生セル」の集合(セル列)である「派生データフィールド」毎に、「フィールド指定」の定義要素を使用し、同様にデータフィールド範囲の指定をおこなう。
また、「ベースセル」となっているデータ記入域セルについても、共通の「対応項目名」を持ち、隣接しあう「ベースセル」の集合(セル列)である「ベースデータフィールド」毎に、同様にデータフィールド範囲の指定をおこなう。
For data entry cells that are “derived cells”, “derived data field” that is a set (cell column) of adjacent “derived cells” that have a common “corresponding item name” and “difference condition” Each time, use the “field specification” definition element and specify the data field range in the same way.
For each data entry area cell that is a “base cell”, each “base data field” that is a set (cell column) of adjacent “base cells” having a common “corresponding item name” Specify the data field range in the same way.

本例の場合、表の第2列から第7列までの各列上の「ベースデータフィールド」、「派生データフィールド」毎に、上記したデータフィールド範囲の指定をおこなうことになる。
なお、表の最下行上の左から見て第2列目以降のセル列は、「対応項目名」が「売上げ」のデータ記入欄(データフィールド)に属するが、この部分は表内のデータ合計値の記入欄でもあるので、システムによる処理の便宜上、後述する合計欄データフィールドの定義のみをおこない、今、おこなおうとしている「項目定義」の対象のデータフィールドには含めない。
In the case of this example, the above-described data field range is designated for each “base data field” and “derived data field” on each column from the second column to the seventh column of the table.
Note that the cell columns after the second column as viewed from the left on the bottom row of the table belong to the data entry column (data field) whose “corresponding item name” is “sales”, but this part is the data in the table. Since it is also a total value entry column, for the convenience of processing by the system, only the total column data field to be described later is defined and not included in the data field that is the subject of “item definition” that is to be performed now.

次に、上記のように定義した各「指定データフィールド」について、「対応項目名」の定義をおこなう。本システムでは、この「対応項目名」の定義付けを、書面上において「項目名」として指定した文字列を、該当の指定フィールドと次に述べるような「特定の関係付け」を与えることによりおこなう。   Next, “corresponding item name” is defined for each “specified data field” defined as described above. In this system, this "corresponding item name" is defined by giving a character string specified as "item name" on the document to the specified field and the "specific relationship" described below. .

先ず、該当のデータフィールドの「特定隣接位置」に、元々、見出し語として記入されている文字列を、「対応項目名」として使用したい場合には、その文字列の両側に「項目名指定」の定義要素記号“<>”の各構成記号”<”と”>”とを、各々、追記するだけでよい。なお、本明細書においては、このように、書面上において「項目名指定」の定義要素を用いて、「項目名」として定義したた文字列のことを、特に、「項目名指定文字列」と呼ぶことにする。   First, if you want to use the character string originally written as a headword in the “specific adjacent position” of the corresponding data field as the “corresponding item name”, specify “item name designation” on both sides of the character string. It is only necessary to add each component symbol “<” and “>” of the definition element symbol “<>”. In this specification, the character string defined as “item name” using the definition element of “item name designation” on the document in this way, in particular, “item name designation character string” I will call it.

ここで、データフィールドの「特定隣接位置」とは、そのデータフィールドのセル列が横方向に配置されたものである場合、そのフィールドの左側に隣接する位置であり、そのデータフィールドのセル列が縦方向に配置されたものである場合、そのフィールドの上側に隣接する位置のことをいう。
本例の場合、この方法により、表上に元々の記入内容―通常記入情報の見出し語として記入されている文字列“商品“と”売上げ”が、各々、その下側に隣接している指定データフィールドの「対応項目名」として定義されることになる。
Here, the “specific adjacent position” of the data field is a position adjacent to the left side of the field when the cell column of the data field is arranged in the horizontal direction, and the cell column of the data field is In the case of being arranged in the vertical direction, it means a position adjacent to the upper side of the field.
In the case of this example, this method is used to specify the original entry contents on the table-the character string "product" and "sales" that are entered as headwords of the normal entry information, each adjacent to the lower side. It is defined as the “corresponding item name” of the data field.

仮に、「対応項目名」としたい文字列が、元々の記入内容―通常記入情報の見出し語として該当のデータフィールドの「特定隣接位置」に記入されていない場合は、該当の文字列を(青)色の定義支援情報を用いて、該当データフィールド近傍の空欄に記入した上、上記した定義要素による「項目名」の指定を施し、さらに、定義要素の「結合線」を用いて、該当の指定データフィールドと結べばよい。   If the character string you want to use as the “corresponding item name” is not entered in the “specific adjacent position” of the corresponding data field as the entry word of the original entry content-normal entry information, the character string (blue ) Using the color definition support information, fill in the blank near the corresponding data field, specify the “item name” by the above definition element, and then use the “join line” of the definition element to Just connect with the specified data field.

本例の場合、この方法により、(青)色の定義支援情報を用いて追記した文字列“年度”が、該当する「指定データフィールド」の「対応項目名」として定義されることになる。
なお、文字列“年度”を「対応項目名」として使用する時には、それが応用用語辞書52(後出図29)中において「年月日項目」区分として登録されていることを確認した上でおこなう。 また、「派生データフィールド」の「対応項目名」の定義付けは、本例のように対応する「ベースデータフィールド」が一意に決まる場合には、省略してよい。
In this example, by this method, the character string “year” added using the (blue) color definition support information is defined as the “corresponding item name” of the corresponding “designated data field”.
When the character string “year” is used as the “corresponding item name”, it is confirmed that it is registered as the “year / month / day item” category in the applied term dictionary 52 (see FIG. 29). Do it. Further, the definition of “corresponding item name” of “derived data field” may be omitted when the corresponding “base data field” is uniquely determined as in this example.

なお、この出力先表フォーマット上において、各「対応項目名」について「集計区分」の指定をおこなっておいてもよい。 例えば、項目名「売上げ」に対して、「集計区分」が「集計数値」であること指定をするために、項目名文字列”売上げ”の右肩部分に、定義要素「集計数値指定」の“○”記号を(青)色の定義支援記入情報として追記する。 仮に、表フォーマット上に項目名「単価」のように、集計され得ない数値データが存在するときは、「非集計数値データ」を示す定義要素記号を設け、該当項目名文字列の右肩部に付しておけばよい。   In this output destination table format, “aggregation category” may be designated for each “corresponding item name”. For example, for the item name “Sales”, in order to specify that “Aggregation Category” is “Aggregation Value”, the definition element “Aggregation Value Specification” is placed on the right shoulder of the item name string “Sales”. Add "○" symbol as (blue) color definition support entry information. If there is numeric data that cannot be aggregated, such as the item name “Unit Price” on the table format, a definition element symbol indicating “Non-aggregated numeric data” is provided, and the right shoulder of the corresponding item name character string It should be attached to.

また、集計時にキーとなる項目名について、「キー区分」の指定をおこなっておいてもよい。通常作成される多次元の集計表においては、各キー項目のデータフィールドは、先ず、1行または1列上に配置されたセル列であって、表の最上端部または最左端部において互いに平行して隣接する形で配置され、かつ、そのセル列方向の上側方向または左側方向には他の項目名のデータが配置されていない。以上の条件を備えたデータフィールドのことを、本明細書においては、「独立項記入域」と呼ぶことにする。 In addition, “key classification” may be designated for the item name that becomes a key at the time of aggregation. In a normally created multidimensional summary table, the data field of each key item is first a cell column arranged in one row or one column, and is parallel to each other at the uppermost end or the leftmost end of the table. Are arranged adjacent to each other, and no data of other item names is arranged in the upper or left direction in the cell column direction. A data field having the above conditions is referred to as an “independent item entry area” in this specification.

本システムにおいては、集計のキー項目を指定する一般的取り扱いとしては、集計のキー項目であることを示す定義要素記号を設け、それを該当の項目名文字列の右肩部に付すことによって、データフィールド毎に個別に指定する。ただし、本例のように表上に、この「キー項目指定」の定義要素記号が付せられていない時は、デフォールトのユーザ規則として、上記した「独立項記入域」のデータフィールドは、集計のキー項目のデータフィールドと見なし、その他の表上の領域に設けられたデータフィールドは、集計のキー項目でない項目である「非キー項目」のデータフィールドと見なすことにする。   In this system, as a general treatment to specify the key item of aggregation, by providing a definition element symbol indicating that it is a key item of aggregation, and attaching it to the right shoulder of the corresponding item name character string, Specify each data field individually. However, if the definition element symbol of this “key item specification” is not added to the table as in this example, the data field of the above “independent item entry area” is aggregated as the default user rule. The data field provided in the other table area is regarded as a data field of “non-key item” which is an item that is not a key item of aggregation.

次に、書面上において、各「派生データフィールド」について、その「派生条件」の定義付けをおこなう。本システムでは、この定義付けを、書面上において「派生条件」として定義した文字列である「派生条件指定語」を該当のデータフィールドに対して、上記した「特定の関係付け」を与えることによりおこなう。   Next, on the document, for each “derived data field”, the “derivative condition” is defined. In this system, this definition is made by giving the above-mentioned “specific relationship” to the corresponding data field with the “derivative condition specification word” that is a character string defined as “derivative condition” in writing. Do it.

本例の場合、各「派生データフィールド」の見出し語として、その「特定隣接位置」に記入されている文字列”対前年比 ”を(青色)の定義支援記入情報により「解釈指定」の定義要素”○”により囲めばよい。但し、この「解釈指定」定義要素”○”による指定は、指定対象の文字列中の部分文字列である”対…比”と”前年”とが、各々、応用用語辞書52(後出図29)中において、「演算指定2」区分と「相対指定」区分として登録されている用語であることを確認した上でおこなう。   In the case of this example, as the headword of each “derived data field”, the character string “YoY” in the “specific adjacent position” is defined as “interpretation designation” using (blue) definition support entry information. Enclose with element “○”. However, in the designation by the “interpretation designation” definition element “◯”, “partial ratio” and “previous year” which are partial character strings in the character string to be designated are respectively applied to the application term dictionary 52 (see below). 29), after confirming that the terms are registered as the “calculation designation 2” category and the “relative designation” category.

本例では、上記したように、システム中の応用用語辞書52中の登録用語”前年”を用いて、「関連データ差異条件」の内容を定めている。本明細書においては、このように、「関連データ差異条件」の定義に用いている、システムの辞書手段中に予め登録した特定の用語を、特に、「関連データ差異条件登録語」と呼ぶことにする。   In this example, as described above, the registered term “previous year” in the application term dictionary 52 in the system is used to define the contents of the “related data difference condition”. In the present specification, the specific term previously registered in the dictionary means of the system used for the definition of the “related data difference condition” is particularly referred to as “related data difference condition registration word”. To.

本システムは、ユーザが書面上に記入されている文字列などの記入情報をそのまま使用して、システムに、ユーザが記入した時に意図した意味にしたがって解釈させて処理させることを基本的な考え方とする。このユーザによる記入情報の解釈をシステムに確定的におこなわせるために、本システムでは以下のことをおこなう。   The basic concept of this system is to let the system interpret and process the information according to the intended meaning when the user wrote it, using the information such as the character string written on the document as it is. To do. In order to make the system interpret the entry information by the user deterministically, the system performs the following.

先ず、ユーザとのインターフェースとして、ユーザが日常使用している意味にしたがってシステムに解釈させたい用語を、ユーザとシステムの両者が参照できる特定の辞書手段(応用用語辞書52)に登録しておき、ユーザに書面上におけるシステムに解釈させたい部分を、特定の指定手段によって指定させる。(「解釈指定」定義要素”○”によって囲む)
なお、この辞書手段の登録用語の意味に、あいまい性、多意性が残る場合には、応用用語辞書52のユーザとのインターフェース(例えば、ユーザマニュアル)中に、語義の注釈を付けて、意味の確定をおこなっておく。
First, as an interface with the user, a term that the system wants to interpret according to the meaning that the user uses everyday is registered in a specific dictionary means (application term dictionary 52) that can be referred to by both the user and the system. A part to be interpreted by the system on the document is specified by a specific specifying means. (Enclosed by the “interpretation specification” definition element “○”)
If the meaning of the registered terms in the dictionary means remains ambiguous and ambiguous, add meaning annotations in the interface with the user of the application term dictionary 52 (for example, user manual) Confirm the following.

システムは、この指定された文字列部分について、先ず、その中の上記辞書手段の登録用語は、上記辞書手段によって確定された意味にしたがって解釈し、さらに、用語間の関係を使用言語(本例の場合、日本語)の構文規則にしたがって解釈した上、文字列全体の意味を定める。   The system first interprets the designated character string portion according to the meaning determined by the dictionary means, and further interprets the relationship between terms in the language used (this example). In the case of, the meaning of the entire character string is determined after interpretation according to the syntax rules of Japanese).

以上のように、定義内容を構成する定義情報として、その意味が一意に定まる文字列が、本システムが定めた「派生条件」としての形式と条件を満たした上、あるデータフィールドとの間で、上記した「特定の関係付け」が与えられている場合、該当の文字列は、このデータフィールドの「派生条件指定語」として定義されることになる。ある文字列とあるデータフィールドとの間の「特定の関係付け」とは、上記したように、両者が「特定隣接位置」にある場合か、定義要素の「結合線」により結ばれている場合である。   As described above, the character string whose meaning is uniquely defined as the definition information that constitutes the definition content satisfies the format and condition as the “derivative condition” defined by this system, and between a certain data field. When the above-mentioned “specific relationship” is given, the corresponding character string is defined as the “derivative condition designation word” of this data field. “Specific relationship” between a character string and a data field means that both are in a “specific adjacent position” or are connected by a “joint line” of the definition elements as described above. It is.

「派生条件指定語」として指定される文字列は、上記辞書手段の登録用語以外に、本システムにおいてユーザに定義されている用語(例えば、「項目名」として定義された文字列)を含んでもよい。 指定された文字列が「派生条件」としての形式と条件を満たしている場合であっても、該当のデータフィールドに関する「派生条件」以外の定義付けとして解釈される可能性が残る場合には、該当の文字列に対して、特定の指定手段を用いて「派生条件」であることを指定する。(例えば、該当の文字列に「派生条件指定」の定義要素”△”を付す)   The character string designated as the “derivative condition designation word” may include a term defined by the user in this system (for example, a character string defined as “item name”) in addition to the registered term of the dictionary means. Good. Even if the specified string satisfies the format and condition as a “derivative condition”, if it still has the possibility of being interpreted as a definition other than the “derivative condition” for the data field, For a corresponding character string, a “designating condition” is designated using a specific designating means. (For example, add “Define Condition Specification” definition element “△” to the corresponding character string)

本例において、「解釈指定」の定義要素により囲んだ文字列内の部分文字列”前年”は、ユーザがふだん使用している意味にしたがって、ある基準となる年度の”1つ前の”年度を指定する「相対指定」区分の登録用語として応用用語辞書52に登録されており、「対…比」は、ある基準となるデータとの比率を意味する「演算指定2」区分の登録用語として応用用語辞書52に登録されている。   In this example, the partial character string “previous year” in the character string enclosed by the definition element of “interpretation designation” is “the previous year” of a standard year according to the meaning that the user normally uses. Is registered in the application term dictionary 52 as a registered term in the “relative designation” category, and “comparison ratio” is a registered term in the “arithmetic designation 2” category, which means a ratio to a certain reference data. It is registered in the application term dictionary 52.

今、例えば、後出の例のように、派生データフィールドの見出し語文字列”前年値”中の部分文字列”前年”を「解釈指定」の定義要素により囲むと、該当のデータフィールドの項目名「年度」についてのデータは、該当のベースデータフィールドのデータが“2001年”に対して、その「前年」である“2000年”であることを「派生条件」とする「派生データフィールド」であることが定義されることになる。   Now, for example, as shown in the following example, if the partial character string “previous year” in the headword character string “previous year value” of the derived data field is surrounded by the definition element of “interpretation designation”, the item of the corresponding data field The data for the name “FY” is “Derived Data Field” in which “2000” is the “previous year” of the data in the corresponding base data field, “2000”. To be defined.

さらに、本例の図10のように、「派生データフィールド」の見出し語文字列として、この文字列”前年”を応用用語辞書52の「演算指定2」区分の登録語「対…比」で挟んだ文字列”対前年比”を定義要素”○”により囲むと、この文字列”対前年比”は、上記した応用用語辞書52の登録語を参照した上、日本語の構文規則にしたがって解釈され、「派生ータフィールド」内の各「派生セル」には、上記の場合で得られた該当「派生セル」内のデータによって該当「ベースセル」内のデータを除算した比率を記入すべきことがシステムに対して確定的に指示されることになる。   Further, as shown in FIG. 10 of this example, this character string “previous year” is used as a headword character string of “derived data field” as a registered word “comparison” in the “operation designation 2” category of the application term dictionary 52. When the sandwiched character string “YoY change” is surrounded by the definition element “O”, this character string “YoY change” refers to the registered words in the application term dictionary 52 and follows the Japanese syntax rules. Interpreted, and each “derived cell” in the “derived data field” should be filled with the ratio obtained by dividing the data in the relevant “base cell” by the data in the relevant “derived cell” obtained in the above case. Will be instructed definitely to the system.

なお、指定データフィールドと上記した「特定の対応付け」にある「項目名指定文字列」以外の文字列は、必ず、「解釈指定」定義要素”○”により指定された場合と同じ取り扱いによって解釈されるという約束を使用者と装置の間で決めておくことにより、「解釈指定」定義要素”○”の付記を省くこともできる。   In addition, character strings other than “Item name specification character string” in the above-mentioned “specific correspondence” with the specified data field must be interpreted in the same way as when specified by the “interpretation specification” definition element “○”. It is also possible to omit the “interpretation designation” definition element “◯” by adding the promise of being performed between the user and the device.

最後に、表上の最下段の行上において、各データフィールドの合計値が記入される合計欄の定義をおこなう。本システムでは、先ず、同じ種類の演算(例えば、加算、あるいは、平均演算…)の演算結果記入欄の連続したセル列(以降、「演算結果欄データフィールド」と呼ぶ)毎に、上記した項目定義データフィールドのフィールド範囲の指定と同じように、「フィールド指定」の定義要素記号“[ ]”を用いて指定する。すなわち、各「演算結果欄データフィールド」について、その両端のセル中に、「フィールド指定」の定義要素記号“[ ]”の構成記号“[”と“]”とをそれぞれ記入する。   Finally, on the bottom row of the table, a total column in which the total value of each data field is entered is defined. In this system, first, for each continuous cell column (hereinafter referred to as “calculation result column data field”) in the calculation result entry column of the same type of calculation (for example, addition or average calculation...) In the same way as the specification of the field range of the definition data field, it is specified using the definition element symbol “[]” of “Field specification”. That is, for each “operation result column data field”, the constituent symbols “[” and “]” of the definition element symbol “[]” of “field designation” are entered in the cells at both ends thereof.

次に、「演算結果欄データフィールド」の「演算結果欄指定語」を定義する。「演算結果欄データフィールド」に対して、上記した「特定隣接位置」に記入されている文字列を、応用用語辞書52中の「演算指定1」区分の登録用語であることを確認した上、「解釈指定」の定義要素記号“○”によって囲めばよい。   Next, the “calculation result column designation word” of the “calculation result column data field” is defined. For the “calculation result column data field”, after confirming that the character string written in the “specific adjacent position” is a registered term of the “calculation designation 1” classification in the application term dictionary 52, The definition element symbol “○” of “interpretation designation” may be enclosed.

本例の場合、最下行の合計データフィールド左端に隣接するセル中と、最右端列の合計データフィールド上端に隣接するセル中に記入されている”計”文字を、応用用語辞書52中に「演算指定1」区分として登録された用語であることを確認した上、「解釈指定」の定義要素記号“○”によって囲むことになる。   In this example, the “total” characters entered in the cell adjacent to the left end of the total data field in the bottom row and the cell adjacent to the top end of the total data field in the rightmost column are stored in the application term dictionary 52 as “ After confirming that the term is registered as the “operation designation 1” category, it is surrounded by the definition element symbol “◯” of “interpretation designation”.

「演算結果欄指定語」として使用したい応用用語辞書52の登録用語が書面の元々の記入内容―通常記入情報として、「演算結果欄データフィールド」の「特定隣接位置」に記入されていない場合には、(青)色の定義支援記入情報により、該当の登録用語を該当の「演算結果欄データフィールド」近傍の空白箇所に記入し、両者を定義要素の「結合線」により結べばよい。   When the registered term in the application term dictionary 52 that is to be used as the “calculation result column designation word” is not entered in the “specific adjacent position” of the “calculation result column data field” as the original entry content of the document—normally entered information In (blue) definition support entry information, the corresponding registered term is entered in a blank area near the corresponding “calculation result column data field”, and both are connected by the “joining line” of the definition element.

本システムでは、前記したように、ユーザが帳表上で、日常(通常記入情報として)使用している特定の用語を応用用語辞書52(後出図29)に登録しておき、書面上においてこの登録用語を「解釈指定」の定義要素記号“○”によって囲むことにより、ユーザが理解するとおりの所定の意味をもつ定義情報に転化させている。   In this system, as described above, specific terms used by the user on a daily basis (as normal entry information) are registered in the application term dictionary 52 (see FIG. 29), By enclosing this registered term with a definition element symbol “◯” of “interpretation designation”, it is converted into definition information having a predetermined meaning as understood by the user.

すなわち、「解釈指定」の定義要素記号“○”によって囲まれた”計”文字は、別に指定されたデータフィールドと、一体化してデータ管理上の1つの定義情報を構成し、この指定した合計データフィールド内の各欄(セル)は、各々、他の特定のフィールド内に記入さている数値データを合計した値を記入すべきことを定義することになる。   That is, the “total” character surrounded by the definition element symbol “○” of “interpretation designation” is integrated with a separately designated data field to constitute one definition information in data management, and this designated total Each column (cell) in the data field will define that the sum of the numerical data entered in the other specific fields should be entered.

仮に、図9に示した表フォーマット上の“計”文字の位置に、“平均”、“分散”などの演算を指示する用語文字列が記入されているとすると、同じく、それらについて応用用語辞書52中に「演算指定1」区分として登録された用語であることを確認した上、「解釈指定」定義要素記号“○”によって囲めばよい。   If a term character string indicating operations such as “average” and “dispersion” is written at the position of the “total” character on the table format shown in FIG. After confirming that the term is registered as the “calculation designation 1” category in 52, it may be enclosed by the “interpretation designation” definition element symbol “◯”.

「解釈指定」定義要素記号“○”によって囲まれた“平均”、“分散”などの演算を指示する用語は、”計”の場合と同様に、別に指定したフィールド内の各欄(セル)は、各々、他の特定のフィールド内に記入さている数値データに対して、各々、該当する演算をおこなった結果値を記入すべきことを定義することになる。   “Interpretation designation” definition element symbol “○” surrounded by terms such as “average” and “variance” are the same as in “total”, and each column (cell) in the field specified separately Defines that the result value obtained by performing the corresponding operation should be entered for each numerical data entered in another specific field.

本明細書においては、また、以上のように定義された演算結果記入欄の演算対象データを格納している、特定の記入欄(セル)の集合を、「演算対象データフィールド」と呼ぶ。
本例の場合、ある合計欄セルについて、その「演算対象データフィールド」とは、その合計欄セルを含む合計データフィールドと直角方向上側、または、直角方向左側に設定され、かつ、項目名「売上げ」のデータフィールドに属するセルの集合である。
たとえば、最下行の左から2列目の合計欄セルの「演算対象データフィールド」は、同列の縦方向上側に定義された項目名「売上げ」のデータフィールド部分になる。
In the present specification, a set of specific entry fields (cells) storing the operation target data in the operation result entry field defined as described above is referred to as an “operation object data field”.
In the case of this example, for a total column cell, the “calculation target data field” is set on the upper side in the perpendicular direction to the total data field including the total column cell or on the left side in the perpendicular direction, and the item name “sales” Is a set of cells belonging to the data field.
For example, the “calculation target data field” of the total column cell in the second column from the left of the bottom row is the data field portion of the item name “sales” defined on the upper side in the vertical direction of the same column.

次に、以上のように、定義支援記入情報を追記するこによって定義付けをおこなった表フォーマット記入用紙を本システムに入力し、所望のデータ出力を得るための諸機能について説明する。   Next, various functions for obtaining the desired data output by inputting the table format entry form defined by adding the definition support entry information as described above to the system will be described.

図11に、本実施例のシステムにおける文書入力および文書要素データ生成部の構成を示す。文書画像入力部30は、カラー・イメージスキャナ10、キーボード12およぴマウス14等の入力装置と、入力ルーチンを実施するCPU24と、入力されたカラー画面をいったん取り込む内部メモリ16または外部メモリ18とによって構成される。   FIG. 11 shows the configuration of the document input and document element data generation unit in the system of this embodiment. The document image input unit 30 includes an input device such as a color image scanner 10, a keyboard 12, and a mouse 14, a CPU 24 that executes an input routine, an internal memory 16 or an external memory 18 that once captures an input color screen, and the like. Consists of.

文書画像記憶部32、文字/図形パターン辞書36および文書要素データ記憶部38は、内部メモリ16または外部メモリ18の記憶領域を用いている。文字・図形要素認識部34は、文字・図形認識処理プログラムを実行するCPU24によって構成される。文書画像出力部40は、主として、表示制御プログラムを実行するCPU24と、このCPU24の制御の下で文書画像の表示出力を行う表示装置20あるいは文書画像の伝送出力を行う通信装置26とによって構成される。   The document image storage unit 32, the character / graphic pattern dictionary 36, and the document element data storage unit 38 use storage areas of the internal memory 16 or the external memory 18. The character / graphic element recognition unit 34 includes a CPU 24 that executes a character / graphic recognition processing program. The document image output unit 40 is mainly configured by a CPU 24 that executes a display control program, and a display device 20 that performs display output of a document image under the control of the CPU 24 or a communication device 26 that performs transmission output of a document image. The

ユーザは、カラー・イメージスキャナ10に帳表用紙をセットし、ディスプレイ画面20a上において「文書作成」モードを選択し、「文字/図形認識」ボタンをクリックする。
このクリック操作に応動して、まず、イメージスキャナ10による読取動作が行われ、図10に示す帳表文書の画像(全記入内容)を表すカラー画像信号が入力部30の画像記憶部に取り込まれる。入力部30に取り込まれたカラー画像信号は、信号の形態で(黒)、(青)、(赤)の各色画像信号に分解され、文書画像記憶部32内では(黒)の画像信号、(青)の青像信号、(赤)の画像信号としてそれぞれ黒画像記憶部32a、青画像記憶郭32b、赤画像記憶部32cに蓄積される。
The user sets a book cover sheet in the color image scanner 10, selects the “document creation” mode on the display screen 20a, and clicks the “character / graphic recognition” button.
In response to this click operation, first, a reading operation is performed by the image scanner 10, and a color image signal representing an image (all entry contents) of the book table document shown in FIG. 10 is taken into the image storage unit of the input unit 30. . The color image signal captured by the input unit 30 is decomposed into (black), (blue), and (red) color image signals in the form of signals, and the (black) image signal (( A blue image signal (blue) and an image signal (red) are stored in the black image storage unit 32a, the blue image storage unit 32b, and the red image storage unit 32c, respectively.

次に、文字・図形要素認識部34は、文書画像記憶部32に蓄積された各書面毎の画素データについて、各色(黒、青、赤)毎に文書中の個々の文字、図形要素を認識する。ここで、図形要素とは、線分、矩形、円形のようにその形状が容易に画像認識されえるパターン化された簡単な図形群である。   Next, the character / graphic element recognition unit 34 recognizes individual characters and graphic elements in the document for each color (black, blue, red) for each document pixel data stored in the document image storage unit 32. To do. Here, the graphic element is a group of simple graphic patterns that can be easily recognized as lines, rectangles, and circles.

本実施例における画像認識に際しては、たとえば図12に示すようなデータフォーマットで予め設定されている「画像管理データ」が参照される。この「画像管理データ」では、図13に示すように入力画像はマトリクス上に配置された多数の画素PXによって構成されているものとして、画素PXの個数、寸法、ピッチ等を表すデータをセットしている。   For image recognition in this embodiment, for example, “image management data” set in advance in a data format as shown in FIG. 12 is referred to. In this “image management data”, as shown in FIG. 13, assuming that the input image is composed of a large number of pixels PX arranged on a matrix, data representing the number, dimensions, pitch, etc. of the pixels PX is set. ing.

文字・図形要素認識部34における文字・図形の認識は、基本的には個々の文字、図形要素を構成する線素を認識することによって行われる。線素の識別については従来公知の種々の方法を用いてよい。たとえば、まず特定の色を有するドットの集合を見いだし、次に隣接慣域または周囲をサーチ知れそのドットの集合が延長する方向を判定する。この処理を繰り返して、ドットの集合の描く軌跡をそれが消滅(終端)するまで追跡していく。その追跡の途中で、軌跡の向きが急激に変化する箇所があれば、その箇所を屈曲点または尖点として識別する。   Character / graphic recognition in the character / graphic element recognition unit 34 is basically performed by recognizing line elements constituting individual characters and graphic elements. For the identification of the line element, various conventionally known methods may be used. For example, first, a set of dots having a specific color is found, and then a search is made in the adjacent quasi or surroundings to determine the direction in which the set of dots extends. This process is repeated, and the trace drawn by the set of dots is traced until it disappears (ends). If there is a location where the direction of the trajectory changes abruptly during the tracking, the location is identified as a bending point or cusp.

このようにして抽出された線素は、その形状、大きさにより予め設定された線素パターンの1つとして識別され得る。本実施例では、文字/図形パターン辞書36に、個々の文字、図形毎にそれを構成する線素の種別と、構成線素間の有意な位置関係とが所定の電子辞書方式で予め記憶(設定登録)されている。文字・図形要素認識部34は、上記のようにして抽出した線素を隣接するもの同士で互いに組み合わせてこれを文字/図形パターン辞書36と照合する処理を繰り返すことで、個々の文字、記号、図形を認識する。   The line element extracted in this way can be identified as one of the line element patterns set in advance by its shape and size. In the present embodiment, the character / graphic pattern dictionary 36 stores in advance the type of line elements constituting each character and figure and the significant positional relationship between the constituent line elements in a predetermined electronic dictionary system ( Registered). The character / graphic element recognition unit 34 combines the adjacent line elements extracted as described above with each other, and repeats the process of collating this with the character / graphic pattern dictionary 36, whereby individual characters, symbols, Recognize shapes.

また、たとえば一覧表のような表を構成する罫線については、次のようにして認識処理を行う。すなわち、上記したような線素の認識において直線とみなして抽出した線素が他の線素よりも桁違いに長く、かつその直線方向が水平線(X軸)または垂直線(Y軸)に対して或る角度内の傾きに収まる場合は、この直線を水平罫線または垂直罫線とみなし、水平線または垂直線と平行になるようにその位置情報を補正する。また、抽出された2つの罫線の端点同士の距離あるいは一方の罫線の端点と他方の罫線との距離が或る値以内にあるときは、両罫線の端点同士が互いに重なり合っている、あるいは片方の罫線の端点が他方の罫線上に重なっているとみなし、両罫線がそのように重なるようにそれぞれの位置情報を補正する。   For example, a ruled line constituting a table such as a list is recognized as follows. That is, a line element extracted as a straight line in the recognition of a line element as described above is an order of magnitude longer than other line elements, and the straight line direction is relative to a horizontal line (X axis) or a vertical line (Y axis). If the inclination falls within a certain angle, the straight line is regarded as a horizontal ruled line or a vertical ruled line, and the position information is corrected so as to be parallel to the horizontal line or the vertical line. Further, when the distance between the end points of two extracted ruled lines or the distance between the end point of one ruled line and the other ruled line is within a certain value, the end points of both ruled lines overlap each other, It is considered that the end point of the ruled line is overlapped with the other ruled line, and the respective position information is corrected so that both ruled lines overlap in this way.

文字・図形要素認識部34は、画像入力した文書の各色(黒、青、赤)画像について上記のような文字・図形認識処理を行うことによって、各文字、各図形要素、各記号につきたとえば図14〜図19に示すようなデータフォーマットで文書要素データを生成する。   The character / graphic element recognition unit 34 performs the character / graphic recognition processing as described above on each color (black, blue, red) image of the document inputted as an image, so that, for example, a character / graphic element recognition unit 34 Document element data is generated in a data format as shown in FIGS.

図14に、1個の文字に対応する文書要素データ(文字データ)のデータフォーマット例を示す。図示のように、当該文字のコード、書体、色、線の太さ、線修飾(実線、点線、鎖線等)、手書き/印刷(手書き文字なのか印刷文字なのかの区別)、記入位置および大きさ(文字サイズ)をそれぞれ表すデータが順次所定のデータ・フィールドにセットされ、末尾にこの文書要素データの終端を示す終端識別データが付けられる。   FIG. 14 shows a data format example of document element data (character data) corresponding to one character. As shown in the figure, the character code, typeface, color, line thickness, line modification (solid line, dotted line, chain line, etc.), handwriting / printing (distinguishing whether it is handwritten or printed), entry position and size Data representing character length (character size) is sequentially set in a predetermined data field, and end identification data indicating the end of the document element data is added at the end.

図15に、1つの文字列に対応する文書要素データ(文字列データ)のデータフォーマット例を示す。図示のように、当該文字列の配置位置を示す「先頭文字位置」と「末尾行位置」、当該文字列の書式を示す「行ピッチ」、「文字ピッチ」がセットされるとともに、当該文字列を構成する各文字の文字コードが配置順にセットされる。   FIG. 15 shows a data format example of document element data (character string data) corresponding to one character string. As shown in the figure, "first character position" and "end line position" indicating the arrangement position of the character string, "line pitch" and "character pitch" indicating the format of the character string are set, and the character string Are set in the order of arrangement.

図16、図17および図18は、それぞれ1つの図形要素または記号に対応する文書要素データ(図形要素データ)のデータフォーマット例である。図17に示すように、線分については始端位置および終端位置のデータが組み込まれる。図18に示すように、長円については中心位置(X・Y方向)と径サイズ(X,Y方向)のデータが組み込まれる。図19に示すように、矩形や“<”等については始端および終端位置に加えて屈曲点または尖点(線分の方向が急峻に変化する点)の位置を示すデータが組み込まれる。   FIGS. 16, 17, and 18 are data format examples of document element data (graphic element data) corresponding to one graphic element or symbol, respectively. As shown in FIG. 17, the data of the start end position and the end position is incorporated for the line segment. As shown in FIG. 18, for the ellipse, data of the center position (X / Y direction) and the diameter size (X, Y direction) are incorporated. As shown in FIG. 19, data indicating the position of a bending point or a cusp (a point where the direction of a line segment changes sharply) is incorporated in addition to the start and end positions for a rectangle, “<”, and the like.

また、罫線によって表が構成されている場合、それを構成するセルを検出し、検出した各セルについて「セルデータ」を作成する。(図19)セルとは、表内において罫線に囲まれ、データを記入する単位となっている矩形領域のことをいう。
セルの検出は、たとえば、次のようにおこなうことができる。表を構成する罫線の罫線データを順次とり出し、書面の縦横両方向について、罫線、またはその延長によって区切られる罫線位置を求める。次にこの罫線位置により生成されるマトリクスの各ますについて、その各4辺が罫線部分であるかどうかをサーチし、罫線部分であれば、それをセル境界とし、罫線部分でなければ該当方向に隣接するますを併合し、併合したますにについて同じ判定を繰り返すことにより、セルの4辺の境界を識別していく。
作成した「セルデータ」には、今の段階では、その位置情報(たとえば、左上角点、右下角点の位置)のみをセットしておく。
If the table is constituted by ruled lines, the cells constituting the table are detected, and “cell data” is created for each detected cell. (FIG. 19) A cell is a rectangular area surrounded by a ruled line in the table and serving as a unit for entering data.
Cell detection can be performed, for example, as follows. The ruled line data constituting the table is sequentially taken out, and the ruled line or the ruled line position delimited by the extension is obtained in both the vertical and horizontal directions of the document. Next, for each square of the matrix generated by this ruled line position, whether or not each of the four sides is a ruled line part is searched. If it is a ruled line part, it is set as a cell boundary. By merging adjacent cells and repeating the same determination for the merged cells, the boundaries of the four sides of the cell are identified.
In the created “cell data”, only the position information (for example, the positions of the upper left corner point and the lower right corner point) is set at this stage.

上記のようにして、画像入力された各書面中の全ての記入情報が個々の文字、記号、図形に分解されて文字・図形要素認識部34により文書要素データに変換される。これらの文書要素データは、各書面単位で文書要素データ記憶部38に蓄積される。なお、文字・図形認識処理を受けて文書要素データに変換された記入情報に対応する画像情報は、文書画像記憶部32から抹消されてよい。   As described above, all entry information in each document inputted as an image is decomposed into individual characters, symbols, and figures and converted into document element data by the character / graphic element recognition unit 34. These document element data are stored in the document element data storage unit 38 for each document. Note that the image information corresponding to the entry information that has been subjected to the character / graphic recognition process and converted into the document element data may be deleted from the document image storage unit 32.

文書画像出力部40は、文書画像記憶部32に保持されている画像信号に基づいて文書画像を出力できるだけでなく、文書要素データ記憶部38に格納されている文書要素データからもそれを文字/図形パターン辞書36を介して画像信号に変換したうえで文書画像を出力することができるように構成されている。   The document image output unit 40 not only outputs a document image based on the image signal held in the document image storage unit 32 but also outputs it from the document element data stored in the document element data storage unit 38. The document image is output after being converted into an image signal via the graphic pattern dictionary 36.

上記の文書入力および文書要素データの生成処理が終了するとその旨を伝えるメッセージが例えばディスプレイ画面20aを通じて、システムからユーザに与えられる。
次にユーザは、ディスプレイ20aの右下部に常時表示されている「モード」ボタンをクリックして「定義」のモードを選択し、その画面上で「定義解釈」のボタンを選択指示する。この指示に応動して、システム内では、以下の処理がおこなわれる。
When the document input and document element data generation processing is completed, a message to that effect is given from the system to the user through the display screen 20a, for example.
Next, the user selects the “definition” mode by clicking the “mode” button that is always displayed at the lower right of the display 20a, and selects and instructs the “definition interpretation” button on the screen. In response to this instruction, the following processing is performed in the system.

図20に、本実施例のシステムにおける定義情報認識およぴフォーマット設定部の構成を示す。定義要素データ生成部42および定義データ生成部46は、定義要素データおよび定義データ生成処理を実行するCPU24によって構成される。定義情報識別データ記憶部48、定義情報区別データ記憶部50、応用用語辞書52、定義データ記憶部54およぴシートグループ定義データ記憶部56は、内部メモリ16または外部メモリ18の所定の記憶領域上に展開されている。   FIG. 20 shows the configuration of the definition information recognition and format setting unit in the system of this embodiment. The definition element data generation unit 42 and the definition data generation unit 46 are configured by the CPU 24 that executes definition element data and definition data generation processing. The definition information identification data storage unit 48, the definition information distinction data storage unit 50, the applied term dictionary 52, the definition data storage unit 54, and the sheet group definition data storage unit 56 are stored in a predetermined storage area of the internal memory 16 or the external memory 18. Expanded on top.

この定義情報認識およびフォーマット設定部においては、先ず定義要素生成部42が、定義要素識別データ記憶部48および定義情報区別データ記憶部50にそれぞれ保持されている定義要素識別データ(図6)および定義情報区別データ(図8)を参照して、文書要素データ記憶部38に格納されている文書要素データ(図14〜図19)を基に各書面に記入されている各定義要素記入情報毎のデータ(定義要素データ)を生成する。   In this definition information recognition and format setting unit, first, the definition element generation unit 42 defines definition element identification data (FIG. 6) and definition held in the definition element identification data storage unit 48 and the definition information distinction data storage unit 50, respectively. With reference to the information distinction data (FIG. 8), each definition element entry information entered in each document based on the document element data (FIGS. 14 to 19) stored in the document element data storage unit 38 Data (definition element data) is generated.

図21に、定義要素データのデータフォーマット例を示す。当該定義要素記入情報を識別する「定義系コード」および「定義要素コード」がセットされるとともに、当該定義要素記入情報を構成する文字、図形、記号に対応する文書要素データを参照するためのポインタがセットされる。たとえば、「フィールド指定」の“[]”の場合は、その構成記号“[”、“]”に対応する文書要素データのアドレスを指定するポインタがセットされる。   FIG. 21 shows a data format example of the definition element data. A “definition code” and “definition element code” for identifying the definition element entry information are set, and a pointer for referring to the document element data corresponding to the characters, graphics, and symbols constituting the definition element entry information Is set. For example, in the case of “[]” of “field designation”, a pointer for designating the address of the document element data corresponding to the constituent symbol “[”, “]” is set.

定義要素記入情報の構成記号に対応するデータが、1文字分を表わす文字データでなく、複数文字を表わす文字列データ中の部分データ(たとえば、1文字分のデータ等)として検出された場合は、新たに該当する部分について、文字データ、または、文字列データを作成すると共に、該当の文字列から該当構成記号の部分を除いた残りの部分について、新たに文字列データを作成すればよい。該当部分が該当の文字列中の両端にない時は、該当部分を挟んで別の文字列データを作成すればよい。   When the data corresponding to the constituent symbols of the definition element entry information is detected not as character data representing one character but as partial data (for example, data for one character) in character string data representing a plurality of characters The character data or character string data is created for the newly applicable portion, and the character string data is newly created for the remaining portion excluding the portion of the corresponding constituent symbol from the corresponding character string. If the corresponding part is not located at both ends of the corresponding character string, another character string data may be created across the corresponding part.

定義要素データを生成するには、該当の定義系に割り当てた修飾情報、たとえば(青)の色情報を有する文書要素データをサーチする。文字列データについては、さらに、その中で該当文字分のデータをサーチする。定義要素が「フィールド指定」の定義要素“「 」”のように、2つの記号の対で構成される場合は、まず、1つの構成記号をサーチ検出し、それと対をなす他方の構成記号を割り出す。   In order to generate definition element data, search is made for document element data having modification information assigned to the corresponding definition system, for example, (blue) color information. For character string data, the data for the corresponding character is further searched. When the definition element is composed of a pair of two symbols like the “field designation” definition element ““ ”, first, one component symbol is detected and the other component symbol paired with it is detected. Find out.

1つの定義要素構成記号について、対をなす他方の構成記号が、複数個検出される場合は、その選択は、次のようにおこなえばよい。例えば、「フィールド指定」の定義要素“「 」”の場合、両構成記号の対によって形成される矩形内に、同じ種別の定義要素構成記号“「”、または“」”を含まない組み合わせを選択すればよい。   When a plurality of other constituent symbols forming a pair are detected for one definition element constituent symbol, the selection may be performed as follows. For example, in the case of the definition element ““ ”of“ Field specification ”, a combination that does not include the same type of definition element constituent symbol“ “” or “” ”within the rectangle formed by the pair of constituent symbols is selected. do it.

1つの定義要素ごとに、以上の方法で、「定義系コード」と「定義要素コード」が決まり、当該定義要素記入情報を構成する記号の文書要素データ(図形要素データ)のアドレスをそれぞれ指定するポインタも決めていくことができる。
上記のようにして定義要素データ生成部42より得られた各定義要素データは定義要素データ記憶部44に格納される。
For each definition element, the “definition code” and “definition element code” are determined by the above method, and the address of the document element data (graphic element data) of the symbols constituting the definition element entry information is designated. You can also decide the pointer.
Each definition element data obtained from the definition element data generation unit 42 as described above is stored in the definition element data storage unit 44.

次に、定義データ生成部46が、定義情報区別データ記憶部50に保持されている定義情報区別データ(図8)を参照して、定義要素データ記憶部44に蓄積されている定義要素データ(図21)、文書要素データ記憶部38に蓄積されている文書要素データ(図14〜図19)を参照して書面に記入されている各定義情報毎に定義データを生成する。   Next, the definition data generation unit 46 refers to the definition information distinction data (FIG. 8) held in the definition information distinction data storage unit 50, and defines the definition element data ( 21), with reference to the document element data (FIGS. 14 to 19) accumulated in the document element data storage unit 38, definition data is generated for each definition information written on the document.

本例における定義データ全体の作成手順を、図22に示す。本手順においては、最初に、表内の全ての「指定データフィールド」について、それを定義する「フィールド定義データ」(図23)を作成する。(ステップAl) 次に、各「指定データフィールド」について、その「対応項目名」を識別定義する「項目定義処理」をおこなう。(ステップA2) 続いて、「派生データフィールド」となる「指定データフィールド」について、その「差異条件」と「ベースデータフィールド」を識別定義する「派生フィールド定義処理」をおこなう。(ステップA3) 最後に、「演算結果欄」を定義する「演算結果欄定義データ」の作成をおこなう。(ステップA4)   The procedure for creating the entire definition data in this example is shown in FIG. In this procedure, first, “field definition data” (FIG. 23) that defines all “specified data fields” in the table is created. (Step Al) Next, for each “designated data field”, “item definition processing” for identifying and defining the “corresponding item name” is performed. (Step A2) Subsequently, with respect to the “designated data field” that becomes the “derived data field”, “derived field definition processing” for identifying and defining the “difference condition” and the “base data field” is performed. (Step A3) Finally, “calculation result column definition data” for defining the “calculation result column” is created. (Step A4)

定義データ全体の作成手順においては、先ず、集計表内の全ての「指定データフィールド」について、「フィールド定義データ」(図23)を作成する。(ステップAl)定義要素データとしてすでに抽出されている「フィールド指定」の定義要素記号”[ ]”、または、“「 」”を1つづつ識別し、それがデータフィールドとして指定しているセル、またはセル列を「指定データフィールド」として識別する。   In the procedure for creating the entire definition data, first, “field definition data” (FIG. 23) is created for all “designated data fields” in the summary table. (Step Al) A “field designation” definition element symbol “[]” or ““ ”” already extracted as definition element data is identified one by one, and a cell that is designated as a data field, Alternatively, the cell column is identified as a “designated data field”.

「指定データフィールド」を構成するセル列の検出は、「フィールド指定」の定義要素記号、たとえば、”[ ]”の構成記号”[ ”と”]”を各々、含むセルを両端のセルとして検出し、つぎに、両端のセルをつなぐセルを順次、検出していくことによっておこなうことができる。
検出したセル列は、そのセルデータを先頭のセルから、順次、セルデータ中の「ポインタデータ」によりつないだ「セルデータ・チェイン」(図示せず)を作成した上、その先頭セルのセルデータアドレスを「フィールド定義データ」の中の「先頭セルデータアドレス」にセットする。
Detection of cell columns that make up the “designated data field” is performed by detecting cells that contain the definition element symbols of “field designation”, for example, “[]” and “[” and “]” respectively. Then, it can be performed by sequentially detecting cells connecting the cells at both ends.
For the detected cell row, a “cell data chain” (not shown) is created in which the cell data is sequentially connected from the first cell by the “pointer data” in the cell data, and then the cell data of the first cell The address is set to “first cell data address” in “field definition data”.

仮に、「指定データフィールド」セル構成がマトリクスをなす場合は、例えば、まず、その第1行のセルを左から順につなぎ、その最右端のセルには、次の第2行の最左端セルをつなぎ、以下、第2行のセルを順につないでいく手順を繰り返すことによっておこなえばよい。   If the “designated data field” cell configuration forms a matrix, for example, the cells in the first row are connected in order from the left, and the leftmost cell in the next second row is connected to the rightmost cell. Thereafter, the procedure of connecting the cells in the second row in order may be repeated.

全ての「指定データフィールド」について「フィールド定義データ」を作成すると、次に、以上で検出した各「指定データフィールド」について、該当する対応項目名を識別定義する「項目定義処理」をおこなう。(ステップA2)   When “field definition data” is created for all “designated data fields”, “item definition processing” for identifying and defining the corresponding corresponding item names is performed for each “designated data field” detected above. (Step A2)

先ず、「指定データフィールド」のセル列内から引き出されている定義要素「結合線」をサーチする。該当のセル列内から引き出された「結合線」が存在し、その他端に隣接して、「項目名」として指定されている文字列(「項目名指定文字列」)が存在する場合、この文字列を該当のデータフィールドの「対応項目名」として判定する。
本例の場合、表外に追記された「項目名名指定文字列」”年度”が、各々、該当の「指定データフィールド」の「対応項目名」として識別されることになる。
First, the definition element “joining line” drawn from the cell row of “designated data field” is searched. If there is a “join line” drawn from within the cell column and there is a character string (“item name specification character string”) specified as “item name” adjacent to the other end, this The character string is determined as the “corresponding item name” of the corresponding data field.
In this example, “item name designation character string” “year” added to the outside of the table is identified as “corresponding item name” of the corresponding “designated data field”.

「指定データフィールド」が、定義要素の「結合線」によって結ばれた「項目名指定文字列」を持たない場合、この「指定データフィールド」に対して上記した「特定隣接位置」にある「項目名指定文字列」を該当のデータフィールドの「対応項目名」として判定する。
本例の場合、この方法により、「項目名指定文字列」”売上げ”と「項目名指定文字列」”商品”が、該当する「指定データフィールド」の「対応項目名」として識別されることになる。
If the “specified data field” does not have the “item name specification character string” connected by the “join line” of the definition element, the “item in the specified adjacent position” described above with respect to this “specified data field” The “name designation character string” is determined as the “corresponding item name” of the corresponding data field.
In this example, this method identifies “item name specification string” “sales” and “item name specification string” “product” as “corresponding item name” of the corresponding “designated data field”. become.

各「指定データフィールド」について、上記のように識別された「対応項目名」は、該当の「フィールド定義データ」の中の「項目名文字列データアドレス」にその該当文字列の文字列データアドレスがセットされる。なお、本明細書においては、このように「対応項目名」を登録した「フィールド定義データ」を「項目定義データ」ともいう。
また、以上のように「対応項目名」が識別された「指定データフィールド」については、フィールド定義データ中の「派生区分」欄に、初期値として「通常データフィールド」であることをを示すコード“0”をセットしておく。
For each “designated data field”, the “corresponding item name” identified as described above is the character string data address of the corresponding character string in the “item name character string data address” in the corresponding “field definition data”. Is set. In this specification, “field definition data” in which “corresponding item names” are registered in this way is also referred to as “item definition data”.
As for the “designated data field” for which the “corresponding item name” is identified as described above, a code indicating that it is “normal data field” as an initial value in the “derivation classification” column in the field definition data Set “0”.

次に、以上作成した「項目定義データ」について、以下の「区分」の判定をおこなう。先ず、各項目定義が「表外」に共通条件として定義されているか、「表内」のフィールド上で定義されているかを判定をする。ある「項目定義データフィールド」が、たがいに隣接し合う複数のセルの集合として表の上に定義されている場合、「表内」のフィールドと見なし、「項目定義データ」内の「共通区分」欄に該当のコード“0”をセットする。 また、「表外」のフィールドについて定義された「項目定義データ」には、該当のコード“1”をセットする。本例の場合、全ての項目名の「項目定義データ」において“0”をセットすることになる。   Next, the following “category” is determined for the “item definition data” created above. First, it is determined whether each item definition is defined as a common condition “out-of-line” or on the “in-table” field. When an "item definition data field" is defined on the table as a set of multiple cells that are adjacent to each other, it is regarded as an "inside table" field and "common category" in the "item definition data" The corresponding code “0” is set in the column. In addition, the corresponding item “1” is set in the “item definition data” defined for the “out of line” field. In this example, “0” is set in the “item definition data” of all item names.

次に、表フォーマット上の各項目定義について、その項目名が「集計区分」の判定をおこなう。各項目定義の「対応項目名」となっている文字列について、(青)色の「集計数値指定」の定義要素記号”○” と「非集計数値指定」の定義要素記号”●”とが、その文字列の所定の位置である文字列右上隣接部に付加記入されていることを検出すればよい。   Next, for each item definition on the table format, the item name is determined to be “total category”. For the character string that is the “corresponding item name” in each item definition, the definition element symbol “○” for “aggregate numeric specification” in “blue” and the definition element symbol “●” for “specify non-aggregate numeric value” What is necessary is just to detect that it is additionally written in the upper right adjacent part of the character string which is the predetermined position of the character string.

「集計数値指定」の定義要素記号”○”が検出され、「集計数値」と判定された場合は、該当の項目定義データの「集計区分」部に該当のコード”1”をセットする。「非集計数値区分指定」の定義要素記号”●”が検出され、「非集計数値」と判定された場合は、該当の項目定義データの「集計区分」部に該当のコード”2”をセットし、それ以外の場合は、「非集計の非数値」として「集計区分」部に該当のコード“0”をセットする。   If the definition element symbol “◯” of “aggregate numerical value designation” is detected and determined as “total numerical value”, the corresponding code “1” is set in the “aggregation classification” portion of the corresponding item definition data. When the definition element symbol “●” of “Non-aggregate numeric category designation” is detected and judged as “Non-aggregate numeric value”, the corresponding code “2” is set in the “Aggregate category” part of the corresponding item definition data In other cases, the corresponding code “0” is set in the “aggregation category” section as “non-aggregate non-numeric value”.

「項目定義処理」(ステップA2)においては、続いて、各「項目定義データ」の「対応項目名」が、応用用語辞書52中において「年月日項目」区分として登録されていることを判定し、その判定が得られた場合、「集計区分」欄に該当のコード”3”をセットする。 In the “item definition process” (step A2), subsequently, it is determined that the “corresponding item name” of each “item definition data” is registered in the applied term dictionary 52 as the “year / month / day item” category. If the determination is obtained, the corresponding code “3” is set in the “total category” column.

また、「年月日項目」区分の項目名については、該当の表フォーマット上から、その項目名に所属するデータ文字列が記入されている書式を読み取り、「年月日データ書式データ」を作成し、「項目定義データ」の「年月日データ書式データポインタ部」からポイントする。「年月日データ書式定義データ」は、「年月日項目」区分に属する登録語(「年度」、「月別」…)毎に、各々、異なるデータ形式で作成される。例えば、登録語「年度」については、「年度書式データ」、登録語「月別」については、「月別書式データ」が作成される。   In addition, for the item name of the “Year / Month / Day / Date” category, read the format in which the data character string belonging to the item name is entered from the corresponding table format, and create “Year / Month / Date Data Format Data”. Then, point from the “year / month / day data format data pointer” of “item definition data”. The “year / month / day data format definition data” is created in a different data format for each registered word (“year”, “monthly”,...) Belonging to the “year / month / day item” category. For example, “year format data” is created for the registered word “year”, and “monthly format data” is created for the registered word “monthly”.

「年度書式データ」は、たとえば、次のように作成することができる。先ず、該当の文字列の記入書式が「元号型」か、「西暦型」かを判別する。該当のデータフィールドから、その中に記入されているデータ名文字列を1つ取り出し、その文字列の前方から、元号名を表わす文字列である” 平成”、”H”、”昭和”、”S”…に一致する部分をサーチできれば「元号型」と判定し、サーチできなければ「西暦型」と判別する。元号名を表わす文字列”平成”、”H”、”昭和”、”S”…は、このサーチ処理に付属させた特定辞書手段中に予め登録しておく。   “Year format data” can be created, for example, as follows. First, it is determined whether the entry format of the corresponding character string is “era name type” or “year type”. Take out one data name character string written in it from the corresponding data field, and from the front of the character string, character strings representing the era name “Heisei”, “H”, “Showa”, If a portion matching “S”... Can be searched, it is determined as “era name type”, and if it cannot be searched, it is determined as “year type”. Character strings “Heisei”, “H”, “Showa”, “S”... Representing the era name are registered in advance in the specific dictionary means attached to the search process.

次に、該当の文字列の後方から後置語“年”、”年度”をサーチし、これらの後置語の有無と種別を識別する。これらの後置語を表わす文字列“年”、”年度”も、このサーチ処理に付属させた特定辞書手段中に予め登録しておく。
最後に、以上のサーチから残された文字列が数字文字列であることを確認した上、その「数字種別」と「桁数」を識別する。以上得た判別結果を、「年度書式データ」に登録する。「年度書式データ」の形式を図24に示す。
Next, the postfix “year” and “year” are searched from the rear of the corresponding character string, and the presence and type of these postfixes are identified. The character strings “year” and “year” representing these postfix words are also registered in advance in the specific dictionary means attached to the search process.
Finally, after confirming that the character string remaining from the above search is a numeric character string, the "numeric type" and the "number of digits" are identified. The determination result obtained above is registered in the “year format data”. The format of “Year format data” is shown in FIG.

本例の場合、項目名「年度」については、対応するデータフィールドから、例えば、データ名文字列“2001年”を取り出し、「元号型/西暦型区別」は、「西暦型」”、「数字桁数」は「4」、「数字種別」は「算用数字」、「後置語区分」は「年」と判定し、「年度書式データ」に該当のデータがセットされることになる。   In the case of this example, for the item name “year”, for example, the data name character string “2001” is extracted from the corresponding data field, and the “era name / year type distinction” is “year type”, “ “Number of digits” is determined as “4”, “Number type” as “Arithmetic numbers”, “Postfix classification” as “Year”, and the corresponding data is set in “Year format data” .

該当のデータフィールドの中にデータ名文字列が記入されていない場合には、定義付けの操作の段階において、該当のデータフィールドの近傍の空白箇所に(青)の定義支援記入情報により、目的の書式を表わすダミー文字列を記入し、該当のデータフィールドと定義要素「結合線」により結んでおく。このダミー文字列としては、元号名文字列、後置語文字列は目的の書式にしたがって記入し、数字データ部分は特定の記号(例えば、”*”)を所望の「数字桁数」の数だけ記入すればよい。   If the data name string is not entered in the corresponding data field, the definition support entry information (blue) will be used in the blank area near the relevant data field at the definition operation stage. A dummy character string indicating the format is entered and connected to the corresponding data field by the definition element “joint line”. As this dummy character string, the era name character string and the postfix character string are entered according to the target format, and the numeric data part is a specific symbol (for example, “*”) of the desired “number of digits”. Enter only the number.

「項目定義処理」(ステップA2)において、ある「対応項目名」が応用用語辞書52中において「年月日項目」区分として登録されていることを判定され、かつ、該当のデータフィールドの中にデータ名文字列が記入されていない場合には、 該当のデータフィールドと定義要素「結合線」により結ばれ、(青)の定義支援記入情報により記入された文字列について、年月日データ書式の検出をおこなう。   In the “item definition process” (step A2), it is determined that a “corresponding item name” is registered as the “year / month / day item” category in the applied term dictionary 52, and the corresponding data field contains If the data name character string is not entered, it is connected to the corresponding data field by the definition element “join line”, and the character string entered with the definition support entry information in (blue) Perform detection.

数字文字列以外の構成文字列(元号名文字列、後置語文字列…)が所定位置から検出され、数字文字列の位置から上記特定記号が検出された場合、この文字列を年月日データ書式を定義する文字列と見なし、上記した場合と同様に、検出結果を登録した「年月日データ書式データ」を作成すればよい。   If a constituent character string (an era name character string, a postfix character string ...) other than a numeric character string is detected from a predetermined position, and the specific symbol is detected from the position of the numeric character string, this character string is The date data format is regarded as a character string, and “year / month / day data format data” in which the detection result is registered may be created in the same manner as described above.

「項目定義処理」(ステップA2)においては、最後に、作成した各項目定義データについて、以下のように「キー区分」の判定をおこなう。各項目定義データの対応項目名文字列について、(青)色の「キー項目指定」の定義要素記号”▽”が、文字列右上隣接部に付加記入されていることを検出し、この検出が得られれば、該当の項目名は、「キー項目名」であると判定する。   In the “item definition process” (step A2), finally, “key classification” is determined for each created item definition data as follows. For the corresponding item name character string of each item definition data, it is detected that the definition element symbol “▽” of “key item designation” in (blue) color is additionally entered in the upper right adjacent part of the character string. If it is obtained, it is determined that the corresponding item name is “key item name”.

ある項目定義データの対応項目名文字列が「キー項目名」と判定された場合、該当の項目定義データの「キー項目」部に該当のコード”1”をセットする。また、同じ対応項目名を持つ、他の項目定義データもサーチし、その「キー区分」部にも該当のコード”1”をセットする。   When the corresponding item name character string of certain item definition data is determined as “key item name”, the corresponding code “1” is set in the “key item” portion of the corresponding item definition data. Also, other item definition data having the same corresponding item name is searched, and the corresponding code “1” is set in the “key classification” portion.

書面上の全ての項目定義データの対応項目名文字列について、以上の判定をおこなった後、「キー項目」の指定を受けていない項目定義データは「非キー項目名」であると判定し、その「キー区分」部に該当のコード“0”をセットする。   After the above determination is made for the corresponding item name character strings of all item definition data on the document, it is determined that the item definition data that has not been designated as “key item” is “non-key item name”. The corresponding code “0” is set in the “key classification” portion.

表フォーマット上の全ての対応項目名文字列について、「キー項目指定」の定義要素が付加記入されていない場合、上記したデフォールトの規約にしたがって、項目定義された各データフィールドについて上記した「独立項記入域」の判定をおこない、ある項目定義データフィールドが「独立項記入域」である場合、該当の項目名を「キー項目名」と判定し、それ以外の項目名を「非キー項目名」とする。   For all corresponding item name character strings in the table format, if the “key item specification” definition element is not additionally filled in, the above-mentioned “independent item” is defined for each data field defined in accordance with the default rule. If an item definition data field is "independent item entry area", the item name is determined as "key item name" and the other item names are "non-key item name". And

上記した「独立項記入域」は、表フォーマット上において次のように検出することができる。先ず、表の最上行または最左列に配置されている項目定義データフィールドを検出する。表フォーマット上において定義されている各項目定義データをとりだし、その構成セルのセルデータ位置情報と表フォーマット上の他のセルのセルデータ位置情報との照合を繰り返すことによって検出することができる。   The above "independent item entry area" can be detected on the table format as follows. First, the item definition data field arranged in the uppermost row or the leftmost column of the table is detected. Each item definition data defined on the table format is taken out, and it can be detected by repeatedly collating the cell data position information of the constituent cell with the cell data position information of other cells on the table format.

次に、この検出した表の最上行または最左列上の項目定義データフィールドについて、そのセル列方向の上側方向位置または左側方向位置に他の項目名のデータが配置されていないことを確認し、この確認が得られれば、この表の最上行または最左列上の項目定義データフィードを、「独立項記入域」と見なす。   Next, for the item definition data field on the top row or leftmost column of this detected table, confirm that no other item name data is placed in the upper or leftward position in the cell column direction. If this confirmation is obtained, the item definition data feed on the top row or the leftmost column of this table is regarded as an “independent item entry area”.

続いて、検出した「独立項記入域」に平行して隣接する形で配置された項目定義データフィールドを見出し、同じく、そのセル列方向の上側方向位置または左側方向位置に他の項目名のデータが配置されていないことを確認した上、「独立項記入域」として追加する。たがいに平行して隣接する形で配置された項目定義データフィールドは、セルデータ位置情報に基づいて検出することができる。以上の手順を繰返すことによって、表フォーマット上の全ての「独立項記入域」を検出することができる。   Next, find the item definition data field that is arranged adjacent to and parallel to the detected “independent item entry area”, and similarly, the data of the other item names at the upper or left position in the cell column direction. After confirming that is not located, add it as an “independent entry area”. Accordingly, the item definition data fields arranged in parallel and adjacent to each other can be detected based on the cell data position information. By repeating the above procedure, all “independent item entry areas” on the table format can be detected.

本例の場合、表フォーマット上の全ての対応項目名文字列について、「キー項目指定」の定義要素が付加記入されていないことから、上記したデフォールトの規約にしたがって、項目名「年度」と「商品」について、そのデータフィールドが上記した「独立項記入域」と判定され、「キー項目」として登録されることになる。   In the case of this example, since the definition element of “key item designation” is not additionally entered for all the corresponding item name character strings in the table format, the item name “year” and “ The data field of “commodity” is determined as the above “independent item entry area” and is registered as “key item”.

「項目定義処理」(ステップA2)を終えると、続いて、「指定データフィールド」の中から、「派生データフィールド」として定義されているものを識別し、その「派生条件」と該当する「ベースデータフィールド」を識別定義する「派生フィールド定義処理」をおこなう。(ステップA3)   When the “item definition process” (step A2) is finished, subsequently, the “designated data field” is identified as the “derived data field”, and the “base” corresponding to the “derivative condition” is identified. “Derived field definition processing” for identifying and defining “data field” is performed. (Step A3)

本システムでは、「派生条件」の形式として、図25に示す区分を取り扱う。図25において、1型、2型は、「派生条件」が「関連データ差異条件」のみからなる場合である。この場合には、「派生セル」内には、該当「ベースセル」の「関連データ条件」を「関連データ差異条件」の指示によって変更した「関連データ条件」によって出力されるデータ値が記入される。
3型は、「演算条件」のみからなる場合であり、派生セル内には、該当ベースセル内のデータ値と特に指示された特定値との演算結果が記入される。
In this system, the category shown in FIG. 25 is handled as the format of the “derivative condition”. In FIG. 25, type 1 and type 2 are cases where the “derivative condition” consists only of the “related data difference condition”. In this case, the data value output by the “related data condition” obtained by changing the “related data condition” of the “base cell” according to the instruction of the “related data difference condition” is entered in the “derived cell”. The
Type 3 is a case consisting of only “calculation conditions”, and the calculation result of the data value in the corresponding base cell and the specified specific value is entered in the derived cell.

4型、5型は「派生条件」が「関連データ差異条件」と「演算条件」の組み合わせからなる場合であり、「派生セル」内には、該当「ベースセル」の「関連データ条件」を「関連データ差異条件」の指示によって変更した「関連データ条件」によって出力されるデータ値と該当「ベースセル」内のデータ値との演算結果が記入される。 また、1型、4型は、「関連データ差異条件」の指定方法が「直接指示」の場合であり、2型、5型は、「関連データ差異条件」指定方法が「間接指示」の場合である。   Type 4 and type 5 are cases where the “derivative condition” is a combination of “related data difference condition” and “calculation condition”, and the “related data condition” of the corresponding “base cell” is included in the “derived cell”. An operation result of the data value output by the “related data condition” changed by the instruction of the “related data difference condition” and the data value in the corresponding “base cell” is entered. Type 1 and type 4 are when the “related data difference condition” designation method is “direct indication”. Type 2 and type 5 are when the “related data difference condition” designation method is “indirect indication” It is.

本システムでは、「演算条件」の指定方法としては、応用用語辞書52中の「演算指定2」区分の登録語による指定を取り扱うものとする。また、「関連データ差異条件」の「直接指示」による指定方法がとしては、「データ名」による指定を取り扱い、「関連データ差異条件」の「間接指示」による指定方法としては、応用用語辞書52中の「相対指定」区分の登録語による指定を取り扱うものとする。
「演算差異条件」のみからなる場合(3型の場合)は、応用用語辞書52中の「演算オペランド指定」区分の登録用語をそのオペランドとする場合を取り扱うものとする。
In this system, as a method for designating “calculation conditions”, it is assumed that designation by registered words in the “calculation designation 2” category in the application term dictionary 52 is handled. The designation method by “direct indication” of “related data difference condition” is handled as designation by “data name”, and the designation method by “indirect indication” of “related data difference condition” is applied term dictionary 52. It shall handle the designation by registered words in the “relative designation” category.
In the case of only “calculation difference condition” (type 3), the case where the registered term of the “calculation operand designation” classification in the application term dictionary 52 is used as its operand is handled.

「派生フィールド定義処理」(ステップA3)においては、図26に示す手順がおこなわれる。先ず、書面上の各文字列について、例えば、図27、図28、図29の手順により「派生条件指定語」としての形式と条件を満たしていることを判定する。(ステップP1) In the “derived field definition process” (step A3), the procedure shown in FIG. 26 is performed. First, for each character string on the document, for example, it is determined that the format and condition as the “derivative condition designation word” are satisfied by the procedures of FIGS. 27, 28, and 29. (Step P1)

先ず、判定対象の文字列全体、または、その一部が「解釈指定」の定義要素記号”○”による指定を受けていることを判定する。(ステップD1)
本例のように、判定対象の文字列が「解釈指定」定義要素記号”○”による指定を受けている場合には、続いて、その指定を受けている文字列部分内の所定の位置に、応用用語辞書52中の「演算指定2」区分の登録用語が含まれていることを判定する。(ステップD2)
First, it is determined that the entire character string to be determined or a part of the character string has been specified by the definition element symbol “◯” of “interpretation specification”. (Step D1)
As in this example, if the character string to be judged has been designated by the “interpretation designation” definition element symbol “○”, then the character string to which the designation is received is placed at a predetermined position in the character string portion. Then, it is determined that a registered term of “calculation designation 2” in the applied term dictionary 52 is included. (Step D2)

ステップD1において、判定対象の文字列が「解釈指定」定義要素記号”○”による指定を受けていないと判定された場合は、ステップD15以降の手順がおこなわれる。この手順については、後出の「他の使用例4」において説明する。   If it is determined in step D1 that the character string to be determined has not been designated by the “interpretation designation” definition element symbol “◯”, the procedure after step D15 is performed. This procedure will be described later in “Other use example 4”.

図30に応用用語辞書52に収載される用語の例を示す。応用用語辞書52においては、登録用語は、「代表名」をキーとして登録され、「同義語」、「区分」などの情報が各「代表名」に関係付けられて登録されている。また、「区分」が「相対指定」である各登録語には、「所属項目名」が関係付けられて登録されている。例えば、「区分」が「相対指定」に属する登録語「前年」には、その所属項目名「年度」が関係付けられて登録されている。   FIG. 30 shows examples of terms included in the application term dictionary 52. In the applied term dictionary 52, registered terms are registered using “representative name” as a key, and information such as “synonyms” and “classification” is registered in association with each “representative name”. Each registered word whose “category” is “relative designation” is registered in association with “affiliation item name”. For example, a registered word “previous year” whose “category” belongs to “relative designation” is registered in association with the belonging item name “year”.

図31に応用用語辞書の収載単位となっている応用用語定義データのデータフォーマットを示す。応用用語定義データは各「代表名」毎に作成される。「代表名」、「所属項目名」、「同義語」のデータフィールドには該当の文字コード列がセットされ、「区分」のデータフィールドには該当のIDデータがセットされる。   FIG. 31 shows a data format of applied term definition data which is a unit of inclusion in the applied term dictionary. Application term definition data is created for each “representative name”. A corresponding character code string is set in the data field of “representative name”, “affiliation item name”, and “synonym”, and corresponding ID data is set in the data field of “classification”.

応用用語辞書52中の「演算指定2」区分の登録用語は、日本語において、通常、そのオペランドとなる他の用語と複合語を形成して使用される。
この応用用語辞書52中の「演算指定2」区分の登録用語は、複合語形成上の配置関係から見て、”対**比”、”対**割合”等のような「両挟み型」と、”**比”、””**割合”等の「後置型」がある。この複合語形成上の配置関係は、応用用語辞書52中において、オペランドとなる用語の位置を特定の文字列”**”を用いて示されている。
Registered terms in the “calculation designation 2” category in the application term dictionary 52 are usually used in Japanese by forming a compound word with other terms that are operands.
Registered terms in the “calculation designation 2” category in the application term dictionary 52 are “double-ended type” such as “to ** ratio”, “to ** ratio”, etc. ”And“ post ratio ”such as“ ** ratio ”and“ ** ratio ”. This arrangement relationship in forming the compound word is indicated in the applied term dictionary 52 by using a specific character string “**” for the position of the term as an operand.

応用用語辞書52中の「演算指定2」区分の登録用語を検出するには、上記した「両挟み型」の場合、判定対象の文字列がこの登録用語の前側文字(たとえば、”対”)と前方一致し、かつ、後側文字(たとえば、”対”)と後方一致することを判定すればよい。「演算指定2」区分の応用英語辞書登録用語が上記した「後置型」の場合、判定対象の文字列について、各登録用語の後側文字との後方一致を判定すればよい。   In order to detect registered terms in the “calculation designation 2” category in the application term dictionary 52, in the case of the above-mentioned “double sandwich type”, the character string to be determined is the front character (for example, “pair”) of this registered term. And a backward match with a rear character (for example, “pair”) may be determined. When the applied English dictionary registered term in the “calculation designation 2” category is “postfix type” as described above, it is only necessary to determine whether the character string to be determined is backwardly matched with the rear character of each registered term.

ステップD2において、「演算指定2」区分の応用用語辞書登録用語が検出されない場合は、ステップD12以降の手順がおこなわれる。ステップ12以降の手順については、後出の「他の使用例3」において説明する。   In step D2, if no application term dictionary registered term in the “calculation designation 2” category is detected, the procedure after step D12 is performed. The procedure after step 12 will be described later in “Other use example 3”.

ステップD2において、本例のように、「演算指定2」区分の応用用語辞書登録用語が検出されると、続いて、判定対象文字列内の残りの部分文字列について、その演算オペランドとして該当するものを次の項目の中から判定していく。
(1)応用用語辞書内「相対指定」区分の登録用語 (ステップD3)
(2)応用用語辞書内「演算オペランド指定」区分の登録用語 (ステップD6)
(3)ユーザが定義した「データ名」 (ステップD8)
In step D2, when an application term dictionary registered term in the “calculation designation 2” category is detected as in this example, the remaining partial character strings in the determination target character string correspond to the operation operands. The thing is judged from the following items.
(1) Registered terms in the “relative designation” category in the application term dictionary (Step D3)
(2) Registered terms in the “operation operand specification” category in the application term dictionary (step D6)
(3) "Data name" defined by the user (Step D8)

先ず、判定対象文字列の残りの部分文字列について、「関連データ差異条件登録語」の判定をおこなう。(ステップD3)前記したように、本システムでは、「関連データ差異条件登録語」として、応用用語辞書52中の「相対指定」区分の登録用語を取り扱う。 本例の場合、このステップD3において、該当の文字列”前年”が「相対指定」区分の登録用語として、応用用語辞書52中にサーチされる。   First, the “related data difference condition registration word” is determined for the remaining partial character strings of the determination target character string. (Step D3) As described above, in the present system, registered terms in the “relative designation” category in the application term dictionary 52 are handled as “related data difference condition registered words”. In this example, in step D3, the corresponding character string “previous year” is searched in the applied term dictionary 52 as a registered term of the “relative designation” category.

ステップD3の判定において、判定対象の部分文字列が、応用用語辞書52の「相対指定」区分の登録用語でない場合は、ステップ6以降の手順がおこなわれる。ステップ6以降の手順については、後出の「他の使用例1」において説明する。   If it is determined in step D3 that the partial character string to be determined is not a registered term in the “relative designation” category of the applied term dictionary 52, the procedure from step 6 is performed. The procedure after step 6 will be described in “other use example 1” described later.

本例のように、このステップD3の判定が得られる場合は、続いて、応用用語辞書52中において、該当の「関連データ差異条件登録語」と対応付けられ形で登録されている「所属項目名」を参照し、その「所属項目名」が、該当の表フォーマット上において項目定義の対応項目名として定義されていることを確認する。(ステップD4)   When the determination in step D3 is obtained as in this example, subsequently, the “affiliation item” registered in the applied term dictionary 52 in association with the corresponding “related data difference condition registration word”. Refer to "Name" and confirm that the "Affiliation Item Name" is defined as the corresponding item name of the item definition on the corresponding table format. (Step D4)

本例の場合、このステップD4において、この検出された「相対指定」区分の登録用語「前年」について応用用語辞書52中において、その所属項目名「年度」が参照され、その項目名「年度」は、表フォーマット上において項目定義データフィールド(データ“2001年”、“2002年”、“2003年が記入されている最上行のデータフィールド)の対応項目名として定義されていることが検出される。   In the case of this example, in this step D4, for the registered term “previous year” of the detected “relative designation” category, the belonging item name “year” is referred to in the applied term dictionary 52, and the item name “year”. Is defined as a corresponding item name in the item definition data field (data “2001”, “2002”, “data field in the top row in which 2003” is entered) on the table format) .

以上の確認が得られると、それ以前の判定プロセスを経たことを併せて、この判定対象の文字列は、上記した、「派生データフィールド」の「派生条件」として、(5)型の形式と条件を満たしていることが判定される。(ステップD5)   When the above confirmation is obtained, the character string to be judged is combined with that of the type (5) as the “derivative condition” of the “derived data field” described above, together with the previous judgment process. It is determined that the condition is satisfied. (Step D5)

本システムにおいては、1つのデータフィールドとの間で上記した「特定の関係付け」が与えられ、かつ、以上の形式と条件を満たしている文字列は、そのデータフィールドの「派生条件」の定義以外には用いないものとして、以上の判定により該当のデータフィールドは或る他のデータフィールドの「派生データフィールド」であり、該当の文字列は、その「派生条件指定語」であることが確定される。   In this system, a character string that is given the above-mentioned “specific relationship” with one data field and satisfies the above format and conditions is defined as the “derivative condition” of that data field. It is determined that the corresponding data field is a “derived data field” of a certain other data field, and the corresponding character string is its “derived condition designation word”. Is done.

本例の場合、第3列上、第5列上、第7列上の各指定データフィールドは、各々、その上側セルに記入されている文字列”対前年比”を「派生条件指定語」とする「派生データフィールド」であることが定まることになる。   In the case of this example, each designated data field on the third column, the fifth column, and the seventh column is a character string “YoY change” written in its upper cell, and “derived condition designation word”. It is determined that it is a “derived data field”.

「派生データフィールド定義処理」においては、次に、以上のように識別した「派生データフィールド」について、その「ベースデータフィールド」となっている「指定データフィールド」を識別する。(ステップP2)この「ベースデータフィールド」の識別は、例えば、図32に示す手順によっておこなうことができる。   In the “derived data field definition process”, next, the “designated data field” that is the “base data field” of the “derived data field” identified as described above is identified. (Step P2) This “base data field” can be identified by, for example, the procedure shown in FIG.

上記したように、ある「派生セル」に対応する「ベースセル」は、該当「派生セル」と上記した「関連データ記入位置」にあるデータを共有しているセルであることから、先ず、書面上に定義されている「指定データフィールド」の中から、その構成各セルの「関連データ記入位置」にあるデータが、該当の「派生データフィールド」その構成各セルの「関連データ記入位置」にあるデータと同じものを選択する。(ステップQ1)   As described above, a “base cell” corresponding to a certain “derived cell” is a cell sharing the data in the “related data entry position” with the corresponding “derived cell”. From the “specified data field” defined above, the data in the “related data entry position” of each constituent cell is the “derived data field” in the “related data entry position” of each constituent cell. Select the same data. (Step Q1)

書面上に定義されている「指定データフィールド」の中から、先ず、該当の「派生データフィールド」と「平行配置」されている「指定データフィールド」を選択し、次に、その中から、セル列方向の上側または左側の「関連データ条件位置」に記入されているデータが該当の「派生データフィールド」と同じものを選択すればよい。   First of all, from the “designated data field” defined on the document, select the “designated data field” that is “placed in parallel” with the corresponding “derived data field”, and then select the cell. The data entered in the “related data condition position” on the upper side or the left side in the column direction may be the same as the corresponding “derived data field”.

ここで、2つのデータフィールド(セル列)が「平行配置」されているということは、両者の構成セルがセル列方向と直角方向の同一位置に1対1に対応して存在するということである。「平行配置」されているデータフィールドは、例えば、そのセル列方向とセル列両端の位置が、該当の「派生データフィールド」のセル列方向とセル列両端の位置と同じものを選択することによって得ることができる。   Here, the two data fields (cell rows) are arranged in parallel means that both constituent cells exist in one-to-one correspondence at the same position in the direction perpendicular to the cell row direction. is there. For example, by selecting a data field that is "parallelly arranged", the cell column direction and the positions of both ends of the cell column are the same as those of the corresponding "derived data field" and the positions of both ends of the cell column. Obtainable.

本例の場合、たとえば、上記した表の第3列上の「派生データフィールド」に対応する「ベースータフィールド」として、第2列上の指定データフィールドが検出される。
両者に所属する「派生セル」とその対応「ベースセル」は同一行上にあり、行方向の「関連データ記入位置」にあるデータとして、その行上にある項目名「商品」の同一データを共有し、列方向の「関連データ記入位置」にあるデータとして、第2列上と第3列上にまたいで合併して作成されているセル中に記入されている、「年度」を対応項目名とするデータ「2001年」を共有している。
In the case of this example, for example, the designated data field on the second column is detected as the “base data field” corresponding to the “derived data field” on the third column of the above table.
“Derived cells” and their corresponding “base cells” belonging to both are on the same row, and the same data of the item name “product” on that row is used as the data in the “related data entry position” in the row direction. “Year” written in the cell created by merging across the 2nd and 3rd columns as data at the “related data entry position” in the column direction The data “2001” is shared.

続いて、該当の「派生データフィールド」に「対応項目名」が明示的に定義されている場合、以上のように選択された「指定データフィールド」の中から、さらに、その「対応項目名」が該当の「派生データフィールド」の「対応項目名」と同じものを選択する。(ステップQ2)
このステップQ2の先頭においては、該当の「派生データフィールド」に「対応項目名」が定義されていることを判定し、「対応項目名」が定義されていない場合、ステップQ2内の以降の処理をスキップし、次のステップQ3に進む。
Subsequently, when a “corresponding item name” is explicitly defined in the corresponding “derived data field”, the “corresponding item name” is further selected from the “specified data field” selected as described above. Is the same as the “corresponding item name” of the corresponding “derived data field”. (Step Q2)
At the beginning of step Q2, it is determined that “corresponding item name” is defined in the corresponding “derived data field”. If “corresponding item name” is not defined, the subsequent processing in step Q2 Is skipped and the process proceeds to the next step Q3.

最後に、仮に、以上の選択の結果、未だ、該当の「派生データフィールド」に対して「ベースデータフィールド」が一意に定まらない場合、ユーザが通常、表を作成する時に従う「表の配置規則」によって、該当の「派生データフィールド」に対して、左側(「派生データフィールド」が横方向に配置されている場合は、上側)に配置され、かつ、該当の「派生データフィールド」に最も近い指定フィールドを選択する。(ステップQ3)   Finally, if, as a result of the above selection, the “base data field” is not yet uniquely determined for the corresponding “derived data field”, the “table placement rules that users normally follow when creating a table” ”Is placed on the left side of the corresponding“ derived data field ”(the upper side if the“ derived data field ”is arranged horizontally) and closest to the corresponding“ derived data field ” Select the designated field. (Step Q3)

本例における、上記した表の第3列上の「派生データフィールド」の場合、その「対応項目名」は明示的には定義されていないことから、ステップQ2における選択処理はスキップされる。また、ステップQ1において「指定データフィールド」は1つに選択されている。   In the present example, in the case of the “derived data field” on the third column of the above table, the “corresponding item name” is not explicitly defined, so the selection process in step Q2 is skipped. In Step Q1, one “designated data field” is selected.

上記したように、表フォーマット上において、「対応項目名」が明示的には定義されていないデータ記入欄(セル)の「対応項目名」は「関連データ記入位置」にあるデータを共有するデータ記入欄(セル)と同じものである。以上のことから、ステップQ1において選択された、第2列上の指定フィールドが、対応する「ベースデータフィールド」として確定されることになる。   As described above, in the table format, the “corresponding item name” in the data entry column (cell) in which the “corresponding item name” is not explicitly defined is the data sharing the data in the “related data entry position”. It is the same as the entry column (cell). From the above, the designated field on the second column selected in step Q1 is determined as the corresponding “base data field”.

以上のように、「ベースデータフィールド」と「派生データフィールド」の対とその「派生条件指定語」が識別された場合、「派生条件定義データ」を作成し、そのアドレスを、「派生データフィールド」側のフィールド定義データ中の「派生条件定義データポインタ」部にセットする。(ステップP3)   As described above, when a pair of “Base Data Field” and “Derived Data Field” and its “Derived Condition Specification Word” are identified, “Derived Condition Definition Data” is created and its address is set to “Derived Data Field”. "Derived condition definition data pointer" in the field definition data on the "" side. (Step P3)

また、ステップP3においては、「派生データフィールド」側の該当フィールド定義データ内の「派生区分」欄に「派生データフィールド」であることをを示すコード“2”をセットした上、該当フィールド定義データのアドレスを、対応する「ベースデータフィールド」側のフィールド定義データ中の「派生データフィールド定義データポインタ」部にセットする。さらに、「ベースデータフィールド」側のフィールド定義データ中の「派生区分」欄に、「ベースデータフィールド」であることをを示すコード“1”をセットする。   In step P3, the code “2” indicating “derived data field” is set in the “derived data field” in the corresponding field definition data on the “derived data field” side, and the corresponding field definition data is set. Is set in the “derived data field definition data pointer” portion in the field definition data on the corresponding “base data field” side. Further, a code “1” indicating “base data field” is set in the “derivation classification” column in the field definition data on the “base data field” side.

なお、前記したように、全てのフィールド定義データフィールドの「派生区分」欄には、初期値として、コード“0”がセットされているので、「ベースデータフィールド」、または、「派生データフィールド」として識別されない、残ったデータフィールドである「通常データフィールド」のフィールド定義データの「派生区分」欄にのみ、コード“0”がセットされることになる。   As described above, since the code “0” is set as the initial value in the “derivation classification” column of all the field definition data fields, the “base data field” or “derived data field” is set. The code “0” is set only in the “derivation classification” column of the field definition data of the “normal data field”, which is the remaining data field that is not identified as.

「派生条件定義データ」の構成を図33に示す。「派生条件定義データ」は、「基本部」と「演算指定部」とからなる。「基本部」は、さらに「形式区分」記入欄、「項目名テキスト」記入欄、「データ名テキスト」記入欄、「登録語テキスト」記入欄とからなる。   The configuration of “derivative condition definition data” is shown in FIG. The “derivative condition definition data” includes a “basic part” and an “operation designating part”. The “basic part” further includes a “type classification” entry field, an “item name text” entry field, a “data name text” entry field, and a “registered word text” entry field.

「派生条件定義データ」の「形式区分」記入欄には、上記した「派生条件」の「区分」がセットされる。「項目名テキスト」記入欄と「データ名テキスト」記入欄には該当の文字列のコード列が記入される。「登録語テキスト」記入欄には、応用用語辞書52中の「代表名」のコード列が記入される。
「派生条件定義データ」の「演算指定部」内の「演算種別部」には、演算種類の該当コードが記入される。「演算指定」がない場合は、コード”0”がセットされる。
In the “form classification” entry field of “derivative condition definition data”, the “classification” of the above “derivative condition” is set. In the “item name text” entry field and the “data name text” entry field, a code string of the corresponding character string is entered. In the “registered word text” entry field, a code string of “representative name” in the applied term dictionary 52 is entered.
In the “calculation type part” in the “calculation designation part” of the “derivative condition definition data”, a corresponding code of the calculation type is entered. If there is no “operation designation”, the code “0” is set.

上記「演算指定部」内の「演算オペランド区分部」には、該当ベースセル内データの演算対象となるデータの区別がセットされる。「関連データ差異条件」が定義され、演算が該当ベースセル内データと「関連データ差異条件」に基づく派生セル内出力データとの間に定義されている場合(「派生条件」の「区分」が3型以外の場合)は、「演算オペランド区分」は、「派生セル内データ」であるとして、それを示すコード”0”がセットされる。   In the “arithmetic operand section” in the “arithmetic designation section”, the distinction of the data to be operated on the corresponding base cell data is set. When "Related data difference condition" is defined and calculation is defined between the data in the corresponding base cell and the output data in derived cell based on "Related data difference condition" In the case of other than type 3, the “operation operand classification” is set to “data in derived cell”, and a code “0” indicating it is set.

「関連データ差異条件」が定義されておらず、演算が該当ベースセル内データと別に定義された特定データとの間で定義されている場合(「差異条件」の「区分」が3型の場合)は、「演算オペランド区分」には「特定指定データ」であるとして、それを示すコード”1”がセットされる。   When "Related data difference condition" is not defined and calculation is defined between the data in the corresponding base cell and specific data defined separately (when "Division" of "Difference condition" is type 3) ) Is set as “specific designation data” in the “operation operand classification”, and a code “1” indicating it is set.

本例の場合、先ず、上記「基本部」内の「登録語」記入欄に、応用用語辞書52中の該当の「代表名」”前年”がセットされ、「演算指定部」内の「演算種別部」には、「対**比」に対応する該当コード”1”がセットされ、「演算オペランド区分部」には、「派生セル内データ」であることを示すコード”0”がセットされる。   In this example, first, the corresponding “representative name” “previous year” in the application term dictionary 52 is set in the “registered word” entry field in the “basic part”, and the “calculation” in the “calculation designation part”. Corresponding code “1” corresponding to “to ** ratio” is set in “Type section”, and code “0” indicating “Data in derived cell” is set in “Operation operand section” Is done.

また、「演算オペランド区分」が、本例のように「派生セル内データ」である場合、「項目名テキスト」記入欄には、該当の関連データ差異条件の所属項目名がセットされる。本例の場合、関連データ差異条件は、応用用語辞書52中の「相対指定」区分の登録用語”前年”であり、その所属項目名として、ステップD4において参照した項目名「年度」が記入される。   Further, when the “calculation operand classification” is “data in derived cell” as in this example, the item name to which the relevant data difference condition belongs is set in the “item name text” entry field. In this example, the related data difference condition is the registered term “previous year” in the “relative designation” category in the application term dictionary 52, and the item name “year” referred to in step D4 is entered as the belonging item name. The

「派生フィールド定義処理」を終えると、最後に、「演算結果欄定義データ」の作成をおこなう。(ステップA4)
先ず、書面上において、「解釈指定」の定義要素記号“○”によって囲まれ、かつ、応用用語辞書52に「演算指定1」区分として登録されている用語を、「演算結果記入欄指定語」として1つづつ識別していく。書面上において「登録語指定」の定義要素記号“○”をサーチし、続いて、それによって囲まれた文字列が応用用語辞書52中において「演算指定1」区分として登録されている用語であることを判定していけばよい。なお、応用用語辞書52の登録用語としては、下記の「代表名」の外に下記の「同義語」も含めて判定する。
When the “derived field definition process” is finished, “calculation result column definition data” is created. (Step A4)
First, on the document, a term that is surrounded by the definition element symbol “◯” of “interpretation designation” and registered in the applied term dictionary 52 as the “operation designation 1” category is designated as “calculation result entry column designation word”. Are identified one by one. The definition element symbol “◯” of “Registered word designation” is searched on the document, and the character string enclosed by it is a term registered as “Operation designation 1” category in the application term dictionary 52. You should judge that. The registered terms in the application term dictionary 52 are determined by including the following “synonyms” in addition to the following “representative names”.

以上のように識別した各「演算結果記入欄指定語」について、該当する演算結果記入欄を次のように識別する。先ず、すでに「フィールド定義データ」が作成されている指定データフィールドの中から、「対応項目名」が未だ、定義されていないものを選択し、さらに、その中から該当の「演算結果欄指定語」と上記した「特定の対応付け」の関係にあるものを選択すればよい。   For each “calculation result entry field designation word” identified as described above, the corresponding computation result entry field is identified as follows. First, from the specified data field for which “Field definition data” has already been created, select the “corresponding item name” that has not been defined yet, and then select the corresponding “Calculation result field specification word” And the above-mentioned “specific association” may be selected.

すなわち、先ず、「演算結果欄指定語」と定義要素の「結合線」によって結ばれている指定データフィールドをサーチし、「演算結果欄指定語」と「結合線」によって結ばれている指定データフィールドが無ければ、「演算結果欄指定語」に対して上記した「特定隣接位置」にある指定データフィールドをサーチする。
「演算結果欄指定語」と以上の関係にある指定データフィールドがサーチできれば、この指定データフィールドを「演算結果欄データフィールド」として判定し、「演算結果欄定義データ」(図34)を作成する。
That is, first, the designated data field connected by the “computation result field designation word” and the “join line” of the definition element is searched, and the designated data connected by the “operation result field designation word” and the “join line”. If there is no field, the designated data field in the “specific adjacent position” is searched for the “calculation result field designation word”.
If the designated data field having the above relationship with the “calculation result column designation word” can be searched, this designated data field is determined as the “calculation result column data field”, and “calculation result column definition data” (FIG. 34) is created. .

「演算結果欄定義データ」の「演算区分」部には、該当の「演算結果欄指定語」の応用用語辞書52中における「代表名」をセットする。応用用語辞書52中の「演算指定1」区分においては、1つの演算種別に対応して1つの「代表名」が登録されている。
また、「演算結果欄定義データ」内の「先頭セルデータアドレス」部には、該当の「フィールド定義データ」の「先頭セルアドレス」からポイントさているセルデータチェインの先頭セルのセルデータアドレスをセットする。また、この時、該当の「フィールド定義データ」の本体は削除しておく。
A “representative name” in the applied term dictionary 52 of the corresponding “calculation result field designation word” is set in the “calculation category” portion of the “calculation result field definition data”. In the “calculation designation 1” section in the application term dictionary 52, one “representative name” is registered corresponding to one computation type.
In the “First cell data address” section of the “Calculation result column definition data”, the cell data address of the first cell of the cell data chain pointed to from the “first cell address” of the corresponding “field definition data” is set. To do. At this time, the body of the corresponding “field definition data” is deleted.

本例の場合、表の最下行上の「指定データフィールド」は、その「特定隣接位置」である左側隣接セル内に、”計”が「演算結果欄指定語」として記入されていることから、「演算結果欄データフィールド」として判定され、「演算区分」部に該当の「代表名」”計”がセットされた「演算結果欄定義データ」が作成されることになる。   In the case of this example, the “specified data field” on the bottom row of the table has “total” entered as the “calculation result column specification word” in the left adjacent cell that is the “specific adjacent position”. Thus, “calculation result column data field” is determined, and “calculation result column definition data” in which “representative name” and “total” are set in the “calculation category” portion is created.

仮に、図9の中の”計”文字列の記入位置に、”平均”という文字列が代わりに記入されている場合、この記入用語の”平均”は、応用用語辞書52の「演算指定1」区分の登録用語であるので、本例の場合と同様にして、「演算種別」部に該当する「代表名」”平均”がセットされた「演算結果欄定義データ」が作成されることになる。   If the character string “average” is entered instead at the entry position of the “total” character string in FIG. 9, the “average” of this entry term is “calculation designation 1” in the application term dictionary 52. "Registered term" definition data "in which" representative name "and" average "corresponding to the" calculation type "part are set is created in the same manner as in this example. Become.

「演算結果欄定義データ」が作成されれば、該当の「演算結果欄データフィールド」を構成する各セル(以降、「演算結果欄セル」と呼ぶ)を順次、とり出し、各「演算結果欄セル」毎に、演算対象のデータを記入したセルの集合である「演算対象フィールド」の検出をおこなう。   When “calculation result column definition data” is created, each cell constituting the corresponding “calculation result column data field” (hereinafter referred to as “calculation result column cell”) is sequentially taken out, and each “calculation result column” For each “cell”, a “calculation target field” that is a set of cells in which calculation target data is entered is detected.

「演算結果欄データフィールド」を構成する各「演算結果欄セル」が横方向に並ぶものである場合、その構成セルと同一列上の上方向に、「集計区分」が「集計項目」の項目定義データフィールドをサーチする。「演算結果欄データフィールド」を構成する各セルが縦方向に並ぶものである場合、その構成セルの同一行上の左側をサーチすればよい。   When each “calculation result column cell” that constitutes the “calculation result column data field” is arranged in the horizontal direction, the item of “aggregation category” is “summary item” in the upward direction on the same column as the component cell. Search the definition data field. When the cells constituting the “calculation result column data field” are arranged in the vertical direction, the left side on the same row of the constituent cells may be searched.

「演算結果欄データフィールド」の中において、以上のように、「演算対象フィールド」が検出された「演算結果欄セル」について、改めて、そのセルデータを順次、「ポインタデータ」でつないで、「セルデータチェイン」を作成し直し、その先頭セルデータのアドレスを該当「演算結果欄定義データ」の「先頭セルデータアドレス」にセットする。   In the “calculation result column data field”, as described above, for the “calculation result column cell” in which the “calculation target field” is detected, the cell data is sequentially connected by “pointer data”. The “cell data chain” is recreated, and the address of the head cell data is set to “head cell data address” of the corresponding “calculation result column definition data”.

本例の場合、表の最下端の行上において、指定データフィールドを構成した各セルは、各々、項目名「売上げ」のデータフィールド上において、自身のセルと同一列、あるいは同一列上の部分を「演算対象フィールド」とする「演算結果欄セル」(合計欄セル)であることになる。   In the case of this example, on the bottom row of the table, each cell constituting the specified data field is the same column as the own cell or a part on the same column on the data field of the item name “Sales”. Is a “computation result column cell” (total column cell).

上記のようにして、システムに入力された定義情報入りの書面について全ての定義データを生成し終えたところで、本システムがこれまで行った処理、特に認識処理(文字/図形認識、位置/大きさ等の補正、定義内容の確定)の結果を表示出力し、ユーザ側の確認を取る。   As described above, when all the definition data has been generated for the document containing the definition information input to the system, the processing performed by the system, particularly the recognition processing (character / graphic recognition, position / size, etc.) has been performed so far. Display and output the result of the correction, etc., and confirm the definition content).

この表示出力では、システムが認識した各書面の文書内容をたとえばトグル方式で順にディスプレイ画面20a上に表示する。この文書画像を表示するため、文書画像出力部40は、文書要素データ記憶部38に蓄積されている各書面毎の文書要素データを文字/図形パターン辞書36に照会して各文書要素のパターンを識別し、各パターンを展開プログラムによってビットマップ形式の画像データに変換して、映像信号を生成する。   In this display output, the document contents of each document recognized by the system are sequentially displayed on the display screen 20a in a toggle manner, for example. In order to display this document image, the document image output unit 40 queries the character / graphic pattern dictionary 36 for the document element data for each document stored in the document element data storage unit 38 and determines the pattern of each document element. Each pattern is identified, and each pattern is converted into image data in a bitmap format by a development program to generate a video signal.

なお、システムの認識処理結果に応じた帳表の文書内容がディスプレイ画面20a上に表示された時点で、ユーザはキーボード12やマウス14あるいはディジタイザ15を用いて画面上から各文書に補正を行ったり新たな記入情報を入力することができる。   When the document contents of the book table corresponding to the recognition processing result of the system are displayed on the display screen 20a, the user corrects each document from the screen using the keyboard 12, the mouse 14, or the digitizer 15. New entry information can be entered.

キーボード12より入力された記入情報については、文字・図形認識の処理を行うことなく、文字・図形要素入力部37(図11)で文書要素データを生成することができる。マウス14またはディジタイザ15より入力された記入情報については、文字・図形要素入力部37で各記入情報を入力し、文字・図形要素認識部34で逐次(入力記入情報毎に)文字/図形認識処理を行い、文書要素データを生成する。   With respect to the entry information input from the keyboard 12, document element data can be generated by the character / graphic element input unit 37 (FIG. 11) without performing character / graphic recognition processing. For entry information input from the mouse 14 or the digitizer 15, each entry information is input by the character / graphic element input unit 37, and the character / graphic element recognition unit 34 sequentially (for each input entry information) performs character / graphic recognition processing. To generate document element data.

これら画面入力方式の入力装置12、14、15により定義情報を入力する際にも、「環境設定」の「定義情報区別」モード(図7)で各定義系の修飾情報を設定入力する。所望の定義用サブモード下で画面上から記入情報を入力すれば、システムの方でその入力された記入情報にそのサブモードで指定されている定義区別修飾を付して、画面上に表示することも可能である。この場合、該定義区別修飾を付けられた記入情報から定義情報が認識されることになる。   Even when definition information is input by the input devices 12, 14, and 15 using these screen input methods, the modification information for each definition system is set and input in the “definition information distinction” mode (FIG. 7) of “environment setting”. If entry information is entered from the screen under the desired definition submode, the system will display the entered entry information with the definition distinction modifier specified in that submode. It is also possible. In this case, the definition information is recognized from the entry information with the definition distinction modification.

このように画面上で記入情報が入力された場合は、記入情報が入力される度毎にその入力データに基づいて文字・図形要素入力部37(図11)が各記入情報に対応した文書要素データを生成または変更することになる。
画面上から入力された記入情報(文字列、記号、図形)は、用紙からイメージ入力された場合と同様に、システム内では文書要素データ(図14〜図19)の形態で表現される。
When entry information is input on the screen in this way, each time entry information is input, the character / graphic element input unit 37 (FIG. 11) is a document element corresponding to each entry information based on the input data. Data will be generated or modified.
The entry information (character string, symbol, figure) input from the screen is expressed in the form of document element data (FIGS. 14 to 19) in the system, as in the case of image input from paper.

用紙からイメージで入力された記入情報も画面上からコマンドで入力された記入情報もシステム内では同じ文書要素データの形で管理されるため、帳表の元々の記入情報(通常記入情報)かその上に追記される定義用記入情報かに拘わりなく、イメージ入力または画面入力のどちらからでも任意の記入情報を入力することができる。   The information entered in the form of an image from the form and the information entered by the command on the screen are managed in the form of the same document element data in the system, so the original entry information (normal entry information) of the book table or its Regardless of the definition entry information added above, any entry information can be input from either image input or screen input.

このように、ユーザは、文書内容が予め記載されている書面をイメージスキャナ10により入力した後に、上記のような確認のための出力表示の段階で、各書面の文書内容ないし定義内容を確認しながら、キーボード12、マウス14またはディジタイザ15より任意の記入情報、特に定義支援情報を追記することが可能変更や取り消し等を行うことも可能である。   As described above, the user confirms the document content or the definition content of each document at the stage of the output display for confirmation after inputting the document in which the document content is described in advance by the image scanner 10. However, arbitrary entry information, particularly definition support information can be additionally written from the keyboard 12, mouse 14 or digitizer 15, and can be changed or canceled.

以上、本実施例による、派生データフィールドを持つ帳表フォーマットの定義方法について説明したが、種々の変形例が可能である。たとえば、図35に、画面上から定義内容を指定する例を示す。図35に示すように、入力した帳表文書の文書内容をディスプレイ画面20aに表示し、入力した文書内容を確認しながら、キーボード12またはマウス14等より所定の指定をおこなうことにより、所望の定義情報を入力することができる。   The method for defining a book table format having derived data fields according to the present embodiment has been described above, but various modifications are possible. For example, FIG. 35 shows an example in which the definition content is specified on the screen. As shown in FIG. 35, the document content of the input book table document is displayed on the display screen 20a, and a desired definition is made by making a predetermined designation from the keyboard 12 or the mouse 14 while confirming the input document content. Information can be entered.

図35において、「定義」モードの下で、「画面指定」ボタンを指示し、「画面指定」サブモードに入ると、ディスプレイ画面20a内の適当な位置に「1.フィールド」、「2.データ項目」、「3.データ名」等の各種定義項目をリストした副画面94が現れる。ここで、通常記入情報の文字列“売上げ”90をしてクリック指示し、副画面94上で「2.データ項目」を選択指示すると、通常記入情報“売上げ”がデータ項目の「売上げ」に転化し、同時にクリック表示の部分が「2.データ項目」に割り当てた特殊表示に変わる。   35, when the “screen designation” button is designated under the “definition” mode and the “screen designation” sub-mode is entered, “1. field”, “2. data” are displayed at appropriate positions in the display screen 20a. A sub-screen 94 that lists various definition items such as “item” and “3. data name” appears. Here, when the character string “sales” 90 of the normal entry information is clicked and instructed, and “2. Data item” is selected on the sub-screen 94, the normal entry information “sales” is changed to “sales” of the data item. At the same time, the click display part changes to the special display assigned to “2. Data item”.

同様に“売上げ”の欄の下側の領域92をクリック指示して、この領域2について副画面94上で「1.フィールド」を指示すると、領域92は「売上げ」のデータを記入するフィールドとして定義され、同時にクリック部分が「1.フィールド」に割り当てた特殊表示に変わる。ここで、データ項目、フィールド、…に割り当てた特定表示は、予め図5に示した「定義要素/記入情報対照表」に定めたものが現れる。   Similarly, when the user clicks on the area 92 below the “sales” column and designates “1. field” on the sub-screen 94 for this area 2, the area 92 is used as a field for entering “sales” data. At the same time, the click part changes to a special display assigned to “1. Field”. Here, the specific display assigned to the data item, field,... Appears in advance as defined in the “definition element / entry information comparison table” shown in FIG.

なお、図35では、説明の便宜上、「データ項目」の箇所90と「フィールド」の領域92が同時に選択指示されている様子を示しているが、実際には1回のクリック毎に1箇所ずつ選択指示される。
合計フィールドについても、同様に、演算結果欄指定語である”計”をクリック指示した後、副画面94上において「4.解釈指定」を指示し、また、該当のデータフィールド範囲をクリック指示した後、「1.フィールド」を指示すればよい。
For convenience of explanation, FIG. 35 shows a state in which the “data item” portion 90 and the “field” region 92 are selected and instructed at the same time. Selection is instructed.
Similarly, for the total field, after instructing to click the “total” which is the operation result column designation word, instructed “4. Interpretation designation” on the sub-screen 94 and clicked on the corresponding data field range. Then, “1. Field” may be indicated.

派生データフィールドについては、同様に該当のデータフィールド範囲をクリック指示した後、「1.フィールド」を指示し、また、「派生条件」の指定として、その上側隣接セルに記入されている「派生条件指定語」”対前年比”をクリック指示し、副画面94上で「5.解釈指定」を選択指示すればよい。   As for the derived data field, similarly, after clicking the corresponding data field range, “1. Field” is designated, and “Derivation condition” written in the upper adjacent cell is designated as “Derivation condition”. It is only necessary to instruct the user to click on the designated word “YoY” and select and specify “5.

全てのデータフィールドについて、以上の定義操作をおこなった後、画面上の「定義解釈」ボタン95を指示すると、システム内では、それを受け、画面上のクリック位置と、文書要素データ記憶部38に保持されている文書要素データの「位置」情報との照合を繰り返して、該当する文書要素データを識別する。そして、識別した文書要素データと副画面上の指示内容とから、所要の定義データを生成する。   After performing the above definition operation for all the data fields, if the “define interpretation” button 95 on the screen is designated, the system receives it and stores the click position on the screen and the document element data storage unit 38. The matching with the “position” information of the retained document element data is repeated to identify the corresponding document element data. Then, necessary definition data is generated from the identified document element data and the instruction content on the sub-screen.

また、画面上から定義付けをおこなう方法として、次の方法も可能である。あるデータフィールドを画面上で指定した後、副画面上94で「1.フィールド」を指示すると、図36に示す「項目名指定メニュー」96が表示される。「項目名指定メニュー」の中には、「項目名記入欄」98、「フィールド書式記入欄」104のほかに、「派生条件指定エリア」130が別に設けられ、さらにその中に「項目名記入欄」110、「データ名記入欄」112、「登録語記入欄」113、「演算記入欄」115、「フィールド書式記入欄」114が設けられている。   In addition, as a method of defining from the screen, the following method is also possible. After designating a certain data field on the screen, when “1. field” is designated on the sub-screen 94, an “item name designation menu” 96 shown in FIG. 36 is displayed. In the “item name designation menu”, in addition to the “item name entry field” 98 and the “field format entry field” 104, a “derivative condition designation area” 130 is provided separately, and further, “item name entry field” Column "110," Data name entry column "112," Registered word entry column "113," Calculation entry column "115, and" Field format entry column "114 are provided.

「派生条件指定エリア」130内の「データ名記入欄」112には、「関連データ差異条件」のデータ名が記入される。「派生条件指定エリア」130内の「項目名記入欄」110には、「データ名記入欄」112に記入したデータ名の所属項目目が記入される。   In the “data name entry field” 112 in the “derivative condition designation area” 130, the data name of the “related data difference condition” is entered. In the “item name entry field” 110 in the “derivative condition designation area” 130, the item belonging to the data name entered in the “data name entry field” 112 is entered.

「登録語記入欄」113には、「関連データ差異条件登録語」を指定するものとして応用用語辞書52中の「相対指定」区分の登録語が記入される。また、3型の派生条件の「演算オペランド」を指定するものとして、応用用語辞書52中の「演算オペランド」区分の登録語も記入される。「演算記入欄」115には、「演算条件」を示すものとして、応用用語辞書52中の「演算指定2」区分の登録語が記入されるようになっている。   In the “registered word entry column” 113, registered words of the “relative designation” category in the application term dictionary 52 are entered as designations of “related data difference condition registered words”. In addition, a registered word of the “arithmetic operand” category in the application term dictionary 52 is also entered as a designation of the “arithmetic operand” of type 3 derivation condition. In the “calculation entry column” 115, registered words of the “calculation designation 2” classification in the application term dictionary 52 are entered as indicating “calculation conditions”.

図9に示した表フォーマットの場合、各「通常データフィールド」と各「ベースデータフィールド」については、「項目名記入欄」98中に該当の対応項目名の名称を記入すればよい。また、各「派生データフィールド」については、「派生データフィールド側情報記入域」130内の「登録語記入欄」113に“前年”を記入し、「演算記入欄」115に“比”を記入すればよい。   In the case of the table format shown in FIG. 9, for each “normal data field” and each “base data field”, the name of the corresponding item name may be entered in the “item name entry field” 98. For each “Derived Data Field”, enter “Year Previous Year” in “Registered Word Entry Field” 113 in “Derived Data Field Information Entry Area” 130 and “Ratio” in “Calculation Entry Field” 115. do it.

以上の記入をおこない、「項目名指定メニュー」上の「終了ボタン」120をクリックすると、各「派生データフィールド」については、システムは、上記の各記入欄の中、「登録語記入欄」113の記入用語について、応用用語辞書52中の「相対指定」区分の登録用語と「演算オペランド」区分の登録用語をサーチし、「演算記入欄」115の記入用語については、応用用語辞書52中の「演算指定2」区分の登録用語をサーチする。   When the above entry is made and the “end button” 120 on the “item name designation menu” is clicked, for each “derivative data field”, the system registers “registered word entry column” 113 among the above entry columns. The registered terms in the “relative designation” category and the registered terms in the “arithmetic operand” category in the applied term dictionary 52 are searched for the entered terms, and the entered terms in the “calculated entry column” 115 are searched in the applied term dictionary 52. Search for registered terms in the “calculation designation 2” category.

本例の場合、「登録語記入欄」113に記入した“前年”が、応用用語辞書52中の「相対指定」区分の登録用語としてサーチされ、「演算記入欄」115に記入した”比” が、応用用語辞書52中の「演算指定2」区分の登録用語としてサーチされることによって、上記した派生条件判定の基準にしたがい、以上の指定は、前記した5型の派生条件の指定と判定され、該当する「派生条件定義データ」が作成される。   In this example, “previous year” entered in the “registered word entry column” 113 is searched as a registered term of the “relative designation” category in the application term dictionary 52 and “ratio” entered in the “calculation entry column” 115. Is searched as a registered term in the “calculation designation 2” category in the application term dictionary 52, and the above designation is judged as designation of the above-described type 5 derivation condition in accordance with the above criteria for derivation condition judgment. The corresponding “derivative condition definition data” is created.

また、該当するデータフィールドの該当フィールド定義データ中の「派生区分」欄に「派生データフィールド」であることを示すコード“2”がセットされた上、作成した「派生条件定義データ」のアドレスが「派生条件定義データポインタ」部にセットされる。   In addition, the code “2” indicating “derived data field” is set in the “derived field” column of the corresponding field definition data of the corresponding data field, and the address of the created “derived condition definition data” is It is set in the “Derived condition definition data pointer” part.

全てのデータフィールドについて、以上の定義操作をおこなった後、画面上の「定義解釈」ボタンを指示すると、システム内では、それを受け、各「派生データフィールド」について対応する「ベースデータフィールド」を識別し、「ベースデータフィールド」側のフィールド定義データ中の「派生区分」欄に「ベースデータフィールド」であることをを示すコード“1”をセットした上、「派生データフィールド定義データポインタ」部に該当する「派生データフィールド」のフィールド定義データのアドレスをセットする。   After performing the above definition operations for all the data fields, if the “Define interpretation” button on the screen is instructed, the system receives the corresponding “base data field” for each “derived data field”. The code “1” indicating “base data field” is set in the “derivation classification” column in the field definition data on the “base data field” side, and the “derived data field definition data pointer” part Set the address of the field definition data of the “derived data field” corresponding to.

画面上による「派生条件」の定義付けは、前記した「他の使用例」についても同様におこなうことができる。後述する「他の使用例1」の場合は、「登録語記入欄」113に”全体”を記入し、「演算記入欄」115に”比”を記入すればよい。
「登録語記入欄」113に記入した“全体”について、応用用語辞書52中の「演算オペランド」区分の登録用語としてサーチされ、「演算記入欄」115に記入した”比” について、応用用語辞書52中の「演算指定2」区分の登録用語がサーチされ、上記した派生条件判定の基準にしたがい、以上の指定を3型の派生条件の指定と判定される。
The definition of “derivative conditions” on the screen can be performed in the same manner for the “other usage examples”. In the case of “another usage example 1” to be described later, “entire” may be entered in the “registered word entry column” 113 and “ratio” may be entered in the “calculation entry column” 115.
The “total” entered in the “registered word entry column” 113 is searched as a registered term in the “arithmetic operand” section in the applied term dictionary 52 and the “ratio” entered in the “calculated entry column” 115 is applied to the applied term dictionary. The registered terms in the “calculation designation 2” section in 52 are searched, and the above designation is judged as the designation of the type 3 derivation condition according to the criteria for the derivation condition judgment described above.

後述する「他の使用例2」の場合は、「派生データフィールド側情報記入域」130内の「項目名記入欄」110に”年度”を記入し、「データ名記入欄」112に“2000年”を記入し、「演算記入欄」115に”比”を記入すればよい。「他の使用例3」の場合は、「登録語記入欄」113に”前年”を、「演算記入欄」115は無記入とすればよい。
「他の使用例4」の場合は、「派生データフィールド側情報記入域」130内の「項目名記入欄」110に”年度”を記入し、「データ名記入欄」112に“2000年”を記入し、「演算記入欄」115は無記入とすればよい。各々の場合について、該当する「派生条件定義データ」が作成される。
In the case of “other use example 2” described later, “year” is entered in the “item name entry field” 110 in the “derived data field side information entry area” 130, and “2000” is entered in the “data name entry field” 112. “Year” may be entered, and “Ratio” may be entered in the “Calculation entry field” 115. In the case of “other use example 3”, “previous year” may be entered in the “registered word entry column” 113 and the “calculation entry column” 115 may be left blank.
In the case of “other use example 4”, “year” is entered in the “item name entry field” 110 in the “derived data field side information entry area” 130, and “2000” is entered in the “data name entry field” 112. And the “calculation entry field” 115 may be left blank. In each case, the corresponding “derivative condition definition data” is created.

「項目名指定メニュー」には、上記の各記入欄の他に、「派生条件記入欄」100を併せて設け、上記した派生条件の区分が1型、4型以外の場合、派生条件文字列全体を記入させてもよい。
本例の場合、「派生条件記入欄」100には、”対前年比”を記入することになる。「派生条件記入欄」100に入力された文字列は、前記した「解釈指定」された文字列と同じく、それを構成する応用用語辞書52の登録用語は、同辞書に定める意味にしたがって解釈され、用語間の関係は日本語構文規則にしたがって解釈されるものとして、前記した「派生条件の判定手順」にしたがい、同様にして派生条件定義データが作成されることになる。
In the “item name designation menu”, in addition to the above entry fields, a “derivative condition entry field” 100 is also provided. When the above-mentioned derivation condition category is other than 1 type or 4 type, a derived condition character string You may fill in the whole.
In the case of this example, “Year-on-Year comparison” is entered in the “derivative condition entry field” 100. The character string entered in the “derivative condition entry field” 100 is the same as the character string “interpretation specified” described above, and the registered terms in the application term dictionary 52 constituting it are interpreted according to the meanings defined in the dictionary. Assuming that the relationship between terms is interpreted in accordance with Japanese syntax rules, derived condition definition data is created in the same manner according to the above-described “determination condition determination procedure”.

なお、以上の定義付けをシステムに自動的におこなわせることができる。システムには、書面上で項目名として使用される用語を登録した項目名辞書と各項目名に属するデータ名が登録されたマスタデータファイルを予め用意しておく。
例えば、図9に示した書面がシステムに入力され、システム内には、対応する文書データが作成されているものとする。ユーザが、システムに対して、この自動的定義付けを指示する特定操作をおこなうと、システムは、先ず、表フォーマット上からこの項目名辞書の登録用語と応用用語辞書52中の「演算指定1」区分の登録用語を、各々、「対応項目名候補」、「演算結果欄指定語候補」して検出する。
The above definition can be automatically performed by the system. In the system, an item name dictionary in which terms used as item names on the document are registered and a master data file in which data names belonging to the item names are registered are prepared in advance.
For example, it is assumed that the document shown in FIG. 9 is input to the system, and corresponding document data is created in the system. When the user performs a specific operation for instructing this automatic definition to the system, first, the system first selects “calculation designation 1” in the registered term of the item name dictionary and the application term dictionary 52 from the table format. The registered terms in the category are detected as “corresponding item name candidates” and “calculation result field designation word candidates”, respectively.

システムは、また、その他の表内セル内に記入されている文字列について、上記した「派生条件指定語の判定手順」(図27、図28、図29)のステップD2、ステップD15以降の手順をおこない、「派生条件指定語候補」の検出をおこなう。ただ、この「派生条件の判定手順」における派生条件の1型、4型の検出においては、ユーザが定義支援記入情報によって追記した該当「項目名」を用いる処理部分は、今回の手順ではおこなわない。   The system also performs the procedures after Step D2 and Step D15 in the above-mentioned “Derivation Condition Specification Word Determination Procedure” (FIGS. 27, 28, and 29) for character strings entered in other cells in the table. And “derivative condition designation word candidate” is detected. However, in the detection of type 1 and type 4 of the derivation condition in the “derivation condition determination procedure”, the processing part using the corresponding “item name” added by the definition support entry information is not performed in this procedure. .

次に、以上検出した各「対応項目名候補」と各「演算結果欄指定語候補」と「派生条件指定語候補」の各々について、対応する「データフィールド候補」、または、「データ名候補」として、上記した「特定隣接位置」にあるセル列、または、文字列を検出する。「データフィールド候補」として検出したセル列内に文字列が記入されていれば、該当のマスタデータファイルを検索して、該当の項目名に属するデータ名であることを確認する。また、「データ名候補」として検出した文字列についても、同様に、該当の項目名に属するデータ名であることを確認する。   Next, for each of the “corresponding item name candidates”, “calculation result field designation word candidates” and “derivative condition designation word candidates” detected above, the corresponding “data field candidates” or “data name candidates” As described above, the cell string or the character string at the above-mentioned “specific adjacent position” is detected. If a character string is entered in the cell string detected as “data field candidate”, the corresponding master data file is searched to confirm that the data name belongs to the corresponding item name. Similarly, the character string detected as “data name candidate” is confirmed to be a data name belonging to the corresponding item name.

次に、システムは、以上のように「対応項目名候補」と「演算結果欄指定語候補」と「派生条件指定語候補」として検出した用語の他に、表フォーマット上に記入されている文字列であって、以上のように検出した「データフィールド候補」の中にない文字列、または、以上のように検出した「データ名候補」でない文字列について、次の判定をおこなう。   Next, in addition to the terms detected as “corresponding item name candidates”, “calculation result field designation word candidates”, and “derivative condition designation word candidates” as described above, the system uses the characters entered in the table format. The following determination is performed for a character string that is not in the “data field candidate” detected as described above or that is not a “data name candidate” detected as described above.

判定対象の用語について、先ず、「対応項目名候補」として検出している各項目名に属するデータ名であることを、該当のマスタデータファイルを検索することによって判定する。また、検出されている「対応項目名候補」の中に、上記した「年月日項目」区分の項目名があれば、判定対象の用語について、上記したようにその書式の検出をおこない、該当の項目名のデータ名と同じ書式で記入されていることを判定する。   The term to be determined is first determined by searching the corresponding master data file to be a data name belonging to each item name detected as “corresponding item name candidate”. In addition, if there is an item name of the above-mentioned “year / month / day item” classification among the detected “corresponding item name candidates”, the format of the term to be judged is detected as described above, and the corresponding It is determined that the data is entered in the same format as the data name of the item name.

この書式の判定にあっては、「対応項目名候補」として検出されている各項目名に属するデータ名文字列の後置語として、「値」などの特定の用語が付せられている場合も可とする。また、「対応項目名候補」として検出されている「年月日項目」区分の項目名のデータ名と同じ書式で記入されている文字列の後置語として、この特定用語が付せられている場合も可とする。この特定用語は、本明細書でいう1型の「派生条件」であることを強調するために。日常に使用される用語であって、この判定処理をおこなう処理に付属させた辞書中に登録されているものとする。   In the determination of this format, when a specific term such as “value” is added as a postfix of the data name character string belonging to each item name detected as “corresponding item name candidate” Is also acceptable. In addition, this specific term is attached as a postfix of a character string written in the same format as the data name of the item name of the “year / month / day item” category detected as “corresponding item name candidate” It is also acceptable if there is. To emphasize that this particular term is a type of “derivative condition” as used herein. It is a term used in daily life, and is registered in a dictionary attached to the process for performing the determination process.

以上の判定の何れかが得られれば、該当の判定対象の用語に対して「特定隣接位置」にあるセル列を検出し、「特定隣接位置」にあるセル列が検出されれば、該当の判定対象の用語を、検出されたセル列を派生データフィールドとする、上記1型の「派生条件」と見なす。   If any of the above determinations is obtained, a cell string in “specific adjacent position” is detected for the corresponding determination target term, and if a cell string in “specific adjacent position” is detected, the corresponding The term to be determined is regarded as the above-described type 1 “derivative condition” in which the detected cell string is a derived data field.

最後に、検出した各「対応項目名候補」と各「演算結果欄指定語候補」と各「派生条件指定語候補」について、対応する「データフィールド候補」が検出でき、また、各「対応項目名候補」と各「派生条件指定語候補」に対応して「データフィールド候補」が互いに、重複する領域を持つことなく検出できることが判定されれば、以上の検出結果を、システムによる1つの推定結果として、ユーザに表示し、ユーザの確認を求める。   Finally, for each detected “corresponding item name candidate”, each “calculation result field designation word candidate” and each “derivative condition designation word candidate”, a corresponding “data field candidate” can be detected, and each “corresponding item” If it is determined that “data field candidates” can be detected without having overlapping areas, corresponding to each “name candidate” and each “derivative condition designation word candidate”, the above detection result is estimated by the system as one estimation. As a result, it displays to the user and asks for user confirmation.

以上の推定結果の表示にあたっては、該当する「対応項目名候補」と「演算結果欄指定語候補」と「派生条件指定語候補」の文字列に対して、上記した「定義要素/記入情報対照表」において、各々、「項目名」の指定用、または、「解釈指定」用に割り当てた記号、背景パターンなどの図形的特徴づけを加えて表示する。   In displaying the above estimation results, the above-mentioned “definition element / entry information comparison” is applied to the corresponding “corresponding item name candidate”, “calculation result field designation word candidate”, and “derivative condition designation word candidate”. In the “table”, each is added with a graphic characterization such as a symbol assigned for “item name” designation or “interpretation designation” and a background pattern.

1型、4型派生条件の「派生条件指定語候補」の場合には、システムは、該当する項目名を(青)の定義支援記入情報により、表外の該当「派生条件指定語候補」の記入個所の近傍の適当位置に追記した上、両者を結合線により結ぶ。該当「派生条件指定語候補」の隣接位置に記入スペースがあれば、そこに記入してもよい。記入する項目名についても、「定義要素/記入情報対照表」において、「項目名」指定用に割り当てた記号、背景パターンなどの図形的特徴づけを加えて表示する。   In the case of “derivative condition designation word candidate” of type 1 and type 4 derivation conditions, the system uses the definition support entry information of (blue) for the corresponding item name and the corresponding “derivative condition designation word candidate” outside the table. Add a note at an appropriate position near the entry and connect the two with a connecting line. If there is a space for entry in the position adjacent to the corresponding “derivative condition designation word candidate”, it may be entered there. The item name to be entered is also displayed in the “definition element / entry information comparison table” with a graphic characterization such as a symbol and background pattern assigned for designating the “item name”.

「派生条件指定語候補」とこの追記項目名とを結ぶ結合線は、。「派生条件指定語候補」の文字列と追記項目名文字列の両者について、それを外接する矩形を求め、この2つの外接矩形を構成する辺の中で互いに向き合う辺を求め、両者の辺を結ぶ線分を表わす線分データを生成すればよい。 ユーザの確認を表わす特定指示操作を受け、以上の推定結果は確定され、対応する定義データを得られることになる。 The connecting line connecting the “derivative condition designation word candidate” and this additional item name is: For both the character string of “derivative condition designation word candidate” and the postscript item name character string, a rectangle circumscribing it is obtained, the sides that face each other among the sides constituting these two circumscribed rectangles, and both sides are obtained. What is necessary is just to produce | generate the line segment data showing the line segment to connect. Upon receiving a specific instruction operation indicating user confirmation, the above estimation result is confirmed and corresponding definition data can be obtained.

次に、以上のように、定義付けをおこなった集計表上に、実際にデータを出力集計する例について説明する。一般に、データファイルには、そのデータ格納単位であるレコードについて、そのデータ構成を定義する「レコード定義データ」付属させ、各データ項目名毎に「集計区分」、データ格納エリア長等の属性を定義している。   Next, an example in which data is actually output and totalized on the tabulation table that has been defined as described above will be described. In general, a data file is attached with “record definition data” that defines the data structure of the record that is the data storage unit, and attributes such as “summarization category” and data storage area length are defined for each data item name. is doing.

この例では、データ出力元のデータファイルとして、たとえば、図37に示すレコード定義データを持つデータファイルを取り上げる。データファイルを構成する単位であるレコードは、図37に示すように、項目名を“支店名”、“商品区分”、“商品コード”“売上数”、“売上額”、“単価”、“利益”…とする区分フィールドに別れ、各々、該当のデータを格納している。データ出力元データファイルを構成する項目名の集合は、必ず、出力先表フォーマット上に定義されている項目定義の項目名をその中に含んでいなければならないものとする。   In this example, for example, a data file having record definition data shown in FIG. As shown in FIG. 37, the record which is a unit constituting the data file includes item names “branch name”, “product category”, “product code” “number of sales”, “sales amount”, “unit price”, “ The data is divided into division fields “profit”, and the corresponding data is stored. The set of item names constituting the data output source data file must always include the item names of the item definitions defined in the output destination table format.

実施例装置では、データ出力処理は、「データ出力モード」においておこなわれる。ディスプレイ画面20a上の「モード」ボタンをクリックしてモード一覧メニューの中から「データ出力」を選択するとシステムが「データ出力」モードに切り替わり、ディスプレイ画面20a上に図38に示すような「出力元ファイル一覧」の画面が表示される。ユーザは表示された複数のデータファイルの中から所望の出力元である「1.売上ファイル」を選択し、「出力実行」ボタンをクリックすればよい。   In the embodiment apparatus, the data output process is performed in the “data output mode”. When the “mode” button on the display screen 20a is clicked and “data output” is selected from the mode list menu, the system switches to the “data output” mode, and the “output source” as shown in FIG. 38 is displayed on the display screen 20a. The “File List” screen appears. The user may select “1. Sales file” as a desired output source from the displayed data files and click the “Execute output” button.

本実施例のシステムにおいて、「データ出力処理」を担当するデータ出力部は、所定の変換または処理プログラムを実行するCPU24と上記プログラムと関連データを格納する内部メモリ16または外部メモリ18によって構成される。   In the system of this embodiment, the data output unit in charge of “data output processing” is constituted by a CPU 24 that executes a predetermined conversion or processing program, and an internal memory 16 or an external memory 18 that stores the program and related data. .

出力元のデータファイルが指定されると、画面上には、「項目名対応付け画面」(図示せず)が表示される。「項目名対応付け画面」上では、出力先集計表上で定義された項目名と出力元データファイルの定義項目名が2列に並べられて表示され、ユーザは画面上で、出力先と出力元とで対応する項目名を、たとえばマウスにより両者をつなぐ操作により対応付けすることができる。   When an output source data file is designated, an “item name association screen” (not shown) is displayed on the screen. On the “Item name mapping screen”, the item name defined on the output destination summary table and the definition item name of the output source data file are displayed in two columns, and the user can output the output destination and output on the screen. The corresponding item names can be associated with each other by, for example, an operation of connecting them with a mouse.

以上の項目名の対応付け操作を終えると、画面上の「終了」ボタンを指示すると、出力先と出力元の対応する項目名を並べた対の列である「項目名対応付けテーブル」がシステム内に作成され(図示せず)、「データ出力全体処理」が始まる。   When the above-mentioned item name association operation is completed, when the “end” button on the screen is designated, the “item name association table”, which is a pair of columns in which the corresponding item names of the output destination and the output source are arranged, is displayed in the system. (Not shown), and “data output overall processing” starts.

「データ出力全体処理」の手順を図39のフローに示す。まず、出力先である集計表上の合計欄以外のセルに、出力元ファイルのデータを出力集計する。(「データ出力処理」―ステップF1)但し、この「データ出力処理」(ステップF1)においては、派生データフィールド中へのデータ出力は、派生条件の中、関連データ差異条件のみを参照しておこなわれる。差異条件が演算条件のみからなる場合は(上記した派生条件の区分3型の場合)、派生データフィールド中へのデータ出力はおこなわれないことになる。   The procedure of “the entire data output process” is shown in the flow of FIG. First, the data of the output source file is output and totaled in cells other than the total column on the totaling table as the output destination. ("Data output processing" -step F1) However, in this "data output processing" (step F1), data output into the derived data field is performed with reference to only the related data difference conditions in the derived conditions. It is. When the difference condition consists only of the calculation condition (in the case of the category 3 type of the derivation condition described above), data output to the derivation data field is not performed.

次に集計表上において、出力記入された各セル内のデータを合計欄に集計する。(表内演算処理―ステップF2)続いて、派生データフィールドに「演算条件」が定義されている場合、派生セル内のデータと該当するベースセル内のデータの間で定義されている演算を実行し、派生セル内のデータをこの演算結果データで置き換える。(対応セル間演算処理―ステップF3)差異条件が演算条件を含まない場合は(上記した派生条件の区分1型、2型の場合)、この処理はおこなわれないことになる。最後に、集計表上に出力記入された全てのデータを該当する文字列データに変換する
。(文字列データ化処理―ステップF4)
Next, on the tabulation table, the data in each cell that has been output is tabulated in the total column. (In-table calculation process-Step F2) Subsequently, when “calculation condition” is defined in the derived data field, the calculation defined between the data in the derived cell and the data in the corresponding base cell is executed. Then, the data in the derived cell is replaced with the calculation result data. (Corresponding cell calculation process—step F3) If the difference condition does not include the calculation condition (in the case of the above-mentioned categorized type 1 and type 2 of the derivation condition), this process is not performed. Finally, all the data output and entered on the summary table is converted into the corresponding character string data. (Character string data conversion process-Step F4)

「データ出力処理」(ステップF1)は、出力先集計表上と出力元データファイルとから1つづつレコードを取り出し、たがいに突き合わせ照合することを繰り返す形でおこなわれる。なお、本実施例システムでは、このようにデータ間の突き合わせ照合をおこなうため、本実施例システム使用の前提として、データの表記は、出力先集計表上と出力元データファイルとにおいて統一されているものとする。   The “data output process” (step F1) is performed in such a manner that one record is taken out from the output destination tabulation table and the output source data file, and matching and matching are repeated. Since the system according to the present embodiment performs matching between data in this way, the notation of data is unified in the output destination summary table and the output source data file as a premise for using the system of the present embodiment. Shall.

一般に、同時に参照されるデータ、または、データ記入域セルの組み合わせである「レコード」は、「派生データフィールド」を持たない通常の表フォーマット上においては、次のように識別することができる。先ず、表フォーマット上において、各項目定義データフィールドを構成するデータ、または、データ記入域セルの中から、同一行上にあり、かつ、対応項目名を異にするデータ、または、データ記入域セルの集合を、「レコード」の母体として識別する。   In general, “record” which is a combination of data referred to at the same time or data entry area cell can be identified as follows on a normal table format having no “derived data field”. First, in the table format, the data constituting each item definition data field or the data entry area cell which is on the same line and has a different corresponding item name from the data entry area cell Is identified as the parent of the “record”.

次に、この識別した「レコード」の母体を構成する各データ、または、各データ記入域セルについて、それを含む、直角方向の列上をサーチする。サーチした列上に「レコード」母体を構成する各項目名とは異なる、新しい項目名のデータフィールドに属するデータ、または、データ記入域セルがあれば、これを「レコード」母体に加え、「レコード」を得ることができる。また、仮に、表の外部に共通条件として、設定されている「項目定義」があれば、そのデータも「レコード」に加える。   Next, for each data or each data entry area cell constituting the matrix of the identified “record”, a search is performed on a column in a perpendicular direction including the data. If there is data belonging to the data field of a new item name or a data entry area cell that is different from each item name constituting the “record” matrix on the searched column, this is added to the “record” matrix, and “record” Can be obtained. Also, if there is an “item definition” set as a common condition outside the table, that data is also added to the “record”.

本例のように、「派生データフィールド」を持つ表フォーマットにおいては、「レコード」は、次のように識別することができる。「ベースセル」とその対応する「派生セル」は、同じ「対応項目名」を持つことから、この両者については、互いに別の「レコード」が形成されることになる。
先ず、「ベースセル」となっているセルを含む「レコード」(以降、「ベースレコード」と呼ぶ)は、表フォーマット上で「派生データフィールド」を除外した形で、上記した通常の表フォーマットと同様にして識別することができる。
As in this example, in the table format having “derived data field”, “record” can be identified as follows. Since the “base cell” and the corresponding “derived cell” have the same “corresponding item name”, different “records” are formed for both.
First, a “record” (hereinafter referred to as a “base record”) including a cell that is a “base cell” is the same as the normal table format described above, except for the “derived data field” on the table format. They can be identified in the same way.

「派生セル」となっているセルを含むレコード(以降、「派生レコード」と呼ぶ)は、対応する「ベースセル」を含む「ベースレコード」をもとに、その中の「ベースセル」を対応する「派生セル」となっているセルに置き換えた上、該当「ベースレコード」中の他の特定部分に対して、「派生条件定義データ」中の「関連データ差異条件」が指示する変更をおこなうことによって得ることができる。   A record that includes a cell that is a “derived cell” (hereinafter referred to as a “derived cell”) corresponds to the “base cell” in the “base record” that includes the corresponding “base cell”. Replace the cell with the “derived cell” to be changed, and change the other specific part in the “base record” indicated by the “related data difference condition” in the “derivative condition definition data”. Can be obtained.

図9に示した表フォーマットの場合、たとえば、表の上側から第4行目、左側から第2列目の「ベースセル」を含む「ベースレコード」として、
項目名「売上げ」について データ“null”
項目名「商品」について”データが“ラジオ”、
項目名「年度」について”データが“2001年”
という「レコード」が得られる。
In the case of the table format shown in FIG. 9, for example, as “base record” including “base cell” in the fourth row from the upper side of the table and the second column from the left side,
About item name “Sales” Data “null”
For the item name "Product", the data is "Radio"
About the item name "FY""Datais" 2001 "
"Record" is obtained.

上記ベースセル(表の上側から第4行目、左側から第2列目のセル)の右に隣接する、対応する派生セルを含む「派生レコード」は、派生条件の中の「関連データ差異条件」を参照して、応用用語辞書52の登録語「前年」の指示により、項目名「年度」のデータとして、「ベースレコード」の該当データ“2001年“をその「前年」である“2000年”に入れ替えることによって得られる。すなわち、
項目名“売上”についてデータ“null”、
項目名“商品”について”データが“ラジオ”、
項目名“年度”について”データが“2000年”
という「レコード」が得られることになる。
“Derived record” including the corresponding derived cell adjacent to the right of the base cell (the fourth row from the top of the table, the second column from the left) is the “related data difference condition” in the derived condition. In response to the instruction of the registered word “previous year” in the application term dictionary 52, the data “2001” corresponding to “base record” is used as the data for the item name “year” as “2000”. It is obtained by replacing “ That is,
For the item name “sales”, data “null”,
For the item name “product”, the data is “radio”,
For the item name “FY”, the data is “2000”
"Record" is obtained.

「派生データフィールド」が設定された表上への「データ出力処理」の手順を図40に示す。「データ出力処理」処理の手順は、派生条件の関連データ差異条件が含まれるか、否かによって、処理が分かれる。「データ出力処理」に入ると、最初に、「派生条件定義データ」の「形式区分」部を参照して(ステップM1)、派生条件が関連データ差異条件を含む場合、すなわち、派生条件の形式区分が3型以外の場合には、「データ出力処理−1」(ステップM2)をおこない、派生条件が関連データ差異条件を含まない場合、すなわち、派生条件の形式区分が3型の場合、「データ出力処理−2」(ステップM3)をおこなう。
本例の場合、派生条件の形式区分は5型であることから、「データ出力処理−1」がおこなわれることになる。
FIG. 40 shows the procedure of “data output processing” on the table in which “derived data field” is set. The procedure of the “data output process” process is divided depending on whether or not the related data difference condition of the derivation condition is included. When “data output processing” is entered, first, referring to the “format classification” part of “derivative condition definition data” (step M1), when the derived condition includes a related data difference condition, that is, the format of the derived condition If the category is other than type 3, “data output process-1” (step M2) is performed, and if the derived condition does not include the related data difference condition, that is, if the type category of the derived condition is type 3, Data output process-2 "(step M3) is performed.
In the case of this example, since the format classification of the derivation condition is type 5, “data output processing-1” is performed.

「データ出力処理−1」の手順においては、「ベースレコード」の取出し位置を初期化した後、先ず、出力先の表から「ベースレコード」を順に、1つずつ取り出し、その上に出力元データファイルの全てのレコードデータを出力集計させる。   In the procedure of “data output process-1”, after the “base record” take-out position is initialized, first, “base records” are taken out one by one from the output destination table, and the output source data is placed thereon. Output and aggregate all record data in the file.

次に、今、取出している「ベースレコード」をもとに、派生条件定義データの中の「関連データ差異条件」が指定する変更を加えて「派生レコード」を作成し、この「派生レコード」上に、出力元の全てのレコードデータを出力集計させる。以上の手順を、表フォーマット上から取出される全ての「ベースレコード」について繰り返す。   Next, based on the “base record” that is being taken out, create the “derived record” by making the changes specified by the “related data difference condition” in the derived condition definition data. Above, output all the record data of the output source. The above procedure is repeated for all “base records” extracted from the table format.

表フォーマット上から「ベースレコード」を取り出す範囲は、たとえば、次のようにして求めることができる。表内において、行を上側から順にとり出し、2つ以上の項目定義データフィールドが設定されている行が見出せれば、さらに、次の行をとり出し、両方の行の同じ列に属するセルが、同じ項目定義データフィールドに属していることを確認する。この確認が得られれば、この行を「ベースレコード」の「取り出しスタート行」として判定する。   The range for extracting the “base record” from the table format can be obtained as follows, for example. In the table, if rows are extracted in order from the top and a row in which two or more item definition data fields are set is found, the next row is extracted and cells belonging to the same column in both rows are extracted. Confirm that they belong to the same item definition data field. If this confirmation is obtained, this line is determined as the “takeout start line” of the “base record”.

続いて、行を下側に向かって順に取り出し、上下に隣接する行の間で、同じ列に属するセルが、同じ項目定義データフィールドに属していることを判定することを繰り返していく。こうして、同じ列に属するセルが、同じ項目の項目定義データフィールドに属する行の集合を識別し、これを、「ベースレコード取り出し範囲行」として判定する。   Subsequently, the rows are sequentially extracted downward, and it is repeated that it is determined that cells belonging to the same column belong to the same item definition data field between vertically adjacent rows. Thus, the cells belonging to the same column identify the set of rows belonging to the item definition data field of the same item, and this is determined as the “base record extraction range row”.

本例の項目名「売上げ」のデータフィールドのように、1行上に同じ項目名のセルが繰り返されているときは、その繰り返されるセル集合の中から、左側のセルから順次とり出し、とり出したセルを含む「べースレコード」を識別することを繰り返していけばよい。すなわち、取出したセルについて、直角方向の列上をサーチをおこない、新しい項目名「年度」のセルを追加して、「ベースレコード」を得ることを繰り返していく。   When cells with the same item name are repeated on one line, as in the data field for the item name “Sales” in this example, the cells are extracted from the left cell sequentially from the repeated cell set. It is sufficient to repeat the identification of the “base record” that includes the issued cell. That is, for the extracted cell, a search is performed on the columns in the right-angle direction, a cell with a new item name “year” is added, and “base record” is repeatedly obtained.

本例の場合、先ず、表の第2行上において、項目名が「商品」のセル(第1列上)と項目名が「売上げ」のセル集合中の第2列上のセルとからなる「ベースレコード」の母体を得た上、上記したようにして所要の「レコード」を得ることになる。   In the case of this example, first, on the second row of the table, a cell having the item name “product” (on the first column) and a cell on the second column in the cell set having the item name “sales” are formed. After obtaining the base of the “base record”, the required “record” is obtained as described above.

なお、1つの行上において、上記した同じ項目名のセルが繰り返されるセル集合の中において、今、「レコード」中に取り出しているセルの位置(順番)を本明細書においては、「行内繰り返しセル位置」と呼ぶことにする。
「取り出しスタート行」以降の行についても、以上の手順くりかえし、表フォーマット上の全ての「ベースレコード」を取り出していくことができる。なお、出力元データファイルからのレコード取り出しの順序も、たとえば、ファイル格納の順のように、処理の便宜により決めてよい。
In addition, in this specification, the position (order) of the cell taken out in the “record” in the cell set in which the cells having the same item name are repeated on one row is referred to as “in-row repetition”. It will be called "cell position".
By repeating the above procedure for all the lines after the “retrieval start line”, all “base records” on the table format can be extracted. Note that the order of retrieving records from the output source data file may also be determined for convenience of processing, such as the order of file storage.

「データ出力処理−1」の詳細を、図41に示す手順にしたがって説明する。「データ出力処理」に入ると、先ず、「初期処理」(ステップG1)において、データ出力先とデータ出力元から取出したレコードをセットし、相互の照合をおこなう集計管理テーブルを作成する。集計管理テーブルの形式を図42に示す。   Details of the “data output process-1” will be described according to the procedure shown in FIG. When “data output processing” is entered, first, in “initial processing” (step G1), records extracted from the data output destination and the data output source are set, and a tabulation management table for performing mutual collation is created. The format of the tabulation management table is shown in FIG.

集計管理テーブル上の第1行の各欄には、項目名が記入される。出力先集計表上に項目定義データフィールドの対応項目名として定義された項目名を記入する。記入の順序は順不同でよい。本例の場合、項目名“売上げ”、“商品名”、“年度”が記入セットされる。   An item name is entered in each column of the first row on the tabulation management table. Enter the item name defined as the corresponding item name of the item definition data field on the output destination summary table. The order of entry may be random. In this example, the item name “sales”, “product name”, and “year” are entered and set.

集計管理テーブル上の第2行には、項目名の「集計区分」を記入する。各項目名の対応する欄に、前記したデータ出力元データファイルに付属している「レコード定義データ」から読み取った区分値をセットする。さらに、各項目名に該当するフィールド定義データを取出し、その「集計区分」が「年月日項目」の場合は、集計管理テーブル上の該当欄のセット値を該当コード”3”によって更新する。
なお、データ出力先表フォーマット上において、全ての項目名の「集計区分」が定義されている場合には、該当フィールド定義データ中の該当「集計区分」データを参照してセットしてもよい。
In the second row on the tabulation management table, the item name “tabulation classification” is entered. The section value read from the “record definition data” attached to the data output source data file is set in the column corresponding to each item name. Further, the field definition data corresponding to each item name is taken out, and when the “aggregation category” is “year / month / day item”, the set value of the corresponding column on the aggregation management table is updated with the corresponding code “3”.
In addition, when “summary classification” of all item names is defined on the data output destination table format, it may be set by referring to the corresponding “aggregation classification” data in the corresponding field definition data.

本例の場合、項目名“売上げ”に対応する欄(項目名“売上げ”を記入された欄と同一列の欄)には、「集計数値」であることを示すコード“1”が記入される。項目名“商品”に対応する欄には、「非集計の非数値項目」であることを示すコード“0”が記入される。また、項目名“年度”に対応する欄には、項目名が応用用語辞書52中の「年月日項目名」区分の登録用語としてコード“3”が記入されることになる。   In the case of this example, the column corresponding to the item name “sales” (the column in the same column as the column in which the item name “sales” is entered) is filled with a code “1” indicating “aggregate numerical value”. The In the column corresponding to the item name “product”, a code “0” indicating “non-aggregated non-numeric item” is entered. In the column corresponding to the item name “year”, a code “3” is entered as a registered term of the “year / month / day item name” classification in the applied term dictionary 52.

続いて、各項目定義データの「キー区分」を参照して、「非キー項目」である場合、集計管理テーブル第2行上にセットするコードデータに「非キー項目」であることを示す特定のフラグデータを付ける。本例の場合、項目名“売上げ”についてセットしたコードデータに「非キー項目」であることを示す特定のフラグデータを付けることになる。   Subsequently, referring to the “key classification” of each item definition data, if it is “non-key item”, the code data set on the second row of the aggregation management table indicates “non-key item” Add the flag data. In this example, specific flag data indicating “non-key item” is added to the code data set for the item name “sales”.

集計管理テーブル上の第3行には、出力先集計表から取出される「レコード」を構成する各セルのセルデータアドレスが、セットされる。出力先がデータファイルである場合には、データファイルのレコード内アドレスを記入してもよい。   In the third row on the tabulation management table, the cell data address of each cell constituting the “record” extracted from the output destination tabulation table is set. When the output destination is a data file, the address in the record of the data file may be entered.

集計管理テーブル第4行上には、出力先集計表の各セル内の記入データとして、該当セルデータ内の「セル内データ格納部」に格納されているデータがセットされる。項目が「数値」区分(「集計数値」、または、「非集計数値」)の欄には、該当の数値データが記入され、項目が「非数値項目」の欄には、該当のテキストデータがセットされる。セットされるデータの先頭には、数値データとテキストデータの区別フラグが付加される。     On the fourth row of the aggregation management table, data stored in the “in-cell data storage unit” in the corresponding cell data is set as entry data in each cell of the output destination aggregation table. The corresponding numeric data is entered in the column for the item “Numeric” (“Aggregated numeric value” or “Non-aggregated numeric value”), and the corresponding text data is entered in the “Non-numeric item” column. Set. A distinction flag between numerical data and text data is added to the head of the data to be set.

なお、項目名が「年度」等のように、応用用語辞書52中において「年月日項目」区分として登録されている場合(第2行の「集計区分」欄には、コード“3”がセット)には、該当のデータをデータ比較照合用の標準表現形式に変換する。例えば、項目名が「年度」の場合、この標準表現形式として、たとえば、「西暦表記」、「算用数字4桁」、「後置語なし」とすると、取出したデータ名文字列から”年”などの後置語部分を取り除き、残る数字文字列からなるテキストデータとしてセットする。   In addition, when the item name is registered as the “year / month / day item” category in the applied term dictionary 52 such as “year”, the code “3” is displayed in the “aggregation category” column of the second row. Set), the corresponding data is converted into a standard expression format for data comparison and collation. For example, if the item name is “Year”, and the standard expression format is, for example, “Western calendar notation”, “4 digits for arithmetic”, “No postfix”, “Year” from the extracted data name character string The postfix part such as “is removed and set as text data consisting of the remaining numeric character string.

この標準表現形式への変換は、該当の項目名「年度」について、すでに作成されている「年度書式データ」を参照することによっておこなうことができる。
また、仮に、表から取出したデータが、例えば、”01”、”02”のように西暦2桁表記である場合は、”20”という上2桁の数字を付加する。付加する上2桁の数字は、例えば、付加される下2桁の先頭数字が”0”であれば、”20”を付加し、付加される下2桁の先頭数字が”9”であれば、”19”を付加するというように、下2桁の先頭数字に適当な閾値を設けて決めることができる。
また、該当のデータ名文字列が元号表記されている場合、予め用意した元号表記と西暦表記とを対応付けるテーブルを用いて、対応する西暦表記に変換すればよい。
The conversion to the standard expression format can be performed by referring to the “year format data” already created for the corresponding item name “year”.
Also, if the data extracted from the table is, for example, a two-digit year notation such as “01” or “02”, an upper two-digit number “20” is added. For example, if the first two digits added are “0”, “20” is added, and the last two digits added is “9”. For example, “19” is added, and an appropriate threshold value can be set for the first two digits.
In addition, when the corresponding data name character string is expressed in the era name, it may be converted into the corresponding era name using a table that associates the era name and the year notation prepared in advance.

集計管理テーブル上の第5行には、出力元が表である場合、それを構成する各セルのセルデータアドレスがセットされる。本例のように、出力元表がデータファイルである場合には、データファイルのレコード内アドレスを記入してもよい。「項目名対応付けテーブル」を参照し、出力先の対応する項目名がセットされている同じ列にセットする。   In the fifth row on the tabulation management table, when the output source is a table, the cell data address of each cell constituting the output source is set. When the output source table is a data file as in this example, the address in the record of the data file may be entered. Refer to “Item name association table” and set in the same column where the corresponding item name of the output destination is set.

集計管理テーブル上の第6行には、出力元表を構成する各セル内の記入データ、あるいは、出力元データファイルから取り出されるレコード内の各データがセットされる。第4行と同じく、同欄の先頭には数値データとテキストデータの区別フラグが付加された上、セットされる。第5行の場合と同じく、「項目名対応付けテーブル」を参照し、出力先の対応する項目名がセットされている同じ列にセットする。   In the sixth row on the tabulation management table, entry data in each cell constituting the output source table or each data in the record taken out from the output source data file is set. As with the fourth line, a numerical data and text data distinction flag is added to the top of the same column and set. As in the case of the fifth row, the “item name association table” is referred to and set in the same column where the corresponding item name of the output destination is set.

また、集計管理テーブル上の第7行には、取出したレコード構成セルの所属項目定義データフィールドの該当フィールド定義データアドレスが該当欄にセットされる。集計管理テーブル上の第8行には、取出したレコード構成セルについて、「ベースセル」となっているセルか、否かを示す「ベースセルフラグデータ」がセットされる。   In the seventh row on the tabulation management table, the corresponding field definition data address of the belonging item definition data field of the extracted record constituent cell is set in the corresponding column. In the eighth row on the tabulation management table, “base cell flag data” indicating whether or not the extracted record constituent cell is a “base cell” is set.

集計管理テーブルは、実際には、たとえば、以下のように実装することができる。集計管理テーブル上の各記入欄ごとに、リストデータ(図示せず)を設け、各リストデータは、各記入欄に記入されたデータを格納するとともに、行方向ポインタデータ、列方向ポインタデータを持ち、行方向、または列方向に隣接する各データ記入欄のデータを、順次、辿れるようになっている。
また、集計管理テーブルには、「主副フラグ」を設け、そこにベースレコードがセットされている場合は、“0にセットされ、派生レコードがセットされている場合は、“1をセットし、その使用状態が判別できるようにしておいてもよい。
In practice, the tabulation management table can be implemented as follows, for example. List data (not shown) is provided for each entry field on the tabulation management table. Each list data stores the data entered in each entry field, and has row direction pointer data and column direction pointer data. The data in each data entry column adjacent in the row direction or the column direction can be traced sequentially.
In addition, a “main / sub flag” is provided in the tabulation management table, and “0” is set when the base record is set there, and “1” is set when the derived record is set, The usage state may be determined.

「初期処理」(ステップG1)においては、集計管理テーブルを作成し、その第1行上と第2行上に以上のように該当のデータをセットし終えると、続いて、表フォーマット上の項目定義データフィールドに含まれる全てのセルについて、その中に記入されているデータ文字列を識別し、その文字列データアドレスを、該当セルデータ内の「文字列データアドレス部」にセットする。また、その文字列データを適当な形式のデータに変換して該当セルデータ内の「セル内データ格納部」に格納する。   In “Initial processing” (step G1), the tabulation management table is created, and when the corresponding data is set on the first and second rows as described above, the items on the table format are subsequently displayed. For all the cells included in the definition data field, the data character string entered therein is identified, and the character string data address is set in the “character string data address portion” in the corresponding cell data. Further, the character string data is converted into data of an appropriate format and stored in the “in-cell data storage unit” in the corresponding cell data.

セル内に記入されている文字列の識別は、公知の方法として、該当のセルの位置情報と書面上の各文字列データの位置情報との照合を繰り返すことによっておこなうことができる。
セル内に記入されていることが識別された文字列の各文字列データから、先ず、該当のテキストコード列を識別することができる。該当のセルが、項目名が「数値区分」(集計数値と非集計数値とを含む)の項目定義データフィールドに所属する場合は、さらに、該当のテキストコード列(数字コード列)を公知の方法により数値データに変換した上、該当セルデータの「セル内データ格納部」に格納する。それ以外のセルの場合は、該当のテキストコード列データをそのまま格納する。
As a known method, the character string written in the cell can be identified by repeatedly collating the position information of the corresponding cell with the position information of each character string data on the document.
First, the corresponding text code string can be identified from each character string data of the character string identified to be entered in the cell. When the corresponding cell belongs to the item definition data field whose item name is “numeric classification” (including aggregated numeric values and non-aggregated numeric values), the corresponding text code string (numeric code string) is further publicly known. Is converted into numerical data by the above and stored in the “in-cell data storage unit” of the corresponding cell data. For other cells, the corresponding text code string data is stored as it is.

また、項目名が「集計項目」(「集計数値」)の項目定義データフィールドに所属し、データが初めから記入されていないセルについては、集計のスタート値として、該当セルデータの「セル内データ格納部」には、数値“0”をセットする。   In addition, for cells that belong to the item definition data field whose item name is “Aggregation Item” (“Aggregation Numerical Value”), and for which data has not been entered from the beginning, the “In-cell data” of the corresponding cell data is used as the aggregation start value. A numerical value “0” is set in the “storage section”.

以上の「初期処理」(ステップG1)を終えると、出力先の表から、「ベースレコード」の「取出し位置」を「スタート位置」にセットする。(ステップG2)
「ベースレコード」の「取出し位置」を表わすパラメータとしては、例えば、「レコード」を取り出す行位置と前記した「行内繰り返しセル位置」との対によって表わすことができる。
When the above "initial processing" (step G1) is completed, the "extraction position" of the "base record" is set to the "start position" from the output destination table. (Step G2)
The parameter representing the “takeout position” of the “base record” can be represented by, for example, a pair of the row position from which the “record” is taken out and the above “in-row repeated cell position”.

続いて、表フォーマット上において、「ベースレコード」を先頭の「ベースレコード」から順次とり出し、それを構成する各セルのセルデータアドレスを、各々、集計管理テーブルの第3行上の該当欄にセットする。続いて、とり出した「レコード」を構成する各セルの該当セルデータ内の「セル内データ格納部」に格納されているデータを、各々、集計管理テーブルの第4行上の該当する欄にセットする。(ステップG3)   Subsequently, in the table format, “base record” is sequentially extracted from the first “base record”, and the cell data address of each cell constituting it is displayed in the corresponding column on the third row of the tabulation management table. set. Subsequently, the data stored in the “in-cell data storage unit” in the corresponding cell data of each cell constituting the extracted “record” is respectively stored in the corresponding column on the fourth row of the tabulation management table. set. (Step G3)

なお、このステップG3においては、後続する処理の便のため、「ベースレコード」を構成する各セルを識別していく過程で取出した、その所属項目定義データフィールドの該当フィールド定義データアドレスを第7行上の該当欄にセットしておく。また、「ベースセル」となっているセルについては、それを示す「ベースセルフラグデータ」を第8行上の該当欄にセットしておく。   In this step G3, for convenience of subsequent processing, the corresponding field definition data address of the belonging item definition data field taken out in the process of identifying each cell constituting the “base record” is stored in the seventh field. Set it in the appropriate column on the line. In addition, for a cell that is “base cell”, “base cell flag data” indicating it is set in the corresponding column on the eighth row.

次に、この出力先集計表フォーマットから取り出し、集計管理テーブル上にセットした「ベースレコード」に対して、出力元データファイルの全てのデータを出力集計する。(ステップG4)以下、この手順を図43に沿って説明する。   Next, all the data in the output source data file is output and totaled for the “base record” taken out from the output destination tabulation table format and set on the tabulation management table. (Step G4) Hereinafter, this procedure will be described with reference to FIG.

出力元データファイルからのレコード取出し位置をスタート位置にセットし(ステップH1)、出力元データファイルからレコードを1つづつ、順に取り出して、その各区分フィールドのレコード内アドレスを集計管理テーブル上第5行上にセットする。続いて、このセットされたレコード内アドレスによって、該当のデータを読み出し、集計管理テーブル上第6行上の該当欄にセットする。(ステップH2)
取り出されたファイルレコードの各データは、その先頭に「テキストデータ」であるか「数値データ」であるかを示す「数値/テキスト区別フラグ」が付けられた上、第6行上の各欄にセットされる。
The record extraction position from the output source data file is set to the start position (step H1), the records are sequentially extracted one by one from the output source data file, and the addresses in the records of the respective classification fields are stored in the fifth table in the tabulation management table. Set on line. Subsequently, the corresponding data is read out by the set in-record address, and set in the corresponding column on the sixth row in the total management table. (Step H2)
Each piece of data in the retrieved file record is prefixed with a “numeric / text distinction flag” indicating whether it is “text data” or “numeric data”, and in each column on the sixth line. Set.

出力元データファイルからのレコード取り出しの順序は、たとえば、ファイル格納の順のように、処理の便宜により決めてよい。出力元データファイルから取り出したレコードの各構成データは、項目名対応付けデータ(出力全体処理の最初に作成)を参照し、出力先集計表上の対応する項目名と同じ列上の記入欄にセットする。
なお、項目名の「集計区分」が「年月日」区分である場合、該当のデータをデータ比較照合用の標準表現形式に変換した上、セットする。
The order of retrieving records from the output source data file may be determined for convenience of processing, for example, the order of file storage. For each record data extracted from the output source data file, refer to the item name association data (created at the beginning of the entire output process), and enter it in the entry column on the same column as the corresponding item name on the output destination summary table. set.
When the “total category” of the item name is the “year / month / day” category, the corresponding data is converted into a standard expression format for data comparison and collation and set.

次に、集計管理テーブル上において同じ項目名の出力先データと出力元データ間の比較照合をおこなう。(ステップH3)このデータ間の照合は、「非キー項目」の項目および、集計管理テーブル第4行上の該当欄にデータがセットされていない項目については、おこなわない。「非キー項目」の項目は、集計管理テーブル第2行上において、上記した「非キー項目」を示すフラグが付せられたデータとして識別される。
このデータ間の比較照合は、集計管理テーブル上の第6行上のデータを第4行上のデータとを各々、該当の列上において比較することによっておこなうことになる。
Next, the comparison management is performed between the output destination data and the output source data having the same item name on the tabulation management table. (Step H3) The collation between the data is not performed for the item of “non-key item” and the item for which data is not set in the corresponding column on the fourth row of the tabulation management table. The item “non-key item” is identified as data to which the above-described flag indicating “non-key item” is attached on the second row of the aggregation management table.
The comparison between the data is performed by comparing the data on the sixth row on the tabulation management table with the data on the fourth row on the corresponding column.

以上の比較照合において、比較した全ての項目について、出力先データと出力元データが同じであれば、次の加算処理をおこなう。すなわち、「集計区分」が「集計数値」の項目の出力元データを、出力先レコードのデータに加算する。また、仮に、「非集計項目」の項目であって、出力先側に、初めにデータがセットされていない場合は、出力元データ(集計管理テーブル第6行上)を出力先レコードの該当欄(集計管理テーブル第4行上)に転記する(ステップH4)   In the above comparison and collation, if the output destination data and the output source data are the same for all the compared items, the following addition processing is performed. That is, the output source data whose item is “total number” is added to the data of the output destination record. Also, if it is an item of “non-aggregation item” and data is not initially set on the output destination side, the output source data (upper row on the aggregation management table) is displayed in the corresponding column of the output destination record. Post to (Aggregation management table 4th line) (Step H4)

本例の場合、項目名「売上げ」以外の項目名「商品」と「年度」のデータが同じであれば、項目名「売上げ」の出力元レコードのデータを、出力先レコードのデータに加算することになる。この加算は、集計管理テーブル上の該当の列上において、第6行上のデータを第4行上のデータに加算することによっておこなわれることになる。   In this example, if the data of the item name “product” and “year” other than the item name “sales” is the same, the data of the output source record of the item name “sales” is added to the data of the output destination record It will be. This addition is performed by adding the data on the sixth row to the data on the fourth row on the corresponding column in the tabulation management table.

出力先のデータと出力元のデータの間で、比較照合した項目のデータが1つでも同じでない場合は、この加算はおこなわず、出力元ファイルから次のレコードを取り出すステップに抜ける。(ステップH5)   If even one item of the comparison-matched data is not the same between the output destination data and the output source data, this addition is not performed, and the process returns to the step of extracting the next record from the output source file. (Step H5)

出力先表から取り出した1つの「ベースレコード」に対して、出力元データファイルの全てのレコードデータを集計し終えると、集計管理テーブル上の出力先レコード上に集計されているデータを、出力先表の該当セルの「セル内データ格納部」に転記する。(ステップG5)
すなわち、集計管理テーブル第4行上のデータを、第3行のセルデータアドレスからポイントされているセルデータの「セル内データ格納部」に転記する。この時、転記される各データは、上記した数値/テキスト区別フラグを付けたまま、「セル内データ格納部」に格納される。
When all the record data of the output source data file is aggregated for one “base record” extracted from the output destination table, the data aggregated on the output destination record in the aggregation management table is output to the output destination table. It is transferred to the “in-cell data storage” of the corresponding cell in the table. (Step G5)
That is, the data on the fourth row of the tabulation management table is transferred to the “in-cell data storage unit” of the cell data pointed from the cell data address of the third row. At this time, each piece of data to be transferred is stored in the “in-cell data storage unit” with the above-described numerical value / text distinction flag attached.

以上のように、出力先表から得られた1つの「ベースレコード」への集計転記を終えると、次に、集計管理テーブル上に現在、セットされている「ベースレコード」に基づいて、その一部のデータを更新変更する形で「派生レコード」を作成する。(ステップG6)   As described above, when the total posting to one “base record” obtained from the output destination table is finished, next, based on the “base record” currently set on the total management table, the one is recorded. "Derived record" is created in the form of updating and changing the data of the part. (Step G6)

ステップG6においては、先ず、集計管理テーブル上において、「ベースセル」となっているセルを対応する「派生セル」に置き換える。すなわち、集計管理テーブルの第3行上において、「ベースセル」となっているセルのセルデータアドレスを該当する「派生セル」のセルデータアドレスに置き換える。
また、該当の「派生セル」内の記入データ文字列を、上記した「ベースセル」内の記入データ文字列の場合と同じ要領で適当なデータ形式に変換した上、第4行の該当欄にセットする。
In step G6, first, the cell that is the “base cell” in the tabulation management table is replaced with the corresponding “derived cell”. That is, on the third row of the tabulation management table, the cell data address of the cell which is the “base cell” is replaced with the cell data address of the corresponding “derived cell”.
In addition, the entry data character string in the corresponding “derived cell” is converted into an appropriate data format in the same manner as the entry data character string in the “base cell” described above, and the corresponding data in the fourth row is displayed. set.

集計管理テーブル上において、置き換えるべき「ベースセル」がセットされている列位置は、上記したように集計管理テーブルの第8行上を見て、「ベースセルフラグ」データがセットされている列位置として見出すことができる。   In the tabulation management table, the column position where the “base cell” to be replaced is set is the column position where the “base cell flag” data is set by looking at the eighth row of the tabulation management table as described above. Can be found as

また、置き換えるべき「派生セル」は、以下のように見出すことができる。先ず、集計管理テーブル第7行上において、上記のように見い出した列位置にセットされているフィールド定義データアドレスから、該当する「ベースデータフィールド」のフィールド定義データを取り出し、その中にセットされている「派生データフィールドポインタ」から、該当する「派生データフィールド」の「フィールド定義データ」を取り出す。
次に、その「フィールド定義データ」からポイントされるセルデータチェインを順次たどり、今、集計管理テーブル上に取り出している「レコード」と表フォーマット上において同じ行位置にあるセルを識別すればよい。
The “derived cell” to be replaced can be found as follows. First, on the seventh row of the tabulation management table, the field definition data of the corresponding “base data field” is extracted from the field definition data address set at the column position found as described above, and set in the field definition data. The “field definition data” of the corresponding “derived data field” is extracted from the “derived data field pointer”.
Next, the cell data chain pointed to from the “field definition data” is sequentially traced, and the cell in the same row position on the table format as the “record” currently extracted on the tabulation management table may be identified.

ステップG6においては、以上のように、集計管理テーブル上において、「ベースセル」となっているセルを対応する「派生セル」に置き換えると、次に、該当の「派生条件定義データ」の指示内容に基づいて、「ベースレコード」の中の特定データを変更する。
ここで参照される「派生条件定義データ」は、該当する「派生データフィールド」の「フィールド定義データ」中の「派生条件定義データポインタ」によって取り出せばよい。前記したように、「派生レコード」は、派生条件が「演算条件」を含む場合であっても、今の段階では、その中の「関連データ差異条件」のみを参照して作成する。
In step G6, as described above, when the cell that is the “base cell” is replaced with the corresponding “derived cell” in the tabulation management table, the instruction content of the corresponding “derived condition definition data” is then displayed. Based on the above, the specific data in the “base record” is changed.
The “derived condition definition data” referred to here may be extracted by the “derived condition definition data pointer” in the “field definition data” of the corresponding “derived data field”. As described above, even if the derivation condition includes the “calculation condition”, the “derivative record” is created with reference to only the “related data difference condition” in the present stage.

この「派生条件定義データ」の指示内容に基づく「ベースレコード」のデータ変更は、図44に示す手順によっておこなわれる。先ず、「ベースレコード」内の変更対象のデータを識別する。(ステップJ1)
この「ベースレコード」内の変更対象データは、「派生条件定義データ」の「基本部」内の「項目名テキスト」部を参照し、「ベースレコード」上のそれと同じ項目名のデータとして識別することができる。「ベースレコード」は、現在、集計管理テーブルの第4行上にセットされており、変更対象のデータは、その中の該当の項目名に対応する列上のデータである。
本例の場合、「派生条件定義データ」内の「項目名テキスト」部に登録されている項目名「年度」の対応データである数字文字列データが識別されることになる。
The data change of the “base record” based on the instruction content of the “derivative condition definition data” is performed according to the procedure shown in FIG. First, the data to be changed in the “base record” is identified. (Step J1)
The data to be changed in this “base record” is identified as data with the same item name as that on the “base record” by referring to the “item name text” part in the “basic part” of the “derivative condition definition data” be able to. The “base record” is currently set on the fourth row of the tabulation management table, and the data to be changed is data on a column corresponding to the corresponding item name therein.
In the case of this example, numeric character string data corresponding to the item name “year” registered in the “item name text” portion in the “derivative condition definition data” is identified.

次に、「派生条件」の中の「関連データ差異条件」が「間接指定」であることを判定する(ステップJ2)。「派生条件定義データ」の「形式区分」部に、2型、または、5型を表わす該当コードがセットされていることを判定すればよい。
本例のように、「関連データ差異条件」が「間接指定」と判定される場合は、「関連データ差異条件」の内容を定めている「関連データ差異条件登録語」の意味にしたがって、「ベースレコード」の該当データに対して所定の変更をおこなう。(ステップJ3)
Next, it is determined that the “related data difference condition” in the “derivative condition” is “indirect designation” (step J2). What is necessary is just to determine that the corresponding code representing type 2 or type 5 is set in the “type classification” portion of “derivative condition definition data”.
When the “related data difference condition” is determined as “indirect designation” as in this example, according to the meaning of the “related data difference condition registration word” that defines the content of the “related data difference condition”, A predetermined change is made to the corresponding data of the “base record”. (Step J3)

このステップJ3の処理内容は、「関連データ差異条件登録語」である、応用用語辞書52中の「相対指定」区分の登録語毎に、各々、定められている。例えば、本例のように、「関連データ差異条件登録語」が「前年」である場合、ユーザがそれを通常理解する意味にしたがって、「ベースレコード」の該当するデータに対して、その「前年」である年度を表わすデータを求める処理になる。   The processing content of this step J3 is determined for each registered word in the “relative designation” category in the applied term dictionary 52, which is a “related data difference condition registered word”. For example, as in this example, if the “related data difference condition registration word” is “previous year”, the “previous year” is applied to the corresponding data of the “base record” according to the meaning that the user normally understands. Is a process for obtaining data representing the year.

この「ベースレコード」の該当データに対して所定の変更をおこなうステップJ3は、「関連データ差異条件登録語」が「前年」である場合、一般形として、図45に示す処理になる。
この手順を、本例に即して説明すると、先ず、すでにステップJ1において取り出されている変更対象の「ベースレコード」のデータ名文字列、例えば、“2002年” から、数字文字列部分“2002”を識別する。(ステップK1)この識別は、該当の項目名「年度」について、すでに作成されている「年度書式データ」を参照することによっておこなうことができる。
Step J3 for making a predetermined change to the corresponding data of the “base record” is the process shown in FIG. 45 as a general form when the “related data difference condition registration word” is “previous year”.
This procedure will be described with reference to this example. First, from the data name character string of the “base record” to be changed already extracted in step J1, for example, “2002”, the numeric character string portion “2002” "Is identified. (Step K1) This identification can be performed by referring to the “year format data” already created for the corresponding item name “year”.

なお、前記したように「ベースレコード」の該当データが、データ比較照合用の標準表現形式として、すでに数字文字列のみの表現、たとえば、“2002”になっている場合は、このステップK1は、スキップされることになる。
次に、この数字文字列部分“2002”を対応する数値“2002”に変換し(ステップK2)、続いて、該当の「関連データ差異条件登録語」である「前年」に定めた意味にしたがって、それから数値“1”を減じて、数値“2001”を得る。(ステップK3)
As described above, when the corresponding data of the “base record” has already been expressed only as a numeric character string, for example, “2002” as the standard expression format for data comparison and collation, this step K1 Will be skipped.
Next, the numeric character string portion “2002” is converted into a corresponding numerical value “2002” (step K2), and then according to the meaning defined in “previous year” which is the relevant “related data difference condition registration word”. Then, the numerical value “1” is subtracted to obtain the numerical value “2001”. (Step K3)

最後に、得られた数値を、再度、データ比較照合用の標準表現形式に変換する。この標準表現形式が数字文字列表現であれば、数値“2001”を公知の方法により数字文字列テキスト“2001”に変換する。(ステップK4)仮に、データ比較照合用の標準表現形式が後置語”年”付きであれば、該当の後置語をその末尾に付け、文字列テキスト“2001年”を得る。(ステップK5)この書式を標準表現形式に変換する処理も、「年度書式データ」を参照することによっておこなうことができる。   Finally, the obtained numerical value is converted again into a standard expression format for data comparison and collation. If this standard expression format is a numeric character string representation, the numerical value “2001” is converted into the numeric character string text “2001” by a known method. (Step K4) If the standard expression format for data comparison and collation has a postfix “year”, the postfix “year” is added to the end of the standard postfix to obtain the character string text “2001”. (Step K5) The process of converting this format into the standard expression format can also be performed by referring to the “year format data”.

なお、この「関連データ差異条件登録語」の「前年」によるデータ変更処理は、仮に、変更対象の「ベースレコード」のデータ名文字列がデータ比較照合用の標準表現形式として、元号表示されており、ステップK3において、減じた結果が”0”になった場合(変更対象データが”平成1年”の場合)、元号を”昭和63年”に変更する特例処理に分岐させればよい。   In addition, in the data change processing by “previous year” of this “related data difference condition registration word”, the data name character string of the “base record” to be changed is displayed as the standard expression format for data comparison and verification. In step K3, if the subtraction result is “0” (when the data to be changed is “Heisei 1”), branch to a special process that changes the era to “Showa 63” Good.

この「ベースレコード」の該当データに対して所定の変更をおこなうステップJ3は、他の「関連データ差異条件登録語」の場合も、同様におこなうことができる。例えば、「関連データ差異条件登録語」が「次年」であれば、図45に示す手順中においてステップK3を、数値”1”を加える処理に置き換えることによっておこなうことができる。   The step J3 for making a predetermined change to the corresponding data of the “base record” can be performed in the same manner for other “related data difference condition registration words”. For example, if the “related data difference condition registration word” is “next year”, step K3 in the procedure shown in FIG. 45 can be replaced with a process of adding a numerical value “1”.

また、「関連データ差異条件登録語」が「前月」である場合、通常は図45の手順と同様におこない、減じた結果が”0”になった場合(変更対象データが”1月”の場合)、「年度」のデータを”1”減じ、「月別」のデータを”12”に変更する特例処理に分岐させればよい。または、応用用語辞書52中において、「年月日項目」区分の登録語「月別」に、月名の時間順の名称列(例えば、”1月”、”2月”、…、または、”Jan.”,”Feb.”,…)を付属させておき、この名称データを1つ前に辿ることによっておこなってもよい。   In addition, when the “related data difference condition registration word” is “previous month”, it is usually performed in the same manner as the procedure of FIG. 45, and the subtraction result is “0” (the data to be changed is “January”). ), The “year” data is reduced by “1” and the “monthly” data is changed to “12”. Alternatively, in the applied term dictionary 52, the registered word “monthly” in the “year / month / day item” category is assigned a name string in the order of the month name (for example, “January”, “February”,..., Or “ Jan. ”,“ Feb. ”,...), And the name data may be traced back one time.

最後に、以上のように求めたデータによって、該当「ベースレコード」中の変更対象データを置き換え、「派生レコード」を得る。(ステップJ4) 該当「ベースレコード」の構成データは、すでに、集計す管理テーブル上第4行にセットされているので、「派生レコード」は、その中の変更対象のデータを、以上によって求めたデータによって置き換えるだけでよい。   Finally, the data to be changed in the corresponding “base record” is replaced with the data obtained as described above to obtain the “derived record”. (Step J4) Since the configuration data of the corresponding “base record” has already been set in the fourth row on the management table to be aggregated, the “derived record” has obtained the data to be changed in the above manner. Just replace it with data.

本例の場合、集計管理テーブル上第4行において、項目が「年度」のデータとして、セットされている「ベースレコード」の変更対象データが、例えば、“2002”であれば、それを以上によって求めたデータ“2001”に置き換えればよいことになる。   In the case of this example, if the change target data of the set “base record” is “2002” in the fourth row on the tabulation management table as the item “year”, for example, It may be replaced with the obtained data “2001”.

以上のように、集計管理テーブル上に作成セットした「派生レコード」に対して、「ベースレコード」の場合と同様に、出力元データファイルの全てデータを集計転記する。(ステップG7)。「ベースレコード」の場合と同じく、出力データファイルからレコードを1つづつ、集計管理テーブル上の第6行にとり出し、その上で第4行上のデータと比較照合をおこなう処理を繰り返して集計転記していく。   As described above, all the data in the output source data file is aggregated and transferred to the “derived record” created and set on the aggregation management table, as in the case of “base record”. (Step G7). As in the case of “base record”, the records are taken out one by one from the output data file to the sixth row on the tabulation management table, and then the process of comparing and collating with the data on the fourth row is repeated. I will do it.

出力元ファイルの全てのレコードデータを出力先表の「派生レコード」(集計管理テーブルの第4行上)に転記集計し終えると、集計管理テーブル上で求めた「派生レコード」中の「派生セル」への出力データを表フォーマットの該当セルデータ内に格納する。(ステップG8)すなわち、集計管理テーブル第4行上のデータの中、「ベースセル」が定義されている項目名(本例の場合、「売上げ」)のデータを、同じ第3行のセルデータアドレスからポイントされている「セルデータ」中の「セル内データ格納部」に転記する。この時、転記される各データは、上記した「数値/テキスト区別フラグ」を付けたまま、「セル内データ格納部」に格納される。   When all the record data of the output source file is transferred and totaled to the “derived record” (upper line 4 of the summary management table) of the output destination table, the “derived cell” in the “derived record” obtained on the summary management table Is stored in the corresponding cell data in the table format. (Step G8) That is, the data of the item name (in this example, “sales”) in which “base cell” is defined among the data on the fourth row of the tabulation management table is the cell data of the same third row. The data is transferred to “in-cell data storage” in “cell data” pointed to by the address. At this time, each piece of data to be transferred is stored in the “in-cell data storage unit” with the above “numerical value / text distinction flag” attached.

出力先の表から取り出した1つの「ベースレコード」について、以上の処理を終えると、出力先表から、「次のベースレコード」をとり出し、同じ処理を繰り返す。(ステップG9) 出力先表において「次のベースレコード」は、集計管理テーブル上に取出されている「レコード」を構成するセルの中、出力先表の1行上において同じ対応項目名のセルが繰り返されるセル(本例の場合、項目名「売上げ」のデータフィールドを構成するセル)を、その1行上において次に位置するセルに置き換えて得ることができる。
1つの行上において全ての「ベースレコード」を取り出した後は、次の行において、この繰返される項目のセルとして先頭に位置するセルを選び、「ベースレコード」を取り出し、以下、上記と同じことを繰り返していけばよい。
When the above processing is completed for one “base record” extracted from the output destination table, the “next base record” is extracted from the output destination table and the same processing is repeated. (Step G9) In the output destination table, the “next base record” is a cell of the same corresponding item name on one row of the output destination table among the cells constituting the “record” taken out on the aggregation management table. A repeated cell (in this example, a cell constituting the data field of the item name “sales”) can be obtained by replacing it with a cell positioned next in the first row.
After all the “base records” have been extracted on one row, in the next row, the cell located at the head is selected as the cell of this repeated item, and “base record” is extracted. Can be repeated.

出力先から取り出される全ての「ベースレコード」について、以上の処理を繰返し、「データ出力処理」(ステップF1)を終えると、次に、これらの出力データを表内に定義されている合計欄に集計する「表内演算処理」(ステップF2)をおこなう。   The above processing is repeated for all the “base records” extracted from the output destination, and when the “data output processing” (step F1) is completed, these output data are then displayed in the total column defined in the table. The “in-table calculation process” (step F2) is performed.

「表内演算処理」では、上記した「演算結果欄定義データ」が施されている演算結果欄データフィールド内の各演算結果欄セルについて、各々、定まる演算対象データフィールド内のデータ群に対し所定の演算をおこない、その演算結果を該当セル内に記入する。 本例の場合、表の最下行に設定されている各演算結果欄セル(合計欄セル)について、各々、同一列上の項目名「売上げ」のデータ群に対し所定の演算である加算をおこない、加算結果をその中に記入することになる。   In the “in-table calculation process”, for each calculation result column cell in the calculation result column data field to which the above “calculation result column definition data” is applied, a predetermined value is assigned to the data group in the calculation target data field. And the result of the calculation is entered in the corresponding cell. In the case of this example, for each calculation result column cell (total column cell) set in the bottom row of the table, an addition that is a predetermined calculation is performed on the data group of the item name “sales” on the same column. , The result of addition will be written in it.

各演算結果欄セルは、該当の演算結果欄定義データからポイントされているセルデータチェインを、順次辿ることによって取り出していくことができる。演算の種別は、該当「演算結果欄定義データ」中の「演算区分」を参照すればよい。   Each calculation result column cell can be taken out by sequentially tracing the cell data chain pointed to from the corresponding calculation result column definition data. For the type of calculation, the “calculation category” in the corresponding “calculation result column definition data” may be referred to.

各演算結果欄セル毎の演算対象データフィールドは、前記したように、該当の演算結果欄定義データフィールドと直角方向に定義され、かつ、1つの項目定義データフィールドの中、該当の「演算結果欄欄セル」と同一列、同一行にある部分として検出される。   As described above, the calculation target data field for each calculation result column cell is defined in the direction perpendicular to the corresponding calculation result column definition data field, and the corresponding “calculation result column” in one item definition data field. It is detected as a portion in the same column and same row as the “column cell”.

書面上で定義されている各項目定義データフィールドについて作成されているフィールド定義データからポイントされているセルデータチェインからセルデータを順次、取出し、その位置情報から該当の演算結果欄セルと上記した位置関係にあるセルを検出することによって取り出していくことができる。本例のように、「派生データフィールド」が定義されている場合には、各「派生データフィールド」についても同様におこなうことになる。   Cell data is sequentially extracted from the cell data chain pointed to from the field definition data created for each item definition data field defined on the document, and the corresponding calculation result column cell and the above-mentioned position from the position information. It can be taken out by detecting the cells in relation. When “derived data field” is defined as in this example, the same operation is performed for each “derived data field”.

該当の演算対象データフィールド内の各セルについて、該当セルデータ内の「セル内データ格納部」に格納されているデータを読み出して所定の演算をおこない、その結果を該当演算結果欄セルのセルデータ内の「セル内データ格納部」に格納する。   For each cell in the corresponding calculation target data field, the data stored in the “in-cell data storage unit” in the corresponding cell data is read out and subjected to a predetermined calculation, and the result is stored in the cell data of the corresponding calculation result column cell. In the “in-cell data storage unit”.

全ての「演算結果欄定義データ」について以上の処理を終えると、「表内演算処理」(ステップF2)を終え、「対応セル間演算処理」(ステップF3)に入る。「対応セル間演算処理」の手順を図46に示す。   When the above processing is completed for all “calculation result column definition data”, “in-table calculation processing” (step F2) is ended, and “corresponding cell calculation processing” (step F3) is entered. The procedure of “corresponding cell calculation processing” is shown in FIG.

「対応セル間演算処理」においては、最初に、「派生条件定義データ」内の「演算指定部」を参照し、派生条件に「演算条件」が含まれていることを判定し(ステップN1)、派生条件に「演算条件」が含まれていない場合(上記「演算指定部」内「演算種別部」に”0”がセットされている場合)は、直ちに、次の「文字列データ化処理」(ステップF4)に抜ける。   In “corresponding cell calculation processing”, first, the “calculation designating part” in “derivative condition definition data” is referred to, and it is determined that “calculation condition” is included in the derivation condition (step N1). If the derivation condition does not include the “calculation condition” (when “0” is set in the “calculation type part” in the “calculation designation part”), the next “character string data conversion process” is immediately performed. ”(Step F4).

派生条件に「演算条件」が含まれている場合には、次に、上記「演算指定部」内「演算オペランド区分」を参照し、それが「派生セル内データ値」であることを判定する。(ステップN2)   If the "calculation condition" is included in the derivation condition, next, refer to the "calculation operand section" in the "calculation specification part" and determine that it is a "data value in the derivation cell" . (Step N2)

本例のように、ステップN2の判定が得られる場合、「ベースセル」となっている各セルについて、対応する「派生セル」内のデータとの間で指定されている演算をおこない(ステップN3)、演算結果データによって、該当「派生セル」内のデータを更新する。すなわち、該当「派生セル」の「セル内データ格納部」中のデータをこの演算結果データによって置き換える。(ステップN4)   When the determination in step N2 is obtained as in this example, the operation designated with the data in the corresponding “derived cell” is performed for each cell that is the “base cell” (step N3). ), The data in the “derived cell” is updated with the operation result data. That is, the data in the “in-cell data storage section” of the corresponding “derived cell” is replaced with the calculation result data. (Step N4)

書面上において「ベースセル」となっている各セルは、書面上に作成されている各「フィールド定義データ」の中から、その中の「派生区分」情報に「ベースデータフィールド」を表わすコード(”1”)がセットされているものを選択し、それからポイントされているセルデータチェインを順に辿ることによって、識別していくことができる。   Each cell that is a “base cell” on the document has a code (“base data field”) in the “derivation classification” information in the “field definition data” created on the document ( Identification can be made by selecting a set of “1”) and then following the cell data chain pointed to.

一方、「ベースデータフィールド」に対応する「派生データフィールド」は、上記したように、「ベースデータフィールド」について定義されている「フィールド定義データ」の「派生データフィールドポインタ」から識別することができる。
したがって、「ベースセル」に対応する「派生セル」は、該当の「派生データフィールド」を構成するセルの中、該当の「ベースデータフィールド」(「派生データフィールド」)に直交し、かつ、この「ベースセル」と同一行上、または、同一列上にあるものとして識別することができる。
On the other hand, the “derived data field” corresponding to the “base data field” can be identified from the “derived data field pointer” of the “field definition data” defined for the “base data field” as described above. .
Therefore, the “derived cell” corresponding to the “base cell” is orthogonal to the corresponding “base data field” (“derived data field”) in the cells constituting the “derived data field”, and this It can be identified as being on the same row or column as the “base cell”.

「ベースセル」内のデータと対応する「派生セル」の内のデータとの間でおこなうべき演算の種別は、該当の「派生セル」を含む「派生データフィールド」について定義されている「派生条件定義データ」中の「演算指定部」内「演算種別」情報を参照すればよい。 本例の場合、「ベースセル」の「セル内データ格納部」にセットされているデータを、対応する「派生セル」の「セル内データ格納部」にセットされている「派生セル」内のデータによって除算し、除算結果を改めて、同じ該当「派生セル」の「セル内データ格納部」に格納することになる。   The type of operation to be performed between the data in the “base cell” and the corresponding data in the “derived cell” is the “derivation condition” defined for the “derived data field” including the corresponding “derived cell”. Reference may be made to the “calculation type” information in the “calculation designation section” in the definition data. In this example, the data set in the “in-cell data storage” of the “base cell” is stored in the “derived cell” set in the “in-cell data storage” of the corresponding “derived cell”. Dividing by data, the result of division is again stored in the “in-cell data storage unit” of the same “derived cell”.

なお、このステップF3においては、本例のように、演算結果欄データフィールドが表フォーマット中に定義されている場合、「ベースデータフィールド」とそれに対応する「派生データフィールド」を、各々、その演算対象データフィールドとする演算結果欄セルの対を見出す。そして、この演算結果欄セルの対を、「ベースセル」とそれに対応する「派生セル」の対と見なして、両者の間においても、同じ指定された演算をおこない、その演算結果データによって、この「派生セル」側と見なす演算結果欄セル内のデータを置き換える。   In this step F3, when the calculation result column data field is defined in the table format as in this example, the “base data field” and the “derived data field” corresponding thereto are respectively calculated. Find a pair of calculation result column cells as the target data field. The pair of calculation result cells is regarded as a pair of “base cell” and the corresponding “derived cell”, and the same specified calculation is performed between the two. Replace the data in the calculation result column cell regarded as the “derived cell” side.

この演算結果欄データフィールド中の「ベースセル」とそれに対応する「派生セル」の対は、演算結果欄データフィールドを構成する各演算結果欄セルについて、その演算対象データフィールドを前記したように識別し、その中から「ベースデータフィールド」と対応する「派生データフィールド」の対を上記のように識別することによって割り出すことができる。   The pair of “base cell” and the corresponding “derived cell” in the calculation result column data field identifies the calculation target data field for each calculation result column cell constituting the calculation result column data field as described above. Then, a pair of “derived data field” corresponding to “base data field” can be determined by identifying them as described above.

本例の場合、表の第2列、第4列、第6列上の「ベースセル」の「セル内データ格納部」にセットされているデータを、各々、対応する第3列、第5列、第7列上の「派生セル」の「セル内データ格納部」にセットされている、現在の「派生セル」内のデータによって除算し、除算結果を、改めて、該当の「派生セル」の「セル内データ格納部」に格納することになる。   In the case of this example, the data set in the “in-cell data storage unit” of the “base cell” in the second column, the fourth column, and the sixth column of the table are respectively represented by the corresponding third column, Divide by the data in the current “derived cell” that is set in the “in-cell data storage” of the “derived cell” in the column 7th column, and the division result is re-applied to the corresponding “derived cell”. Are stored in the “in-cell data storage unit”.

表の最下行上にて定義された合計データフィールド内においても、第2列、第4列、第6列上の「ベースセル」内のデータと、各々、対応する第3列、第5列、第7列上の「派生セル」の「セル内データ格納部」にセットされている、現在の「派生セル」内のデータによって除算し、除算結果を、改めて、該当の「派生セル」の「セル内データ格納部」に格納することになる。   Even in the total data field defined on the bottom row of the table, the data in the “base cell” on the second column, the fourth column, and the sixth column, and the corresponding third column and fifth column, respectively. , Divide by the data in the current “derived cell” set in the “in-cell data storage” of the “derived cell” on the seventh column, and divide the result of division again for the corresponding “derived cell”. It is stored in the “in-cell data storage unit”.

仮に、派生条件指定語が、本例の”対前年比”の代わりに”対前年増”であれば、
応用用語辞書52の「演算指定2」区分の登録用語”対…増”が検出され、差異条件定義データの「演算種別」部には、該当のコード(”2”)がセットされる。
「データ出力処理」(ステップF1)と「表内演算処理」(ステップF2)においては、本例と全く同じ処理がおこなわれるが、この「対応セル間演算処理(ステップF3)において、「ベースセル」内のデータを現在の「派生セル」内のデータによって減算し、その減算結果を、改めて、該当「派生セル」の「セル内データ格納部」に格納することになる。
If the derivation condition specification word is “YoY increase” instead of “YoY change” in this example,
The registered term “vs. increase” in the “calculation designation 2” category of the application term dictionary 52 is detected, and the corresponding code (“2”) is set in the “calculation type” portion of the difference condition definition data.
In the “data output process” (step F1) and the “in-table calculation process” (step F2), the same process as in this example is performed. In this “corresponding cell calculation process (step F3),“ base cell The data in "" is subtracted by the data in the current "derived cell", and the subtraction result is stored again in the "in-cell data storage" of the corresponding "derived cell".

また、派生条件指定語が本例の”対前年比”の代わりに”%”であれば、応用用語辞書52の「演算指定2」区分の登録用語”%”が検出され、派生条件定義データの「演算種別」部には、該当のコード(”11”)がセットされる。   If the derivation condition designation word is “%” instead of “YoY” in this example, the registered term “%” in the “operation designation 2” category of the application term dictionary 52 is detected, and the derivation condition definition data. Corresponding code (“11”) is set in the “calculation type” part.

「データ出力処理」(ステップF1)と「表内演算処理」(ステップF2)は、本例と全く同じ処理がおこなわれるが、この「対応セル間演算処理(ステップF3)において、「ベースセル」内のデータを現在の「派生セル」内のデータによって除算した結果に数値”100”を乗じ、その結果を、改めて該当「派生セル」の「セル内データ格納部」に格納することになる。   The “data output process” (step F1) and the “in-table calculation process” (step F2) are performed in exactly the same way as in this example. In this “inter-corresponding cell calculation process (step F3)”, the “base cell” The result obtained by dividing the data in the current “derived cell” by the value “100” is multiplied and the result is stored again in the “in-cell data storage” of the corresponding “derived cell”.

「対応セル間演算処理」を終えると、出力先の表上において転記、集計されたデータについて「文字列データ化処理」をおこなう。(ステップF4)データが出力された各セルについて、該当のセルデータ内の「セル内データ格納部」に格納されているデータをとり出し、対応する文字列データを作成する。
出力先の表フォーマット上に元々記入されている非集計項目のデータを除き、出力先表フォーマット上の全てのデータフィールドを構成するセル内のデータについておこなわれる。
When “corresponding processing between corresponding cells” is completed, “character string data conversion processing” is performed on the data that has been transferred and aggregated on the output destination table. (Step F4) For each cell for which data has been output, the data stored in the “in-cell data storage section” in the corresponding cell data is extracted, and the corresponding character string data is created.
This is performed for data in cells constituting all data fields on the output destination table format except for the data of non-aggregated items originally entered on the output destination table format.

初めからデータ文字列記入されているセルは、該当セルの位置情報と書面上の各文字列データの位置情報との照合を繰り返すことによって検出することができる。
また、仮に、初めから記入されているデータ文字列が集計数値のデータである場合は、新しく集計されたデータについて、文字列データを生成すると共に、元から記入されているデータの該当文字列データは削除する。
A cell in which a data character string is entered from the beginning can be detected by repeatedly collating the position information of the corresponding cell with the position information of each character string data on the document.
Also, if the data string entered from the beginning is aggregated numerical data, character string data is generated for the newly aggregated data and the corresponding character string data of the data entered from the beginning. Is deleted.

セル内記入データを表わす文字列データの作成は以下のようにおこなわれる。まず、セルデータ内の「セル内データ格納部」より取り出したデータが数値データであれば、公知の方法により、この数値データをテキストデータに変換する。これによって、たとえば、数値データとして単に数値「396」の大きさを表していたデータが、文字“3”“9”“6”の並びであるテキストデータに変換される。   Creation of character string data representing in-cell entry data is performed as follows. First, if the data extracted from the “in-cell data storage” in the cell data is numeric data, the numeric data is converted into text data by a known method. As a result, for example, data that simply represents the size of the numerical value “396” as numerical data is converted into text data that is an array of the characters “3”, “9”, and “6”.

テキストデータから該当の文字列データ(位置情報も定義されている)は次のように作成される。該当の文字列データの記入先(位置情報)は、該当のセルの位置情報とセル内配置書式から決定することができる。セル内配置書式は、該当のセルが所属するフィールド定義データに付属したフィールド書式情報から読み取ることができる。文字サイズ、文字ピッチ、配置位置(たとえば右詰め、センタリング等の指定)、記入文字の色等である。本例のように配置書式がユーザによって指定されていなければ装置デフォルトによって決定される。   Corresponding character string data (position information is also defined) is created from text data as follows. The entry destination (position information) of the corresponding character string data can be determined from the position information of the corresponding cell and the in-cell arrangement format. The in-cell arrangement format can be read from the field format information attached to the field definition data to which the corresponding cell belongs. The character size, the character pitch, the arrangement position (for example, designation of right justification, centering, etc.), the color of the entered character, and the like. If the layout format is not specified by the user as in this example, it is determined by the device default.

まず、このセルの書式情報中に登録されている各文字の大きさとピッチから、文字列を外接する矩形を求める。続いて、文字列のセル内配置位置情報(たとえば右詰め、センタリング等の指定)を参照して、その外接矩形のセル内位置を求める。次に、該当のセルの書面上位置(該当のセルデータにセットされている)を参照し、該当の外接矩形の書面上位置を得て、該当の文字列の書面上位置が得ることができる。こうして得られたテキストデータと位置情報から該当の文字列データが作成され、そのアドレスを該当の対応するセルデータ(図19)のセル内文字列データアドレス部にセットしておく。   First, a rectangle that circumscribes the character string is obtained from the size and pitch of each character registered in the format information of the cell. Subsequently, the in-cell position of the circumscribed rectangle is obtained with reference to the in-cell arrangement position information of the character string (for example, designation of right justification, centering, etc.). Next, the document position of the corresponding character string can be obtained by referring to the document position of the corresponding cell (set in the corresponding cell data) and obtaining the document position of the circumscribed rectangle. . Corresponding character string data is created from the text data and position information thus obtained, and the address is set in the in-cell character string data address portion of the corresponding cell data (FIG. 19).

以上のように生成された文字列データは、当該帳表に元々記入されている、他の文書要素データと一緒に文書要素データ記憶部38に格納される。したがって、文書画像出力部40が、この文書要素データ記憶部38より(黒)の通常記入情報に対応する全ての文書要素データを読みだし、それら読み出した文書要素データを文字/図形パターン辞書36に照会して各文書要素のパターンを識別し、各パターンを展開プログラムによってビットマップ形式の画像データに変換することにより、図47に示すような目的の帳表出力文書をたとえばディスプレイ画面20a上に表示することができる。また、印字装置22でプリントアウトしたり、通信装置24によりFAX送信することもできる。   The character string data generated as described above is stored in the document element data storage unit 38 together with other document element data originally written in the book table. Accordingly, the document image output unit 40 reads out all the document element data corresponding to the normal entry information (black) from the document element data storage unit 38, and stores the read document element data in the character / graphic pattern dictionary 36. The target document output document as shown in FIG. 47 is displayed on, for example, the display screen 20a by inquiring and identifying the pattern of each document element and converting each pattern into image data in bitmap format by a development program. can do. Further, it can be printed out by the printing device 22 or can be faxed by the communication device 24.

なお、図9に示す表フォーマットにおいて、その第1行上の項目名「年度」のデータフィールド、または、第1列上の項目名「商品」のデータフィールドにデータが記入されていない場合、そのデータ出力は次のようにおこなわれる。
すなわち、先ず、出力先の表フォーマットから最初に取出されるレコードセル列に含まれる項目名「年度」、または、項目名「商品」のセルについてのセルデータの「セル内データ格納部」には、上記したように出力元のデータファイルから最初に取出される該当項目のデータがそのままセットされる。
In the table format shown in FIG. 9, if no data is entered in the data field of the item name “Year” on the first row or the data field of the item name “Product” on the first column, Data output is performed as follows.
That is, first, in the cell name “year data” included in the record cell column extracted first from the output destination table format, or in the cell data “cell data storage” for the cell of the item name “product” As described above, the data of the corresponding item extracted first from the output source data file is set as it is.

以降、この該当のセルが出力先の表フォーマットか取り出される別なレコードセル列に含まれている場合、上記した最初に転記されたデータが該当セルの記入データとして、該当の「セル内データ格納部」から取出され、集計管理テーブル上にセットされた上、出力元データファイルから取出されてくるデータと照合される。   Thereafter, when the corresponding cell is included in another record cell column to be retrieved from the output destination table format, the first transferred data described above is used as the entry data of the corresponding cell, and the corresponding “in-cell data storage” The data is taken out from the “part” and set on the tabulation management table, and is collated with the data taken out from the output source data file.

全てのデータ出力を終えた後、項目名「年度」のデータフィールド、または、項目名「商品」のデータフィールドについて、定めた順序にしたがって、記入データのソートをおこない、次に、このソートするデータと同じ行、または、同じ列上のデータを対応する位置にソートすればよい。   After all data is output, the entry data is sorted in the order specified for the data field of the item name “Year” or the data field of the item name “Product”, and then the data to be sorted The data on the same row or column may be sorted into corresponding positions.

(他の使用例1)
次に、図9において、表中の第3列、第5列、第7列の見出し語として記入された”対前年比”を、”対全体比”に置き換えた表フォーマット(図48黒色部)について、本システムがおこなう取り扱いについて説明する。
(Other usage example 1)
Next, in FIG. 9, a table format in which “YoY comparison” entered as a headword in the third column, fifth column, and seventh column in the table is replaced with “Yellow ratio” (FIG. 48, black part). ), The handling performed by this system will be explained.

本例の場合、この”対全体比”を見出し語とする、第3列、第5列、第7列上のデータフィールドは、各々、その左側に隣接する項目名を「売上げ」とする各データフィールドを「ベースデータフィールド」とする「派生データフィールド」として、その構成各セル内には、その左側に隣接する「ベースセル」内のデータと項目名を同じ「売上げ」とする表中の全てのデータの合計値との比率が記入されるようになっている。   In the case of this example, each of the data fields on the third, fifth, and seventh columns having the heading as “total ratio” has the item name “sales” adjacent to the left side thereof. As a “derived data field” in which the data field is “base data field”, each cell in the structure has the same “sales” as the data in the “base cell” adjacent to the left side and the item name in the table. The ratio to the total value of all data is entered.

この表中の第3列、第5列、第7列上の「派生データフィールド」についての記入条件を、ユーザは、その見出し語文字列”対全体比”から読み取っている。この見出し語中の部分文字列”全体”は、ユーザによって書面上において、特に定義されていない場合は、表を使用するユーザ間の共通の約束として、通常は、「同じ表中の同じ項目名(「売上げ」)に属する全てのデータの合計値」を指示するものとして読み取られる。   The user reads the entry conditions for the “derived data field” in the third, fifth and seventh columns in the table from the headword character string “vs. the overall ratio”. The substring “whole” in this headword is generally written as “the same item name in the same table” as a common promise among users who use the table unless otherwise defined in writing by the user. It is read as indicating “total value of all data belonging to (sales)”.

この表中の第3列、第5列、第7列上の各「派生データフィールド」の派生条件文字列の定義付けとしては、その各見出し語文字列”対全体比”を「解釈指定」の定義要素”○”により囲めばよい。その他の表フォーマット上の定義付けは、図9の場合と同様におこなう。((図48青色部))以上の定義付けにより、上記したユーザが理解する意味が確定的に定義されることになる。   In order to define the derivation condition character string of each “derivative data field” on the third, fifth, and seventh columns in this table, each headword character string “overall ratio” is “interpretation specified”. You can enclose it in the definition element “○”. Other table formats are defined in the same manner as in FIG. ((Blue portion in FIG. 48)) With the above definition, the meaning understood by the user is definitely defined.

この「解釈指定」定義要素”○”による指定は、指定した部分文字列中のさらに部分文字列である”対…比”と”全体”が、各々、応用用語辞書52中において、「演算指定2」区分と「演算オペランド指定」区分として登録されている用語であり、さらに、登録用語”全体”については、応用用語辞書52のユーザインターフェース(ユーザマニュアル等)において、注釈文「”全体”は、演算指定のオペランドとして使用し、ユーザによる特別の指定がない限り、1つの表内の同じ項目名に属するデータの合計値を意味します。」が付けられていることもも確認した上でおこなう。   The designation by the “interpretation designation” definition element “◯” indicates that “partition ratio” and “whole” which are further partial character strings in the designated partial character string are “calculation designation” in the applied term dictionary 52, respectively. 2 ”and“ operation operand specification ”are registered terms. Furthermore, for the registered term“ whole ”, in the user interface (such as a user manual) of the application term dictionary 52, the comment sentence“ whole ” , Which is used as an operand for operation specification and means the total value of data belonging to the same item name in one table unless otherwise specified by the user. Do it.

今、この「解釈指定」の定義要素”○”による指定によって囲まれている文字列”対全体比”の中の部分文字列”全体”は、ユーザによる特別の指定がないことから、応用用語辞書52に登録されている意味(ユーザがふだん使用している意味)にしたがって、「該当の表内の同じ項目名に属するデータの合計値」として定まり、「対…比」も応用用語辞書52に「演算指定2」区分として登録されている意味にしたがって、その中に挟む文字列の意味するデータとの比率を指示した用語であることが定まる。   Now, the partial character string “whole” in the character string “whole ratio” surrounded by the specification element “○” of the “interpretation specification” is not specially specified by the user. According to the meaning registered in the dictionary 52 (meaning that is usually used by the user), it is determined as “the total value of data belonging to the same item name in the corresponding table”, and “comparison ratio” is also applied to the application term dictionary 52. According to the meaning registered as the “calculation designation 2” category, it is determined that the term indicates the ratio of the character string sandwiched between the data and the meaning of the character string.

そして、両者によって構成される複合文字列”対全体比”は、上記のように定まった各構成語の意味をもとに、本表フォーマットの作成言語である日本語の構文規則によって解釈され、「同じ項目名に属するデータの合計値データとの比率」であることが一意に解釈される。   Then, the composite character string composed of the two, “overall ratio”, is interpreted according to the syntax rules of Japanese, which is the creation language of this table format, based on the meaning of each constituent word determined as described above. It is uniquely interpreted as “ratio of data belonging to the same item name with total value data”.

以上のように定義付けをおこなった用紙をシステムに入力すると、「派生フィールド定義処理」(ステップA3)までは、前記の場合と全く同じ処理がおこなわれる。
「派生フィールド定義処理」処理(ステップA3)において、図10の場合と同じく、「派生条件文字列の判定」手順(図26)中のステップD1において、該当の文字列”対全体比”について、「解釈指定」定義要素記号”○”による指定が判定され、続くステップD2において、「演算指定2」区分の応用用語辞書登録用語”対…比”が検出される。
When the paper with the definition as described above is input to the system, the same process as described above is performed until the “derived field definition process” (step A3).
In the “derived field definition process” process (step A3), as in the case of FIG. 10, in step D1 in the “determination condition character string determination” procedure (FIG. 26), the corresponding character string “overall ratio” The designation by the “interpretation designation” definition element symbol “◯” is determined, and in the subsequent step D2, the application term dictionary registered term “contrast ratio” in the “calculation designation 2” section is detected.

続くステップD3の判定において、上記の検出用語”対…比”を除いた残りの部分文字列”全体”が、「相対指定」区分の応用用語辞書登録用語でないことが判定され、ステップD6の判定に分岐する。ステップD6の判定においては、上記検出用語を除いた残りの部分文字列”全体”について、応用用語辞書52中において「演算オペランド指定」区分として登録されている用語であることを判定する。 本例の場合、該当の文字列”全体”が、応用用語辞書52中において「演算オペランド指定」区分として登録されている用語であることが判定され、3型の差異条件の形式と条件を満たすものとして判定される。(ステップD7)   In the subsequent determination in step D3, it is determined that the remaining partial character string “whole” excluding the detected term “contrast ratio” is not an applied term dictionary registered term in the “relative designation” category, and the determination in step D6 Branch to In the determination of step D6, it is determined that the remaining partial character string “whole” excluding the detected term is a term registered as an “operating operand designation” category in the applied term dictionary 52. In the case of this example, it is determined that the corresponding character string “whole” is a term registered in the applied term dictionary 52 as the “operation operand specification” category, and the type 3 difference condition format and conditions are satisfied. It is determined as a thing. (Step D7)

本システムにおいては、1つのデータフィールドと上記した「特定の対応付け」にあり、かつ、以上の形式と条件を満たしている文字列は、そのデータフィールドの「派生条件」の定義以外には用いないものとして、該当の文字列は、該当の「派生データフィールド」の「派生条件指定語」として確定的に解釈される。   In this system, a character string that is in the above-mentioned “specific association” with one data field and satisfies the above format and conditions is used for purposes other than the definition of “derivative condition” of the data field. As such, the corresponding character string is definitely interpreted as the “derivative condition designator” of the corresponding “derived data field”.

本例の場合、次のようにデータがセットされた「派生条件定義データ」が作成されることになる。先ず、同データの「基本部」内の「登録語」記入欄には、応用用語辞書52中の該当の「代表名」”全体”がセットされ、「演算指定部」内の「演算種別部」には、「対**比」に対応する該当コード”1”がセットされ、「演算オペランド区分部」には、「特定指定値」に対応するコード”0”がセットされる。   In this example, “derivative condition definition data” in which data is set as follows is created. First, in the “registered word” entry field in the “basic part” of the same data, the “representative name” “whole” in the applied term dictionary 52 is set, and the “calculation type part” in the “calculation designation part” ”Is set to the corresponding code“ 1 ”corresponding to“ to ** ratio ”, and“ operation operand section ”is set to the code“ 0 ”corresponding to“ specific specified value ”.

「データ出力処理」(F1)においては、その先頭のステップM1において、「派生条件3型」と判定されることから、「データ出力処理−2」に分岐する。「データ出力処理−2」は、前記した「データ出力処理−1」の中、「派生セル」へのデータ出力(ステップG6−ステップG8)をスキップした処理に相当する。
「表内演算処理」(F2)も、「通常データフィールド」と「ベースデータフィールド」のみについておこなわれる。
In the “data output process” (F1), since it is determined as “derivative condition type 3” in the leading step M1, the process branches to “data output process-2”. The “data output process-2” corresponds to a process in which the data output (step G6 to step G8) to the “derived cell” is skipped in the “data output process-1”.
The “in-table calculation process” (F2) is also performed only for the “normal data field” and the “base data field”.

「対応セル間演算」(F3)においては、その先頭のステップN1において、派生条件定義データ内の「演算指定部」を参照して、「演算条件有り」と判定され、続いて、ステップN2の判定において同データの「演算オペランド区分部」が「特定指定値」であることから、ステップN5以下の処理に分岐する。   In “corresponding cell calculation” (F3), it is determined that “there is a calculation condition” by referring to the “calculation designating part” in the derived condition definition data in the leading step N1, and then in step N2. In the determination, since the “arithmetic operand section” of the same data is “specific designated value”, the process branches to the processing of step N5 and subsequent steps.

ステップN5においては、派生条件定義データの「基本部」内「登録語テキスト部」を参照してオペランドとしての「特定指定値」を求める。(ステップN5)今、「登録語テキスト部」として”全体”が登録されていることから、この「特定指定値」は、応用用語辞書52に定められて意味にしたがって、該当の表フォーマット上の該当する「ベースデータフィールド」に属する全データの合計値として求める。本例の場合、対応項目名を「売上げ」とする「ベースデータフィールド」内の全てのデータを合計した値として求めることになる。   In step N5, “specific specified value” as an operand is obtained by referring to “registered word text portion” in “basic portion” of the derived condition definition data. (Step N5) Since “whole” is now registered as the “registered word text portion”, this “specific specified value” is defined in the application term dictionary 52 according to the meaning on the corresponding table format. The total value of all data belonging to the corresponding “base data field” is obtained. In the case of this example, it is obtained as a total value of all data in the “base data field” whose corresponding item name is “sales”.

次に、「ベースセル」内のデータと上記のように求めた「特定指定値」との間で指定された演算をおこなう。(ステップN6)本例の場合、項目名「売上げ」の各「ベースセル」内のデータについて、除算をおこなうことになる。   Next, a specified operation is performed between the data in the “base cell” and the “specific specified value” obtained as described above. (Step N6) In the case of this example, the data in each “base cell” of the item name “sales” is divided.

最後に、この演算結果データを対応する「派生セル」内に記入する。すなわち、演算結果データを該当する「派生セル」のセルデータ内の「セル内データ格納部」に格納する。(ステップN4)各「ベースセル」に対応する「派生セル」は、上記したように求めることができる。以降の「文字列データ化処理」(ステップF4)は、図9の場合と全く同様におこなわれる。   Finally, the calculation result data is entered in the corresponding “derived cell”. That is, the calculation result data is stored in the “in-cell data storage unit” in the cell data of the corresponding “derived cell”. (Step N4) “Derived cells” corresponding to each “base cell” can be obtained as described above. The subsequent “character string data conversion processing” (step F4) is performed in exactly the same manner as in FIG.

(他の使用例2)
次に、図9の表において、第3列、第5列、第7列上のデータフィールドの見出し語として記入された”対前年比”を、”対2000年比”に置き換えた表について、本システムがおこなう取り扱いについて説明する。
(Other use example 2)
Next, in the table of FIG. 9, a table in which “YoY comparison” entered as the data field heading in the third, fifth, and seventh columns is replaced with “Year 2000 comparison”. The handling performed by this system will be described.

本例の場合、見出し語を”売上げ”とする第2列上、第4列上、第6列上のデータフィールド内のの各セルは、各々、表フォーマットの同じ列上の最上行に記入されている“2001年”、“2002年”、“2003年”を、項目名「年度」についての関連データ条件とするが、見出し語を” 対2000年比”とする第3列上、第5列上、第7列上のデータフィールドの項目名「年度」についての関連データ条件は、全て、「2000年」である。「年度」以外の項目名についての関連データ条件は、各々、その左側に隣接する第2列上、第4列上、第6列上のデータフィールドの関連データ条件と全て同じである。   In the case of this example, each cell in the data field on the second column, the fourth column, and the sixth column with the heading “Sales” is entered in the top row on the same column in the table format. "2001", "2002", and "2003" are related data conditions for the item name "FY", but the headword is "compared to 2000" on the third column, The related data conditions for the item name “year” in the data field on the fifth column and the seventh column are all “2000”. The related data conditions for the item names other than “year” are all the same as the related data conditions of the data fields on the second column, the fourth column, and the sixth column adjacent to the left side thereof.

この見出し語を” 対2000年比”とする第3列上、第5列上、第7列上のデータフィールドは、各々、その左側に隣接する項目名「年度」の各データフィールドを「ベースデータフィールド」とする「派生データフィールド」として、その構成各セルには、 先ず、以上の関連データ条件に基づいてデータが集計出力され、さらに、この出力データ値に対して左側に隣接する「ベースセル」内のデータの比率が計算され、この計算値が記入されるようになっている。
この表の第3列上、第5列上、、第7列上の各「派生データフィールド」についての以上の記入条件を、ユーザは各々、その上に記入されている見出し語文字列”対2000年比”から読み取っている。
The data fields on the third column, the fifth column, and the seventh column that have this headword as “compared to 2000” are each based on the data field of the item name “FY” adjacent to the left side of each column. As a “derived data field”, which is a “data field”, first, data is aggregated and output based on the above-mentioned related data conditions to each cell constituting the data field, and further, a “base” adjacent to the left side with respect to this output data value. The ratio of the data in the “cell” is calculated, and this calculated value is entered.
The above entry conditions for each “derived data field” on the third column, the fifth column, and the seventh column of the table are as follows. We read from “compared to 2000”.

この表中の第3列、第5列、第7列上の各「派生データフィールド」の派生条件指定語の定義付けとしては、その各見出し語文字列”対2000年比”を「解釈指定」の定義要素”○”により囲めばよい。表フォーマット上の他の定義付けは、図10の場合と同様におこなう。以上の定義付けにより、上記したユーザが理解する意味が確定的に定義されることになる。   As the definition of the derivation condition designation word of each “derivative data field” on the third, fifth, and seventh columns in this table, each headword character string “compared to 2000” is “interpretation designation”. The definition element “○” may be enclosed. Other definitions on the table format are performed in the same manner as in FIG. With the above definition, the meaning understood by the user is definitely defined.

この「解釈指定」定義要素”○”による指定は、指定された部分文字列中のさらに部分文字列である”対…比”が、応用用語辞書52中において、「演算指定2」区分して登録されている用語であることを確認した上でおこなう。また、該当の部分文字列から、上記の応用用語辞書登録用語を除いた部分文字列(本例の場合、“2000年”)について、同じ書面上の他の箇所において「データ名」として定義されていることを確認する。   In the designation by the “interpretation designation” definition element “◯”, the “partial ratio” which is a further partial character string in the designated partial character string is classified into “operation designation 2” in the application term dictionary 52. Confirm that it is a registered term. In addition, a partial character string (in this example, “2000”) obtained by removing the above-mentioned applied term dictionary registered terms from the corresponding partial character string is defined as “data name” in other places on the same document. Make sure.

本例のように、該当の部分文字列から、上記の応用用語辞書登録用語を除いた部分文字列が、同じ書面上の他の箇所において「データ名」として定義されていない場合には、図49の(イ)に示すように、対応する項目名”年度”を、(青)色の定義支援記入情報により、該当の部分文字列“2000年”の近傍の適当位置に記入し、「項目名指定」の定義要素”<>”により囲んた上、定義要素の「結合線」により結ぶ。   As shown in this example, if the partial character string excluding the above application term dictionary registered term from the corresponding partial character string is not defined as “data name” elsewhere in the same document, As shown in (a) of 49, the corresponding item name “year” is entered in the appropriate position near the corresponding partial character string “2000” using the definition support entry information in (blue) color. It is surrounded by the definition element “<>” of “name designation” and connected by the “joining line” of the definition element.

この項目名指定文字列との関係付けは、表の第3列、第5列、第7列上に繰返して記入されている3つの文字列”対2000年比”の中の任意の1つについておこなえばよい。 対応する項目名を該当の部分文字列に隣接して記入する場合は、この定義要素「結合線」による関係付けは省いてもよい。   The relationship with the item name designation character string is any one of the three character strings “compared to 2000” repeatedly entered in the third, fifth, and seventh columns of the table. You can do it. When the corresponding item name is entered adjacent to the corresponding partial character string, the association by the definition element “joining line” may be omitted.

以上の定義付けにより、上記したように、「解釈指定」を受けた文字列の中、”対…比”の意味は応用用語辞書52にしたがって定まり、また、“2000年”は項目名「年度」のデータ名として定義された上、両者を組み合わせた全体の意味は構文規則により一意に解釈され、上記したユーザが理解する意味が確定的に定義されることになる。   With the above definition, as described above, the meaning of “contrast ratio” is determined according to the application term dictionary 52 in the character string that has received “interpretation designation”, and “2000” is the item name “year” ", And the whole meaning of the combination of both is uniquely interpreted by the syntax rules, and the meaning understood by the user is definitively defined.

以上のように定義付けをおこなった用紙をシステムに入力すると、「派生フィールド定義処理」(ステップA3)までは、図10の場合と全く同じ処理がおこなわれる。「派生フィールド定義処理」処理(ステップA3)において、図10の場合と同じく、「派生条件文字列の判定」手順(図26)中のステップD1において、該当の文字列” 対2000年比”について「解釈指定」定義要素記号”○”による指定が判定され、続くステップD2において、「演算指定2」区分の応用用語辞書登録用語” 対…比”が検出される。     When the sheet with the definition as described above is input to the system, the same process as in FIG. 10 is performed until the “derived field definition process” (step A3). In the “derived field definition processing” process (step A3), as in the case of FIG. 10, in step D1 in the “determination condition character string determination” procedure (FIG. 26), the corresponding character string “compared with 2000” The designation by the “interpretation designation” definition element symbol “◯” is determined, and in the subsequent step D2, the application term dictionary registered term “to ... ratio” in the “calculation designation 2” section is detected.

続く、ステップD3の判定において、上記の検出用語”対…比”を除いた残りの部分文字列“2000年”が、応用用語辞書52中において「相対指定」区分の登録用語としてサーチされないことから、ステップD6の判定に分岐する。該当の文字列“2000年”は、ステップD6の判定においても、応用用語辞書52中において「演算オペランド指定」区分の登録用語としてサーチされないことから、ステップD8の判定に進むことになる。   In the subsequent determination of step D3, the remaining partial character string “2000” excluding the detected term “comparison ratio” is not searched as a registered term in the “relative designation” category in the applied term dictionary 52. The process branches to the determination in step D6. The corresponding character string “2000” is not searched as a registered term in the “operating operand designation” category in the applied term dictionary 52 even in the determination in step D6, and therefore the determination proceeds to step D8.

ステップD8においては、先ず、判定対象の文字列“2000年”が、同じ書面上の他の箇所において「データ名」として定義されていることを判定する。 書面上において定義されている全ての項目定義データフィールドについて、その中に記入されているデータ文字列を1つづつ取り出し、照合していけばよい。判定対象の部分文字列が、書面上において定義されている項目定義データフィールド中に「データ名」として記入されていることが検出できれば、この部分文字列はユーザが定義した「データ名」であると判定し、ステップD9以下の確認処理に進む。   In step D8, first, it is determined that the character string “2000” to be determined is defined as “data name” in another location on the same document. For all the item definition data fields defined on the document, it is only necessary to take out one data character string written therein and collate it. If it can be detected that the partial character string to be judged is entered as “data name” in the item definition data field defined on the document, this partial character string is the “data name” defined by the user. And the process proceeds to the confirmation process after step D9.

以上の判定が得られない場合、「項目名指定」の定義要素”<>”により囲まれた文字列が、判定対象の文字列部分に隣接して記入されているか、または、判定対象の文字列部分と結合線により結ばれていることを判定する。これらの文字列どうしの隣接位置関係、または、文字列と結合線との位置関係は該当する各文字列データ、または、各線分データの書面上位置情報の照合を繰り返すことによって判定することができる。文字列どうしの隣接関係の判定は、2つの文字列の外接矩形が、縦横方向の1方向から見て共通する範囲を持ち、その直角方向から見て、一定閾値内に位置することを判定することによっておこなえばよい。   If the above determination cannot be obtained, the character string enclosed by the definition item “<>” of “Item name specification” is entered adjacent to the character string part to be determined, or the character to be determined It is determined that it is connected to the column part by a connecting line. The adjacent positional relationship between these character strings, or the positional relationship between the character string and the connecting line can be determined by repeating collation of the position information on the document for each corresponding character string data or each line segment data. . Judgment of the adjacency relationship between character strings is determined that a circumscribed rectangle of two character strings has a common range when viewed from one direction in the vertical and horizontal directions, and is located within a certain threshold when viewed from the right angle direction. You can do that.

判定対象の文字列部分に 以上の判定が得られない時は、判定対象の文字列部分と同じ名称の文字列が、同じ書面上の他の箇所において、「項目名指定」の定義要素”<>”により囲まれた文字列と結合線により結ばれていることを判定する。   If the above judgment cannot be obtained for the character string part to be judged, the character string with the same name as the character string part to be judged is defined in the other parts of the same document by defining the definition item “item name designation” < It is determined that the character string enclosed by “>” is connected by a connecting line.

本例の場合、表の第3列上の判定対象の文字列“2000年”について、「項目名指定」の定義要素”<>”により囲まれ、かつ、判定対象の文字列部分と結合線により結ばれている文字列”年度”が検出され、ステップD8の判定が得られることから、表の第5列上と第7列上の判定対象の文字列“2000年”についても、ステップD8の判定が得られることになる。   In this example, the determination target character string “2000” in the third column of the table is surrounded by the definition item “<>” of “item name designation”, and the determination target character string portion and the connecting line Is detected, and the determination in step D8 is obtained. Therefore, the determination target character string “2000” on the fifth column and the seventh column of the table is also determined in step D8. Is obtained.

ステップD8の判定が得られれば、この判定対象の部分文字列はユーザが定義した「データ名」であると判定し、ステップD9以下の確認処理に進む。以上の判定が得られない場合には、適当なメッセージをディスプレイ上に表示した上、定義データ全体の作成手順(図22)を終える。   If the determination in step D8 is obtained, it is determined that the partial character string to be determined is a “data name” defined by the user, and the process proceeds to the confirmation process in step D9 and subsequent steps. If the above determination cannot be obtained, an appropriate message is displayed on the display, and the procedure for creating the entire definition data (FIG. 22) is completed.

ステップD9においては、判定対象の部分文字列の対応項目名が、書面上の他の箇所において項目定義の対応項目名として定義されていることを確認する。前記したステップD4と同じことをおこなえばよい。ステップD8において、同じ書面上の他の箇所において「データ名」として定義されている判定が得られている場合は、このステップD9は処理の重複になるので、スキップしてよい。   In step D9, it is confirmed that the corresponding item name of the partial character string to be determined is defined as the corresponding item name of the item definition at another location on the document. What is necessary is just to perform the same thing as above-mentioned step D4. In step D8, if the determination defined as “data name” is obtained elsewhere in the same document, this step D9 may be skipped because the process is duplicated.

本例の場合、判定対象の文字列“2000年”は、その対応項目名「年度」が、表フォーマット上において項目定義データフィールド(最上行のデータ“2001年”、“2002年”、“2003年の記入されているデータフィールド)の対応項目名としても定義されていることが確認される。   In the case of this example, the character string “2000” to be determined has a corresponding item name “year” whose item definition data field (data “2001”, “2002”, “2003” on the top row) in the table format. It is confirmed that it is also defined as the corresponding item name of the data field in which the year is entered.

ステップD9の確認が得られれば、ステップD10の確認処理に進む。ステップD10においては、判定対象のデータ名文字列の対応項目名が応用用語辞書52中において「年月日項目」区分として登録されている用語であることを、先ず、判定し、その判定が得られれた場合、判定対象のデータ名文字列が、書面上の他の箇所において定義されている同じ項目名の項目定義データフィールド内に記入されているデータ文字列と同じ記入書式によって記入されていることを確認する。   If the confirmation of step D9 is obtained, the process proceeds to the confirmation process of step D10. In step D10, it is first determined that the corresponding item name of the data name character string to be determined is a term registered as the “year / month / day item” category in the applied term dictionary 52, and the determination is obtained. If it is, the data name character string to be judged is entered in the same entry form as the data character string entered in the item definition data field of the same item name defined elsewhere in the document. Make sure.

判定対象の部分文字列の書式を、前記した「年月日書式データ」を求めた手順と同じ手順により解析することによって求め、すでに求めてある書面上の同じ項目名の項目定義データフィールドの「年月日書式データ」と比較していけばよい。
本例の場合、判定対象の文字列“2000年”は、その対応項目名「年度」が応用用語辞書52中において「年月日項目」区分として登録されている用語であることが判定され、かつ、表フォーマット上の最上行の項目定義データフィールドの記入文字列データ“2001年”…と同じ書式によって 記入されていることが確認される。
The format of the partial character string to be judged is obtained by analyzing the same procedure as the procedure for obtaining the “year / month / day format data” described above, and the “item definition data field of the same item name already obtained on the document” Compare with "Date format data".
In the case of this example, it is determined that the character string “2000” to be determined is a term whose corresponding item name “year” is registered as the “year / month / day item” category in the applied term dictionary 52, In addition, it is confirmed that the data is entered in the same format as the character string data “2001”... In the item definition data field on the top line in the table format.

ステップD10の確認が得られれば、該当文字列は4型の派生条件の形式と条件が満たされていると判定される。(ステップD11)
本システムにおいては、1つのデータフィールドと上記した「特定の対応付け」にあり、かつ、以上の形式と条件を満たしている文字列は、そのデータフィールドの「派生条件」の定義以外には用いないものとして、該当の文字列は、該当「派生データフィールド」の「派生条件文字列」として確定的に解釈される。
If the confirmation in step D10 is obtained, it is determined that the corresponding character string satisfies the format and condition of the type 4 derivative condition. (Step D11)
In this system, a character string that is in the above-mentioned “specific association” with one data field and satisfies the above format and conditions is used for purposes other than the definition of “derivative condition” of the data field. The corresponding character string is definitely interpreted as the “derived condition character string” of the corresponding “derived data field”.

本例の場合、「派生条件定義データ」は次のように作成される。同データの「基本部」内の「項目名テキスト」記入欄と「データ名テキスト」記入欄には、各々、該当の”年度”と“2000年”がセットされる。また、「演算指定部」内の「演算種別部」には、「対**比」に対応する該当コード”1”がセットされ、「演算オペランド区分部」には、「派生セル内データ」に対応するコード”0”がセットされる。   In this example, “derivative condition definition data” is created as follows. The corresponding “year” and “2000” are set in the “item name text” entry field and “data name text” entry field in the “basic part” of the data, respectively. In addition, in the “calculation type part” in the “calculation designation part”, the corresponding code “1” corresponding to “to ** ratio” is set, and in the “operation operand classification part”, “data in derived cell” A code “0” corresponding to is set.

「データ出力処理」(F1)においては、その先頭のステップM1において、「派生条件の4型」と判定され、「データ出力処理−1」(ステップM2)がおこなわれる。「データ出力処理−1」においては、ステップG7において、図10の場合と異なる処理がおこなわれる。
すなわち、ステップG7(図41)中のステップJ2「関連データ差異条件の判定」において、本例は「直接指定」の場合に当たることから、ステップJ5に分岐し、主レコード中の該当データを、「派生条件定義データ」中の「基本部」内「データ名テキスト部」のデータによって直接に置き換える。
In the “data output process” (F1), in the leading step M1, it is determined that the “derivative condition type 4”, and “data output process-1” (step M2) is performed. In “data output processing-1”, processing different from the case of FIG. 10 is performed in step G7.
That is, in step J2 “determination of related data difference condition” in step G7 (FIG. 41), this example corresponds to the case of “direct designation”. Therefore, the process branches to step J5 and the corresponding data in the main record is changed to “ It is directly replaced by the data in “Data name text part” in “Basic part” in “Derived condition definition data”.

本例の場合、集計管理テーブル第4行上の該当データ”を、データ“2000”によって置き換えることになる。以降の、「表内演算処理」(ステップF2)、「対応セル間演算処理」(ステップF3)、「文字列データ化処理」(ステップF4)は、図10の場合と同様におこなわれる。   In the case of this example, the “corresponding data on the fourth row of the tabulation management table” is replaced with the data “2000.” The following “in-table calculation process” (step F2), “corresponding cell calculation process” ( Step F3) and “character string data conversion processing” (step F4) are performed in the same manner as in FIG.

(他の使用例3)
次に、図9の表において、第3列、第5列、第7列の見出し語として記入された”対前年比”を、”前年値”に置き換えた表について、本システムがおこなう取り扱いについて説明する。
(Other usage example 3)
Next, in the table of FIG. 9, the handling performed by this system for the table in which “Year-on-Year comparison” entered as the headword in the third, fifth and seventh columns is replaced with “previous year” explain.

本例の場合、見出し語を”売上げ”とする第2列上、第4列上、第6列のデータフィールド内のの各セルは、各々、表フォーマットの同じ列上の最上行に記入されている“2001年”、“2002年”、“2003年”を、項目名「年度」についての関連データ条件とするが、見出し語を”前年値 ”とする第3列上、第5列上、第7列のデータフィールドの項目名「年度」についての関連データ条件は、各々、その左側に隣接するデータフィールドの項目名「年度」についての関連データ条件の「前年」にあたる年度になる。「年度」以外の項目名についての関連データ条件は、その左側に隣接する、第2列上、または、第4列上のデータフィールドの関連データ条件と全て同じである。   In this example, each cell in the data field of the second column, the fourth column, and the sixth column with the heading “Sales” is entered in the top row on the same column in the table format. "2001", "2002", and "2003" are related data conditions for the item name "FY", but the headword is "previous price" on the third and fifth columns The related data condition for the item name “year” of the data field in the seventh column is the year corresponding to “the previous year” of the related data condition for the item name “year” of the adjacent data field on the left side thereof. The related data conditions for the item names other than “year” are all the same as the related data conditions of the data field on the second column or the fourth column adjacent to the left side thereof.

この見出し語を”前年値”とする第3列上、第5列上、第7列上のデータフィールドは、各々、その左側に隣接する各データフィールドを「ベースデータフィールド」とする「派生データフィールド」として、以上の関連データ条件に基づいてデータが集計出力されるようになっている。この第3列上、第5列上、第7列の各「派生データフィールド」についての以上の記入条件を、ユーザは各々、その上に記入されている見出し語文字列”前年値”から読み取っている。   The data fields on the third column, the fifth column, and the seventh column that have the headword as “previous year value” are “derived data” in which each data field adjacent to the left side is “base data field”. As the “field”, data is tabulated and output based on the related data conditions described above. The user reads the above entry conditions for each “derived data field” in the third column, the fifth column, and the seventh column from the headword character string “previous year value” entered thereon. ing.

この派生条件に対する定義付けは、見出し語文字列”前年値”の中の部分文字列”前年”を「解釈指定」の定義要素”○”により囲めばよい。他の定義付けは、図10の場合と全く同様におこなわれる。以上の定義付けにより、上記したユーザが理解する意味が確定的に定義されることになる。   To define this derivation condition, the partial character string “previous year” in the headword character string “previous year value” may be enclosed by the definition element “o” of “interpretation designation”. Other definitions are made in the same manner as in FIG. With the above definition, the meaning understood by the user is definitely defined.

以上のように定義付けをおこなった用紙をシステムに入力すると、「派生フィールド定義処理」(ステップA3)までは、図10の場合と全く同じ処理がおこなわれる。
「派生フィールド定義処理」処理(ステップA3)においては、図10の場合と同じく、「派生条件指定語の判定」手順(図26)中のステップD1において、該当の文字列”前年”について、「解釈指定」定義要素記号”○”による指定が判定されるが、続くステップD2において、「演算指定2」区分内の応用用語辞書登録用語が検出されないことから、ステップD12に分岐する。
When the sheet with the definition as described above is input to the system, the same process as in FIG. 10 is performed until the “derived field definition process” (step A3).
In the “derived field definition processing” process (step A3), as in the case of FIG. 10, in step D1 in the “determination condition designation word determination” procedure (FIG. 26), for the corresponding character string “previous year” The designation by the “interpretation designation” definition element symbol “◯” is determined. However, in the subsequent step D2, the application term dictionary registered term in the “calculation designation 2” section is not detected, so the process branches to step D12.

ステップD12においては、「解釈指定」定義要素よって指定された文字列が、応用用語辞書52中において、「相対指定」区分として登録されていることを判定する。本例では、判定対象の文字列”前年”が、応用用語辞書52中において、「相対指定」区分の登録用語としてサーチされる。   In step D12, it is determined that the character string designated by the “interpretation designation” definition element is registered as a “relative designation” category in the applied term dictionary 52. In this example, the character string “previous year” to be determined is searched in the applied term dictionary 52 as a registered term in the “relative designation” category.

本例のように、ステップD12の判定が得られる場合は、続いて、応用用語辞書52中において、該当の登録用語と対応付けられ形で登録されている「所属項目名」を識別し、その「所属項目名」が、該当の表上において項目定義の対応項目名として定義されていることを確認する。(ステップD13)本例の場合、このステップD13において、該当の「所属項目名」”年度”が、表フォーマット最上行に定義されている項目定義データフィールドの対応項目名として定義されていることが確認される。   If the determination in step D12 is obtained as in this example, then, in the applied term dictionary 52, the “affiliation item name” registered in a form associated with the corresponding registered term is identified, Confirm that “Affiliation Item Name” is defined as the corresponding item name of the item definition on the corresponding table. (Step D13) In this example, in this step D13, the corresponding “affiliation item name” “year” is defined as the corresponding item name of the item definition data field defined in the top row of the table format. It is confirmed.

ステップD13の判定が得られると、2型の派生条件の形式と条件を満たすものとして判定される。(ステップD14)本例の場合、該当文字列”前年”は、このケースにあたることが判定される。本システムにおいては、1つのデータフィールドと上記した「特定の対応付け」にあり、かつ、以上の形式と条件を満たしている文字列は、そのデータフィールドの「派生条件」の定義以外には用いないものとして、該当の文字列は、該当複合フィールドの「派生条件文字列」として確定的に解釈される。   If the determination in step D13 is obtained, it is determined that the type 2 derivation condition type and condition are satisfied. (Step D14) In this example, it is determined that the corresponding character string “previous year” corresponds to this case. In this system, a character string that is in the above-mentioned “specific association” with one data field and satisfies the above format and conditions is used for purposes other than the definition of “derivative condition” of the data field. As such, the corresponding character string is definitely interpreted as the “derivative condition character string” of the corresponding composite field.

本例の場合、「派生条件定義データ」は、次のように作成される。先ず、上記「基本部」内の「登録語」記入欄に、応用用語辞書52中の該当の「代表名」”前年”がセットされ、「演算指定部」内の「演算種別部」には、「演算指定なし」に対応する該当コード”0”がセットされ、「演算オペランド区分部」には、「派生セルデータ」に対応するコード”0”がセットされる。   In this example, “derivative condition definition data” is created as follows. First, the corresponding “representative name” “previous year” in the applied term dictionary 52 is set in the “registered word” entry field in the “basic part”, and the “calculation type part” in the “calculation designation part” The corresponding code “0” corresponding to “No operation specified” is set, and the code “0” corresponding to “Derived cell data” is set in the “Operation operand section”.

また、「演算オペランド区分」が、本例のように「派生セルデータ」である場合、該当の派生エリア内データの所属項目名を「項目名テキスト」記入欄にセットする。
本例の場合、応用用語辞書52中の「相対指定」区分の登録用語”前年”について、ステップD4において参照した所属項目名「年度」を記入する。
Further, when the “operation operand classification” is “derived cell data” as in this example, the belonging item name of the data in the corresponding derived area is set in the “item name text” entry field.
In this example, for the registered term “previous year” in the “relative designation” category in the applied term dictionary 52, the affiliation item name “year” referred to in step D4 is entered.

「データ出力処理」(ステップF1)は、図10の場合と「関連データ差異条件」が同じであることから全く同じ処理がおこなわれる。「表内演算処理」(ステップF2)も同様におこなわれる。ただし、本例においては、続く「対応セル間演算 」(ステップF3)は、その中の最初のステップM1の判定において「派生条件定義データ」内の「演算種別部」に、「演算指定なし」の該当コードがセットされていることが参照され、それ以降の処理はスキップされることになる。以降の「文字列データ化処理」(ステップF4)は、図10の場合と全く同様におこなわれる。   The “data output process” (step F1) is exactly the same as the case of FIG. 10 because the “related data difference condition” is the same. The “in-table calculation process” (step F2) is similarly performed. However, in this example, the following “operation between corresponding cells” (step F3) is set to “no operation specified” in the “operation type part” in the “derivative condition definition data” in the first determination in step M1. It is referred to that the corresponding code is set, and the subsequent processing is skipped. The subsequent “character string data conversion processing” (step F4) is performed in exactly the same manner as in FIG.

(他の使用例4)
次に、図9の表において、第3列、第5列、第7列の見出し語として記入された”対前年比”を、“2000年値”に置き換えた表について、本システムがおこなう取り扱いについて説明する。
(Other use example 4)
Next, in the table of FIG. 9, this system will handle the table in which “Year-on-Year” entered as the headword in the third, fifth, and seventh columns is replaced with “2000 value”. Will be described.

本例の場合、見出し語を”売上げ”とする第2列上、第4列上、第6列上のデータフィールド内のの各セルは、各々、表フォーマットの同じ列上の最上行に記入されている“2001年”、“2002年”、“2003年”を、項目名「年度」についての関連データ条件とするが、見出し語を” 対2000年比”とする第3列上、第5列上、第7列上のデータフィールドの項目名「年度」についての関連データ条件は、全て、「2000年」である。「年度」以外の項目名についての関連データ条件は、その左側に隣接するデータフィールドの関連データ条件と全て同じである。   In the case of this example, each cell in the data field on the second column, the fourth column, and the sixth column with the heading “Sales” is entered in the top row on the same column in the table format. "2001", "2002", and "2003" are related data conditions for the item name "FY", but the headword is "compared to 2000" on the third column, The related data conditions for the item name “year” in the data field on the fifth column and the seventh column are all “2000”. The related data conditions for the item names other than “year” are all the same as the related data conditions of the data field adjacent to the left side thereof.

この見出し語を” 対2000年比”とする第3列上、第5列上、第7列上のデータフィールドは、各々、その左側に隣接する各データフィールドを「ベースデータフィールド」とする「派生データフィールド」として、その構成各セルには、以上の関連データ条件に基づいてデータが集計出力され、記入されるようになっている。   The data fields on the third column, the fifth column, and the seventh column that have this headword as “compared with 2000” are the data fields adjacent to the left side of each column as “base data fields”. As the “derived data field”, data is aggregated and output in each constituent cell based on the above related data conditions.

この第3列上、第5列上、第7列上の各「派生データフィールド」についての以上の記入条件を、ユーザは各々、その上に記入されている見出し語文字列“2000年”から読み取っている。   The user enters the above entry conditions for each “derived data field” on the third column, the fifth column, and the seventh column from the headword character string “2000” entered thereon, respectively. I'm reading.

この表中の第3列、第5列、第7列上の各「派生データフィールド」の派生条件指定語の定義付けとしては、その各見出し語文字列“2000年値”の中の部分文字列“2000年”を「データ名指定」の定義要素”[ ]”により囲めばよい。本例のように、この「データ名指定」の定義要素により囲んだ部分文字列が、同じ書面上の他の箇所において「データ名」として定義されていない場合には、図49の(ロ)に示すように、対応する項目名”年度”を、(青)色の定義支援記入情報により、該当の部分文字列“2000年”の近傍の適当位置に記入し、「項目名指定」の定義要素”<>”により囲んた上、定義要素の「結合線」により結ぶ。   In order to define the derivation condition designation word for each “derived data field” in the third, fifth, and seventh columns in this table, the partial characters in each headword character string “2000 value” are as follows. The column “2000” may be enclosed by the definition element “[]” of “Data name designation”. If the partial character string enclosed by the definition element of “data name designation” is not defined as “data name” elsewhere in the same document as in this example, (b) in FIG. As shown in the table, the corresponding item name “Year” is entered in the appropriate position near the corresponding partial character string “2000” using (blue) definition support entry information, and the definition of “item name designation” is defined. Enclose with element “<>” and connect with “join line” of definition element.

この項目名指定文字列との関係付けは、表の第3列、第5列、第7列上に繰返して記入されている3つの文字列”対2000年比”の中の任意の1つについておこなえばよい。 対応する項目名を該当の部分文字列に隣接して記入する場合は、この定義要素「結合線」による関係付けは省いてもよい。他の定義付けは、図10の場合と全く同様におこなわれる。以上の定義付けにより、上記したユーザが理解する意味が確定的に定義されることになる。   The relationship with the item name designation character string is any one of the three character strings “compared to 2000” repeatedly entered in the third, fifth, and seventh columns of the table. You can do it. When the corresponding item name is entered adjacent to the corresponding partial character string, the association by the definition element “joining line” may be omitted. Other definitions are made in the same manner as in FIG. With the above definition, the meaning understood by the user is definitely defined.

以上のように定義付けをおこなった用紙をシステムに入力すると、「派生フィールド定義処理」(ステップA3)までは、図10の場合と全く同じ処理がおこなわれる。「派生フィールド定義処理」処理(ステップA3)において、「派生条件文字列の判定」手順(図26)中のステップD1において、該当の文字列について「解釈指定」定義要素記号”○”による指定が判定されないことから、ステップD15の判定に分岐する。   When the sheet with the definition as described above is input to the system, the same process as in FIG. 10 is performed until the “derived field definition process” (step A3). In the “derived field definition processing” process (step A3), in step D1 in the “determination condition character string determination” procedure (FIG. 26), the corresponding character string is designated by the “interpretation designation” definition element symbol “◯”. Since it is not determined, the process branches to the determination in step D15.

ステップD15においては、該当の文字列に「データ名指定」の定義要素記号”[ ]” が付せられていることを判定し、この判定が得られれば、使用例2の場合と同様に、この記号によって括られた文字列が、同じ書面上の他の箇所において「データ名」として定義されていることを判定する。   In step D15, it is determined that the definition element symbol “[]” of “data name designation” is attached to the corresponding character string. If this determination is obtained, as in the case of the second usage example, It is determined that the character string enclosed by these symbols is defined as “data name” elsewhere in the same document.

この判定が得られなければ、「データ名指定」の定義要素記号によって括られた文字列に隣接して「項目名指定」の定義要素”<>”により囲まれた文字列が記入されているか、または、結合線により結ばれていることを判定する。
判定対象の文字列部分について、以上の判定が得られない時は、判定対象の文字列部分と同じ名称の文字列が、同じ書面上の他の箇所において、「項目名指定」の定義要素”<>”により囲まれた文字列と結合線により結ばれていることを判定する。
If this determination is not obtained, is a character string enclosed by the definition item “<>” of “item name specification” adjacent to the character string enclosed by the definition element symbol of “data name specification”? Or it is determined that they are connected by a connecting line.
If the above judgment cannot be obtained for the character string part to be judged, the character string with the same name as the character string part to be judged is defined as the “element name designation” definition element in other places on the same document. It is determined that the character string enclosed by <> ”is connected by a connecting line.

本例の場合、表の第3列上の判定対象の文字列“2000年”について、「項目名指定」の定義要素”<>”により囲まれた文字列”年度”が結合線により結ばれていることが検出され、ステップD15の判定が得られることから、表の第5列上と第7列上の判定対象の文字列“2000年”についても、ステップD15の判定が得られることになる。   In the case of this example, for the character string “2000” to be judged on the third column of the table, the character string “year” surrounded by the definition item “<>” of “item name designation” is connected by a connecting line. Since the determination in step D15 is obtained, the determination in step D15 is also obtained for the character string “2000” on the fifth column and the seventh column in the table. Become.

ステップD15において、以上の検出と判定が得られた場合、続いて、ステップD16とステップD17の確認処理をおこなう。ステップD16とステップD17の確認処理は、おのおの、前記したステップD9とステップD10の確認処理と同じ処理がおこなわれる。ステップD17の確認が得られれば、該当文字列は1型の差異条件の形式と条件が満たされていると判定される。(ステップD18)   If the above detection and determination are obtained in step D15, the confirmation processing in steps D16 and D17 is subsequently performed. The confirmation process of step D16 and step D17 is the same as the confirmation process of step D9 and step D10 described above. If confirmation in step D17 is obtained, it is determined that the character string satisfies the type 1 condition and condition of the type 1 difference condition. (Step D18)

本例の場合、判定対象の文字列“2000年”は、ステップD16の確認において、その項目名「年度」が、表フォーマット上において最上行の項目定義データフィールドの対応項目名としても定義されていることが確認され、また、ステップD17の確認において、この項目定義データフィールド内の記入文字列データ“2001年”…と同じ書式によって記入されていることが確認され、このケースに該当すると判定される。   In the case of this example, the character string “2000” to be determined is defined as the corresponding item name of the item definition data field on the top row in the table format in the confirmation in step D16. In the confirmation of step D17, it is confirmed that the data is entered in the same format as the character string data “2001”... In this item definition data field. The

本システムにおいては、1つのデータフィールドと上記した「特定の対応付け」にあり、かつ、以上の形式と条件を満たしている文字列は、そのデータフィールドの「派生条件」の定義以外には用いないものとして、該当の文字列は、該当複合フィールドの「派生条件文字列」として確定的に解釈される。   In this system, a character string that is in the above-mentioned “specific association” with one data field and satisfies the above format and conditions is used for purposes other than the definition of “derivative condition” of the data field. As such, the corresponding character string is definitely interpreted as the “derivative condition character string” of the corresponding composite field.

本例の場合、「派生条件定義データ」内の上記「基本部」内の「項目名テキスト」記入欄と「データ名テキスト」記入欄には、各々、該当の”年度”と“2000年”がセットされる。また、同データ内の「演算指定部」内の「演算種別部」には、「演算指定無し」に対応する該当コード”0”がセットされ、「演算オペランド区分部」には、「派生セル内データ」に対応するコード”0”がセットされる。   In this example, the “item name text” entry field and the “data name text” entry field in the “basic part” in the “derivative condition definition data” are respectively “year” and “2000”. Is set. In addition, in the “calculation type part” in the “calculation designation part” in the same data, the corresponding code “0” corresponding to “no operation designation” is set, and in the “operation operand classification part”, “derived cell” A code “0” corresponding to “internal data” is set.

「データ出力処理」(ステップF1)は、前記した「他の使用例2」の場合と「関連データ差異条件」が同じであることから、全く同じ処理がおこなわれる。「表内演算処理」(ステップF2)も同様におこなわれる。ただし、本例においては、「演算条件」が定義されていないことから、続く「対応セル間演算処理」(ステップF3)は、その中の最初のステップM1の判定において「派生条件定義データ」内の「演算種別部」に、「演算指定なし」の該当コードがセットされていることが参照され、それ以降の処理はスキップされることになる。以降の「文字列データ化処理」(ステップF4)は、図10の場合と全く同様におこなわれる。 The “data output process” (step F1) is performed in exactly the same way because the “related data difference condition” is the same as in the case of the “other use example 2”. The “in-table calculation process” (step F2) is similarly performed. However, in this example, since “calculation conditions” are not defined, the subsequent “inter-corresponding cell calculation processing” (step F3) is performed in the “derivation condition definition data” in the first determination in step M1. It is referred to that the corresponding code of “no operation specified” is set in the “operation type part”, and the subsequent processing is skipped. The subsequent “character string data conversion processing” (step F4) is performed in exactly the same manner as in FIG.

なお、図50に示す表フォーマットの場合について本システムが行なう取り扱いについて説明する。図50に示す表フォーマットに対する定義付け操作は、前記の場合と同様にしておこなわれる(同図の(青)色部分)。表外に共通条件として記入されているデータ“2003年”については、「 」の定義要素記号により括り、その左側隣接位置に、(青)の定義支援記入情報として文字列”年度”を記入し、「項目名」指定の定義要素記号により括っておく。   The handling performed by the system in the case of the table format shown in FIG. 50 will be described. The definition operation for the table format shown in FIG. 50 is performed in the same manner as described above (the (blue) color portion in FIG. 50). The data “2003” entered as a common condition outside the table is enclosed by the definition element symbol of “”, and the character string “FY” is entered as the (blue) definition support entry information at the left adjacent position. The definition element symbol specified by “Item name” is enclosed.

システムによる定義データ作成処理において、「フィールド定義データ」と「派生条件定義データ」までは、上記の同様に作成される。ただ、表外の共通条件のデータ“2003年”については、その「共通区分」欄に該当のコード“1”がセットされた「フィールド定義データ」が作成され、その「先頭セルデータアドレス」部には、セル列先頭セルのセルデータアドレスの代わりに、文字列“2003年”を表わす文字列データがセットされる。   In the definition data creation process by the system, “field definition data” and “derivative condition definition data” are created in the same manner as described above. However, for the common condition data “2003” outside the table, “field definition data” in which the corresponding code “1” is set in the “common category” column is created, and the “first cell data address” portion is created. The character string data representing the character string “2003” is set instead of the cell data address of the first cell in the cell string.

システムによる定義データ作成処理における「ベースデータフィールドの識別」処理(ステップP2)においては、左側から第3列、第5列の”対前年比”を見出し語とする各「派生データフィールド」について、その「ベースデータフィールド」は、ステップQ1、Q2においては定まらず、ステップQ3において、その各々に対して、第2列の”売上げ” を見出し語とする「指定データフィールド」と第4列上の”利益”を見出し語とする「指定データフィールド」が定まることになる。   In the “identification of base data field” process (step P2) in the definition data creation process by the system, for each “derived data field” having the headword “YoY comparison” in the third column and the fifth column from the left side, The “base data field” is not determined in steps Q1 and Q2. In step Q3, for each of them, “designated data field” having “sales” in the second column as an entry word and on the fourth column. A “designated data field” having “profit” as a headword is determined.

本例の場合、「データ出力処理」における集計管理テーブル上への「ベースレコード」のセット(ステップG3)においては、表から取り出される全てのベースレコード中に、項目名「年度」のデータ「2003年」がセットされる。派生レコードは、上記の場合と同様にして、「ベースレコード」から作成され、その上へのデータ出力によって、派生エリア内のデータを得ることができる。   In the case of this example, in the set of “base records” on the tabulation management table in “data output processing” (step G3), the data “2003” of the item name “year” is included in all the base records extracted from the table. Year "is set. The derived record is created from the “base record” in the same manner as described above, and the data in the derived area can be obtained by outputting data thereon.

実施例装置に一部の拡張と変更をおこない、上記した3型の派生条件の定義された「派生データフィールド」内へのデータ記入を、表内計算機能の形でおこなえるようにすることもできる。例えば、先に示した図48に示す表のフォーマット中の項目名”売上げ”のデータフィールドには、ユーザの手によりに、すでにデータが記入されているものとする。下端の行上の合計フィールドと”対全体比”を見出し語とする、第3列、第5列、第7列上の「派生データフィールド」にはデータは、未だ記入されていない。   It is also possible to partially extend and change the embodiment apparatus so that data entry in the “derived data field” in which the above-described three types of derivation conditions are defined can be performed in the form of an in-table calculation function. . For example, it is assumed that data has already been entered by the user in the data field of the item name “sales” in the format of the table shown in FIG. No data has been entered yet in the “derived data field” on the third, fifth, and seventh columns, with the total field on the bottom row and the “overall ratio” as the headword.

定義付け操作は、用紙上、または、画面において、先に「他の使用例1」において説明した場合と同じようにおこなわれ、各定義データも同様に作成される。ユーザが先に説明した「出力」指示操作(「出力実行」ボタンのクリック)に代え、表内計算を指示する特定の指示操作をおこなうと、システムは、先ず、各項目定義データフィールド内の記入数字を表わす文字列データを公知の方法により該当する数値データに変換した上、得られた数値データを該当するセルのセルデータ内「セル内データ格納部」に格納する。   The defining operation is performed on the paper or on the screen in the same manner as described in “Other use example 1”, and each definition data is created in the same manner. When the user performs a specific instruction operation for in-table calculation instead of the “output” instruction operation described above (clicking the “execute output” button), the system first fills in each item definition data field. Character string data representing numbers is converted into corresponding numerical data by a known method, and the obtained numerical data is stored in the “in-cell data storage unit” in the cell data of the corresponding cell.

続いて、システムは、「出力全体処理」の中、「表内演算処理」(F2)以降をおこなう。本例の場合、「表内演算処理」(F2)は、「通常データフィールド」と「ベースデータフィールド」のみについておこなわれる。「対応セル間演算」(F3)においては、上記した場合(「他の使用例1」)と同様にステップN5において、「特定指定値」が同様に求められ、「ベースセル」内のデータと上記のように求めた「特定指定値」との間で指定された演算がおこなわれる。演算結果データは、該当する「派生セル」のセルデータ内の「セル内データ格納部」に格納される。文字列データ化処理」(ステップF4)も、全く同様におこなわれる。   Subsequently, the system performs “in-table calculation processing” (F2) and subsequent steps in “total output processing”. In this example, the “in-table calculation process” (F2) is performed only for the “normal data field” and the “base data field”. In the “corresponding cell calculation” (F3), in the same manner as in the above case (“other usage example 1”), in step N5, the “specific designated value” is similarly obtained, and the data in the “base cell” An operation specified with the “specific specified value” obtained as described above is performed. The calculation result data is stored in the “in-cell data storage unit” in the cell data of the corresponding “derived cell”. The “character string data conversion process” (step F4) is performed in exactly the same manner.

なお、本発明は、上記した本発明の機能を実現するためのプログラムまたはソフトウェアを用いる。かかるソフトウェアは、任意の媒体を介して、たとえば蓄積媒体あるいはオンライン等により本発明のシステムにインストールされ得るものである。したがって、本発明を実施するためのソフトウェアを格納した蓄積媒体を業として譲渡する行為や、該ソフトウェアをオンラインでシステムにインストロールする行為等は本発明の実施の一形態である。   The present invention uses a program or software for realizing the functions of the present invention described above. Such software can be installed in the system of the present invention via an arbitrary medium, for example, by a storage medium or online. Therefore, an act of transferring a storage medium storing software for implementing the present invention as a business, an act of installing the software in a system online, and the like are one embodiment of the present invention.

本発明の一実施例による情報処理装置のハードウェア上のシステム構成例を示すブロック図である。It is a block diagram which shows the system configuration example on the hardware of the information processing apparatus by one Example of this invention. 実施例のシステムにおける主なモードの一覧を示す図である。It is a figure which shows the list of main modes in the system of an Example. 実施例のシステムにおける「主モードー覧メニュー画面」を示す図である。It is a figure which shows the "main mode-view menu screen" in the system of an Example. 実施例のシステムにおける「環境設定モード画面」を示す図である。It is a figure which shows the "environment setting mode screen" in the system of an Example. 実施例のシステムにおける「定義要素/記入情報対照表」を示す図である。It is a figure which shows the "definition element / entry information comparison table" in the system of an Example. 実施例のシステムにおける「定義要素識別データ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "definition element identification data" in the system of an Example. 実施例のシステムにおける「定義情報区別指示画面」を示す図である。It is a figure which shows the "definition information distinction instruction | indication screen" in the system of an Example. 実施例のシステムにおける「定義情報区別データ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "definition information distinction data" in the system of an Example. 実施例のシステムにおける第1の帳表フォーマットを示す図である。It is a figure which shows the 1st book table format in the system of an Example. 実施例のシステムにおける、第1の帳表フォーマットに定義支援記入情報を追加記入した一例を示す図である。It is a figure which shows an example which additionally entered the definition support entry information in the 1st book table format in the system of an Example. 実施例のシステムにおける文書入力および文書要素データ生成部の構成を示すブロック図である。It is a block diagram which shows the structure of the document input and document element data generation part in the system of an Example. 実施例のシステムにおける「画像管理データ」のデータフォーマット例を示す図である。It is a figure which shows the example of a data format of "image management data" in the system of an Example. 実施例のシステムにおける「画像管理データ」の対象となる入力画像の構成を示す図である。It is a figure which shows the structure of the input image used as the object of "image management data" in the system of an Example. 実施例のシステムにおける「文字データ」のデータフォーマット例を示す図である。It is a figure which shows the example of a data format of "character data" in the system of an Example. 実施例のシステムにおける「文字列データ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "character string data" in the system of an Example. 実施例のシステムにおける線分に対応する「図形要素データ」のデータフォーマット例を示す図である。It is a figure which shows the example of a data format of "graphic element data" corresponding to the line segment in the system of an Example. 実施例のシステムにおける長円に対応する「図形要素データ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "graphic element data" corresponding to an ellipse in the system of an Example. 実施例のシステムにおける矩形などに対応する「図形要素データ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "graphic element data" corresponding to the rectangle etc. in the system of an Example. 実施例のシステムにおける「セルデータ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "cell data" in the system of an Example. 実施例のシステムにおける定義情報認識およぴフオーマット設定部および定義実行処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the definition information recognition and format setting part in a system of an Example, and a definition execution process part. 実施例のシステムにおける「定義要素データ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "definition element data" in the system of an Example. 実施例のシステムにおける定義データ作成の全体手順の一例を示す図である。It is a figure which shows an example of the whole procedure of the definition data creation in the system of an Example. 実施例のシステムにおける「フィールド定義データ」のデータフォーマット例を示す図である。It is a figure which shows the example of a data format of the "field definition data" in the system of an Example. 実施例のシステムにおける「年度書式定義データ」のデータフォーマットを示す図である。It is a figure which shows the data format of the "year format definition data" in the system of an Example. 実施例のシステムにおける「派生条件の形式区分」を示す図である。It is a figure which shows the "form classification of a derivation condition" in the system of an Example. 実施例のシステムにおける「派生フィールド定義処理」のフローチャートを示す図である。It is a figure which shows the flowchart of the "derivation field definition process" in the system of an Example. 実施例のシステムにおける「派生条件判定」のフローチャートを示す図である。It is a figure which shows the flowchart of "derivation condition determination" in the system of an Example. 実施例のシステムにおける「派生条件判定」のフローチャートを示す図である。It is a figure which shows the flowchart of "derivation condition determination" in the system of an Example. 実施例のシステムにおける「派生条件判定」のフローチャートを示す図である。It is a figure which shows the flowchart of "derivation condition determination" in the system of an Example. 実施例のシステムにおける応用用語辞書に収載されている用語の例を示す図である。It is a figure which shows the example of the term currently contained in the application vocabulary dictionary in the system of an Example. 実施例のシステムにおける「応用用語定義データ」のデータフォーマット例を示す図である。It is a figure which shows the data format example of the "application term definition data" in the system of an Example. 実施例のシステムにおける「ベースフィールド識別」のフローチャートを示す図である。It is a figure which shows the flowchart of the "base field identification" in the system of an Example. 実施例のシステムにおける「派生条件定義データ」のデータフォーマット例を示す図である。It is a figure which shows the example of a data format of "derivative condition definition data" in the system of an Example. 実施例のシステムにおける「演算結果欄定義データ」のデータフォーマットを示す図である。It is a figure which shows the data format of the "calculation result column definition data" in the system of an Example. 実施例のシステムにおける画面上からの指示による定義付けの画面を示す図である。It is a figure which shows the screen of the definition by the instruction | indication from the screen in the system of an Example. 実施例のシステムにおける「項目名指定メニュー」の1例を示す図である。It is a figure which shows an example of the "item name designation menu" in the system of an Example. 実施例のシステムにおける出力元のファイルのレコード構成例を示す図である。It is a figure which shows the example of a record structure of the file of the output source in the system of an Example. 実施例のシステムにおいてデータ出力モード画面の1例を示す図である。It is a figure which shows an example of the data output mode screen in the system of an Example. 実施例のシステムにおける「データ出力全体処理」のフローチャートを示す図である。It is a figure which shows the flowchart of the "data output whole process" in the system of an Example. 実施例のシステムにおける「データ出力処理」のフローチャートを示す図である。It is a figure which shows the flowchart of the "data output process" in the system of an Example. 実施例のシステムにおける「データ出力処理1」のフローチャートを示す図である。It is a figure which shows the flowchart of the "data output process 1" in the system of an Example. 実施例のシステムにおける「集計管理テーブル」のイメージを示す図である。It is a figure which shows the image of the "total management table" in the system of an Example. 実施例のシステムにおける「レコードデータ出力処理」のフローチャートを示す図である。It is a figure which shows the flowchart of the "record data output process" in the system of an Example. 実施例のシステムにおける「派生レコード向けデータ変更処理」のフローチャートを示す図である。It is a figure which shows the flowchart of the "data change process for derivative records" in the system of an Example. 実施例のシステムにおける登録語「前年」にもとづく「データ変更処理」のフローチャートを示す図である。It is a figure which shows the flowchart of the "data change process" based on the registration word "previous year" in the system of an Example. 実施例のシステムにおける「対応セル間演算処理」のフローチャートを示す図である。It is a figure which shows the flowchart of the "corresponding cell calculation process" in the system of an Example. 実施例のシステムにおける図9の帳表フォーマットへのデータ出力例を示す図である。It is a figure which shows the example of a data output to the book table format of FIG. 9 in the system of an Example. 実施例のシステムにおける他の帳表フォーマットに定義支援記入情報を追加記入した一例を示す図である。It is a figure which shows an example which additionally filled in the definition assistance entry information in the other book table format in the system of an Example. 実施例のシステムにおける他の帳表フォーマットに定義支援記入情報を追加記入した一例を示す図である。It is a figure which shows an example which additionally filled in the definition assistance entry information in the other book table format in the system of an Example. 実施例のシステムにおける他の帳表フォーマットに定義支援記入情報を追加記入した一例を示す図である。It is a figure which shows an example which additionally filled in the definition assistance entry information in the other book table format in the system of an Example. 現行の技術を用いて、図9の帳表フォーマットへのデータ出力をおこなう場合に作成される表フォーマットの一例を示す図である。It is a figure which shows an example of the table format produced when performing the data output to the book table format of FIG. 9 using the present technique. 現行の技術を用いて、図9の帳表フォーマットへのデータ出力をおこなう場合に作成される表フォーマットの一例を示す図である。It is a figure which shows an example of the table format produced when performing the data output to the book table format of FIG. 9 using the present technique.

符号の説明Explanation of symbols

10 カラーイメージスキャナ
12 キーボード
14 マウス
15 ディジタイザ
16 内部メモリ
18 外部メモリ
20 表示装置
24 CPU
27 通信装置
30 文書画像入力部
32 文書画像記憶部
34 文字・図形要素認識部
36 文字/図形パターン辞書
37 文字・図形要素入力部
38 文書要素データ記憶部
40 文書画像表示出力部
42 定義要素データ生成部
44 定義要素データ記憶部
46 定義データ生成部
48 定義要素識別データ記憶部
50 定義情報区別データ記憶部
52 応用用語辞書
54 帳表定義データ記憶部
90 データ項目名
92 フィールド
94 定義要素指定副画面
95 定義解釈ボタン
96 項目名指定メニュー98 項目名記入欄
100 派生条件指定欄
104 フィールド書式指示欄
110 派生データフィールド側項目名記入欄
112 派生データフィールド側データ名記入欄
113 派生データフィールド側登録語記入欄
114 派生データフィールド側フィールド書式指示欄
115 演算記入欄
120 終了ボタン
130 派生条件指定エリア
10 Color Image Scanner 12 Keyboard 14 Mouse 15 Digitizer 16 Internal Memory 18 External Memory 20 Display Device 24 CPU
27 Communication Device 30 Document Image Input Unit 32 Document Image Storage Unit 34 Character / Graphic Element Recognition Unit 36 Character / Graphic Pattern Dictionary 37 Character / Graphic Element Input Unit 38 Document Element Data Storage Unit 40 Document Image Display Output Unit 42 Definition Element Data Generation Unit 44 definition element data storage unit 46 definition data generation unit 48 definition element identification data storage unit 50 definition information distinction data storage unit 52 applied term dictionary 54 book table definition data storage unit 90 data item name 92 field 94 definition element designation subscreen 95 Definition interpretation button 96 Item name designation menu 98 Item name entry field 100 Derived condition designation field 104 Field format instruction field 110 Derived data field side item name entry field 112 Derived data field side data name entry field 113 Derived data field side registered word entry field 114 Derived data field side field book Instruction column 115 operation entry column 120 end button
130 Derived condition specification area

Claims (17)

表フォーマット上の1つのデータ記入域に記入されるデータを規定するデータ記入条件が、同じ表フォーマット上の同一項目名を持つ他のデータ記入域のデータ、またはデータ記入条件を基準として、それに対する変更を指示するす派生条件の形式によって定義されているデータ記入域である派生記入域を含む表フォーマットのデータ入出力方法であって、1つの派生記入域について該当する派生条件の内容と上記した基準となるデータ記入域であるベース記入域を定めるステップと、
該当のベース記入域のデータ、またはデータ記入条件を識別した上、上記定めた派生条件定義内容にもとづいて、該当の派生記入域内のデータを生成するステップと、
を有する情報処理装置における表フォーマットデータ処理方法。
The data entry conditions that define the data to be entered in one data entry area on the table format are based on the data entry conditions of the other data entry areas having the same item name on the same table format or the data entry conditions. A table format data input / output method including a derived entry area that is a data entry area defined by the format of a derived condition that indicates a change. A step of defining a base entry area which is a reference data entry area;
Identifying the data in the base entry area or the data entry conditions, and generating the data in the derived entry area based on the definition of the derived condition defined above;
Table format data processing method in an information processing apparatus having
該当ベース記入域内の記入条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを表フォーマット上から識別するステップと、
派生条件として、ベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定めるステップと、
関連データ差異条件の定義内容にもとづいて、上記ベースレコードを構成する特定データに変更を加え、該当派生記入域の記入条件として、該当派生記入域内のデータと同時に参照されるべきデータ、または、該当派生記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせである派生レコードを生成するステップと、
を設け、上記派生レコード上へのデータ出力をおこなうことにより該当派生記入域内のデータを得ることを特徴とする請求項1に記載の方法。
The base record that is a combination of the data entry area of the data to be referred to simultaneously with the data in the corresponding base entry area or the data to be referred to at the same time as the data in the relevant base entry area as the entry condition in the applicable base entry area. Identifying from the table format;
As a derivation condition, a step of defining a related data difference condition that indicates a change to specific data constituting the base record,
Based on the definition of the related data difference condition, the specific data constituting the base record is changed, and the data to be referred to at the same time as the data in the corresponding derived entry area as the entry condition of the corresponding derived entry area, or the applicable Generating a derived record that is a combination of data entry areas of data to be referenced simultaneously with data in the derived entry area;
The method according to claim 1, further comprising: obtaining data in a corresponding entry entry area by outputting data on the derived record.
該当ベース記入域内のデータを第1のオペランドとして、それに対する特定の演算を指示する形で定義されている派生条件について、上記演算の種別を表わす演算指示条件、および、該当のベース記入域と同じ項目名を持つ、演算の第2のオペランドデータの生成条件を表わす演算オペランド条件を定めておくステップと、
該当の派生記入域について、該当の演算オペランド条件に基づいて、上記第2のオペランドデータを生成するステップと、
を設け、上記第1のオペランドである該当ベース記入域内のデータと上記第2のオペランドデータの間で、該当の演算指示条件により定まる演算をおこない、演算結果のデータを該当派生記入域内に記入することを特徴とする請求項1に記載の方法。
For the derivation condition defined in such a way that the data in the corresponding base entry area is designated as the first operand and a specific operation is designated for it, it is the same as the operation instruction condition indicating the type of the operation and the corresponding base entry area. Defining an operation operand condition having an item name and representing a condition for generating the second operand data of the operation;
Generating the second operand data for the derived entry area based on the operational operand condition;
Between the data in the corresponding base entry area, which is the first operand, and the second operand data, and the operation determined by the corresponding operation instruction condition is entered, and the result data is entered in the corresponding derived entry area. The method according to claim 1.
上記演算オペランド条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定めるステップと、
該当のベースレコードに対して、該当の関連データ差異条件に基づいた変更をおこなうことにより、該当「派生記入域」内へのデータ出力時に同時に参照されるべきデータまたはデータ記入域の組合わせである派生レコードを生成するステップと、
を設け、上記派生レコード上へのデータ出力をおこなうことにより、該当派生記入域内のデータを得て、この派生記入域内の出力データを上記第2のオペランドとすることを特徴とする請求項3に記載の方法。
Specification that constitutes a base record that is a combination of data to be referred to at the same time as data in the corresponding base entry area or data entry area of data to be referred to at the same time as data in the relevant base entry area as the above-mentioned operation operand condition Defining relevant data variance conditions that direct changes to the data;
This is a combination of data or data entry areas that should be referred to at the same time when data is output to the corresponding “derived entry area” by making changes based on the relevant data difference conditions for the relevant base record. Generating a derived record;
The data in the derived entry area is obtained by outputting data on the derived record, and the output data in the derived entry area is used as the second operand. The method described.
ユーザが日常、上記関連データ差異条件を表わすために使用する特定用語をその所属項目名と対応付けて、他の登録用語と区分して辞書手段に登録しておいた上、該当派生記入域に関連付けた文字列について、上記辞書登録用語をサーチすることによって、辞書に登録した意味にしたがった関連データ差異条件の定義内容を定める請求項2または4に記載の方法。   A specific term used by a user on a daily basis to express the above related data difference condition is associated with its belonging item name, separated from other registered terms and registered in the dictionary means, and then entered in the corresponding entry entry area. 5. The method according to claim 2, wherein, for the associated character string, the definition content of the related data difference condition according to the meaning registered in the dictionary is determined by searching the dictionary registration term. ユーザが日常、上記演算指示条件として使用する特定用語、または、上記演算オペランド条件として使用する特定用語を、互いに区分して辞書手段に登録しておくステップと、
使用言語の構文規則により定まっている、1つの文字列を構成する上記各区分に所属する用語間の配置順序に基づいて、派生記入域について対応付けた文字列上から、上記各区分に所属する登録用語をサーチ識別するステップと、
を設け、サーチ識別した各区分に所属する登録用語の意味に基づいて、演算指示条件と演算オペランド条件の内容を定めることを特徴とする請求項3または4に記載の方法。
A step in which a specific term used by the user as a daily operation instruction condition or a specific term used as the operation operand condition is registered in the dictionary means separately from each other;
Based on the arrangement order of terms belonging to each of the above-mentioned sections constituting one character string, which is determined by the syntax rules of the language used, it belongs to each of the above-mentioned sections from the character string associated with the derived entry area. Searching and identifying registered terms;
5. The method according to claim 3, further comprising: defining contents of an operation instruction condition and an operation operand condition based on a meaning of a registered term belonging to each category identified by search.
上記辞書を参照して、該当の特定登録用語の所属項目名を識別するステップと、
識別した所属項目名について定まっている所属データの順序列において、該当ベース記入域内のデータを起点として該当登録用語の意味が表わす変化分だけシフトした順序列上位置にあるデータを求めるステップと、
を設け、該当ベース記入域について作成したベースレコード中の該当項目名のデータを該当登録用語に基づいて求めた上記データにより置き換え、該当の派生レコードを作成することを特徴とする請求項5に記載の方法。
Referring to the dictionary and identifying the belonging item name of the particular registered term;
Obtaining the data in the position on the order sequence shifted by the change represented by the meaning of the corresponding registered term starting from the data in the corresponding base entry area in the order sequence of the belonging data determined for the identified belonging item name;
6. The corresponding record is created by replacing the data of the corresponding item name in the base record created for the corresponding base entry area with the data obtained based on the corresponding registered term, and generating the corresponding derived record. the method of.
ユーザが日常、上記演算指示条件として使用する特定用語を他の登録用語と区分して辞書手段に登録しておき、上記登録用語を該当派生記入域に関連付けることによって、
該当登録用語が表わす意味にしたがった演算種別を定めることを特徴とする請求項3または4に記載の方法。
By registering the specific term used as the calculation instruction condition on a daily basis by the user in the dictionary means separately from other registered terms, and associating the registered term with the corresponding entry entry area,
The method according to claim 3 or 4, wherein an operation type is determined according to the meaning represented by the corresponding registered term.
ユーザが日常、上記演算オペランド条件として使用する特定用語を他の登録用語と区分して辞書手段に登録しておくステップと、
この特定登録用語を 該当派生記入域に関連付けるステップと、
該当登録用語の意味にしたがって、該当の表フォーマット上からデータを読み出した上、該当登録用語の意味により定まる演算をおこなうステップと、
を設け、得られた演算結果のデータを上記第2のオペランドとすることを特徴とする請求項3に記載の方法。
A step of registering a specific term used as an arithmetic operand condition by the user on a daily basis separately from other registered terms in the dictionary means;
Associating this particular registered term with the corresponding derived area;
In accordance with the meaning of the corresponding registered term, after reading data from the corresponding table format, performing a calculation determined by the meaning of the relevant registered term;
The method according to claim 3, wherein the operation result data obtained is used as the second operand.
該当の文字列に対して、上記辞書、または、使用言語の構文規則に基づいて、解析される定義内容構成情報であることを指定する特定指定操作を加えることを特徴とする請求項5または6に記載の方法。   7. A specific designating operation for designating that the character string is definition content configuration information to be analyzed based on the dictionary or a syntax rule of a language to be used. The method described in 1. 該当の文字列に対して、辞書、または、使用言語の構文規則に基づいて、解析される定義内容構成情報であることを示す特定の図形的特徴付けを付すことを特徴とする請求項5または6に記載の方法。   6. The specific characterizing that indicates that the character string is the definition content configuration information to be analyzed based on a dictionary or a syntax rule of a language to be used is attached to the corresponding character string. 6. The method according to 6. 表フォーマット上において各ベース記入域と各派生記入域と同一行、または、同一列上にあり、かつ、該当のベース記入域と派生記入域の項目名とは異なる項目名に属するデータを識別するステップと、
表フォーマットの行方向、および、列方向の両方向において、上記した同一行/列上にあり、かつ、かつ、該当のベース記入域と派生記入域の項目名とは異なる項目名に属するデータを共有するベース記入域と派生記入域の組み合わせを識別するステップと、
を備えることによって、表フォーマット上におけるベース記入域と派生記入域の組み合わせを識別することを特徴とする請求項1に記載の方法。
Identifies data that is on the same row or column as each base entry area and each derived entry area in the table format, and that belongs to an item name that is different from the item names in the corresponding base entry area and derived entry area Steps,
Share data belonging to item names that are on the same row / column as described above and that are different from the item names in the corresponding base entry area and derived entry area in both the row and column directions of the table format. Identifying the combination of base and derived entry areas to be performed;
The method of claim 1, wherein a combination of a base entry area and a derived entry area on a table format is identified by comprising:
表フォーマット上において同一行または同一列上にあり、かつ、同一項目名のベース記入域からなる第1のデータ記入域の集合に対して、第1の演算結果記入欄を対応付けるステップと、
上記第1のデータ記入域の集合を構成する各ベース記入域に対応する各派生記入域から構成される第2のデータ記入域の集合に対して、第2の演算結果記入欄を対応付けるステップと、
上記第1の集合を構成する各ベース記入域内のデータに対して、第1の演算結果記入欄について定められている演算をおこない、演算結果のデータを第1の演算結果記入欄に記入するステップと、
上記第2の集合を構成する各派生記入域にデータファイルから出力された各データに対して、第1の演算結果記入欄について定められている演算をおこない、その演算結果のデータと第1の演算結果記入欄内のデータとの間で、上記演算指示条件にしたがった演算をおこない、演算結果のデータを第2の演算結果記入欄にに記入するステップと、
を有する請求項2に記載の方法。
Associating a first operation result entry field with a set of first data entry areas that are on the same row or in the same column on the table format and are composed of base entry areas having the same item names;
Associating a second calculation result entry field with a second set of data entry areas comprising each derived entry area corresponding to each base entry area constituting the first set of data entry areas; ,
A step of performing an operation defined for the first operation result entry column for the data in each base entry area constituting the first set and entering the operation result data in the first operation result entry column When,
For each data output from the data file in each derived entry area constituting the second set, an operation defined for the first operation result entry field is performed, and the operation result data and the first Performing a calculation in accordance with the calculation instruction condition with the data in the calculation result entry column, and entering the calculation result data in the second calculation result entry column;
The method of claim 2 comprising:
表フォーマット上の1つのデータ記入域に記入されるデータを規定するデータ記入条件が、同じ表フォーマット上の同一項目名を持つ他のデータ記入域のデータ、またはデータ記入条件を基準として、それに対する変更を指示するす派生条件の形式によって定義されているデータ記入域である派生記入域を含む表フォーマットのデータ入出力装置であって、1つの派生記入域について該当する派生条件の内容と上記した基準となるデータ記入域であるベース記入域を定める手段と、
該当のベース記入域のデータ、またはデータ記入条件を識別した上、上記定めた派生条件定義内容にもとづいて、該当の派生記入域内のデータを生成する手段と、
を有する表フォーマットデータ処理装置。
The data entry conditions that define the data to be entered in one data entry area on the table format are based on the data entry conditions of the other data entry areas having the same item name on the same table format or the data entry conditions. A data input / output device in a table format that includes a derived entry area that is a data entry area defined by the format of a derived condition that indicates a change. Means for defining a base entry area, which is a standard data entry area;
Means for identifying the data in the corresponding base entry area or the data entry conditions and generating data in the corresponding entry entry area based on the definition of the derived condition defined above;
A table format data processing apparatus.
該当ベース記入域内の記入条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを表フォーマット上から識別する手段と、
派生条件として、ベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定める手段と、
関連データ差異条件の定義内容にもとづいて、上記ベースレコードを構成する特定データに変更を加え、該当派生記入域の記入条件として、該当派生記入域内のデータと同時に参照されるべきデータ、または、該当派生記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせである派生レコードを生成する手段と、
を設け、上記派生レコード上へのデータ出力をおこなうことにより該当派生記入域内のデータを得ることを特徴とする請求項14に記載の表フォーマットデータ処理装置。
The base record that is a combination of the data entry area of the data to be referred to simultaneously with the data in the corresponding base entry area or the data to be referred to at the same time as the data in the relevant base entry area as the entry condition in the applicable base entry area. Means for identifying from the table format;
As a derivation condition, a means for defining a related data difference condition that instructs a change to the specific data constituting the base record;
Based on the definition of the related data difference condition, the specific data constituting the base record is changed, and the data to be referred to at the same time as the data in the corresponding derived entry area as the entry condition of the corresponding derived entry area, or the applicable Means for generating a derived record that is a combination of data fields of data to be referenced simultaneously with data in the derived fields;
15. The table format data processing apparatus according to claim 14, wherein the data in the corresponding entry entry area is obtained by outputting data on the derived record.
該当ベース記入域内のデータを第1のオペランドとして、それに対する特定の演算を指示する形で定義されている派生条件について、上記演算の種別を表わす演算指示条件、および、該当のベース記入域と同じ項目名を持つ、演算の第2のオペランドデータの生成条件を表わす演算オペランド条件を定めておく手段と、
該当の派生記入域について、該当の演算オペランド条件に基づいて、上記第2のオペランドデータを生成する手段と、
を設け、上記第1のオペランドである該当ベース記入域内のデータと上記第2のオペランドデータの間で、該当の演算指示条件により定まる演算をおこない、演算結果のデータを該当派生記入域内に記入することを特徴とする請求項14に記載の表フォーマットデータ処理装置。
For the derived condition defined in the form of designating a specific operation for the data in the corresponding base entry area as the first operand, the same as the operation instruction condition indicating the type of the operation and the corresponding base entry area Means for defining an operation operand condition having an item name and representing a condition for generating the second operand data of the operation;
Means for generating the second operand data for the derived entry area based on the operation operand condition;
Between the data in the corresponding base entry area, which is the first operand, and the second operand data, and an operation determined by the corresponding operation instruction condition is entered, and the result data is entered in the corresponding derived entry area. 15. The table format data processing apparatus according to claim 14, wherein the table format data processing apparatus is a table format data processing apparatus.
上記演算オペランド条件として、該当ベース記入域内のデータと同時に参照されるべきデータ、または、該当ベース記入域内のデータと同時に参照されるべきデータのデータ記入域の組合わせであるベースレコードを構成する特定データに対する変更を指示する関連データ差異条件を定める手段と、
該当のベースレコードに対して、該当の関連データ差異条件に基づいた変更をおこなうことにより、該当「派生記入域」内へのデータ出力時に同時に参照されるべきデータまたはデータ記入域の組合わせである派生レコードを生成する手段と、
を設け、上記派生レコード上へのデータ出力をおこなうことにより、該当派生記入域内のデータを得て、この派生記入域内の出力データを上記第2のオペランドとすることを特徴とする請求項16に記載の表フォーマットデータ処理装置。
Specification that constitutes a base record that is a combination of data to be referred to at the same time as data in the corresponding base entry area or data entry area of data to be referred to at the same time as data in the relevant base entry area as the above-mentioned operation operand condition A means for defining relevant data difference conditions that direct changes to the data;
This is a combination of data or data entry areas that should be referred to at the same time when data is output to the corresponding “derived entry area” by making changes based on the relevant data difference conditions for the relevant base record. A means of generating a derived record;
The data in the derived entry area is obtained by outputting data on the derived record, and the output data in the derived entry area is used as the second operand. The table format data processing device described.
JP2004305623A 2004-10-20 2004-10-20 Method and apparatus for processing table format data Pending JP2006119816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004305623A JP2006119816A (en) 2004-10-20 2004-10-20 Method and apparatus for processing table format data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004305623A JP2006119816A (en) 2004-10-20 2004-10-20 Method and apparatus for processing table format data

Publications (1)

Publication Number Publication Date
JP2006119816A true JP2006119816A (en) 2006-05-11

Family

ID=36537658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004305623A Pending JP2006119816A (en) 2004-10-20 2004-10-20 Method and apparatus for processing table format data

Country Status (1)

Country Link
JP (1) JP2006119816A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011210236A (en) * 2010-02-09 2011-10-20 Konica Minolta Laboratory Usa Inc System and method for processing markup language specified spreadsheet style

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011210236A (en) * 2010-02-09 2011-10-20 Konica Minolta Laboratory Usa Inc System and method for processing markup language specified spreadsheet style

Similar Documents

Publication Publication Date Title
JP4356847B2 (en) Field definition information generation method, line and field definition information generation device
US7996761B2 (en) Table format data processing method and table format data processing
JP3425408B2 (en) Document reading device
CN102016837B (en) System and method for classification and retrieval of Chinese-type characters and character components
CN101430758B (en) Document recognizing apparatus and method
CN110738037B (en) Method, apparatus, device and storage medium for automatically generating electronic form
US8065267B2 (en) Information processing device, file data merging method, file naming method, and file data output method
US20070098263A1 (en) Data entry apparatus and program therefor
EP0855655A2 (en) Parts selection apparatus and parts selection system with cad function
JP2008052312A (en) Operation specification extraction support system
JP2010015458A (en) Program correction support system, program correction support method, and program correction support program
JP5446877B2 (en) Structure identification device
JP4734551B2 (en) Table format data processing method and table format data processing apparatus
JP2006119816A (en) Method and apparatus for processing table format data
JP4736089B2 (en) Information processing apparatus, file data merging method, and file name assigning method
JP4462508B2 (en) Information processing apparatus and definition information generation method
JP4405604B2 (en) Information processing apparatus and definition method
JPH11316792A (en) Information processor and slip creating method
JP2004127059A (en) Information processing method and device
JP2001357342A (en) Information processing method and information processor
JP2000163271A (en) Method and apparatus for information processing
JP2000315243A (en) Information processor and graph defining method
CN115759020A (en) Form information extraction method, form template configuration method and electronic equipment
JP2011243152A (en) Business form system construction support device
JP2000155794A (en) Information processor and method for information processing