JP2000331023A - Information retrieval device and storage medium with information retrieval processing program stored - Google Patents

Information retrieval device and storage medium with information retrieval processing program stored

Info

Publication number
JP2000331023A
JP2000331023A JP11141474A JP14147499A JP2000331023A JP 2000331023 A JP2000331023 A JP 2000331023A JP 11141474 A JP11141474 A JP 11141474A JP 14147499 A JP14147499 A JP 14147499A JP 2000331023 A JP2000331023 A JP 2000331023A
Authority
JP
Japan
Prior art keywords
headword
search
keyword
headwords
word
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
JP11141474A
Other languages
Japanese (ja)
Other versions
JP3945075B2 (en
Inventor
Takatoshi Abe
貴俊 阿部
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP14147499A priority Critical patent/JP3945075B2/en
Publication of JP2000331023A publication Critical patent/JP2000331023A/en
Application granted granted Critical
Publication of JP3945075B2 publication Critical patent/JP3945075B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To easily retrieve a desired entry word regardless of a slight error in a keyword in an information retrieval device which retrieves and displays information corresponding to the entry word. SOLUTION: When an input part 12 is operated to input a keyword corresponding to the desired entry word, the keyword is successively compared with individual entry words in a data base 13a to discriminate it completely coincides with each entry word or not. If there is not any entry word which the keyword completely coincides with, the numbers of characters from the head which coincide with those of the keyword and the numbers of characters from the end which coincide with those of the keyword are counted for individual entry words and are compared, and each entry word is stored in a head coincidence retrieval-entry word memory 16d1 together with its number of coinciding characters if the number of characters from the head which coincide with those of the keyword is large, and each entry word is stored in an end coincidence retrieval entry word memory 16d2 together with its number of coinciding characters if the number of characters from the end which coincide with those of the keyword is large. An entry word of which the number of coinciding characters is largest out of entry words obtained by head coincidence retrieval and end coincidence retrieval is taken as a retrieval entry word and is stored in a retrieval word list memory 16c and is displayed on a liquid crystal display part 17.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、英和辞書や和英辞
書等のデータベースを対象とし、見出し語に対応付けら
れた情報を検索して表示するための情報検索装置及び情
報検索処理プログラムを記憶した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is directed to a database such as an English-Japanese dictionary or a Japanese-English dictionary, and stores an information retrieval apparatus and an information retrieval processing program for retrieving and displaying information associated with a headword. It relates to a storage medium.

【0002】[0002]

【従来の技術】近年、英和辞書や和英辞書等の辞書デー
タをデータベースとして記憶し、検索したい語句をキー
ワードとして入力することで、このキーワードと一致す
る見出し語が検索され、この検索された見出し語に対応
付けられて記憶されている意味内容が読み出されて表示
されるようにした電子辞書装置が考えられている。
2. Description of the Related Art In recent years, dictionary data such as English-Japanese dictionaries and Japanese-English dictionaries are stored as a database, and by inputting a keyword to be searched as a keyword, a headword matching this keyword is searched. There has been proposed an electronic dictionary device in which the meaning content stored in association with the electronic dictionary is read and displayed.

【0003】このような電子辞書装置において、データ
ベースを対象としたキーワードからの検索手段として
は、これまでに様々な検索手法が考えられているが、こ
こで、代表的な4つのデータ検索手法(1)〜(4)に
ついて説明する。
[0003] In such an electronic dictionary device, various search methods have been considered as a means for searching a database for keywords, but here, four typical data search methods ( 1) to (4) will be described.

【0004】(1)先頭一致検索手法 入力されたキーワードに対し、その先頭の文字から順に
所定文字数分一致する文字列を有する見出し語を検索し
て一覧表示し、この中から所望の見出し語を特定してそ
の意味内容を表示させる手法。
(1) Head Match Search Method Searches for a headword having a character string that matches a predetermined number of characters in order from the head character of the input keyword and displays the list, and a desired headword is selected from these. A method to identify and display the meaning content.

【0005】(2)文字数一致検索手法−その1 入力されたキーワードと同一の文字数から成る見出し語
を検索し、一致文字数の多い見出し語から順に表示させ
る手法。
(2) Character Number Matching Search Method-Part 1 A method of searching for a headword having the same number of characters as the input keyword and displaying the headwords with the number of matching characters in descending order.

【0006】(3)文字数一致検索手法−その2 入力されたキーワードと同一の文字数から成る見出し語
及び数文字増減した見出し語を検索し、一致文字数の多
い見出し語から順に表示させる手法。
(3) Character Number Matching Search Method-Part 2 A method of searching for a headword having the same number of characters as the input keyword and a headword having a number of characters increased and decreased, and displaying the headwords with the number of matching characters in descending order.

【0007】(4)スペルチェック&コレクト手法 データベースの各見出し語に対し、キーワードとして入
力した場合に間違え易い文字列からなる疑似の見出し語
も予め共に記憶させておき、入力されたキーワードと一
致する見出し語を検索して表示させる手法。
(4) Spell Checking and Correcting Method For each headword in the database, a pseudo headword consisting of a character string that is likely to be mistaken when input as a keyword is also stored together in advance, and matches the input keyword. A method to search for and display headwords.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、このよ
うなデータ検索手法を備えた電子辞書装置では、次のよ
うな問題がある。
However, the electronic dictionary device provided with such a data search method has the following problems.

【0009】(1)先頭一致検索手法では、入力したキ
ーワード内で所望の見出し語とは異なる間違えた文字が
先頭近くにあった場合には、該所望の見出し語を検索す
るのが困難な問題がある。
(1) In the head match search method, if an erroneous character different from the desired headword is found near the head in the input keyword, it is difficult to search for the desired headword. There is.

【0010】(2)文字数一致検索手法−その1では、
キーワード内で所望の見出し語と一部異なる文字の間違
えがあっても、総文字数が正しければ所望の見出し語を
検索することは可能であるが、該入力したキーワードの
文字数そのものが文字列の間違えで所望の見出し語の文
字数と異なってしまった場合には、該所望の見出し語を
検索するのが困難になる問題がある。
(2) Character number match search method-In the first method,
Even if there is an error in the keyword that is partially different from the desired headword in the keyword, it is possible to search for the desired headword if the total number of characters is correct, but the number of characters in the input keyword itself is incorrect in the character string. However, if the number of characters of the desired headword differs from that of the headword, there is a problem that it is difficult to search for the desired headword.

【0011】(3)文字数一致検索手法−その2では、
入力したキーワードの文字数が所望の見出し語の文字数
と多少異なっていても該所望の見出し語を検索すること
は可能であるが、検索対象となる見出し語の数が非常に
多くなり検索処理に時間が掛かると共に、キーワードに
対し文字数が増減している見出し語との一致判定処理が
複雑になる問題がある。
(3) Character number match search method-In the second method,
Although it is possible to search for the desired headword even if the number of characters of the input keyword is slightly different from the number of characters of the desired headword, the number of headwords to be searched becomes extremely large, and the search process takes time. , And the process of determining whether a keyword matches a headword whose number of characters is increasing or decreasing becomes complicated.

【0012】(4)スペルチェック&コレクト手法で
は、入力されたキーワードに多少の間違えがあっても所
望の見出し語を検索することは可能であるが、正しい見
出し語に対し予めありがちな間違えを考慮した疑似的見
出し語を共に記憶した専用の辞書を別途持たなければな
らない問題がある。
(4) In the spell check and correct method, it is possible to search for a desired headword even if the input keyword is slightly wrong, but consideration is made in advance for a common headword mistake. There is a problem that it is necessary to separately provide a dedicated dictionary that stores the pseudo headwords.

【0013】本発明は、前記のような問題に鑑みなされ
たもので、スペルチェック&コレクト専用の辞書を別途
必要とすることなく、キーワードに多少の間違えがあっ
ても、所望の見出し語を容易に検索することが可能にな
る情報検索装置及び情報検索処理プログラムを記憶した
記憶媒体を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and does not require a separate dictionary dedicated to spell checking and correction. It is an object of the present invention to provide an information search device and a storage medium that stores an information search processing program that can be searched.

【0014】[0014]

【課題を解決するための手段】すなわち、本発明に係る
第1の情報検索装置は、複数の見出し語と該各見出し語
に関連する情報とを対応付けて記憶した情報記憶手段を
有する情報検索装置であって、検索したい見出し語に応
じたキーワードを入力する入力手段と、前記入力手段に
より入力されたキーワードに対し前記情報記憶手段から
読み出される見出し語が完全に一致するか否かを判断す
る完全一致判断手段と、この完全一致判断手段により前
記見出し語が前記キーワードに対し完全に一致すると判
断された場合には、その見出し語を検索語として表示す
る第1の検索語表示手段と、前記完全一致判断手段によ
り前記見出し語が前記キーワードに対し完全には一致し
ないと判断された場合には、当該情報記憶手段から読み
出される見出し語の中で、前記キーワードに対し、先頭
からの一致文字数が多い順に一又は複数の見出し語と、
末尾からの一致文字数が多い順に一又は複数の見出し語
とを検索する見出し語検索手段と、この見出し語検索手
段により検索された前記見出し語を検索語として表示す
る第2の検索語表示手段とを備えたことを特徴とする。
That is, a first information retrieval apparatus according to the present invention has an information retrieval means having information storage means for storing a plurality of headwords and information related to each headword in association with each other. An input unit for inputting a keyword corresponding to a headword to be searched, and determining whether or not the headword read from the information storage unit completely matches the keyword input by the input unit. A first search word display means for displaying the headword as a search word when the headword completely matches the keyword by the perfect match determination means; If it is determined by the perfect match determination means that the headword does not completely match the keyword, the headword read from the information storage means In the middle, with respect to the keyword, and one or more entry words matching the number of characters in descending order from the top
A headword search means for searching for one or more headwords in descending order of the number of matching characters from the end, a second search word display means for displaying the headword searched by the headword search means as a search word, It is characterized by having.

【0015】このような本発明に係る第1の情報検索装
置では、検索したい見出し語に応じたキーワードを入力
すると、この入力されたキーワードに対し情報記憶手段
から読み出される見出し語が完全に一致するか否かが判
断され、この完全一致判断により前記見出し語が前記キ
ーワードに対し完全に一致すると判断された場合には、
その見出し語が検索語として表示される。一方、前記完
全一致判断により前記見出し語が前記キーワードに対し
完全には一致しないと判断された場合には、当該情報記
憶手段から読み出される見出し語の中で、前記キーワー
ドに対し、先頭からの一致文字数が多い順に一又は複数
の見出し語と、末尾からの一致文字数が多い順に一又は
複数の見出し語とが検索され、この検索された前記見出
し語が検索語として表示されるので、入力したキーワー
ドに所望の見出し語と異なる多少の間違いがあった場合
でも、容易に所望の見出し語を検索表示できることにな
る。
In the first information retrieval apparatus according to the present invention, when a keyword corresponding to a headword to be searched is input, the headword read from the information storage means completely matches the input keyword. It is determined whether or not the headword completely matches the keyword by the perfect match determination.
The headword is displayed as a search word. On the other hand, if it is determined by the perfect match determination that the headword does not completely match the keyword, the keyword from the head of the headword read from the information storage means is matched with the keyword. One or more headwords in descending order of the number of characters and one or more headwords in descending order of the number of matching characters from the end are searched, and the searched headword is displayed as a search word. Therefore, even if there is a slight error that is different from the desired headword, the desired headword can be easily searched and displayed.

【0016】また、本発明に係る第2の情報検索装置
は、前記第1の情報検索装置にあって、前記見出し語検
索手段は、前記情報記憶手段から読み出される見出し語
の中で、前記キーワードに対し、先頭からの一致文字数
が多い順に所定数以内の見出し語を検索すると共に、末
尾からの一致文字数が多い順に所定数以内の見出し語を
検索し、前記第2の検索語表示手段は、前記見出し語検
索手段により検索された先頭からの一致文字数が多い見
出し語と末尾からの一致文字数が多い見出し語とを1つ
の検索語リストとして一致文字数の多い見出し語の順に
ソートし、先頭の見出し語から順に検索語として表示す
る第2の表示制御手段を備えていることを特徴とする。
Further, a second information retrieval apparatus according to the present invention is the first information retrieval apparatus, wherein the headword search means includes the keyword in the headword read from the information storage means. In response to this, while searching for a headword within a predetermined number in descending order of the number of matching characters from the head, searching for a headword within a predetermined number in descending order of the number of matching characters from the end, the second search word display means, The headwords having a large number of matching characters from the beginning and the headwords having a large number of matching characters from the end searched by the headword searching means are sorted as one search word list in the order of the headwords having a large number of matching characters. A second display control means for displaying as a search word in order from the word is provided.

【0017】このような本発明に係る第2の情報検索装
置では、情報記憶手段から読み出される見出し語の中
で、キーワードに対し、先頭からの一致文字数が多い順
に所定数以内の見出し語が検索されると共に、末尾から
の一致文字数が多い順に所定数以内の見出し語が検索さ
れ、この検索された先頭からの一致文字数が多い見出し
語と末尾からの一致文字数が多い見出し語とが1つの検
索語リストとして一致文字数の多い見出し語の順にソー
トされ、先頭の見出し語から順に検索語として表示され
るので、入力したキーワードに所望の見出し語と異なる
多少の間違いがあった場合でも、容易に所望の見出し語
を検索し選択表示できることになる。
In the second information retrieval apparatus according to the present invention, among the headwords read out from the information storage means, the headwords within a predetermined number are searched for in the descending order of the number of matching characters from the head. In addition, a predetermined number of headwords are searched in the descending order of the number of matching characters from the end, and one of the searched headwords having the number of matching characters from the beginning and the headword having the number of matching characters from the end is one. The word list is sorted in the order of the headwords with the highest number of matching characters, and displayed as search words in order from the first headword. Therefore, even if there is a slight mistake in the input keyword that is different from the desired headword, it is easy to search for the desired headword. Can be searched and selected and displayed.

【0018】[0018]

【発明の実施の形態】以下図面により本発明の実施の形
態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1は本発明の情報検索装置の実施形態に
係る辞書検索装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a dictionary search device according to an embodiment of the information search device of the present invention.

【0020】この辞書検索装置10は、コンピュータで
ある制御部(CPU)11を備えている。
The dictionary search device 10 includes a control unit (CPU) 11 which is a computer.

【0021】制御部(CPU)11は、入力部12から
入力されるキー操作信号等に応じてROM13に予め記
憶されているシステムプログラムあるいはフロッピディ
スク等の外部記憶媒体14に記憶されている検索装置制
御用プログラムを磁気ディスク装置等の記憶媒体読み取
り部15を介して起動させ、RAM16をワークメモリ
として回路各部の動作制御を行なうものである。
The control section (CPU) 11 is a system program stored in advance in the ROM 13 in response to a key operation signal or the like input from the input section 12 or a search device stored in an external storage medium 14 such as a floppy disk. The control program is started via a storage medium reading unit 15 such as a magnetic disk device, and the RAM 16 is used as a work memory to control the operation of each circuit unit.

【0022】この制御部(CPU)11には、前記入力
部12、ROM13、記憶媒体読取部15、RAM16
が接続される他に、液晶表示部17が接続される。
The control section (CPU) 11 includes the input section 12, the ROM 13, the storage medium reading section 15, the RAM 16
Is connected, and a liquid crystal display unit 17 is connected.

【0023】入力部12には、任意の文字及び文字列を
入力するためのひらがなやカタカナ英字,数字等の文字
入力キーが備えられると共に、英和辞書,和英辞書,日
本語辞書等の検索対象となる辞書データベースを選択す
るための辞書選択キー、検索処理の開始を指示するため
の「検索」キー、表示画面上でのカーソルの移動操作や
選択データの指定操作を行なうためのカーソルキー等が
備えられる。
The input unit 12 is provided with character input keys for inputting arbitrary characters and character strings, such as hiragana and katakana alphabets and numbers. The input unit 12 is used to search English, Japanese, English and Japanese dictionaries. A dictionary selection key for selecting a dictionary database, a "search" key for instructing the start of a search process, a cursor key for moving a cursor on a display screen and specifying a selected data, etc. Can be

【0024】ROM13には、この辞書検索装置10の
全体の動作を司るシステムプログラムが予め記憶される
と共に、英和辞書,和英辞書,日本語辞書等、各種の辞
書データベース13aが各辞書毎にその多数の見出し語
と意味内容とを対応付けた形態で記憶され、さらに、こ
の辞書データベース13aに基づき所望の見出し語を検
索してその意味内容等を表示させるための辞書検索プロ
グラム13b等、各種のサブプログラムが記憶される。
The ROM 13 stores in advance a system program for controlling the entire operation of the dictionary retrieval apparatus 10, and stores various dictionary databases 13a, such as English-Japanese dictionaries, Japanese-English dictionaries, and Japanese dictionaries, for each dictionary. And a dictionary search program 13b for searching for a desired entry word based on the dictionary database 13a and displaying its meaning content and the like. The program is stored.

【0025】RAM16には、入力語メモリ16a、入
力語の逆文字列メモリ16b、検索語リストメモリ16
c、ワークエリア16dが備えられ、該ワークエリア1
6dには、先頭一致検索見出し語メモリ16d1、末尾一
致検索見出し語メモリ16d2が備えられる。
The RAM 16 has an input word memory 16a, a reverse character string memory 16b of the input word, a search word list memory 16
c, a work area 16d is provided.
6d is provided with a head match search entry word memory 16d1 and a tail match search entry word memory 16d2.

【0026】入力語メモリ16aには、ユーザが検索し
たい見出し語に応じて入力されたキーワードが記憶され
る。
The input word memory 16a stores a keyword input by the user according to a headword to be searched.

【0027】入力語の逆文字列メモリ16bには、前記
入力語メモリ16aに対し記憶されたキーワードが、そ
の文字列を末尾を先頭とする逆文字列として記憶され
る。
The keyword stored in the input word memory 16a is stored in the inverted character string memory 16b of the input word as an inverted character string having the character string at the end.

【0028】検索語リストメモリ16cには、前記入力
語メモリ16a及び入力語の逆文字列メモリ16bに記
憶されたキーワードに従って前記ROM13内のデータ
ベース13aに基づき最終検索された見出し語のリスト
が記憶される。
The search word list memory 16c stores a list of headwords finally searched based on the database 13a in the ROM 13 according to the keywords stored in the input word memory 16a and the reverse character string memory 16b of the input word. You.

【0029】ワークエリア16dには、ROM13に記
憶されている装置制御プログラムに従って制御部(CP
U)11に入出力される種々のデータが必要に応じて一
時的に記憶保持される。
The work area 16d has a control unit (CP) according to the device control program stored in the ROM 13.
Various data input / output to / from the U) 11 are temporarily stored and held as needed.

【0030】先頭一致検索見出し語メモリ16d1には、
前記入力語メモリ16aに記憶されたキーワードに応じ
て、先頭の文字から順次一致する見出し語が、前記RO
M13内のデータベース13aから検索されてその一致
文字数と共に記憶されるもので、この一致文字数が多い
順に予め設定された数(例えば12語)の見出し語が選
択的に記憶される。
In the head match search entry word memory 16d1,
According to the keyword stored in the input word memory 16a, a headword that sequentially matches from the first character is stored in the RO.
It is searched from the database 13a in M13 and stored together with the number of matching characters. A predetermined number (for example, 12 words) of headwords are selectively stored in descending order of the number of matching characters.

【0031】末尾一致検索見出し語メモリ16d2には、
前記入力語の逆文字列メモリ16bに記憶された逆文字
列のキーワードに応じて、末尾の文字から順次一致する
見出し語が、前記ROM13内のデータベース13aか
ら検索されてその一致文字数と共に記憶されるもので、
この一致文字数が多い順に予め設定された数(例えば1
2語)の見出し語が選択的に記憶される。
The tail match search entry word memory 16d2 contains:
According to the keyword of the reverse character string stored in the reverse character string memory 16b of the input word, a headword that sequentially matches from the last character is searched from the database 13a in the ROM 13 and stored together with the number of matching characters. Things
A predetermined number (for example, 1
(2 words) are selectively stored.

【0032】次に、前記構成による辞書検索装置の動作
について説明する。
Next, the operation of the dictionary search apparatus having the above configuration will be described.

【0033】図2は前記辞書検索装置における第1実施
形態の単語検索処理を示すフローチャートである。
FIG. 2 is a flowchart showing a word search process of the first embodiment in the dictionary search device.

【0034】図3は前記辞書検索装置の第1実施形態の
単語検索処理に伴なう入力語メモリ16aと先頭一致検
索見出し語メモリ16d1におけるキーワードと該キーワ
ードに基づく先頭一致検索見出し語の記憶状態を示す図
である。
FIG. 3 shows the storage states of the keywords in the input word memory 16a and the head match search entry word memory 16d1 associated with the word search processing of the first embodiment of the dictionary search device and the head match search entry words based on the keywords. FIG.

【0035】図4は前記辞書検索装置の第1実施形態の
単語検索処理に伴なう入力語の逆文字列メモリ16bと
末尾一致検索見出し語メモリ16d2におけるキーワード
と該キーワードに基づく末尾一致検索見出し語の記憶状
態を示す図である。
FIG. 4 shows a keyword in the reverse character string memory 16b and a tail match search entry word memory 16d2 of the input word accompanying the word search processing of the first embodiment of the dictionary search device and a tail match search index based on the keyword. It is a figure which shows the storage state of a word.

【0036】図5は前記辞書検索装置の第1実施形態の
単語検索処理に伴なう検索語リストメモリ16cにおけ
る検索見出し語リストの記憶状態を示す図である。
FIG. 5 is a diagram showing a storage state of a search entry list in the search entry list memory 16c associated with the word search processing of the first embodiment of the dictionary search apparatus.

【0037】例えばROM13内のデータベース13a
として記憶されている英和辞書から、所望の見出し語
『announce』を検索してその意味内容を調べる
ために、入力部12においてキーワードが間違ったスペ
ルで「anaunce」と入力されると、この入力され
たキーワード「anaunce」は、図3(A)に示す
ように、RAM16内の入力語メモリ16aにそのまま
記憶される一方で、図4(A)に示すように、同RAM
16内の入力語の逆文字列メモリ16bに対し逆文字列
に変換されて記憶される(ステップS1)。そして、R
OM13内のデータベース13aに対する見出し語指示
用のポインタが先頭の見出し語位置にセットされる(ス
テップS2)。
For example, a database 13a in the ROM 13
In order to search for the desired headword "announce" from the English-Japanese dictionary stored as "" and check the meaning thereof, when the keyword "anaance" is input in the input unit 12 with an incorrect spelling, this input is performed. The keyword “anance” is directly stored in the input word memory 16a in the RAM 16 as shown in FIG. 3A, while the keyword “anaance” is stored in the RAM as shown in FIG.
The input word in the memory 16 is converted into an inverted character string and stored in the inverted character string memory 16b (step S1). And R
The entry word pointing pointer for the database 13a in the OM 13 is set to the first entry word position (step S2).

【0038】すると、前記ROM13内のデータベース
13aから前記ポインタにより指示される1つ目の見出
し語が取り出され、前記入力語メモリ16aに記憶され
たキーワード「anaunce」の各文字と完全一致す
るか否か判断される(ステップS3,S4)。
Then, the first headword indicated by the pointer is taken out from the database 13a in the ROM 13 and whether or not it completely matches each character of the keyword "anaance" stored in the input word memory 16a is determined. Is determined (steps S3 and S4).

【0039】ここで、前記キーワード「anaunc
e」に対し、前記データベース13aの1つ目の見出し
語は完全には一致しないと判断された場合には、該1つ
目の見出し語について先頭から一致する文字数がカウン
トされる(ステップS4→S6)。
Here, the keyword "anaunc"
If it is determined that the first headword in the database 13a does not completely match "e", the number of characters matching from the top of the first headword is counted (step S4 →). S6).

【0040】また、これと共に、前記入力語の逆文字列
メモリ16bに記憶された逆文字列のキーワード「ec
nuana」に基づき、前記1つ目の見出し語について
末尾から一致する文字数がカウントされる(ステップS
7)。
At the same time, the reverse character string keyword "ec" stored in the reverse character string memory 16b of the input word.
nuana ”, the number of matching characters from the end of the first headword is counted (step S).
7).

【0041】すると、前記キーワード「anaunc
e」に対し、1つ目の見出し語について、前記先頭から
の一致文字数と末尾からの一致文字数とが比較され、先
頭からの一致文字数よりも末尾からの一致文字数の方が
多いか否か判断される(ステップS8)。
Then, the keyword “anaunc”
e), for the first headword, the number of matching characters from the beginning and the number of matching characters from the end are compared to determine whether the number of matching characters from the end is greater than the number of matching characters from the beginning. Is performed (step S8).

【0042】ここで、先頭からの一致文字数に対し末尾
からの一致文字数が同一かそれ以下であると判断された
場合には、RAM16内の先頭一致検索見出し語メモリ
16d1に対して、例えば図3(B)に示すように、当該
先頭一致検索した見出し語がその一致文字数と共に記憶
される(ステップS8→S9)。
If it is determined that the number of matching characters from the end to the number of matching characters from the beginning is equal to or less than the number of matching characters from the beginning, the number of matching characters from the head match search headword memory 16d1 in the RAM 16 is stored in, for example, FIG. As shown in (B), the headword searched for the head match is stored together with the number of matching characters (step S8 → S9).

【0043】この際、先頭一致検索見出し語メモリ16
d1にて記憶される見出し語数が所定の数(例えば12
語)をオーバしたか否か判断され、オーバしたと判断さ
れた場合には、そこに記憶されている12語の先頭一致
検索された見出し語についてその一致文字数が最低の見
出し語が削除される(ステップS10→S11)。
At this time, the head match search entry word memory 16
The number of headwords stored in d1 is a predetermined number (for example, 12
Is determined, and if it is determined that it has been exceeded, the headword with the lowest matching character number is deleted from the headwords of the twelve words stored therein that have been searched for the head match. (Step S10 → S11).

【0044】一方、前記ステップS8において、先頭か
らの一致文字数に対し末尾からの一致文字数の方が多い
と判断された場合には、RAM16内の末尾一致検索見
出し語メモリ16d2に対して、例えば図4(B)に示す
ように、当該末尾一致検索した見出し語がその一致文字
数と共に記憶される(ステップS8→S13)。
On the other hand, if it is determined in step S8 that the number of matching characters from the end is larger than the number of matching characters from the beginning, the number of matching characters from the end matching search term memory 16d2 in the RAM 16 is, for example, as shown in FIG. As shown in FIG. 4 (B), the headword searched for the end match is stored together with the number of matching characters (step S8 → S13).

【0045】この際、末尾一致検索見出し語メモリ16
d2にて記憶される見出し語数が所定の数(例えば12
語)をオーバしたか否か判断され、オーバしたと判断さ
れた場合には、そこに記憶されている12語の末尾一致
検索された見出し語についてその一致文字数が最低の見
出し語が削除される(ステップS14→S15)。
At this time, the tail match search entry word memory 16
When the number of headwords stored in d2 is a predetermined number (for example, 12
Is determined to be over, and if it is determined to be over, the headword with the lowest number of matching characters is deleted from the headwords of the twelve words stored therein that have been searched for the end match. (Step S14 → S15).

【0046】すると、ROM13内のデータベース13
aに対する見出し語指示用のポインタが次の見出し語位
置にセットされると共に、これに基づき、データベース
13a内の全ての見出し語について前記同様の一致検索
が終了したか否か判断され、終了してないと判断された
場合には、再びステップS3からの処理に戻り、データ
ベース13a内の次の見出し語について、前記同様にキ
ーワード「anaunce」との一致検索処理が繰り返
される(ステップS12,S16→S3)。
Then, the database 13 in the ROM 13
The pointer for the headword instruction for a is set to the next headword position, and based on this, it is determined whether or not the same match search has been completed for all headwords in the database 13a. If it is determined that there is no keyword, the process returns to step S3 again, and the matching search process with the keyword “anance” is repeated for the next headword in the database 13a in the same manner as described above (steps S12, S16 → S3). ).

【0047】こうして、前記入力されたキーワード「a
naunce」に対し、データベース13aから順次読
み出される見出し語のそれぞれについての完全一致検
索、又は先頭,末尾からの一致検索処理が繰り返される
状態で、例えばある見出し語について前記キーワードと
完全一致したと判断された場合には、当該キーワードと
完全一致した見出し語に対応付けられてデータベース1
3a内に記憶されている意味内容が読み出され、液晶表
示部17に対しその見出し語と共に直接表示される(ス
テップS4→S5)。
Thus, the input keyword “a”
For example, in the state where the exact match search for each of the headwords sequentially read from the database 13a or the matching search process from the beginning and end is repeated for "nance", for example, it is determined that a certain headword completely matches the keyword. In this case, the database 1 is associated with the headword that completely matches the keyword.
The meaning content stored in 3a is read out and directly displayed on the liquid crystal display unit 17 together with the headword (step S4 → S5).

【0048】そして、前記キーワードに対し完全一致す
る見出し語が検索されない状態では、図3及び図4に示
すように、先頭からの一致文字数が多い場合の見出し語
と、末尾からの一致文字数の方が多い場合の見出し語と
が、それぞれ先頭一致検索見出し語メモリ16d1と末尾
一致検索見出し語メモリ16d2とに分けられて、それぞ
れその一致文字数が多い見出し語から所定数検索記憶さ
れるもので、この後、前記データベース13a内の全て
の見出し語について前記同様の先頭及び末尾からの一致
検索記憶処理が終了したと判断された場合には、前記先
頭一致検索見出し語メモリ16d1に検索記憶された各見
出し語の中で最大先頭一致文字数の見出し語と、前記末
尾一致検索見出し語メモリ16d2に検索記憶された各見
出し語の中で最大末尾一致文字数の見出し語とについ
て、何れの最大一致文字数が多いか判断される(ステッ
プS16→A1)。
In a state where a headword that completely matches the keyword is not searched, as shown in FIGS. 3 and 4, the headword when the number of matching characters from the beginning is large and the headword that matches from the end are smaller. Are divided into a headword search headword memory 16d1 and a tailword search headword memory 16d2, respectively, and a predetermined number of headwords are searched and stored from the headword whose number of matching characters is large. Thereafter, when it is determined that the similar search and search processing from the beginning and end of all headwords in the database 13a has been completed, each headword searched and stored in the head-match search headword memory 16d1. A headword having the maximum number of characters that match the beginning of the word, and a maximum number of headwords among the headwords searched and stored in the tail match search headword memory 16d2. For a headword of number of matched characters, one of the largest number of matched characters is large or is determined (step S16 → A1).

【0049】ここで、先頭からの一致文字数が最大であ
る見出し語の該一致文字数に対し、末尾からの一致文字
数が最大である見出し語の該一致文字数が同一かそれ以
下であると判断された場合には、前記先頭からの一致文
字数が最大である見出し語がデータベース13aの全体
として一致文字数が最大の見出し語として検索され、R
AM16内の検索語リストメモリ16cに記憶される
(ステップA1→A2)。
Here, it is determined that the number of matching characters of the headword having the largest number of matching characters from the end is equal to or less than the number of matching characters of the headword having the largest number of matching characters from the beginning. In this case, the headword having the maximum number of matching characters from the head is searched as the headword having the maximum number of matching characters as a whole in the database 13a.
It is stored in the search word list memory 16c in the AM 16 (step A1 → A2).

【0050】一方、先頭からの一致文字数が最大である
見出し語の該一致文字数に対し、末尾からの一致文字数
が最大である見出し語の該一致文字数の方が多いと判断
された場合には、前記末尾からの一致文字数が最大であ
る見出し語がデータベース13aの全体として一致文字
数が最大の見出し語として検索され、RAM16内の検
索語リストメモリ16cに記憶される(ステップA1→
A3)。
On the other hand, if it is determined that the number of matching characters of the headword having the largest number of matching characters from the end is larger than the number of matching characters of the headword having the largest number of matching characters from the beginning, The headword having the largest number of matching characters from the end is searched as the headword having the largest number of matching characters as a whole in the database 13a and stored in the search word list memory 16c in the RAM 16 (step A1 →
A3).

【0051】すると、前記RAM16内の検索語リスト
メモリ16cに記憶された検索語が複数あるか否か、つ
まり、前記ステップA2又はステップA3において、デ
ータベース13aの全体としてキーワードとの一致文字
数が最大であるとされた見出し語が、同一の一致文字数
で複数存在したことで、当該検索語リストメモリ16c
に複数の検索語が記憶されたと判断された場合には、例
えば図5に示すように、この複数の検索語はアルファベ
ット順にソートされ、液晶表示部17に対して表示され
る(ステップA4→A5,A6)。
Then, it is determined whether or not there are a plurality of search words stored in the search word list memory 16c in the RAM 16, that is, in step A2 or step A3, the number of characters matching the keyword as a whole in the database 13a is maximum. The presence of a plurality of headwords with the same number of matching characters results in the search word list memory 16c.
If it is determined that a plurality of search words are stored in the search word, the plurality of search words are sorted in alphabetical order and displayed on the liquid crystal display unit 17 as shown in FIG. 5 (steps A4 → A5). , A6).

【0052】そして、前記液晶表示部17に表示された
検索語リストの中から、所望の見出し語『announ
ce』を選択すると、当該選択された見出し語『ann
ounce』とその意味内容が、前記ROM13内のデ
ータベース13aから読み出されて液晶表示部17に切
り替え表示される(ステップA7,A8)。
Then, from the search word list displayed on the liquid crystal display section 17, a desired headword "annown" is displayed.
ce ”, the selected headword“ ann ”
once ”and its meaning are read out from the database 13a in the ROM 13 and are switched and displayed on the liquid crystal display unit 17 (steps A7 and A8).

【0053】したがって、前記構成の辞書検索装置にお
ける第1実施形態の単語検索機能によれば、入力部12
を操作して所望の見出し語に応じたキーワードを入力す
ると、データベース13a内の各見出し語について順次
完全一致するか否か判断され、完全一致しない場合に
は、当該各見出し語についてそれぞれ先頭からの一致文
字数と末尾からの一致文字数とがカウントされて比較さ
れ、先頭一致文字数が多い場合には先頭一致検索見出し
語メモリ16d1にその一致文字数と共に記憶され、末尾
一致文字数が多い場合には末尾一致検索見出し語メモリ
16d2にその一致文字数と共に記憶される。そして、先
頭一致検索された見出し語と末尾一致検索された見出し
語の中で最大の一致文字数である見出し語が検索見出し
語とされ、検索語リストメモリ16cに記憶されて液晶
表示部17に表示されるので、入力したキーワードの一
部に所望の見出し語と異なる文字が存在したり文字数が
異なる等、多少の間違いがあった場合でも、特別なデー
タベースを備える必要や複雑な検索処理を要することな
く、容易に所望の見出し語を検索して表示できるように
なる。
Therefore, according to the word search function of the first embodiment in the dictionary search apparatus having the above configuration, the input unit 12
Is operated to input a keyword corresponding to a desired headword, it is sequentially determined whether or not each headword in the database 13a is completely matched. The number of matching characters and the number of matching characters from the end are counted and compared. If the number of matching characters at the beginning is large, the number of matching characters is stored together with the number of matching characters in the matching word entry memory 16d1. It is stored in the entry word memory 16d2 together with the number of matching characters. Then, the headword having the maximum number of matching characters among the headwords searched for the head match and the tail words searched for is determined as the search headword, stored in the search word list memory 16c and displayed on the liquid crystal display unit 17. Therefore, even if there are some mistakes, such as the presence of a character different from the desired headword or the number of characters in a part of the input keyword, it is necessary to provide a special database and complicated search processing. In addition, a desired headword can be easily searched and displayed.

【0054】また、前記構成の辞書検索装置における第
1実施形態の単語検索機能によれば、先頭一致検索され
た見出し語と末尾一致検索された見出し語の中で最大の
一致文字数である見出し語が同一の一致文字数で複数存
在し、複数の検索見出し語ととして検索語リストメモリ
16cに記憶された場合には、例えばアルファベット順
やあいうえお順等のソートが施された後に、液晶表示部
17に一覧表示されるので、このような場合でも容易に
所望の見出し語を選択してその意味内容を表示させるこ
とができる。
Further, according to the word search function of the first embodiment in the dictionary search apparatus having the above-described configuration, the headword having the maximum number of matching characters among the headword searched for the head match and the headword searched for the end match is used. Are present in the search word list memory 16c as a plurality of search headwords in the same number of matching characters, for example, after being sorted in alphabetical order or in alphabetical order, the liquid crystal display 17 Since the list is displayed, even in such a case, a desired headword can be easily selected and its meaning content can be displayed.

【0055】なお、前記第1実施形態の単語検索機能で
は、先頭一致検索による一致文字数が末尾一致検索によ
る一致文字数と同一かそれ以上とされて先頭一致検索見
出し語メモリ16d1に記憶された各見出し語と、末尾一
致検索による一致文字数が先頭一致検索による一致文字
数より多いとされて末尾一致検索見出し語メモリ16d2
に記憶された各見出し語の中で、最大の一致文字数であ
る見出し語を検索見出し語として検索リストメモリ16
cに記憶させ液晶表示部17に表示させる構成とした
が、次の第2実施形態の単語検索機能(図6〜図8参
照)において説明するように、前記先頭一致検索見出し
語メモリ16d1に記憶された先頭一致文字数が多いとさ
れた各見出し語と、前記末尾一致検索見出し語メモリ1
6d2に記憶された末尾一致文字数が多いとされた各見出
し語とを共に検索見出し語として検索語リストメモリ1
6cに記憶させ、各検索見出し語をその一致文字数の多
い順にソート、さらにアルファベット順にソートして先
頭の検索見出し語から表示させる構成としてもよい。
In the word search function of the first embodiment, the number of matching characters in the head match search is set to be equal to or more than the number of matching characters in the tail match search, and each heading stored in the head match search headword memory 16d1. It is determined that the number of characters matched by the word and the tail match search is greater than the number of characters matched by the head match search, and the tail match search entry word memory 16d2
Among the headwords stored in the search list memory 16, the headword having the maximum number of matching characters is used as a search headword.
c, and is displayed on the liquid crystal display unit 17. However, as described in the word search function (see FIGS. 6 to 8) of the next second embodiment, the head match search entry word memory 16d1 is stored. Headwords determined to have a large number of head-matched characters and the tail-matching search headword memory 1
The search word list memory 1 uses both the headwords stored in 6d2 and determined to have a large number of tail matching characters as search headwords.
6c, the search entry words may be sorted in descending order of the number of matching characters, and may be further sorted in alphabetical order and displayed from the first search entry word.

【0056】図6は前記辞書検索装置における第2実施
形態の単語検索処理を示すフローチャートである。
FIG. 6 is a flowchart showing a word search process of the second embodiment in the dictionary search device.

【0057】図7は前記辞書検索装置の第2実施形態の
単語検索処理に伴なう検索語リストメモリ16cにおけ
る検索見出し語リストの記憶状態を示す図である。
FIG. 7 is a diagram showing a storage state of a search entry list in the search entry list memory 16c associated with the word search processing of the second embodiment of the dictionary search apparatus.

【0058】図8は前記辞書検索装置の第2実施形態の
単語検索処理に伴なう検索見出し語の表示状態を示す図
である。
FIG. 8 is a diagram showing a display state of a search entry word accompanying the word search processing of the second embodiment of the dictionary search apparatus.

【0059】図6における第2実施形態の単語検索処理
を示すフローチャートにおいて、前記図2における第1
実施形態の単語検索処理を示すフローチャートと同一の
処理内容のステップについては、それと同一のステップ
符号(S1〜S16)を付してその説明を省略する。
FIG. 6 is a flowchart showing a word search process according to the second embodiment.
Steps having the same processing contents as those in the flowchart showing the word search processing according to the embodiment are denoted by the same step symbols (S1 to S16), and description thereof is omitted.

【0060】すなわち、図6における第2実施形態の単
語検索処理のステップS1〜S16の処理に従って、前
記図3及び図4で示したように、入力されたキーワード
に対し、先頭一致検索による一致文字数が末尾一致検索
による一致文字数と同一かそれ以上とされたデータベー
ス13a内の各見出し語が先頭一致検索見出し語メモリ
16d1に検索記憶されると共に、末尾一致検索による一
致文字数が先頭一致検索による一致文字数より多いとさ
れたデータベース13a内の各見出し語が末尾一致検索
見出し語メモリ16d2に検索記憶されると、前記先頭一
致検索見出し語メモリ16d1に記憶された先頭一致文字
数が多いとされた各見出し語と、前記末尾一致検索見出
し語メモリ16d2に記憶された末尾一致文字数が多いと
された各見出し語とが共に検索見出し語として検索語リ
ストメモリ16cに記憶され、検索見出し語テーブルが
作成される(ステップS16→B1)。
That is, in accordance with the processing of steps S1 to S16 of the word search processing of the second embodiment in FIG. 6, as shown in FIG. 3 and FIG. The headwords in the database 13a whose is equal to or greater than the number of matching characters by the tail match search are searched and stored in the head match search headword memory 16d1, and the number of matching characters by the tail match search is the number of matching characters by the head match search. When each headword in the database 13a determined to be more than is searched and stored in the tail match search headword memory 16d2, each headword stored in the head match search headword memory 16d1 and determined to have a large number of head match characters is searched. And each of the headwords determined to have a large number of tail-matching characters stored in the tail-matching search headword memory 16d2. Both are stored in the search term list memory 16c as a search entry word, search headword table is created (step S16 → B1).

【0061】すると、この検索語リストメモリ16cに
テーブル化されて記憶された先頭一致検索及び末尾一致
検索によるそれぞれの見出し語は、図7に示すように、
そのそれぞれの一致文字数の多い順にソートされ、さら
に、同一の一致文字数である各見出し語内でアルファベ
ット順にソートされる(ステップB2,B3)。
Then, the respective headwords obtained by the head match search and the tail match search stored in the form of a table in the search word list memory 16c are, as shown in FIG.
The characters are sorted in descending order of the number of matching characters, and further sorted in alphabetical order within each headword having the same number of matching characters (steps B2 and B3).

【0062】そして、検索見出し語の読み出し表示位置
を指示するためのポインタが、前記ソート処理済みの検
索語リストメモリ16cにおける各検索見出し語の先頭
の見出し語位置にセットされる(ステップB4)。
Then, a pointer for designating the read display position of the search headword is set to the headword position of the head of each search headword in the sorted search word list memory 16c (step B4).

【0063】すると、前記検索語リストメモリ16cか
らポインタのセット位置に対応する先頭の検索見出し
語、つまり、キーワード「anaunce」に対する最
大一致文字数でアルファベットで最も手前の検索見出し
語『announce』が読み出されると共に、これに
対応付けられて前記ROM13内のデータベース13a
に記憶されている意味内容が読み出され、図8(A)に
示すように、液晶表示部17に表示される(ステップB
5)。
Then, the head search word corresponding to the set position of the pointer, that is, the earliest search headword "announce" in the alphabet with the maximum number of matching characters for the keyword "anaance" is read from the search word list memory 16c. And a database 13a in the ROM 13 corresponding to the
Is read out and displayed on the liquid crystal display 17 as shown in FIG. 8A (step B).
5).

【0064】ここで、図8(B)に示すように、入力部
12における「検索」キーを繰り返し操作するか、カー
ソルキーを操作して検索見出し語の次候補表示を指示す
ると、前記ポインタが検索語リストメモリ16cにおけ
る次の検索見出し語の位置にセットされ、当該次の検索
見出し語とその意味内容が読み出されて前記液晶表示部
17に切り替え表示される(ステップB6→B7,B
5)。
Here, as shown in FIG. 8B, when the "search" key in the input section 12 is repeatedly operated or the cursor key is operated to instruct the display of the next candidate of the search headword, the pointer is moved. The next search entry word is set at the position of the next search entry word in the search word list memory 16c, and the next search entry word and its meaning are read out and switched and displayed on the liquid crystal display unit 17 (steps B6 → B7, B).
5).

【0065】したがって、前記構成の辞書検索装置にお
ける第2実施形態の単語検索機能によれば、入力部12
を操作して所望の見出し語に応じたキーワードを入力す
ると、データベース13a内の各見出し語について順次
完全一致するか否か判断され、完全一致しない場合に
は、当該各見出し語についてそれぞれ先頭からの一致文
字数と末尾からの一致文字数とがカウントされて比較さ
れ、先頭一致文字数が多い場合には先頭一致検索見出し
語メモリ16d1にその一致文字数と共に記憶され、末尾
一致文字数が多い場合には末尾一致検索見出し語メモリ
16d2にその一致文字数と共に記憶される。そして、先
頭一致検索見出し語メモリ16d1に記憶された先頭一致
文字数が多いとされた各見出し語と、末尾一致検索見出
し語メモリ16d2に記憶された末尾一致文字数が多いと
された各見出し語とが共に検索見出し語として検索語リ
ストメモリ16cに記憶され、各検索見出し語がその一
致文字数の多い順にソート、さらにアルファベット順に
ソートされて先頭の検索見出し語から順に液晶表示部1
7に表示されるので、入力したキーワードの一部に所望
の見出し語と異なる文字が存在したり文字数が異なる
等、多少の間違いがあった場合でも、特別なデータベー
スを備える必要や複雑な検索処理を要することなく、容
易に所望の見出し語を検索し選択してその意味内容を表
示させることができる。
Therefore, according to the word search function of the second embodiment in the dictionary search apparatus having the above configuration, the input unit 12
Is operated to input a keyword corresponding to a desired headword, it is sequentially determined whether or not each headword in the database 13a is completely matched. The number of matching characters and the number of matching characters from the end are counted and compared. If the number of matching characters at the beginning is large, the number of matching characters is stored together with the number of matching characters in the matching word entry memory 16d1. It is stored in the entry word memory 16d2 together with the number of matching characters. Then, each headword stored in the head-match search entry word memory 16d1 that is determined to have a large number of head-match characters, and each headword stored in the tail-match search headword memory 16d2 that is determined to have a large number of tail-match characters. Both are stored in the search word list memory 16c as search headwords, and each search headword is sorted in descending order of the number of matching characters, and further sorted in alphabetical order.
7, even if there are some mistakes, such as the presence of a character different from the desired headword or the number of characters in a part of the input keyword, it is necessary to provide a special database or perform complicated search processing. , It is possible to easily search for and select a desired headword and display its meaning.

【0066】なお、前記各実施形態において記載した手
法、すなわち、図2のフローチャートに示す第1実施形
態の単語検索処理や図6のフローチャートに示す第2実
施形態の単語検索処理等の各手法は、コンピュータに実
行させることができるプログラムとして、メモリカード
(ROMカード、RAMカード等)、磁気ディスク(フ
ロッピーディスク、ハードディスク等)、光ディスク
(CD−ROM、DVD等)、半導体メモリ等の外部記
憶媒体14に格納して配布することができる。そして、
コンピュータは、この外部記憶媒体14に記憶されたプ
ログラムを磁気ディスク装置等の記憶媒体読取部15に
よって読み込み、この読み込んだプログラムによって動
作が制御されることにより、前記各実施形態において説
明した単語検索機能を実現し、前述した手法と同様にキ
ーワードに対する先頭及び末尾の一致検索に基づく見出
し語検索表示処理を実行することができる。
The techniques described in the above embodiments, that is, the word search processing of the first embodiment shown in the flowchart of FIG. 2 and the word search processing of the second embodiment shown in the flowchart of FIG. As a program that can be executed by a computer, an external storage medium 14 such as a memory card (ROM card, RAM card, etc.), a magnetic disk (floppy disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a semiconductor memory, etc. Can be stored and distributed. And
The computer reads the program stored in the external storage medium 14 by a storage medium reading unit 15 such as a magnetic disk device, and the operation is controlled by the read program, whereby the word search function described in each of the above embodiments is performed. And a headword search and display process based on a search for a match between the beginning and end of the keyword can be executed in the same manner as in the above-described method.

【0067】[0067]

【発明の効果】以上のように、本発明に係る第1の情報
検索装置によれば、検索したい見出し語に応じたキーワ
ードを入力すると、この入力されたキーワードに対し情
報記憶手段から読み出される見出し語が完全に一致する
か否かが判断され、この完全一致判断により前記見出し
語が前記キーワードに対し完全に一致すると判断された
場合には、その見出し語が検索語として表示される。一
方、前記完全一致判断により前記見出し語が前記キーワ
ードに対し完全には一致しないと判断された場合には、
当該情報記憶手段から読み出される見出し語の中で、前
記キーワードに対し、先頭からの一致文字数が多い順に
一又は複数の見出し語と、末尾からの一致文字数が多い
順に一又は複数の見出し語とが検索され、この検索され
た前記見出し語が検索語として表示されるので、入力し
たキーワードに所望の見出し語と異なる多少の間違いが
あった場合でも、容易に所望の見出し語を検索表示でき
るようになる。
As described above, according to the first information retrieval apparatus of the present invention, when a keyword corresponding to a headword to be searched is input, the headword read from the information storage means for the input keyword. It is determined whether or not the words completely match. If it is determined by the perfect match determination that the headword completely matches the keyword, the headword is displayed as a search word. On the other hand, when it is determined that the headword does not completely match the keyword by the perfect match determination,
Among the headwords read out from the information storage means, one or more headwords for the keyword in descending order of the number of matching characters from the beginning and one or more headwords in the descending order of the number of matching characters from the end. Since the searched headword is displayed as a search word, even if the input keyword has a slight error different from the desired headword, the desired headword can be easily searched and displayed. Become.

【0068】また、本発明に係る第2の情報検索装置に
よれば、情報記憶手段から読み出される見出し語の中
で、キーワードに対し、先頭からの一致文字数が多い順
に所定数以内の見出し語が検索されると共に、末尾から
の一致文字数が多い順に所定数以内の見出し語が検索さ
れ、この検索された先頭からの一致文字数が多い見出し
語と末尾からの一致文字数が多い見出し語とが1つの検
索語リストとして一致文字数の多い見出し語の順にソー
トされ、先頭の見出し語から順に検索語として表示され
るので、入力したキーワードに所望の見出し語と異なる
多少の間違いがあった場合でも、容易に所望の見出し語
を検索し選択表示できるようになる。
According to the second information retrieval apparatus of the present invention, among the headwords read out from the information storage means, headwords within a predetermined number of keywords in the descending order of the number of matching characters from the head are compared with the keywords. At the same time, the search is performed for a headword within a predetermined number in the order of the number of matching characters from the end, and one of the searched headwords with the number of matching characters from the beginning and the headword with the number of matching characters from the end is one. The search term list is sorted in the order of the headwords with the highest number of matching characters, and displayed as search terms in order from the first headword, so even if there is a slight mistake in the input keyword that is different from the desired headword, A desired headword can be searched and selected and displayed.

【0069】よって、本発明によれば、スペルチェック
&コレクト専用の辞書を別途必要とすることなく、キー
ワードに多少の間違えがあっても、所望の見出し語を容
易に検索することが可能になる。
Therefore, according to the present invention, it is possible to easily search for a desired entry word even if there is a slight mistake in a keyword, without requiring a separate dictionary dedicated to spell checking and correction. .

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

【図1】本発明の情報検索装置の実施形態に係る辞書検
索装置の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a dictionary search device according to an embodiment of an information search device of the present invention.

【図2】前記辞書検索装置における第1実施形態の単語
検索処理を示すフローチャート。
FIG. 2 is a flowchart showing a word search process according to the first embodiment in the dictionary search device.

【図3】前記辞書検索装置の第1実施形態の単語検索処
理に伴なう入力語メモリと先頭一致検索見出し語メモリ
におけるキーワードと該キーワードに基づく先頭一致検
索見出し語の記憶状態を示す図。
FIG. 3 is a view showing a keyword in an input word memory and a head match search entry word memory associated with a word search process of the first embodiment of the dictionary search device, and a storage state of a head match search entry word based on the keyword;

【図4】前記辞書検索装置の第1実施形態の単語検索処
理に伴なう入力語の逆文字列メモリと末尾一致検索見出
し語メモリにおけるキーワードと該キーワードに基づく
末尾一致検索見出し語の記憶状態を示す図。
FIG. 4 shows a storage state of a keyword in a reverse character string memory and a tail match search entry word memory of an input word and a tail match search entry word based on the keyword in the word search processing of the first embodiment of the dictionary search device. FIG.

【図5】前記辞書検索装置の第1実施形態の単語検索処
理に伴なう検索語リストメモリにおける検索見出し語リ
ストの記憶状態を示す図。
FIG. 5 is a diagram showing a storage state of a search entry word list in a search word list memory accompanying the word search processing of the first embodiment of the dictionary search device.

【図6】前記辞書検索装置における第2実施形態の単語
検索処理を示すフローチャート。
FIG. 6 is a flowchart showing a word search process according to the second embodiment in the dictionary search device.

【図7】前記辞書検索装置の第2実施形態の単語検索処
理に伴なう検索語リストメモリにおける検索見出し語リ
ストの記憶状態を示す図。
FIG. 7 is a diagram showing a storage state of a search entry word list in a search word list memory accompanying a word search process of the second embodiment of the dictionary search device.

【図8】前記辞書検索装置の第2実施形態の単語検索処
理に伴なう検索見出し語の表示状態を示す図。
FIG. 8 is an exemplary view showing a display state of a search entry word accompanying a word search process of the second embodiment of the dictionary search device.

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

10 …辞書検索装置、 11 …制御部(CPU)、 12 …入力部、 13 …ROM、 13a…辞書データベース、 13b…辞書検索プログラム、 14 …外部記憶媒体、 15 …記憶媒体読取部、 16 …RAM、 16a…入力語メモリ、 16b…入力語の逆文字列メモリ、 16c…検索語リストメモリ、 16d…ワークエリア、 16d1…先頭一致検索見出し語メモリ、 16d2…末尾一致検索見出し語メモリ、 17 …液晶表示部。 DESCRIPTION OF SYMBOLS 10 ... Dictionary search device, 11 ... Control part (CPU), 12 ... Input part, 13 ... ROM, 13a ... Dictionary database, 13b ... Dictionary search program, 14 ... External storage medium, 15 ... Storage medium reading part, 16 ... RAM 16a: input word memory, 16b: reverse character string memory of input word, 16c: search word list memory, 16d: work area, 16d1: head match search entry word memory, 16d2: tail match search entry word memory, 17: liquid crystal Display section.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の見出し語と該各見出し語に関連す
る情報とを対応付けて記憶した情報記憶手段を有する情
報検索装置であって、 検索したい見出し語に応じたキーワードを入力する入力
手段と、 前記入力手段により入力されたキーワードに対し前記情
報記憶手段から読み出される見出し語が完全に一致する
か否かを判断する完全一致判断手段と、 この完全一致判断手段により前記見出し語が前記キーワ
ードに対し完全に一致すると判断された場合には、その
見出し語を検索語として表示する第1の検索語表示手段
と、 前記完全一致判断手段により前記見出し語が前記キーワ
ードに対し完全には一致しないと判断された場合には、
当該情報記憶手段から読み出される見出し語の中で、前
記キーワードに対し、先頭からの一致文字数が多い順に
一又は複数の見出し語と、末尾からの一致文字数が多い
順に一又は複数の見出し語とを検索する見出し語検索手
段と、 この見出し語検索手段により検索された前記見出し語を
検索語として表示する第2の検索語表示手段と、を備え
たことを特徴とする情報検索装置。
1. An information retrieval apparatus comprising an information storage unit storing a plurality of headwords and information related to each headword in association with each other, wherein input means for inputting a keyword corresponding to the headword to be searched. Exact match determining means for determining whether or not the headword read from the information storage means completely matches the keyword input by the input means; and If it is determined that the keyword exactly matches the keyword, the first keyword display means for displaying the keyword as a keyword, and the perfect word determination means does not completely match the keyword. If it is determined that
Among the headwords read from the information storage means, for the keyword, one or more headwords in descending order of the number of matching characters from the beginning and one or more headwords in descending order of the number of matching characters from the end. An information search device comprising: a headword search means for searching; and a second search word display means for displaying the headword searched by the headword search means as a search word.
【請求項2】 前記第2の検索語表示手段は、前記見出
し語検索手段により検索された先頭からの一致文字数が
多い見出し語あるいは末尾からの一致文字数が多い見出
し語のうち一致文字数が最も多い見出し語を検索語とし
て表示することを特徴とする請求項1に記載の情報検索
装置。
2. The method according to claim 1, wherein the second search word display means has the largest number of matching characters among the headwords searched for by the headword search means with a large number of matching characters from the beginning or a large number of matching characters from the end. 2. The information search device according to claim 1, wherein the headword is displayed as a search word.
【請求項3】 前記第2の検索語表示手段は、一致文字
数が最も多い見出し語が複数存在することで複数の見出
し語を検索語として表示する際には、当該表示すべき複
数の検索語をソートして表示する第1の表示制御手段を
備えていることを特徴とする請求項2に記載の情報検索
装置。
3. The display device according to claim 2, wherein the second search word display unit displays a plurality of search words to be displayed when the plurality of headwords are displayed as search words due to a plurality of headwords having the largest number of matching characters. 3. The information retrieval apparatus according to claim 2, further comprising first display control means for sorting and displaying the information.
【請求項4】 前記見出し語検索手段は、前記情報記憶
手段から読み出される見出し語の中で、前記キーワード
に対し、先頭からの一致文字数が多い順に所定数以内の
見出し語を検索すると共に、末尾からの一致文字数が多
い順に所定数以内の見出し語を検索し、 前記第2の検索語表示手段は、前記見出し語検索手段に
より検索された先頭からの一致文字数が多い見出し語と
末尾からの一致文字数が多い見出し語とを1つの検索語
リストとして一致文字数の多い見出し語の順にソート
し、先頭の見出し語から順に検索語として表示する第2
の表示制御手段を備えていることを特徴とする請求項1
に記載の情報検索装置。
4. The headword search means searches a headword read from the information storage means for a predetermined number of headwords in descending order of the number of matching characters from the head of the keyword, Search for a headword within a predetermined number in the descending order of the number of matching characters from the headword. The second search word display means matches the headword searched for by the headword search means with a large number of matching characters from the head and the headword. A second method in which headwords with a large number of characters are sorted as one search word list in the order of headwords with a large number of matching characters, and displayed as search words in order from the first headword
2. A display control means according to claim 1.
An information retrieval device according to item 1.
【請求項5】 複数の見出し語と該各見出し語に関連す
る情報とを対応付けて記憶した情報記憶手段を有する情
報検索装置のコンピュータを制御するための情報検索処
理プログラムを記憶した記憶媒体であって、 前記コンピュータを、 検索したい見出し語に応じたキーワードが入力された際
に、この入力されたキーワードに対し前記情報記憶手段
から読み出される見出し語が完全に一致するか否かを判
断する完全一致判断手段、 この完全一致判断手段により前記見出し語が前記キーワ
ードに対し完全に一致すると判断された場合には、その
見出し語を検索語として表示する第1の検索語表示手
段、 前記完全一致判断手段により前記見出し語が前記キーワ
ードに対し完全には一致しないと判断された場合には、
当該情報記憶手段から読み出される見出し語の中で、前
記キーワードに対し、先頭からの一致文字数が多い順に
一又は複数の見出し語と、末尾からの一致文字数が多い
順に一又は複数の見出し語とを検索する見出し語検索手
段、 この見出し語検索手段により検索された前記見出し語を
検索語として表示する第2の検索語表示手段、として機
能させるためのコンピュータ読み込み可能な情報検索処
理プログラムを記憶した記憶媒体。
5. A storage medium storing an information search processing program for controlling a computer of an information search device having an information storage means storing a plurality of headwords and information associated with each headword in association with each other. When a keyword corresponding to a headword to be searched is input, the computer determines whether the headword read from the information storage means completely matches the input keyword. A first search term display means for displaying the headword as a search word when the headword is determined to completely match the keyword by the perfect match determination means; If the means determines that the headword does not completely match the keyword,
Among the headwords read from the information storage means, for the keyword, one or more headwords in descending order of the number of matching characters from the beginning and one or more headwords in descending order of the number of matching characters from the end. A storage device storing a computer-readable information search processing program for functioning as a headword search means to be searched; a second search word display means for displaying the headword searched by the headword search means as a search word; Medium.
JP14147499A 1999-05-21 1999-05-21 Electronic device having dictionary function and storage medium storing information retrieval processing program Expired - Fee Related JP3945075B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14147499A JP3945075B2 (en) 1999-05-21 1999-05-21 Electronic device having dictionary function and storage medium storing information retrieval processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14147499A JP3945075B2 (en) 1999-05-21 1999-05-21 Electronic device having dictionary function and storage medium storing information retrieval processing program

Publications (2)

Publication Number Publication Date
JP2000331023A true JP2000331023A (en) 2000-11-30
JP3945075B2 JP3945075B2 (en) 2007-07-18

Family

ID=15292739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14147499A Expired - Fee Related JP3945075B2 (en) 1999-05-21 1999-05-21 Electronic device having dictionary function and storage medium storing information retrieval processing program

Country Status (1)

Country Link
JP (1) JP3945075B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080077A1 (en) * 2000-04-18 2001-10-25 Korea Telecom Method and system for retrieving information based on meaningful core word
JP2007305046A (en) * 2006-05-15 2007-11-22 Sharp Corp Information processor for generating kanji reading, information processing method, program for attaining information processing and recording medium with the program recorded thereon
JP2009043148A (en) * 2007-08-10 2009-02-26 Casio Comput Co Ltd Candidate word display apparatus and candidate word display program
JP2011023007A (en) * 2009-07-17 2011-02-03 Nhn Corp System and method for user query proofreading based on statistical data
CN111400339A (en) * 2020-03-04 2020-07-10 广州大学 Retrieval method and system for reverse analysis of product database identifier
JP7466326B2 (en) 2020-02-14 2024-04-12 シャープ株式会社 Display device and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001080077A1 (en) * 2000-04-18 2001-10-25 Korea Telecom Method and system for retrieving information based on meaningful core word
JP2007305046A (en) * 2006-05-15 2007-11-22 Sharp Corp Information processor for generating kanji reading, information processing method, program for attaining information processing and recording medium with the program recorded thereon
JP2009043148A (en) * 2007-08-10 2009-02-26 Casio Comput Co Ltd Candidate word display apparatus and candidate word display program
JP2011023007A (en) * 2009-07-17 2011-02-03 Nhn Corp System and method for user query proofreading based on statistical data
JP7466326B2 (en) 2020-02-14 2024-04-12 シャープ株式会社 Display device and program
CN111400339A (en) * 2020-03-04 2020-07-10 广州大学 Retrieval method and system for reverse analysis of product database identifier

Also Published As

Publication number Publication date
JP3945075B2 (en) 2007-07-18

Similar Documents

Publication Publication Date Title
US8332753B2 (en) Information displaying apparatus with word searching function and recording medium
JP3945075B2 (en) Electronic device having dictionary function and storage medium storing information retrieval processing program
JP2595934B2 (en) Kana-Kanji conversion processor
JP4023857B2 (en) Word storage device and word storage control method
JP4492499B2 (en) Information display control device and information display control program
JP2008059169A (en) Chinese example sentence retrieval apparatus and program for process of retrieving chinese example sentence
WO2005098672A1 (en) Electronic dictionary
JP4483379B2 (en) Information display control device and program
JP3794369B2 (en) Information display device and information display processing program
JP3339068B2 (en) Word search device
JP2815911B2 (en) Electronic dictionary
JP2002351868A (en) Electronic dictionary
JP2001134570A (en) Electronic dictionary
JP2010102727A (en) Information display control device and program
JP2000348055A (en) Method and device for retrieving information and computer readable recording medium
JPH0623973B2 (en) Character processor frequency change method
JPH08190565A (en) Data base retrieval system
JPH02136970A (en) English word retrieving device
JPH10232865A (en) Spelling check device
JPS63174164A (en) Sentence forming support system
JPH09282316A (en) Kanji-to-kana conversion device
JPH05233687A (en) Electronic dictionary
JPH05324735A (en) Data retrieving device
JPH0589093A (en) Word processor
JPH05250351A (en) Person's name chinese character retrieval device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060620

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060803

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060926

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070105

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070320

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070402

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110420

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120420

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120420

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130420

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130420

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140420

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees