JPH04149670A - Index generator - Google Patents

Index generator

Info

Publication number
JPH04149670A
JPH04149670A JP2270849A JP27084990A JPH04149670A JP H04149670 A JPH04149670 A JP H04149670A JP 2270849 A JP2270849 A JP 2270849A JP 27084990 A JP27084990 A JP 27084990A JP H04149670 A JPH04149670 A JP H04149670A
Authority
JP
Japan
Prior art keywords
character
index
characters
storage means
data
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
JP2270849A
Other languages
Japanese (ja)
Inventor
Yoshio Onishi
大西 善雄
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2270849A priority Critical patent/JPH04149670A/en
Publication of JPH04149670A publication Critical patent/JPH04149670A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a burden on an operator and to prevent the omission of an index from occurring by providing an index character retrieval means which automatically retrieves a character established as the index out of data to be stored, a retrieval character storage means which stores a retrieved character and information with respect to the character by conforming to each other, and a character arranging means. CONSTITUTION:A character retrieval means 2 retrieves the character that can be set as the index from the data stored in a data storage means 1, and outputs the character relation information of a corresponding character string and the information of a presence page and a row number, etc., when it is judged that the character is the one that can be set as the index. The retrieval character storage means 3 stores the output information of the means 2, and the character arranging means 4 rearranges the retrieval character stored in the character storage means 3. Also, the means 4 inspects the superposition of index characters, and erases superimposed characters when they exist, and the character relation information of the presence page and the row number, etc., of an erased character is added on the character to be left as the index. Thereby, it is possible to automatically retrieve the character to be established as the index, and to reduce the load on the operator, and simultaneously, to prevent the omission of the index item from occurring.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、文字の入力編集を行うワードプロセッサやパ
ーソナルコンピュータなどで代表される情報処理装置に
おいて作成したデータから特定のデータを抽呂し索引を
自動作成するための索引作成装置に関する。
[Detailed Description of the Invention] Industrial Application Field The present invention automatically creates an index by extracting specific data from data created in an information processing device such as a word processor or a personal computer that inputs and edits characters. The present invention relates to an indexing device for creating an index.

従来の技術 近年、コンピュータ、ないしワードプロセッサの発達に
より文字または文字列の検索が効率高く行えるようにな
ってきた。
2. Description of the Related Art In recent years, with the development of computers and word processors, it has become possible to search for characters or character strings with high efficiency.

従来この種の索引作成装置は、作成したデータを記憶す
るデータ記憶手段と、作成したデータ内の索引にしたい
文字にマークを付加する索引マーク付加手段と、付加さ
れたマークに付属する文字を検索する索引マーク検索手
段と、検索文字を記憶する文字列記憶手段と、記憶され
ている文字を出力する高力手段とを備えている。
Conventionally, this type of index creation device has a data storage means for storing created data, an index mark adding means for adding marks to characters desired to be indexed in the created data, and a search for characters attached to the added marks. The apparatus includes an index mark search means for storing search characters, a character string storage means for storing search characters, and a high-power means for outputting the stored characters.

そしてその動作は、オペレータがデータの作成過程また
は作成終了時に索引にしたい文字列に対し特定のマーク
を付加する。付加終了後、索引作成を指定することによ
シ付加されたマークに付属する文字を取り出すことによ
り索引の作成が行われる。
The operation is such that the operator adds a specific mark to the character string that the operator wants to use as an index during or at the end of data creation. After the addition is completed, an index is created by extracting the characters attached to the mark added by specifying index creation.

発明が解決しようとする課題 しかしながら上記従来例では、いちいちオペレータが索
引にしたい文字に対しマークを付加しなければならない
ため、マーク入力作業が煩わしく、しかもマークの付加
忘れによる索引不備といった問題があった。
Problems to be Solved by the Invention However, in the above-mentioned conventional example, the operator has to add a mark to each character that he or she wants to index, which makes the mark input work cumbersome, and there is also the problem of incomplete indexing due to forgetting to add marks. .

本発明は上記従来の問題点を解決する索引作成装置を提
供するのを目的とする。
An object of the present invention is to provide an index creation device that solves the above-mentioned conventional problems.

課題を解決するだめの手段 本発明は上記目的を達成するために、記憶されているデ
ータの中から索引として成り立つ文字(たとえば名詞列
)を自動的に検索する索引文字検索手段と、検索した文
字とその文字に関連する情報を対応付けて記憶する検索
文字記憶手段と、検索した文字の並び替えおよび重複文
字の整理を行う文字整理手段とを備えた構成となってい
る。
Means for Solving the Problems In order to achieve the above object, the present invention provides an index character search means that automatically searches for characters that can be used as an index (for example, a noun string) from stored data; and a search character storage means for storing information related to the characters in correspondence with each other, and a character arrangement means for rearranging the searched characters and organizing duplicate characters.

作   用 本発明は上記構成によって、いちいちオペレータが索引
にしたい文字に対しマークを付加しなくても、自動的に
索引として成り立つ文字を検索することによシ、オペレ
ータの負担を軽減すると同時に索引項目の抜けを防止す
ることが可能となる。
Effect of the Invention With the above-described configuration, the present invention automatically searches for characters that can be used as an index without the operator having to add marks to each character that he or she wants to index, thereby reducing the operator's burden and at the same time indexing items. It is possible to prevent this from coming off.

実施例 以r本発明の一実施例について図面とともに説明する。Example An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の索引作成装置の概略ブロック図、第2
図は同じく1作フローチャート図である。
FIG. 1 is a schematic block diagram of the index creation device of the present invention, and FIG.
The figure is also a flowchart of one work.

第1図において、1は作成したデータを記憶するデータ
記憶手段、2は記憶されているデータの内から索引とし
て成り立つ文字を自動検索する索引文字検索手段、3は
検索した文字とその文字に関連する情報を対応付けて記
憶する検索文字記憶手段、4は検索した文字の並び替え
および重複文字の整理を行う文字整理手段、5は検索文
字記憶手段に記憶している情報を出力する出力手段であ
る。
In Fig. 1, 1 is a data storage means for storing created data, 2 is an index character search means for automatically searching the stored data for characters that can be used as an index, and 3 is a character related to the searched character. 4 is a character organizing means for rearranging the searched characters and sorting out duplicate characters; 5 is an output means for outputting the information stored in the search character storage means; be.

以上のような構成要素よりなる本実施例の索引作成装置
について、以下その構成要素相互の関係と動作を説明す
る。なお、本実施例において索弓作成を行うだめのデー
タは、あらかじめデータ記憶手段1に入力されているも
のとして説明する。
Regarding the index creation device of this embodiment, which is composed of the above-mentioned components, the mutual relationship and operation of the components will be explained below. In this embodiment, the explanation will be made on the assumption that the data for creating the arches has been input into the data storage means 1 in advance.

第1図、第2図にお因で、データ記憶手段1に一つの文
書が入っていると想定してヌタートする。
Based on FIGS. 1 and 2, it is assumed that one document is stored in the data storage means 1.

文字検索手段2は、索引作成が指定されると(ステップ
6のY)データ記憶手段1に格納されているデータの先
頭から検索となシうる文字の検索を開始する(ステップ
7)。検索の結果、索引となりうる文字(例えば名詞列
)に該当しなければ(ステップ8のN)、ステップ7か
らの次の索引となりうる文字の検察を開始する。該当す
れば(ステップ8のY)、該当文字列および存在ベージ
・行番号等の文字関連情報を検索文字記憶手段3へ出力
する。検索文字記憶手段3は、上記文字検索手段2の出
力情報を記憶しくステップ9)、データすべての検察が
終了するまでステップ7から10−!での作業を繰り返
す。
When index creation is specified (Y in step 6), the character search means 2 starts searching for characters that can be searched from the beginning of the data stored in the data storage means 1 (step 7). As a result of the search, if it does not correspond to any character that can be used as an index (for example, a noun string) (N in step 8), the search for the next character that can be used as an index from step 7 is started. If so (Y in step 8), the relevant character string and character related information such as existing page and line number are output to the search character storage means 3. The search character storage means 3 stores the output information of the character search means 2 (Step 9), and from Steps 7 to 10-! until the search for all data is completed! Repeat the process.

つぎに、データすべての検索が終了すると(ステップ1
oのY)、文字整理手段4は、上記検索文字記憶手段3
に記憶されている索引文字を並べ替え(ステップ11)
、すべての文字を並べ替えるまでステップ11から12
までの処理を繰り返す。
Next, when all the data has been searched (step 1
(Y) of o), the character organizing means 4 is the above-mentioned search character storage means 3.
Sort the index characters stored in (Step 11)
, steps 11 to 12 until all characters are sorted
Repeat the process up to.

さらに、索引文字すべての並べ替えが終了すると(ステ
ップ12のY)文字整理手段4は、索弓文字の重複検査
を行う(ステップ13)。もし、重複があれば(ステッ
プ14のY)重複文字を消去し、消去した文字の存在ペ
ージ・行番号等の文字関連情報を索引として残す文字に
付加しくステップ16)。すべての文字の重複検査を終
了するまでステップ13から16までの作業を繰り返す
Further, when all the index characters have been rearranged (Y in step 12), the character organizing means 4 performs a duplicate index check (step 13). If there is a duplicate (Y in step 14), the duplicate character is deleted, and character-related information such as the page and line number where the deleted character exists is added to the remaining characters as an index (step 16). Steps 13 to 16 are repeated until the duplication check for all characters is completed.

重複検査をすべて終了すると(ステップ16のY)、出
力手段6は、上記検索文字記憶手段3に記憶されている
索引文字を出力しくステップ17)、処理を終了する。
When all the duplicate tests are completed (Y in step 16), the output means 6 outputs the index characters stored in the search character storage means 3 (step 17), and the process ends.

なお、本実施例では一般的に索引となりうる文字の検索
を名詞列に設定した例について説明したが、名詞列に限
定するものではなく、たとえば英字だけを索引とするよ
うに文字検索手段に設定すれば、該当する英字を抽出す
ることも可能である。
In addition, in this embodiment, an example has been described in which the search for characters that can be used as an index is generally set in a noun string, but this is not limited to noun strings. For example, the character search means can be set so that only alphabetic characters are used as an index. Then, it is possible to extract the corresponding alphabetic characters.

さらに、本実施例ではオペレータにとって不要となる索
引作成によるデータの消去例について説明していないが
、ワードプロセッサ等による文字消去と同様、簡単に消
去できることが可能なことは説明するまでもない。
Further, although this embodiment does not explain an example of erasing data by creating an index that is unnecessary for the operator, it goes without saying that data can be easily erased in the same way as erasing characters using a word processor or the like.

さらに、作成した索引データの保存は、データの末尾に
付加することも、また別ファイルにすることも可能なこ
とは明らかである。
Furthermore, it is clear that the created index data can be saved by appending it to the end of the data or in a separate file.

発明の効果 本発明は上記実施例よυ明らかなように、いちいちオペ
レータが索引にしたい文字に対しマークを付加しなくて
も、装置が自動的に索引として成り立つ文字を検索する
ことができ、オペレータの負荷を軽減する、と同時に索
引項目の抜けを防止することが可能となるという効果を
有する。
Effects of the Invention As is clear from the above embodiment, the device can automatically search for characters that can be used as an index without the operator having to add marks to each character that he or she wants to index. This has the effect of reducing the load on the system and at the same time preventing missing index items.

さらに、検察結果に対し、重複した文字数を取り出すこ
とにより特定の文字の使用頻度調査や、あいうえお順な
どの文字並べ替えによる表現方法の変更なども可能とな
るという効果も有する。
Furthermore, by extracting the number of duplicate characters from the prosecutor's office results, it is possible to investigate the frequency of use of specific characters, and to change the expression method by rearranging characters such as Ai-Ue-O order.

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

第1図は本発明の一実施例の索引作成装置のブロック図
、第2図は同じく動作フローチャート図である3、 1・・・・・・データ記憶手段、2・・・・・索引文字
検察手段、3 ・・検索文字記憶手段、4 ・・・文字
整理手段、 6・・・・・・出力手段。
FIG. 1 is a block diagram of an index creation device according to an embodiment of the present invention, and FIG. 2 is a flowchart of the same operation. Means, 3...Search character storage means, 4...Character arrangement means, 6...Output means.

Claims (1)

【特許請求の範囲】[Claims] 作成したデータを記憶するデータ記憶手段と、記憶され
ているデータの内から索引として成り立つ文字を自動的
に検索する索引文字検索手段と、検索した文字とその文
字に関連する情報を対応付けて記憶する検索文字記憶手
段と、検索した文字の並び替えおよび重複文字の整理を
行う文字整理手段と、検索文字記憶手段に記憶している
情報を出力する出力手段とを備えた索引作成装置。
A data storage means for storing the created data, an index character search means for automatically searching the stored data for characters that can be used as an index, and storing the searched characters and information related to the characters in association with each other. An index creation device comprising a search character storage means for searching, a character organization means for rearranging searched characters and sorting out duplicate characters, and an output means for outputting information stored in the search character storage means.
JP2270849A 1990-10-08 1990-10-08 Index generator Pending JPH04149670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2270849A JPH04149670A (en) 1990-10-08 1990-10-08 Index generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2270849A JPH04149670A (en) 1990-10-08 1990-10-08 Index generator

Publications (1)

Publication Number Publication Date
JPH04149670A true JPH04149670A (en) 1992-05-22

Family

ID=17491846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2270849A Pending JPH04149670A (en) 1990-10-08 1990-10-08 Index generator

Country Status (1)

Country Link
JP (1) JPH04149670A (en)

Similar Documents

Publication Publication Date Title
JPH04149670A (en) Index generator
JP3558267B2 (en) Document search device
JPH0561758A (en) Information link device
JPS634334A (en) Electronic file device for document image
KR20000041817A (en) Method for partly retrieving characters column using pattern tables composing syllable patterns
JPH05135102A (en) Document retrieval system
JP2000250921A (en) Method and system for managing database
JPS58201140A (en) Japanese word processor
JPS62121532A (en) Data retrieving method
JP2806653B2 (en) File search device
JPH02116972A (en) Retrieval system for program data base
JPH02116936A (en) Reorganizing system
JPH05334364A (en) Method for preparing retrieval condition expression
JPH02109162A (en) Index system for library file
JPH05143304A (en) Consistency inspecting system
JP2001060197A (en) Retrieving method for relational data base and recording medium recording program therefor
JPH06119331A (en) Document parts controller for structured document
JPH1097542A (en) Full-text retrieval device and method therefor
JPS62159223A (en) Retrieving system for document information
JPH04264674A (en) Method and device for retrieving file
JPH07262187A (en) Automatic index generator
JPH0375869A (en) Character string retrieving method
JPH05151266A (en) Device and method for retrieving character string in high level language source program
JPH0469769A (en) Data processor
JPH03102565A (en) Document preparing device