JPH0561856A - Document preparing device - Google Patents

Document preparing device

Info

Publication number
JPH0561856A
JPH0561856A JP3225629A JP22562991A JPH0561856A JP H0561856 A JPH0561856 A JP H0561856A JP 3225629 A JP3225629 A JP 3225629A JP 22562991 A JP22562991 A JP 22562991A JP H0561856 A JPH0561856 A JP H0561856A
Authority
JP
Japan
Prior art keywords
document
comparison
character string
documents
processing
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
JP3225629A
Other languages
Japanese (ja)
Inventor
Noriyuki Mori
紀幸 森
Shinichi Kobayashi
紳一 小林
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3225629A priority Critical patent/JPH0561856A/en
Publication of JPH0561856A publication Critical patent/JPH0561856A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To compare which parts differ in two documents and to preserve a compared result as the document. CONSTITUTION:In an information processor provided with a data input device 2, a data output device 3 and a controller 1 controlling the whole, a character string stored in a document buffer 41 is compared 6 with the character string of the document which is read from a document storage part 34 in an external storage device 33 into a work area 42. The compared result is displayed in a screen and the compared result can be preserved as the document by the intention of a user. Since the compared result can be outputted as the document, it can be preserved by registering it in a document floppy or it can be recognized by printing. Furthermore, the prepared/edited document can be compared and referred with the previously prepared document and the document of free combination.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文字を入力して作成し
た文書を編集・保存・出力する文書作成装置に係り、特
に文書比較機能を有する文書作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus for editing / saving / outputting a document created by inputting characters, and more particularly to a document creating apparatus having a document comparison function.

【0002】[0002]

【従来の技術】日本語ワードプロセッサなどの文書作成
装置上での、文書中の文字の比較照合については、比較
処理終了後に比較結果を画面に表示し、印刷することが
できる。また、比較処理は、あらかじめ定められたフロ
ッピに登録されている入力練習問題の正解文書と、入力
した編集中の練習入力文書とを対象として比較するもの
である。
2. Description of the Related Art For comparison and collation of characters in a document on a document preparation device such as a Japanese word processor, the comparison result can be displayed on a screen and printed after the completion of the comparison process. In the comparison process, the correct answer document of the input practice question registered in the predetermined floppy and the input practice input document being edited are compared.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術での文書
を比較する目的は、ワープロ検定入力問題の練習で入力
された文書の採点である。従来技術で比較した結果を保
存する手段としては、プリンタで出力するしかない。ま
た、比較対象の文書は、内部記憶装置中の文書バッファ
内に記憶されている練習入力文書と、フロッピ内にあら
かじめ提供されている入力練習問題の正解文書のみで、
利用者が作成・編集した文書どうしを比較することはで
きない。
The purpose of comparing documents in the above prior art is to score the documents input in the practice of the word processing test input problem. The only way to save the result of comparison in the prior art is to output it with a printer. Further, the documents to be compared are only the practice input document stored in the document buffer in the internal storage device and the correct answer document of the input practice question provided in advance in the floppy,
Documents created and edited by users cannot be compared.

【0004】本発明の目的は、二つの文書の比較結果を
文書に追加できるような形に生成し、文書として保存で
きることと、任意に指定した二つの比較対象文書間の比
較ができる文書比較機能を有する文書作成装置を提供す
ることにある。
An object of the present invention is to generate a comparison result of two documents in a form that can be added to the document and save it as a document, and a document comparison function capable of comparing two arbitrarily specified documents to be compared. It is to provide a document creation device having the.

【0005】[0005]

【課題を解決するための手段】上記目的は、文字を入力
して作成した文書を編集・保存・出力する文書作成装置
において、この装置で作成した文書を保存する手段と、
この装置で作成した二つの文書を比較照合する手段と、
この比較した結果の比較結果文字列を作成する手段と、
この比較結果を出力する手段を設けることにより解決さ
れる。
The above object is to provide a document creating apparatus for editing, saving and outputting a document created by inputting characters, and a means for saving the document created by this apparatus,
A means for comparing and collating two documents created by this device,
Means for creating a comparison result character string of this comparison result,
This is solved by providing means for outputting this comparison result.

【0006】[0006]

【作用】二つの文書を比較照合する手段においては、入
力して作成した文書と、入力して作成した文書を保存す
る手段で保存された文書の比較照合をする。比較結果文
字列を作成する手段においては、二つの文書を比較照合
する手段で比較した結果を元に、文書内に挿入できる形
の文字列を作成する。比較結果を出力する手段において
は、二つの文書を比較照合する手段で比較した結果を画
面に表示し、比較結果文字列を作成する手段で作成した
文字列を文書として出力する。また、比較照合する手段
で比較対象として、入力して作成した文書と、入力して
作成した文書を保存する手段では、保存された文書のう
ち任意の二文書を指定できる。
In the means for comparing and collating two documents, the document created by input and the document saved by the means for saving the document created by input are compared and collated. In the means for creating the comparison result character string, a character string that can be inserted into the document is created based on the result of the comparison by the means for comparing and collating two documents. In the means for outputting the comparison result, the result of comparison by the means for comparing and collating two documents is displayed on the screen, and the character string created by the means for creating the comparison result character string is output as a document. Further, with the means for comparing and collating, the input and created document and the means for saving the created and input document can designate any two of the saved documents.

【0007】[0007]

【実施例】以下、本発明の一実施例を図1〜図14を用
いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.

【0008】図1は、本発明を適用した日本語ワードプ
ロセッサ(以下、ワープロという)の構成について示し
たブロック図である。
FIG. 1 is a block diagram showing the configuration of a Japanese word processor (hereinafter referred to as word processor) to which the present invention is applied.

【0009】1は制御装置。2はキーボード21,マウ
ス22,イメージスキャナ23などからなる入力装置。
3はCRTまたは液晶ディスプレイ31,プリンタ3
2,外部記憶装置33などからなる出力装置。4はプロ
グラムエリア5、文書バッファ41、ワークエリア4
2、比較結果文字列格納エリア43などからなる内部記
憶装置である。なお、プログラムエリア5は比較機能な
どの各種ワードプロセッシング機能を実現するためのプ
ログラムを記憶している。外部記憶装置33は文書格納
部34などからなる。制御装置1は、プログラムエリア
5内に格納されている各種ワープロ機能のプログラムを
実行し、そのプログラムに従い、入力装置2,出力装置
3,文書バッファ41,ワークエリア42,比較結果文
字列格納エリア43を制御する。比較機能6は、文書バ
ッファ41に記憶してある文書と文書記憶部34に格納
してある文書を比較し、その比較結果を比較結果文字列
格納エリア43に出力する。比較結果出力機能7は、比
較機能が比較結果文字列格納エリア43に出力した比較
結果を画面に表示し、利用者の意志により、比較結果文
字列を文書記憶部34に出力する。
Reference numeral 1 is a control device. An input device 2 includes a keyboard 21, a mouse 22, and an image scanner 23.
3 is a CRT or liquid crystal display 31, a printer 3
2, an output device including an external storage device 33 and the like. 4 is a program area 5, a document buffer 41, a work area 4
2. An internal storage device including a comparison result character string storage area 43 and the like. The program area 5 stores programs for implementing various word processing functions such as a comparison function. The external storage device 33 includes a document storage unit 34 and the like. The control device 1 executes programs of various word processing functions stored in the program area 5, and according to the programs, the input device 2, the output device 3, the document buffer 41, the work area 42, and the comparison result character string storage area 43. To control. The comparison function 6 compares the document stored in the document buffer 41 with the document stored in the document storage unit 34, and outputs the comparison result to the comparison result character string storage area 43. The comparison result output function 7 displays the comparison result output by the comparison function to the comparison result character string storage area 43 on the screen, and outputs the comparison result character string to the document storage unit 34 according to the intention of the user.

【0010】次に、本実施例の処理の詳細を述べる。Next, details of the processing of this embodiment will be described.

【0011】図2は制御装置1の処理内容をフローチャ
ートで示すものである。今、制御装置1は、文書編集・
校正画面で利用者のキー押下を待っている状態にあると
き、処理ステップ501でキー入力を受付け、処理ステ
ップ502で入力・編集・保存・出力に関するキーであ
ると判断されたなら、それに対応したワープロ処理50
3を行い、処理ステップ501に戻る。処理ステップ5
02で比較キーであると判断されたなら、処理ステップ
504に分岐し、文書比較機能を開始する。文書比較機
能ではまず最初に比較対象文書の指定から始まる。処理
ステップ504で文書記憶部34に登録してある文書の一
覧表示をし、処理ステップ505で、利用者に比較の対
象となるフロッピ内にあらかじめ登録した文書を選ばせ
る。この文書はフロッピ内に登録してあれば、誰が登録
した文書でも構わない。次に、処理ステップ506で比
較処理前の文書バッファ内の入力文書をワークエリア4
2に退避する。なぜ処理ステップ506のような処理が
必要かというと、処理ステップ508の比較処理の結果
は、文書バッファ41内の入力文書に対して出力するた
め、入力した元文書を壊さないで文書比較機能を使える
ようにするためには、比較処理前の文書バッファ41内
の文書をワークエリア42に退避しておいて、比較処理
後にワークエリア42に退避した文書を文書バッファ4
1に回復するという処理をするためである。処理ステッ
プ507では処理ステップ505で指定した文書を、文
書記憶部34から、ワークエリア42に読み込む。処理
ステップ508で、文書バッファ41に格納してある文
字列テキストと、処理ステップ507で読み込んだ文書
を比較し、文書バッファ内の入力文書に対して、誤字,
脱字,余字の個所を示すアンダーライン(図7の70
5,706,707)からなる不一致個所情報を出力す
る。処理ステップ509で、処理ステップ508の比較
結果(文書バッファの内の不一致個所情報が出力された
文書)を出力装置のディスプレイに表示し、処理ステッ
プ510の比較機能の終了処理を行い、処理ステップ5
01に戻る。処理ステップ510の比較機能の終了処理
で、利用者が、比較結果を残さなくても良いという選択
をした場合には、処理ステップ506で退避した文書を
文書バッファに回復して文書比較機能を終了する。詳し
くは、本文の図7に関する所で説明する。処理ステップ
502で終了キーであると判断されたなら、ワープロ処
理を終了する。
FIG. 2 is a flowchart showing the processing contents of the control device 1. Now, the control device 1 is
If the key input is accepted in the processing step 501 while waiting for the user to press the key on the proofreading screen, and if it is determined in the processing step 502 that the key is related to input / edit / save / output, it is dealt with. Word processor processing 50
3 is performed, and the process returns to the processing step 501. Processing step 5
If it is determined in 02 that the key is a comparison key, the process branches to process step 504 to start the document comparison function. In the document comparison function, the first step is to specify the document to be compared. In process step 504, a list of documents registered in the document storage unit 34 is displayed, and in process step 505, the user is made to select a document registered in advance in the floppy to be compared. This document may be registered by anyone as long as it is registered in the floppy. Next, in process step 506, the input document in the document buffer before the comparison process is set to the work area 4
Save to 2. The reason why the processing in processing step 506 is necessary is that the result of the comparison processing in processing step 508 is output to the input document in the document buffer 41, so the document comparison function can be executed without destroying the input original document. In order to make it usable, the documents in the document buffer 41 before the comparison process are saved in the work area 42, and the documents saved in the work area 42 after the comparison process are saved in the document buffer 4.
This is because the process of recovering to 1 is performed. In process step 507, the document specified in process step 505 is read from the document storage unit 34 into the work area 42. In processing step 508, the character string text stored in the document buffer 41 is compared with the document read in processing step 507, and a typographic error occurs in the input document in the document buffer.
Underlines that indicate the missing characters and the remainders (70 in Fig. 7)
5, 706, 707) is output. In processing step 509, the comparison result of processing step 508 (the document in which the mismatched portion information in the document buffer is output) is displayed on the display of the output device, and the comparison function ending processing of processing step 510 is performed.
Return to 01. When the user selects not to leave the comparison result in the comparison function end processing of processing step 510, the document saved in processing step 506 is restored in the document buffer and the document comparison function is ended. To do. The details will be described in the section related to FIG. 7 of the text. If it is determined in the processing step 502 that the key is the end key, the word processing is ended.

【0012】次に、二文書の比較処理の処理方法につい
て説明する。
Next, the processing method of the comparison processing of two documents will be described.

【0013】図3は、文書記憶部から読み込んできた比
較の対象としての正解文書602と、文字を入力して作
成した入力文書603とを比較する、比較処理を模式的
に表したものである。図4はその比較処理のフローチャ
ートである。処理ステップ613では、比較する二文字
列間で、ある決まった長さ(606,607)以上の長
さをもち、かつ、文書先頭からの距離の差(610)が
ある決まった長さ以内の一致する文字列(604,60
5)を探す。一致する文字列が存在するなら、処理ステ
ップ615で、その文字列より前にある一致対応の取れ
なかった部分文字列(608,609)を、すべての一
致対応パターンを考慮して照合し、処理ステップ616
で、一致文字列より後ろにある部分文字列(611,6
12)を新しい比較文字列として、処理ステップ613
に戻る。処理ステップ614で、一致する文字列が存在
しないなら、処理ステップ617で、その比較する二文
字列をすべての一致対応パターンを考慮して照合し、本
比較処理を終了する。
FIG. 3 schematically shows a comparison process for comparing the correct answer document 602 read from the document storage unit as a comparison target with the input document 603 created by inputting characters. .. FIG. 4 is a flowchart of the comparison process. In processing step 613, the two character strings to be compared have a length equal to or greater than a certain fixed length (606, 607) and a difference (610) in distance from the document head is within a certain fixed length. Matching string (604,60
Find 5). If there is a matching character string, in processing step 615, the partial character strings (608, 609) that have not been matched and matched before the character string are matched in consideration of all matching and matching patterns, and the processing is performed. Step 616
And the partial character string (611, 6
12) as a new comparison character string, and process step 613.
Return to. If there is no matching character string in processing step 614, in processing step 617, the two character strings to be compared are compared in consideration of all matching correspondence patterns, and this comparison processing is ended.

【0014】なお、実際には、比較精度を上げるため
に、レベル毎に、二文字列間で探す一致文字列の条件
(606,607,610)を変え、図4のフローチャ
ートの処理を数回、重ねる。
Actually, in order to improve the comparison accuracy, the condition (606, 607, 610) of the matching character string to be searched between the two character strings is changed for each level, and the process of the flowchart of FIG. 4 is repeated several times. , Stack.

【0015】図5は、レベルを3段,レベル1で探す一
致文字列の条件を、一致文字列の長さを40字以上、文
書先頭からの距離の差を無制限、レベル2で探す一致文
字列の条件を、一致文字列の長さを15字以上、文書先
頭からの距離の差を400字以内、レベル3で探す一致
文字列の条件を、一致文字列の長さを10文字以上、文
書先頭からの距離の差を4字以内とした場合の比較処理
を模式的に表したものである。これを実際の文書を例
(図6)で説明する。いま、図6のような入力文書と正
解文書、二つの比較対象文書を比較する。図5における
レベル1の処理を二つの文書全体の文字列を対象に行う
とする。レベル1の条件に合致する一致文字列を探す
が、存在しないから、そのまま文書全体の文字列を対象
としてレベル2の処理をする。レベル1と同様に、レベ
ル2の条件に合致する一致文字列を探すと、レベル2の
条件に合致する一致文字列617,618が見つかる。
次のレベル3では、レベル2で見つけた一致文字列61
7,618よりも前の文字列619,620を対象にし
て、一致文字列を探す。しかし、レベル3の条件に合致
する文字列は文字列619,620の中には存在しない
ので、文字列619と文字列620を、二文字列のすべ
ての一致対応パターンを考慮して照合する。次は一致文
字列617,618よりも後の文字列621,622を
対象としてレベル1の処理に戻り、同様の処理を繰り返
して行い、文末まで処理したら比較処理が終了する。
FIG. 5 shows the conditions for a matching character string to be searched for at three levels and level 1, with a matching character string length of 40 characters or more, an unlimited distance difference from the beginning of the document, and a matching character searched at level 2. The condition of the string is 15 characters or more for the length of the matching character string, the difference from the beginning of the document is 400 characters or less, and the condition of the matching character string to be searched for at level 3 is the length of the matching character string for 10 characters or more. This is a schematic representation of the comparison process when the difference in distance from the beginning of the document is within 4 characters. This will be explained by using an actual document as an example (FIG. 6). Now, the input document and the correct answer document as shown in FIG. 6 and the two comparison target documents are compared. It is assumed that the level 1 processing in FIG. 5 is performed on the character strings of the two documents as a whole. A matching character string that matches the level 1 condition is searched for, but since it does not exist, level 2 processing is performed on the character string of the entire document as it is. Similar to level 1, when searching for a matching character string that matches the level 2 condition, matching character strings 617 and 618 that match the level 2 condition are found.
In the next level 3, the matching character string 61 found in level 2
Matching character strings are searched for by character strings 619 and 620 prior to 7,618. However, since the character string that matches the level 3 condition does not exist in the character strings 619 and 620, the character string 619 and the character string 620 are collated in consideration of all the matching correspondence patterns of the two character strings. Next, the processing returns to the level 1 processing for the character strings 621 and 622 after the matching character strings 617 and 618, the same processing is repeated, and when the processing ends up to the end of the sentence, the comparison processing ends.

【0016】図5で示す比較処理の段数、および一致文
字列の長さ、二文字列の文書先頭からの距離の差を変え
ることによって比較精度、および比較処理時間を改善す
ることができる。しかし、処理時間を短くしようとする
と比較精度が落ちるし、比較精度を上げようとすると処
理時間が増えるという具合に、処理時間と比較精度の改
善は相反するものである。本実施例では実用レベルの例
として、図5,図6に比較処理の段数、および一致文字
列の長さ、二文字列の文書先頭からの距離の差を示し
た。
The comparison accuracy and the comparison processing time can be improved by changing the number of stages of the comparison processing shown in FIG. 5, the length of the matching character string, and the difference in the distance from the document head of the two character strings. However, if the processing time is shortened, the comparison accuracy is lowered, and if the comparison accuracy is increased, the processing time is increased. In this embodiment, as an example of the practical level, FIGS. 5 and 6 show the number of stages of comparison processing, the length of the matching character string, and the difference in the distance between the two character strings from the document head.

【0017】図7は、701のような入力文書と、70
2のような正解文書を比較した場合の比較結果表示画面
(703)である。画面703では入力文書の、誤字の
個所705,脱字の個所706,余字の個所707(7
05,706,707を合わせて不一致個所と呼ぶ)
に、それぞれアンダーラインを付けて表示し、ウインド
ウ704に、その不一致個所の数を表示する。
FIG. 7 shows an input document 701 and 70
It is a comparison result display screen (703) when the correct answer documents such as 2 are compared. On the screen 703, the erroneous part 705, the missing part 706, and the extra part 707 (7) of the input document are displayed.
05, 706, and 707 are collectively referred to as a mismatched portion)
Is displayed with an underline, and the number of the mismatched portions is displayed in the window 704.

【0018】図8は、比較終了処理510の、フローチ
ャートである。処理ステップ708で、比較結果を残し
て比較機能を終了するか、比較結果を残さないで比較機
能を終了するか、利用者に選択させる(図9)。処理ス
テップ709で、比較結果を残さないで比較機能終了を
選択したと判断したなら、処理ステップ710で、図2
の処理ステップ506で退避した文書バッファをワーク
エリアから回復し、比較機能を終了する。処理ステップ
709で、比較結果を残して比較機能終了を選択したと
判断したなら、処理ステップ711で、入力文書の文書
容量に、図10で示す文字列が入るだけの空きがある
か、入力文書を調査する。処理ステップ711で、入力
文書の文書容量に、空きがあると判断されたなら、処理
ステップ712で、入力文書の文末に、図10の文字列
(713)を追加し、比較機能を終了する。なお、処理
ステップ711で判断する条件は、入力文書の最終行の
書式が、一行に書ける文字が26文字以上(図11の7
14)、入力可能な残り文字数が119文字以上(71
5)、入力可能な残り行数が6行以上(716)が、す
べて満たされたときである。
FIG. 8 is a flowchart of the comparison end processing 510. In processing step 708, the user is allowed to select whether to terminate the comparison function with the comparison result left, or to terminate the comparison function without leaving the comparison result (FIG. 9). If it is determined in processing step 709 that the comparison function end is selected without leaving the comparison result, processing step 710
The document buffer saved in the processing step 506 is restored from the work area, and the comparison function is ended. If it is determined in the processing step 709 that the comparison function end is selected with the comparison result left, in the processing step 711, the document capacity of the input document has a space enough for the character string shown in FIG. To investigate the. If it is determined in the processing step 711 that the document capacity of the input document is free, in the processing step 712, the character string (713) of FIG. 10 is added to the end of the sentence of the input document, and the comparison function is terminated. It should be noted that the condition judged in the processing step 711 is that the format of the last line of the input document is 26 or more characters that can be written in one line (7 in FIG. 11).
14), the number of remaining characters that can be entered is 119 or more (71
5) It is when all the remaining inputtable lines are 6 or more (716).

【0019】以上説明した実施例によれば、作成・編集
した文書と、あらかじめ作成してある文書との比較照合
ができる。また、その比較結果を文書として出力できる
ので、文書フロッピに登録して保存することもできる
し、印刷して確認することもできる。
According to the embodiment described above, it is possible to compare and collate the created / edited document with the document created in advance. Further, since the comparison result can be output as a document, it can be registered and saved in the document floppy or can be printed and confirmed.

【0020】本比較機能を利用して、文字入力の正確さ
を測定することができるので、正確に文字を入力する練
習として利用できる。また、その練習結果を文書として
保存できるので、比較結果文書を文書フロッピに登録し
ておけば、いつでも練習結果を参照できる。本比較機能
で保存した比較結果文書を元にして、練習結果の推移デ
ータを作成することもでき、単なるその場だけの比較結
果確認より、練習効果が上がる。上記比較結果文書には
比較対象の二つの文書どちらかに比較結果を追加したも
のの他に、比較結果を格納するためにあらたに作られた
比較対象文書とは別の文書も考えられる。
Since the accuracy of character input can be measured using this comparison function, it can be used as a practice of inputting characters accurately. In addition, since the practice result can be saved as a document, if the comparison result document is registered in the document floppy, the practice result can be referred to at any time. It is also possible to create practice result transition data based on the comparison result document saved by this comparison function, and the practice effect is improved by simply checking the comparison result on the spot. The above-mentioned comparison result document may be one in which the comparison result is added to either of the two documents to be compared, or a document different from the comparison target document newly created to store the comparison result.

【0021】さらに、元文書に対し一部変更を行った時
の、変更部分がどこかの確認用としても利用できる。
Furthermore, when a part of the original document is changed, it can be used to confirm where the changed part is.

【0022】本比較処理は比較対象文字列の先頭の方か
ら順次処理していくので、比較処理中に比較処理の進捗
状況(図12の717では比較処理の残り文字数をカウ
ントダウンする)を表示することができる。例えば、7
04のウインドウに、表示することも可能である。
Since this comparison process is performed sequentially from the beginning of the character string to be compared, the progress of the comparison process (the number of remaining characters of the comparison process is counted down at 717 in FIG. 12) is displayed during the comparison process. be able to. For example, 7
It is also possible to display it in the 04 window.

【0023】本比較機能において、比較対象の文書が、
二文書とも文書フロッピに登録されている場合でも、二
文書とも編集中の場合でも、比較することが可能であ
る。以下にその実現方法を説明する。ただし、二文書編
集中の場合の文書の所在は、一つは文書バッファに、も
う一つはワークエリアにあるものとする。
In this comparison function, the document to be compared is
It is possible to make a comparison even if both documents are registered in the document floppy or both documents are being edited. The method for realizing this will be described below. However, where two documents are being edited, one is located in the document buffer and the other is located in the work area.

【0024】図2の処理ステップ502で比較キーであ
ると判断されたなら図13の処理ステップ801に処理
が移行する。処理ステップ801で図14の画面を表示
し、二つの比較対象文書の所在の組合せを選択させる。
処理ステップ801で、文書フロッピ内文書と編集中文
書との比較を選択したと判断したら、処理ステップ50
4へ移行する。また、処理ステップ801で、編集中文
書どうしの比較を選択したと判断したら、処理ステップ
508へ移行する。処理ステップ801で、文書フロッ
ピ内文書どうしの比較を選択したと判断したら、処理ス
テップ802で、比較対象文書の一方をワークエリア4
2に読み込む。次に処理ステップ803で、もう一方の比
較対象文書を文書バッファ41に読み込み、処理ステッ
プ508へ移行する。
If it is determined in step 502 in FIG. 2 that the key is the comparison key, the process proceeds to step 801 in FIG. In process step 801, the screen of FIG. 14 is displayed, and the combination of the locations of the two documents to be compared is selected.
If it is determined in processing step 801 that the comparison between the document in the document floppy and the document being edited is selected, processing step 50
Go to 4. If it is determined in processing step 801 that the comparison between the documents being edited has been selected, the processing proceeds to processing step 508. If it is determined in processing step 801 that the documents in the document floppy are compared with each other, one of the documents to be compared is set in the work area 4 in processing step 802.
Read in 2. Next, in processing step 803, the other comparison target document is read into the document buffer 41, and the processing proceeds to processing step 508.

【0025】以上のようなステップを追加することによ
り、本実施例の比較機能において、比較対象文書の所在
に左右されないで、任意の文書を比較することができ
る。
By adding the steps as described above, in the comparison function of this embodiment, it is possible to compare arbitrary documents without being influenced by the location of the document to be compared.

【0026】[0026]

【発明の効果】本発明によれば、比較結果を文書として
出力できるので、文書フロッピに登録して保存すること
ができるし、印刷して確認することもできる。また、作
成・編集した文書と、あらかじめ作成してある文書、自
由な組合せの文書の比較照合ができるので、元文書に対
し一部変更を行った際、変更した個所の確認用としても
利用できるし、検定練習用の問題集などからあらたに文
書を作成すれば練習問題を増やしていくことができる。
According to the present invention, since the comparison result can be output as a document, it can be registered and saved in the document floppy, or can be printed and confirmed. In addition, since the created / edited document can be compared and collated with the previously created document and any combination of documents, it can also be used to confirm the changed part when the original document is partially modified. However, you can increase the number of exercises by creating a new document from the collection of exam exercises.

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

【図1】本発明の一実施例を示す文書作成装置の構成図
である。
FIG. 1 is a configuration diagram of a document creation apparatus showing an embodiment of the present invention.

【図2】本発明の一実施例のワープロ機能の流れ図であ
る。
FIG. 2 is a flow chart of word processing functions of one embodiment of the present invention.

【図3】本発明の一実施例の比較処理の部分概念図であ
る。
FIG. 3 is a partial conceptual diagram of comparison processing according to an embodiment of the present invention.

【図4】本発明の一実施例の比較処理の流れ図である。FIG. 4 is a flowchart of comparison processing according to an embodiment of the present invention.

【図5】本発明の一実施例の比較処理の概念図である。FIG. 5 is a conceptual diagram of comparison processing according to an embodiment of the present invention.

【図6】本発明の一実施例の比較処理の進行例を示す図
である。
FIG. 6 is a diagram showing an example of progress of comparison processing according to an embodiment of the present invention.

【図7】本発明の一実施例の比較結果表示画面を示す図
である。
FIG. 7 is a diagram showing a comparison result display screen according to an embodiment of the present invention.

【図8】本発明の一実施例の比較機能終了処理の流れ図
である。
FIG. 8 is a flowchart of comparison function end processing according to an embodiment of the present invention.

【図9】本発明の一実施例の比較結果保存選択画面を示
す図である。
FIG. 9 is a diagram showing a comparison result storage selection screen according to an embodiment of the present invention.

【図10】本発明の一実施例の比較結果として比較結果
文書に追加される文字列を示す図である。
FIG. 10 is a diagram showing a character string added to a comparison result document as a comparison result according to an embodiment of the present invention.

【図11】本発明の一実施例の比較結果として比較結果
文書に文字列を追加する場合の条件を示す図である。
FIG. 11 is a diagram showing a condition when a character string is added to a comparison result document as a comparison result of an example of the present invention.

【図12】本発明の一実施例の比較中画面表示例を示す
図である。
FIG. 12 is a diagram showing a display example of a screen during comparison according to an embodiment of the present invention.

【図13】本発明の一実施例の拡張例の流れ図である。FIG. 13 is a flow chart of an extension example of an embodiment of the present invention.

【図14】本発明の一実施例の拡張例の表示画面を示す
図である。
FIG. 14 is a diagram showing a display screen of an expanded example of the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…制御装置、2…入力装置、21…キーボード、22
…マウス、23…イメージスキャナ、3…出力装置、3
1…ディスプレイ、32…プリンタ、33…外部記憶装
置、34…文書記憶部、4…内部記憶装置、41…文書
バッファ、42…ワークエリア、5…ワープロ機能プロ
グラムエリア、6…比較機能プログラムエリア、7…比
較結果出力機能プログラムエリア。
DESCRIPTION OF SYMBOLS 1 ... Control device, 2 ... Input device, 21 ... Keyboard, 22
... mouse, 23 ... image scanner, 3 ... output device, 3
1 ... Display, 32 ... Printer, 33 ... External storage device, 34 ... Document storage unit, 4 ... Internal storage device, 41 ... Document buffer, 42 ... Work area, 5 ... Word processing function program area, 6 ... Comparison function program area, 7: Comparison result output function program area.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文字を入力して作成した文書を編集・保存
・出力する文書作成装置において、二つの文書を比較照
合する手段と、当該比較した結果を作成する手段と、当
該比較結果を出力する手段とを有することを特徴とする
文書作成装置。
1. A document creation device for editing, saving, and outputting a document created by inputting characters, means for comparing and collating two documents, means for creating a result of the comparison, and outputting the comparison result. And a document creating device.
【請求項2】上記比較照合する手段は、比較対象文書と
して、内部記憶装置中の文書バッファ内に記憶している
文書、外部記憶装置内に格納している文書のうち、任意
の二文書を指定できることを特徴とする請求項1記載の
文書作成装置。
2. The comparing and collating means selects, as the documents to be compared, any two documents selected from a document stored in a document buffer in an internal storage device and a document stored in an external storage device. The document creating apparatus according to claim 1, wherein the document creating apparatus can be designated.
【請求項3】上記比較結果を出力する手段は、比較結果
を比較した二つの文書のうちの少なくとも一つに追加す
ることを特徴とする請求項1記載の文書作成装置。
3. The document creating apparatus according to claim 1, wherein the means for outputting the comparison result adds the comparison result to at least one of the two compared documents.
JP3225629A 1991-09-05 1991-09-05 Document preparing device Pending JPH0561856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3225629A JPH0561856A (en) 1991-09-05 1991-09-05 Document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3225629A JPH0561856A (en) 1991-09-05 1991-09-05 Document preparing device

Publications (1)

Publication Number Publication Date
JPH0561856A true JPH0561856A (en) 1993-03-12

Family

ID=16832310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3225629A Pending JPH0561856A (en) 1991-09-05 1991-09-05 Document preparing device

Country Status (1)

Country Link
JP (1) JPH0561856A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009199A (en) * 2008-06-25 2010-01-14 Fuji Xerox Co Ltd Image processing program, image processor, and image processing system
JP2010146373A (en) * 2008-12-19 2010-07-01 Fuji Xerox Co Ltd Program, apparatus and system for image processing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010009199A (en) * 2008-06-25 2010-01-14 Fuji Xerox Co Ltd Image processing program, image processor, and image processing system
US8340434B2 (en) 2008-06-25 2012-12-25 Fuji Xerox Co., Ltd. Image processing apparatus, image processing system and computer readable medium
JP2010146373A (en) * 2008-12-19 2010-07-01 Fuji Xerox Co Ltd Program, apparatus and system for image processing

Similar Documents

Publication Publication Date Title
US6533822B2 (en) Creating summaries along with indicators, and automatically positioned tabs
KR20040078046A (en) Form definition data creation method and form handling machines
JPH0561856A (en) Document preparing device
JPS60222270A (en) Table data insertion printer
JPS61245274A (en) Word processor
JPH10123924A (en) Memorization learning supporting system and medium storing memorization learning supporting system controlling program
JPH0624909Y2 (en) Document creation device
JP2534685B2 (en) Information display method
JPS61231661A (en) Information processor
JP4044158B2 (en) Code verification device and code verification method
JPS6231375B2 (en)
JPH05143593A (en) Character string modification system
JP2728341B2 (en) Information processing device
JPH056908B2 (en)
JPS63184864A (en) Documentation device
JP3347322B2 (en) Document processing apparatus and document processing method in the apparatus
JPH0572270B2 (en)
JPH03233669A (en) Document preparing device
JPH0253145A (en) Automatic test controlling system
JPH10171805A (en) Device for calibrating text and method therefor
JP2000048033A (en) Electronic dictionary display device and computer readable record medium recording electronic dictionary display processing program
JP2002312347A (en) Text file editing method, document file editing method, system, program and recording medium
JPH09185603A (en) Document preparing device and character string form control method
JPS61285534A (en) Index production system
JPH08161308A (en) Document processor