JPH077407B2 - Text verification processing method - Google Patents

Text verification processing method

Info

Publication number
JPH077407B2
JPH077407B2 JP1157978A JP15797889A JPH077407B2 JP H077407 B2 JPH077407 B2 JP H077407B2 JP 1157978 A JP1157978 A JP 1157978A JP 15797889 A JP15797889 A JP 15797889A JP H077407 B2 JPH077407 B2 JP H077407B2
Authority
JP
Japan
Prior art keywords
text
edition
new
old
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1157978A
Other languages
Japanese (ja)
Other versions
JPH0322168A (en
Inventor
潤一 大島
Original Assignee
株式会社ピーエフユー
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 株式会社ピーエフユー filed Critical 株式会社ピーエフユー
Priority to JP1157978A priority Critical patent/JPH077407B2/en
Publication of JPH0322168A publication Critical patent/JPH0322168A/en
Publication of JPH077407B2 publication Critical patent/JPH077407B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔概 要〕 文字の追加によって新版を生成する際のテキスト検証処
理方式に関し, テキストを改版した際の検証を確実かつ効率良く行える
ようにすることを目的とし, 旧版のテキスト(2)から新版のテキスト(2)を生成
する機能を備えたデータ処理装置において, 前記旧版のテキスト(2)への文字の追加によって前記
新版のテキスト(2)を生成するエディタ(3)と, 前記旧版及び新版のテキスト(2)を比較することによ
って前記新版のテキスト(2)の検証を行うテキスト検
証部(4)とを設け, 前記エディタ(3)が,前記新版のテキスト(2)の生
成において,追加された部分に対応して当該追加された
部分を特定する所定のマークを付して他の部分と区別可
能にした新版のテキスト(2)を生成するよう構成され
ると共に, 前記テキスト検証部(4)が,前記所定のマークの存在
を検出して,前記新版のテキスト(2)の中の前記所定
のマークにて特定された前記追加された部分を除いた前
記他の部分と前記旧版のテキスト(2)とを比較するよ
う構成され, 前記新版のテキスト(2)中における前記旧版のテキス
ト(2)と異なっている部分について検証を行う ことを特徴とする。
DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding a text verification processing method when a new edition is generated by adding characters, the purpose is to enable reliable and efficient verification when the text is revised. In a data processing device having a function of generating a new version text (2) from a text (2), an editor (3) that generates a new version text (2) by adding characters to the old version text (2). And a text verification unit (4) for verifying the text (2) of the new edition by comparing the text (2) of the old edition and the text of the new edition (2). ), A new version of the text (2) is created, which corresponds to the added portion and is given a predetermined mark to identify the added portion so as to be distinguishable from other portions. In addition, the text verification unit (4) detects the presence of the predetermined mark, and the added text specified by the predetermined mark in the new edition text (2) is added. The method is configured to compare the other part excluding the part with the old text (2), and verify the part of the new text (2) different from the old text (2). Is characterized by.

〔産業上の利用分野〕[Industrial application field]

本発明はテキスト検証処理方式に関し,更に詳しくは,
文字の追加によって新版を生成する際のテキスト検証処
理方式に関する。
The present invention relates to a text verification processing method, and more specifically,
The present invention relates to a text verification processing method when generating a new version by adding characters.

テキストファイル(テキスト)が数版に亘り出荷される
ことがある。この場合,通常,改版時においてテキスト
修正を伴うので,新版のテキストについてその内容を検
証する必要がある。特に,テキスト修正時に旧版凍結部
(修正されない部分)について不所望の変化を与えたか
否かの検証を行う必要がある。
A text file (text) may be shipped in several editions. In this case, the text is usually revised at the time of revision, so it is necessary to verify the contents of the new edition text. In particular, it is necessary to verify whether or not an undesired change has been made to the old version frozen part (the part that is not modified) when modifying the text.

〔従来の技術〕[Conventional technology]

第3図は従来技術説明図である。 FIG. 3 is an explanatory view of a conventional technique.

第3図において,1はデータ処理装置,2はテキスト(テキ
ストファイル),3はエディタ,5はテキスト2の内容を出
力したリストである。
In FIG. 3, 1 is a data processing device, 2 is a text (text file), 3 is an editor, and 5 is a list which outputs the contents of the text 2.

今,第n−1版のテキスト2(テキストn−1と言う。
以下,同じ)からエディタ3によって生成した旧版のテ
キストnが存在し,更に,テキストnを改版して新版の
テキストn+1を生成するものとする。
Now, the text-1 of the n-1th edition (referred to as text n-1).
Hereinafter, it is assumed that there is an old version of text n generated by the editor 3 from the same), and the text n is further revised to generate a new version of text n + 1.

この場合,エディタ3によってテキストnを修正してテ
キストn+1を生成する。これと共に,前述した検証を
行うために,新旧のテキスト2の内容がリスト5とし
て,データ処理装置1の出力装置から出力される。即
ち,テキストn及びn+1の内容が,各々,目視できる
形態のリストn及びn+1として得られる。
In this case, the editor 3 corrects the text n to generate the text n + 1. Together with this, the contents of the old and new texts 2 are output as a list 5 from the output device of the data processing device 1 in order to perform the above-mentioned verification. That is, the contents of the text n and n + 1 are obtained as a list n and n + 1 in a visible form, respectively.

次に,例えばテキストn+1の作成者が,リストn及び
n+1を目視によって比較照合することによって前記検
証を行う。
Then, for example, the creator of the text n + 1 performs the verification by visually comparing and collating the lists n and n + 1.

この検証の結果,エラーがなければ,テキストn+1を
新版のテキスト2として出荷する。
If there is no error as a result of this verification, the text n + 1 is shipped as the text 2 of the new edition.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

前述の従来技術によれば,新版のテキスト2の検証は,
人間が目視により2つのリスト5を照合することによっ
て行っているために,検証それ自体が確実性に欠くうえ
に,その効率も悪いという問題があった。
According to the prior art mentioned above, the verification of the new version of Text 2 is
There is a problem in that the verification itself lacks certainty and its efficiency is poor because humans visually check the two lists 5.

一方,ファイル(テキスト)比較プログラムを作成しこ
れを用いて前記検証を行うことも考えられるが,この場
合,新旧テキスト(n及びn+1)の比較が困難であっ
たり,何度も比較を部分的に繰り返す必要が生じるとい
う問題がある。なお,これは,従来,テキストが,その
改版時に旧版凍結部(修正されないで旧版のまま残る部
分)と新版追加部(修正により新たに追加又は削除され
た部分)とが,明確に分離された構成とされていなかっ
たことによる。
On the other hand, it is possible to create a file (text) comparison program and perform the verification using this program, but in this case, it is difficult to compare the old and new texts (n and n + 1), or the comparison is partially repeated. There is a problem that it is necessary to repeat. It should be noted that, in the past, when the text was revised, the old version freeze section (the section that was not modified and remains the old version) and the new version addition section (the section that was newly added or deleted by the modification) were clearly separated. Because it was not configured.

本発明は,テキストを改版した際の検証を確実かつ効率
良く行えるようにしたテキスト検証処理方式を提供する
ことを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a text verification processing method capable of reliably and efficiently performing verification when a text is revised.

〔課題を解決するための手段〕[Means for Solving the Problems]

第1図は本発明の原理構成図であり,本発明によるデー
タ処理装置を示している。
FIG. 1 is a principle block diagram of the present invention, showing a data processing device according to the present invention.

第1図において,1はデータ処理装置,2はテキスト(テキ
ストファイル)、3はエディタ(テキストエディタ).4
はテキスト検証部(ベリファイア)である。
In FIG. 1, 1 is a data processing device, 2 is a text (text file), 3 is an editor (text editor).
Is a text verifier.

データ処理装置1は,旧版(第n版とする)のテキスト
2(テキストn)から新版(第n+1版とする)のテキ
スト2(テキストn+1)を生成する機能を備え,更
に,テキストn+1を検証する機能を備える。生成機能
及び検証機能は、各々,エディタ3及びベリファイア4
によって実現される。
The data processing device 1 has a function of generating a text 2 (text n + 1) of a new edition (n + 1th edition) from a text 2 (text n) of an old edition (nth edition), and further verifies the text n + 1. It has a function to do. The generation function and the verification function are the editor 3 and the verifier 4, respectively.
Is realized by

エディタ6は,テキストnへの文字(文字列)の追加の
みによってこれを修正し,テキストn+1を生成する。
なお,本明細書においては,「追加」は「削除」をも含
むものである。
The editor 6 corrects this only by adding a character (character string) to the text n to generate the text n + 1.
In addition, in this specification, "addition" includes "deletion".

エディタ3は,また,テキストn+1において,テキス
トnに追加された部分(新版追加部)に所定のマークを
付して,他の部分即ちテキストnのまま修正されないで
残された部分(旧版凍結部)とを区別可能とする。
The editor 3 also attaches a predetermined mark to a portion (new edition added portion) added to the text n + 1 in the text n + 1, and other portion, that is, a portion left uncorrected as the text n (old edition frozen portion). ) And can be distinguished.

ベリファイア4は,テキストnとテキストn+1とを比
較して,テキストn+1の検証,特に,その旧版凍結部
についての検証を行う。このために,ベリファイア4
は,前記所定のマークを識別可能とされる。
The verifier 4 compares the text n and the text n + 1, and verifies the text n + 1, in particular, the frozen part of the old version. For this reason, verifier 4
Allows the predetermined mark to be identified.

〔作 用〕[Work]

エディタ3は,生成するテキストn+1を,旧版凍結部
と新版追加部とに明確に分離された構成とし,更に、こ
れら2つの部分を区別するための所定のマークを新版追
加部に付した構成とする。
The editor 3 has a structure in which the generated text n + 1 is clearly separated into an old version frozen part and a new version added part, and a predetermined mark for distinguishing these two parts is added to the new version added part. To do.

このような構成のテキストn+1について,ベリファイ
ア4は,まず,所定のマークを識別し,これに基づいて
テキストn+1から新版追加部を除き,次に,テキスト
n+1の旧版凍結部とテキストnとを比較する。この比
較の結果,旧版凍結部がテキストnと一致すればエラー
がなかったことが検証でき,一方,エラーが存在すれば
これを修正することができる。必要があれば,この修正
の後,再び,ベリファイア4によって検証を行うことが
できる。
For the text n + 1 having such a structure, the verifier 4 first identifies a predetermined mark, and based on this, removes the new edition addition from the text n + 1, and then extracts the old edition frozen portion of the text n + 1 and the text n. Compare. As a result of this comparison, it can be verified that there is no error if the old version frozen part matches the text n, while it can be corrected if there is an error. If necessary, after this correction, the verifier 4 can perform verification again.

〔実施例〕〔Example〕

第2図は本発明によるテキスト検証処理フローである。 FIG. 2 is a text verification processing flow according to the present invention.

以下,第2図に従って,データ処理装置1におけるテキ
スト検証処理について説明する。
The text verification process in the data processing device 1 will be described below with reference to FIG.

エディタ3(又はデータ処理装置1)は,テキスト
nのコピーとしてテキストnoを作成する。このために,
テキストnのファイルFをコピーしてテキストnoのファ
イルFoを作成し,これを保存する。
The editor 3 (or the data processing device 1) creates the text no as a copy of the text n. For this,
The file F of the text n is copied to create the file Fo of the text no, and this is saved.

エディタ3は,テキストnと共に,テキストn+1
の新版追加部を取り込む。この時,新版追加部には,こ
れを識別するためのマークがその前後に付されている。
Editor 3 displays text n + 1 together with text n
Incorporates the new edition addition part of At this time, a mark for identifying the new edition is added before and after it.

以上の入力を受けたエディタ3は,ファイルF(テキス
トn)に対して,新版追加部及びその前後のマークを追
加する(埋込む)。例えば,ファイルF上に存在する文
字列 ABCDEFGHIJK に対して,文字「F」の後に文字列n「0123」を追加す
る場合,マークを とすると の如くにされる。
The editor 3 that has received the above input adds (embeds) the new version addition portion and the marks before and after it to the file F (text n). For example, if you want to add the character string “0123” after the character “F” to the character string ABCDEFGHIJK existing in the file F, mark And It is done like.

ファイルF上の文字列を削除する場合には, とは異なるマーク,例えば を用いて,ファイルF上に存在する文字列 ABCDEFGHIJK について「DEF」を削除する場合には, の如くされる。To delete the character string on file F, Marks different from, eg To delete "DEF" for the character string ABCDEFGHIJK existing in file F using It is done like.

なお,本願にいう検証が終了した後には,上記第1の例
では が抹消されて,新版のテキストは ABCDEF0123GHIJK となるし,上記第2の例では が抹消されて,新版のテキストは ABCGHIJK となることは言うまでもない。
After the verification referred to in the present application is completed, in the first example above, Is deleted, and the new version text becomes ABCDEF0123GHIJK. In the second example above, Needless to say, the new text will be ABCGHIJK.

ファイルF上の文字列の全ての修正は,追加と削除の組
合わせ(本明細書における追加)によって行い得る。
All modifications of the character string on the file F can be performed by a combination of addition and deletion (addition in this specification).

なお,マークは,新版追加部に付すものとしたが,旧版
凍結部に付すようにしてもよく,両者の区別が可能であ
ればよい。
Although the mark is attached to the new edition addition portion, it may be attached to the old edition frozen portion as long as the two can be distinguished.

前述の追加の処理をくり返すことによって,ファイルF
上にテキストn+1が生成される。なお,この時点での
テキストn+1は, 等の本来のテキストn+1には不要なものをも含んでい
る。
By repeating the above-mentioned additional processing, the file F
The text n + 1 is generated above. The text n + 1 at this point is The original text n + 1 such as contains unnecessary things.

ベリファイア4は,テキストno(n)のファイルFo
とテキストn+1のファイルFとを比較する。この時,
ベリファイア4は, を識別し,当該マーク及びその間に存在する文字列 をファイルFから除いた分と,ファイルFoとを照合す
る。即ち,テキストn+1の旧版凍結部とコピーされた
テキストnoとが比較される。
Verifier 4 is a file Fo with text no (n)
And the file F of the text n + 1 are compared. At this time,
Verifier 4 Character strings that identify the mark and exist between them File F is collated with the part of the file F that has been excluded. That is, the old edition frozen part of the text n + 1 is compared with the copied text no.

ベリファイア4は,前記比較の結果が不一致であれ
ば,旧版凍結部としてファイルF上にそのまま残される
べきデータが,処理等の過程で変化させられてしまっ
た(エラーが発生した)ものと判断する。
If the result of the comparison does not match, the verifier 4 judges that the data that should be left as it is on the file F as the old version freezing part has been changed (error occurred) in the process of processing etc. To do.

エラーが発生した場合,ベリファイア4又はエディタ3
は,ファイルFoを参照して,ファイルFの当該不一致の
部分をファイルFo上のデータと同一のデータに修正す
る。
If an error occurs, verifier 4 or editor 3
Refers to the file Fo and corrects the inconsistent portion of the file F to the same data as the data on the file Fo.

この後,修正したファイルFについて,再び処理,
が行われる。
After that, the modified file F is processed again,
Is done.

エラーが発生していない場合,ベリファイア4は,
ファイルF上に正しい新版のテキストn+1が生成され
たものと判断する。
If no error occurs, verifier 4
It is determined that the correct new text n + 1 has been generated on the file F.

この後,ベリファイア4は,ファイルFから やテキストnから削除する部分等の本来のテキストn+
1としては不要な部分を除外し,ファイルF上に本来の
テキストn+1を生成する。このファイルFは,テキス
トn+1の保存用とされる。
After this, verifier 4 Original text n + such as the part to be deleted from text or text n +
An unnecessary part is excluded as 1 and the original text n + 1 is generated on the file F. This file F is for storing the text n + 1.

また,ベリファイア4は,テキストn+1の保存用ファ
イルF中に履歴データ部をテキストn+1とは別に設
け,これに 等の前記除外した部分の位置及び内容に関するデータ
(履歴データ)を保存する。これにより,テキストn+
1からテキストnを容易に再生できる。なお,テキスト
nがファイルFに存在する時点で履歴データ部が設けら
れている場合,これをそのまま利用して,テキストn+
1生成時の履歴データを保存することができる。更に,
マークを拡張する(各版の改版毎に変更する)と共に,
各版の改版時毎に履歴データを履歴データ部に追加して
保存することもできる。この場合,テキスト2の変更の
経緯を全て保存でき,また,例えばテキストn+1から
テキストn−1を再生することも可能となる。この結
果,テキスト又はテキストファイルの各版について,そ
の版数管理等を容易に行うことが可能となる。
The verifier 4 also provides a history data section in the file F for saving the text n + 1 separately from the text n + 1. The data (history data) relating to the positions and contents of the excluded parts such as the above is stored. This gives the text n +
The text n from 1 can be easily reproduced. If the history data section is provided when the text n exists in the file F, the history data section is used as it is and the text n +
1 History data at the time of generation can be saved. Furthermore,
Expand the mark (change with each revision of each edition),
The history data can be added and saved in the history data section each time each edition is revised. In this case, it is possible to save the entire history of the change of the text 2, and it is also possible to reproduce the text n + 1 to the text n-1. As a result, it becomes possible to easily manage the version number of each version of the text or text file.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,テキスト検証処
理において,テキストの構成を旧版凍結部と新版追加部
とに分離し,かつ,新版追加部に所定のマークを付する
ようにしたことによって,人間の目視によることなく検
証を行うことができるので,当該検証を確実かつ効率よ
く行うことができ,また,テキストの改版の履歴を保存
し容易に再現することができる。
As described above, according to the present invention, in the text verification process, the structure of the text is separated into the old edition freeze portion and the new edition addition portion, and the new edition addition portion is given a predetermined mark. Since the verification can be performed without human visual inspection, the verification can be performed reliably and efficiently, and the history of text revisions can be saved and easily reproduced.

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

第1図は本発明の原理構成図, 第2図はテキスト検証処理フロー, 第3図は従来技術説明図。 1はデータ処理装置,2はテキスト,3はエディタ,は4は
テキスト検証部,5はリストである。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a flow of text verification processing, and FIG. Reference numeral 1 is a data processor, 2 is text, 3 is an editor, 4 is a text verification unit, and 5 is a list.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】旧版のテキスト(2)から新版のテキスト
(2)を生成する機能を備えたデータ処理装置におい
て, 前記旧版のテキスト(2)への文字の追加によって前記
新版のテキスト(2)を生成するエディタ(3)と, 前記旧版及び新版のテキスト(2)を比較することによ
って前記新版のテキスト(2)の検証を行うテキスト検
証部(4)とを設け, 前記エディタ(3)が,前記新版のテキスト(2)の生
成において,追加された部分に対応して当該追加された
部分を特定する所定のマークを付して他の部分と区別可
能にした新版のテキスト(2)を生成するよう構成され
ると共に, 前記テキスト検証部(4)が,前記所定のマークの存在
を検出して,前記新版のテキスト(2)の中の前記所定
のマークにて特定された前記追加された部分を除いた前
記他の部分と前記旧版のテキスト(2)とを比較するよ
う構成され, 前記新版のテキスト(2)中における前記旧版のテキス
ト(2)と異なっている部分について検証を行う ことを特徴とするテキスト検証処理方式。
1. A data processing device having a function of generating a new edition text (2) from an old edition text (2), wherein the new edition text (2) is added by adding characters to the old edition text (2). An editor (3) for generating a text and a text verification unit (4) for verifying the text (2) of the new edition by comparing the text (2) of the old edition and the text of the new edition are provided. In the generation of the new edition text (2), the new edition text (2) is provided which is provided with a predetermined mark for identifying the added portion corresponding to the added portion so as to be distinguishable from other portions. The text verification unit (4) detects the presence of the predetermined mark and is configured to generate the additional text specified by the predetermined mark in the new edition text (2). It is configured to compare the other part except the part described above with the old version text (2), and verify the part of the new version text (2) different from the old version text (2). A text verification processing method characterized in that
JP1157978A 1989-06-20 1989-06-20 Text verification processing method Expired - Lifetime JPH077407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1157978A JPH077407B2 (en) 1989-06-20 1989-06-20 Text verification processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1157978A JPH077407B2 (en) 1989-06-20 1989-06-20 Text verification processing method

Publications (2)

Publication Number Publication Date
JPH0322168A JPH0322168A (en) 1991-01-30
JPH077407B2 true JPH077407B2 (en) 1995-01-30

Family

ID=15661578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1157978A Expired - Lifetime JPH077407B2 (en) 1989-06-20 1989-06-20 Text verification processing method

Country Status (1)

Country Link
JP (1) JPH077407B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6822920B2 (en) * 2017-08-03 2021-01-27 日本電信電話株式会社 Analytical device and analytical method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5696370A (en) * 1979-12-29 1981-08-04 Fujitsu Ltd Generating and processing system for generation of correction position list
JPH0624909Y2 (en) * 1987-07-15 1994-06-29 株式会社日立製作所 Document creation device

Also Published As

Publication number Publication date
JPH0322168A (en) 1991-01-30

Similar Documents

Publication Publication Date Title
JPH077407B2 (en) Text verification processing method
US20050149811A1 (en) System and method of ensuring quality control of software
JPH05120001A (en) Work plan generation system
JPH04362735A (en) Source program collation system
JP2001060240A (en) Format correcting method and data converting method
JP2725490B2 (en) Software Bug Cause Inference Expert System
JPH06314194A (en) Patch system
JPH0749892A (en) Design assistance system
JP2010257226A (en) Apparatus and method for processing information, program and recording medium
JP2003091431A (en) System, method and program for selecting and executing test scenario
JP2595815B2 (en) Program correction amount judgment processing device
US7882487B2 (en) Method of generating C code on the basis of UML specifications
JP6556091B2 (en) System specification verification support apparatus and system specification verification support method
JPH1049358A (en) Device and method for automatically generating altered program
JP2001290689A (en) Data-verifying method for replication among plural data bases
JPH05143311A (en) Source program correction managing editor
JPH11353162A (en) Program correction result comparing method
WO2021183111A1 (en) Validating data entries
WO1995034039A1 (en) Method of, and apparatus for, extracting different character strings between documents
JPH0844732A (en) Document preparation and editing system
JPH11194933A (en) File verification method
JPH0816382A (en) Erroneously corrected line retrieving device
JPH0744560A (en) Logical structure recognition processing system in document processor
JP2655549B2 (en) Text generation management processor
JP2000003275A (en) Device for managing design information and method therefor