JPS6280729A - Document processor - Google Patents

Document processor

Info

Publication number
JPS6280729A
JPS6280729A JP60220169A JP22016985A JPS6280729A JP S6280729 A JPS6280729 A JP S6280729A JP 60220169 A JP60220169 A JP 60220169A JP 22016985 A JP22016985 A JP 22016985A JP S6280729 A JPS6280729 A JP S6280729A
Authority
JP
Japan
Prior art keywords
document
character string
processing device
information
search
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
JP60220169A
Other languages
Japanese (ja)
Inventor
Masaaki Nagashima
正明 長島
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 JP60220169A priority Critical patent/JPS6280729A/en
Publication of JPS6280729A publication Critical patent/JPS6280729A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To retrieve efficiently and precisely a key word with a simple operation by forming a means for inputting document data are retrieving a required key word from the document data. CONSTITUTION:The titled document processor is provided with the 1st input means 100 for inputting document information, the 2nd input means 110 for inputting a character string relating to retrieval, a retrieving means 120 for retrieving a character string from the inputted document information, and an output means 130 for outputting the retrieved result. In case retrieving the character string from the document information, when the document concerned is inputted from the 1st input means 100 and a required character string is inputted from the 2nd input means 110 to retrieve a character string from the document information, the character string is retrieved from the retrieving means 120 and the retrieved result is outputted from the output means 130, so that retrieval can be attained simply and precisely.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文書処理装置に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to a document processing device.

〔従来の技術、および発明が解決しようとする問題点〕[Prior art and problems to be solved by the invention]

従来、紙等の記録媒体に記録されている文書原稿の中か
ら〆ft$縦JZ〆ある特定の文字列(キーワード)を
検索する作業は人手に頼られていた。しかしながら、文
書原稿が長い場合、特に索引等がない場合には、このよ
うな作業は極めて煩雑であり、かつ誤りも多く、非能率
的であるという問題点があった。
Conventionally, the task of searching for a specific character string (keyword) from document manuscripts recorded on recording media such as paper has been relied on manually. However, when the document is long, especially when there is no index or the like, such work is extremely complicated, error-prone, and inefficient.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、かかる問題点を解決し、効率高く、簡単な操
作で、しかも確実に午−ワードを検索できる文書処理装
置を提供することを目的とするものであり、そのため、
本発明では、第1図に示すように、文書情報を読込むた
めの第1の入力手段100と、検索に係るキャラクタ列
を入力するための第2の入力手段110と、読込まれた
文書情報からキャラクタ列を検索する検索手段120と
、当該検索の結果の出力を行う出力手段130とを具え
る。
SUMMARY OF THE INVENTION The present invention aims to solve these problems and provide a document processing device that is capable of reliably searching for the word "U" with high efficiency and simple operation.
In the present invention, as shown in FIG. 1, a first input means 100 for reading document information, a second input means 110 for inputting a character string related to a search, and a It includes a search means 120 for searching columns, and an output means 130 for outputting the results of the search.

〔作用〕[Effect]

すなわち、本発明によれば1文書情報からキャラクタ列
の検索を行う場合には、当該文書を第1の入力手段10
0により読込み、所望のキャラクタ列を第2の入力手段
110°により入力したときに検索手段120よりその
午ヤラクタ列の検索が行われ、出力手段130によりそ
の結果が出力されるので、簡単に、しかも確実に検索処
理を行うことができるようになる。
That is, according to the present invention, when searching for a character string from one document information, the document is input to the first input means 10.
0, and when a desired character string is input through the second input means 110°, the search means 120 searches for that character string, and the output means 130 outputs the result, so that it is easy to Moreover, the search process can be performed reliably.

〔実施例〕〔Example〕

以下1図面を参照して本発明の詳細な説明する。 The present invention will be described in detail below with reference to one drawing.

第2図は本発明文書処理装置の一構成例を示す、ここで
、1は紙等の記録媒体に記録され、本実施例に係る文書
処理装置に入力される文書データ、2は文書データ1を
読みとるための文書データ入力手段としての光学的文字
読取装置(OCR)、3は第4図につき後述する処理手
順等を記憶させているメモリ、4はキーワード、コマン
ド等を入力するための入力手段としてのキーボードであ
る。5はメモリ3に格納された処理手順を実行するCP
U、6は文書データ1を記憶するためのメモリ、7はキ
ーワードを登録するためのメモリ、9は文書データlお
よび本実施例の処理結果等を表示するためのCRT 、
 8はCRT9に表示するために一時的に表示内容を記
憶するためのリフレッシュメモリである。また、PMは
キーボード4から入力されたキーワード、コマンド等を
保存するためのメモリであり、例えばCPU5のレジス
タを用いる。
FIG. 2 shows an example of the configuration of the document processing device of the present invention, where 1 is document data recorded on a recording medium such as paper and input to the document processing device according to the present embodiment, and 2 is document data 1 An optical character reading device (OCR) serves as a document data input means for reading the text, 3 is a memory storing processing procedures, etc., which will be described later with reference to FIG. 4, and 4 is an input means for inputting keywords, commands, etc. It is a keyboard. 5 is a CP that executes the processing procedure stored in the memory 3;
U, 6 is a memory for storing the document data 1, 7 is a memory for registering keywords, 9 is a CRT for displaying the document data 1 and the processing results of this embodiment, etc.
8 is a refresh memory for temporarily storing display contents for display on the CRT 9; Further, PM is a memory for storing keywords, commands, etc. input from the keyboard 4, and uses a register of the CPU 5, for example.

第3図は第1図示のCPt15による処理をブロック図
的に示したものである。本例においては、CPU5の処
理および処理順序はメモリ3に記憶されており、CPU
5からのリクエストによりCPU 5に読みこまれて、
順次実行されるが、本図はその概要を示したものである
0図において51はコマンド解析部であり、キーボード
4からコマンドが入力された場合、コマンドを解析する
。52はキーワード検出部であり、コマンド解析部51
による解析の結果、キーボード4から入力されたものが
キーワードであった場合にメモリ6に記憶された文書の
中からそのキーワードを検出する。53は位置検出部で
あり、キーワード検出部52により検出されたキーワー
ドの文書中での位置を検出する。この位置検出は、実際
はキーワードが検出されるたびごとに行なわれ、その結
果はメモリ7に保存されるようにする。54は指示図形
生成部であり、キーワード検出部52で検出されたキー
ワードに対して、例えばアングラインを付加する。55
は表示切換え部であり、例えば第5図(後述)に示す表
示(A)と表示CB)との切換えを行う。
FIG. 3 is a block diagram showing the processing by the CPt 15 shown in FIG. In this example, the processing and processing order of the CPU 5 are stored in the memory 3, and the
It is read into CPU 5 by a request from 5,
The commands are executed sequentially, and this figure shows an outline thereof. In FIG. 0, 51 is a command analysis section, which analyzes the command when it is input from the keyboard 4. 52 is a keyword detection unit, and a command analysis unit 51
As a result of the analysis, if the input from the keyboard 4 is a keyword, that keyword is detected from the document stored in the memory 6. Reference numeral 53 denotes a position detection unit, which detects the position of the keyword detected by the keyword detection unit 52 in the document. This position detection is actually performed every time a keyword is detected, and the results are stored in the memory 7. Reference numeral 54 denotes an instruction graphic generation section, which adds, for example, an angle line to the keyword detected by the keyword detection section 52. 55
2 is a display switching unit, which performs switching between display (A) and display CB) shown in FIG. 5 (described later), for example.

第4図は、メモリ3に格納されCPU5により実行され
る本実施例に係る処理手順の一例を示す。
FIG. 4 shows an example of a processing procedure according to this embodiment stored in the memory 3 and executed by the CPU 5.

まず、0CR2から文書データが入力されたとき、その
文書データをメモリ6に格納する(ステップS1)。次
に、キーボード4からコマンドあるいはキーワード等が
入力されたとき、その入力情報をCPU5に設けである
メモリPMに格納する(ステップS2)、その時点でC
RT9の両面が第4図示の表示(B)のような表示状態
であるか否かを判断しくステップS3) 、  行定判
定の場合には同図における表示(A)のような状態に切
換える(ステップ94’)。次に、入力された情報が処
理終了を指令する終了コマンドであるか否かを判断しく
ステップS5)、肯定判定であれば処理を終了する。
First, when document data is input from 0CR2, the document data is stored in the memory 6 (step S1). Next, when a command, keyword, etc. is input from the keyboard 4, the input information is stored in the memory PM provided in the CPU 5 (step S2).
It is determined whether both sides of the RT9 are in a display state as shown in the display (B) shown in the fourth figure (step S3), and in the case of determination that the line is set, the display is switched to a state as shown in the display (A) in the same figure (step S3). Step 94'). Next, it is determined whether the input information is an end command for instructing the end of the process (step S5), and if the determination is affirmative, the process ends.

一方、否定判定である場合には、表示切換えコマンドで
あるか否かを判断する(ステップSB)。
On the other hand, if the determination is negative, it is determined whether it is a display switching command (step SB).

ここで否定判定であれば、キーワードであるか否かを判
断しくステップS7)、キーワードである場合には、前
回入力されたキーワードとは異なる新しいキーワードで
あるか否かをメモリ7の内容を参照して判断する(ステ
ップS8)、新しいキーワードでない場合には、現在処
理中の文書データ上の位置からキーワードを検索してゆ
き、(ステップS9)、一方新しいキーワードである場
合には、そのキーワードをメモリ7に登録するとともに
、メモリ6内のif文書中でのキーワードの数を計数し
くステップ10)、次いでメモリ6内の文書の初めから
、キーワードを検索してゆく(ステップSll )。
If the determination is negative here, it is determined whether or not it is a keyword (step S7). If it is a keyword, the contents of the memory 7 are checked to see if it is a new keyword different from the previously input keyword. If the keyword is not a new keyword, the keyword is searched from the position on the document data currently being processed (step S9), while if it is a new keyword, the keyword is At the same time as registering in the memory 7, the number of keywords in the if document in the memory 6 is counted (step 10), and then keywords are searched from the beginning of the document in the memory 6 (step Sll).

かくしてキーワードが発見された場合にはキーワードの
文書上の位#(ページ、行、カラム等)や何番目のキー
ワードであるかを検出しくステップS12 ) 、次い
でCRT9に表示(A)の如き形態で表示を行い(ステ
ップS13 ) 、再びステップS2に復帰する。なお
ステップS7でキーワードではないと判定されたときに
は、入力がコマンドとキーワードとのいずれでもないの
でエラー表示を行い(ステップS14 ) 、ステップ
S2に復帰する。また、ステップS6で表示切換えコマ
ンドであると判定された場合にはCRT9の画面を表示
CB)に切換え(ステップS15 ) 、 ステップS
2に復帰する。
When a keyword is found in this way, the position of the keyword in the document (page, line, column, etc.) and the number of the keyword are detected (step S12), and then it is displayed on the CRT 9 in the form shown in (A). Display is performed (step S13), and the process returns to step S2. Note that if it is determined in step S7 that the input is not a keyword, an error is displayed (step S14) because the input is neither a command nor a keyword, and the process returns to step S2. Furthermore, if it is determined in step S6 that it is a display switching command, the screen of the CRT 9 is switched to display CB) (step S15), and step S
Return to 2.

第5図は、本実施例による表示出力を示し、lは第1図
の文書データ、9はCRTである。91は、CRT9に
表示された文書データ1.92はキーワードであり、ア
ングラインが付加されている。93はコマンドあるいは
キーワード入力待ちを示すプロンプト、94は入力され
たキーワードである。95〜97はキーワードの位置を
示し、それぞれ、ページ、行およびカラムを示している
。88は現在表示されているキーワードが何番目のキー
ワードかを示す番号、89はキーワードの文書中での総
数を表わしている。9Aはキーワード、8Bは、キーワ
ードの番号、80〜9Eは、それぞれ、キーワードのペ
ージ、行およびカラムを表わしている。
FIG. 5 shows the display output according to this embodiment, where l is the document data of FIG. 1, and 9 is a CRT. Reference numeral 91 indicates document data 1 displayed on the CRT 9. Reference numeral 92 indicates a keyword to which an angle line is added. 93 is a prompt indicating that a command or keyword is being input, and 94 is the input keyword. 95 to 97 indicate the positions of the keywords, and indicate the page, row, and column, respectively. Reference numeral 88 indicates the number of the currently displayed keyword, and reference numeral 89 indicates the total number of keywords in the document. 9A represents the keyword, 8B represents the keyword number, and 80 to 9E represent the page, row, and column of the keyword, respectively.

本例は表示(A)として符号91〜89の情報が表示さ
れ、表示(B)として符号93.9A〜3Eの情報が表
として表示されるようにしたものである。
In this example, information 91 to 89 is displayed as display (A), and information 93.9A to 3E is displayed as a table as display (B).

なお、本実施例においては、キーワードをアングライン
を付加されて表示するようにしたが、例えば輝度を変更
したりあるいは表示反転を行うなどキーワードを表示さ
れた文書中で認識し易くするものであれば、その態様を
問わないのは勿論である。
In this embodiment, keywords are displayed with an underline added, but keywords can be easily recognized in the displayed document by, for example, changing the brightness or inverting the display. Of course, the mode does not matter.

また、実施例においては検索出力を行う出力手段として
表示手段を用いた場合につい−て述べたが、プリンタ等
の記録手段を表示手段に換えて配設したり、あるいは記
録手段を表示手段と併用して、メモリ7の内容もしくは
表示(B)についての印刷出力を行うようにすることも
容易である。
Furthermore, in the embodiments, a case has been described in which a display means is used as an output means for performing search output, but a recording means such as a printer may be provided instead of a display means, or a recording means may be used in combination with a display means. It is also easy to print out the contents of the memory 7 or the display (B).

また、かくすることにより索引作成も極めて簡単に行う
ことができるようになる。
Moreover, by doing so, index creation can be performed extremely easily.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、文書データを読
込み、その中から所望のキーワードを検索する手段を具
えたので、効率よく、簡単な操作でしかも確実にキーワ
ードを検索できる文書処理装置を実現できる。
As explained above, according to the present invention, since the present invention is equipped with a means for reading document data and searching for a desired keyword therein, it is possible to provide a document processing device that can efficiently and reliably search for a keyword with a simple operation. realizable.

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

第1図は本発明文書処理装置の全体構成図、第2図は本
発明文書処理装置の一構成例を示すブロック図、 第3図は第2図示の装置におけるCPUの処理を説明す
るための説明図、 第4図は第2図示の装置による検索処理手順の一例を示
すフローチャート、 第5図は第4図示の処理による検索の表示出力例を説明
する説明図である。 1・・・文書データ、 2・・・0CR1 3,8,7,8・・・メモリ。 4・・・キーボード、 5・・・CPU、 9・・・CRT、 +00・・・第1人力手段、 110・・・第2人力手段、 120・・・検索手段、 130・・・出力手段。
FIG. 1 is an overall configuration diagram of the document processing device of the present invention, FIG. 2 is a block diagram showing an example of the configuration of the document processing device of the present invention, and FIG. 3 is a diagram for explaining the processing of the CPU in the device shown in FIG. FIG. 4 is a flowchart showing an example of a search processing procedure by the apparatus shown in FIG. 2, and FIG. 5 is an explanatory diagram illustrating an example of display output of the search performed by the process shown in FIG. 4. 1...Document data, 2...0CR1 3, 8, 7, 8...Memory. 4... Keyboard, 5... CPU, 9... CRT, +00... First human power means, 110... Second human power means, 120... Search means, 130... Output means.

Claims (1)

【特許請求の範囲】 1)文書情報を読込むための第1の入力手段と、 検索に係るキャラクタ列を入力するための第2の入力手
段と、 前記読込まれた文書情報から前記キャラクタ列を検索す
る検索手段と、 当該検索の結果の出力を行う出力手段とを具えたことを
特徴とする文書処理装置。 2)特許請求の範囲第1項記載の文書処理装置において
、前記第1および第2の入力手段は、それぞれ、光学的
文字読取装置およびキーボードの形態を有することを特
徴とする文書処理装置。 3)特許請求の範囲第1項または第2項記載の文書処理
装置において、前記検索手段は前記読込まれた文書情報
を記憶する記憶手段を有し、当該記憶した文書情報につ
き前記キャラクタ列の検索を行うようにしたことを特徴
とする文書処理装置。 4)特許請求の範囲第1項ないし第3項のいずれかの項
に記載の文書処理装置において、前記出力手段は前記文
書情報を表示する表面画面を含む表示手段を有し、前記
検索手段は当該表示されている文書情報に前記キャラク
タ列が存在する場合にはそのキャラクタ列を明示するよ
うにしたことを特徴とする文書処理装置。 5)特許請求の範囲第1項ないし第4項のいずれかの項
に記載の文書処理装置において、前記検索手段は前記キ
ャラクタ列の前記文書情報中での位置を示す情報、およ
び前記キャラクタ列の総数を示す情報を含む検索情報を
前記表示画面の一部に表示するようにしたことを特徴と
する文書処理装置。 6)特許請求の範囲第1項ないし第5項のいずれかの項
に記載の文書処理装置において、前記検索手段は、表示
画面を切換えて、前記キャラクタ列の位置を示す情報を
一括して表示する表示切換え手段を有することを特徴と
する文書処理装置。
[Claims] 1) A first input means for reading document information; a second input means for inputting a character string related to a search; and searching for the character string from the read document information. A document processing device comprising a search means and an output means for outputting a result of the search. 2) A document processing apparatus according to claim 1, wherein the first and second input means have the form of an optical character reading device and a keyboard, respectively. 3) In the document processing device according to claim 1 or 2, the search means includes a storage means for storing the read document information, and searches for the character string with respect to the stored document information. A document processing device characterized by performing the following steps. 4) In the document processing device according to any one of claims 1 to 3, the output means has a display means including a front screen for displaying the document information, and the search means A document processing device characterized in that, if the character string exists in the displayed document information, the character string is clearly indicated. 5) In the document processing device according to any one of claims 1 to 4, the search means includes information indicating the position of the character string in the document information, and information indicating the position of the character string in the document information. A document processing device characterized in that search information including information indicating a total number is displayed on a part of the display screen. 6) In the document processing device according to any one of claims 1 to 5, the search means switches the display screen to display information indicating the positions of the character strings all at once. 1. A document processing device characterized by having a display switching means.
JP60220169A 1985-10-04 1985-10-04 Document processor Pending JPS6280729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60220169A JPS6280729A (en) 1985-10-04 1985-10-04 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60220169A JPS6280729A (en) 1985-10-04 1985-10-04 Document processor

Publications (1)

Publication Number Publication Date
JPS6280729A true JPS6280729A (en) 1987-04-14

Family

ID=16746965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60220169A Pending JPS6280729A (en) 1985-10-04 1985-10-04 Document processor

Country Status (1)

Country Link
JP (1) JPS6280729A (en)

Similar Documents

Publication Publication Date Title
JPS6283787A (en) Output control system for display screen
JP3945075B2 (en) Electronic device having dictionary function and storage medium storing information retrieval processing program
JPS6280729A (en) Document processor
JPS59105141A (en) Managing method of electronic document
JPH08212230A (en) Document retrieval method and device therefor
JPH06195386A (en) Data retriever
JPS61262924A (en) Electronic file device
JP2601139B2 (en) String search device
JPH10105558A (en) Word data storage device, word data storing method and recording medium
JP2806653B2 (en) File search device
JPH08221393A (en) Device and method for document preparation
JPH0225967A (en) Misinput correction system for homophone
JPH05151264A (en) Information retrieving device
JP2739589B2 (en) Information retrieval device
JP2621853B2 (en) Document search device and document search method
JPS63173163A (en) Information retriever
JPH0221363A (en) Document retrieving system
JPH06266765A (en) Sentence retrieving device
JPS5833992B2 (en) information retrieval device
JPH0244468A (en) Key word input supporting device
JPH0245872A (en) Cd-rom retrieving device
JPS63229563A (en) Index production system
JPS62260266A (en) Kana/kanji converting system
JPH01152575A (en) Picture information retrieving method
JPH0573627A (en) Picture retrieval device