JPH03262033A - Form comparing device - Google Patents

Form comparing device

Info

Publication number
JPH03262033A
JPH03262033A JP6010790A JP6010790A JPH03262033A JP H03262033 A JPH03262033 A JP H03262033A JP 6010790 A JP6010790 A JP 6010790A JP 6010790 A JP6010790 A JP 6010790A JP H03262033 A JPH03262033 A JP H03262033A
Authority
JP
Japan
Prior art keywords
comparison
information
record
character string
form information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6010790A
Other languages
Japanese (ja)
Inventor
Hiroaki Mizumachi
水町 弘明
Masahiro Hoshi
昌宏 星
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.)
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
TOHOKU NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Tohoku Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TOHOKU NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Tohoku Ltd filed Critical TOHOKU NIPPON DENKI SOFTWARE KK
Priority to JP6010790A priority Critical patent/JPH03262033A/en
Publication of JPH03262033A publication Critical patent/JPH03262033A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the comparison result that first and second form information are different from each other because of the existence of synonyms by referring to a dictionary where synonyms are stored to perform logical comparison. CONSTITUTION:A storage means 14 where plural pairs of synonymic character strings are stored and first and second comparing means 8 and 9 are provided, and the means 8 compares first and second form information 1 and 2 with a record as the unit, and form information are given to the second comparing means 9 as they are in the case of disaccord. This means 9 extracts character strings from both information to obtain a pair of character strings and compares these character strings with those stored in the storage means 14, and comparison is repeated until resulting in coincidence, and a result signal indicating the disaccord is outputted when this comparison results in disaccord. Thus, the comparison result that first and second form information 1 and 2 to be compared with each other are different because of the existence of synonyms is prevented to obtain the accurate comparison result.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は第1及び第2の帳票情報を比較し、比較結果を
出力する帳票比較装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a form comparison device that compares first and second form information and outputs a comparison result.

[従来の技術] 帳票比較の際、比較する帳票と比較される帳票の間で違
う文字列ではあるけれども同じ意味を持っているため論
理的には同じである文字列が存在したり、比較をする必
要のない情報であるため比較の対象から除外する文字列
が存在したりする。
[Prior art] When comparing forms, there may be character strings that are logically the same because they have the same meaning even though they are different between the forms being compared, or the comparison may be difficult. There may be character strings that are excluded from comparison because they are unnecessary information.

従来の技術として、2つの帳票をファイルに格納するこ
とでファイル単位の比較、ルーコード単位の比較、1文
字単位の比較などあるが、それらは物理的な比較のみで
、例えば、同意語のチエツクといった論理的な比較がな
かったため、論理的な比較は人間が2つの帳票を見比べ
ながら、相違があるかどうか調べていた。
Conventional techniques include storing two forms in a file and comparing them file by file, code by code, character by character, etc., but these are only physical comparisons, such as checking for synonyms. Because there was no such logical comparison, humans had to compare two forms to see if there were any differences.

例えば、比較をする2つの帳票の間で一方の帳票では“
abc”という名称を用いていて、もう一方の帳票では
、’def”という名称を用いている時、実際は2つの
文字列は同じ意味であるため、2つの文字列は等しいも
のとして扱いたいというような同意語が存在している時
、物理的には、2つの帳票は違うものであるが、論理的
に2つの、帳票が同じであるとしたい場合でも、従来の
比較では違うものとして結果が出て、人間が見比べて2
つの帳票が等しいかどうか見直す必要がある。
For example, between two documents to be compared, one document has “
abc" and the other form uses the name 'def', the two strings actually have the same meaning, so you want to treat the two strings as equal. When two synonyms exist, physically the two forms are different, but even if you want to say that the two forms are logically the same, conventional comparisons will show that they are different. Go out and compare the two
It is necessary to review whether the two documents are equal.

[発明が解決しようとする課題] このように、従来の物理的な帳票情報の比較では、論理
的に同じ同意語が存在した場合でも、異った11M票と
なり、人間がその論理性を比較することになる。そのた
め見落しが生じたり、比較をやり直すための多大な工数
が必要となるといった欠点がある。
[Problem to be solved by the invention] In this way, in the conventional comparison of physical form information, even if there are logically the same synonyms, the result is a different 11M form, and it is difficult for humans to compare the logicality. I will do it. Therefore, there are drawbacks such as oversights occurring and the need for a large amount of man-hours to redo the comparison.

本発明の課題は、上記欠点を除去し、同意語の存在によ
って比較すべき第1及び第2の帳票情報が異なるとの比
較結果が得られることのない、正確な比較結果を得るこ
とができる帳票比較装置を提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks and to obtain accurate comparison results that do not result in comparison results in which the first and second form information to be compared are different due to the existence of synonyms. An object of the present invention is to provide a form comparison device.

[:lIiを解決するための手段] 本発明によれば、 第1および第2の帳票情報をレコード単位で比較し、比
較結果を示す比較結果信号をレコード単位で出力する帳
票比較装置において、 予め、同意の文字列の対を複数種、記憶しておく記憶手
段と、第1及び第2の比較手段とを、備え、 前記第1の比較手段は、前記第1及び前記第2の帳票情
報をレコード単位で比較し、一致していれば、一致を示
す結果信号を前記比較結果信号として出力して次のレコ
ード単位の前記第1及び前記112の帳票情報について
の比較に移り、不i致であればレコード単位の前記II
及び前記第2の帳票情報をそのまま前記第2の比較手段
に与えるものであり、 前記第2の比較手段は、 前記第1の比較手段から受けたレコード単位の前記第1
及び前記第2の帳票情報をそれぞれ保持する保持手段と
、 該保持手段に保持された画情報の各々から文字列を抜き
取り、文字列対とし、この文字列対を、前記記憶手段に
記憶されている文字列対に比較し、一致していれば、前
記保持手段に残っている画情報の各々から次の文字列を
抜き取り、次の文字列対とし、この文字列対を、前記記
憶手段に記憶されている文字列対に比較し、これを、こ
の比較において一致との結果が得られる限り、前記保持
手段から最後に抜き取られる文字列対まで、繰り返し、
不一致との結果が得られた時点で、不一致を示す結果信
号を、前記保持手段から最後に抜き取られた文字列対に
ついて一致との結果が得られた時点で、一致を示す結果
信号を、前記比較結果信号として出力して、次のレコー
ド単位の前記第1及び前記第2の帳票情報についての比
較に移る処理手段とを、有するものであることを特徴と
する帳票比較装置が得られる。
[Means for Solving:lIi] According to the present invention, in a form comparison device that compares first and second form information on a record-by-record basis and outputs a comparison result signal indicating the comparison result on a record-by-record basis, , comprising a storage means for storing a plurality of pairs of agreed character strings, and first and second comparing means, the first comparing means storing the first and second form information. are compared in record units, and if they match, a result signal indicating a match is output as the comparison result signal, and the process moves on to the comparison of the first and 112 form information in the next record unit. If so, the above II in record units
and the second form information is given as is to the second comparing means, and the second comparing means is configured to: provide the first form information in record units received from the first comparing means
and a holding means for holding the second form information, respectively; character strings are extracted from each of the image information held in the holding means to form a character string pair, and this character string pair is stored in the storage means. If they match, the next character string is extracted from each piece of image information remaining in the holding means to form the next character string pair, and this character string pair is stored in the storage means. comparing the stored character string pairs and repeating this until the last character string pair extracted from the holding means, as long as this comparison yields a match;
When a result indicating a mismatch is obtained, a result signal indicating a mismatch is obtained, and when a result indicating a match is obtained for the character string pair last extracted from the holding means, a result signal indicating a match is transmitted from the holding means. There is obtained a form comparison apparatus characterized in that it has a processing means for outputting a comparison result signal and moving on to comparison of the first and second form information in the next record unit.

[実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図を参照すると、本発明の一実施例による帳票比較
袋W1100は、第1および第2の帳票情報101およ
び102をレコード単位で比較し、比較結果を示す比較
結果信号をレコード単位で出力袋E4に出力するもので
ある。
Referring to FIG. 1, a form comparison bag W1100 according to an embodiment of the present invention compares first and second form information 101 and 102 on a record-by-record basis, and outputs a comparison result signal indicating the comparison result on a record-by-record basis. This is to be output to bag E4.

この帳票比較装置100は、予め、同意の文字列の対を
複数種、チエツク除外文字列として記憶しておくチエツ
ク除外文字列記憶手段14と、第−及び第二比較手段8
および9とを、備えている。
This form comparison device 100 includes a check-exclusion string storage means 14 that stores in advance a plurality of pairs of agreeing character strings as check-exclusion strings, and a first and second comparison means 8.
and 9.

前記第一比較手段8は、前記第1及び前記第2の帳票情
報101および102をレコード単位で比較し、一致し
ていれば、一致を示す結果信号を前記比較結果信号とし
て出力して次のレコード単位の前記第1及び前記第2の
帳票情報101および102についての比較に移り、不
一致であればレコード単位の前記第1及び前記第2の帳
票情報101および102をそのまま前記第二比較手段
9に与えるものである。
The first comparing means 8 compares the first and second form information 101 and 102 record by record, and if they match, outputs a result signal indicating the match as the comparison result signal and performs the next step. Moving on to a comparison of the first and second form information 101 and 102 in record units, if they do not match, the second comparison means 9 directly uses the first and second form information 101 and 102 in record units. It is given to

前記第二比較手段9は、前記第一比較手段8から受けた
レコード単位の前記第1及び前記第2の帳票情報101
および102をそれぞれ保持する保持手段(図示せず)
と、以下に説明する処理手段(図示せず)とを、存して
いる。
The second comparing means 9 receives the first and second form information 101 in record units from the first comparing means 8.
and 102 (not shown), respectively.
and processing means (not shown) described below.

この処理手段は、前記保持手段に保持された画情報の各
々から文字列を抜き取り、文字列対とし、この文字列対
を、前記チエツク除外文字列記憶手段14に記憶されて
いる文字列対に比較する。この際、一致していれは、前
記処理手段は、前記保持手段に残っている画情報の各々
から次の文字列を抜き取り、次の文字列対とし、この文
字列対を、前記チエツク除外文字列記憶手段14に記憶
されている文字列対に比較し、これをこの比較において
一致との結果が得られる限り、前記保持手段から最後に
抜き取られる文字列まで繰り返す。そして、前記処理手
段は、不一致との結果が得られた時点で、不一致を示す
結果信号を、前記保持手段から最後に抜き取られた文字
列対について一致との結果が得られた時点で、一致を示
す結果信号を、前記比較結果信号として出力して、次の
レコード単位の前記N1及び前記第2の帳票情報につい
ての比較に移るものである。
This processing means extracts a character string from each piece of image information held in the holding means, creates a character string pair, and converts this character string pair into a character string pair stored in the check excluded character string storage means 14. compare. At this time, if they match, the processing means extracts the next character string from each piece of image information remaining in the holding means, sets it as the next character string pair, and converts this character string pair into the check exclusion character. A comparison is made with the character string pairs stored in the string storage means 14, and this is repeated until the last character string extracted from the storage means, as long as a match is obtained in this comparison. The processing means transmits a result signal indicating a mismatch at the time when a result indicating a match is obtained for the character string pair extracted last from the holding means. A result signal indicating the above is outputted as the comparison result signal, and the process moves on to the comparison of the N1 and the second form information in the next record unit.

以下、本実施例による帳票比較装置100の構造につい
てより詳細に説明する。
The structure of the form comparison device 100 according to this embodiment will be described in more detail below.

本実施例の帳票比較装置100は、比較ファイル1と、
被比較ファイル2と、パラメータ入力装置3と、出力装
置4とに接続されており、第一人力手段5と、第二人力
手段6と、第三入力手段7と、第一比較手段8と、第二
比較手段9と、エラー処理手段10と、後処理手段11
と、結果編集手段12と、編集モード記憶手段13と、
チエツク除外文字列記憶手段14とを含んでいる。
The form comparison device 100 of this embodiment includes a comparison file 1,
It is connected to the compared file 2, the parameter input device 3, and the output device 4, and the first human power means 5, the second human power means 6, the third input means 7, and the first comparison means 8, second comparison means 9, error processing means 10, and post-processing means 11
, result editing means 12, editing mode storage means 13,
and check exclusion character string storage means 14.

比較ファイル1は比較する帳票の情報を格納しておくフ
ァイルで、比較ファイル1は例えば磁気テープ装置、磁
気ディスク装置等で構成される。
The comparison file 1 is a file that stores information on the forms to be compared, and the comparison file 1 is composed of, for example, a magnetic tape device, a magnetic disk device, or the like.

被比較ファイル2は比較される帳票の情報を格納してお
くファイルであり、被比較ファイル2は例えば磁気テー
プ装置、磁気ディスク装置等で構成される。
The compared file 2 is a file that stores information on the forms to be compared, and the compared file 2 is composed of, for example, a magnetic tape device, a magnetic disk device, or the like.

パラメータ入力装置3は、上述した同意語のためのチエ
ツク除外となる文字列の情報のみならず、無条件にチエ
ツク除外となる文字列の情報を帳票比較装置100に入
力し、また比較結果の編集モードの情報を帳票比較装置
t100に入力するための装置であり、パラメータ入力
装置3は例えばフロッピーディスク装置、カード読み取
り装置で構成される。
The parameter input device 3 inputs not only information on character strings to be excluded from the check for synonyms described above, but also information on character strings to be unconditionally excluded from the check to the form comparison device 100, and also inputs information on character strings to be excluded from the check for synonyms, and edits the comparison results. This is a device for inputting mode information to the form comparison device t100, and the parameter input device 3 is composed of, for example, a floppy disk device or a card reading device.

出力装置4は比較結果を出力する装置であり、出力装置
4は例えば磁気テープ装置、磁気ディスク装置、プリン
タ等で構成される。
The output device 4 is a device that outputs the comparison results, and includes, for example, a magnetic tape device, a magnetic disk device, a printer, or the like.

第一人力手段5は比較ファイル1から情報をレコード単
位で読み込む。
The first human power means 5 reads information from the comparison file 1 record by record.

第二人力手段6は被比較ファイル2から情報をレコード
単位で読み込む。
The second human power means 6 reads information from the compared file 2 in units of records.

第三入力手段7はパラメータ入力装置3がらパラメータ
情報を読み込み、編集モード記憶手段13及びチエツク
除外文字列記憶手段14に格納する。
The third input means 7 reads parameter information from the parameter input device 3 and stores it in the edit mode storage means 13 and the check excluded character string storage means 14.

第一比較手段8は、第一人力手段5によって読み込まれ
た情報と第二人力手段6によって読み込まれた情報をレ
コード単位での比較をする。
The first comparison means 8 compares the information read by the first human power means 5 and the information read by the second human power means 6 on a record-by-record basis.

第二比較手段9は、第一比較手段8での比較の結果が不
一致の時に、比較ファイル1及び被比較ファイル2の情
報を第一の比較手段8から受け、互いの情報から、空白
で区切った状態で文字列を論理的に抜き出し、その文字
列同士の比較をして、異った時にチエツク除外文字列記
憶手段14を検索し、異った文字列が同意語のためのチ
エツク除外文字列か、無条件のためのチエツク除外文字
列かの論理的な比較をする。
The second comparing means 9 receives the information of the comparison file 1 and the compared file 2 from the first comparing means 8 when the result of the comparison by the first comparing means 8 is a mismatch, and separates the information from each other by spaces. The character strings are logically extracted in the state in which the character strings are extracted, the character strings are compared, and when the character strings differ, the check excluded character string storage means 14 is searched, and the different character strings are checked as check excluded characters for synonyms. Perform a logical comparison between strings and check for unconditional exclusion strings.

エラー処理手段10は第二比較手段9での比較の結果が
不一致の時に、異った文字列を指摘するメツセージと、
その時の詳細な情報を指示するメツセージを編集する。
The error processing means 10 sends a message pointing out a different character string when the comparison result in the second comparison means 9 does not match;
Edit the message to provide detailed information at the time.

後処理手段11は第一人力手段5と第二人力手段6にお
いて比較ファイルと被比較ファイルの両方のファイルか
ら読み込み終えた時に、片方のファイルは情報を読み込
み終えたがもう一方のファイルの情報は読み込みが終了
していない時、その情報の残っているファイルから情報
を読み込み両方のファイルからすべての情報が読み込み
終了した状態になるように処理をする。
When the first manual means 5 and the second manual means 6 finish reading from both the comparison file and the compared file, the post-processing means 11 finishes reading the information from one file, but the information from the other file does not. If the reading is not finished, the information is read from the file where the information remains, and processing is performed so that all information has been read from both files.

結果編集手段12は後処理手段11で後処理を行った後
に異った情報の数、チエツク除外の対象となった文字列
の数等の編集をし、また終了のメツセージを編集する。
The result editing means 12 edits the number of different information, the number of character strings subject to check exclusion, etc. after post-processing is performed by the post-processing means 11, and also edits the end message.

編集モード記憶手段13は、比較結果の編集モードを格
納しておく記憶手段である。
The editing mode storage means 13 is a storage means for storing the editing mode of the comparison result.

チエツク除外文字列記憶手段14は、同意語のためのチ
エツク除外となる文字列の情報および無条件にチエツク
除外となる文字列の情報を格納しておく記憶手段である
The check exclusion character string storage means 14 is a storage means for storing information on character strings to be excluded from the check for synonyms and information about character strings to be unconditionally excluded from the check.

次に、このように構成された本実施例の帳票比較装置の
動作について説明する。
Next, the operation of the form comparison device of this embodiment configured as described above will be explained.

この帳票比較装置は始めに第三入力手段7がパラメータ
入力装置3から比較結果の編集モードや同意語のための
チエツク除外文字列、無条件にチエツク除外となる文字
列を指定したパラメータ情報を入力して解析し、編集モ
ードの情報であれば編集モード記憶手段13に格納し、
同意語のためのチエツク除外文字列、無条件のチエツク
除外文字列の情報であればチエツク除外文字列記憶手段
14に格納する。
In this form comparison device, first, the third input means 7 inputs parameter information from the parameter input device 3 specifying the editing mode of comparison results, check exclusion character strings for synonyms, and character strings to be checked unconditionally. If the information is edit mode information, it is stored in the edit mode storage means 13,
If the information is a check exclusion string for synonyms or an unconditional check exclusion string, it is stored in the check exclusion string storage means 14.

次に、第一人力手段5で比較ファイル1から情報をレコ
ード単位で読み込み、同様に、第二人力手段6で被比較
ファイル2から情報をレコード単位で読み込み、この2
つの情報を第一比較手段8に渡す。
Next, the first manual means 5 reads information record by record from the comparison file 1, and similarly, the second manual means 6 reads information record by record from the compared file 2.
This information is passed to the first comparison means 8.

第一比較手段8では、前記の2つの情報をレコード単位
での比較をして、等しい時には編集モード記憶手段13
を参照し、編集モードが等しい時の情報を出力するモー
ドであれば、比較ファイル1、から読み込んでいた情報
を出力装置4に出力し、編集モードが出力しないモード
であれば、出力をせず、その後次の情報の比較を繰り返
して行うために第一人力手段5、第二人力手段6の処理
へ戻る。また、2つの情報が異っている時は、その2つ
の情報を第二比較手段9へ渡す。
The first comparison means 8 compares the two pieces of information record by record, and if they are equal, the edit mode storage means 13
If the editing mode is a mode that outputs information when the editing mode is equal, the information read from comparison file 1 is output to the output device 4, and if the editing mode is a mode that does not output, it is not output. , and then returns to the processing of the first human power means 5 and the second human power means 6 in order to repeatedly compare the next information. Further, when the two pieces of information are different, the two pieces of information are passed to the second comparing means 9.

第二比較手段9では第一比較手段8で異っていると判定
した2つの情報から、空白で区切った状態で文字列を論
理的に抜き出し、その文字列同士の比較を行い、2つの
文字列が物理的に異っている時、チエツク除外文字列記
憶手段14の検索を行い、異っている文字列が同意語に
よるチエツク除外文字列である時は、2つの文字列は等
しいものとみなし、無条件のチエツク除外文字列である
時は、比較の対象から外すという論理的な比較をする。
The second comparison means 9 logically extracts character strings separated by spaces from the two pieces of information determined to be different by the first comparison means 8, compares the character strings with each other, and compares the two characters. When the strings are physically different, the check exclusion string storage means 14 is searched, and if the different strings are check exclusion strings with synonyms, the two strings are considered to be equal. If the string is considered to be an unconditional check exclusion string, it is logically compared and excluded from comparison.

この際、チエツク除外文字列記憶手段14に、同じ文字
列が存在しない時は、2つの文字列は論理的にも異った
文字列として比較をしている2つの情報をエラー処理手
段10へ渡す。2つの文字列が論理的に等しいとした時
は、次の文字列の抜き出しをして再び第二比較手段9の
処理を繰り返して行う。
At this time, if the same character string does not exist in the check excluded character string storage means 14, the two character strings are compared as logically different character strings.The two pieces of information are sent to the error processing means 10. hand over. When the two character strings are logically equal, the next character string is extracted and the process of the second comparison means 9 is repeated again.

第二比較手段9は、比較を行っている2つの情報の中の
文字列がなくなるまで比較を繰り返し、最終まで、物理
的にも論理的にも異った文字列が存在しなければ、2つ
の情報は等しいものと判断し、結果モード記憶手段13
の編集モードに従い出力装置4へ出力し、再び第一人力
手段5、第二人力手段6の処理へ戻る。
The second comparison means 9 repeats the comparison until there are no more character strings in the two pieces of information being compared, and if there are no character strings that are physically or logically different until the end, the second comparison means 9 It is determined that the two pieces of information are equal, and the result mode storage means 13
The data is output to the output device 4 according to the editing mode, and the process returns to the first human power means 5 and the second human power means 6 again.

エラー処理手段10では、第二比較手段9で異った文字
列を表示するメツセージを、その時の詳細な情報を指示
するメツセージと、比較した2つの情報を一緒に出力す
るように編集し、出力装置4へ出力する。その後、再び
第一人力手段5、第二人力手段6の処理へ戻り比較を繰
り返す。
The error processing means 10 edits and outputs the message displaying the different character string by the second comparison means 9 so as to output the message instructing the detailed information at that time together with the two pieces of compared information. Output to device 4. Thereafter, the processing returns to the first human power means 5 and the second human power means 6 and the comparison is repeated.

この第1人力手段5、第二人力手段6からエラー処理1
0までの処理を比較ファイル1と被比較ファイル2のい
ずれかのファイルの情報がすべて読み込み終了するまで
繰り返し、いずれかのファイルの情報が読み込み終了し
た後に、後処理手段11へ処理を移す。
Error processing 1 from the first human power means 5 and the second human power means 6
The processing up to 0 is repeated until all the information of either the comparison file 1 or the compared file 2 has been read, and after the information of either of the files has been read, the processing is transferred to the post-processing means 11.

後処理手段11では、比較ファイル1と被比較ファイル
2のいずれか一方のファイルはすべての情報を読み込み
終えたが、もう一方のファイルの情報が読み込み終了し
ておらず、まだ情報が余っている時に、その余った情報
をすべて読み込み、情報が余っていたというメツセージ
とともに読み込んだ情報を出力装置4へ出力し、比較フ
ァイル1と被比較ファイル2の両方のファイルの情報を
すべて読み込み終了した状態にする。
The post-processing means 11 has finished reading all the information in either the comparison file 1 or the compared file 2, but the information in the other file has not finished reading, and there is still some information left. At the same time, all of the remaining information is read, and the read information is output to the output device 4 along with a message that there is excess information, and all information of both the comparison file 1 and the compared file 2 has been read. do.

結果編集手段12では、後処理手段11で2つのファイ
ルの情報をすべて読み込み終った後に、一連の比較処理
の結果として、異った情報の数、チエツク除外となった
文字列の数を編集し、また終了メツセージの編集を行い
出力装f4へ出力し、帳票比較装置t100はその処理
を終了する。
The result editing means 12 edits the number of different pieces of information and the number of character strings excluded from checking as a result of a series of comparison processes after the post-processing means 11 has finished reading all the information of the two files. , and also edits the end message and outputs it to the output device f4, and the form comparison device t100 ends the process.

[発明の効果] 以上説明したように、本発明は、同意語の存在によって
比較すべき第1および第2の帳票情報が異なるとの比較
結果が得られることがなくなるように構成したので、人
間が比較しなければならない部分が減り、見落しといっ
た人為的な誤りが少なくなり、且つ人間が比較を行うた
めの工数も減少するといった効果がある。
[Effects of the Invention] As explained above, the present invention is configured so that a comparison result in which the first and second form information to be compared are different due to the existence of synonyms will not be obtained. This has the effect of reducing the number of parts that need to be compared, reducing human errors such as oversights, and reducing the amount of man-hours required for humans to perform comparisons.

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

第1図は本発明の一実施例による帳票比較装置のブロッ
ク図である。 1・・・比較ファイル、2・・・被比較ファイル、3・
・・パラメータ入力装置、4・・・出力装置、5・・・
第一人力手段、6・・・第二人力手段、7・・・第三入
力手段、8・・・第一比較手段、9・・・第二比較手段
、10・・・エラー処理手段、11・・・後処理手段、
12・・・結果編集手段、13・・・編集モード記憶手
段、14・・・チエツク除外文字列記憶手段、100・
・・帳票比較装置、101および102・・・第1およ
び第2の帳票情報。
FIG. 1 is a block diagram of a form comparison device according to an embodiment of the present invention. 1...Comparison file, 2...Compared file, 3.
...Parameter input device, 4...Output device, 5...
First human power means, 6... Second human power means, 7... Third input means, 8... First comparison means, 9... Second comparison means, 10... Error processing means, 11 ...post-processing means,
12... Result editing means, 13... Edit mode storage means, 14... Check exclusion character string storage means, 100.
. . . Form comparison device, 101 and 102 . . . First and second form information.

Claims (1)

【特許請求の範囲】 1、第1および第2の帳票情報をレコード単位で比較し
、比較結果を示す比較結果信号をレコード単位で出力す
る帳票比較装置において、 予め、同意の文字列の対を複数種、記憶しておく記憶手
段と、第1及び第2の比較手段とを、備え、 前記第1の比較手段は、前記第1及び前記第2の帳票情
報をレコード単位で比較し、一致していれば、一致を示
す結果信号を前記比較結果信号として出力して次のレコ
ード単位の前記第1及び前記第2の帳票情報についての
比較に移り、不一致であればレコード単位の前記第1及
び前記第2の帳票情報をそのまま前記第2の比較手段に
与えるものであり、 前記第2の比較手段は、 前記第1の比較手段から受けたレコード単位の前記第1
及び前記第2の帳票情報をそれぞれ保持する保持手段と
、 該保持手段に保持された両情報の各々から文字列を抜き
取り、文字列対とし、この文字列対を、前記記憶手段に
記憶されている文字列対に比較し、一致していれば、前
記保持手段に残っている両情報の各々から次の文字列を
抜き取り、次の文字列対とし、この文字列対を、前記記
憶手段に記憶されている文字列対に比較し、これを、こ
の比較において一致との結果が得られる限り、前記保持
手段から最後に抜き取られる文字列対まで、繰り返し、
不一致との結果が得られた時点で、不一致を示す結果信
号を、前記保持手段から最後に抜き取られた文字列対に
ついて一致との結果が得られた時点で、一致を示す結果
信号を、前記比較結果信号として出力して、次のレコー
ド単位の前記第1及び前記第2の帳票情報についての比
較に移る処理手段とを、有するものであることを特徴と
する帳票比較装置。
[Claims] 1. A form comparison device that compares first and second form information record by record and outputs a comparison result signal indicating the comparison result record by record, comprising: It comprises a storage means for storing a plurality of types of form information, and first and second comparing means, and the first comparing means compares the first and second form information record by record, and compares the first and second form information record by record. If they match, a result signal indicating a match is output as the comparison result signal and the process moves on to the comparison of the first and second form information in the next record unit.If they do not match, the first and second form information in the next record unit are compared. and the second form information is given as is to the second comparing means, and the second comparing means is configured to: provide the first form information in record units received from the first comparing means
and a holding means for holding the second form information, respectively; character strings are extracted from each of the two pieces of information held in the holding means to form a character string pair, and this character string pair is stored in the storage means. If they match, the next character string is extracted from each of the pieces of information remaining in the storage means to form the next character string pair, and this character string pair is stored in the storage means. comparing the stored character string pairs and repeating this until the last character string pair extracted from the holding means, as long as this comparison yields a match;
When a result indicating a mismatch is obtained, a result signal indicating a mismatch is obtained, and when a result indicating a match is obtained for the character string pair last extracted from the holding means, a result signal indicating a match is transmitted from the holding means. A form comparison device comprising processing means for outputting a comparison result signal and moving to a comparison of the first and second form information in the next record unit.
JP6010790A 1990-03-13 1990-03-13 Form comparing device Pending JPH03262033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6010790A JPH03262033A (en) 1990-03-13 1990-03-13 Form comparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6010790A JPH03262033A (en) 1990-03-13 1990-03-13 Form comparing device

Publications (1)

Publication Number Publication Date
JPH03262033A true JPH03262033A (en) 1991-11-21

Family

ID=13132551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6010790A Pending JPH03262033A (en) 1990-03-13 1990-03-13 Form comparing device

Country Status (1)

Country Link
JP (1) JPH03262033A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018195248A (en) * 2017-05-22 2018-12-06 パナソニックIpマネジメント株式会社 Translation display device, computer terminal, and translation display method
JP2020187777A (en) * 2020-07-14 2020-11-19 パナソニックIpマネジメント株式会社 Translation display device, computer terminal, translation display method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018195248A (en) * 2017-05-22 2018-12-06 パナソニックIpマネジメント株式会社 Translation display device, computer terminal, and translation display method
JP2020187777A (en) * 2020-07-14 2020-11-19 パナソニックIpマネジメント株式会社 Translation display device, computer terminal, translation display method, and program

Similar Documents

Publication Publication Date Title
JPS62267876A (en) Picture register system
US5842208A (en) High performance recover/build index system by unloading database files in parallel
JPH03262033A (en) Form comparing device
US11361565B2 (en) Natural language processing (NLP) pipeline for automated attribute extraction
JPS5820072B2 (en) information retrieval device
Gilbert Automatic collation: A technique for medieval texts
JPH06139124A (en) System for deleting unmatch in inverted file system data base
Cisco The OQL Language
Cisco The OQL Language
Gould et al. ChemSEARCh-An Operating Computer System for Retrieving Chemicals Selected for Equal, Analogous, or Related Character.
Saunders An on‐line computer assisted information retrieval system using a minicomputer (CAIRS)
JPH0962700A (en) Method and device for constructing dictionary
Johns et al. An effective and reliable computerised system for storage and retrieval of references to scientific publications
CN116820484A (en) Automatic generation method of software unit test code based on combination of retrieval and editing
JP3337524B2 (en) Kana-Kanji conversion device
Pribavkina et al. State complexity of prefix, suffix, bifix and infix operators on regular languages
JPS58222376A (en) Table search system
JPS60583A (en) Word recognition system
JP2773657B2 (en) String search device
JP2839515B2 (en) Character reading system
JPH03255521A (en) File comparing system
JPS62269272A (en) Editing system of image data and japanese character data
Kelly Writing a Validator for TMATS
JP2004206631A (en) Retrieval tuning method and information retrieval system
JPS62159223A (en) Retrieving system for document information