JPH07287716A - Dictionary search device - Google Patents

Dictionary search device

Info

Publication number
JPH07287716A
JPH07287716A JP6202342A JP20234294A JPH07287716A JP H07287716 A JPH07287716 A JP H07287716A JP 6202342 A JP6202342 A JP 6202342A JP 20234294 A JP20234294 A JP 20234294A JP H07287716 A JPH07287716 A JP H07287716A
Authority
JP
Japan
Prior art keywords
dictionary
record
index
compressed
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
JP6202342A
Other languages
Japanese (ja)
Inventor
Hirokawa Hayashi
大川 林
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP6202342A priority Critical patent/JPH07287716A/en
Publication of JPH07287716A publication Critical patent/JPH07287716A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 中程度の辞書あるいは辞書に類する文書の検
索を行なうこと。 【構成】 辞書索引検索制御部10は、辞書検索制御部
9から検索キー情報をもらい、対象となる辞書の索引を
検索し、検索条件に適合する辞書のレコードの候補を探
し、候補の辞書本体15のアドレスを辞書検索制御部9
に渡す。辞書本体検索制御部11は、検索キー情報と候
補の辞書本体のアドレスをもらい、辞書本体15を検索
し、検索キー情報と最終的な照合を行なう。辞書データ
を任意の方式でレコード単位で圧縮する圧縮手段と、辞
書データを前記圧縮手段により圧縮した圧縮辞書データ
を有する。検索には、該圧縮辞書データと圧縮辞書レコ
ード位置を記録した索引を使用する。
(57) [Summary] [Purpose] To search for a medium dictionary or a document similar to a dictionary. [Structure] The dictionary index search control unit 10 receives the search key information from the dictionary search control unit 9, searches the index of the target dictionary, searches for a record candidate of a dictionary that matches the search condition, and selects the candidate dictionary body. 15 addresses to the dictionary search control unit 9
Pass to. The dictionary body search control unit 11 receives the search key information and the address of the candidate dictionary body, searches the dictionary body 15, and finally collates the search key information. It has compression means for compressing the dictionary data in record units by an arbitrary method, and compression dictionary data obtained by compressing the dictionary data by the compression means. For the search, an index recording the compression dictionary data and the compression dictionary record position is used.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、辞書検索装置に関し、
より詳細には、文書作成、文書校正、文章推敲を行うた
めの辞書検索装置に関する。例えば、ワープロ、パソコ
ン、パーソナルワープロなどのOA機器全般に適用され
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dictionary search device,
More specifically, the present invention relates to a dictionary search device for performing document creation, document proofreading, and sentence refinement. For example, it is applied to all OA devices such as word processors, personal computers, and personal word processors.

【0002】[0002]

【従来の技術】検索を高速化するため各種の索引を使用
することは広く行われている。また、1文字や多文字の
索引を持つことも非常に一般的である。また、検索高速
化のため、検索キーとなりそうな部分を全て持つ索引も
一般的である。さらに、検索キーの性質、検索キーの指
定内容(前方一致、後方一致、任意など)により、索引
の作り方および検索方法が異なるのが一般的である。例
えば、「電子ブック版広辞苑を読む」(ASCII ,Vol.15,
♯12 December 1991 pp.331-332)に記載されている。
また、辞書圧縮に関しては、例えば、特開昭57−15
0070号公報等に提案されている。さらに、仮名漢字
変換用の辞書の圧縮技術については、例えば、特開昭6
1−285573号公報に提案されている。
BACKGROUND OF THE INVENTION The use of various indexes to speed up searches is widely practiced. It is also very common to have a one-character or multi-character index. In addition, in order to speed up the search, an index having all the portions that are likely to be the search key is also common. Furthermore, the method of creating an index and the method of searching generally differ depending on the nature of the search key and the specified contents of the search key (forward match, backward match, arbitrary, etc.). For example, "Read the electronic book version of Kojien" (ASCII, Vol.15,
# 12 December 1991 pp.331-332).
Regarding dictionary compression, for example, Japanese Patent Laid-Open No. 57-15 is used.
It is proposed in Japanese Patent No. 0070, etc. Further, as for a compression technique of a dictionary for converting kana to kanji, for example, Japanese Patent Laid-Open No.
It is proposed in Japanese Patent Publication No. 1-285573.

【0003】辞書や大量の文字列データでは、必要とす
る中身の検索を高速化するため、各種の索引を使用する
ことは広く行われている。辞書に関しては、次のような
方法が一般的である。通常、辞書は何らかの見出しがあ
り、その見出しは文字コード順またはそれに近い形でソ
ートされている。例えば、日本語の国語辞典の場合、見
出しに読みと表記があり、その後に品詞名,語釈などが
記載されている。通常、見出しは辞書順(辞典により多
少異なるが)と呼ばれる読みの順に並んでいる。
In a dictionary or a large amount of character string data, it is widely used to use various indexes in order to speed up the search for the necessary contents. The following methods are generally used for dictionaries. Usually, a dictionary has some headings, and the headings are sorted in a character code order or a form close thereto. For example, in the case of a Japanese language dictionary, the heading has reading and notation, and then the part-of-speech name, lexical and the like are described. Headings are usually arranged in a reading order called lexicographical order (although it depends on the dictionary).

【0004】国語辞典では、辞書の検索で一番使われる
のは、見出しの読みによる検索である。これは、ある読
みを持つ語を調べるときに使われる。さらに、その読み
を先頭に含む場合、その読みの語とその前後や附近の語
を調べるときも使われる。一方、見出しの表記について
は、その読みに対応しているので、辞書全体としてみる
と、一定の順序に並んではいない。特に、表記の順に並
べた辞書は別として、表記のみで検索するのは難しい。
ある程度表記で引けるように索引を設けた辞書や辞書に
類するものがある。
In a Japanese dictionary, the most popular search method for a dictionary is a search by reading a headline. This is used when looking up words that have a certain reading. In addition, when the reading is included at the beginning, it is also used when examining the word of the reading and the words before, after, and near it. On the other hand, since the heading notation corresponds to the reading, the dictionary as a whole is not arranged in a fixed order. In particular, apart from dictionaries arranged in the order of notation, it is difficult to search only by notation.
There are dictionaries and dictionaries that are indexed so that they can be drawn to some extent.

【0005】上記の辞書の説明は紙の辞書について述べ
たものだが、最近の電子化された辞書についても当ては
まる。電子化された辞書も、そのほとんどが紙の辞書の
イメージを保っている。しかし、検索については計算機
の力を借りて、より多様な引き方が簡単にできるように
なった。例えば、目的の語がはっきりしていて、その物
をキーとし、目的の語そのものを取りだす完全一致検
索,キーを頭部に含む前方一致検索,キーを尾部に持つ
後方一致検索,キーを一部にもつ任意検索,見出しだけ
でなく語釈などの記述に含まれるキーワードから関連づ
けて引ける条件検索,あいまいな記述でもそれに類似す
る語を探すあいまい検索などがある。
Although the above description of the dictionary refers to a paper dictionary, the same applies to recent electronic dictionaries. Most electronic dictionaries retain the image of paper dictionaries. However, with the help of a computer, it became possible to easily perform more diverse ways of searching. For example, if the target word is clear and the object is used as a key, the exact match search that extracts the target word itself, the prefix match search that includes the key in the head, the suffix match search that has the key in the tail, and the part of the key There is an arbitrary search that is included in, a conditional search that can be associated with a keyword included in a description such as not only a heading, but a fuzzy search that searches for a word similar to an ambiguous description.

【0006】例えば、読みの前方一致を実現するには、
見出しの読みの索引(1文字から最大読み文字までの多
段階の索引)を設ければよい。また、読みの後方一致検
索では、読みを逆さにした見出しを持つ索引を設けて、
検索キーも文字列を逆さにすればよい。あいまい検索の
簡単なものは、あらかじめ索引を作る際にあいまいにな
りやすい文字列から変換して登録する方法がある。条件
検索では、あらかじめキーワードと関連する語を対応づ
けを持てばよい。また、これらの機能を計算機上である
程度容易に実現できるツールとして、データベース構築
ツールが一般に提供されている。
[0006] For example, in order to realize the prefix matching of reading,
A heading reading index (a multi-step index from one character to the maximum reading character) may be provided. In addition, in the backward matching search of the reading, an index with a heading that reverses the reading is provided,
For the search key, the character string may be inverted. A simple ambiguous search method is to convert a character string that tends to be ambiguous when creating an index in advance and register it. In the conditional search, it suffices to previously associate a keyword with a related word. A database construction tool is generally provided as a tool that can realize these functions on a computer to some extent.

【0007】[0007]

【発明が解決しようとする課題】前述のように、従来の
辞書検索装置において、容量の小さな辞書や文書では、
検索は比較的簡単にできる。すなわち、辞書や文書の本
文のデータを頭から総なめにしてキーの条件にあうもの
を探していけばよい。これらの検索ツールも一般の計算
機上の付帯ツールやエディタやワードプロセッサの機能
で提供されている。しかし、辞書のデータは一般に大き
く、多くの記憶容量を必要とする。また、現状では、記
憶装置を含めた計算機のスピードが辞書のデータを頭か
ら総なめにして扱うには十二分に速いとは言えず、上記
の多様な検索機能を実現するには、速く引くための大量
の索引データと、場合によっては、かなり複雑な検索機
構を使って目的を満たしている。さらに、充実した検索
機能を持つためには、ときには辞書の(もともとの内容
記述である)本来の中身よりも索引の方が大きくなるこ
ともあるという問題点があった。
As described above, in the conventional dictionary search device, in the case of a dictionary or document having a small capacity,
Searching is relatively easy. That is, the data of the text of the dictionary or the document should be swept from the beginning to find the one that meets the key condition. These search tools are also provided as auxiliary tools on general computers, editors, and word processor functions. However, dictionary data is generally large and requires a large storage capacity. Moreover, at present, the speed of a computer including a storage device is not fast enough to swipe dictionary data from the head, and to achieve the various search functions described above, it is necessary to pull it quickly. It uses a large amount of index data and, in some cases, a fairly complex search mechanism to meet its purpose. Further, in order to have a rich search function, the index sometimes becomes larger than the original contents of the dictionary (the original contents description).

【0008】また、辞書のようなテキストデータの圧縮
に関しては、数々の方法が知られており、テキストデー
タ全体をそのまま圧縮する方法はかなり効率の良い方法
が知られている。しかし、本件のように検索と絡めての
圧縮が必要な場合は、圧縮データを任意の場所から解凍
する必要があり、それらの手法をそのまま単純に適用す
ることはできない。辞書の圧縮は、例えば、仮名漢字変
換用の辞書の圧縮などが知られており、高圧縮率のもの
は辞書データの内容または構造に大きく依存し一般的で
ない。
A number of methods are known for compressing text data such as a dictionary, and a very efficient method is known for compressing the entire text data as it is. However, when compression involving search is required as in the present case, it is necessary to decompress the compressed data from an arbitrary location, and these methods cannot be simply applied as they are. For example, compression of a dictionary for converting Kana to Kanji is known as compression of a dictionary, and a dictionary with a high compression rate largely depends on the content or structure of dictionary data and is not common.

【0009】本発明は、このような実情に鑑みてなされ
たもので、現状の計算機の能力を借りて中程度の辞書あ
るいは辞書に類する文書の検索を行なうこと、特に、辞
書の保守や改良場面で他の辞書データを参照する場合
に、適切な検索を行なうこと、また、辞書データの記憶
容量が一般に大きなものとなっており、従来より行われ
ている各種の圧縮技術を辞書の各レコード毎に適用し、
辞書本体を圧縮した状態で容易に検索できるようにする
こと、また、主に辞書データを対象とするが、それらを
単なるテキストデータとみなしてもよく、より広範囲の
テキストデータに対し、容量が小さく、かつ検索速度を
実用的とすること、さらに、最近の日本語文書処理シス
テムでは、必ずと言っていいほど、入力手段に何らかの
かな漢字変換システムが備えられており、これには変換
用に少なくとも読みと対応する表記の情報を含む辞書
(かな漢字変換用辞書)が付随し、該辞書は本発明で主
に扱う一般用の語釈や解説が入った辞書とはやや異なる
が、何らかの形で読みの見出しと対応する表記情報を持
っているので、その情報を辞書データの圧縮に有効利用
する辞書検索装置を提供することを目的としている。
The present invention has been made in view of the above circumstances, and searches for a medium-sized dictionary or a document similar to a dictionary by utilizing the power of a current computer, and particularly, for maintaining or improving the dictionary. When referring to other dictionary data with, the appropriate search is performed, and the storage capacity of the dictionary data is generally large. Various conventional compression techniques are applied to each dictionary record. Applied to
Make it easy to search in a compressed state of the dictionary body, and mainly target dictionary data, but you can consider them as simple text data, and the capacity is small for a wider range of text data. In addition, the search speed is practical, and moreover, in recent Japanese text processing systems, it is almost always said that the input means is equipped with some kana-kanji conversion system. Is accompanied by a dictionary (kana-kanji conversion dictionary) containing the information of the notation corresponding thereto, and the dictionary is slightly different from the dictionary containing general words and explanations mainly used in the present invention, but the reading heading is in some form. Since it has the notation information corresponding to, it is an object of the present invention to provide a dictionary search device that effectively uses that information for compressing dictionary data.

【0010】[0010]

【課題を解決するための手段】本発明は、上記目的を達
成するために、(1)読みまたは表記を有するデータあ
るいはそのほかの情報がレコード単位で収納されている
辞書の検索を行う辞書検索装置において、辞書データを
任意の方式でレコード単位で圧縮する圧縮手段と、辞書
データを前記圧縮手段により圧縮した圧縮辞書データ
と、検索キーの対象となる読みまたは表記の各文字と、
圧縮辞書上のレコード位置を関連づけた索引である1文
字索引を有し、検索キーを指定すると、該検索キー中の
文字を抽出する文字抽出手段と、該文字抽出手段により
抽出された文字を含む圧縮辞書上の圧縮レコード位置を
抽出する位置抽出手段と、該位置抽出手段により抽出さ
れた位置の圧縮辞書上の圧縮レコードを元の辞書レコー
ドに解凍し、該辞書レコードと検索キーと比較する比較
手段と、検索キーに適合するレコードを抽出表示する表
示手段とを有すること、更には、(2)前記文字索引
は、各文字別に(文字コード順に)ソートされ、圧縮辞
書上の圧縮レコード位置を登録した索引と、該索引の文
字別のブロック先頭位置を登録した索引からなること、
更には、(3)前記辞書レコードと検索キーと比較の際
に、検索キーを圧縮辞書と同様な方法で圧縮した圧縮検
索キーとし、圧縮レコードと圧縮検索キーとを比較し、
検索キーに適合するレコードを抽出表示すること、更に
は、(4)前記圧縮辞書の各圧縮レコード位置を記録し
た索引を設けること、更には、(5)前記辞書上の各レ
コードの索引作成の範囲の限定を文字位置で指定し、か
つ検索の際の圧縮レコードの解凍の範囲をその範囲に限
定すること、更には、(6)前記辞書上の各レコードの
索引作成の範囲の限定を区切り記号で指定し、かつ検索
の際の圧縮レコードの解凍の範囲をその範囲に限定する
こと、更には、(7)前記辞書レコードの読みを文書入
力用のかな漢字変換用辞書の見出しの読み位置を記憶す
ることにより圧縮すること、更には、(8)前記辞書レ
コードの表記を文書入力用のかな漢字変換用辞書の見出
し表記の位置を記憶することにより圧縮すること、更に
は、(9)前記辞書レコードの語釈あるいは解説部分を
文書入力用のかな漢字変換用辞書の表記の位置を記憶す
ることにより圧縮すること、更には、(10)前記
(7)において、前記文書入力用のかな漢字変換用辞書
の読みが短い見出しは記憶しないようにすること、更に
は、(11)前記(8)又は(9)において、前記文書
入力用のかな漢字変換用辞書の表記が短い見出しは記憶
しないようにすること、更には、(12)前記(7)〜
(11)のいずれかにおいて、前記かな漢字変換用辞書
に該当しない読みまたは表記については、かな漢字変換
用辞書のアドレス情報に対応した辞書を持つことを特徴
としたものである。
In order to achieve the above object, the present invention provides (1) a dictionary search apparatus for searching a dictionary in which data having readings or notations or other information is stored in record units. In, compression means for compressing the dictionary data in a record unit by an arbitrary method, compressed dictionary data obtained by compressing the dictionary data by the compression means, and each character of reading or notation which is a target of the search key,
It has a one-character index which is an index associating record positions on the compression dictionary, and includes a character extracting means for extracting a character in the search key when a search key is specified, and a character extracted by the character extracting means. Position extraction means for extracting the position of the compressed record in the compression dictionary, and decompressing the compressed record in the compression dictionary at the position extracted by the position extraction means into the original dictionary record and comparing the dictionary record with the search key Means and a display means for extracting and displaying records matching the search key, and further, (2) the character index is sorted for each character (in the order of the character code), and the compressed record position on the compression dictionary is displayed. It consists of a registered index and an index that registers the block start position for each character of the index,
Furthermore, (3) when comparing the dictionary record with the search key, the search key is a compressed search key compressed in the same manner as the compression dictionary, and the compressed record and the compressed search key are compared,
Extracting and displaying records matching the search key, (4) providing an index recording each compressed record position in the compression dictionary, and (5) creating an index for each record in the dictionary. The range is specified by character position, and the range of decompressing the compressed record at the time of search is limited to the range, and (6) the range of indexing each record in the dictionary is delimited. It is specified by a symbol, and the decompression range of the compressed record at the time of retrieval is limited to that range. Furthermore, (7) the reading of the dictionary record is set to the reading position of the heading of the Kana-Kanji conversion dictionary for document input. Compressing by storing, (8) compressing the notation of the dictionary record by storing the position of the heading notation of the kana-kanji conversion dictionary for document input, and (9) the above Compressing the commentary or commentary part of the record by storing the notation position of the kana-kanji conversion dictionary for document input, and (10) in (7), the kana-kanji conversion dictionary for document input (11) In (8) or (9), the heading whose reading is short is not stored, and the heading in which the Kana-Kanji conversion dictionary for inputting the document is short is not stored. Further, (12) above (7)-
In any one of (11), the reading or notation that does not correspond to the kana-kanji conversion dictionary is characterized by having a dictionary corresponding to the address information of the kana-kanji conversion dictionary.

【0011】[0011]

【作用】前記構成を有する本発明の辞書検索装置は、
(1)辞書データを任意の方式でレコード単位で圧縮
し、辞書データを圧縮した圧縮辞書データを有し、検索
キーの対象となる、読みまたは表記の各文字と、圧縮辞
書上のレコード位置を関連づけた索引(1文字索引)を
有し、検索キーを指定すると、検索キー中の文字を抽出
し、その文字を含む圧縮辞書上の圧縮レコード位置を抽
出し、その位置の圧縮辞書上の圧縮レコード元の辞書レ
コードに解凍し、その検索キーと比較し、検索キーに適
合するレコードを抽出表示する。これにより、検索対象
の辞書データをレコード単位に圧縮したので、辞書本体
記憶容量を小さくでき、より小型の記憶容量で装置を実
現できる。
The dictionary search device of the present invention having the above-mentioned structure is
(1) The dictionary data is compressed in a record unit by an arbitrary method, and the dictionary data has compressed dictionary data. Each character of reading or notation, which is a target of the search key, and the record position on the compression dictionary are stored. It has an associated index (one-character index), and when a search key is specified, the character in the search key is extracted, the compressed record position in the compression dictionary that includes the character is extracted, and the position is compressed in the compression dictionary. It is decompressed into the dictionary record of the record source, compared with the search key, and the record matching the search key is extracted and displayed. As a result, since the dictionary data to be searched is compressed in record units, the storage capacity of the dictionary body can be reduced, and the device can be realized with a smaller storage capacity.

【0012】(2)1文字索引は、各文字別に(文字コ
ード順に)ソートされ、圧縮辞書上の圧縮レコード位置
を登録した索引(索引2)と、その索引の文字別のブロ
ック先頭位置を登録した索引(索引1)からなるので、
各文字を含む先頭位置の探索範囲を索引作成時の索引文
字位置範囲情報により、先頭位置決めの際に、不要な探
索を防止でき、検索結果の行の切りだしをより高速化で
きる。(3)辞書レコードと検索キーと比較の際、検索
キーを圧縮辞書と同様な方法で圧縮した圧縮検索キーと
し、圧縮レコードと圧縮検索キーとを比較し検索キーに
適合するレコードを抽出表示するので、一般に検索キー
より圧縮レコードのデータ長が大きく、検索キーの圧縮
は1回で済むので、圧縮レコードを解凍せずに検索キー
と照合することができ、圧縮レコードを解凍して照合す
るよりも高速に適合情報が得られる。
(2) The one-character index is sorted for each character (in the order of the character code), and the index (index 2) in which the compressed record position in the compression dictionary is registered and the block start position for each character of the index are registered. Since it consists of the index (index 1),
By using the index character position range information at the time of creating the index, the search range of the start position including each character can be prevented from being unnecessarily searched at the time of positioning the start, and the extraction of the line of the search result can be further speeded up. (3) When comparing the dictionary record with the search key, the search key is used as a compressed search key compressed by the same method as the compression dictionary, the compressed record is compared with the compressed search key, and the record matching the search key is extracted and displayed. Therefore, the data length of the compressed record is generally larger than that of the search key, and the compression of the search key only needs to be performed once. Therefore, the compressed record can be matched with the search key without being decompressed. Can obtain conformance information at high speed.

【0013】(4)圧縮辞書の各圧縮レコード位置を記
録した索引を設けたので、検索キーに一致するデータお
よびその周辺のデータの取り出し(参照)を一括して行
なう場合、取り出し範囲が索引により、あらかじめ把握
できるので、取り出しをより高速に行うことができる。
(5),(6)辞書上の各レコードの索引作成の範囲の
限定を文字位置、或いは、区切り記号で指定し、かつ、
検索の際の圧縮レコードの解凍の範囲をその範囲に限定
でき、辞書上の索引作成の範囲の限定に対応して、圧縮
レコードの解凍の範囲を限定できるので、索引作成の限
定がある場合、圧縮レコードの限定範囲外の解凍を省略
でき、検索キーとの照合をより高速に行なうことができ
る。
(4) Since the index recording each compressed record position of the compression dictionary is provided, when the data matching the search key and the data around it are extracted (referenced) collectively, the extraction range depends on the index. , Because it can be grasped in advance, it can be taken out faster.
(5), (6) The limit of the index creation range of each record in the dictionary is specified by a character position or a delimiter, and
The range of decompressing compressed records at the time of search can be limited to that range, and the range of decompressing compressed records can be limited according to the limitation of the range of index creation in the dictionary. Decompression of the compressed record outside the limited range can be omitted, and the matching with the search key can be performed faster.

【0014】(7)辞書レコードの読みを文書入力用の
かな漢字変換用辞書の見出しの読みの位置を記憶するこ
とにより圧縮するので、辞書の読み部分の文字列をかな
漢字変換用辞書の見出しの読み部の位置情報で置き換え
ることにより、辞書の読み部分の効果的な圧縮ができ
る。(8)辞書レコードの表記を文書入力用のかな漢字
変換用辞書の見出し表記の位置を記憶することにより圧
縮するので、辞書の表記部分の文字列をかな漢字変換用
辞書の見出しの表記部の位置情報で置き換えることによ
り、辞書の表記部分の効果的な圧縮ができる。
(7) Since the reading of the dictionary record is compressed by storing the reading position of the heading of the kana-kanji conversion dictionary for document input, the character string of the reading part of the dictionary is read of the heading of the kana-kanji conversion dictionary. By replacing with the position information of the copy, the reading part of the dictionary can be effectively compressed. (8) Since the notation of the dictionary record is compressed by storing the position of the heading notation of the kana-kanji conversion dictionary for document input, the character string of the notation part of the dictionary is the position information of the notation part of the heading of the kana-kanji conversion dictionary. By replacing with, it is possible to effectively compress the notation part of the dictionary.

【0015】(9)辞書レコードの語釈あるいは解説部
分を文書入力用のかな漢字変換用辞書の表記の位置を記
憶することにより圧縮するので、辞書の語釈あるいは解
説部分の文字列をかな漢字変換用辞書の見出しの表記部
の位置情報で置き換えることにより、辞書の語釈あるい
は解説部分の効果的な圧縮ができる。(10)文書入力
用のかな漢字変換用辞書の読みが短い見出しは記憶しな
いようにするので、かな漢字変換用辞書の見出しの読み
が短いものの位置情報は記憶しないようにしたので、よ
り圧縮効果のある文字列部分のみ位置情報が少ないデー
タ長で記憶できるため、さらに圧縮効果を高めることが
できる。
(9) Since the comment or commentary part of the dictionary record is compressed by storing the position of the notation in the kana-kanji conversion dictionary for document input, the character string of the commentary or commentary part of the dictionary is stored in the kana-kanji conversion dictionary. By replacing it with the position information of the notation part of the headline, it is possible to effectively compress the commentary or commentary part of the dictionary. (10) Since the kana-kanji conversion dictionary for inputting documents does not store headings with short readings, the kana-kanji conversion dictionary does not store position information although the headings have short readings, which is more effective for compression. Since the position information can be stored only in the character string portion with a small data length, the compression effect can be further enhanced.

【0016】(11)文書入力用のかな漢字変換用辞書
の表記が短い見出しは記憶しないようにするので、かな
漢字変換用辞書の見出しの表記が短いものの位置情報は
記憶しないようにすることにより、より圧縮効果のある
文字列部分のみ位置情報が少ないデータ長で記憶でき、
さらに圧縮効果を高めることができる。(12)かな漢
字変換用辞書に該当しない読みまたは表記については、
かな漢字変換用辞書のアドレス情報に対応した辞書を持
つので、かな漢字変換用の辞書見出しの読みあるいは表
記に一致しない文字列を、かな漢字変換用の辞書の位置
情報(アドレス情報)に対応した形で、位置情報と読み
あるいは表記と対応づけさせた辞書を持つようにし、当
辞書のアクセスが容易かつ高速とすることができる。
(11) Since the heading with a short description in the Kana-Kanji conversion dictionary for document input is not stored, the position information is stored without storing the heading in the Kana-Kanji conversion dictionary. Only the character string part that has a compression effect can be stored with a data length with little position information,
Further, the compression effect can be enhanced. (12) For readings or notations that do not correspond to the Kana-Kanji conversion dictionary,
Since it has a dictionary that corresponds to the address information of the Kana-Kanji conversion dictionary, a character string that does not match the reading or notation of the Kana-Kanji conversion dictionary heading, in the form that corresponds to the position information (address information) of the Kana-Kanji conversion dictionary, By having a dictionary in which position information is associated with reading or notation, the dictionary can be accessed easily and at high speed.

【0017】[0017]

【実施例】実施例について、図面を参照して以下に説明
する。図1は、本発明による辞書検索装置の一実施例を
説明するための構成図で、図中、1は表示部、2は入力
部、3は外部記憶部、4は印刷部、5は制御部、6は入
力/編集制御部、7は辞書検索支援部、8は出力制御
部、9は辞書検索制御部、10は辞書索引検索制御部、
11は辞書本体検索制御部、12は出力表示制御部、1
3は設定情報管理表、14は辞書索引、15は辞書本体
である。
Embodiments will be described below with reference to the drawings. FIG. 1 is a configuration diagram for explaining an embodiment of a dictionary search device according to the present invention. In the figure, 1 is a display unit, 2 is an input unit, 3 is an external storage unit, 4 is a printing unit, and 5 is a control unit. Section, 6 is an input / edit control section, 7 is a dictionary search support section, 8 is an output control section, 9 is a dictionary search control section, 10 is a dictionary index search control section,
Reference numeral 11 is a dictionary body search control unit, 12 is an output display control unit, 1
Reference numeral 3 is a setting information management table, 14 is a dictionary index, and 15 is a dictionary body.

【0018】一般のOA機器であるパソコン、ワードプ
ロセッサなどと同様な構成となっている。中心に全体を
制御する制御部5があり、汎用マイクロコンピュータ、
あるいは専用LSIなどで実現されている。それに入出
力、記憶を受け持つ周辺装置のディスプレイ、キーボー
ド、フロッピー、プリンタ等がある。また、制御部5の
下にデータの入力、編集、保管、印刷を制御する部分が
あり、これらはファームウェア、専用LSIなどで実現
されている。
The structure is the same as that of a general OA device such as a personal computer and a word processor. At the center is a control unit 5 for controlling the whole, a general-purpose microcomputer,
Alternatively, it is realized by a dedicated LSI or the like. It also has a peripheral device display, keyboard, floppy, printer, etc. that handles input / output and memory. Further, under the control unit 5, there is a portion for controlling data input, editing, storage, and printing, which are realized by firmware, a dedicated LSI, or the like.

【0019】図1の例では、辞書検索支援部7のもとに
辞書検索制御部9、辞書索引検索制御部10、辞書本体
検索制御部11、出力表示制御部12で構成されてい
る。辞書検索制御部9は辞書の参照検索全体を担当す
る。また、各種辞書について参照検索に必要な設定情報
の解釈と管理を行う。辞書索引検索制御部10は辞書検
索制御部9の支持をもとに、辞書検索制御部9から検索
キー情報をもらい、対象となる辞書の1つまたは複数の
索引を検索し、検索条件に適合する辞書のレコードの候
補を探し、候補の辞書本体のアドレスを辞書検索制御部
9に渡す。
In the example of FIG. 1, the dictionary search support unit 7 is composed of a dictionary search control unit 9, a dictionary index search control unit 10, a dictionary body search control unit 11, and an output display control unit 12. The dictionary search control unit 9 is in charge of the entire reference search of the dictionary. It also interprets and manages the setting information required for reference retrieval for various dictionaries. Based on the support of the dictionary search control unit 9, the dictionary index search control unit 10 receives the search key information from the dictionary search control unit 9, searches one or more indexes of the target dictionary, and matches the search condition. The dictionary search control unit 9 is passed the address of the dictionary body of the candidate searched for.

【0020】辞書本体検索制御部11は辞書検索制御部
9の指令のもとに、検索キー情報と候補の辞書本体15
のアドレスをもらい、辞書本体15を検索し、検索キー
情報と最終的な照合を行なう。出力表示制御部12は辞
書検索制御部9から辞書レコードの出力表示方法の設定
情報を受け取り、辞書出力するレコードを設定情報に合
わせて加工し、レコード出力情報として辞書検索制御部
9に送る。該辞書検索制御部9はレコード出力情報を制
御部5を介して出力制御部8に送ることで検索結果の表
示を行なう。このほか上記のキーボードからくる入力情
報や日本語入力の際の仮名漢字変換は入力/編集制御部
6のもとで、また、データの編集、保管、印刷などは入
/編集制御部6、出力制御部8のもとで行なわれる。
The dictionary body search control unit 11 receives the search key information and the dictionary body 15 of the candidate under the command of the dictionary search control unit 9.
, The dictionary body 15 is searched, and the search key information is finally collated. The output display control unit 12 receives the setting information of the output display method of the dictionary record from the dictionary search control unit 9, processes the record to be output in the dictionary according to the setting information, and sends it as the record output information to the dictionary search control unit 9. The dictionary search control unit 9 displays the search result by sending the record output information to the output control unit 8 via the control unit 5. In addition, the input information coming from the above-mentioned keyboard and the kana-kanji conversion for Japanese input are under the input / edit control unit 6, and the editing / storing / printing of data is performed by the input / edit control unit 6. It is performed under the control unit 8.

【0021】図2は、本発明で検索を行う辞書の一例を
示す図である。この例では、「読み」,「表記」,「品
詞」,「語釈」が辞書の内容となっている。「通番」は
辞書レコード(行)の通し番号を表す(普通、通番は辞
書の内容には含まれていない)。このような形式のレコ
ードの概念がある辞書データを、あらかじめ、あるいは
以下に示す索引作成時に、適当な圧縮アルゴリズムでレ
コード単位に圧縮した圧縮辞書を用意する。検索には、
この圧縮辞書と以降で説明する圧縮辞書レコードの位置
を記録した索引を使用する。
FIG. 2 is a diagram showing an example of a dictionary for performing a search according to the present invention. In this example, "reading", "notation", "part of speech", and "word slang" are the contents of the dictionary. The "serial number" represents the serial number of the dictionary record (row) (normally, the serial number is not included in the contents of the dictionary). A compression dictionary is prepared by compressing the dictionary data having the concept of records in this format in record units by an appropriate compression algorithm in advance or at the time of index creation described below. Search for
This compression dictionary and the index recording the position of the compression dictionary record described below are used.

【0022】図3(a),(b)は、図2に示す辞書の
例から本発明の検索索引を造る過程を示したデータの一
例である。ここでは、「読み」部分の1文字索引を造る
例を示している。図2の読み部分から順次1文字づつ取
りだし、表の形でその文字を含む辞書の行位置に対応す
る圧縮辞書の行位置を記録する。これを辞書の全レコー
ドについて行う(図3(a))。次に、この表を(読み
各文字)と(圧縮辞書行位置)を対として文字のコード
順,圧縮辞書行位置順でソートする。その結果、文字と
圧縮辞書行位置を対とする1文字の索引を得る(図3
(b))。
FIGS. 3A and 3B are examples of data showing the process of creating the search index of the present invention from the example of the dictionary shown in FIG. Here, an example of creating a one-character index for the "reading" part is shown. One character is sequentially taken out from the reading portion of FIG. 2, and the line position of the compression dictionary corresponding to the line position of the dictionary containing the character is recorded in the form of a table. This is performed for all records in the dictionary (FIG. 3 (a)). Next, this table is sorted in the order of character code and compression dictionary line position in pairs of (reading characters) and (compression dictionary line position). As a result, an index of one character is obtained by pairing the character and the compression dictionary line position (see FIG. 3).
(B)).

【0023】この索引は、各文字について、その文字を
含む辞書の行位置(圧縮辞書行位置)が連続して記録さ
れている。この索引を使って、任意の読み1文字を含む
圧縮辞書の行位置を知ることができる。図3(a)、
(b)では、「読み」の索引作成の例を示したが、同様に
して「表記」の索引を作成できる。この索引を用いて、
検索キーの文字を含む部分の索引範囲を参照すれば、圧
縮辞書の検索が可能である。しかし、辞書レコード数が
ある程度多い場合は、索引の量も多くなり、索引の検索
に時間がかかる。次に、図4でこの点を補う索引構成を
使う例で、実際の検索方法を説明する。
In this index, for each character, the line position (compressed dictionary line position) of the dictionary containing the character is recorded continuously. By using this index, it is possible to know the line position of the compression dictionary including any one reading character. Figure 3 (a),
In (b), an example of creating an index for "reading" is shown, but an index for "notation" can be created in the same manner. With this index,
The compression dictionary can be searched by referring to the index range of the part including the character of the search key. However, if the number of dictionary records is large to some extent, the amount of indexes also increases, and it takes time to search the indexes. Next, an actual search method will be described using an example of using an index configuration that complements this point in FIG.

【0024】図4(a)〜(d)は、検索例で示した本
発明の検索方法の概念を説明するための図である。例え
ば、読みの検索キー「あい」を与える(図4(a))
と、検索キー中の先頭の1文字「あ」をキーにして索引
1を検索する(図4(b))。索引1は、図4(b)で
示した索引で、各文字の開始位置(より正確には、索引
2の行番号(通番))を記録したもので、次の索引2
は、図4(b)と同じ内容の圧縮辞書行位置を記録した
表である。ただし、図4(b)の(文字)の欄は、索引
1で圧縮辞書行位置記載欄との対応が分るので、省略し
てある。索引1は、図4の索引作成時に同時に作成する
ことができる(後述図5参照)。
FIGS. 4A to 4D are views for explaining the concept of the search method of the present invention shown in the search example. For example, the search key "ai" for reading is given (Fig. 4 (a)).
Then, the index 1 is searched by using the first character "A" in the search key as a key (FIG. 4 (b)). The index 1 is the index shown in FIG. 4B, which records the start position of each character (more accurately, the line number (serial number) of the index 2).
Is a table recording the compression dictionary row positions having the same contents as in FIG. However, the column of (character) in FIG. 4B is omitted because the correspondence with the column for describing the compression dictionary line position can be found in the index 1. The index 1 can be created at the same time when the index of FIG. 4 is created (see FIG. 5 described later).

【0025】索引1の検索は、図示した文字の欄の先頭
「ー」から順にキー「あ」との一致を調べる(順検索)
(図4(b)で示す矢印を参照)。この他、順検索以外
にバイナリサーチ(2分探索)の方法を用いてもよい。
その結果得た索引2の「あ」の開始位置(索引2行番
号)「002770」を得る。また、索引2の「ぃ」の開始位
置「007938」から「あ」の終了位置「007937」を得る。
The index 1 is searched for a match with the key "a" in order from the beginning "-" in the illustrated character column (sequential search).
(Refer to the arrow shown in FIG. 4B). In addition, a binary search (binary search) method may be used instead of the sequential search.
As a result, the start position (index 2 line number) “002770” of “A” of index 2 is obtained. Further, the end position “007937” of “a” is obtained from the start position “007938” of “i” in the index 2.

【0026】これから先は、索引2の「あ」の「辞書行
番号(位置)」欄に記載の全ての辞書行番号(索引2
(通番)002770〜007937)を使って、圧縮辞書本体のレ
コードを順次読み出し、解凍し、検索キー「あい」と一
致しているか照合し、その結果、適合したレコードを出
力する。以上が、図4の例に基づく本発明の検索方法の
実施例の1つである。
From now on, all dictionary line numbers (index 2) described in the "dictionary line number (position)" column of "a" of index 2
(Serial number) 002770 to 007937), the records in the compression dictionary body are sequentially read out, decompressed, and checked to see if they match the search key "ai", and as a result, the matched record is output. The above is one of the embodiments of the search method of the present invention based on the example of FIG.

【0027】図5に、図3と図4で説明した索引作成の
処理の概略フローチャートを示す図である。ここでは、
辞書や索引を外部記憶装置のファイルとしておくことを
想定して説明する。以下、各ステップに従って順次説明
する。step1 :まず、辞書データをファイルからバッファに1
レコード読む。次に、読んだ辞書レコードを圧縮し、フ
ァイルに書き出す(圧縮辞書)とともに書き出し先頭位
置(圧縮辞書行位置)を記憶する。次に、同上の辞書1
レコードの読み部分に該当する全ての文字を順次取り出
し、文字コードと圧縮辞書行位置を対にしてファイルに
書き出す(索引元データ1)。step2 :索引元データ1を文字コード順、圧縮辞書行位
置順にソートする(索引元データ)。step3 :索引元データ2を順次読み出し、圧縮辞書行位
置のみを索引2に書き出すとともに、文字部のコードの
変わり目で文字と索引2の行番号を対にして索引1に書
き出す。
FIG. 5 is a diagram showing a schematic flowchart of the index creating process described with reference to FIGS. 3 and 4. here,
Description will be made assuming that the dictionary and the index are stored as files in the external storage device. The steps will be sequentially described below. step1 : First, the dictionary data from the file to the buffer 1
Read the record. Next, the read dictionary record is compressed and written in the file (compression dictionary) and the write start position (compression dictionary line position) is stored. Next, the dictionary 1 above
All the characters corresponding to the reading part of the record are sequentially taken out, and the character code and the compression dictionary line position are paired and written to the file (index source data 1). step2 : Sort the index source data 1 in the order of character code and compression dictionary line position (index source data). step3 : The index source data 2 is sequentially read, and only the compression dictionary line position is written to the index 2, and at the transition of the code of the character part, the character and the line number of the index 2 are written to the index 1 as a pair.

【0028】図6は、図4で説明した検索の処理の概略
フローチャートを示す図である。以下、各ステップに従
って順次説明する。step1 :まず、検索キー“あい”を解析し、索引を検索
する文字を1文字キー(あ)としてセットする。step2 :次に、索引1を読み、文字欄を先頭から順次サ
ーチし、1文字キー(あ)と一致するものを探す。一致し
た行の、索引2の行開始位置を記憶する。次の行の索引
2の(行開始位置−1)を索引2の探索終了位置として
記憶する。step3 :記憶した索引2の行開始位置から探索終了位置
まで、索引2の圧縮辞書行位置を順次読み出し、その行
番号のレコードデータを圧縮辞書本体のファイルからバ
ッファに読み込み、解凍し、読み部分と検索キーとを照
合し、合致するレコードを表示またはファイルに書き出
す。
FIG. 6 is a diagram showing a schematic flow chart of the search processing described in FIG. The steps will be sequentially described below. step1 : First, the search key "ai" is analyzed, and the character for searching the index is set as a one-character key (a). step2 : Next, the index 1 is read, the character field is sequentially searched from the beginning, and the one matching the one character key (A) is searched. The index 2 row start position of the matched row is stored. The (row start position-1) of index 2 of the next row is stored as the search end position of index 2. step3 : The compression dictionary line position of index 2 is sequentially read from the stored line start position of index 2 to the search end position, and the record data of that line number is read from the file of the compression dictionary body into the buffer, decompressed, and read. Match the search key and display the matching record or write it to a file.

【0029】図7は、検索キーを圧縮して圧縮辞書行と
比較する検索の処理の概略フローチャートを示す図であ
る。以下、各ステップに従って順次説明する。step1 :まず、検索キー“あい”を解析し、索引を検索
する文字を1文字キー(あ)としてセットする。step2 :次に、索引1を読み、文字欄を先頭から順次サ
ーチし、1文字キー(あ)と一致するものを探す。一致し
た行の、索引2の開始位置を記憶する。次の行の索引2
の(行開始位置−1)を索引2の探索終了位置として記
憶する。step3 :記憶した索引2の行開始位置から探索終了位置
まで、索引2の圧縮辞書行位置を順次読み出し、その行
番号のレコードデータを圧縮辞書本体のファイルからバ
ッファに読み込み、読み部分と辞書を圧縮した同じ方法
により圧縮した検索キーとを照合し、合致する場合、圧
縮レコードを解凍し、表示またはファイルに書き出す。 図8は、圧縮辞書行位置索引(索引3)の例を示す図で
ある。
FIG. 7 is a diagram showing a schematic flowchart of a search process for compressing a search key and comparing it with a compressed dictionary line. The steps will be sequentially described below. step1 : First, the search key "ai" is analyzed, and the character for searching the index is set as a one-character key (a). step2 : Next, the index 1 is read, the character field is sequentially searched from the beginning, and the one matching the one character key (A) is searched. The starting position of index 2 of the matched row is stored. Next row index 2
(Row start position -1) is stored as the search end position of index 2. step3 : The compression dictionary line position of index 2 is sequentially read from the stored line start position of index 2 to the search end position, the record data of that line number is read into the buffer from the file of the compression dictionary body, and the reading part and the dictionary are compressed. It collates with the search key compressed by the same method as described above, and if they match, the compressed record is decompressed and displayed or written to a file. FIG. 8 is a diagram showing an example of the compression dictionary line position index (index 3).

【0030】図9は、索引3を索引1,索引2と同時に
作成する索引作成の処理の概略フローチャートを示す図
である。以下、各ステップに従って順次説明する。step1 :まず、辞書データをファイルからバッファに1
レコード読む。次に、読んだ辞書1レコードを圧縮し、
ファイルに書き出す(圧縮辞書)とともに書き出し先頭
位置を記憶し、さらに、ファイルに書き出す(索引
3)。次に、同上の辞書1レコードの索引作成データ範
囲文字位置限定指定表の限定部分に該当する、全ての文
字を順次取り出し、文字コードと圧縮辞書行位置を対に
してファイルに書きだす(索引元データ1)。step2 :次に、索引元データ1を文字コード順、圧縮辞
書行位置順にソートする(索引元データ2)。step3 :索引元データ2を順次読み出し、圧縮辞書行位
置のみを索引2に書き出すとともに、文字部のコードの
変わり目で文字と索引2の行番号を対にして、索引1に
書き出す。
FIG. 9 is a diagram showing a schematic flow chart of index creation processing for creating index 3 at the same time as index 1 and index 2. The steps will be sequentially described below. step1 : First, the dictionary data from the file to the buffer 1
Read the record. Next, compress the dictionary 1 record you read,
The writing start position is stored together with writing to the file (compression dictionary), and further writing to the file (index 3). Next, all the characters that correspond to the restricted part of the index creation data range character position restriction specification table for the dictionary 1 record of the same as above are sequentially fetched, and the character code and the compression dictionary line position are paired and written to the file (index source Data 1). step2 : Next, the index source data 1 is sorted in the order of the character code and the compression dictionary line position (index source data 2). step3 : The index source data 2 is sequentially read out, and only the compression dictionary line position is written to the index 2, and at the transition of the code of the character part, the character and the line number of the index 2 are paired and written to the index 1.

【0031】図10は、索引3を使った別の検索の処理
の概略フローチャートを示す図である。この例では、索
引3を使って辞書の行番号あるいはキーに該当するレコ
ード前後の位置を容易に検索しようとするもので、索引
3の検索には、索引1の説明で述べたと同様な方法が使
える。また、この索引を設けることで、辞書レコード内
に関連するレコードの情報が記載されている場合に、そ
のレコードを圧縮辞書から高速に取りだすことができ
る。以下、各ステップに従って順次説明する。
FIG. 10 is a diagram showing a schematic flowchart of another search process using the index 3. In this example, the index 3 is used to easily search the position before and after the record corresponding to the line number or the key of the dictionary. For the search of the index 3, the same method as described in the description of the index 1 is used. It can be used. Further, by providing this index, when the information of the related record is described in the dictionary record, that record can be extracted from the compression dictionary at high speed. The steps will be sequentially described below.

【0032】step1:まず、検索キー“あい”を解析
し、索引を検索する文字を1文字キー(あ)としてセッ
トする。step2 :次に、索引1を読み、文字欄を先頭から順次サ
ーチし、1文字キー(あ)と一致するものを探す。一致し
た行の、索引2の行開始位置を記憶する。次の行の索引
2の(行開始位置−1)を索引2の探索終了位置として
記憶する。step3 :記憶した索引2の行開始位置から探索終了位置
まで、索引2の圧縮辞書行位置を順次読み出し、その行
番号のレコードデータを圧縮辞書本体のファイルからバ
ッファに読み込み、解凍し、読み部分と検索キーとを照
合し、合致するレコードを表示またはファイルに書き出
すとともに、合致レコードのレコード番号の表示指定、
あるいは、前後のレコードの表示指定があった場合、索
引3を検索し、圧縮辞書行位置データと合致する索引3
のレコード位置から辞書行番号を特定し、レコード番号
または前後のレコードを合わせて表示またはファイルに
書き出す。
Step 1 : First, the search key “ai” is analyzed, and the character for searching the index is set as a one-character key (A). step2 : Next, the index 1 is read, the character field is sequentially searched from the beginning, and the one matching the one character key (A) is searched. The index 2 row start position of the matched row is stored. The (row start position-1) of index 2 of the next row is stored as the search end position of index 2. step3 : The compression dictionary line position of index 2 is sequentially read from the stored line start position of index 2 to the search end position, and the record data of that line number is read from the file of the compression dictionary body into the buffer, decompressed, and read. Match the search key, display the matching record or write it to a file, and specify the display of the record number of the matching record,
Alternatively, when the display designation of the preceding and succeeding records is made, the index 3 is searched and the index 3 matching the compression dictionary line position data is searched.
The dictionary line number is specified from the record position of, and the record number or the records before and after are combined and displayed or written to a file.

【0033】図11は、索引作成時に辞書上のキーとな
り得る部分を文字位置範囲で限定し、検索キー比較の際
に圧縮辞書行の解凍を限定する検索の処理の概略フロー
チャートを示す図である。以下、各ステップに従って順
次説明する。step1 :まず、検索キー“あい”を解析し、索引を検索
する文字を1文字キー(あ)としてセットする。step2 :次に、索引1を読み、文字欄を先頭から順次サ
ーチし、1文字キー(あ)と一致するものを探す。一致し
た行の、索引2の行開始位置を記憶する。次の行の索引
2の(行開始位置−1)を索引2の探索終了位置として
記憶する。step3 :記憶した索引2の行開始位置から探索終了位置
まで、索引2の圧縮辞書行位置を順次読み出し、その行
番号のレコードデータを圧縮辞書本体のファイルからバ
ッファに読み込み、索引作成データ範囲文字位置限定指
定表の限定部分まで解凍し、解凍した文字列と検索キー
とを照合し、合致する場合、残りの部分を解凍し、レコ
ードを表示またはファイルに書き出す。 図12は、索引作成時に参照する索引作成データ範囲文
字位置限定指定表の例を示す図である。
FIG. 11 is a diagram showing a schematic flow chart of a search process in which a part that can be a key on the dictionary at the time of index creation is limited by the character position range, and decompression of the compressed dictionary line is limited at the time of comparing the search keys. . The steps will be sequentially described below. step1 : First, the search key "ai" is analyzed, and the character for searching the index is set as a one-character key (a). step2 : Next, the index 1 is read, the character field is sequentially searched from the beginning, and the one matching the one character key (A) is searched. The index 2 row start position of the matched row is stored. The (row start position-1) of index 2 of the next row is stored as the search end position of index 2. step3 : The compression dictionary line position of index 2 is sequentially read from the stored line start position of index 2 to the search end position, the record data of that line number is read from the file of the compression dictionary body into the buffer, and the index creation data range character position Decompress up to the limited part of the limited specification table, match the decompressed character string with the search key, and if they match, decompress the remaining part and display or write the record to a file. FIG. 12 is a diagram showing an example of an index creation data range character position limitation specification table that is referenced when creating an index.

【0034】図13は、その索引作成の処理の概略フロ
ーチャートを示す図である。この例では、検索照合時に
解凍する範囲を索引作成時の文字位置範囲に限定するこ
とによって、レコード全体を解凍してから照合するより
処理の高速化をはかろうとする。以下、各ステップに従
って順次説明する。
FIG. 13 is a diagram showing a schematic flow chart of the index creating process. In this example, by limiting the range to be decompressed at the time of search matching to the character position range at the time of index creation, it is attempted to speed up the process compared to decompressing the entire record and then performing matching. The steps will be sequentially described below.

【0035】step1:まず、辞書データをファイルから
バッファに1レコード読む。次に、読んだ辞書1レコー
ドを圧縮し、ファイルに書き出す(圧縮辞書)とともに
書き出し先頭位置(圧縮辞書行位置)を記憶する。次
に、同上の辞書1レコードの索引作成データ範囲文字限
定指定表の限定部分に該当する全ての文字を順次取り出
し、文字コードと圧縮辞書行位置を対にしてファイルに
書き出す(索引元データ1)。step2 :次に、索引元データ1を文字コード順、圧縮辞
書行位置順にソートする(索引元データ2)。step3 :索引元データ2を順次読み出し、圧縮辞書行位
置のみを索引2に書き出すとともに、文字部のコードの
変わり目で文字と索引2の行番号を対にして、索引1に
書き出す。
Step 1 : First, one record of dictionary data is read from the file into the buffer. Next, one record of the read dictionary is compressed and is written in the file (compression dictionary), and the write start position (compression dictionary line position) is stored. Next, all the characters corresponding to the restricted part of the index creation data range character restriction specification table for the dictionary 1 record of the same as above are sequentially taken out, and the character code and the compression dictionary line position are paired and written to the file (index source data 1). . step2 : Next, the index source data 1 is sorted in the order of the character code and the compression dictionary line position (index source data 2). step3 : The index source data 2 is sequentially read out, and only the compression dictionary line position is written to the index 2, and at the transition of the code of the character part, the character and the line number of the index 2 are paired and written to the index 1.

【0036】図14は、索引作成時に辞書上のキーとな
り得る部分を区切り記号による範囲で限定し、検索キー
比較の際に圧縮辞書行の解凍を限定する検索の処理の概
略フローチャートを示す図である。以下、各ステップに
従って順次説明する。step1 :まず、索引キー“あい”を解析し、索引を検索
する文字を1文字キー(あ)としてセットする。step2 :次に、索引1を読み、文字欄を先頭から順次サ
ーチし、1文字キー(あ)と一致するものを探す。一致し
た行の索引2の行開始位置を記憶する。次の行の索引2
の(行開始位置−1)を索引2の探索終了位置として記
憶する。step3 :次に、記憶した索引2の行開始位置から探索終
了位置まで、索引2の圧縮辞書行位置を順次読み出し、
その行番号のレコードデータを圧縮辞書本体のファイル
からバッファに読み込み、索引作成データ範囲区切り記
号限定指定表の限定部分まで解凍し、解凍した文字列と
検索キーとを照合し、合致する場合、残りの部分を解凍
し、レコードを表示またはファイルに書き出す。
FIG. 14 is a diagram showing a schematic flow chart of a search process in which a part that can be a key on the dictionary at the time of index creation is limited within a range of delimiters and decompression of a compressed dictionary line is limited at the time of comparing search keys. is there. The steps will be sequentially described below. step1 : First, the index key "ai" is analyzed, and the character for searching the index is set as a one-character key (a). step2 : Next, the index 1 is read, the character field is sequentially searched from the beginning, and the one matching the one character key (A) is searched. The row start position of index 2 of the matched row is stored. Next row index 2
(Row start position -1) is stored as the search end position of index 2. step3 : Next, the compression dictionary line positions of index 2 are sequentially read from the stored line start position of index 2 to the search end position,
The record data of that line number is read from the file of the compression dictionary body to the buffer, decompressed to the limited part of the index creation data range delimiter limited specification table, the decompressed character string and the search key are collated, and if they match, the rest Unzip the part and display the record or write it to a file.

【0037】図15および図16は、索引作成時に参照
する索引作成データ範囲区切り記号限定表の例を示す図
である。すなわち、図15は、辞書中の表記部分が開始
区切りと終了区切りで囲まれている例を示す図で、図1
6は、辞書の見出しの読みが表記の開始区切りや漢字空
白で終わっている例を示す図である。
FIGS. 15 and 16 are diagrams showing examples of index creation data range delimiter limitation tables that are referred to when creating an index. That is, FIG. 15 is a diagram showing an example in which the notation part in the dictionary is surrounded by a start delimiter and an end delimiter.
FIG. 6 is a diagram showing an example in which the reading of the heading of the dictionary ends with the notation start delimiter or the Chinese character blank.

【0038】図17は、その索引作成の処理の概略フロ
ーチャートを示す図である。この例も検索照合時に解凍
する範囲を索引作成時の文字範囲に限定することによっ
て、レコード全体を解凍してから照合するより処理の高
速化をはかろうとする。以下、各ステップに従って順次
説明する。step1 :まず、辞書データをファイルからバアッファに
1レコード読む。次に、読んだ辞書1レコードを圧縮
し、ファイルに書き出す(圧縮辞書)とともに書き出し
先頭位置(圧縮辞書行位置)を記憶する。次に、同上の
辞書1レコードの索引作成データ範囲区切り記号限定指
定表の限定部分に該当する全ての文字を順次取り出し、
文字コードと圧縮辞書行位置を対にしてファイルに書き
出す(索引元データ1)。step2 :次に、索引元データ1を文字コード順、圧縮辞
書行位置順にソートする(索引元データ2)。step3 :索引元データ2を順次読み出し、圧縮辞書行位
置のみを索引2に書き出すとともに、文字部のコードの
変わり目で文字と索引2の行番号を対にして、索引1に
書き出す。
FIG. 17 is a diagram showing a schematic flow chart of the index creating process. In this example as well, the range to be decompressed at the time of search matching is limited to the character range at the time of index creation, so that the processing speed can be made higher than that of decompressing the entire record and then performing the matching. The steps will be sequentially described below. step1 : First, read one record of dictionary data from a file to Baafa. Next, one record of the read dictionary is compressed and is written in the file (compression dictionary), and the write start position (compression dictionary line position) is stored. Next, sequentially retrieve all the characters corresponding to the limited part of the index creation data range delimiter limited specification table of the dictionary 1 record of the above,
The character code and the compression dictionary line position are paired and written to the file (index source data 1). step2 : Next, the index source data 1 is sorted in the order of the character code and the compression dictionary line position (index source data 2). step3 : The index source data 2 is sequentially read out, and only the compression dictionary line position is written to the index 2, and at the transition of the code of the character part, the character and the line number of the index 2 are paired and written to the index 1.

【0039】以上は、辞書を例に索引の作成と検索方法
について述べたが、これを辞書以外の類似の文書や文字
列データに摘要することもできる。次に、辞書データの
圧縮方法について説明する。通常行われている方法は次
のようなものである。 (1)例えば、図2に示した辞書の例のようなデータで
全てが2byte漢字コードで記載されているデータの場合
は、1文字は16bitで記述されているのが一般的で、
かつJISコードに類するコードの場合は、2byteコード
の各バイトの最上位bitは省略でき、1文字14bitで表
現できる。また、漢字コードの範囲は限定されているの
で、その範囲を連続した範囲に写像すれば、1コードの
表現に必要なbit数はさらに減少できる。
In the above, a method of creating an index and a search method has been described by using a dictionary as an example, but this can be applied to similar documents or character string data other than the dictionary. Next, a method of compressing dictionary data will be described. The usual method is as follows. (1) For example, in the case of data such as the example of the dictionary shown in FIG. 2 in which all are written in 2-byte Kanji code, one character is generally described in 16 bits,
In addition, in the case of a code similar to the JIS code, the most significant bit of each byte of the 2-byte code can be omitted and each character can be represented by 14 bits. Moreover, since the range of the Kanji code is limited, if the range is mapped to a continuous range, the number of bits required for expressing one code can be further reduced.

【0040】この方法の利点は、処理が簡単で圧縮およ
び解凍の処理が速いこと、また、圧縮したコードが1文
字に1対1に対応しているので、図7で説明した検索キ
ーを圧縮して圧縮辞書のレコードと比較するのに都合が
よい。また、図13で説明した索引作成データ範囲を文
字位置で限定した部分を解凍するのに解凍範囲があらか
じめ分かっているため、処理が簡単になる。なお、圧縮
レコードの区切りを表現する方法としては、一般に圧縮
レコードの終わりにNULLコードが使用される。
The advantage of this method is that the process is simple and the process of compression and decompression is fast, and that the compressed code corresponds to each character on a one-to-one basis. Therefore, the search key described in FIG. 7 is compressed. Then, it is convenient to compare with the record of the compression dictionary. Further, since the decompression range is known in advance for decompressing the part where the index creation data range described in FIG. 13 is limited by the character position, the process is simplified. A null code is generally used at the end of the compressed record as a method of expressing the delimiter of the compressed record.

【0041】(2)さらに、圧縮率を高める方法として
は、同じ文字の連続を簡単なコードで表現する方法や、
データ中に出現するコードパターンを登録しつつ、その
高頻度パターンを短いコードで表現する方法などがあ
る。また、一般的によく使われる文字に短いコードを割
り当てる方法がある。
(2) Further, as a method of increasing the compression rate, a method of expressing a sequence of the same characters by a simple code,
There is a method of registering the code pattern appearing in the data and expressing the high frequency pattern with a short code. There is also a method of assigning short codes to commonly used characters.

【0042】図18は、本発明による辞書検索装置の他
の実施例を説明するための構成図で、図中、16はKK
C辞書検索制御部、17はKKC辞書本体で、その他、
図1と同じ作用をする部分は同一の符号を付してある。
図1に示す構成と異なる点は、入力/編集制御部6にか
な漢字変換用(KKC)辞書が付随している点である。
FIG. 18 is a block diagram for explaining another embodiment of the dictionary retrieval device according to the present invention, in which 16 is KK.
C dictionary search control unit, 17 is the KKC dictionary body,
Portions having the same functions as those in FIG. 1 are designated by the same reference numerals.
The difference from the configuration shown in FIG. 1 is that the input / edit control unit 6 is provided with a kana-kanji conversion (KKC) dictionary.

【0043】図19(a)〜(c)は、本発明の辞書デ
ータのレコード単位の圧縮方法を説明するための図であ
る。図19(a)は、圧縮対象の辞書レコードの例、図
19(b)は、かな漢字変換用辞書の例、図19(c)
は、圧縮対象の辞書レコードの「読み」部分をかな漢字
変換用辞書の「読み」部分に対応させ、そのレコード位
置を読み情報として記憶するようにすることを説明する
対応表の例を各々示す。
FIGS. 19 (a) to 19 (c) are views for explaining the method of compressing dictionary data in record units according to the present invention. 19 (a) is an example of a dictionary record to be compressed, FIG. 19 (b) is an example of a kana-kanji conversion dictionary, and FIG. 19 (c).
Shows respective examples of correspondence tables for explaining that the "reading" portion of the dictionary record to be compressed is made to correspond to the "reading" portion of the kana-kanji conversion dictionary and the record position is stored as reading information.

【0044】図19(c)で、例えば圧縮対象辞書のレ
コード番号「20」の読み「ああ」は、かな漢字変換用
辞書のレコード番号「12」の読み「ああ」と一致する
ので、圧縮データはかな漢字変換用辞書のレコード位置
であるレコード番号「12」を記憶すればよい。また、
この例では、圧縮対象辞書のレコード番号「27」の読
み「あい」と、レコード番号「29」の読み「あい」
は、かな漢字変換用辞書のレコード番号「20」を記憶
すればよい。
In FIG. 19C, for example, the reading "aa" of the record number "20" in the compression target dictionary matches the reading "aa" of the record number "12" in the kana-kanji conversion dictionary, so the compressed data is The record number “12”, which is the record position of the kana-kanji conversion dictionary, may be stored. Also,
In this example, the reading “ai” of the record number “27” and the reading “ai” of the record number “29” in the compression target dictionary.
May store the record number “20” of the kana-kanji conversion dictionary.

【0045】図20は、図18に示した方法による圧縮
対象辞書の読みの圧縮データを作成する処理の概略フロ
ーチャートを示す図である。以下、各ステップに従って
順次説明する。step1 :まず、圧縮対象辞書ファイルからバッファに1
レコード読む。step2 :次に、読んだレコードの「読み」をキーにかな
漢字変換用辞書の「読み」を検索する。step3 :読みがかな漢字変換用辞書の読みと一致した初
めのレコード番号を、読みの圧縮データとして記憶す
る。step4 :圧縮対象辞書ファイルの「読み」部分を前記読
みの圧縮データと置き換えファイルに書き出す。step5 :以上の操作を圧縮対象辞書の全レコードについ
て繰り返す。
FIG. 20 is a diagram showing a schematic flow chart of a process for creating compressed data for reading the dictionary to be compressed by the method shown in FIG. The steps will be sequentially described below. step1 : First, from the dictionary file to be compressed into the buffer 1
Read the record. step2 : Next, search for "yomi" in the kana-kanji conversion dictionary using the "yomi" of the read record as a key. step3 : The first record number that matches the reading in the Kana-Kanji conversion dictionary is stored as compressed reading data. step4 : The "reading" portion of the compression target dictionary file is written in the replacement file with the compressed data of the reading. step5 : The above operation is repeated for all records in the compression target dictionary.

【0046】図19の例では、説明を簡単にするため、
システムにあるかな漢字変換辞書が圧縮対象辞書と同じ
ようなレコード構成で示したが、通常、実際にシステム
にあるかな漢字変換用辞書は、この例のような簡単な構
造ではなく、検索の高速化あるいは辞書容量の圧縮のた
め、それ自体で読みに索引を設けたり、辞書本体の読み
や表記や品詞が圧縮されている場合がほとんどである。
この場合は、図19の「かな漢字変換用辞書読み位置」
の内容は、単にかな漢字変換用辞書のレコード番号では
なく、それに相当するかな漢字変換用辞書本体の該当す
る読み位置を記憶する。
In the example of FIG. 19, in order to simplify the explanation,
Although the Kana-Kanji conversion dictionary in the system is shown with the same record structure as the compression target dictionary, the Kana-Kanji conversion dictionary actually in the system does not have a simple structure like this example, but rather a faster search or In most cases, the dictionary itself is provided with an index for reading because of the compression of the dictionary capacity, and the reading, notation and part of speech of the dictionary itself are compressed.
In this case, “Kana-Kanji conversion dictionary reading position” in FIG.
The content of is stored not only in the record number of the Kana-Kanji conversion dictionary but in the corresponding reading position of the Kana-Kanji conversion dictionary body corresponding to it.

【0047】この場合、かな漢字変換用辞書の圧縮前の
データを元に、そのレコード位置または読み位置を記憶
するか、または圧縮済のかな漢字変換用辞書のその読み
該当位置を記憶する。圧縮済のかな漢字変換用辞書のそ
の読み位置情報は、例えば、読みの索引に読みの先頭2
文字が収納され、残りの読みが本体に収納されているよ
うな検索構造の辞書の場合、読みの先頭2文字の索引上
の位置と本体の残りの読み位置を合わせてその読み位置
情報とする。
In this case, the record position or reading position is stored based on the uncompressed data of the kana-kanji conversion dictionary, or the corresponding reading position of the compressed kana-kanji conversion dictionary is stored. The reading position information of the compressed kana-kanji conversion dictionary is, for example, the first two readings in the reading index.
In the case of a search structure dictionary in which characters are stored and the remaining readings are stored in the main body, the reading position information is obtained by combining the index position of the first two characters of the reading and the remaining reading position of the main body. .

【0048】図21は、前述の場合の圧縮対象辞書の読
みの圧縮データを作成する処理の概要フローチャートを
示す図である。以下、各ステップに従って順次説明す
る。step1 :まず、圧縮対象辞書ファイルからバッファに1
レコード読む。step2 :次に、読んだレコードの「読み」をキーにかな
漢字変換用辞書の「読み」を検索する。step3 :読みがかな漢字変換用辞書の読みと一致した先
頭2文字の索引上の位置と本体の残りの読みの位置を圧
縮データとして記憶する。step4 :圧縮対象辞書ファイルの「読み」部分を前記読
みの圧縮データと置き換え、ファイルに書き出す。step5 :以上の操作を圧縮対象辞書の全レコードについ
て繰り返す。
FIG. 21 is a diagram showing a schematic flow chart of the processing for creating compressed data for reading the dictionary to be compressed in the above case. The steps will be sequentially described below. step1 : First, from the dictionary file to be compressed into the buffer 1
Read the record. step2 : Next, search for "yomi" in the kana-kanji conversion dictionary using the "yomi" of the read record as a key. step3 : The position on the index of the first two characters that matches the reading of the Kana-Kanji conversion dictionary and the position of the remaining reading of the main body are stored as compressed data. step4 : Replace the "reading" part of the compression target dictionary file with the compressed data of the reading and write it out to the file. step5 : The above operation is repeated for all records in the compression target dictionary.

【0049】また、圧縮対象辞書の圧縮データから読み
を復元する場合は、かな漢字変換用辞書の読み位置デー
タからかな漢字変換用の辞書をひき、そこに登録されて
いる読みデータを取得する。図22は、前述の場合の圧
縮データから読みを復元する処理の概要フローチャート
を示す図である。以下、各ステップに従って順次説明す
る。step1 :まず、検索して取得した辞書の圧縮レコードを
バッファにセットする。step2 :次に、圧縮レコード収納バッファを走査し、先
頭から順次解凍、解凍データを辞書レコードバッファに
順次セットする。次に、読み部分の解凍に入ったら、圧
縮コードをかな漢字変換用辞書の読み位置情報と解釈
し、読み位置情報に従ってかな漢字変換用辞書データか
ら読みデータを取得し、前記辞書レコードバッファにセ
ットする。次に、読み部分以外のデータは、他の解凍ア
ルゴリズムに従って前記辞書レコードバッファにセット
する。step3 :解凍した辞書レコードを表示するか、または次
の処理に渡す。
When the reading is restored from the compressed data of the compression target dictionary, the kana-kanji conversion dictionary is drawn from the reading position data of the kana-kanji conversion dictionary, and the reading data registered therein is acquired. FIG. 22 is a diagram showing a schematic flowchart of a process for restoring the reading from the compressed data in the above case. The steps will be sequentially described below. step1 : First, the compressed record of the dictionary obtained by searching is set in the buffer. step2 : Next, the compressed record storage buffer is scanned and the decompressed data is sequentially decompressed from the beginning, and decompressed data is sequentially set in the dictionary record buffer. Next, when the reading portion is decompressed, the compression code is interpreted as the reading position information of the kana-kanji conversion dictionary, the reading data is acquired from the kana-kanji conversion dictionary data according to the reading position information, and the reading data is set in the dictionary record buffer. Next, the data other than the read portion is set in the dictionary record buffer according to another decompression algorithm. step3 : Display the decompressed dictionary record or pass it to the next process.

【0050】上記例のような読みの索引に読みの先頭2
文字が収納され、残りの読みが本体に収納されているよ
うな検索構造を持つ圧縮された辞書の場合の圧縮対象辞
書の読みの復元の場合は、記憶されたその読みの先頭2
文字の索引上の位置と本体の残りの読み位置を合成され
たその読み位置情報からそれぞれ取りだし、対応位置の
それぞれ読み文字列を取りだし、それらを合成する。
The first two readings are added to the reading index as in the above example.
In the case of a compressed dictionary having a retrieval structure in which characters are stored and the rest of the readings are stored in the main body, in the case of decompressing the reading of the dictionary to be compressed, the first 2 of the stored readings are stored.
The position on the index of the character and the remaining reading position of the main body are taken out from the combined reading position information, the reading character strings at the corresponding positions are taken out, and they are combined.

【0051】図23は、前述の場合の圧縮対象辞書の圧
縮データから読みを復元する処理の概略フローチャート
を示す図である。以下、各ステップに従って順次説明す
る。 step1 :まず、検索して取得した辞書の圧縮レコードを
バッファにセットする。step2 :次に、圧縮レコード収納バッファを走査し、先
頭から順次解凍、解凍データを辞書レコードバッファに
順次セットする。次に、読み部分の解凍に入ったら、圧
縮コードをかな漢字変換用辞書の読み位置情報と解釈
し、読み位置情報に従ってかな漢字変換用辞書データか
ら読みデータを取得し、前記辞書レコードバッファにセ
ットする。次に、読み位置情報の一部から読みの索引上
の位置を取得し、読みの先頭2文字を得る。次に、読み
位置情報の残りから本体の残りの読み位置を取得し、読
みの残りの文字を得る。次に、前記読みの先頭2文字と
残りの文字を合成し、読みデータとする。次に、読み部
分以外のデータは、他の解凍アルゴリズムに従って上記
辞書レコードバッファにセットする。step3 :解凍した辞書レコードを表示するか、または次
の処理に渡す。
FIG. 23 shows the pressure of the compression target dictionary in the above case.
Schematic flowchart of the process to restore readings from compressed data
FIG. The steps are described below in order.
It step1 : First, the compressed record of the dictionary obtained by searching
Set in buffer.step2 : Next, scan the compressed record storage buffer and
Decompress sequentially from the beginning, decompressed data into dictionary record buffer
Set sequentially. Next, when you start thawing the reading part, press
Interpretation of reduced code with reading position information of Kana-Kanji conversion dictionary
Then, according to the reading position information, is it Kana-Kanji conversion dictionary data?
From the dictionary record buffer.
To put. Next, read a part of the reading position information on the reading index.
To get the first 2 characters of the reading. Then read
Acquire the remaining reading position of the main unit from the remaining position information and read it.
Get the rest of the letters. Next, with the first two characters of the reading
The remaining characters are combined and used as reading data. Next, the reading section
For data other than minutes, follow the above decompression algorithm.
Set in dictionary record buffer.step3 : View the unzipped dictionary record, or
To process.

【0052】図24(a)〜(c)は、本発明の辞書デ
ータのレコード単位の圧縮方法の他の実施例を説明する
ための図で、図24(a)は、圧縮対象の辞書レコード
の例、図24(b)は、かな漢字変換用辞書の例、図2
4(c)は、圧縮対象の辞書レコードの「表記」部分
を、かな漢字変換用辞書の「表記」部分に対応させ、そ
のレコード位置を読み情報として記憶するようにするこ
とを説明する対応表の例を各々示す。
FIGS. 24 (a) to 24 (c) are views for explaining another embodiment of the method of compressing dictionary data in record units according to the present invention. FIG. 24 (a) shows the dictionary record to be compressed. FIG. 24 (b) is an example of a kana-kanji conversion dictionary, FIG.
4 (c) is a correspondence table explaining that the "notation" part of the dictionary record to be compressed is made to correspond to the "notation" part of the kana-kanji conversion dictionary, and that record position is stored as reading information. Examples are shown below.

【0053】図24(c)で、例えば、圧縮対象辞書の
レコード番号「27」の表記「愛」は、かな漢字変換用
辞書のレコード番号「20」の表記「愛」と一致するの
で、圧縮データは、かな漢字変換用辞書のレコード位置
であるレコード番号「20」を記憶すればよい。また、
圧縮対象辞書のレコード番号「29」の表記「相」は、
かな漢字変換用辞書のレコード番号「22」を記憶すれ
ばよい。
In FIG. 24C, for example, the notation “love” of the record number “27” in the compression target dictionary matches the notation “love” of the record number “20” in the kana-kanji conversion dictionary, so that the compressed data is used. Should store the record number "20" which is the record position of the kana-kanji conversion dictionary. Also,
The notation “phase” of the record number “29” in the compression target dictionary is
The record number “22” of the kana-kanji conversion dictionary may be stored.

【0054】図25は、図24に示した方法による圧縮
対象辞書の表記の圧縮データを作成する処理の概略フロ
ーチャートを示す図である。以下、各ステップに従って
順次説明する。step1 :まず、圧縮対象辞書ファイルからバッファに1
レコード読む。step2 :次に、読んだレコードの「表記」をキーにかな
漢字変換用辞書の「表記」を検索する。step3 :「表記」がかな漢字変換用辞書の「表記」と一
致した初めのレコード番号を表記の圧縮データとして記
憶する。step4 :圧縮対象辞書ファイルの「表記」部分を前記表
記の圧縮データを置き換え、ファイルに書き出す。step5 :以上の操作を圧縮対象辞書の全レコードについ
て繰り返す。
FIG. 25 is a diagram showing a schematic flow chart of the process for creating the compressed data of the notation of the compression target dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, from the dictionary file to be compressed into the buffer 1
Read the record. step2 : Next, search for "notation" in the kana-kanji conversion dictionary using the "notation" of the read record as a key. step3 : The first record number where the "notation" matches the "notation" of the kana-kanji conversion dictionary is stored as compressed data of the notation. step4 : The "notation" part of the compression target dictionary file is replaced with the compressed data of the notation, and the file is written out. step5 : The above operation is repeated for all records in the compression target dictionary.

【0055】図26は、図24に示した方法による圧縮
対象辞書の圧縮データから表記を復元する処理の概略フ
ローチャートを示す図である。以下、各ステップに従っ
て順次説明する。step1 :まず、検索して取得した辞書の圧縮レコードを
バッファにセットする。step2 :次に、圧縮レコード収納バッファを走査し、先
頭から順次解凍、解凍データを辞書レコードバッファに
順次セットする。次に、表記部分の解凍に入ったら圧縮
コードをかな漢字変換用辞書の表記位置情報と解釈し、
表記位置情報に従ってかな漢字変換用辞書データから表
記データを取得し、前記辞書レコードバッファにセット
する。次に、表記部分以外のデータは、他の解凍アルゴ
リズムに従って上記辞書レコードバッファにセットす
る。step3 :解凍した辞書レコードを表示するか、または次
の処理に渡す。
FIG. 26 is a diagram showing a schematic flow chart of the process for restoring the notation from the compressed data of the compression target dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, the compressed record of the dictionary obtained by searching is set in the buffer. step2 : Next, the compressed record storage buffer is scanned and the decompressed data is sequentially decompressed from the beginning, and decompressed data is sequentially set in the dictionary record buffer. Next, when decompressing the notation part, interpret the compression code as the notation position information of the kana-kanji conversion dictionary,
The notation data is acquired from the kana-kanji conversion dictionary data according to the notation position information and set in the dictionary record buffer. Next, the data other than the notation part is set in the dictionary record buffer according to another decompression algorithm. step3 : Display the decompressed dictionary record or pass it to the next process.

【0056】図27(a)〜(c)は、本発明における
辞書データのレコード単位の圧縮方法の更に他の実施例
を説明するための図で、図27(a)は、圧縮対象の辞
書レコードの例、図27(b)は、かな漢字変換用辞書
の例、図27(c)は、圧縮対象の辞書レコードの「語
釈」の一部をかな漢字変換用辞書の「表記」部分に対応
させ、そのレコード位置を読み情報として記憶するよう
にすることを説明する対応表の例を各々示す。
FIGS. 27 (a) to 27 (c) are diagrams for explaining still another embodiment of the record-unit compression method for dictionary data according to the present invention. FIG. 27 (a) shows the dictionary to be compressed. An example of a record, FIG. 27 (b) is an example of a kana-kanji conversion dictionary, and FIG. 27 (c) is a part of the "word translation" of the dictionary record to be compressed is made to correspond to the "writing" part of the kana-kanji conversion dictionary. An example of a correspondence table for explaining that the record position is stored as reading information is shown.

【0057】図27(c)で、例えば、圧縮対象辞書の
レコード番号「20」の語釈の一部「驚き」は、かな漢
字変換用辞書のレコード番号「7410」の表記「驚
き」と一致するので、圧縮データは、かな漢字変換用辞
書のレコード位置であるレコード番号「7410」を記
憶すればよい。また、同語釈の一部「悲しみ」は、かな
漢字変換用辞書のレコード番号「10525」を記憶す
ればよい。
In FIG. 27C, for example, a part of the word "surprise" of the record number "20" in the compression target dictionary matches the expression "surprise" of the record number "7410" in the kana-kanji conversion dictionary. As the compressed data, the record number “7410”, which is the record position of the kana-kanji conversion dictionary, may be stored. For the part of the same word, "sadness", the record number "10525" of the kana-kanji conversion dictionary may be stored.

【0058】図28は、図27に示した方法による圧縮
対象辞書の語釈部分の圧縮データを作成する処理の概略
フローチャートである。以下、各ステップに従って順次
説明する。step1 :まず、圧縮対象辞書ファイルからバッファに1
レコード読む。step2 :次に、読んだレコードの「語釈」の単語部分を
キーにかな漢字変換用辞書の表記を検索する。step3 :「表記」がかな漢字変換用辞書の表記と一致し
た初めのレコード番号を語釈の単語部分の圧縮データと
して記憶する。step4 :圧縮対象辞書ファイルの「語釈」の単語部分を
前記単語部分の圧縮データと置き換え、ファイルに書き
出す。step5 :以上の操作を圧縮対象辞書の全レコードについ
て繰り返す。
FIG. 28 is a schematic flow chart of the processing for creating the compressed data of the word part of the dictionary to be compressed by the method shown in FIG. The steps will be sequentially described below. step1 : First, from the dictionary file to be compressed into the buffer 1
Read the record. step2 : Next, search the kana-kanji conversion dictionary notation using the word portion of the word "reading" of the read record as a key. step3 : The first record number in which the "notation" matches the notation in the kana-kanji conversion dictionary is stored as compressed data of the word portion of the lexical. step4 : Replace the word portion of "word word" in the compression target dictionary file with the compressed data of the word portion, and write it to the file. step5 : The above operation is repeated for all records in the compression target dictionary.

【0059】図29は、図27に示した圧縮対象辞書の
圧縮データから語釈を復元する処理の概略フローチャー
トを示す図である。以下、各ステップに従って順次説明
する。step1 :まず、検索して取得した辞書の圧縮レコードを
バッファにセットする。step2 :次に、圧縮レコード収納バッファを走査し、先
頭から順次解凍、解凍データを辞書レコードバッファに
順次セットする。次に、語釈部分の解凍に入ったら、単
語対応部分の圧縮コードをかな漢字変換用辞書の表記位
置情報と解釈し、表記位置情報に従ってかな漢字変換用
辞書データから表記データを取得し、前記辞書レコード
バッファにセットする。次に、語釈の単語対応部分以外
のデータは、他の解凍アルゴリズムに従って前記辞書レ
コードバッファにセットする。step3 :解凍した辞書レコードを表示するか、または次
の処理に渡す。
FIG. 29 is a diagram showing a schematic flow chart of a process of restoring a word translation from the compressed data of the compression object dictionary shown in FIG. The steps will be sequentially described below. step1 : First, the compressed record of the dictionary obtained by searching is set in the buffer. step2 : Next, the compressed record storage buffer is scanned and the decompressed data is sequentially decompressed from the beginning, and decompressed data is sequentially set in the dictionary record buffer. Next, when decompressing the lexical portion, interpret the compression code of the word corresponding portion as the notation position information of the kana-kanji conversion dictionary, obtain the notation data from the kana-kanji conversion dictionary data according to the notation position information, and use the dictionary record buffer. Set to. Next, the data other than the word corresponding part of the word translation is set in the dictionary record buffer according to another decompression algorithm. step3 : Display the decompressed dictionary record or pass it to the next process.

【0060】図30(a)〜(c)は、本発明の辞書デ
ータのレコード単位の圧縮方法の更に他の実施例を説明
するための図で、図30(a)は、圧縮対象の辞書レコ
ードの例、図30(b)は、かな漢字変換用辞書の例、
図30(c)は、圧縮対象の辞書レコードの「読み」部
分を、かな漢字変換用辞書の「読み」部分に対応させ、
そのレコード位置を読み情報として記憶するようにする
ことを説明する対応表の例を各々示す。
FIGS. 30 (a) to 30 (c) are views for explaining still another embodiment of the record unit compression method for dictionary data of the present invention. FIG. 30 (a) shows the dictionary to be compressed. An example of a record, FIG. 30B is an example of a kana-kanji conversion dictionary,
In FIG. 30C, the "reading" portion of the dictionary record to be compressed is made to correspond to the "reading" portion of the kana-kanji conversion dictionary,
An example of a correspondence table for explaining that the record position is stored as reading information is shown below.

【0061】図30(c)で、例えば圧縮対象辞書のレ
コード番号「20」の読み「ああ」は、かな漢字変換用
辞書のレコード番号「12」の読み「ああ」と一致する
ので、圧縮データはかな漢字変換用辞書のレコード位置
であるレコード番号「12」を記憶する。一方、この例
では、圧縮対象辞書のレコード番号「1」の読み「あ」
は短いので、かな漢字変換用辞書のレコード位置は記憶
しない。
In FIG. 30C, for example, the reading "aa" of the record number "20" in the compression target dictionary matches the reading "aa" of the record number "12" in the kana-kanji conversion dictionary, so the compressed data is The record number “12”, which is the record position of the kana-kanji conversion dictionary, is stored. On the other hand, in this example, the reading “A” of the record number “1” of the compression target dictionary
Is short, the record position of the Kana-Kanji conversion dictionary is not stored.

【0062】図31は、図30に示した方法による圧縮
対象辞書の読み圧縮データを作成する処理の概略フロー
チャートを示す図である。以下、各ステップに従って順
次説明する。step1 :まず、圧縮対象辞書ファイルからバッファに1
レコード読む。step2 :次に、読んだレコードの「読み」は、規定の長
さ以上かどうかを判断し、Noであれば、後述するstep
6へ行く。step3 :前記step2において、Yesであれば、読んだレ
コードの「読み」をキーにかな漢字変換用辞書の「読
み」を検索する。step4 :読みがかな漢字変換用辞書の読みと一致した初
めのレコード番号を読みの圧縮データとして記憶する。step5 :圧縮対象辞書ファイルの「読み」部分を前記読
みの圧縮データと置き換える。step6 :圧縮データレコードをファイルに書き出す。step7 :以上の操作を圧縮対象辞書の全レコードについ
て繰り返す。
FIG. 31 is a diagram showing a schematic flow chart of the processing for creating the read compressed data of the compression object dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, from the dictionary file to be compressed into the buffer 1
Read the record. step2 : Next, it is judged whether the "reading" of the read record is equal to or longer than the specified length, and if No, step described later
Go to 6. Step3 : If Yes in above Step2 , the "reading" of the kana-kanji conversion dictionary is searched using the "reading" of the read record as a key. step4 : The first record number that matches the reading of the reading kana-kanji conversion dictionary is stored as compressed reading data. step5 : Replace the "reading" portion of the compression target dictionary file with the compressed data of the reading. step6 : Write compressed data record to file. step7 : The above operation is repeated for all records of the compression target dictionary.

【0063】図32は、図30に示した方法による圧縮
対象辞書の圧縮データから読みを復元する処理の概略フ
ローチャートを示す図である。以下、各ステップに従っ
て順次説明する。step1 :まず、検索して取得した辞書の圧縮レコードを
バッファにセットする。step2 :次に、圧縮レコード収納バッファを走査し、先
頭から順次解凍、解凍データを辞書レコードバッファに
順次セットする。次に、読み部分の解凍に入り、その圧
縮コードが規定値以上の長さの読みのデータと解釈でき
るときは、その圧縮コードをかな漢字変換用辞書の読み
位置情報と解釈し、読み位置情報に従ってかな漢字変換
用辞書データから読みデータを取得し、前記辞書レコー
ドバッファにセットする。次に、読み部分以外のデータ
あるいは読み部分でも規定値未満の長さの読みデータと
解釈できる場合は、他の解凍アルゴリズムに従って前記
辞書レコードバッファにセットする。step3 :解凍した辞書のレコードを表示するか、または
次の処理に渡す。
FIG. 32 is a diagram showing a schematic flowchart of a process for restoring the reading from the compressed data of the compression target dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, the compressed record of the dictionary obtained by searching is set in the buffer. step2 : Next, the compressed record storage buffer is scanned and the decompressed data is sequentially decompressed from the beginning, and decompressed data is sequentially set in the dictionary record buffer. Next, enter the decompression of the reading part, and if the compression code can be interpreted as reading data with a length greater than the specified value, interpret the compression code as the reading position information of the Kana-Kanji conversion dictionary and follow the reading position information. Reading data is acquired from the kana-kanji conversion dictionary data and set in the dictionary record buffer. Next, if the data other than the reading portion or the reading portion can be interpreted as reading data having a length less than the specified value, it is set in the dictionary record buffer according to another decompression algorithm. step3 : Display the decompressed dictionary record or pass it to the next process.

【0064】図33(a)〜(c)は、本発明の辞書デ
ータのレコード単位の圧縮方法の更に他の実施例を説明
するための図で、図33(a)は、圧縮対象の辞書レコ
ードの例、図33(b)は、かな漢字変換用辞書の例、
図33(c)は、圧縮対象の辞書レコードの「表記」部
分を、かな漢字変換用辞書の「表記」部分に対応させ、
そのレコード位置を読み情報として記憶するようにする
ことを説明する対応表の例を各々示す。
FIGS. 33 (a) to 33 (c) are views for explaining still another embodiment of the record data compression method for dictionary data according to the present invention. FIG. 33 (a) shows the dictionary to be compressed. An example of a record, FIG. 33 (b) is an example of a kana-kanji conversion dictionary,
In FIG. 33C, the “notation” part of the dictionary record to be compressed is made to correspond to the “notation” part of the kana-kanji conversion dictionary,
An example of a correspondence table for explaining that the record position is stored as reading information is shown below.

【0065】図33(c)で、例えば、圧縮対象辞書の
レコード番号「197」の表記「愛情」は、かな漢字変
換用辞書のレコード番号「103」の表記「愛情」と一
致するので、圧縮データはかな漢字変換用辞書のレコー
ド位置であるレコード番号「103」を記憶する。一
方、この例では、圧縮対象辞書のレコード番号「27」
の表記「愛」は短いので、かな漢字変換用辞書のレコー
ド位置は記憶しない。
In FIG. 33 (c), for example, the notation "love" of the record number "197" in the compression target dictionary matches the notation "love" of the record number "103" in the kana-kanji conversion dictionary, so the compressed data The record number “103”, which is the record position of the Hana-Kana character conversion dictionary, is stored. On the other hand, in this example, the record number “27” of the compression target dictionary
Since the notation "love" is short, the record position in the kana-kanji conversion dictionary is not stored.

【0066】図34は、図33に示した方法による圧縮
対象辞書の表記の圧縮データを作成する処理の概略フロ
ーチャートを示す図である。以下、各ステップに従って
順次説明する。step1 :まず、圧縮対象辞書ファイルからバッファに1
レコード読む。step2 :次に、読んだレコードの「表記」は規定の長さ
以上かどうかを判断し、Noであれば、後述するstep6
へ行く。step3 :前記step2において、Yesであれば、読んだレ
コードの「表記」をキーにかな漢字変換用辞書の「表
記」を検索する。step4 :表記がかな漢字変換用辞書の表記と一致した初
めのレコード番号を表記の圧縮データとして記憶する。step5 :圧縮対象辞書ファイルの「表記」部分を前記表
記の圧縮データと置き換える。step6 :圧縮データレコードをファイルに書き出す。step7 :以上の操作を圧縮対象辞書の全レコードについ
て繰り返す。
FIG. 34 is a diagram showing a schematic flow chart of the process for creating the compressed data of the notation of the compression target dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, from the dictionary file to be compressed into the buffer 1
Read the record. step2 : Next, it is judged whether the "notation" of the read record is equal to or longer than the specified length, and if No, step6 described later.
Go to Step3 : If Yes in above Step2 , the "notation" of the kana-kanji conversion dictionary is searched using the "notation" of the read record as a key. step4 : The first record number that matches the notation in the Kana-Kanji conversion dictionary is stored as compressed data for the notation. step5 : Replace the "notation" part of the compression target dictionary file with the compressed data of the above notation. step6 : Write compressed data record to file. step7 : The above operation is repeated for all records of the compression target dictionary.

【0067】図35は、図33に示した方法による圧縮
対象辞書の圧縮データから表記を復元する処理の概略フ
ローチャートを示す図である。以下、各ステップに従っ
て順次説明する。step1 :まず、検索して取得した辞書の圧縮レコードを
バッファにセットする。step2 :次に、圧縮レコード収納バッファを走査し、先
頭から順次解凍、解凍データを辞書レコードバッファに
順次セットする。次に、表記部分の解凍に入り、その圧
縮コードが規定値以上の長さの表記のデータと解釈でき
るときは、その圧縮コードをかな漢字変換用辞書の表記
位置情報と解釈し、表記位置情報に従ってかな漢字変換
用辞書データから表記データを取得し、前記辞書レコー
ドバッファにセットする。次に、表記部分以外のデータ
あるいは表記部分でも規定値未満の長さの表記データと
解釈できる場合は、他の解凍アルゴリズムに従って前記
辞書レコードバッファにセットするstep3 :解凍した辞書レコードを表示するか、または次
の処理に渡す。
FIG. 35 is a diagram showing a schematic flow chart of the process for restoring the notation from the compressed data of the compression target dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, the compressed record of the dictionary obtained by searching is set in the buffer. step2 : Next, the compressed record storage buffer is scanned and the decompressed data is sequentially decompressed from the beginning, and decompressed data is sequentially set in the dictionary record buffer. Next, when entering the decompression of the notation part, if the compression code can be interpreted as the data of the notation having a length equal to or greater than the specified value, the compression code is interpreted as the notation position information of the Kana-Kanji conversion dictionary and according to the notation position information. The notation data is obtained from the kana-kanji conversion dictionary data and set in the dictionary record buffer. Next, if the data other than the notation part or the notation part can be interpreted as notation data of a length less than the specified value, set it in the dictionary record buffer according to another decompression algorithm step3 : Display the decompressed dictionary record, or Or pass it to the next process.

【0068】図36(a)〜(c)は、本発明の辞書デ
ータのレコード単位の圧縮方法の更に他の実施例を説明
するための図で、図36(a)は、圧縮対象の辞書レコ
ードの例、図36(b)は、かな漢字変換用辞書の例、
図36(c)は、補助辞書の例、図36(c)は、圧縮
対象の辞書レコードの「表記」部分をかな漢字変換用辞
書の「表記」部分に対応させ、そのレコード位置を表記
情報として記憶するようにすることを説明する対応表の
例を各々示す。
FIGS. 36A to 36C are views for explaining still another embodiment of the record data compression method for dictionary data according to the present invention. FIG. 36A shows a dictionary to be compressed. An example of a record, FIG. 36 (b) is an example of a kana-kanji conversion dictionary,
FIG. 36 (c) shows an example of an auxiliary dictionary, and FIG. 36 (c) shows that the “notation” part of the dictionary record to be compressed corresponds to the “notation” part of the kana-kanji conversion dictionary, and the record position is used as the notation information. An example of a correspondence table for explaining storing will be shown.

【0069】図36(c)で、例えば、圧縮対象辞書の
レコード番号「1」の表記「亜」は、かな漢字変換用辞
書のレコード番号「1」の表記「亜」と一致するので、
圧縮データはかな漢字変換用辞書のレコード位置である
レコード番号「1」を記憶する。一方、圧縮対象辞書の
レコード番号「5」の表記「痾」はかな漢字変換用辞書
には登録されていないので、かな漢字変換用辞書のレコ
ード位置は記憶できない。この場合、システムに備わっ
ている補助辞書あるいは補助辞書に類するもの(単漢字
辞書,特殊語辞書など)あるいは圧縮対象辞書の内容に
対応して、新たに作成した補助辞書を使用し、その表記
位置を記憶する。表記「痾」は補助辞書のレコード番号
「523645」(かな漢字変換用辞書の最終レコード
の後に通番とした補助辞書のレコード番号)を記憶す
る。例えば、かな漢字変換用辞書のレコード番号は、
「1〜50000」で、補助辞書のレコード番号は「50001」
から始まると仮定する。
In FIG. 36C, for example, the notation "A" of the record number "1" in the compression target dictionary matches the notation "A" of the record number "1" in the Kana-Kanji conversion dictionary.
The compressed data stores the record number "1" which is the record position of the kana-kanji conversion dictionary. On the other hand, the record number "5" of the compression target dictionary is not registered in the kana-kanji conversion dictionary, so the record position of the kana-kanji conversion dictionary cannot be stored. In this case, use a newly created auxiliary dictionary corresponding to the contents of the auxiliary dictionary or auxiliary dictionary (single-kanji dictionary, special word dictionary, etc.) included in the system or the compression target dictionary. Memorize The notation “strain” stores the record number “523645” of the auxiliary dictionary (the record number of the auxiliary dictionary that is a serial number after the last record of the kana-kanji conversion dictionary). For example, the record number of the Kana-Kanji conversion dictionary is
"1 to 50000", the record number of the auxiliary dictionary is "50001"
Suppose it starts with.

【0070】図37は、図36に示した方法による圧縮
対象辞書の表記の圧縮データを作成する処理の概略フロ
ーチャートを示す図である。以下、各ステップに従って
順次説明する。step1 :まず、圧縮対象辞書ファイルからバッファに1
レコード読む。step2 :次に、読んだレコードの「表記」をキーにかな
漢字変換用辞書の「表記」を検索する。step3 :表記がかな漢字変換用辞書の表記と一致したか
どうかを判断する。step4 :前記step3でYesであれば、表記がかな漢字変
換用辞書の表記と一致した初めのレコード番号を表記の
圧縮データとして記憶する。step5 :前記step3でNoであれば、「表記」をキーに補
助辞書の「表記」を検索し、一致したレコード番号を表
記の圧縮データとして記憶する。step6 :圧縮対象辞書ファイルの「表記」部分を前記表
記の圧縮データと置き換える。step7 :圧縮データレコードをファイルに書き出す。step8 :以上の操作を圧縮対象辞書の全レコードについ
て繰り返す。
FIG. 37 is a diagram showing a schematic flow chart of the process for creating the compressed data of the notation of the compression object dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, from the dictionary file to be compressed into the buffer 1
Read the record. step2 : Next, search for "notation" in the kana-kanji conversion dictionary using the "notation" of the read record as a key. step3 : It is judged whether or not the notation matches the notation in the kana-kanji conversion dictionary. step4: If Yes at the step3, notation stored as compressed data representation of the record number of early consistent with representation of kana-kanji conversion dictionary. step5 : If No in step 3, the "notation" of the auxiliary dictionary is searched using the "notation" as a key, and the matched record number is stored as the compressed data of the notation. step6 : Replace the "notation" part of the compression target dictionary file with the compressed data of the notation. step7 : Write compressed data record to file. step8 : Repeat the above operation for all records in the dictionary to be compressed.

【0071】図38は、図36に示した方法による圧縮
対象辞書の圧縮データから表記を復元する処理の概略フ
ローチャートを示す図である。以下、各ステップに従っ
て順次説明する。step1 :まず、検索して取得した辞書の圧縮レコードを
バッファにセットする。step2 :次に、圧縮レコード収納バッファを走査し、先
頭から順次解凍、解凍データを辞書レコードバッファに
順次セットする。次に、表記部分の解凍に入り、その圧
縮コードにより、かな漢字変換用辞書の表記位置情報ま
たは補助辞書の位置情報と解釈し、表示位置情報に従っ
てかな漢字変換用辞書データまたは補助辞書から表記デ
ータを取得し、前記辞書レコードバッファにセットす
る。次に、表記部分以外のデータは、他の解凍アルゴリ
ズムに従って前記辞書レコードバッファにセットする。step3 :解凍した辞書レコードを表示するか、または次
の処理に渡す。
FIG. 38 is a diagram showing a schematic flow chart of the processing for restoring the notation from the compressed data of the compression target dictionary by the method shown in FIG. The steps will be sequentially described below. step1 : First, the compressed record of the dictionary obtained by searching is set in the buffer. step2 : Next, the compressed record storage buffer is scanned and the decompressed data is sequentially decompressed from the beginning, and decompressed data is sequentially set in the dictionary record buffer. Next, the notation part is decompressed, and the compression code interprets it as the notation position information of the kana-kanji conversion dictionary or the position information of the auxiliary dictionary, and acquires the notation data from the kana-kanji conversion dictionary data or the auxiliary dictionary according to the display position information. Then, the dictionary record buffer is set. Next, the data other than the notation part is set in the dictionary record buffer according to another decompression algorithm. step3 : Display the decompressed dictionary record or pass it to the next process.

【0072】図28において、「語釈」を単語部分に分
解するには、字種による簡単な形態素分解など、任意の
形態素解析により行う。また、単語が用言の場合の送り
仮名のゆれなど、かな漢字変換用辞書の検索の際の照合
方法については、ここでは特に限定せず、従来行われて
いる形態素解析の手法によればよい。簡単な方法では、
かな漢字変換用辞書の用言の照合処理と同様な手法をと
るか、あるいは語釈の文字列を全て体言とみなして照合
し、かな漢字変換用辞書の表記と一致しないものは、か
な漢字変換用辞書を使った圧縮データとしない方法でも
よい。
In FIG. 28, "words" are decomposed into word parts by an arbitrary morpheme analysis such as simple morpheme decomposition by character type. In addition, the collation method when searching the kana-kanji conversion dictionary, such as the fluctuation of the syllabary when the word is a noun, is not particularly limited here, and a conventional morphological analysis method may be used. In an easy way,
Either use the same method as the collation process of the Kana-Kanji conversion dictionary, or consider all the word strings of the vocabulary as colloquial and collate, and use the Kana-Kanji conversion dictionary for those that do not match the Kana-Kanji conversion dictionary. It is also possible to use a method that does not use compressed data.

【0073】図20,図21,図25,図26,図3
1,図34において、かな漢字変換用辞書と照合しなか
った文字列は、圧縮しないかまたは先に述べた別の圧縮
方法により圧縮する。その際、必要があれば、圧縮デー
タと非圧縮データ間、かな漢字変換位置情報を使った圧
縮データとその他の圧縮方法による圧縮データ間には、
識別するための区切り記号(または符号)を設けるが、
それぞれのコード領域が重ならないようにする。また、
以上の概要フローにおいて、辞書レコードの各読み部,
表記部,語釈などはレコード内の位置や区切り記号など
を用いて認識可能なものとする。
FIG. 20, FIG. 21, FIG. 25, FIG. 26, FIG.
In FIG. 1, FIG. 34, the character string that has not been matched with the kana-kanji conversion dictionary is not compressed or is compressed by another compression method described above. At that time, if necessary, between compressed data and uncompressed data, between compressed data using Kana-Kanji conversion position information and compressed data by other compression methods,
A delimiter (or code) is provided to identify
Make sure that the code areas do not overlap. Also,
In the above outline flow, each reading part of the dictionary record,
The notation part, word excerpt, etc. shall be recognizable using the position in the record and the delimiter.

【0074】図21,図22において、「読み」が索引
と本体に分れて存在する場合の例の処理フローを示した
が、「表記」についても同様である。また、かな漢字変
換用辞書の読みあるいは表記が圧縮されている場合は、
その圧縮データの位置を記憶し、実際の読みあるいは表
記を得る場合は、かな漢字変換用辞書の位置情報にある
圧縮データをかな漢字変換用辞書の圧縮アルゴリズムに
従って解凍したデータを読みまたは表記情報とする。
21 and 22, the processing flow of an example in which "reading" exists separately in the index and the main body is shown, but the same applies to "notation". If the reading or notation of the Kana-Kanji conversion dictionary is compressed,
When the position of the compressed data is stored and the actual reading or notation is obtained, the data obtained by decompressing the compressed data in the position information of the kana-kanji conversion dictionary according to the compression algorithm of the kana-kanji conversion dictionary is used as the reading or notation information.

【0075】さらに、かな漢字変換用辞書が高度に圧縮
されている場合には、圧縮対象辞書の圧縮データを作る
際に、かな漢字変換用辞書の元辞書と実際の圧縮された
かな漢字変換用辞書と合わせて参照する方法や、同元辞
書を参照せずに表記の位置データを得るには表記の読み
を一旦求め、読みでかな漢字変換用辞書を引き表記対応
表記を求め、対象とする表記と照合して一致した表記の
位置を圧縮データの位置として記憶するなどの方法を取
る。これらの処理フローについては、個々のかな漢字変
換用辞書の圧縮検索アルゴリズムに依存するので省略す
る。
Furthermore, when the kana-kanji conversion dictionary is highly compressed, the original dictionary of the kana-kanji conversion dictionary and the actual compressed kana-kanji conversion dictionary are combined when the compressed data of the compression target dictionary is created. To obtain the position data of the notation without referring to the same dictionary or the same-source dictionary, once find the reading of the notation, find the kana-kanji conversion dictionary in the reading and find the notation corresponding to the notation, and check it with the target notation. Then, the position of the matching notation is stored as the position of the compressed data. These processing flows are omitted because they depend on the compression search algorithm of the individual kana-kanji conversion dictionary.

【0076】[0076]

【発明の効果】以上の説明から明らかなように、本発明
によると、以下のような効果がある。 (1)請求項1〜4に対応する効果:比較的簡便な方法
で中程度の辞書あるいは辞書に類する文書の検索を頭か
ら総なめして検索する方法に較べ、非常に高速で行うこ
とができる。また、任意文字列の検索を高速に行う検索
装置としては、従来のものに較べかなり簡便で索引の量
が非常に少なくて済む。 (2)請求項1に対応する効果:検索対象の辞書データ
をレコード単位に圧縮したので、辞書本体記憶容量を小
さくでき、より小型の記憶容量で装置を実現できる。 (3)請求項2に対応する効果:各文字を含む行先頭位
置の探索範囲を索引作成時の索引文字位置範囲情報によ
り、行先頭位置決めの際に、不要な探索を防止でき、検
索結果の行の切りだしをより高速化できる。 (4)請求項3に対応する効果:一般に検索キーより圧
縮レコードのデータ長が大きく、検索キーの圧縮は1回
で済むので、圧縮レコードを解凍せずに検索キーと照合
することができ、圧縮レコードを解凍して照合するより
も高速に適合情報が得られる。 (5)請求項4に対応する効果:圧縮辞書の各圧縮レコ
ード位置を記録した索引を設けたので、検索キーに一致
するデータおよびその周辺のデータの取りだし(参照)
を一括して行う場合、取りだし範囲が索引によりあらか
じめ把握できるので、取りだしをより高速に行うことが
できる。 (6)請求項5,6に対応する効果:辞書上の索引作成
の範囲の限定に対応して、圧縮レコードの解凍の範囲を
限定できるので、索引作成の限定がある場合、圧縮レコ
ードの限定範囲外の解凍を省略でき、検索キーとの照合
をより高速に行うことができる。 (7)請求項7〜12に対応する効果:比較的簡便な方
法で中程度の辞書あるいは辞書に類する文書の検索を頭
から総なめして検索する方法に比べ、非常に高速で行う
ことができる。また、任意文字列の検索を高速に行う検
索装置としては、従来のものに比べ、かなり簡便で索引
の量が非常に少なくて済む。また、検索対象の辞書デー
タをレコード単位に圧縮したので、辞書本体記憶容量を
小さくでき、より小型の記憶容量で装置を実現できる。
特に、文書処理システムに必ずと言っていいほど備えら
れているかな漢字変換用の辞書を効果的に利用し、辞書
のレコード情報をレコード単位に圧縮したので、圧縮効
果が高く、かつレコード情報取り出し時の解凍時間が原
理的に高速に行え、非常に有効である。 (8)請求項7,10に対応する効果:辞書の読み部分
の文字列をかな漢字変換用辞書の見出しの読み部の位置
情報で置き換えたので、辞書の読み部分の効果的な圧縮
ができる。 (9)請求項8,11に対応する効果:辞書の表記部分
の文字列をかな漢字変換用辞書の見出しの表記部の位置
情報で置き換えたので、辞書の表記部分の効果的な圧縮
ができる。 (10)請求項9に対応する効果:辞書の語釈あるいは
解説部分の文字列をかな漢字変換用辞書の見出しの表記
部の位置情報で置き換えたので、辞書の語釈あるいは解
説部分の効果的な圧縮ができる。 (11)請求項10に対応する効果:かな漢字変換用辞
書の見出しの読みが短いものの位置情報は記憶しないよ
うにしたので、より圧縮効果のある文字列部分のみ位置
情報が少ないデータ長で記憶できるため、さらに圧縮効
果が高い。 (12)請求項11に対応する効果:かな漢字変換用辞
書の見出しの表記が短いものの位置情報は記憶しないよ
うにしたので、より圧縮効果のある文字列部分のみ位置
情報が少ないデータ長で記憶できるため、更に圧縮効果
が高い。 (13)請求項12に対応する効果:かな漢字変換用の
辞書見出しの読みあるいは表記に一致しない文字列を、
かな漢字変換用の辞書の位置情報(アドレス情報)に対
応した形で、位置情報と読みあるいは表記と対応づけさ
せた辞書を持つようにしたので、当辞書のアクセスが容
易かつ高速となる。
As is apparent from the above description, the present invention has the following effects. (1) Effects corresponding to claims 1 to 4: It is possible to perform a very quick search of a medium-sized dictionary or a document similar to a dictionary with a relatively simple method, compared to a method of comprehensively searching from the beginning. . Further, as a search device for performing a high speed search for an arbitrary character string, it is considerably simpler than the conventional search device and the amount of indexes is very small. (2) Effect corresponding to claim 1: Since the dictionary data to be searched is compressed in record units, the storage capacity of the dictionary body can be reduced, and the device can be realized with a smaller storage capacity. (3) Effect corresponding to claim 2: By using the index character position range information at the time of creating the index, the search range of the line head position including each character can be prevented from being searched unnecessarily at the time of positioning the line head. The line cutting can be made faster. (4) Effect corresponding to claim 3: Since the data length of the compressed record is generally larger than that of the search key and the search key only needs to be compressed once, the compressed record can be collated with the search key without decompression. Matching information is obtained faster than decompressing and matching compressed records. (5) Effect corresponding to claim 4: Since an index for recording each compressed record position in the compression dictionary is provided, the data matching the search key and the data around it are retrieved (see).
When performing all in batches, the extraction range can be grasped in advance by the index, so that the extraction can be performed faster. (6) Effects corresponding to claims 5 and 6: The decompression range of the compressed record can be limited in response to the limitation of the index creation range on the dictionary. Therefore, when the index creation is limited, the compression record is limited. Decompression outside the range can be omitted, and matching with the search key can be performed faster. (7) Effects corresponding to claims 7 to 12: A relatively simple method can be used to search a medium-sized dictionary or a document similar to a dictionary in a very high speed, as compared with a method of comprehensively searching from the beginning. . Further, as a search device that searches for an arbitrary character string at high speed, it is considerably simpler and requires a much smaller amount of indexes than conventional devices. Further, since the dictionary data to be searched is compressed in record units, the storage capacity of the dictionary body can be reduced, and the device can be realized with a smaller storage capacity.
In particular, the Kana-Kanji conversion dictionary, which is almost always provided in the document processing system, is effectively used, and the record information of the dictionary is compressed in record units. In principle, the defrosting time can be done at high speed, which is very effective. (8) Effects corresponding to claims 7 and 10: Since the character string of the reading part of the dictionary is replaced with the position information of the reading part of the heading of the kana-kanji conversion dictionary, the reading part of the dictionary can be effectively compressed. (9) Effects corresponding to claims 8 and 11: Since the character string in the notation part of the dictionary is replaced by the position information of the notation part of the heading of the kana-kanji conversion dictionary, the notation part of the dictionary can be effectively compressed. (10) Effect corresponding to claim 9: Since the character string of the word part of the dictionary or the commentary part is replaced with the position information of the notation part of the heading of the kana-kanji conversion dictionary, effective compression of the word part of the dictionary or the commentary part is achieved. it can. (11) Effect corresponding to claim 10: Since the kana-kanji conversion dictionary has a short reading of the heading but does not store the position information, only the character string portion having a more compression effect can be stored with a small data length. Therefore, the compression effect is higher. (12) Effect corresponding to claim 11: Since the kana-kanji conversion dictionary has short headings but does not store position information, only a character string portion having a more effective compression can be stored with a small data length. Therefore, the compression effect is further high. (13) Effect corresponding to claim 12: A character string that does not match the reading or notation of the dictionary heading for kana-kanji conversion,
Since a dictionary having position information and reading or notation associated with the position information (address information) of the kana-kanji conversion dictionary is provided, the dictionary can be accessed easily and at high speed.

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

【図1】 本発明による辞書検索装置の一実施例を説明
するための構成図である。
FIG. 1 is a configuration diagram for explaining an embodiment of a dictionary search device according to the present invention.

【図2】 本発明における辞書の例を示す図である。FIG. 2 is a diagram showing an example of a dictionary in the present invention.

【図3】 本発明における索引作成の例を示す図であ
る。
FIG. 3 is a diagram showing an example of index creation according to the present invention.

【図4】 本発明における検索方法の概念図を示す図で
ある。
FIG. 4 is a diagram showing a conceptual diagram of a search method in the present invention.

【図5】 本発明における索引作成した処理の概略フロ
ー(その1)を示す図である。
FIG. 5 is a diagram showing a schematic flow (No. 1) of a process of creating an index in the present invention.

【図6】 本発明における検索の処理の概略フロー(そ
の1)を示す図である。
FIG. 6 is a diagram showing a schematic flow (1) of a search process in the present invention.

【図7】 本発明における検索の処理の概略フロー(そ
の2)を示す図である。
FIG. 7 is a diagram showing a schematic flow (No. 2) of search processing in the present invention.

【図8】 本発明における圧縮辞書行位置索引を示す図
である。
FIG. 8 is a diagram showing a compression dictionary row position index according to the present invention.

【図9】 本発明における索引作成の処理の概略フロー
(その2)を示す図である。
FIG. 9 is a diagram showing a schematic flow (No. 2) of index creation processing in the present invention.

【図10】 本発明における検索の処理の概略フロー
(その3)を示す図である。
FIG. 10 is a diagram showing a schematic flow (No. 3) of the search processing in the present invention.

【図11】 本発明における検索の処理の概略フロー
(その4)を示す図である。
FIG. 11 is a diagram showing a schematic flow (No. 4) of the search processing in the present invention.

【図12】 本発明における索引作成データ範囲文字位
置限定指定表の例を示す図である。
FIG. 12 is a diagram showing an example of an index creation data range character position limitation specification table according to the present invention.

【図13】 本発明における索引作成の処理の概略フロ
ー(その3)を示す図である。
FIG. 13 is a diagram showing a schematic flow (No. 3) of index creation processing in the present invention.

【図14】 本発明における検索の処理の概略フロー
(その5)を示す図である。
FIG. 14 is a diagram showing a schematic flow (No. 5) of the search processing in the present invention.

【図15】 本発明における索引作成データ範囲区切り
記号限定指定表の例(その1)を示す図である。
FIG. 15 is a diagram showing an example (part 1) of an index creation data range delimiter limitation specification table according to the present invention.

【図16】 本発明における索引作成データ範囲区切り
記号限定指定表の例(その2)を示す図である
FIG. 16 is a diagram showing an example (No. 2) of the index creation data range delimiter limitation specification table in the present invention.

【図17】 本発明における索引作成の処理の概略フロ
ー(その4)を示す図である。
FIG. 17 is a diagram showing a schematic flow (No. 4) of index creation processing in the present invention.

【図18】 本発明による辞書検索装置の他の実施例を
説明するための構成図である。
FIG. 18 is a configuration diagram for explaining another embodiment of the dictionary search device according to the present invention.

【図19】 本発明における辞書データのレコード単位
の圧縮方法の一実施例を説明するための図である。
FIG. 19 is a diagram for explaining an example of a method of compressing dictionary data in record units according to the present invention.

【図20】 本発明における圧縮対象辞書の読みの圧縮
データを作成する処理の概略フロー(その1)を示す図
である。
FIG. 20 is a diagram showing a schematic flow (No. 1) of the processing of creating compressed data for reading the dictionary to be compressed in the present invention.

【図21】 本発明における圧縮対象辞書の読みの圧縮
データを作成する処理の概略フロー(その2)を示す図
である。
FIG. 21 is a diagram showing a schematic flow (No. 2) of the processing for creating compressed data for reading the dictionary to be compressed in the present invention.

【図22】 本発明における圧縮対象辞書の圧縮データ
から読みを復元する処理の概略フロー(その1)を示す
図である。
FIG. 22 is a diagram showing a schematic flow (No. 1) of the processing of restoring the reading from the compressed data of the compression target dictionary in the present invention.

【図23】 本発明における圧縮対象辞書の圧縮データ
から読みを復元する処理の概略フロー(その2)を示す
図である。
FIG. 23 is a diagram showing a schematic flow (No. 2) of the processing for restoring the reading from the compressed data of the compression target dictionary in the present invention.

【図24】 本発明における辞書データのレコード単位
の圧縮方法の他の実施例を説明するための図である。
FIG. 24 is a diagram for explaining another embodiment of the dictionary data record-based compression method according to the present invention.

【図25】 本発明における圧縮対象辞書の表記の圧縮
データを作成する処理の概略フローを示す図である。
FIG. 25 is a diagram showing a schematic flow of a process of creating compressed data represented by a dictionary to be compressed in the present invention.

【図26】 本発明における圧縮対象辞書の圧縮データ
から表記を復元する処理の概略フロー(その1)を示す
図である。
FIG. 26 is a diagram showing a schematic flow (No. 1) of the processing for restoring the notation from the compressed data of the compression target dictionary in the present invention.

【図27】 本発明における辞書データのレコード単位
の圧縮方法の更に他の実施例を説明するための図であ
る。
FIG. 27 is a diagram for explaining still another embodiment of the dictionary data record-based compression method according to the present invention.

【図28】 本発明における圧縮対象辞書の語釈部分の
圧縮データを作成する処理の概略フローを示す図であ
る。
FIG. 28 is a diagram showing a schematic flow of a process of creating compressed data of a word part of a compression target dictionary according to the present invention.

【図29】 本発明における圧縮対象辞書の圧縮データ
から語釈を復元する処理の概略フローを示す図である。
FIG. 29 is a diagram showing a schematic flow of a process of restoring a word translation from compressed data of a compression target dictionary according to the present invention.

【図30】 本発明における辞書データのレコード単位
の圧縮方法の更に他の実施例を説明するための図であ
る。
FIG. 30 is a diagram for explaining still another embodiment of the dictionary data record-based compression method according to the present invention.

【図31】 本発明における圧縮対象辞書の読みの圧縮
データを作成する処理の概略フロー(その3)を示す図
である。
FIG. 31 is a diagram showing a schematic flow (No. 3) of the processing for creating compressed data for reading the dictionary to be compressed in the present invention.

【図32】 本発明における圧縮対象辞書の圧縮データ
から読みを復元する処理の概略フロー(その3)を示す
図である。
FIG. 32 is a diagram showing a schematic flow (No. 3) of the processing for restoring the reading from the compressed data of the compression target dictionary in the present invention.

【図33】 本発明における辞書データのレコード単位
の圧縮方法の更に他の実施例を説明するための図であ
る。
[Fig. 33] Fig. 33 is a diagram for explaining still another embodiment of the method for compressing dictionary data in record units according to the present invention.

【図34】 本発明における圧縮対象辞書の表記の圧縮
データを作成する処理の概略フロー(その2)を示す図
である。
FIG. 34 is a diagram showing a schematic flow (No. 2) of the process of creating compressed data in the notation of the compression target dictionary in the present invention.

【図35】 本発明における圧縮対象辞書の圧縮データ
から表記を復元する処理の概略フロー(その2)を示す
図である。
FIG. 35 is a diagram showing a schematic flow (No. 2) of the processing of restoring the notation from the compressed data of the compression target dictionary in the present invention.

【図36】 本発明における辞書データのレコード単位
の圧縮方法の更に他の実施例を説明するための図であ
る。
FIG. 36 is a diagram for explaining still another embodiment of the method of compressing dictionary data in record units according to the present invention.

【図37】 本発明における圧縮対象辞書の表記の圧縮
データを作成する処理の概略フロー(その3)を示す図
である。
FIG. 37 is a diagram showing a schematic flow (No. 3) of the processing of creating compressed data in the notation of the compression target dictionary in the present invention.

【図38】 本発明における圧縮対象辞書の圧縮データ
から表記を復元する処理の概略フロー(その3)を示す
図である。
FIG. 38 is a diagram showing a schematic flow (No. 3) of the processing of restoring the notation from the compressed data of the compression target dictionary in the present invention.

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

1…表示部、2…入力部、3…外部記憶部、4…印刷
部、5…制御部、6…入力/編集制御部、7…辞書検索
支援部、8…出力制御部、9…辞書検索制御部、10…
辞書索引検索制御部、11…辞書本体検索制御部、12
…出力表示制御部、13…設定情報管理表、14…辞書
索引、15…辞書本体、16…KKC辞書検索制御部、
17…KKC辞書本体。
1 ... Display unit, 2 ... Input unit, 3 ... External storage unit, 4 ... Printing unit, 5 ... Control unit, 6 ... Input / edit control unit, 7 ... Dictionary search support unit, 8 ... Output control unit, 9 ... Dictionary Search control unit, 10 ...
Dictionary index search control unit, 11 ... Dictionary main body search control unit, 12
... output display control unit, 13 ... setting information management table, 14 ... dictionary index, 15 ... dictionary body, 16 ... KKC dictionary search control unit,
17 ... KKC dictionary body.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 読みまたは表記を有するデータあるいは
そのほかの情報がレコード単位で収納されている辞書の
検索を行う辞書検索装置において、辞書データを任意の
方式でレコード単位で圧縮する圧縮手段と、辞書データ
を前記圧縮手段により圧縮した圧縮辞書データと、検索
キーの対象となる読みまたは表記の各文字と、圧縮辞書
上のレコード位置を関連づけた索引である1文字索引を
有し、検索キーを指定すると、該検索キー中の文字を抽
出する文字抽出手段と、該文字抽出手段により抽出され
た文字を含む圧縮辞書上の圧縮レコード位置を抽出する
位置抽出手段と、該位置抽出手段により抽出された位置
の圧縮辞書上の圧縮レコードを元の辞書レコードに解凍
し、該辞書レコードと検索キーと比較する比較手段と、
検索キーに適合するレコードを抽出表示する表示手段と
を有することを特徴とする辞書検索装置。
1. A dictionary search device for searching a dictionary in which data having readings or notations or other information is stored in record units, and a compression means for compressing the dictionary data in record units by an arbitrary method, and a dictionary. It has a compression dictionary data obtained by compressing data by the compression means, a one-character index that is an index that associates each reading or notation character that is the object of the search key with the record position on the compression dictionary, and specifies the search key. Then, the character extracting means for extracting the character in the search key, the position extracting means for extracting the compressed record position on the compression dictionary including the character extracted by the character extracting means, and the position extracting means for extracting the position Comparing means for decompressing the compressed record on the compression dictionary at the position into the original dictionary record and comparing the dictionary record with the search key;
A dictionary search device comprising: a display unit that extracts and displays records that match a search key.
【請求項2】 前記文字索引は、各文字別にソートさ
れ、圧縮辞書上の圧縮レコード位置を登録した索引と、
該索引の文字別のブロック先頭位置を登録した索引から
なることを特徴とする請求項1記載の辞書検索装置。
2. The character index is sorted for each character, and an index in which a compressed record position in a compression dictionary is registered,
The dictionary search device according to claim 1, wherein the dictionary search device comprises an index in which a block head position for each character of the index is registered.
【請求項3】 前記辞書レコードと検索キーと比較の際
に、検索キーを圧縮辞書と同様な方法で圧縮した圧縮検
索キーとし、圧縮レコードと圧縮検索キーとを比較し、
検索キーに適合するレコードを抽出表示することを特徴
とする請求項1記載の辞書検索装置。
3. When the dictionary record and the search key are compared, the search key is a compressed search key compressed in the same manner as the compression dictionary, and the compressed record and the compressed search key are compared.
2. The dictionary search device according to claim 1, wherein records matching the search key are extracted and displayed.
【請求項4】 前記圧縮辞書の各圧縮レコード位置を記
録した索引を設けることを特徴とする請求項1記載の辞
書検索装置。
4. The dictionary search device according to claim 1, further comprising an index recording each compressed record position of the compression dictionary.
【請求項5】 前記辞書上の各レコードの索引作成の範
囲の限定を文字位置で指定し、かつ検索の際の圧縮レコ
ードの解凍の範囲をその範囲に限定することを特徴とす
る請求項1記載の辞書検索装置。
5. The range of index creation of each record on the dictionary is specified by character position, and the range of decompression of compressed records at the time of search is restricted to that range. The dictionary search device described.
【請求項6】 前記辞書上の各レコードの索引作成の範
囲の限定を区切り記号で指定し、かつ検索の際の圧縮レ
コードの解凍の範囲をその範囲に限定することを特徴と
する請求項1記載の辞書検索装置。
6. A delimiter is used to specify the limitation of the range of index creation for each record in the dictionary, and the range of decompression of compressed records at the time of retrieval is limited to that range. The dictionary search device described.
【請求項7】 前記辞書レコードの読みを文書入力用の
かな漢字変換用辞書の見出しの読み位置を記憶すること
により圧縮することを特徴とする請求項1記載の辞書検
索装置。
7. The dictionary retrieval apparatus according to claim 1, wherein the reading of the dictionary record is compressed by storing the reading position of the heading of the kana-kanji conversion dictionary for document input.
【請求項8】 前記辞書レコードの表記を文書入力用の
かな漢字変換用辞書の見出し表記の位置を記憶すること
により圧縮することを特徴とする請求項1記載の辞書検
索装置。
8. The dictionary search device according to claim 1, wherein the notation of the dictionary record is compressed by storing the position of the heading notation of the kana-kanji conversion dictionary for document input.
【請求項9】 前記辞書レコードの語釈あるいは解説部
分を文書入力用のかな漢字変換用辞書の表記の位置を記
憶することにより圧縮することを特徴とする請求項1記
載の辞書検索装置。
9. The dictionary search device according to claim 1, wherein the word translation or commentary portion of the dictionary record is compressed by storing the position of the notation in the kana-kanji conversion dictionary for document input.
【請求項10】 前記文書入力用のかな漢字変換用辞書
の読みが短い見出しは記憶しないようにすることを特徴
とする請求項7記載の辞書検索装置。
10. The dictionary search device according to claim 7, wherein headings whose reading is short in the kana-kanji conversion dictionary for inputting documents are not stored.
【請求項11】 前記文書入力用のかな漢字変換用辞書
の表記が短い見出しは記憶しないようにすることを特徴
とする請求項8又は9記載の辞書検索装置。
11. The dictionary search device according to claim 8 or 9, wherein headings having a short description in the kana-kanji conversion dictionary for inputting documents are not stored.
【請求項12】 前記かな漢字変換用辞書に該当しない
読みまたは表記については、かな漢字変換用辞書のアド
レス情報に対応した辞書を持つことを特徴とする請求項
7〜11のいずれか1項に記載の辞書検索装置。
12. The reading or notation not corresponding to the kana-kanji conversion dictionary has a dictionary corresponding to the address information of the kana-kanji conversion dictionary, according to any one of claims 7 to 11. Dictionary search device.
JP6202342A 1994-02-22 1994-08-26 Dictionary search device Pending JPH07287716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6202342A JPH07287716A (en) 1994-02-22 1994-08-26 Dictionary search device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2413394 1994-02-22
JP6-24133 1994-08-10
JP6202342A JPH07287716A (en) 1994-02-22 1994-08-26 Dictionary search device

Publications (1)

Publication Number Publication Date
JPH07287716A true JPH07287716A (en) 1995-10-31

Family

ID=26361619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6202342A Pending JPH07287716A (en) 1994-02-22 1994-08-26 Dictionary search device

Country Status (1)

Country Link
JP (1) JPH07287716A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10319990A (en) * 1997-05-20 1998-12-04 Denso Corp Word dictionary data compression method, word dictionary data expansion method, voice recognition device, navigation system with voice recognition function, and recording medium
JP2010508606A (en) * 2006-11-01 2010-03-18 アビニシオ テクノロジー エルエルシー Storage management of individually accessible data units
US8489553B2 (en) 2006-11-01 2013-07-16 Ab Initio Technology Llc Managing storage of individually accessible data units
EP3118755A1 (en) 2015-07-13 2017-01-18 Fujitsu Limited Searching program, searching method, and searching device
EP3119003A2 (en) 2015-07-13 2017-01-18 Fujitsu Limited Encoding computer program, encoding method, encoding apparatus, decoding computer program, decoding method, and decoding apparatus
US9811570B2 (en) 2011-07-08 2017-11-07 Ab Initio Technology Llc Managing storage of data for range-based searching
CN112527949A (en) * 2020-12-15 2021-03-19 建信金融科技有限责任公司 Data storage and retrieval method and device, computer equipment and storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10319990A (en) * 1997-05-20 1998-12-04 Denso Corp Word dictionary data compression method, word dictionary data expansion method, voice recognition device, navigation system with voice recognition function, and recording medium
JP2010508606A (en) * 2006-11-01 2010-03-18 アビニシオ テクノロジー エルエルシー Storage management of individually accessible data units
US8489553B2 (en) 2006-11-01 2013-07-16 Ab Initio Technology Llc Managing storage of individually accessible data units
US8639674B2 (en) 2006-11-01 2014-01-28 Ab Initio Technology Llc Managing storage of individually accessible data units
US8949189B2 (en) 2006-11-01 2015-02-03 Ab Initio Technology Llc Managing storage of individually accessible data units
US9811570B2 (en) 2011-07-08 2017-11-07 Ab Initio Technology Llc Managing storage of data for range-based searching
EP3118755A1 (en) 2015-07-13 2017-01-18 Fujitsu Limited Searching program, searching method, and searching device
EP3119003A2 (en) 2015-07-13 2017-01-18 Fujitsu Limited Encoding computer program, encoding method, encoding apparatus, decoding computer program, decoding method, and decoding apparatus
US20170017707A1 (en) 2015-07-13 2017-01-19 Fujitsu Limited Non-transitory computer-readable recording medium, searching method, and searching device
US9779071B2 (en) 2015-07-13 2017-10-03 Fujitsu Limited Non-transitory computer-readable recording medium, encoding method, encoding apparatus, decoding method, and decoding apparatus
US10664491B2 (en) 2015-07-13 2020-05-26 Fujitsu Limited Non-transitory computer-readable recording medium, searching method, and searching device
CN112527949A (en) * 2020-12-15 2021-03-19 建信金融科技有限责任公司 Data storage and retrieval method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US5992737A (en) Information search method and apparatus, and medium for storing information searching program
JPS6244878A (en) Document filing system
US20040225497A1 (en) Compressed yet quickly searchable digital textual data format
US5560037A (en) Compact hyphenation point data
JP3689954B2 (en) Heterogeneous code character string transcription device and electronic dictionary
JPH05324730A (en) Document information retrieval device
JP2848729B2 (en) Translation method and translation device
JP3780556B2 (en) Natural language case search apparatus and natural language case search method
JPH07182354A (en) How to create electronic documents
JPH06223107A (en) Dictionary search device
JP2560656B2 (en) Document filing system
CN101331483A (en) Method and apparatus for manipulating data files
JPH01214963A (en) Device for consulting dictionary
JPS6175952A (en) Document input processing system
JPH0954781A (en) Document retrieving system
JPH06266765A (en) Text search device
JPH0816617A (en) Document search method and apparatus
JP2004199282A (en) Document search device and document registration device
JP2967995B2 (en) Document processing apparatus and document processing method
JP2001202388A (en) Full-text search method and apparatus
JPS61156465A (en) Document preparing system
JPH01260531A (en) Document retriever
JPH04253262A (en) Reading kana addition system
JPS60256853A (en) Method and device for file retrieval
JPH09153038A (en) Document creation device