JPH0232455A - Item extracting system - Google Patents

Item extracting system

Info

Publication number
JPH0232455A
JPH0232455A JP63181850A JP18185088A JPH0232455A JP H0232455 A JPH0232455 A JP H0232455A JP 63181850 A JP63181850 A JP 63181850A JP 18185088 A JP18185088 A JP 18185088A JP H0232455 A JPH0232455 A JP H0232455A
Authority
JP
Japan
Prior art keywords
item
document
data
extracted
extraction
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
JP63181850A
Other languages
Japanese (ja)
Inventor
Chizuko Imaizumi
今泉 千鶴子
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 JP63181850A priority Critical patent/JPH0232455A/en
Publication of JPH0232455A publication Critical patent/JPH0232455A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To store extracted item data to an item list data table, to retrieve an item having a characteristic from document data, and to automatically prepare the item list of a document by recognizing a character string having a specific character type and a character modification condition as the item to be extracted by means of an item extracting means, and extracting it from the document data. CONSTITUTION:A document editing device consists of an input part 1, a display part 4, a control part 2 and a memory part 3, and whether or not an item extracting instruction is issued is decided by the input, etc., of an item extracting key 15 in the input part 1. In the document data decided by the input part 1 by means of the item extracting key, the character string consisting of the specific character types and the character string, for which the special character modification is executed, are recognized to be the items specified by the control part 2. Further, the item to be extracted from the document data is recognized by the control part 2, the extracted item is stored into the memory part 3, and the item extracted by the control part 2 is stored into the extracted item memory table in the memory part 3 as the item list table.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ワードプロセッサで作成する文書に対する特
定の文字種、文字修飾より成る項目を抽出する場合に好
適な項目抽出方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an item extraction method suitable for extracting items consisting of specific character types and character modifications from a document created with a word processor.

〔従来の技術〕[Conventional technology]

従来、ワードプロセッサにおいて文書データから文字列
を検索する方法としては日本実業出版社昭和61年3月
20日第6刷「ワープロ入門」に述べられている検索機
能のように、指定文字列が文書データのどこにあるかを
検索する方式だけであり、特定の文字種より成る文字列
や特定の文字修飾が行われた文字列を抽出する項目の特
徴として認識し、文書データから自動的に抽出すること
は考慮されていなかった。そのため項目を抽出する際に
は、ユーザが、抽出する項目が文書中とこにあるか検索
を行い、それら項目の入力を行って抽出した項目の一覧
を作成していたため、検索。
Conventionally, as a method for searching a character string from document data in a word processor, there is a search function described in "Introduction to Word Processing" published by Nippon Jitsugyo Publishing Co., Ltd., March 20, 1986, 6th edition. However, it is not possible to recognize character strings made of specific character types or character strings with specific character modifications as characteristics of the item to be extracted and automatically extract them from document data. It wasn't taken into consideration. Therefore, when extracting items, the user searches to see if the item to be extracted is located in the document, and then inputs those items to create a list of extracted items.

入力、編集の手間がかかつていた0文書データが大量な
場合にはこれらの手間が多大だった。
When there is a large amount of document data, inputting and editing are time consuming and time consuming.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は指定した文字列の文書データ中の存在位
置が判るが、予め抽出する項目の文字種や文字修飾状態
の特徴が判っている場合に、その特徴を持った項目を検
索するということまでは行っていないという問題があっ
た。このため、一定の特徴を持った文字列の検索に手間
がかかつていた。
The above conventional technology can determine the location of a specified character string in document data, but if the characteristics of the character type and character modification state of the item to be extracted are known in advance, it is possible to search for items with those characteristics. The problem was that it was not done. For this reason, searching for character strings with certain characteristics is time consuming.

本発明の目的は、文字種や文字修飾状態に一定の特徴を
持った項目を、文書データから検索し文書の項目一覧を
自動的に作成する方式を提供することである。
An object of the present invention is to provide a method for automatically creating a document item list by searching document data for items that have certain characteristics in character types and character modification states.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、文書作成装置に、特定の文字種や文字修飾
状態を有する文字列を抽出する項目として認識し文書デ
ータから抽出する項目抽出手段と、抽出した項目を格納
する抽出項目格納テーブルと、抽出した項目を項目一覧
データに変換する項目一覧作成手段と、項目一覧データ
を格納する項目一覧テーブルを設けることにより達成さ
れる。
The above purpose is to provide a document creation device with an item extraction means that recognizes a character string having a specific character type or character modification state as an item to be extracted and extracts it from document data, an extraction item storage table that stores the extracted items, and an extraction item storage table that stores the extracted items. This can be achieved by providing an item list creation means for converting the selected items into item list data, and an item list table for storing the item list data.

〔作用〕[Effect]

項目抽出手段により、特定の文字種や文字修飾状態を有
する文字列を抽出する項目として認識し文書データから
抽出し、それら抽出した項目を抽出項目格納テーブルに
格納し、抽出項目格納テーブル中の項目を項目一覧作成
手段により項目一覧データに変換し1項目一覧データを
項目一覧テーブルに格納する。これによりユーザは一定
の特徴を持つ項目の抽出が容易に行えるようになる。
The item extraction means recognizes character strings with specific character types and character modification states as items to be extracted and extracts them from the document data, stores the extracted items in the extraction item storage table, and extracts the items in the extraction item storage table. The item list creation means converts it into item list data and stores one item list data in an item list table. This allows the user to easily extract items with certain characteristics.

〔実施例〕〔Example〕

以下5本発明の一実施例を第2図により説明する。第2
図は本発明に係る文書編集装置の構成を示すブロック図
であり、入力部(1)9表示部(4)、制御部(2)、
および記憶部(3)とからなる。入力部(1)は数字入
カキ−(11)、及び、読みを入力するためのキー(1
2)、実行キー(13)、キャンセルキー(14)、項
目抽出キー(15)等が存在する例えば第3図に示すキ
ーボードであり、表示部(4)は、文書データ表示、及
び抽出項目設定用のメニューの表示を行う例えば、CR
T表示器などである。制御部(2)は、前記、入力部(
1)2表示部(4)、及び記憶部(3)間の実行を司り
、文書の編集手段を持つもので、CPUを利用して構成
される。
An embodiment of the present invention will be described below with reference to FIG. Second
The figure is a block diagram showing the configuration of a document editing device according to the present invention, which includes an input section (1), a display section (4), a control section (2),
and a storage section (3). The input section (1) has number keys (11) and keys for inputting readings (1).
2), an execution key (13), a cancel key (14), an item extraction key (15), etc. are present, for example, the keyboard shown in FIG. 3, and the display section (4) displays document data and extracts item settings For example, CR
Such as a T display. The control unit (2) includes the input unit (
1) It controls execution between the two display sections (4) and the storage section (3), has document editing means, and is configured using a CPU.

第4図は前記項目抽出手段を持つ文書編集装置の処理フ
ローで、文書の作成から、編集終了までの一連の処理概
要である。以下この処理フローを用いて説明する。まず
最初に文書編集を開始するために必要なフラグ、カウン
タ類の初期設定を行う(ステップ401)。次にキーボ
ード等からキー人力を行ない(ステップ402)、次に
入カキ−の判定を行なう(ステップ403)、ここで、
メニュー選択キー、レイアウトキー、複写キー移動キー
、削除キー、ケイ線キー、項目抽出キー等といった、文
書編集のための編集キーの入力と判定したときには、入
力された編集キーに従い、文書新規作成、登録しである
文書の更新、書式設定、レイアウト処理、文中のデータ
の複写、移動。
FIG. 4 is a processing flow of the document editing device having the item extraction means, and is an overview of a series of processing from document creation to completion of editing. This processing flow will be explained below. First, flags and counters necessary for starting document editing are initialized (step 401). Next, a key is pressed manually from a keyboard or the like (step 402), and then an input key is determined (step 403). Here,
When it is determined that an edit key for editing a document has been input, such as a menu selection key, layout key, copy key movement key, delete key, line key, item extraction key, etc., a new document is created, Updating registered documents, formatting, layout processing, copying and moving data within the text.

削除やケイ線引き、項目の抽出等といった文書編集のた
めの処理を行なう(ステップ404)、また、編集終了
キーが入力されたときには、文書の編集処理を終了し、
フロッピ等に登録等をする編集終了処理(ステップ40
6)を行い、処理を終了する。文書編集中に、文字列の
入力が可能な状態において、文字入カキ−が入力された
時は、文字入力処理を行なう(ステップ405)。
Processes for editing the document such as deletion, underlining, and item extraction are performed (step 404), and when the editing end key is input, the document editing process is ended,
Editing end processing for registering on floppy disk, etc. (step 40)
6) and end the process. When a character input key is input while a character string can be input during document editing, character input processing is performed (step 405).

以下、本特許に係る項目抽出処理の一例を、第1図のフ
ローを用いて詳細に説明する。まず、項目抽出キー(1
5)の入力等により項目抽出指示があったかどうかの判
定を行う(ステップ100)。
Hereinafter, an example of the item extraction process according to this patent will be explained in detail using the flow shown in FIG. First, item extraction key (1
It is determined whether there is an item extraction instruction based on the input of step 5) or the like (step 100).

指示があったと判定された場合には、抽出項目設定メニ
ューの表示を行う(ステップ101)。メニューとして
は、例えば以下のような項目を用意する。■ひらがな、
カタカナ、漢字、数字、漢字。
If it is determined that there is an instruction, an extraction item setting menu is displayed (step 101). For example, the following items are prepared as a menu. ■Hiragana,
Katakana, kanji, numbers, kanji.

半角文字、全角文字、明朝体、ゴシック体といった文字
種。■項目の文字数。■項目に施された倍角の種類、■
項目に施された網かけの種類。■項目に施されたアンダ
ーラインの種類。これら■〜■に示したような抽出項目
としての特徴の情報に関する項目にユーザが回答を入力
できるような方式のメニューを表示する。メニューの一
例を第12図に示す(24)、ユーザは表示しであるメ
ニュー項目に従い項目抽出に関するデータのキー人力を
行い(ステップ102)、目次設定用のデータ入カキ−
でなければ(ステップ103)、実行キー(13)であ
るかどうかの判定(ステップ105)を行う。項目抽出
設定のデータ人カキーであった場合には設定したデータ
を表示しくステップ104)、キー人力処理(ステップ
102)に戻る。実行キー(13)であるかどうかの判
定(ステップ105)で実行キー(13)と判定された
場合、第9図に示す抽出項目設定テーブルに指定された
データをセットしくステップ109)。
Character types such as half-width characters, full-width characters, Mincho fonts, and Gothic fonts. ■Number of characters in the item. ■The type of double angle applied to the item, ■
The type of shading applied to the item. ■Type of underlining applied to the item. A menu is displayed in which the user can input answers to items related to characteristic information as extraction items such as those shown in (1) to (2). An example of the menu is shown in FIG. 12 (24).The user enters data related to item extraction according to the displayed menu items (step 102), and then enters data entry keys for setting the table of contents.
If not (step 103), it is determined whether it is the execution key (13) (step 105). If the item extraction setting data is a key, the set data is displayed (step 104), and the process returns to key manual processing (step 102). If it is determined that the execution key (13) is the execution key (13) (step 105), the specified data is set in the extraction item setting table shown in FIG. 9 (step 109).

抽出項目設定メニューの消去を行い(ステップ110)
、項目抽出データ作成処理を行い(ステップ111)、
処理を抜ける。実行キー(13)でないと判定された場
合キャンセルキー(14)であるかどうかの判定を行い
(ステップ106)。
Delete the extraction item setting menu (step 110)
, performs item extraction data creation processing (step 111),
Exit processing. If it is determined that it is not the execution key (13), it is determined whether it is the cancel key (14) (step 106).

キャンセルキー(14)でなかった場合は、ブザー音等
の異常音処理を行い(ステップ107)。
If it is not the cancel key (14), abnormal sound processing such as a buzzer sound is performed (step 107).

キー人力処理(ステップ102)に戻る。キャンセルキ
ーであった場合には項目抽出設定メニューの消去を行い
(ステップ108)処理を抜ける。
Return to key manual processing (step 102). If it is the cancel key, the item extraction setting menu is deleted (step 108) and the process exits.

次に、文書データ中から抽出項目としての特徴を持った
項目を検索し、抽出項目データを作成する項目抽出処理
(ステップ111)について第5図のフローを用いて詳
細に説明する。まず、第6図に示す抽出項目テーブル(
16)に格納する項目データを示す項目データポインタ
(17)を0にする(ステップ501)。次に、第7図
に示す文書データ(18)中のデータを示す文書ポイン
タ(19)を文書データ(18)の先頭に設定する(ス
テップ502)。文書ポインタ(19)が示す文書中の
データが第9図に示す抽出項目設定テーブル(21)中
の抽出すべき項目としての特徴のデータと一致した特徴
を持つかどうか判定する(ステップ503)。一致しな
かった場合は、文書ポイント(19)を次のデータに進
める処理(ステップ506)に進む。一致した場合、項
目を項目データポインタ(17)の示す第6図に示す抽
出項目格納テーブル(16)に格納する(ステップ50
4)。項目を1つ取り出したので、項目データポインタ
(17)を1増加させる(ステップ505)、次の文書
データの比較のために、文書ポインタ(19)を次のデ
ータに進める(ステップ506)。そして1文書ポイン
タ(19)の示すデータが第7図に示す文書データ(1
8)の終わりかどうかの判定を行う(ステップ507)
Next, the item extraction process (step 111) for searching document data for items having characteristics as extraction items and creating extraction item data will be described in detail using the flowchart of FIG. First, the extraction item table shown in Figure 6 (
16) is set to 0 (step 501). Next, a document pointer (19) indicating data in the document data (18) shown in FIG. 7 is set at the beginning of the document data (18) (step 502). It is determined whether the data in the document indicated by the document pointer (19) has a feature that matches the feature data as an item to be extracted in the extraction item setting table (21) shown in FIG. 9 (step 503). If they do not match, the process advances to step 506 to advance the document point (19) to the next data. If they match, the item is stored in the extracted item storage table (16) shown in FIG. 6 indicated by the item data pointer (17) (step 50).
4). Since one item has been extracted, the item data pointer (17) is incremented by 1 (step 505), and the document pointer (19) is advanced to the next data for comparison of the next document data (step 506). Then, the data indicated by the 1 document pointer (19) is the document data (1
8) Determine whether it is the end (step 507)
.

終わりでなかった場合には文書ポインタ(19)の示す
文書データが抽出項目としての特徴を持つかどうかの判
定(ステップ5o3)に戻る。文書データの終わりまで
検索が終了した場合には、抽出項目格納テーブル(16
)の内容を項目一覧作成手段により項目一覧データに変
換し、第8図に示す項目一覧テーブル(20)に格納す
る(ステップ508)。ここでは1文字修飾されていた
項目の文字コードを文字修飾なしの状態に変換し、変換
した項目を規則正しく配列させ項目一覧データを作成す
る。文書データ中に項目一覧用の頁を作成しくステップ
509)、項目一覧テーブルの内容を項目一覧用の頁デ
ータ格納バッファにコピーする(ステップ51o)。文
書に項目一覧が作成された状態の一例を第10図に示す
(21)。
If it is not the end, the process returns to step 5o3 to determine whether the document data indicated by the document pointer (19) has characteristics as an extraction item. When the search ends to the end of the document data, the extraction item storage table (16
) is converted into item list data by the item list creation means and stored in the item list table (20) shown in FIG. 8 (step 508). Here, the character code of the item decorated with one character is converted to a state without character modification, and the converted items are arranged regularly to create item list data. A page for the item list is created in the document data (step 509), and the contents of the item list table are copied to the page data storage buffer for the item list (step 51o). An example of a state in which an item list is created in a document is shown in FIG. 10 (21).

作成した項目一覧の一例を第11図に示す(23)。An example of the created item list is shown in FIG. 11 (23).

項目一覧データを1通常の文書データと同様のデータ構
成で作成すれば通常の編集法により目次、索引等の編集
も行える。
If item list data is created with the same data structure as normal document data, the table of contents, index, etc. can be edited using normal editing methods.

C発明の効果〕 本発明によれば1作成した文書データから、文字種2文
字修飾状態に特徴のある項目を抽出し、項目一覧を生成
するので項目抽出が簡単に行え操作性で向上する。
C. Effects of the Invention] According to the present invention, from document data that has been created, items with characteristics in character type and character modification state are extracted and an item list is generated, so item extraction can be easily performed and operability is improved.

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

第1図は本発明による項目抽出方式を示す図、第2図は
本発明にかかる文書編集装置の構成図、第3図は入カキ
−の一例を示す図、第4図は前記項目抽出方式をもつ文
書編集方式のフローチャート図、第5図は抽出項目デー
タ作成を行うための処理を表すフロチャート図、第6図
は抽出項目格納テーブルの一例を示す図、第7図は文書
データテーブルの一例を示す図、第8図は項目一覧テー
ブルの一例を示す図、第9図は抽出項目設定テーブルの
一例を示す図、第10図は文書とそれに対して作成され
た項目一覧の関係の一例を示す図、第11図は文書中に
項目一覧が作成された状態の一例を示す図、第12図は
抽出項目設定メニューの一例を示す図である。 1・・・入力部、2・・・制御部、3・・・記憶部、4
001表示部、11・・・数字入カキ−112・・・読
み入カキ−13・・・実行キー、14・・・キャンセル
キー、15・・・項目抽出キー 16・・・抽出項目格
納テーブル、17・・・項目データポインタ、18・・
・文書データテーブル、19・・・文書ポインタ、20
・・・項目一覧テーブル、21・・・抽出項目設定テー
ブル、22・・・文書と項目一覧の頁構成、23・・・
項目一覧、24・・・抽出項目設定メニュー 第 に 第3 図 S 第50 第10図 第6 図 第1Z図
FIG. 1 is a diagram showing an item extraction method according to the present invention, FIG. 2 is a block diagram of a document editing device according to the invention, FIG. 3 is a diagram showing an example of an input key, and FIG. 4 is a diagram showing the item extraction method. FIG. 5 is a flowchart showing the process for creating extraction item data, FIG. 6 is a diagram showing an example of an extraction item storage table, and FIG. 7 is an example of a document data table. Figure 8 is a diagram showing an example of an item list table, Figure 9 is a diagram showing an example of an extraction item setting table, and Figure 10 is an example of the relationship between a document and an item list created for it. FIG. 11 is a diagram showing an example of a state in which an item list has been created in a document, and FIG. 12 is a diagram showing an example of an extraction item setting menu. 1... Input section, 2... Control section, 3... Storage section, 4
001 display section, 11...Number entry key-112...Reading key-13...Execution key, 14...Cancel key, 15...Item extraction key 16...Extraction item storage table, 17...Item data pointer, 18...
・Document data table, 19...Document pointer, 20
...Item list table, 21...Extraction item setting table, 22...Page structure of document and item list, 23...
Item list, 24... Extraction item setting menu No. 3 Figure S Figure 50 Figure 10 Figure 6 Figure 1Z Figure

Claims (1)

【特許請求の範囲】[Claims] 1、文書作成装置において、作成した文書データ中の特
定の文字種より成る文字列や、特定の文字修飾が行われ
た文字列を、抽出する項目として認識し、文書データか
ら抽出する項目抽出手段と、抽出した項目を格納する抽
出項目格納テーブルと、抽出した項目を項目一覧データ
に変換する項目一覧作成手段と、項目一覧データを格納
する項目一覧テーブルを持つたことを特徴とする項目抽
出方式。
1. In the document creation device, an item extraction means that recognizes a character string consisting of a specific character type or a character string with a specific character modification in the created document data as an item to be extracted, and extracts it from the document data. An item extraction method characterized by having an extraction item storage table for storing extracted items, an item list creation means for converting the extracted items into item list data, and an item list table for storing the item list data.
JP63181850A 1988-07-22 1988-07-22 Item extracting system Pending JPH0232455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63181850A JPH0232455A (en) 1988-07-22 1988-07-22 Item extracting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63181850A JPH0232455A (en) 1988-07-22 1988-07-22 Item extracting system

Publications (1)

Publication Number Publication Date
JPH0232455A true JPH0232455A (en) 1990-02-02

Family

ID=16107915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63181850A Pending JPH0232455A (en) 1988-07-22 1988-07-22 Item extracting system

Country Status (1)

Country Link
JP (1) JPH0232455A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0444160A (en) * 1990-06-12 1992-02-13 Casio Comput Co Ltd Document processor
JP2012234343A (en) * 2011-04-28 2012-11-29 Fujitsu Ltd Similar character code group search supporting method, similar candidate extracting method, similar candidate extracting program, and similar candidate extracting apparatus
WO2015141101A1 (en) * 2014-03-20 2015-09-24 日本電気株式会社 Information-processing device, information processing method, and information-processing program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0444160A (en) * 1990-06-12 1992-02-13 Casio Comput Co Ltd Document processor
JP2012234343A (en) * 2011-04-28 2012-11-29 Fujitsu Ltd Similar character code group search supporting method, similar candidate extracting method, similar candidate extracting program, and similar candidate extracting apparatus
US9442901B2 (en) 2011-04-28 2016-09-13 Fujitsu Limited Resembling character data search supporting method, resembling candidate extracting method, and resembling candidate extracting apparatus
WO2015141101A1 (en) * 2014-03-20 2015-09-24 日本電気株式会社 Information-processing device, information processing method, and information-processing program
US10067921B2 (en) 2014-03-20 2018-09-04 Nec Corporation Information processing apparatus, information processing method, and information processing program

Similar Documents

Publication Publication Date Title
JP3691844B2 (en) Document processing method
JP2783558B2 (en) Summary generation method and summary generation device
US6128635A (en) Document display system and electronic dictionary
CA2007414C (en) Method for manipulating elements within a structured document using active intent interpretations
JP3337161B2 (en) Methods for editing structured documents
JPS6170660A (en) Polysemy displaying and selecting means of machine translation system
JPH0242071B2 (en)
JPH0232455A (en) Item extracting system
JPH11328166A (en) Character input device and computer-readable recording medium where character input processing program is recorded
JPH0236019B2 (en)
JPH03233670A (en) Text data conversion system
JPH0227701B2 (en)
JP2008117310A (en) Dictionary retrieval device and dictionary retrieval processing program
JPH0612543B2 (en) Character string specification method
JPH05324645A (en) Document processing method and device
JPH01136270A (en) Word processor device
JPH0571982B2 (en)
JPH08297659A (en) Character string conversion processing system
JPH06195380A (en) Retrieval result display system in translation supporting system
JPH08263490A (en) Legal document updating system
JPH0716192Y2 (en) Text processor
JPH0785236B2 (en) Character data input device
JPH03129562A (en) Device for supporting index formation
JPH0981581A (en) Data base generation method
JPS6325765A (en) Document editing device