JPH0540788A - Character string retrieval result output system for document file - Google Patents

Character string retrieval result output system for document file

Info

Publication number
JPH0540788A
JPH0540788A JP3194643A JP19464391A JPH0540788A JP H0540788 A JPH0540788 A JP H0540788A JP 3194643 A JP3194643 A JP 3194643A JP 19464391 A JP19464391 A JP 19464391A JP H0540788 A JPH0540788 A JP H0540788A
Authority
JP
Japan
Prior art keywords
character string
document file
search
search result
file
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
JP3194643A
Other languages
Japanese (ja)
Inventor
Atsushi Nakagawa
淳 中川
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP3194643A priority Critical patent/JPH0540788A/en
Publication of JPH0540788A publication Critical patent/JPH0540788A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To refer to a document file, where page position and row position information are stored, to generate an index by storing the page position and the row position of a character string, which is retrieved from the document file, in the document file as the document file. CONSTITUTION:A retrieval character string input processing part 1 inputs a character string to be retrieved in the document file, and a character string retrieval processing part 2 retrieves this character string from the document file. A retrieval result editing part 3 edits the character string retrieved from the document file and information of the page position and row position of this character string in the document file, and a retrieval result display part 4 displays the detection result. The retrieval result edited by the retrieval result editing part 3 is stored in a retrieval result storage document file part 7 by a file input/output part. Thus, the document file where information of the page position and the row position are stored is referred to generate the index without generating another document.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文書ファイルの文字列検
索結果出力方式に関し、特にファイル入出力部をもつ日
本語処理装置の文書ファイルの文字列検索結果出力方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string search result output method for a document file, and more particularly to a character string search result output method for a document file of a Japanese processor having a file input / output unit.

【0002】[0002]

【従来の技術】従来、文書の索引を作成するために、索
引文字列が文書の何頁、何行目にある等の検索を行う場
合、文字列検索結果の出力は、検索対象文字列が文書フ
ァイルから検索された際の頁位置、行位置情報をディス
プレイ装置に表示するのみなので、ディスプレイ装置の
表示より文字列検索結果を紙に写しとり、文書ファイル
に入力をおこなっていた。
2. Description of the Related Art Conventionally, in order to create an index of a document, when a search is performed for the page, the line, etc. of the index character string, the character string search result is output as the search target character string. Since only the page position and line position information when the document file is searched is displayed on the display device, the character string search result is copied on paper from the display of the display device and input to the document file.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の文字列
検索の出力方式による文字列検索結果を必要とする文書
索引作成ではディスプレイ装置上へ表示されている頁位
置、行位置という文字列検索結果を人が紙に写しとりあ
らたに文書ファイルとして作成しなければならない欠点
がある。
In the document index creation which requires the character string search result by the above-mentioned conventional character string search output method, the character string search result such as the page position and the line position displayed on the display device is obtained. There is a drawback that a person has to copy it on paper and newly create it as a document file.

【0004】[0004]

【課題を解決するための手段】本発明の文書ファイルの
文字列検索結果出力方式は、検索対象となる文書ファイ
ルを格納する検索対象文書ファイル部にファイル入出力
部から入出力を行う日本語処理装置の文字列検索処理に
おいて、前記文書ファイルの中の検索する文字列を入力
する検索文字列入力処理部と、前記検索文字列入力処理
部により入力された前記文字列を前記文書ファイルから
検索をおこなう文字列検索処理部と、前記文書ファイル
から検索された文字列及び検索された文字列の文書ファ
イルでの頁位置、行位置情報を編集する検索結果編集部
と、検索結果の表示をおこなう検索結果表示部と、前記
検索結果編集部により編集された検索結果を前記ファイ
ル入出力部により格納する検索結果格納文書ファイル部
とを備える。
A character string search result output method for a document file according to the present invention is a Japanese process in which a file input / output unit inputs / outputs to / from a search target document file unit storing a document file to be searched. In a character string search process of the apparatus, a search character string input processing unit for inputting a character string to be searched in the document file, and a search for the character string input by the search character string input processing unit from the document file. A character string search processing unit for performing, a search result editing unit for editing the character string searched from the document file and the page position and line position information of the searched character string in the document file, and a search for displaying the search result A result display unit and a search result storage document file unit for storing the search result edited by the search result editing unit by the file input / output unit.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は、本発明の文書ファイルの文字列検
索結果出力方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a character string search result output system for a document file according to the present invention.

【0007】図1を参照すると本発明の日本語処理装置
は、文書ファイルから検索する文字列の入力をおこなう
検索文字列入力処理部1と、入力された文字列を文書フ
ァイルから検索する文字列検索処理部2と、文書ファイ
ルから検索された文字列及び検索された文字列の文書フ
ァイルでの頁位置、行位置情報を文書ファイルに格納で
きる形式に編集する検索結果編集部3と、検索された結
果の表示をおこなう検索結果表示部4と、文書ファイル
との入出力をおこなうファイル入出力部5と、検索の対
象となる検索対象文書ファイル部6と、検索結果の格納
をする検索結果格納ファイル部7とから構成されてい
る。
Referring to FIG. 1, the Japanese language processing apparatus of the present invention includes a search character string input processing section 1 for inputting a character string to be searched from a document file, and a character string for searching an input character string from the document file. A search processing unit 2, a search result editing unit 3 that edits a character string retrieved from the document file and page position and line position information of the retrieved character string in the document file into a format that can be stored in the document file. Search result display section 4 for displaying the results, a file input / output section 5 for inputting / outputting a document file, a search target document file section 6, and a search result storage for storing the search results. It is composed of a file section 7.

【0008】図2の検索対象文書10は検索対象文書フ
ァイル部6の文書であり、検索結果出力文書11は第1
検索結果111と第2検索結果112より構成され、検
索結果格納文書ファイル部7に格納されている。
The search target document 10 in FIG. 2 is a document in the search target document file section 6, and the search result output document 11 is the first document.
It is composed of a search result 111 and a second search result 112, and is stored in the search result storage document file section 7.

【0009】次に、文書ファイルの検索結果出力方式の
動作について説明する。
Next, the operation of the document file search result output method will be described.

【0010】検索文字列入力処理部1により入力された
検索対象文字列を、文字列検索処理部2では検索対象文
書ファイル部6に格納されている文書の先頭行よりファ
イル入出力部5を介して順次読みだしをおこない、比較
をしていく検索結果編集部3は、文字列検索処理部2に
おいて、検索文字列入力処理部1で入力された文字列と
検索対象文書ファイル部6から読みだした文書中の文字
列との比較で一致した場合に、検索された文字列及び検
索された文字列の文書での頁位置、行位置情報を検索対
象文書ファイル部6と同形式の文書として格納できるよ
う編集し、ファイル入出力部5を介し検索結果格納文書
ファイル部7に格納する。検索結果表示部4は、検索結
果編集部3と同様に、文字列検索処理部2での比較で一
致した場合に、検索された文字列及び検索された文字列
の文書での頁位置、行位置情報の表示をおこなう。
The search target character string input by the search character string input processing unit 1 is passed through the file input / output unit 5 from the first line of the document stored in the search target document file unit 6 in the character string search processing unit 2. In the character string search processing unit 2, the search result editing unit 3 that sequentially reads and compares the character strings input by the search character string input processing unit 1 and the search target document file unit 6 is read. When the comparison is made with the character string in the retrieved document, the retrieved character string and the page position and line position information in the document of the retrieved character string are stored as a document of the same format as the retrieval target document file section 6. It is edited as much as possible and stored in the search result storage document file section 7 via the file input / output section 5. Similar to the search result editing unit 3, the search result display unit 4 finds the searched character string and the page position and line in the document of the searched character string when they match in the comparison in the character string search processing unit 2. Display location information.

【0011】検索対象文書10から「ファイル」という
文字列を検索し、検索結果出力文書11として検索結果
文書ファイル部7に格納するには、検索文字列入力処理
部1で入力された「ファイル」という文字列を、文字列
検索処理部2はファイル入出力部5を介して、検索対象
文書10の1頁1行より読みこみ、一致する文字列を検
索していく。文字列検索処理部2は文字列「ファイル」
を検索したら、文字列「ファイル」と1頁1行を検索結
果編集部3に制御を移す。検索結果編集部3は第1検索
結果111のように検索結果出力文書11を編集し、フ
ァイル入出力部5を介し検索結果格納文書ファイル部7
に出力する。検索結果表示部4は検索対象文書10を1
頁1行にある検索文字列「ファイル」を含む部分と、1
頁1行という検索結果を表示する。
To search for the character string "file" from the search target document 10 and store it as the search result output document 11 in the search result document file unit 7, the "file" input by the search character string input processing unit 1 is used. The character string search processing unit 2 reads the character string from the page 1 / line of the search target document 10 via the file input / output unit 5 and searches for a matching character string. The character string search processing unit 2 is a character string "file"
When is searched, the control shifts the character string "file" and one line per page to the search result editing unit 3. The search result editing unit 3 edits the search result output document 11 like the first search result 111, and via the file input / output unit 5, the search result storage document file unit 7
Output to. The search result display unit 4 sets the search target document 10 to 1
The part including the search character string "file" on one line of the page and 1
Display the search result of one line per page.

【0012】文字列検索後の一連の処理が終了すると、
文字列検索処理部2へ制御が戻り、検索対象文書10の
1頁1行目から再び文字列「ファイル」を検索してゆ
き、次の文字列が検索できると、検索結果編集部3は第
2の検索結果112を検索結果出力文書11に編集し、
ファイル入出力5を介して検索結果格納文書ファイル部
7に追加書き込みし、検索結果表示部4は検索対象ファ
イル10を10頁5行にある検索文字列「ファイル」を
含む部分と10頁5行という検索結果を表示する。
When a series of processing after the character string search is completed,
When the control returns to the character string search processing unit 2, the character string “file” is searched again from the first page, first line of the search target document 10, and when the next character string can be searched, the search result editing unit 3 Edit the second search result 112 to the search result output document 11,
Additional writing is performed to the search result storage document file section 7 via the file input / output 5, and the search result display section 4 displays the search target file 10 on the page 10 line 5 line including the search character string "file" and the page 10 line 5 line. Is displayed.

【0013】[0013]

【発明の効果】以上説明したように本発明の文書ファイ
ルの文字列検索結果出力方式は、文書ファイルを検索し
一致した文字列の文書ファイルでの頁位置、行位置の検
索結果を文書ファイルとして格納することにより、文字
列検索結果を必要とする文書の索引作成のような処理で
はデイスプレイ装置上へ表示された文字列検索結果を控
えておき、あらたに文書を作成しなくても、頁位置、行
位置情報を格納した文書ファイルを参照すれば索引の作
成ができる効果がある。
As described above, according to the character string search result output method of the document file of the present invention, the document file is searched and the search result of the page position and the line position in the document file of the matched character string is used as the document file. Storing the character string search results displayed on the display device in a process such as indexing of a document that requires the character string search results allows the page position to be stored without creating a new document. By referring to the document file that stores the line position information, it is possible to create an index.

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

【図1】本発明の文書ファイルの検索結果出力方式の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a document file search result output system according to the present invention.

【図2】本実施例の検索の対象となる文書と検索結果格
納文書を示す図である。
FIG. 2 is a diagram showing a document to be searched and a search result storage document according to the present embodiment.

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

1 検索文字列入力処理部 2 文字列検索処理部 3 検索結果編集部 4 検索結果表示部 5 ファイル入出力部 6 検索対象文書ファイル部 7 検索結果格納文書ファイル部 10 検索対象文書 11 検索結果出力文書 111 第1検索結果 112 第2検索結果 1 search character string input processing unit 2 character string search processing unit 3 search result editing unit 4 search result display unit 5 file input / output unit 6 search target document file unit 7 search result storage document file unit 10 search target document 11 search result output document 111 First search result 112 Second search result

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 検索対象となる文書ファイルを格納する
検索対象文書ファイル部にファイル入出力部から入出力
を行う日本語処理装置の文字列検索処理において、前記
文書ファイルの中の検索する文字列を入力する検索文字
列入力処理部と、前記検索文字列入力処理部により入力
された前記文字列を前記文書ファイルから検索をおこな
う文字列検索処理部と、前記文書ファイルから検索され
た文字列及び検索された文字列の文書ファイルでの頁位
置、行位置情報を編集する検索結果編集部と、検索結果
の表示をおこなう検索結果表示部と、前記検索結果編集
部により編集された検索結果を前記ファイル入出力部に
より格納する検索結果格納文書ファイル部とを備えるこ
とを特徴とする文書ファイルの文字列検索結果出力方
式。
1. A character string to be searched in a document string in a character string search process of a Japanese language processing device for inputting and outputting from a file input / output unit to a document file part to be searched for storing a document file to be searched. A search character string input processing unit, a character string search processing unit that searches the document file for the character string input by the search character string input processing unit, and a character string searched from the document file, and The search result editing unit for editing the page position and line position information in the document file of the searched character string, the search result display unit for displaying the search result, and the search result edited by the search result editing unit A method for outputting a character string search result of a document file, comprising: a search result storing document file section to be stored by a file input / output section.
JP3194643A 1991-08-05 1991-08-05 Character string retrieval result output system for document file Pending JPH0540788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3194643A JPH0540788A (en) 1991-08-05 1991-08-05 Character string retrieval result output system for document file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3194643A JPH0540788A (en) 1991-08-05 1991-08-05 Character string retrieval result output system for document file

Publications (1)

Publication Number Publication Date
JPH0540788A true JPH0540788A (en) 1993-02-19

Family

ID=16327928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3194643A Pending JPH0540788A (en) 1991-08-05 1991-08-05 Character string retrieval result output system for document file

Country Status (1)

Country Link
JP (1) JPH0540788A (en)

Similar Documents

Publication Publication Date Title
JPWO2004034282A1 (en) Content reuse management device and content reuse support device
JPH0540788A (en) Character string retrieval result output system for document file
JPS59214966A (en) Editing device of picture information
JPH0877179A (en) Document index preparing device
JPS62106574A (en) Registration retrieving system for document picture file
JPH08212230A (en) Document retrieval method and device therefor
JP2601139B2 (en) String search device
JPH09259132A (en) Device and method for information registration and retrieval
JPH1115826A (en) Document analyzer and its method
JP3258051B2 (en) Information retrieval device and information retrieval method
JPH05181912A (en) Document retrieving device
JPS6354662A (en) Editing system for caption-item
JP2583898B2 (en) Post-editing machine for machine translation system
JP2806653B2 (en) File search device
JPH05158984A (en) Device for extracting character string
JPH02113368A (en) Information retrieving method
JPS62282364A (en) Character string retrieval system
JPH0525139B2 (en)
JP2001052022A (en) Data totalization and reference type retrieval system
JPH07249034A (en) Character string extraction processor
JPH0512394A (en) Image editing system
JPH04113466A (en) Image file retrieval system
JPH0540638A (en) Vocabulary analyzing/editing system
JPH09185624A (en) Document preparation support device
JPH0877164A (en) Document processor