JP2760638B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2760638B2
JP2760638B2 JP2175777A JP17577790A JP2760638B2 JP 2760638 B2 JP2760638 B2 JP 2760638B2 JP 2175777 A JP2175777 A JP 2175777A JP 17577790 A JP17577790 A JP 17577790A JP 2760638 B2 JP2760638 B2 JP 2760638B2
Authority
JP
Japan
Prior art keywords
data
format
format data
unit
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2175777A
Other languages
Japanese (ja)
Other versions
JPH0464165A (en
Inventor
益生 近藤
隆史 筈井
佳紀 畑山
正大 石場
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.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki Co 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 Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP2175777A priority Critical patent/JP2760638B2/en
Publication of JPH0464165A publication Critical patent/JPH0464165A/en
Application granted granted Critical
Publication of JP2760638B2 publication Critical patent/JP2760638B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、カード型データベース機能を有するワート
プロセッサ等のデータ処理装置に関するものである。
The present invention relates to a data processing device such as a wort processor having a card-type database function.

(ロ)従来の技術 三洋電機株式会社製のポータブルワードプロセッサSW
P−M60のように従来のデータ処理装置において、表やタ
イトル等のデータをカード型データベースのフォーマッ
トデータとして登録するときはフォーマット作成モード
において、キーボード入力等のオペレータ操作により上
記フォーマットデータを登録していた。
(B) Conventional technology Portable word processor SW manufactured by Sanyo Electric Co., Ltd.
In a conventional data processing apparatus such as the P-M60, when data such as a table and a title is registered as format data of a card type database, the format data is registered by an operator operation such as a keyboard input in a format creation mode. Was.

そのため、ワードプロセッサ等で作成された文書デー
タにフォーマットデータにしたい表などがある場合、そ
の表をフォーマットデータとして登録するには、再度同
じ表をフォーマット作成モードで入力し直さなければな
らない。
Therefore, if there is a table or the like to be used as format data in document data created by a word processor or the like, the same table must be re-entered in the format creation mode to register the table as format data.

(ハ)発明が解決しようとする課題 本発明は、上記事情に鑑みてなされたものであり、既
に作成されている文書データから、カード型データベー
ス等のフォーマットデータを自動的に抽出することでフ
ォーマットを自動生成し、オペレータが再度登録し直す
という操作を無くすことを技術的課題とする。
(C) Problems to be Solved by the Invention The present invention has been made in view of the above circumstances, and automatically extracts format data such as a card-type database from already created document data. It is a technical object to eliminate the operation of automatically generating the "?" And re-registering by the operator.

(ニ)課題を解決するための手段 本発明は、上記課題を解決するために、文書データを
入力する入力手段と、当該入力手段により入力された文
書データを記憶するデータ記憶手段と、前記データ記憶
手段に記憶されている複数の文書データの共通部分を抽
出し、当該抽出したデータをフォーマットデータとして
登録するフォーマットデータ登録手段と、を備えること
を特徴とする。
(D) Means for Solving the Problems In order to solve the above problems, the present invention provides an input unit for inputting document data, a data storage unit for storing the document data input by the input unit, And a format data registration unit for extracting a common part of the plurality of document data stored in the storage unit and registering the extracted data as format data.

また、文書データを入力する入力手段と、当該入力手
段により入力された文書データを記憶するデータ記憶手
段と、前記データ記憶手段に記憶されている文書データ
の位置またはサイズを変更したデータとの共通部分を抽
出し、当該抽出したデータをフォーマットデータとして
登録するフォーマットデータ登録手段と、を備えること
を特徴とする。
In addition, an input unit for inputting document data, a data storage unit for storing the document data input by the input unit, and a shared data having a changed position or size of the document data stored in the data storage unit Format data registration means for extracting a portion and registering the extracted data as format data.

さらに、抽出されたフォーマットデータをオペレータ
が、適切なフォーマットデータに修正するフォーマット
データ修正手段を有することを特徴とする。
Further, the present invention is characterized in that it has a format data correcting means for an operator to correct the extracted format data to appropriate format data.

(ホ)作用 本発明の文書処理装置によれば、フォーマット登録手
段を備えることによって、記憶されている文書データか
ら表やタイトル等のフォーマットデータを抽出すること
ができる。
(E) Operation According to the document processing apparatus of the present invention, the format data such as a table and a title can be extracted from the stored document data by providing the format registration unit.

(ヘ)実施例 以下、第1図〜第6図を用いて本発明の文書処理装置
について詳述する。
(F) Embodiment Hereinafter, the document processing apparatus of the present invention will be described in detail with reference to FIGS.

第1図は、本発明を実施するデータ処理装置のブロッ
ク構成図である。(1)は主制御部であり、当該制御部
に内蔵している制御プログラムに基づいて本装置の各部
の制御を行う。(2)は上記主制御部と各部と接続する
バスであり、各部のデータ交換を行う。(3)はキーボ
ードやマウス等からなる入力部であり、文字、罫線など
を入力する他に、カーソル移動、かな漢字変換、実行、
フォーマット抽出開始などを指示する指示キーを有す
る。(4)はCRTディスプレイ、液晶ディスプレイ等の
出力表示部であり、表示制御部(5)により制御され
る。(6)はハードディスク、フロッピィディスク等の
データ記憶部であり、作成した文書データを記憶保存す
る。(7)はテキストメモリであり、処理中の文書デー
タを一時的に格納し、処理が終了すると、斯る文書デー
タは上記データ記憶部(6)に転送され記憶される。
(8)はデータ解析部であり、上記データ記憶部(6)
に記憶されているデータ同士やデータ記憶部(6)のデ
ータとテキストメモリ(7)のデータの比較を行いフォ
ーマットデータの抽出を行う。(9)はフォーマットデ
ータ登録バッファであり、データ解析部(8)によって
抽出されたフォーマットデータを1文字ずつ書き込んで
おくためのバッファである。(10)はフォーマットデー
タ登録部であり、データ解析後に、フォーマットデータ
登録バッファ(9)に書き込まれているデータのフォー
マットデータ記憶部(11)への登録処理を行う。(12)
はフォーマットデータ修正部であり、データ解析部
(8)によって抽出され、フォーマットデータ登録バッ
ファ(9)に書き込まれているデータの修正処理を行
う。フォーマット記憶部(11)に記憶されたフォーマッ
トは、フォーマットデータ読み出し部(13)によって、
テキストメモリ(7)に随時読み出され利用することが
できる。
FIG. 1 is a block diagram of a data processing device for implementing the present invention. (1) is a main control unit, which controls each unit of the present apparatus based on a control program stored in the control unit. (2) is a bus connecting the main control unit and each unit, and performs data exchange of each unit. (3) is an input unit composed of a keyboard, a mouse, and the like. In addition to inputting characters, ruled lines, and the like, a cursor movement, kana-kanji conversion, execution,
It has an instruction key for instructing start of format extraction and the like. (4) is an output display unit such as a CRT display or a liquid crystal display, and is controlled by a display control unit (5). Reference numeral (6) denotes a data storage unit such as a hard disk or a floppy disk, which stores and saves created document data. (7) is a text memory for temporarily storing the document data being processed, and upon completion of the processing, such document data is transferred to and stored in the data storage unit (6).
(8) is a data analysis unit, and the data storage unit (6)
And the data stored in the data storage unit (6) and the data in the text memory (7) are compared to extract the format data. Reference numeral (9) denotes a format data registration buffer for writing the format data extracted by the data analysis unit (8) character by character. Reference numeral (10) denotes a format data registration unit, which registers data written in the format data registration buffer (9) in the format data storage unit (11) after data analysis. (12)
Is a format data correction unit for correcting data extracted by the data analysis unit (8) and written in the format data registration buffer (9). The format stored in the format storage unit (11) is read by the format data reading unit (13).
It can be read out and used at any time in the text memory (7).

而して、上記したデータ処理装置によって以下に述べ
る手順でフォーマット抽出を行う。
Thus, format extraction is performed by the above-described data processing device in the procedure described below.

第2図aおよび第2図bは、本発明の文書処理装置に
係るフォーマットデータ抽出処理およびフォーマット登
録、修正処理を行う制御プログラムのフローチャートで
ある。
2A and 2B are flowcharts of a control program for performing format data extraction processing, format registration, and correction processing according to the document processing apparatus of the present invention.

今、第3図(a)及び(b)に示すように、入力部
(5)で入力された文字および罫線により作成した2つ
の文書が、データ記憶部(6)に記憶されているとき、
入力部(5)からのフォーマット抽出指示で、データ解
析部(8)によって、2つの文書データを比較し、フォ
ーマットデータ登録部(10)により、抽出されたデータ
をフォーマットデータ記憶部(11)へ登録する。フォー
マット抽出の指示を受けると、まず、S10ステップで比
較を行う各文書のリードポインタを文書の先頭にセット
する。次に、S20ステップでデータ記憶部(11)から1
文字ずつデータを読み出す。S40ステップでは読み出し
たデータの比較を行い、一致すればS50ステップのフォ
ーマットデータ登録バッファへの書き込み処理を行う。
さらに、S60ステップで、各文書のリードポインタを進
めてS20ステップに戻り、同様の処理を行う。このよう
にして、文書データが終わるまで繰り返され、S30ステ
ップによって文書データの終わりが検出されると、第2
図(b)の登録処理ルーチンで処理を行う。登録処理ル
ーチンでは、S100ステップでフォーマット登録バッファ
(9)が空かどうかを判定し、空でなければS110ステッ
プでフォーマット登録バッファ(9)のフォーマットデ
ータを表示制御部(3)によって表示部(4)に表示さ
せ、必要であれば、オペレータの指示による修正処理を
行う。また、S120ステップではフォーマット登録バッフ
ァ(9)のデータをフォーマットデータ記憶部(11)に
登録する。このようにして第4図に示すフォーマットデ
ータが第2図(a)及び(b)の文書データに基づき登
録される。
Now, as shown in FIGS. 3 (a) and 3 (b), when two documents created by the characters and ruled lines input by the input unit (5) are stored in the data storage unit (6),
In response to a format extraction instruction from the input unit (5), the data analysis unit (8) compares the two document data, and the format data registration unit (10) transfers the extracted data to the format data storage unit (11). register. Upon receiving the format extraction instruction, first, the read pointer of each document to be compared in step S10 is set at the head of the document. Next, in step S20, the data storage unit (11)
Read data character by character. In step S40, the read data is compared, and if they match, write processing to the format data registration buffer in step S50 is performed.
Further, in step S60, the read pointer of each document is advanced, and the process returns to step S20 to perform the same processing. In this manner, the process is repeated until the end of the document data. When the end of the document data is detected in step S30, the second process is performed.
Processing is performed by the registration processing routine shown in FIG. In the registration processing routine, it is determined in step S100 whether or not the format registration buffer (9) is empty. If not, in step S110, the format data in the format registration buffer (9) is displayed by the display controller (3) on the display unit (4). ) Is displayed, and if necessary, a correction process is performed according to the instruction of the operator. In step S120, the data in the format registration buffer (9) is registered in the format data storage (11). Thus, the format data shown in FIG. 4 is registered based on the document data shown in FIGS. 2 (a) and 2 (b).

第5図、第6図は、本発明の第2の実施例を説明する
ための模式図である。
FIG. 5 and FIG. 6 are schematic views for explaining a second embodiment of the present invention.

この実施例では、表の大きさの違う2つの文書の比較
において、S40ステップの比較処理で、第5図(a)のP
1と同図(b)のP2の罫線コード の比較時に、P2の罫線コード は縦方向に連続している可能性があるので、連続性およ
び連続している罫線コードとP1の罫線コード と一致するかどうか調べていく。P3において罫線コード
が一致するのでフォーマットデータ登録バッファ(9)
を書き込む。S40ステップの比較処理を上述の如くする
ことで、元のデータと同一でない場合でも所望のフォー
マットデータを得ることが可能となりる。このようにし
て、第5図に示した2つの文書から第6図に示すフォー
マットデータを抽出することができる。
In this embodiment, in comparing two documents having different sizes in the table, the comparison process in step S40 uses the P in FIG. 5 (a).
1 and P2 ruled line code in the same figure (b) When comparing P2 ruled line code May be continuous in the vertical direction, so the continuity and continuous rule code and the rule code of P1 Check to see if it matches. Format data registration buffer (9) because ruled line codes match in P3
To Write. By performing the comparison processing in step S40 as described above, it is possible to obtain desired format data even when the data is not the same as the original data. Thus, the format data shown in FIG. 6 can be extracted from the two documents shown in FIG.

また、罫線コードの連続性だけでなく、半角・全角・
倍角などの文字サイズ、アンダーライン・字消し・網か
けなどの文字修飾および文字や罫線の位置なども同様に
して、フォーマットデータとして抽出が可能となる。
In addition to the continuity of the ruled line code,
Similarly, character size such as double-width characters, character modification such as underlining, eraser, and shading, and positions of characters and ruled lines can be similarly extracted as format data.

さらに、抽出されたフォーマットデータを修正するた
めのフォーマットデータ修正部を備えることにより、所
望のフォーマットデータに修正し、登録することができ
る。
Further, by providing a format data correction unit for correcting the extracted format data, the format data can be corrected to desired format data and registered.

本実施例では、2文書の例で説明したが、3つ以上の
文書の場合やページ単位に比較することでフォーマット
データを抽出することが可能となる。
In the present embodiment, an example of two documents has been described. However, format data can be extracted by comparing three or more documents or by comparing pages.

(ト)効果 本発明の文書処理装置は、既に作成されている文書デ
ータから、簡単な操作により、表やタイトルなどのフォ
ーマットデータを抽出することが容易に行えるので、 フォーマットデータとして登録することによりオペレー
タのフォーマット作成時における操作の負担を軽減す
る。
(G) Effect The document processing apparatus of the present invention can easily extract format data such as a table and a title from already created document data by a simple operation. The burden on the operator when creating a format is reduced.

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

第1図は本発明の文書処理装置のブロック構成図、第2
図(a)はフォーマットデータを抽出するプログラムの
流れ図、第2図(b)はフォーマットデータ登録処理を
行うプログラムの流れ図、第3図(a)、第3図(b)
は本発明の第1の実施例の基となる文書データの模式
図、第4図は第1の実施例において抽出されたフォーマ
ットデータの図である。第5図(a)、第5図(b)は
本発明の第2の実施例の基となる文書データの模式図、
第6図は第2の実施例において抽出されたフォーマット
データの模式図である。 1…主制御部、2…バス、3…表示制御部、4…表示
部、5…入力部、6…データ記憶部、7…テキストメモ
リ、8…データ解析部、9…フォーマットデータ登録バ
ッファ、10…フォーマットデータ登録部、11…フォーマ
ットデータ記憶部、12……フォーマットデータ修正部、
13…フォーマットデータ読み出し部
FIG. 1 is a block diagram of a document processing apparatus according to the present invention.
FIG. 2A is a flow chart of a program for extracting format data, FIG. 2B is a flow chart of a program for performing format data registration processing, FIG. 3A and FIG.
FIG. 4 is a schematic diagram of the document data which is the basis of the first embodiment of the present invention, and FIG. 4 is a diagram of the format data extracted in the first embodiment. FIGS. 5 (a) and 5 (b) are schematic diagrams of document data on which the second embodiment of the present invention is based.
FIG. 6 is a schematic diagram of the format data extracted in the second embodiment. DESCRIPTION OF SYMBOLS 1 ... Main control part, 2 ... Bus, 3 ... Display control part, 4 ... Display part, 5 ... Input part, 6 ... Data storage part, 7 ... Text memory, 8 ... Data analysis part, 9 ... Format data registration buffer, 10: format data registration unit, 11: format data storage unit, 12: format data correction unit,
13… Format data reading unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石場 正大 大阪府守口市京阪本通2丁目18番地 三 洋電機株式会社内 (56)参考文献 特開 平2−28868(JP,A) 特開 昭61−26171(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 17/21 - 17/26──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masahiro Ishiba 2-18-18 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (56) References JP-A-2-28868 (JP, A) JP-A Sho 61-26171 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 17/21-17/26

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文書データを入力する入力手段と、当該入
力手段により入力された文書データを記憶するデータ記
憶手段と、前記データ記憶手段に記憶されている複数の
文書データの共通部分を抽出し、当該抽出したデータを
フォーマットデータとして登録するフォーマットデータ
登録手段と、を備えることを特徴とするデータ処理装
置。
An input unit for inputting document data, a data storage unit for storing the document data input by the input unit, and a common part of a plurality of document data stored in the data storage unit are extracted. And a format data registration unit for registering the extracted data as format data.
【請求項2】文書データを入力する入力手段と、当該入
力手段により入力された文書データを記憶するデータ記
憶手段と、前記データ記憶手段に記憶されている文書デ
ータの位置またはサイズを変更したデータとの共通部分
を抽出し、当該抽出したデータをフォーマットデータと
して登録するフォーマットデータ登録手段と、を備える
ことを特徴とするデータ処理装置。
2. An input device for inputting document data, a data storage device for storing the document data input by the input device, and data obtained by changing the position or size of the document data stored in the data storage device. And a format data registration unit for extracting a common part with the format data and registering the extracted data as format data.
【請求項3】抽出されたフォーマットデータをオペレー
タが、適切なフォーマットデータに修正するフォーマッ
トデータ修正手段を有することを特徴とする請求項第1
項または第2項記載のデータ処理装置。
3. An apparatus according to claim 1, further comprising a format data correcting means for allowing an operator to correct the extracted format data into appropriate format data.
Item 3. The data processing device according to item 2 or 2.
JP2175777A 1990-07-03 1990-07-03 Data processing device Expired - Fee Related JP2760638B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2175777A JP2760638B2 (en) 1990-07-03 1990-07-03 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2175777A JP2760638B2 (en) 1990-07-03 1990-07-03 Data processing device

Publications (2)

Publication Number Publication Date
JPH0464165A JPH0464165A (en) 1992-02-28
JP2760638B2 true JP2760638B2 (en) 1998-06-04

Family

ID=16002085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2175777A Expired - Fee Related JP2760638B2 (en) 1990-07-03 1990-07-03 Data processing device

Country Status (1)

Country Link
JP (1) JP2760638B2 (en)

Also Published As

Publication number Publication date
JPH0464165A (en) 1992-02-28

Similar Documents

Publication Publication Date Title
JPS6355098B2 (en)
US20040205538A1 (en) Method and apparatus for online integration of offline document correction
JPH06149466A (en) Information processor
JP2760638B2 (en) Data processing device
JP3258978B2 (en) Gesture processing device and gesture processing method
JPS60100220A (en) Document processor
JPH0764979A (en) Document information processor
JPH0470962A (en) Data processor
JPH0114617B2 (en)
JP2578747B2 (en) Handwritten information processing method
JPH0719251B2 (en) Mathematical symbol input display method
JP2786260B2 (en) Kana-Kanji conversion device
JP2682873B2 (en) Recognition device for tabular documents
JP2595399B2 (en) Document processing method
JP2922900B2 (en) Handwritten character recognition device
JP3264969B2 (en) Document creation device and document creation method
JP2995630B2 (en) Document data processing device
JPS61131082A (en) Rejected character display system of ocr
JPH077404B2 (en) Document processor
JP2803492B2 (en) Character and image processing device
JP2821002B2 (en) Character processing device and character processing method
JPS63172663A (en) Document processor
JPH10188016A (en) Document reader and layout analyzing and correcting processing method at document reader
JPH0666065B2 (en) Document processor with furigana addition function
JPH02301862A (en) Document preparing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees