JPS62182838A - Document processor - Google Patents

Document processor

Info

Publication number
JPS62182838A
JPS62182838A JP61022833A JP2283386A JPS62182838A JP S62182838 A JPS62182838 A JP S62182838A JP 61022833 A JP61022833 A JP 61022833A JP 2283386 A JP2283386 A JP 2283386A JP S62182838 A JPS62182838 A JP S62182838A
Authority
JP
Japan
Prior art keywords
word
document
specifying
extraction
item
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
JP61022833A
Other languages
Japanese (ja)
Inventor
Masaya Goto
真哉 後藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61022833A priority Critical patent/JPS62182838A/en
Publication of JPS62182838A publication Critical patent/JPS62182838A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To facilitate an easy sentence editing job by performing the rearrangement processing and the extraction processing for data sentences based on the words divided by the space or return within a field. CONSTITUTION:A sorting designation area 7 which stores the word information used as the standard for the rearrangement of data sentences includes the position information area 7A of the field where the standard word exists, a position information area 7B for the reference word within the field, and a sorting flag 7C which decides whether the reference words, i.e., an alphameric character string are set in the ascending or descending order. While a selection designating area 8 which stores the word information serving as the standard for the extraction of data sentences includes a position information area 8A where the reference word exists, a position information area 8B for the reference word within the field, and a selection flag 8C which sets the information area for alphameric character string that decides the range of extraction.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書情報を取扱う文書処理装置、特に文書情報
の検索及びその出力を制御する文書処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document processing device that handles document information, and particularly to a document processing device that controls searching for document information and its output.

[従来の技術] 従来、この種の装置の代表的な例としてワードプロセッ
サがある。このワードプロセッサでは、レコードと呼ば
れる単位でデータを集めた文章や名簿を作成、&i集す
ることができる。
[Prior Art] Conventionally, a word processor is a typical example of this type of device. With this word processor, you can create sentences and lists that collect data in units called records.

ところで、一つのレコードでは各個人に関する様々のデ
ータがフィールドと呼ばれる単位で区切られている。こ
のデータ文章をフィールド内の文字例を基準として、レ
コード単位で並べ換える処理(ソート)、或いは抽出す
る処理(セレクト)を行うことが可能である。基本的に
は、一つのフィールド内の情報量に制限はないが、並べ
換え処理、或いは抽出処理を行う際には、基準となるフ
ィールドの先頭文字から順次比較していく。
By the way, in one record, various data regarding each individual are divided into units called fields. It is possible to rearrange (sort) or extract (select) this data text on a record-by-record basis based on character examples in the field. Basically, there is no limit to the amount of information in one field, but when performing rearrangement processing or extraction processing, comparisons are made sequentially starting from the first character of the reference field.

欧米各国の氏名を一つのフィールドにとった場合を例に
とると、通常ファーストネーム、ミドルネーム、ラスト
ネームをスペースで区切ることにより入力を行う。ラス
トネームを基準としてレコードの並べ換え、抽出を実行
しようとするならば、ラストネームを別フィールドとし
て区切る必要がでてくる。
For example, when names from Western countries are stored in one field, the first name, middle name, and last name are usually entered by separating them with a space. If you want to sort or extract records based on last name, you will need to separate the last name as a separate field.

[発明が解決しようとする問題点] しかし、フオームレターにデータ文章をマージしてプリ
ントする際には、氏名は一つのフィールドにしておいた
方が極めて有効である。並べ換え処理、或いは抽出処理
を容易にするにはフィールド内の入力を限定せざるをえ
ないが、フオームレターのデータ文章、又は名簿として
使用するにはフィールド内の情報を多く人力できた方が
便利であるという矛盾が生じている。
[Problems to be Solved by the Invention] However, when merging data text into a form letter and printing it, it is extremely effective to keep the name in one field. In order to facilitate the sorting or extraction process, it is necessary to limit the input in the field, but it is more convenient to manually input as much information as possible in the field to use it as a data text for a form letter or as a list. A contradiction arises.

本発明は上述した従来技術に鑑み成されたものであり、
データ文章をフィールド内のスペース或はリターンによ
って区切られたワードを基準として並べ換え処理、抽出
処理を行うことにより、文章編集を容易にする文書処理
装置を提供することにある。
The present invention has been made in view of the above-mentioned prior art,
It is an object of the present invention to provide a document processing device that facilitates text editing by performing rearrangement processing and extraction processing on data text based on words separated by spaces or returns in a field.

[問題点を解決するための手段] この問題点を解決するために本実施例の文書処理装置は
、複数の項目からなる文書情報を複数個記憶する記憶手
段と、記憶手段によって記憶された文書情報夫々の位置
を記憶する文書位置記憶手段と、文書情報内の所定の項
目内の単語或いは語句を検索する検索手段と、文書情報
内の所望の単語或いは語句を検索して所望の単語或いは
語句が格納されている文書情報を抽出する抽出手段と、
検索手段により所定の項目内の単語或いは語句から文書
情報の夫々に対応する文書位置記憶手段で記憶された文
書情報の位置情報を並べ換える並べ換え手段とを備えた
文書処理装置であって、抽出手段は文書情報内の項目位
置を指定する第1の抽出位置指定手段と、項目内の単語
或は語句の位置を指定する第2の抽出位置指定手段と、
抽出基準となる単語或いは語句を指定する抽出単語指定
手段とを備え、並べ換え手段は文書情報内の項目を指定
する第1の位置指定手段と、項目内の単語或いは語句の
位置を指定する第2の位置指定手段とを備える。
[Means for Solving the Problem] In order to solve this problem, the document processing device of the present embodiment includes a storage means for storing a plurality of pieces of document information consisting of a plurality of items, and a document processing device that stores documents stored in the storage means. A document position storage means for storing the position of each piece of information; a search means for searching for a word or phrase within a predetermined item in the document information; and a search means for searching for a desired word or phrase in the document information to obtain the desired word or phrase. an extraction means for extracting document information in which is stored;
A document processing apparatus comprising: a reordering means for rearranging position information of document information stored in a document position storage means corresponding to each piece of document information from words or phrases within a predetermined item by a retrieval means, the document processing apparatus comprising: an extraction means; a first extraction position specification means for specifying the position of an item within the document information; a second extraction position specification means for specifying the position of a word or phrase within the item;
The sorting means includes a first position specifying means for specifying an item in the document information, and a second position specifying means for specifying the position of the word or phrase within the item. and a position specifying means.

[作用コ かかる本実施例の構成において、抽出基準となる単語或
いは語句を有する文書情報のみを抽出するときには、そ
の単語或いは語句が格納されている可能性がある文書情
報内の項目位置と、その項目内の位置を指定し、抽出の
基準となる単語或いは語句を指定して検索を行ない、所
望の文書情報を抽出する。
[Operations] In the configuration of this embodiment, when extracting only document information that has a word or phrase as an extraction criterion, it is necessary to identify the item position in the document information where the word or phrase may be stored, and the The desired document information is extracted by specifying a position within the item and specifying a word or phrase as a reference for extraction.

また、基準となる単語或いは語句により文書情報の格納
順序を並べ換えるときには、並べ換える方向を指定し、
その基準となる文書情報内の項目位置と、その項目内の
位置とを指定して並べ換える。
In addition, when rearranging the storage order of document information based on a standard word or phrase, specify the direction of rearrangement,
The item position within the document information that serves as the reference and the position within the item are specified and rearranged.

[実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図中、1は後述の各構成要素を制御するマイクロプロセ
ッサ形態の中央処理装置(CPU)であり、文章処理の
ための演算や論理判断等を行い、バスを介してバスに接
続された後述の各構成要素を制御する。なお、以下、文
書情報は、画像情報を含むものとする。
In the figure, 1 is a central processing unit (CPU) in the form of a microprocessor that controls each component described later, performs calculations and logical judgments for text processing, and is connected to the bus via a bus. Control each component. Note that hereinafter, document information includes image information.

2は読み出し専用メモリ(ROM)であり、中央処理装
置1が後述の表示装置や記録装置などの各装置に制御信
号を供給する際に、例えば第5図に示すような制御手順
のプログラムび文書の編集に係るプログラムを記憶させ
ておく。
Reference numeral 2 denotes a read-only memory (ROM), in which when the central processing unit 1 supplies control signals to various devices such as a display device and a recording device, which will be described later, it stores a control procedure program and document as shown in FIG. 5, for example. A program related to editing is stored.

3はRAMであり、入力されたコードを記憶するテキス
トエリアや各装置の動作状態を記憶する領域を有すると
ともに、データ文章やデータ文章の並び換え、抽出の編
集に必要な情報の記憶領域がある。
3 is a RAM, which has a text area for storing input codes and an area for storing the operating status of each device, as well as a storage area for data sentences and information necessary for rearranging and editing data sentences. .

7は、そのデータ文章の並び換えの基準となるワード情
報を記憶するソート指定領域である。ここでは、基準と
なるワードの位置するフィールドの位置情報領域7Aと
、フィールド内における基準となるワードの位置情報領
域7Bと、英数文字列である基準となるワードを昇順で
行うか降順で行うかをセットするソートフラグ7Cとを
有する。
Reference numeral 7 denotes a sort designation area in which word information serving as a reference for sorting the data sentences is stored. Here, the position information area 7A of the field where the reference word is located, the position information area 7B of the reference word within the field, and the reference word which is an alphanumeric string are arranged in ascending order or in descending order. It has a sort flag 7C that sets the

また8はデータ文章の抽出の基準となるワード情報を記
憶するセレクト指定領域である。ここでは、基準となる
ワードの位置するフィールドの位置情報領域8Aと、フ
ィールド内における基準となるワードの位置情報領域8
Bと、抽出の範囲を決める英数文字列情報領域をセット
するセレクトフラグ8Cとを有する。
Reference numeral 8 denotes a select designation area in which word information serving as a standard for extracting data sentences is stored. Here, the position information area 8A of the field where the reference word is located, and the position information area 8A of the reference word within the field.
B, and a select flag 8C that sets an alphanumeric character string information area that determines the range of extraction.

9はマージデータレコードポインタで、データ文章内の
各レコードの先頭文字アドレスをレコード類に記憶して
いる領域である。
Reference numeral 9 denotes a merge data record pointer, which is an area in which the first character address of each record in the data text is stored in records.

10は、マージデータ文書記tQ領域で、キーボード4
から入力され、中央処理装置1によって処理され、表示
装置5によって表示された文字情報を文字コード(キャ
ラクタコード)として保存しである。
10 is the merge data document record tQ area, and the keyboard 4
The character information inputted from the computer, processed by the central processing unit 1, and displayed by the display device 5 is stored as a character code.

第2図〜第4図は第1図で示した表示装置5に現われる
データ文章の編集画面である。
2 to 4 are data text editing screens that appear on the display device 5 shown in FIG. 1.

第2図において、11は左マージン、右マージン、タブ
等の位置を示すルーラ−である。また1 2 (” l
”)は、フィールド終了記号を、13(”4”)はレコ
ード終了記号を夫々示す。
In FIG. 2, numeral 11 is a ruler indicating the positions of the left margin, right margin, tabs, etc. Also 1 2 ("l
”) indicates a field end symbol, and 13 (“4”) indicates a record end symbol.

また本実施例では全体で4個のレコードが含まれている
場合について説明する。
In this embodiment, a case will be explained in which a total of four records are included.

各レコードには3つのフィールドがあり、1番目のフィ
ールドには氏名、2番目のフィールドには住所、3番目
のフィールドには電話番号が入力されている。尚、本実
施例ではフィールドの数を3つとしたが、これに限定さ
れるものではなく、例えば新に生年月日等の項目を加え
てもかまわない。
Each record has three fields: the first field contains the name, the second field contains the address, and the third field contains the telephone number. Although the number of fields is three in this embodiment, the number of fields is not limited to three; for example, new items such as date of birth may be added.

ここで、これら4つのレコードの並べ換え処理について
説明する。
Here, the process of rearranging these four records will be explained.

例えば、並べ換え処理で基準となる単語或いは語句とし
て苗字をアルファベット類の昇順に並べ換える場合につ
いて説明する。
For example, a case will be described in which last names are rearranged in ascending alphabetical order as reference words or phrases in the rearrangement process.

名字は第1フイールドの2番目の単語であるからフィー
ルドの位置情報領域7Aには′1′を、ワードの位置情
報領域7Bには“2”、或いはR1“を(R1は右から
1番目という意味)、ソートフラグ7Cには昇順である
旨を示すデータ、例えば“1” (“0゛′は降順とす
る。)をキーボード4より入力する。尚、昇順或いは降
順の選択はアルファベットに限定されるものではなく、
例えば五十音順であっても構わない。
Since the last name is the second word in the first field, '1' is written in the field position information area 7A, and '2' or R1 is written in the word position information area 7B (R1 is the first word from the right. data indicating ascending order, for example, "1"("0'' indicates descending order), is input from the keyboard 4 into the sort flag 7C. Note that the selection of ascending or descending order is not limited to alphabetical order.
For example, it may be in alphabetical order.

以下、この並べ換え処理(ソート)の動作処理を第5図
のフローチャートで説明する。
The operation process of this rearrangement process (sorting) will be explained below with reference to the flowchart shown in FIG.

マージデータ文章はRAM3の10の領域に、マージデ
ータ文章内の各レコードの先頭文字アドレスが9の領域
に展開されである。ここで各レコード内のフィールドは
第2図に示す様にフィールド終了記号12により区切、
られているものとする。
The merge data text is expanded into 10 areas of the RAM 3, and the first character address of each record in the merge data text is developed into 9 areas. Here, the fields in each record are separated by the field end symbol 12 as shown in Figure 2.
It is assumed that

ステップStでは、表示装に5に示されたメニュー画面
に従い、キーボード4より並び換えの基準となるワード
情報となる、フィールドの位置・[肖f1領域7A、ワ
ードの位置情報領域7B、ソートフラグ7Cに夫々”1
’、”2°°、°“1°゛を夫々人力し、格納する。
In step St, following the menu screen shown in 5 on the display, the keyboard 4 is used to select the field position/[portion f1 area 7A, word position information area 7B, sort flag 7C, which will serve as the reference for sorting. Each “1”
', '2°° and °'1°' are manually installed and stored.

以下CPUIはこれらの情報を基に処理していき、苗字
は第1フイールドの先頭から検索していき、スペースを
検出した次のワードを苗字と判断する。また並べ換え(
ソート)の方法は、既知のソート方法を用いることにす
る。
Thereafter, the CPUI processes based on this information, searches for the surname from the beginning of the first field, and determines the next word in which a space is detected to be the surname. Also sort (
For the sorting method, a known sorting method will be used.

ステップS2では比較する2つのレコードを抽出する。In step S2, two records to be compared are extracted.

まず第2図で示されるレコード1とレコード2が抽出さ
れたとする。ステップS3では2つのレコードの並び換
えの基準となるワードを、7A、7Bの情報をもとに摘
出する。レコード1では“Ueno”  (Wordl
)、レコード2では’Akasaka”  (Word
2)が該当するワードとして抽出される。ステップS4
でWordlとWord2の大小判定を文字列の先頭か
らアスキーコードとしての大小判定で行う。
First, assume that records 1 and 2 shown in FIG. 2 are extracted. In step S3, words that serve as a reference for rearranging the two records are extracted based on the information of 7A and 7B. Record 1 is “Ueno” (Word
), and in record 2 'Akasaka' (Word
2) is extracted as the corresponding word. Step S4
The size of Word1 and Word2 is determined by determining the size of Word1 and Word2 from the beginning of the character string as ASCII code.

ここでは、” U e n o“°のu ”はアスキー
コードで55H(Hは16進数を意味する)であり、”
Akasaka”の′A″のアスキーコードは41Hで
あるため、 ”Ueno”>A k a s a k a ”(Wo
rdl>Word2)となり、ステップS5に穆る。こ
こでは7Cに格納されであるデータを参照する。7Cに
は昇順の情報である”1”が格納されているのでステッ
プS7に移り、マージデータレコードポインタ9の交換
を行う。交換はレコード1のアドレス情報が人っていた
領域にレコード2のアドレス情報を、レコード2のアド
レス情報が入っていた領域にレコード1のアドレス情報
が格納されることになる。これでレコード1とレコード
2の順序が入れ換わることになる。
Here, "U e no "° u" is 55H in ASCII code (H means hexadecimal number),"
The ASCII code for 'A' in 'Akasaka' is 41H, so 'Ueno'>A ka s a ka '(Wo
rdl>Word2), and the process advances to step S5. Here, data stored in 7C is referred to. Since "1", which is ascending order information, is stored in 7C, the process moves to step S7, and the merge data record pointer 9 is exchanged. In the exchange, the address information of record 2 is stored in the area where the address information of record 1 was stored, and the address information of record 1 is stored in the area where the address information of record 2 was stored. This will change the order of records 1 and 2.

またステップS7を実行するのはステップS4の判定が Wordl>Word2で7Cの干青報がR−111m
!の時、 或いは、ステップS4の判定が Wordl<Word2で70の情報か降順の時である
In addition, step S7 is executed because the determination in step S4 is Word1>Word2 and the blue report of 7C is R-111m.
! Or, when the determination in step S4 is that Wordl<Word2 and the information is 70 or in descending order.

ステップS8の判定で並び換え(ここで用いた既知のソ
ート方法)か々 ′かどうかを判定し、継続の場合はス
テップS2に戻り同様の処理を随時行なう。
In step S8, it is determined whether the sorting (known sorting method used here) or not is possible, and if it is determined to continue, the process returns to step S2 and repeats the same process as needed.

第3図は並び換えが終了した結果を表示装置5で表示し
たものであり、名字がアルファベラ!・順に並べ換えら
れたことがわかる。
Figure 3 shows the result of the sorting completed on the display device 5, and shows that the last name is Alphabella!・You can see that the items have been sorted in order.

次に所望の項目を備えた文書を抽出する抽出処理(セレ
クト)について説明する。また、ここては郵便番号をセ
レクト処理の基準となる単語或いは語句とし、住所が東
京であるレコードを抽出する場合について説明する。
Next, the extraction process (selection) for extracting documents with desired items will be explained. Further, here, a case will be described in which a postal code is used as a word or phrase as a reference for selection processing, and records whose address is Tokyo are extracted.

郵便番号は第2フイールドの最後のワードであるからフ
ィールドの位置情報領域8Aには2゛。
Since the postal code is the last word in the second field, the position information area 8A of the field contains 2.

を、ワードの位置情報領域8Bには“R”又はR1” 
(Rはフィールド内の右からの位置を示し、右端である
から°1”は省略しても構わない。)を、また住所が東
京である場合には郵便番号が100〜199であるため
、セレクトフラグ8Cには100”と199 ”を格納
する。
, "R" or R1" is written in the word position information area 8B.
(R indicates the position from the right in the field, and since it is the right edge, °1" can be omitted.) Also, if the address is Tokyo, the postal code is 100 to 199, so 100'' and 199'' are stored in the select flag 8C.

CPUIはこれらの数字の範囲内のあるレコードを抽出
することになる。尚、例えばこのセレクトフラグ8Cに
同じ数字、例えば“100″を2つセットした場合には
郵便番号が100°°であるレコードのみを抽出するこ
とになる。
The CPUI will extract certain records within these number ranges. Note that, for example, if the same number, for example "100", is set twice in the select flag 8C, only records with a postal code of 100° will be extracted.

以下、この抽出処理(セレクト)の動作処理を第6図の
フローチャートに従って説明する。
The operation process of this extraction process (select) will be described below with reference to the flowchart of FIG.

ステップS9では、表示装置5に示されたメニュー画面
に従い、セレクト処理の基鋸となるワード情報となる、
フィールドの位置情報領域8A、ワードの位置情報領域
8B、セレクトフラグ8Cに夫々“2″、”R”、  
“100〜199 ”をキーボード4より夫々入力し、
格納させる。以下CPU 1はこれらの情報を基に処理
することになる。
In step S9, according to the menu screen shown on the display device 5, word information that becomes the basis of the selection process is selected.
“2” and “R” are set in the field position information area 8A, word position information area 8B, and select flag 8C, respectively.
Enter “100-199” from keyboard 4, respectively.
Store it. Thereafter, the CPU 1 will process based on this information.

次に、初期値としてステップSIOでレコードカウンタ
ーnを1にする。ステップSllではn番目のレコード
の抽出の基準となるワードをフィールドの位置情報領域
8A、ワードの位置fi’i報領域8Bの情報をもとに
摘出する。このとき倹素された第2図の1番目のレコー
ドの該当するワードは°“277 ”である。
Next, the record counter n is set to 1 as an initial value in step SIO. In step Sll, a word serving as a reference for extracting the n-th record is extracted based on the information in the field position information area 8A and the word position fi'i information area 8B. At this time, the corresponding word of the first record in FIG. 2 that has been parsed is "277".

さてステップS+2ではセレクトフラグ8Cに格納され
ている情報とステップSllで検索されたワード°′2
77°゛の比較を行う。
Now, in step S+2, the information stored in the select flag 8C and the word °'2 searched in step Sll.
Make a comparison of 77°.

ワード゛°277°°は100〜199の範囲内にない
のでステップS13へ穆り、第1番目のレコードをマー
ジデータレコードポインタ9より削除する。次にステッ
プ514に移りレコードカウンタnをインクリメントす
る。更にステップS15ですべてのレコードに対してな
されたか否かを判断して、すべてのレコードに対して処
理を実行したと判断したら処理を終了する。
Since the word "°277°" is not within the range of 100 to 199, the process goes to step S13 and the first record is deleted from the merge data record pointer 9. Next, the process moves to step 514 and the record counter n is incremented. Further, in step S15, it is determined whether the processing has been performed on all records, and if it is determined that the processing has been performed on all records, the processing is terminated.

以上の処理でマージデータレコードポインタ9から削除
されずに残ったレコードは第2図のレコード2と4とな
るわけである。
The records that remain without being deleted from the merge data record pointer 9 in the above process are records 2 and 4 in FIG. 2.

第4図は抽出が終了した結果をCRT5で表示したもの
であり、夫々郵便番号が“146”“と” i o o
“であるレコードが表示装置5に出力されたことになる
Figure 4 shows the results of the extraction displayed on a CRT5.
This means that the record “is output to the display device 5.

また、住所が東京であるレコードをセレクト処理するた
めには、セレクト処理の基準となるワードを第2フイー
ルドの右から2番目の’T o k yO゛として、フ
ィールドの位置情報領域8Aに” 2 ”を、ワードの
位置情報領域8Bに“’ R2”を、セレクトフラグ8
Cに今度は数字ではなく文字で°’Tokyo”をセッ
トしても同様の結果が得られる。
In addition, in order to select a record whose address is Tokyo, set the reference word for the selection process to 'TokyO', which is second from the right in the second field, and enter "2" in the position information area 8A of the field. ”, “'R2” in the word position information area 8B, select flag 8
A similar result can be obtained by setting "°'Tokyo" to C using letters instead of numbers.

以上のように本実施例は第2図に示されているようなマ
ージデータ文章をフィールド内の任意泣面のワードを基
準として並び換え(第3図)、抽出(第4図)を容易に
行なうことができる。
As described above, this embodiment rearranges the merged data text as shown in Figure 2 based on arbitrary words in the field (Figure 3), and facilitates extraction (Figure 4). can be done.

また、本実施例ではマージデータ文書を氏名と住所及び
電話番号としたが、これに限定されるものではなく、文
章でも単語の区別がつく様になつたものであれば文章情
報でも構わないし、アルファベットと数字のみではなく
、漢字などに応用することも可能である。
In addition, in this embodiment, the merge data document is a name, address, and telephone number, but it is not limited to this, and text information may be used as long as the words can be distinguished even in text. It can be applied not only to alphabets and numbers, but also to kanji, etc.

[発明の効果コ 以上説明した如く本発明によれば、所望の単語、或は語
句を検索することが容易になされ、その検索された単語
或は語句とから文章の並べ換えも容易に、且つ高速に処
理することが可能となる。
[Effects of the Invention] As explained above, according to the present invention, a desired word or phrase can be easily searched, and sentences can be rearranged easily and quickly based on the searched word or phrase. It becomes possible to process

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

第1図は本実施例のブロック図、 第2図は表示されたデータ文書例を示す図、第3図は並
び換え処理後の文書例を示す図、第4図は検索し、抽出
処理後を示す図、第5図は本実施例の並び換えのフロー
チャート、 第6図は本実施例の抽出のフローチャートである。 図中、1・・・CPU、2・:・ROM、3・・・RA
M、4・・・キーボード、5・・・表示装置、6・・・
記録装置、7・・・並び換えデータエリア、8・・・抽
出データエリア、9・・・マージデータレコードポイン
タ、10・・・文書記憶エリアである。 特許出願人   キャノン株式会社 ゛−−〜゛ 、 □ 代理人 弁理士    大 塚 庄 徳、・ 一層;ニ
ア−1
Figure 1 is a block diagram of this embodiment, Figure 2 is a diagram showing an example of a displayed data document, Figure 3 is a diagram showing an example of a document after sorting processing, and Figure 4 is a diagram showing an example of a document after searching and extraction processing. FIG. 5 is a flowchart of sorting in this embodiment, and FIG. 6 is a flowchart of extraction in this embodiment. In the figure, 1...CPU, 2...ROM, 3...RA
M, 4...Keyboard, 5...Display device, 6...
Recording device, 7... Sorting data area, 8... Extraction data area, 9... Merge data record pointer, 10... Document storage area. Patent applicant Canon Co., Ltd., □ Agent Patent attorney Shonori Otsuka, Near 1

Claims (5)

【特許請求の範囲】[Claims] (1)複数の項目からなる文書情報を複数個記憶する記
憶手段と、該記憶手段によつて記憶された前記文書情報
夫々の位置を記憶する文書位置記憶手段と、前記文書情
報内の所定の項目内の単語或いは語句を検索する検索手
段と、前記文書情報内の所望の単語或いは語句を検索し
て前記所望の単語或いは語句が格納されている文書情報
を抽出する抽出手段と、前記検索手段により所定の項目
内の単語或いは語句から前記文書情報の夫々に対応する
前記文書位置記憶手段で記憶された文書情報の位置情報
を並べ換える並べ換え手段とを備えた文書処理装置であ
つて、前記抽出手段は前記文書情報内の項目位置を指定
する第1の抽出位置指定手段と、前記項目内の単語或は
語句の位置を指定する第2の抽出位置指定手段と、抽出
基準となる単語或いは語句を指定する抽出単語指定手段
とを備え、前記検索手段により抽出し、前記並べ換え手
段は前記文書情報内の項目を指定する第1の位置指定手
段と、前記項目内の単語或いは語句の位置を指定する第
2の位置指定手段とを備え、前記検索手段により前記文
書位置記憶手段で記憶された前記文書情報の位置情報の
格納順序を並べ換ることを特徴とする文書処理装置。
(1) A storage means for storing a plurality of pieces of document information consisting of a plurality of items, a document position storage means for storing the position of each piece of the document information stored by the storage means, and a predetermined position in the document information. a search means for searching for a word or phrase within an item; an extraction means for searching for a desired word or phrase in the document information and extracting document information in which the desired word or phrase is stored; and the search means. a document processing device for sorting position information of document information stored in the document position storage means corresponding to each of the document information from words or phrases in a predetermined item, the document processing apparatus comprising: The means includes a first extraction position specifying means for specifying the position of an item in the document information, a second extraction position specifying means for specifying the position of a word or phrase within the item, and a word or phrase serving as an extraction criterion. an extracted word specifying means for specifying an item to be extracted by the search means, and the reordering means specifies an item in the document information; and a first position specifying means for specifying the position of the word or phrase in the item. a second position specifying means, wherein the search means rearranges the storage order of the position information of the document information stored in the document position storage means.
(2)検索手段は単語或いは語句間を検知する検知手段
を備え、該検知手段により単語或いは語句を検索するこ
とを特徴とする特許請求の範囲第1項記載の文書処理装
置。
(2) The document processing apparatus according to claim 1, wherein the search means includes a detection means for detecting between words or phrases, and the detection means searches for words or phrases.
(3)抽出単語指定手段には抽出基準となる単語或いは
語句の範囲指定することを特徴とする特許請求の範囲第
1項記載の文書処理装置。
(3) The document processing apparatus according to claim 1, wherein the extraction word specification means specifies a range of words or phrases that serve as extraction criteria.
(4)並べ換え手段は文書情報内の項目を指定する第1
の位置指定手段と、前記項目内の単語或いは語句の位置
を指定する第2の位置指定手段と、並べ換えに係る並べ
換えの方向を指定する並べ換え方向指定手段とを備えた
ことを特徴とする特許請求の範囲第1項記載の文書処理
装置。
(4) The sorting means is the first
A second position specifying means for specifying the position of a word or phrase within the item, and a rearrangement direction specifying means for specifying the direction of rearrangement. The document processing device according to scope 1.
(5)記憶手段は読み書き可能なメモリであることを特
徴とする特許請求の範囲第1項乃至第4項にいずれかに
記載の文書処理装置。
(5) The document processing device according to any one of claims 1 to 4, wherein the storage means is a readable and writable memory.
JP61022833A 1986-02-06 1986-02-06 Document processor Pending JPS62182838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61022833A JPS62182838A (en) 1986-02-06 1986-02-06 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61022833A JPS62182838A (en) 1986-02-06 1986-02-06 Document processor

Publications (1)

Publication Number Publication Date
JPS62182838A true JPS62182838A (en) 1987-08-11

Family

ID=12093701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61022833A Pending JPS62182838A (en) 1986-02-06 1986-02-06 Document processor

Country Status (1)

Country Link
JP (1) JPS62182838A (en)

Similar Documents

Publication Publication Date Title
US4991094A (en) Method for language-independent text tokenization using a character categorization
USRE35861E (en) Apparatus and method for comparing data groups
US5799303A (en) Apparatus and method for sorting attributes-mixed character strings
JP3160201B2 (en) Information retrieval method and information retrieval device
US5218536A (en) Electronic spelling machine having ordered candidate words
JPS62245367A (en) Document processor
US5680630A (en) Computer-aided data input system
JPH0785080A (en) System for retrieving all document
JPS62182838A (en) Document processor
JPH08180066A (en) Index preparation method, document retrieval method and document retrieval device
US20020065794A1 (en) Phonetic method of retrieving and presenting electronic information from large information sources, an apparatus for performing the method, a computer-readable medium, and a computer program element
JP3187671B2 (en) Electronic dictionary display
JPH03131960A (en) Method and device for processing character
JP3241854B2 (en) Automatic word spelling correction device
JPH0944496A (en) Method and device for analyzing natural language
JPH08292941A (en) Chinese information processor
JPS58168180A (en) Information retrieval device
JPH0785040A (en) Inscription nonuniformity detecting method and kana/ kanji converting method
JPS62182837A (en) Document processor
JPH0623973B2 (en) Character processor frequency change method
JPH09231292A (en) Character processor
JPH01304574A (en) Index builder for table of contents
JPS63619A (en) Kanji data rearranging device
JPS62182839A (en) Document processor
JPH02136970A (en) English word retrieving device