[go: up one dir, main page]

JPH08180060A - Electronic dictionary display device - Google Patents

Electronic dictionary display device

Info

Publication number
JPH08180060A
JPH08180060A JP6318137A JP31813794A JPH08180060A JP H08180060 A JPH08180060 A JP H08180060A JP 6318137 A JP6318137 A JP 6318137A JP 31813794 A JP31813794 A JP 31813794A JP H08180060 A JPH08180060 A JP H08180060A
Authority
JP
Japan
Prior art keywords
notation
search
dictionary
display
character string
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.)
Granted
Application number
JP6318137A
Other languages
Japanese (ja)
Other versions
JP3187671B2 (en
Inventor
Yoshimasa Nakamura
佳正 中村
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP31813794A priority Critical patent/JP3187671B2/en
Publication of JPH08180060A publication Critical patent/JPH08180060A/en
Application granted granted Critical
Publication of JP3187671B2 publication Critical patent/JP3187671B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To rearrange plural candidates in a read order (dictionary order) and to display them in addition to a display means for displaying them in the order of notation codes as before in the case of retrieving data arranged in the order of the notation codes by a notation in an electronic dictionary device. CONSTITUTION: For a retrieval object character string inputted by an input means 11, by retrieval means 16-19, a notation character string matched with it is specified by tracing notation indexes arranged in a notation order (defined as the arrangement of the offset of dictionary main body data) from the main body data of the read order stored by a storage means 12. Then, the sorting of pertinent items based on offset information or serial number information inside a read order dictionary added to respective dictionary items is performed by a rearrangement means 14 and the contents of the main body data are displayed by a display means 15.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子辞書表示装置に関
し、より詳細には、電子辞書の検索内容の表示におい
て、複数の候補を読み順で表示するか、又は表記コード
順で表示するかの選択を任意に切換え可能とする電子辞
書表示装置に関するものである。例えば、電子辞書にと
どまらず、文字列のリストを表示する表示手段を有する
データベースシステムに適用されるものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic dictionary display device, and more specifically, in displaying search contents of an electronic dictionary, whether to display a plurality of candidates in reading order or in notation code order. The present invention relates to an electronic dictionary display device capable of arbitrarily switching the selection. For example, the invention is applied not only to an electronic dictionary but also to a database system having display means for displaying a list of character strings.

【0002】[0002]

【従来の技術】ワープロやパソコン,電子手帳などの機
器に、国語辞典や英和辞典といった辞書のデータを搭載
し、電子的に検索できるようにした「電子辞書装置」が
普及し始めている。従来、これらのシステムでは、入力
文字列と単語辞書内の見出しもしくは表記とのマッチン
グを文字列マッチング手段にて取り、これに応じた検索
結果を出力することで、入力文字列の辞書検索を行うよ
うになっている。マッチング手段には、入力文字列と単
語辞書内の文字列との完全一致を試みる「完全一致検
索」や、入力文字列と単語辞書内の前方部分が一致して
いれば、一致したものとみなす「前方部分一致検索」な
どがある。
2. Description of the Related Art "Electronic dictionary devices", which equip devices such as word processors, personal computers, and electronic notebooks with dictionary data such as Japanese dictionaries and English-Japanese dictionaries so that they can be searched electronically, have begun to spread. Conventionally, in these systems, an input character string is searched for in a dictionary by matching the input character string with a heading or notation in a word dictionary by a character string matching means and outputting a search result corresponding to the matching. It is like this. The matching means is an "exact match search" that attempts an exact match between the input character string and the character string in the word dictionary, or if the input character string and the front part in the word dictionary match, it is considered as a match. There is a “partial match search”.

【0003】例えば、図3〜図6は、辞書及び各種イン
デックスの構成例を示す図で、図3は、全体関係図、図
4〜図6は、部分拡大図である。図3〜図6に示すよう
に、読み順すなわち辞書順に並んだ見出し語のデータ3
6と、見出し語に対応する表記を表記コード順に並べた
データ37と、辞書順になっている見出し語に対応する
ように並べられた意味データ39を中心に、種々の検索
情報から成り立っている。検索方法としては、読みを入
力して対応する表記と意味を得る読み検索や、漢字表記
を入力して対応する読みと意味を得る表記検索などがあ
る。図3の構成例では、読みを語尾から検索する「語尾
読み検索」(図4),漢字表記を語尾から検索する「語
尾表記検索」(図5)も可能となっている。
For example, FIGS. 3 to 6 are diagrams showing examples of the structure of a dictionary and various indexes, FIG. 3 is an overall relationship diagram, and FIGS. 4 to 6 are partially enlarged views. As shown in FIGS. 3 to 6, headword data 3 arranged in reading order, that is, in dictionary order.
6 and data 37 in which the notations corresponding to the headwords are arranged in the order of notation codes, and the meaning data 39 arranged so as to correspond to the headwords in the dictionary order, and various search information. As a search method, there are a phonetic search for obtaining a corresponding notation and meaning by inputting a reading, and a notation search for obtaining a corresponding reading and meaning by inputting a kanji notation. In the configuration example of FIG. 3, a “suffix reading search” (FIG. 4) for searching the reading from the ending and a “suffix notation search” (FIG. 5) for searching for the kanji notation from the ending are also possible.

【0004】このとき、読み検索の場合は、入力文字列
と前記データのうち、読み順に配置されている見出し語
データ36の文字列とのマッチングを取り、表記検索の
場合は、入力文字列と前記データのうち、表記コード順
に配置されている表記データの文字列とのマッチングを
取ることを特徴としているものが見られる。ちなみに、
図3の構成例では、表記データが格納されるべきインデ
ックス27の内部構造は、辞書本体データ36への連番
情報となっており、文字列のマッチングは辞書本体へア
クセスして1件ずつ表記を取り出しながら行っている。
At this time, in the case of the phonetic search, the input character string is matched with the character string of the entry word data 36 arranged in the reading order among the above-mentioned data, and in the case of the notation search, it is compared with the input character string. Among the above data, it can be seen that the data is characterized by matching with the character string of the notation data arranged in the notation code order. By the way,
In the configuration example of FIG. 3, the internal structure of the index 27 in which the notation data is to be stored is serial number information to the dictionary body data 36, and matching of character strings is performed by accessing the dictionary body and notating one by one. I am taking it out.

【0005】このようにして、もし入力文字列と一致す
る辞書データが複数見つかった時、検索方法が読み検索
であった場合は、該当するデータが読み順に表示され
(図14)、表記検索であった場合には、該当するデー
タが表記コード順に表示される(図15)。しかし、読
みで入力すれば、候補の出力は読み順に、漢字表記で入
力すれば、候補の出力は表記コード順にというように、
表示の順序が検索方法によって異なってしまうと、少な
からず混乱を招くことになってしまう。
In this way, if a plurality of dictionary data matching the input character string are found and the search method is the reading search, the corresponding data are displayed in the reading order (FIG. 14) and the notation search is performed. If so, the corresponding data is displayed in the order of the notation code (FIG. 15). However, if you input by reading, the output of the candidates will be in the reading order, if you input in Kanji notation, the output of the candidates will be in the writing code order.
If the display order differs depending on the search method, it will be a little confusing.

【0006】また、図16及び図17に示すように、各
項目にまつわるキーワードを入力しても検索できるよう
にした電子辞書装置が見られる。これは、キーワードを
1つの表記として表記コード順に配置されているインデ
ックス27に組み込むことで、検索が可能となってい
る。さらに、項目の表記で検索される場合と区別するた
めに、キーワードフラグインデックス26には、各項目
の表記には「0」、キーワードとして登録されている単
語には「1」というようにフラグを設けている。
Further, as shown in FIGS. 16 and 17, there is an electronic dictionary device that can be searched even when a keyword related to each item is input. This can be searched by incorporating a keyword as one notation into the index 27 arranged in the notation code order. Further, in order to distinguish it from the case of searching by item notation, the keyword flag index 26 has a flag such as "0" for each item notation and "1" for a word registered as a keyword. It is provided.

【0007】このキーワード検索では、見出し語に対す
る漢字表記と、キーワードが表記コードとして等価にな
るとき、同表記内での並びに秩序がない場合は、図18
(a),(b)に示すような混乱を招きかねない表示に
なることがあった。そこで、表記インデックスの構造を
工夫して同表記内での並びに規則を設け、見出し語に対
する表記を優先的にキーワードよりも先になるような配
置にすれば、少なくとも同表記内での並びは改善される
が、検索方法を前方部分一致検索としている場合には、
候補は異表記にまたがることが多いので、同表記内での
秩序は保たれるが、見つかった候補全体に対する秩序が
ないために、電子辞書をより使い勝手のよい道具とする
ためには、何らかの工夫が必要であった。
In this keyword search, when the Kanji notation for a headword is equivalent to a keyword as a notation code, and there is no order within the notation, FIG.
The display may be confusing as shown in (a) and (b). Therefore, if the structure of the notation index is devised and rules are set within the same notation, and the notation for the headword is preferentially placed before the keyword, at least the arrangement within the notation is improved. However, if the search method is forward partial match search,
Since the candidates often span different notations, the order within the notations is maintained, but since there is no order for all the found candidates, some idea is needed to make the electronic dictionary a more convenient tool. Was needed.

【0008】従来の電子辞書表示装置について記載した
公知文献としては、例えば、特開昭57−123472
号公報がある。この公報のものは、仮名文字を当該コー
ドと、該仮名文字が濁点,半濁点,長音,小文字または
これら以外の何れであるか、その種類を表わすフラグコ
ードとにより成る文字情報で表わすようにしたので、電
子辞書の日本語の単語の語順を完全に通常の国語辞書の
語順と同一とすることが可能となり、単語のサーチがし
やすくなるものである。
A known document describing a conventional electronic dictionary display device is, for example, JP-A-57-123472.
There is a gazette. In this publication, a kana character is represented by character information consisting of the code and a flag code indicating whether the kana character is a dakuten, a semi-dakuten, a long sound, a small letter, or other than these. Therefore, the word order of the Japanese words in the electronic dictionary can be made completely the same as the word order in the ordinary national language dictionary, which facilitates the word search.

【0009】[0009]

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

(1)電子辞書の検索方式は、入力文字列がひらがなの
場合は読み検索となり、入力文字列が漢字混じりの場合
は表記検索となり、前記読み検索の場合は、辞書の見出
し語が読み順に並んだインデックス36を検索し、表記
検索の場合は、辞書の見出しに対する表記が表記コード
順に並んだインデックス27を検索することになる。し
たがって、入力に対する候補が複数個見つかった場合、
何の手段も講じなければ、読み検索の場合の候補は、順
次読み順に記憶手段12に格納され、表記検索の場合の
候補は、順次表記コード順に記憶手段12に格納され
る。したがって、何らかの手段を講じなければ、読み検
索で見つかった候補は必ず読み順に、表記検索で見つか
った候補は必ず表記コード順になってしまうという問題
点がある。
(1) The electronic dictionary search method is a phonetic search when the input character string is in Hiragana, a notation search when the input character string is mixed with Kanji, and in the case of the above-mentioned phonetic search, the entry words of the dictionary are arranged in the reading order. The index 36 is searched, and in the case of the notation search, the index 27 in which the notations for the headings of the dictionary are arranged in the notation code order is searched. Therefore, if multiple candidates for the input are found,
If no measures are taken, the candidates for the reading search are sequentially stored in the storage unit 12 in the reading order, and the candidates for the writing search are sequentially stored in the storage unit 12 in the writing code order. Therefore, unless some measures are taken, the candidates found by the reading search are always in the reading order, and the candidates found by the writing search are always in the writing code order.

【0010】(2)電子辞書には、国語辞書をはじめ、
英和辞書や和英辞書,漢和辞書など数多く用意されてお
り、それぞれ電子辞書に特有の機能が開発されている。
例えば、和英辞書の1つの機能として、知りたい表記そ
のものを入力しなくとも、その表記にまつわるキーボー
ドを入力しても、望む表記を得ることができるという
「派生語検索機能」がある。以下に、表記検索および派
生語検索の概要を説明する。この単語辞書の構造は、例
えば、語尾読み検索手段において、見出し語に対する表
記とキーワード(派生語)とが混在するような形で構成
されている。具体的には、入力文字列を「音楽」とした
場合の表記出力例は、「音楽」・「調」・「聞所」・
「調べ」の4件である。ここで、「調」,「聞所」,「調
べ」の3件が提示される理由は、図17にあるように、
英語表記の派生欄、つまり「調」に対する〔音楽〕,
〔調子〕,〔詩の格調〕、あるいは「聞所」に対する
〔話などの〕,〔音楽の〕、あるいは「調べ」に対する
〔調査〕,〔検査〕,〔音楽の〕のすべてに「音楽」と
いうキーワードが表記インデックス27の中に含まれて
いるので、入力文字列がこれと一致しても、該当したも
のと見なす、という考えのもとに出力されたものであ
る。
(2) The electronic dictionaries include Japanese dictionaries,
There are many English-Japanese dictionaries, Japanese-English dictionaries, Hanwa dictionaries, etc., each of which has a unique function developed for electronic dictionaries.
For example, as one of the functions of the Japanese-English dictionary, there is a "derivative search function" in which the desired notation can be obtained even if the notation itself desired to be input is input, even if the keyboard associated with the notation is input. The outline of the notation search and the derivative term search will be described below. The structure of the word dictionary is configured, for example, in the suffix reading search means so that the notation for the headword and the keyword (derivative) are mixed. Specifically, when the input character string is "music", the example of the notation output is "music", "key", "mongo",
It is four cases of "investigation". Here, as shown in FIG. 17, the reason for presenting the three cases of “key”, “hokusho”, and “search” is as follows.
Derived column of English notation, that is, "music" for "key",
[Music] for all of [tone], [tune of poem], or [speaking] to [monsho], [of music], or [survey], [inspection], or [of music] to [search] The keyword is included in the notation index 27, so that it is output based on the idea that, even if the input character string matches this, it is regarded as applicable.

【0011】したがって、表記から検索する場合に参照
される表記順の単語辞書には、該当表記に加えて、派生
語つまり関連語をも含み、これらを表記コード順に配置
している。このとき、各情報に対する付加情報として、
派生語でない表記そのものをフラグ「0」とし、派生語
・関連語をフラグ「1」とすれば、その辞書構造は、図
7のようになる。次に、「音楽」を入力例として説明す
る。仮に表記コード順になっている単語辞書内の単語と
のマッチング(例えば、前方一致検索など)を取り、該
当する「音楽」にたどり着いたとする。ここで、もし表
示に関して一覧検索が指示されていれば、引続き文字列
マッチングが繰り返されて、入力文字列「音楽」と一致
しなくなる「音感」で検索が終了する。ここまでで一致
したと見なされる表記コード順辞書内の見出し「音楽」
「音楽」「音楽の」「音楽の」は、例えば、バッファに
蓄積されて表示装置に渡される。
Therefore, the word dictionary in the notation order that is referred to when searching from the notations includes derivative words, that is, related words, in addition to the corresponding notations, and these are arranged in the notation code order. At this time, as additional information for each information,
If the notation itself which is not a derivative word is flag "0" and the derivative word / related word is flag "1", the dictionary structure is as shown in FIG. Next, “music” will be described as an input example. It is assumed that the word "word" in the word dictionary in the order of the notation code is matched (for example, prefix match search) and the corresponding "music" is reached. Here, if the list search is instructed for the display, the character string matching is continuously repeated, and the search ends with "pitch" that does not match the input character string "music". Heading "Music" in the notation code order dictionary that is considered to have matched up to here
“Music”, “musical”, and “musical” are accumulated in a buffer and passed to the display device, for example.

【0012】また、図7に示す表記コード順辞書の第2
項目に記された「3417」「18695」などの情報
は、見出し順(辞書順)辞書内で何番目になるかという
連番情報を表わしており、この連番情報に基づけば、表
記コード順辞書内に表記を用意しなくとも、見出し順
(辞書順)辞書内の表記とのマッチングが可能となり、
インデックス情報の大幅な削減になるという手段が一般
に用いられている。ところが、表記コード順になった辞
書を使用する表記検索において、該当する候補が複数あ
った場合に、その出力は辞書内に配置されている通りに
するという方法しかとられていないため、図16のよう
な表示順になることがあり、これは読み順ではないので
不便なことがある。また、単語辞書が前述の派生語混じ
りの場合も同様に、表示方法は該当するものが見つかっ
た順となっているので、先程例にあげた図18のような
混乱を招く表示になることがある。そこで、実施例2で
は、派生語検索が可能な電子辞書において、前述のよう
な混乱を防ぐというのが課題である。
The second of the notation code order dictionary shown in FIG.
The information such as “3417” and “18695” described in the item represents the serial number information indicating the order in the dictionary in the heading order (dictionary order). Even if you do not prepare the notation in the dictionary, it becomes possible to match the notation in the heading order (dictionary order) dictionary,
It is generally used to reduce the index information significantly. However, in the notation search using a dictionary arranged in the notation code order, when there are a plurality of applicable candidates, the output is only as arranged in the dictionary. It may be inconvenient because it is not in the reading order. Similarly, when the word dictionary contains a mixture of derivative words as described above, the display method is in the order in which the corresponding words are found. Therefore, the display may be confusing as shown in FIG. is there. Therefore, in the second embodiment, the problem is to prevent the above confusion in an electronic dictionary in which derivative words can be searched.

【0013】(3)前記(1)(2)の課題をあわせた
もので、前記(2)で説明した「派生語検索」に代表さ
れるような、見出し語に関わるキーワードからの検索を
可能とした電子辞書の場合、見つかった候補は、見出
し語に対する表記で見つかった候補と、見出し語に対
する表記は入力文字列と何ら一致する部分はないが、そ
の表記に関係するキーワードが表記インデックス27に
登録されていたために見つかった候補との2種類の候補
を表示しなければならない。このとき、ただ見つかった
候補順に表示するだけではどうしても混乱を招いてしま
うという問題点がある。
(3) It is a combination of the problems of (1) and (2) above, and it is possible to search from keywords related to headwords, as represented by the "derivative search" described in (2) above. In the case of the electronic dictionary, the found candidate has no part in which the candidate found in the notation for the entry word and the notation for the entry word do not match the input character string, but the keyword related to the entry is in the notation index 27. Two types of candidates must be displayed, one that was found because it was registered. At this time, there is a problem that mere display in the order of found candidates will cause confusion.

【0014】本発明は、このような実情に鑑みてなされ
たもので、電子辞書の出力結果に対して、複数の候補を
読み順や表記コード順に自由に並べかえることができ、
また、キーワード検索により得られた候補との分離表示
も自由に切り替え可能にする電子辞書表示装置を提供す
ることを目的としている。
The present invention has been made in view of such a situation, and a plurality of candidates can be freely arranged in the reading order or the notation code order in the output result of the electronic dictionary.
It is another object of the present invention to provide an electronic dictionary display device that can be freely switched between separate display from candidates obtained by keyword search.

【0015】[0015]

【課題を解決するための手段】本発明は上記課題を解決
するために、(1)辞書データや検索用インデックスを
記憶するための記憶手段12と、検索すべき文字列を入
力するための入力手段11と、入力文字列との文字列比
較を行いながら検索用インデックスをたどってテキスト
データの所定の部分にアクセスするための検索手段16
〜19と、検索結果など必要なデータを表示するための
表示手段15と、前記各手段を制御する制御手段20と
を備えた電子辞書装置において、表記順インデックス2
7をたどって検索する表記検索の結果を読み順に表示す
るか、又は表示コード順に表示するかの切換えを利用者
の選択により可能とする切換手段を有すること、或い
は、(2)辞書データや検索用インデックスを記憶する
ための記憶手段12と、検索すべき文字列を入力するた
めの入力手段11と、入力文字列との文字列比較を行い
ながら検索用インデックスをたどってテキストデータの
所定の部分にアクセスするための検索手段16〜19
と、検索結果など必要なデータを表示するための表示手
段15と、前記各手段を制御する手段20とを備えた電
子辞書装置において、表記順インデックス27をたどっ
て検索するキーワード入力検索の際に、キーワードを含
む項目と入力文字列そのものを見出しとして持つ項目の
混合表示又は分離表示の切換えを可能にする切換手段を
有すること、更には、(3)前記(2)において、前記
分離表示を行った場合に、読み順表示か表記コード順表
示かの切替えを利用者の選択により可能にしていること
を特徴としたものである。
In order to solve the above problems, the present invention provides (1) a storage means 12 for storing dictionary data and a search index, and an input for inputting a character string to be searched. Search means 16 for accessing a predetermined portion of the text data by tracing the search index while performing character string comparison between the means 11 and the input character string.
To 19, a display means 15 for displaying necessary data such as a search result, and a control means 20 for controlling each of the means, an indexing order index 2
7 has a switching means that allows the user to select whether to display the result of the notation search in the reading order or the display code order, or (2) dictionary data or search Means 12 for storing a search index, input means 11 for inputting a character string to be searched, and a character string comparison with the input character string while tracing the search index to determine a predetermined portion of the text data. Search means 16 to 19 for accessing
In the electronic dictionary device including the display means 15 for displaying necessary data such as a search result, and the means 20 for controlling the respective means, a keyword input search for searching the notation order index 27 is performed. , Having a switching means capable of switching between mixed display or separate display of an item including a keyword and an item having the input character string itself as a heading, and further, (3) in (2), the separate display is performed. In this case, it is possible to switch between the reading order display and the notation code order display by the user's selection.

【0016】[0016]

【作用】前記構成を有する本発明の電子辞書表示装置
は、(1)入力手段により入力された検索対象文字列に
対して、検索手段により、これと一致する表記文字列
を、記憶手段により記憶された読み順の本体データか
ら、表記順に並べられた表記インデックス(辞書本体デ
ータのオフセットの並びであるとする)をたどることに
よって特定し、並び替え手段によって、各辞書項目に付
加されている読み順辞書内における連番情報あるいはオ
フセット情報に基づく該当項目のソートを行い、表示手
段によってその本体データの内容を表示するように作用
する。(2)入力手段により入力された検索対象文字列
に対して、検索手段により、これと一致する表記文字列
を、記憶手段により記憶された読み順の本体データか
ら、表記順に並べられた表記インデックスをたどること
によって特定した場合、候補が複数に及ぶ時は、表記イ
ンデックスの構造が同表記内で表記本体を派生語(キー
ワード表記)の前に配置しているような構造になってい
るか、もしくは表記インデックスの構造がそのようにな
っていなくとも、表記インデックスに登録されている派
生語フラグに基づく分離手段によってキーワード(派生
語)により見つかった候補を分離できるので、表示手段
によって本体データの内容を表示する際に、より分りや
すい表示を行うことができるように作用する。(3)前
記(2)に記載の分離手段によって分離された2群の候
補を、前記(1)に記載の並び替え手段によりそれぞれ
に読み順に並べ替えるという作用を有する。
In the electronic dictionary display device of the present invention having the above-described structure, (1) the search target character string input by the input means is stored in the storage means by the search means by the storage means. From the body data in the specified reading order, it is specified by tracing the notation index (assuming that it is a sequence of offsets in the dictionary body data) arranged in the notation order, and the reading added to each dictionary item by the sorting means. The corresponding items are sorted based on the serial number information or the offset information in the forward dictionary, and the contents of the main body data are displayed by the display means. (2) For the search target character string input by the input unit, the search unit arranges the notation character strings that match the search target character string from the body data in the reading order stored by the storage unit in the notation order. When there are multiple candidates, the structure of the notation index is such that the notation body is placed before the derivative word (keyword notation) in the same notation, or Even if the structure of the notation index is not such a structure, the candidate found by the keyword (derivative) can be separated by the separation means based on the derivative word flag registered in the notation index, so the content of the main data can be displayed by the display means. When displaying, it works so that the display can be more easily understood. (3) It has the effect of rearranging the candidates of the two groups separated by the separating unit described in (2) above in the reading order by the rearranging unit described in (1) above.

【0017】[0017]

【実施例】実施例について、図面を参照して以下に説明
する。図1は、本発明による電子辞書表示装置の一実施
例を説明するための構成図で、図中、1はCPU(中央
処理装置)、2はRAM(Random Access Memory)、3
はROM(Read Only Memory)、4は入力インターフェ
ース(I/F)、5は入力装置、6は出力インターフェ
ース(I/F)、7は出力装置、8はI/Oポート、9
は外部記憶装置である。図2は、図1の機能ブロック図
で、図中、11は入力手段、12は記憶手段、13は一
時記憶手段、14は並び替え手段、15は表示手段、1
6は読み検索手段、17は語尾読み検索手段、18は表
記検索手段、19は語尾表記検索手段である。
Embodiments will be described below with reference to the drawings. FIG. 1 is a configuration diagram for explaining an embodiment of an electronic dictionary display device according to the present invention, in which 1 is a CPU (central processing unit), 2 is a RAM (Random Access Memory),
Is a ROM (Read Only Memory), 4 is an input interface (I / F), 5 is an input device, 6 is an output interface (I / F), 7 is an output device, 8 is an I / O port, 9
Is an external storage device. 2 is a functional block diagram of FIG. 1, in which 11 is an input means, 12 is a storage means, 13 is a temporary storage means, 14 is a rearrangement means, 15 is a display means, 1
Reference numeral 6 is a reading search means, 17 is a ending reading search means, 18 is a notation searching means, and 19 is a ending notation searching means.

【0018】入力手段11は、キーボードやOCR(O
ptical Character Reader:光学式文字読取装置),
ペン等の入力装置5およびコンピュータとのやりとりを
するための入力インターフェース4で構成され、検索対
象となる文字列や辞書のインデックス・データ等を入力
する。記憶手段12及び一時記憶手段13は、ROM3
やRAM2で構成されるコンピュータの通常の記憶装置
であり、検索用のインデックス・データ,検索手段の実
行オブジェクト,検索結果等必要なデータを格納する。
なお、コンピュータとのやりとりを行うI/Oポート8
を介して、フロッピディスクやハードディスク,CD−
ROM等の外部記憶装置9を記憶手段に用いてもよい。
並び替え手段14は、検索結果を本発明に記載の順序に
並びかえる手段であり、本実施例では、ロジックとして
記憶装置(ROM)3の一部となっている。
The input means 11 is a keyboard or OCR (O
ptical Character Reader: Optical character reader),
It is composed of an input device 5 such as a pen and an input interface 4 for communicating with a computer, and inputs a character string to be searched or index data of a dictionary. The storage means 12 and the temporary storage means 13 are the ROM 3
It is an ordinary storage device of a computer constituted by a RAM 2 and a RAM 2, and stores necessary data such as index data for retrieval, execution objects of retrieval means, retrieval results.
An I / O port 8 for communicating with the computer
Via floppy disk, hard disk, CD-
An external storage device 9 such as a ROM may be used as the storage means.
The rearrangement means 14 is means for rearranging the search results in the order described in the present invention, and in the present embodiment, it is a part of the storage device (ROM) 3 as logic.

【0019】表示手段15は、液晶ディスプレイやCR
T(Cathode Ray Tube:陰極線管)等の出力装置7
およびコンピュータとのデータのやりとりをするための
出力インターフェース6で構成され、入力文字列や検索
結果等を表示する。読み検索手段16は、よみ(ひらが
な、またはひらがなおよびカタカナのみで構成される文
字列)を入力して、辞書に登録されている見出し語の先
頭部分に一致する項目を見つけ出す手段で、ロジックと
して記憶装置(ROM)3に格納されており、必要に応
じてCPU1により一時記憶装置(RAM)2に呼び出
され、解釈実行されるものである。
The display means 15 is a liquid crystal display or CR.
Output device 7 such as T (Cathode Ray Tube)
And an output interface 6 for exchanging data with a computer, which displays input character strings, search results, and the like. The reading retrieval means 16 is a means for inputting a reading (a character string composed only of hiragana or hiragana and katakana) to find an item that matches the head part of an entry word registered in the dictionary, and stores it as logic. It is stored in the device (ROM) 3 and is called by the CPU 1 to the temporary storage device (RAM) 2 as needed and is interpreted and executed.

【0020】語尾読み検索手段17は、よみ(ひらが
な、またはひらがなおよびカタカナのみで構成される文
字列)を入力して、辞書に登録されている見出し語部分
の後方部分に一致する項目を見つけ出す手段で、ロジッ
クとして記憶手段(ROM)3に格納されており、必要
に応じてCPU1により一時記憶装置(RAM)2に呼
び出され、解釈実行されるものである。表記検索手段1
8は、表記(漢字混じりの文字列あるいはカタカナ混じ
りの文字列)を入力して、見出し語に対する表記を格納
している辞書に登録されている表記文字列の前方部分に
一致する項目を見つけ出す手段で、ロジックとして記憶
手段(ROM)3に格納されており、必要に応じてCP
U1により一時記憶装置(RAM)2に呼び出され、解
釈実行されるものである。
The ending reading search means 17 inputs a reading (a character string composed only of hiragana or hiragana and katakana) and finds an item that matches the rear part of the entry word part registered in the dictionary. It is stored in the storage means (ROM) 3 as logic, and is called by the CPU 1 to the temporary storage device (RAM) 2 as necessary and interpreted and executed. Notation search means 1
Reference numeral 8 is a means for inputting a notation (a character string mixed with kanji or a character string mixed with katakana) to find an item matching the front part of the notation character string registered in the dictionary storing the notation for the entry word. Is stored in the storage means (ROM) 3 as logic, and if necessary, CP
It is called by the temporary storage device (RAM) 2 by U1, and is interpreted and executed.

【0021】語尾表記検索手段19は、表記(漢字混じ
りの文字列あるいはカタカナ混じりの文字列)を入力し
て、見出し語に対する表記を格納している辞書に登録さ
れている表記文字列の前方部分に一致する項目を見つけ
出す手段で、ロジックとして記憶手段(ROM)3に格
納されており、必要に応じてCPU1により一時記憶装
置(RAM)2に呼び出され、解釈実行されるものであ
る。制御手段20は、記憶装置中のデータを呼び出して
他の手段を制御しながらロジックを解釈実行するための
手段であり、CPU1が対応する機器となる。
The ending notation search means 19 inputs a notation (a character string containing kanji characters or a character string containing katakana), and the front part of the notation character string registered in the dictionary storing the notation for the entry word. It is a means for finding an item that matches with, is stored in the storage means (ROM) 3 as logic, and is called by the CPU 1 to the temporary storage device (RAM) 2 and interpreted and executed as necessary. The control unit 20 is a unit for reading data in the storage device and interpreting and executing logic while controlling other units, and is a device to which the CPU 1 corresponds.

【0022】図3〜図6は、辞書及び各種インデックス
の構成例を示す図で、図3は、全体関係図で、図4〜図
6は、図3の部分拡大図である。参照インデックス21
は、入力文字列の先頭1文字によって絞り込みを行い、
入力文字列の先頭1文字「あ」〜「ん」のひらがなに対
して辞書本体36において、その文字で始まる項目のオ
フセット情報が得られる。インデックスデータ22は、
辞書本体36の情報を32件ごとの項目あるいは第1文
字の表記のかわり目の項目を抽出したインデックスデー
タで、読み検索手段16の一部であるマッチング手段を
用いて、入力文字列との比較を行い、辞書本体36への
さらなる絞り込みを行う。十分に絞り込みが行えた場合
は、辞書本体36に対する連番情報を得ている。インデ
ックスデータ31は、辞書本体の各項目のオフセット情
報をインデックスデータ22と同様に32件ごとに格納
しているインデックスデータであり、本実施例において
は、1件2バイトの固定長となっている。
3 to 6 are diagrams showing examples of the structure of a dictionary and various indexes, FIG. 3 is an overall relationship diagram, and FIGS. 4 to 6 are partially enlarged views of FIG. Reference index 21
Narrows down the first character of the input string,
With respect to the hiragana of the first one character “a” to “n” of the input character string, the offset information of the item starting with that character is obtained in the dictionary body 36. The index data 22 is
The information in the dictionary body 36 is index data obtained by extracting every 32 items or items in place of the notation of the first character, and using the matching means that is a part of the reading retrieval means 16 to compare with the input character string. Then, the dictionary main body 36 is further narrowed down. If the search is sufficiently narrowed down, the serial number information for the dictionary body 36 is obtained. The index data 31 is index data that stores the offset information of each item of the dictionary body for every 32 items, like the index data 22, and has a fixed length of 2 bytes per item in the present embodiment. .

【0023】インデックスデータ22のインデックスで
得られた辞書本体36への最寄りの連番情報に基づい
て、1件の項目に割り当てられたサイズが固定長である
インデックスデータ31をたどって連番情報に対応する
辞書本体36の項目に対するオフセット情報を得る。イ
ンデックスデータ32は、辞書本体36の各項目に対す
るサイズが1件につき1バイトの領域に割り当てられて
いる。インデックスデータ31で得られた辞書本体36
への最寄りのオフセットと、インデックスデータ32で
得られる1件ごとのサイズによって、辞書本体36に格
納されている見出し語を1つずつ取り出すことが可能と
なる。
Based on the nearest serial number information to the dictionary body 36 obtained by the index of the index data 22, the index data 31 having a fixed length assigned to one item is traced to the serial number information. The offset information for the corresponding item in the dictionary body 36 is obtained. The index data 32 is assigned to an area of 1 byte for each item in the dictionary body 36. Dictionary body 36 obtained from index data 31
It is possible to retrieve the headwords stored in the dictionary body 36 one by one according to the offset closest to and the size of each case obtained from the index data 32.

【0024】こうして、該当する辞書見出しが見つかっ
た場合には、その時点で得られた連番情報に基づいて、
インデックスデータ40を参照しながら、その連番に対
する32件ごとに見た場合の最寄りのオフセット情報を
得た後、インデックスデータ41を参照しながら最寄り
のオフセットデータから1件ごとのサイズを足し込んで
該当する連番に対するオフセット情報を得、国語辞典と
して動作している場合には、意味データ42へアクセス
して該当する項目の意味データを取り出し、和英辞典と
して動作している場合には、同様の手順をふまえて意味
データ39へアクセスして該当する項目に対する英訳表
記ならびに関連情報を取り出す。
In this way, when the corresponding dictionary heading is found, based on the serial number information obtained at that time,
After referring to the index data 40, obtain the nearest offset information when looking at every 32 cases for that serial number, and then referring to the index data 41, add the size of each case from the nearest offset data. When the offset information for the corresponding serial number is obtained, and when operating as a Japanese dictionary, the meaning data 42 is accessed to retrieve the semantic data of the corresponding item, and when operating as a Japanese-English dictionary, the same Based on the procedure, the meaning data 39 is accessed to extract the English translation notation and related information for the corresponding item.

【0025】以上は、入力文字列が読みと判断された
「見出し語読み検索」の場合のインデックスデータの参
照例である。「よみ」とは国語辞典の見出し語にあたる
「とっきょ」,「せいきゅう」,「こうか」,「さよう」
といった、ひらがな文字列が入力例として挙げられる。
図3及び図4に示す「見出し語語尾読み検索」の場合
は、文字列比較の性格上、辞書本体36に格納されてい
る見出し語を逆順に並べた文字列を辞書順に並べた場合
に、辞書本体36の各項目がどのように並びかわるかと
いう情報を示したインデックスデータ33を用意する必
要がある。加えて、インデックスデータ24はインデッ
クスデータ33に用意された各項目の32件ごとの見出
し語が逆順に格納されている。
The above is a reference example of index data in the case of "entry word reading search" in which the input character string is determined to be reading. "Yomi" is a keyword in a Japanese dictionary, "Tokkyo", "Seikyu", "Kouka", and "Sayo".
Hiragana character strings such as, are given as input examples.
In the case of the “wordword suffix reading search” shown in FIGS. 3 and 4, when character strings in which the headwords stored in the dictionary body 36 are arranged in the reverse order are arranged in the dictionary order, due to the nature of the character string comparison, It is necessary to prepare the index data 33 indicating the information on how the respective items of the dictionary body 36 are arranged. In addition, the index data 24 stores the entry words for every 32 items of each item prepared in the index data 33 in reverse order.

【0026】続いて、入力文字列が表記として解釈され
た場合は、インデックスの参照のされ方が前記「よみ」
検索の場合と異なるので、図3及び図5に示す「見出し
語表記検索」の流れに従って説明する。「見出し語表記
検索」は、まず、表記インデックス27を必要とする。
該表記インデックス27は、辞書本体に登録されている
見出し語に対する表記データを表記コード順に並べたも
ので、実際の表記インデックス27の構造は、表記コー
ド順に配置された表記が辞書本体36において何番目に
あたるかという連番情報が2バイトの固定長で格納され
ている。
Subsequently, when the input character string is interpreted as a notation, the index is referred to in the "read".
Since it is different from the case of the search, the description will be given according to the flow of the "entry word notation search" shown in FIGS. The “entry word notation search” first requires the notation index 27.
The notation index 27 is obtained by arranging notation data for headwords registered in the dictionary body in the notation code order. The actual notation index 27 has a structure in which the notations arranged in the notation code order in the dictionary body 36. Sequential number information indicating whether or not it corresponds is stored in a fixed length of 2 bytes.

【0027】しかし、この表記インデックス27には、
見出し語に対する表記に加えて、図16や図17に示し
たキーワード(派生語)も混在しているため、本実施例
では、各項目に対する見出し語に対する表記かキーワー
ド(派生語)かの区別を1件1ビットのフラグ情報とし
てインデックスデータ26を設け、インデックスデータ
25で得られた連番に対応するビットフラグを取り出
し、1件の文字列比較が終了するまで保持することにし
ている。そして、表記インデックス27には、見出し語
に対する表記の項目に対しては辞書本体36に対する連
番を格納し、キーワード(派生語)に対する情報は別に
インデックスデータ34,35を設けて、もし、フラグ
インデックス26でキーワードとして登録されている表
記を見にいくと判断された場合には、表記インデックス
27に格納されている2バイト情報はインデックスデー
タ34へのオフセット情報であるものと解釈し、インデ
ックスデータ34に格納された1件4バイトの情報から
キーワード(派生語)表記が格納されているインデック
スデータ35へのオフセット情報と、そのキーワード
(派生語)を含んでいる項目の辞書本体36に対する連
番情報を得、実際の文字列比較はインデックス35をた
どりながら、該当する項目を辞書本体36から取り出し
ていく。
However, in this notation index 27,
Since the keywords (derivatives) shown in FIG. 16 and FIG. 17 are mixed in addition to the notation for the headword, in the present embodiment, it is necessary to distinguish between the notation for the headword and the keyword (derivative) for each item. The index data 26 is provided as 1-bit flag information for each case, and the bit flag corresponding to the serial number obtained by the index data 25 is extracted and held until one character string comparison is completed. Then, in the notation index 27, serial numbers for the dictionary body 36 are stored for items of notation for headwords, and index data 34, 35 are separately provided for information on keywords (derivatives). If it is determined in 26 that the notation registered as a keyword is to be viewed, the 2-byte information stored in the notation index 27 is interpreted as offset information to the index data 34, and the index data 34 Offset information from the 4-byte information stored in 1 to the index data 35 storing the keyword (derivative) notation, and serial number information for the dictionary body 36 of the item including the keyword (derivative) And the actual string comparison follows the index 35, It will be removed from the book body 36.

【0028】「見出し語語尾表記検索」の場合も同様
に、表記インデックス27の示す表記を逆順に並べかえ
た文字列を表記コード順に配した場合の辞書本体36へ
の連番情報を2バイトの固定長で格納した逆表記インデ
ックス30と、それぞれの表記に対応するキーワード
(派生語)フラグ情報を格納しているインデックスデー
タ29を備えている。ただし、派生語表記を格納してい
るインデックスデータは「見出し語表記検索」のインデ
ックスデータ35と共有しており、逆表記インデックス
中のキーワード(派生語)インデックス34に対するオ
フセット情報は、該当するキーワード表記が格納されて
いる先頭アドレスを正しく指し示すように作られてい
る。また、国語辞典の意味データや和英辞典の英訳デー
タの取り出し方は、辞書本体36に至るまでに得られた
連番情報に基づいて、インデックス37(40)やイン
デックス38(41)から実際に和英データ39や国語
意味データ42へのオフセットを得る「見出し語読み検
索」や「見出し語語尾読み検索」の手順と同様である。
Similarly, in the case of the "entry word suffix notation search", the serial number information in the dictionary body 36 when the character strings obtained by rearranging the notations shown in the notation index 27 are arranged in the notation code is fixed to 2 bytes. The reverse notation index 30 stored in length and the index data 29 storing keyword (derivative) flag information corresponding to each notation are provided. However, the index data storing the derivative word notation is shared with the index data 35 of the “headword notation search”, and the offset information for the keyword (derivative word) index 34 in the reverse notation index is the corresponding keyword notation. Is designed to correctly point to the starting address where is stored. The meaning data of the Japanese dictionary and the English translation data of the Japanese-English dictionary can be extracted from the index 37 (40) or the index 38 (41) based on the serial number information obtained up to the dictionary body 36. The procedure is the same as the "headword reading search" or the "headword ending search" for obtaining an offset to the data 39 or the national meaning data 42.

【0029】次に、本発明に記載の「表記検索」におけ
る具体的な入力例として、図16,17で取り上げた
「音楽」に基づく検索の流れを図8〜図10に従って説
明する。図8において、検索がスタートすると、まず、
S1で検索方法を判定する。あらかじめ指定された検索
方法に基づき、登録された単語との前方一致部分で検索
をすすめていく「順引き検索」か、登録され単語との後
方部分一致で検索をすすめていく「逆引き検索」かが選
択される。入力文字列として「音楽」、検索方法として
「順引き検索」が指定されたものとして、以下の図9に
基づいて説明する。
Next, as a specific input example in the "notation search" according to the present invention, the flow of the search based on "music" taken up in FIGS. 16 and 17 will be described with reference to FIGS. In FIG. 8, when the search starts, first,
The search method is determined in S1. Based on the search method specified in advance, "forward search" that proceeds with the prefix match with the registered word, or "reverse lookup" with the backward match with the registered word Is selected. Assuming that "music" is specified as the input character string and "forward search" is specified as the search method, description will be made based on FIG. 9 below.

【0030】図9において、S2で入力文字列「音楽」
が一時記憶装置にセットされたあと、S3で入力文字列
「音楽」に対する判定が行われる。実施例の判定基準で
は、ひらがなで構成される文字列は読み検索として、カ
タカナ・漢字混じりの場合は表記検索として判断される
ので、この場合、表記検索にすすむ。
In FIG. 9, the input character string "music" is entered in S2.
After being set in the temporary storage device, the input character string "music" is determined in S3. According to the determination criterion of the embodiment, a character string composed of hiragana is determined as a phonetic search, and when a mixture of katakana and kanji is determined as a notation search, the notation search is performed in this case.

【0031】図10において、まず、S4で入力文字列
先頭「音」が取り出され、S5で25を参照することに
よって「音」から始まる項目の最初のものの表記インデ
ックス27に対する連番情報を得る。S6では、S5で
得られた連番に対応する1ビットを取り出す。S7では
S6で得られたフラグ情報に基づいて、該当する表記イ
ンデックスの項目が見出し語に対する表記として登録さ
れたものか、キーワード(派生語)として登録されたも
のかの判定を行い、見出し語の表記として登録されてい
る項目に対してはS8へ、キーワード(派生語)として
登録されている項目の場合はS13へすすむ。
In FIG. 10, first, the input character string head "sound" is extracted in S4, and the serial number information for the notation index 27 of the first item starting from "sound" is obtained by referring to 25 in S5. At S6, one bit corresponding to the serial number obtained at S5 is taken out. In S7, based on the flag information obtained in S6, it is determined whether the item of the corresponding notation index is registered as a notation for the entry word or is registered as a keyword (derivative word), and the entry word Proceed to S8 for the item registered as the notation, and proceed to S13 for the item registered as the keyword (derivative).

【0032】仮に、見出し語の表記として登録された項
目を見に行く場合は、S8で表記インデックス27から
辞書本体36に対する連番を取り出し、辞書本体36の
各項目の32件ごとのオフセット値が格納されているイ
ンデックスデータ41から最寄りのオフセット値を得
て、S9で最寄りのオフセット値からの1件ごとのサイ
ズを得ながら、S10で辞書本体36より見出し語と表
記を得る。そして、S11において入力文字列「音楽」
と取り出された表記との文字列比較を行い、もし、一致
しない場合は、S12において、その表記が入力文字列
「音楽」よりコード的に大きくなっていないかの判定を
行う。もし、辞書本体36の登録の表記が入力文字列よ
りも大きくなっていれば、検索が終了したものとする。
If it is desired to go to the item registered as the entry word notation, the serial number for the dictionary body 36 is taken out from the notation index 27 in S8, and the offset value for each 32 items of each item in the dictionary body 36 is calculated. The closest offset value is obtained from the stored index data 41, and the size of each case from the closest offset value is obtained at S9, while the entry word and the notation are obtained from the dictionary body 36 at S10. Then, in S11, the input character string "music"
And the extracted notation are compared with each other, and if they do not match, in S12, it is determined whether the notation is larger in code than the input character string "music". If the notation of registration in the dictionary body 36 is larger than the input character string, it is determined that the search is completed.

【0033】また、辞書本体36の登録の表記が入力文
字列よりも大きくなっていなければ、辞書本体36の後
続に該当する表記が登録されている可能性があるので、
S5で得られた表記インデックスに対する連番をインク
リメントしたあと、再びS6からの処理を行う。S11
で辞書本体36の登録の表記と一致したものが見つかれ
ば、S15で辞書本体36に登録された読み、表記辞書
連番、辞書本体での連番を一時記憶装置にセットする。
この処理の過程で得られた項目は、図16に示す「おん
がく」(音楽)である。
If the notation for registration in the dictionary body 36 is not larger than the input character string, there is a possibility that the notation corresponding to the succeeding one in the dictionary body 36 is registered.
After incrementing the serial number for the notation index obtained in S5, the processing from S6 is performed again. S11
If a match with the registered notation in the dictionary body 36 is found at, the reading, notation dictionary serial number, and the serial number at the dictionary body registered in the dictionary body 36 are set in the temporary storage device in S15.
The item obtained in the process of this process is "music" (music) shown in FIG.

【0034】また、S7における判定において、登録さ
れている表記がキーワード(派生語)であると判定され
た場合には、S13で表記インデックス27の2バイト
情報を派生語1次インデックス34へのオフセットであ
ると解釈し、派生語1次インデックスより派生語2次イ
ンデックスへのオフセットと辞書本体36に対する連番
を得、S14で登録されているキーワード(派生語)を
取り出して、S11において入力文字列との比較を行
う。一致すれば、S15において一時記憶装置に該当す
る辞書本体の読み、表記インデックス連番、辞書本体へ
の連番がセットされるが、一致しない場合の処理は前述
の通りである。この処理の過程で得られた項目は、図1
6に示す「ちょう」(調),「ききどころ」(聞所),
「しらべ」(調べ)である。
If it is determined in S7 that the registered notation is a keyword (derivative), the 2-byte information of the notation index 27 is offset to the derivative primary index 34 in S13. , The offset to the derivative word secondary index from the derivative word primary index and the serial number for the dictionary body 36 are obtained, the keyword (derivative word) registered in S14 is extracted, and the input character string is obtained in S11. Compare with. If they match, the reading of the dictionary body corresponding to the temporary storage device, the notation index serial number, and the serial number to the dictionary body are set in S15, but if they do not match, the processing is as described above. Items obtained in the process of this process are shown in FIG.
"Chou" (key), "kikidokoro" (monsho) shown in 6
"Shirabe" (search).

【0035】検索全体を通じて得られる各情報の様子
は、入力文字列「音楽」の先頭文字「音」で始まる項目
が「音階」で検索が終了する項目が入力文字列「音楽」
をコード的に越えてしまう「音感」までとすれば、図7
に示す通りである。このように、表記検索が終了した時
点で、一時記憶装置には該当する項目の見出し語,見出
し語に対する表記,辞書本体に対する連番,表記インデ
ックスに対する連番,キーワード(派生語)フラグが項
目語とに格納される。
The state of each information obtained throughout the search is as follows: the item starting with the first character "sound" of the input character string "music" is "scale" and the item ending the search is the input character string "music"
As far as the "sense of sound" is exceeded in terms of chords,
As shown in. In this way, when the notation search is completed, the entry word of the corresponding item, the notation for the entry word, the serial number for the dictionary body, the serial number for the notation index, and the keyword (derivative) flag are stored in the temporary storage device as the item word. Stored in and.

【0036】実施例1 前述のようにして、表記検索に関して該当する候補の辞
書本体に対する連番情報をもとにソートを行えば、複数
の候補を読み順に並びかえることが可能である。実施例2 また、表記検索に関して該当する候補のキーワード(派
生語)フラグ情報に基づいて、図12に示す分離手段を
追加すれば、該当する候補のうち、見出し語に対する表
記で見つかったものと、見出し語に関するキーワード
(派生語)で見つかったものとの分離が可能である。先
に示した入力文字列「音楽」に対する4つの候補「おん
がく」(音楽),「ちょう」(調),「ききどころ」
(聞所),「しらべ」(調べ)は以下のように分離され
る。
Embodiment 1 As described above, a plurality of candidates can be rearranged in the reading order by performing sorting based on the serial number information of the dictionary body of the relevant candidate regarding the notation search. Example 2 In addition, if the separating means shown in FIG. 12 is added based on the keyword (derivative word) flag information of the candidate corresponding to the notation search, among the relevant candidates, the one found by the notation for the entry word, It is possible to separate from the keywords found in keywords (derivatives) related to entry words. Four candidates for the input character string "music" shown above, "Ongaku" (music), "Cho" (key), "Kikidoro"
(Speaking place), "Shirabe" (search) are separated as follows.

【0037】まず、S21において表記インデックスに
登録された順序に従って得られた候補を、それぞれの候
補に関するキーワード(派生語)フラグ情報とともに一
時記憶装置に読み込む。S22において一時記憶装置に
残された候補の終了を確認しながら、S23において各
候補に関するフラグ情報を判定していく。本実施例で
は、辞書本体36の見出し語に対する表記とのマッチン
グで見つかった候補のフラグは「0」、辞書本体の見出
し語に関するキーワード(派生語)とのマッチングで見
つかった候補のフラグを「1」としているので、フラグ
「1」の候補はS24で一時記憶装置内に設けられたバ
ッファにセットされ、フラグ「2」の候補はS25で
一時記憶装置内に設けられたバッファにセットされ
る。この処理を最後の候補まで繰り返すと、実施例2の
処理は完了する。
First, the candidates obtained according to the order registered in the notation index in S21 are read into the temporary storage together with the keyword (derivative) flag information regarding each candidate. While confirming the end of the candidates left in the temporary storage device in S22, the flag information regarding each candidate is determined in S23. In the present embodiment, the candidate flag found by matching with the notation for the entry word in the dictionary body 36 is "0", and the candidate flag found by matching with the keyword (derivative) related to the entry word in the dictionary body is "1". Therefore, the candidate of the flag “1” is set in the buffer provided in the temporary storage device in S24, and the candidate of the flag “2” is set in the buffer provided in the temporary storage device in S25. When this process is repeated until the last candidate, the process of the second embodiment is completed.

【0038】実施例3 実施例3は、実施例1の処理と実施例2の処理を組み合
わせたものとなり、図11に示すような処理を並び替え
手段14とすることで実施される。この処理は、表記検
索において見つかった候補を任意の指定方法に基づいて
並びかえることが可能で、図11のS16およびS18
で切替えられる。つまり、一旦ある表示方法(例えば、
見つかった候補の読み順・キーワード検索候補分離)に
基づいて並びかえた結果を表示したあとでも、再び同じ
候補に対して別の表示方法(今度は、見つかった候補の
表記順・キーワード検索候補混合表示)での表示も可能
である。この場合は、一時記憶装置に設けたバッファに
最初の並びを記憶させておいて、その並びをもとに図1
1の処理を施せば、実現可能となるものである。
Third Embodiment The third embodiment is a combination of the processing of the first embodiment and the processing of the second embodiment, and is implemented by using the processing shown in FIG. In this processing, the candidates found in the notation search can be rearranged based on an arbitrary designation method, and S16 and S18 in FIG.
Can be switched with. That is, a certain display method (for example,
Even after displaying the results rearranged based on the reading order of the found candidates / separation of keyword search candidates, another display method is displayed again for the same candidates (this time, the order of the found candidates is mixed and the keyword search candidates are mixed). Display) is also possible. In this case, the first sequence is stored in the buffer provided in the temporary storage device, and the sequence shown in FIG.
This can be realized by performing the processing of 1.

【0039】さて、図11の処理では、最初に格納され
た候補に対して、S16でキーワードフラグに基づく分
離表示の判定を行う。もし、分離表示を行う要請があれ
ば、図12に示す処理を図11のS17で行い、次の判
定を待つ。分離表示の要請がなければ、検索候補はその
ままの順序を保ったまま、S18で行われる読み順表示
の要請を待つ。S18において、読み順表示の要請があ
れば、各候補に関する辞書本体36への連番情報に基づ
くソート処理を行い、S20においてバッファにセット
する。読み順表示の要請がなければ、最初の候補はもと
もと表記コード順であるので、S19の処理は行わず、
S20において結果をバッファにセットする。
In the process of FIG. 11, the candidate stored first is judged in S16 as to the separated display based on the keyword flag. If there is a request for separate display, the process shown in FIG. 12 is performed in S17 of FIG. 11, and the next determination is awaited. If there is no separate display request, the search candidates are kept in the same order and wait for the read order display request made in S18. If a reading order display request is made in S18, a sorting process based on the serial number information on the dictionary main body 36 for each candidate is performed, and set in the buffer in S20. If there is no request for reading order display, the first candidate is originally in the notation code order, so the process of S19 is not performed.
In S20, the result is set in the buffer.

【0040】もし、S16においてキーワード(派生
語)の分離表示処理を行った後で、さらに、S19にお
いて読み順並べかえ処理を行う場合は、図12のS2
4,S25にセットされたそれぞれの候補群に対して処
理が行われるものである。従って、この場合の処理結果
は、入力例「悪い」に対して、図13(a)のような一
連の情報が確保されたならば、図13(d)のような表
示結果を得ることができる。さらに、再び検索された候
補の分離表示のみを指定すれば、もとの検索結果、図1
3(a)に基き、図13(c)のような表示にすること
もできるし、読み順表示のみを指定すれば、図13
(b)のような表示結果を得ることもできる。
If the keyword (derivative) is separated and displayed in S16 and then the reading order rearrangement process is performed in S19, S2 in FIG.
4, the processing is performed on each of the candidate groups set in S25. Therefore, as for the processing result in this case, if a series of information as shown in FIG. 13A is secured for the input example “bad”, a display result as shown in FIG. 13D can be obtained. it can. Furthermore, if only the separated display of the candidates searched again is specified, the original search results, as shown in FIG.
Based on 3 (a), the display as shown in FIG. 13 (c) can be made, or if only the reading order display is designated, the display shown in FIG.
It is also possible to obtain the display result as shown in (b).

【0041】前述したように、本発明は、検索が終了し
た時点で、各候補に関する付加情報として、見出し語お
よび見出し語に対する表記に加えて、各候補の辞書本体
に対する連番,表記インデックスに対する連番,キーワ
ード(派生語)フラグ情報をセットできるように構成さ
れた辞書データおよびインデックス・データと、各候補
に関する情報に基づいてソート処理あるいは分別処理を
行う手段とで構成される。これにより、表記コード順に
並べられたデータを表記で検索する場合、複数の候補を
従来どおり表記コード順に表示する表示手段に加えて、
読み順(辞書順)に並べかえて表示することができる。
As described above, according to the present invention, at the time when the search is completed, as additional information about each candidate, in addition to the entry word and the entry for the entry word, the serial number of each candidate for the dictionary body and the entry index for the entry index are added. Number and keyword (derivative word) flag information, and dictionary data and index data configured to be set, and means for performing sort processing or classification processing based on information about each candidate. Thereby, when searching the data arranged in the notation code order by notation, in addition to the display means for displaying a plurality of candidates in the notation code order as before,
It can be rearranged and displayed in the reading order (dictionary order).

【0042】また、見出し語に対する表記と、キーワー
ドや派生語といった見出し語に関連する表記が表記イン
デックス27に混在する辞書データを検索する場合に、
同表記内での並びを見出し語に対する表記が優先的に前
になるように配置するか、もしくは一旦検索結果を一時
記憶装置12に格納して出力装置17に結果を表示させ
る前に、見出し語に対する表記を優先的に前になるよう
に並び替えてから表示させることができる。
When searching for dictionary data in which the notation for the entry word and the notation related to the entry word such as the keyword or derivative word are mixed in the notation index 27,
Arrange the arrangement in the same notation so that the notation for the headword is preferentially preceded, or temporarily store the search result in the temporary storage device 12 and display the result on the output device 17 before the headword is displayed. The notation for can be rearranged so that it is displayed first, and then displayed.

【0043】[0043]

【発明の効果】以上の説明から明らかなように、本発明
によると、以下のような効果がある。 (1)請求項1に対応する効果:表記順インデックスデ
ータ27の構造に、各項目を読み順(辞書順)にした場
合の連番情報あるいは辞書順インデックスデータ36に
おけるオフセット情報を付加し、表記検索によって複数
の候補が挙げられた場合は、それぞれに付加された連番
情報あるいは辞書順インデックスデータ36におけるオ
フセット情報をもとにソート可能な検索候補並び替え機
能をつけ加える。このように、表記で検索して複数の候
補を表示する場合でも、読み順(辞書順)に並びかえて
表示することができる。したがって、図13(b)に示
すような使い勝手のよい電子辞書を提供することができ
る。 (2)請求項2に対応する効果:表記検索用のインデッ
クスデータ27に付加されたキーワードフラグについ
て、同表記(同じ表記コード)内での並びを、表記本体
をキーワード(派生語)よりも前に配置するインデック
ス作成手段を用いるか、もしくは、そのようなインデッ
クス作成手段を用いなくとも、一旦候補を一時記憶手段
に格納し終えて、表示手段に結果を表示させる前に、あ
らかじめそれぞれの候補とともに一時記憶装置にキーワ
ードフラグ情報を一緒に格納しておくことで、そのキー
ワードフラグ情報をもとに、それぞれの候補を、入力文
字列をキーワードとして見つかったものと、入力文字列
を見出し語の表記として見つかったものとに分離する機
能を付け加える。このように、キーワード入力を許す表
記検索において、複数の候補を表示する場合でも、入力
文字列を見出し語に対する表記として持つ項目を入力文
字列を派生語として見つかった見出しよりも先に表示す
ることが可能である。したがって、派生語検索ができる
という電子辞書の長所を損うことなく、図13(c)に
示すような使い勝手のよい電子辞書を提供することがで
きる。 (3)請求項3に対応する効果:前記請求項1記載の検
索候補並び替え機能に、前記請求項2記載の検索候補分
離機能を追加した検索候補並べ替え機能を持たせる。こ
のように、請求項2の効果に請求項1の効果が加わるの
で、図13(d)に示すような、より使い勝手のよい電
子辞書を提供することができるものである。
As is apparent from the above description, the present invention has the following effects. (1) Effect corresponding to claim 1: Notation is performed by adding serial number information when each item is in the reading order (dictionary order) or offset information in the dictionary order index data 36 to the structure of the notation order index data 27. When a plurality of candidates are listed by the search, a search candidate rearrangement function that allows sorting based on the serial number information added to each candidate or the offset information in the dictionary order index data 36 is added. In this way, even when a plurality of candidates are displayed by searching with the notation, they can be rearranged and displayed in the reading order (dictionary order). Therefore, it is possible to provide a convenient electronic dictionary as shown in FIG. (2) Effect corresponding to claim 2: Regarding the keyword flag added to the index data 27 for notation search, the arrangement in the same notation (same notation code) is preceded by the notation body before the keyword (derivative). Or without using such an index creating means, once the candidates have been stored in the temporary storage means and before the results are displayed on the display means, the By storing the keyword flag information together in the temporary storage device, based on the keyword flag information, each candidate is found with the input character string as a keyword and the input character string is described as a headword. The function to separate from the one found as is added. In this way, in the notation search that allows keyword input, even when displaying multiple candidates, the item that has the input character string as the notation for the entry word should be displayed before the heading found as the derivative word. Is possible. Therefore, it is possible to provide an easy-to-use electronic dictionary as shown in FIG. 13C without impairing the advantage of the electronic dictionary that the derived words can be searched. (3) Effect corresponding to claim 3: The search candidate sorting function according to claim 1 has a search candidate sorting function in which the search candidate separating function according to claim 2 is added. As described above, the effect of claim 1 is added to the effect of claim 2, so that a more user-friendly electronic dictionary as shown in FIG. 13D can be provided.

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

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

【図2】図1の機能ブロック図である。FIG. 2 is a functional block diagram of FIG.

【図3】本発明における辞書及び各種インデックスの構
成例を示す全体関係図である。
FIG. 3 is an overall relationship diagram showing a configuration example of a dictionary and various indexes according to the present invention.

【図4】本発明における辞書及び各種インデックスの構
成例を示す部分拡大図(その1)である。
FIG. 4 is a partially enlarged view (No. 1) showing a configuration example of a dictionary and various indexes according to the present invention.

【図5】本発明における辞書及び各種インデックスの構
成例を示す部分拡大図(その2)である。
FIG. 5 is a partially enlarged view (No. 2) showing a configuration example of a dictionary and various indexes according to the present invention.

【図6】本発明における辞書及び各種インデックスの構
成例を示す部分拡大図(その3)である。
FIG. 6 is a partially enlarged view (No. 3) showing a configuration example of a dictionary and various indexes according to the present invention.

【図7】本発明におけるキーワード(派生語)検索を可
能とする表記インデックスの構成例と辞書本体へのポイ
ントの様子を示す図である。
FIG. 7 is a diagram showing a configuration example of a notation index that enables a keyword (derivative) search according to the present invention, and a state of points to the dictionary body.

【図8】本発明における検索のフローチャートである。FIG. 8 is a flowchart of a search according to the present invention.

【図9】本発明における順引き検索のフローチャート
(その1)である。
FIG. 9 is a flowchart (No. 1) of forward search according to the present invention.

【図10】本発明における表記検索のフローチャート
(その1)である。
FIG. 10 is a flowchart (1) of the notation search according to the present invention.

【図11】本発明における表記検索のフローチャート
(その2)である。
FIG. 11 is a flowchart (No. 2) of notation search according to the present invention.

【図12】本発明における表記検索の分離処理のフロー
チャートである。
FIG. 12 is a flowchart of a notation search separation process according to the present invention.

【図13】本発明における各実施例の表示例を示す図で
ある。
FIG. 13 is a diagram showing a display example of each embodiment of the present invention.

【図14】従来の入力文字に対する表示例を示す図であ
る。
FIG. 14 is a diagram showing a display example of a conventional input character.

【図15】従来の他の入力文字に対する表示例を示す図
である。
FIG. 15 is a diagram showing a display example of another conventional input character.

【図16】従来の入力文字に対する一覧表示例を示す図
である。
FIG. 16 is a diagram showing a conventional list display example for input characters.

【図17】従来の入力文字に対する詳細表示例を示す図
である。
FIG. 17 is a diagram showing a conventional detailed display example of input characters.

【図18】従来の派生語検索で混乱を招く表示例を示す
図である。
FIG. 18 is a diagram showing a display example that causes confusion in a conventional derivative word search.

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

1…CPU(中央処理装置)、2…RAM(Random Acc
ess Memory)、3…ROM(Read Only Memory)、4…
入力インターフェース(I/F)、5…入力装置、6…
出力インターフェース(I/F)、7…出力装置、8…
I/Oポート、9…外部記憶装置、11…入力手段、1
2…記憶手段、13…一時記憶手段、14…並びかえ手
段、15…表示手段、16…読み検索手段、17…語尾
読み検索手段、18…表記検索手段、19…語尾表記検
索手段。
1 ... CPU (central processing unit), 2 ... RAM (Random Acc
ess Memory), 3 ... ROM (Read Only Memory), 4 ...
Input interface (I / F), 5 ... Input device, 6 ...
Output interface (I / F), 7 ... Output device, 8 ...
I / O port, 9 ... External storage device, 11 ... Input means, 1
2 ... storage means, 13 ... temporary storage means, 14 ... rearrangement means, 15 ... display means, 16 ... reading search means, 17 ... suffix reading search means, 18 ... notation search means, 19 ... suffix notation search means.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 辞書データや検索用インデックスを記憶
するための記憶手段と、検索すべき文字列を入力するた
めの入力手段と、入力文字列との文字列比較を行いなが
ら検索用インデックスをたどってテキストデータの所定
の部分にアクセスするための検索手段と、検索結果など
必要なデータを表示するための表示手段と、前記各手段
を制御する制御手段とを備えた電子辞書表示装置におい
て、表記順インデックスをたどって検索する表記検索の
結果を読み順に表示するか、又は表示コード順に表示す
るかの切換えを利用者の選択により可能とする切換手段
を有することを特徴とする電子辞書表示装置。
1. A storage means for storing dictionary data and a search index, an input means for inputting a character string to be searched, and a search index while tracing a character string with the input character string. In the electronic dictionary display device, there is provided a search means for accessing a predetermined portion of the text data, a display means for displaying necessary data such as a search result, and a control means for controlling the respective means. An electronic dictionary display device having a switching means that enables a user to select whether to display the result of the notation search in which the sequential index is searched for in the reading order or in the display code order.
【請求項2】 辞書データや検索用インデックスを記憶
するための記憶手段と、検索すべき文字列を入力するた
めの入力手段と、入力文字列との文字列比較を行いなが
ら検索用インデックスをたどってテキストデータの所定
の部分にアクセスするための検索手段と、検索結果など
必要なデータを表示するための表示手段と、前記各手段
を制御する制御手段とを備えた電子辞書表示装置におい
て、表記順インデックスをたどって検索するキーワード
入力検索の際に、キーワードを含む項目と入力文字列そ
のものを見出しとして持つ項目の混合表示又は分離表示
の切換えを可能にする切換手段を有することを特徴とす
る電子辞書表示装置。
2. The search index is traced while performing a character string comparison with a storage means for storing dictionary data and a search index, an input means for inputting a character string to be searched, and an input character string. In the electronic dictionary display device, there is provided a search means for accessing a predetermined portion of the text data, a display means for displaying necessary data such as a search result, and a control means for controlling the respective means. An electronic device characterized by having a switching means capable of switching between mixed display or separated display of an item containing a keyword and an item having the input character string itself as a heading at the time of a keyword input search for searching by following a forward index. Dictionary display device.
【請求項3】 前記分離表示を行った場合に、読み順表
示か表記コード順表示かの切替えを利用者の選択により
可能にしていることを特徴とする請求項2記載の電子辞
書表示装置。
3. The electronic dictionary display device according to claim 2, wherein when the separate display is performed, the reading order display or the notation code order display can be switched by the user's selection.
JP31813794A 1994-12-21 1994-12-21 Electronic dictionary display Expired - Lifetime JP3187671B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31813794A JP3187671B2 (en) 1994-12-21 1994-12-21 Electronic dictionary display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31813794A JP3187671B2 (en) 1994-12-21 1994-12-21 Electronic dictionary display

Publications (2)

Publication Number Publication Date
JPH08180060A true JPH08180060A (en) 1996-07-12
JP3187671B2 JP3187671B2 (en) 2001-07-11

Family

ID=18095922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31813794A Expired - Lifetime JP3187671B2 (en) 1994-12-21 1994-12-21 Electronic dictionary display

Country Status (1)

Country Link
JP (1) JP3187671B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008018287A1 (en) * 2006-08-07 2008-02-14 Sharp Kabushiki Kaisha Search device and search database generation device
JP2010108398A (en) * 2008-10-31 2010-05-13 Aisin Aw Co Ltd Data list reader/writer and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008018287A1 (en) * 2006-08-07 2008-02-14 Sharp Kabushiki Kaisha Search device and search database generation device
JP2010108398A (en) * 2008-10-31 2010-05-13 Aisin Aw Co Ltd Data list reader/writer and method thereof

Also Published As

Publication number Publication date
JP3187671B2 (en) 2001-07-11

Similar Documents

Publication Publication Date Title
US4775956A (en) Method and system for information storing and retrieval using word stems and derivative pattern codes representing familes of affixes
US5099426A (en) Method for use of morphological information to cross reference keywords used for information retrieval
US6523030B1 (en) Sort system for merging database entries
JPH0628403A (en) Document retrieving device
US20070179932A1 (en) Method for finding data, research engine and microprocessor therefor
JPH0782504B2 (en) Information retrieval processing method and retrieval file creation device
JPH0944523A (en) Relative word display device
JPH08180060A (en) Electronic dictionary display device
JPH0991297A (en) Character string search method and device
JPH08339376A (en) Foreign language retrieving device and information retrieving system
JPH05250416A (en) Registering and retrieving device for data base
JPH1185765A (en) Retrieval system for document with tag
JPH10124524A (en) Device for retrieving document and method therefor
JPH07296005A (en) Japanese text registration / search device
JPH09212523A (en) Entire sentence retrieval method
JP3241854B2 (en) Automatic word spelling correction device
JPH0785040A (en) Inconsistent notation detection method and kana-kanji conversion method
JPH01214963A (en) Device for consulting dictionary
JPH0944521A (en) Index generating device and document retrieval device
JP3585944B2 (en) Data processing method and apparatus
JP2975529B2 (en) Electronic dictionary search device
JPH09269952A (en) Document retrieval device/method
JPH02148174A (en) Data retrieving device
WO1992009960A1 (en) Data retrieving device
JPS6380361A (en) Language information processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080511

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140511

Year of fee payment: 13

EXPY Cancellation because of completion of term