JPH07129609A - Method and device for processing data - Google Patents

Method and device for processing data

Info

Publication number
JPH07129609A
JPH07129609A JP5274023A JP27402393A JPH07129609A JP H07129609 A JPH07129609 A JP H07129609A JP 5274023 A JP5274023 A JP 5274023A JP 27402393 A JP27402393 A JP 27402393A JP H07129609 A JPH07129609 A JP H07129609A
Authority
JP
Japan
Prior art keywords
data
character
dictionary
character string
order
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.)
Withdrawn
Application number
JP5274023A
Other languages
Japanese (ja)
Inventor
Kikuo Naitou
起久雄 内藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5274023A priority Critical patent/JPH07129609A/en
Publication of JPH07129609A publication Critical patent/JPH07129609A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide a method and a device for processing data capable of shortening the time required for retrieving the data. CONSTITUTION:This data processor is for instructing a character or a character string and retrieving the data of a data name including the corresponding character or character string and the character or character string to be retrieved and an output order for outputting retrieved results are instructed from a keyboard 3. The word length of the data name for which at least a part of the character or character string coincides is stored in a memory, the stored word length is referred to and the data provided with the data name are retrieved in an order corresponding to the word length corresponding to the instructed output order.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は文字或いは文字列を入力
して、その文字或いは文字列に少なくとも一部が一致す
る文字或いは文字列を含むデータ名のデータを検索する
データ処理方法及び装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing method and apparatus for inputting a character or a character string and searching for data having a data name including the character or the character string at least partially matching the character or the character string. It is a thing.

【0002】[0002]

【従来の技術】従来の、この種のデータ処理装置におけ
るデータ検索処理を説明する。複数の辞書或いはデータ
ベースより、入力されたキーワードに一致するデータを
検索する場合、これら辞書或いはデータベースに格納さ
れているデータの順序に関係なく、常に一定の順番でキ
ーワードに一致するデータの検索を行っている。即ち、
まず辞書等の索引を検索し、そのキーワードに該当する
文字列がどのデータブロックに存在している可能性があ
るか否かを判断する。そのデータブロックが見つかる
と、そのデータブロックの内容をメインメモリにロード
して、そのデータブロックを検索し、検索した結果を昇
順或いは降順に整列させてメモリに格納している。
2. Description of the Related Art A conventional data search process in this type of data processing apparatus will be described. When searching for data that matches the entered keywords from multiple dictionaries or databases, always search for data that matches the keywords in a fixed order, regardless of the order of the data stored in these dictionaries or databases. ing. That is,
First, an index such as a dictionary is searched, and it is determined in which data block the character string corresponding to the keyword may exist. When the data block is found, the contents of the data block are loaded into the main memory, the data block is searched, and the searched results are arranged in ascending or descending order and stored in the memory.

【0003】[0003]

【発明が解決しようとする課題】即ち、図4(A)
(B)に示すように、2つの辞書A,Bがあり、それぞ
れ図4のようにデータを記憶している場合を考える。こ
こで、キーワード「おんなおや」が入力されると、まず
図6(A)のように、このキーワードにより辞書Aの索
引を検索して、キーワードに一致する文字列を検出す
る。次に、図6(B)のように辞書Bの索引を検索し
て、キーワードの前方2文字「おん」に一致する「お
ん:御」を検出する。この場合、キーワードの部分一致
を含む検索結果を示す文字列を、最終的に五十音順に昇
順となるように整列させる必要がある。しかし、図6
(A)のように、後に来るべき文字列「おんなおや:女
親」が初めに検索され、前に来るべき文字列「おん:
御」が後で検索されると、最終的にこれらの文字列を五
十音順に並べ換える必要が生じる。このため検索された
文字列の数が多くなると、この並べ換えに多くの時間を
要してしまい、データの検索時間が長くなる等の問題が
あった。
Problem to be Solved by the Invention That is, FIG. 4 (A)
As shown in (B), consider a case where there are two dictionaries A and B, each of which stores data as shown in FIG. Here, when the keyword "onnaoya" is input, first, as shown in FIG. 6A, the index of the dictionary A is searched by this keyword to detect a character string that matches the keyword. Next, as shown in FIG. 6 (B), the index of the dictionary B is searched to detect "On: Go" that matches the two leading characters "On" of the keyword. In this case, it is necessary to arrange the character strings indicating the search results including the partial matches of the keywords so as to be in ascending order in the final Japanese syllabary order. However, FIG.
As in (A), the character string "Onnaoya: Female Parent" that should come later is searched first, and the character string "On:
If "O" is searched later, these character strings will eventually have to be rearranged in the Japanese syllabary order. For this reason, when the number of searched character strings becomes large, this rearrangement requires a lot of time, and there is a problem that the data search time becomes long.

【0004】本発明は上記従来例に鑑みてなされたもの
で、データ検索に要する時間を短縮できるデータ処理方
法及び装置を提供することを目的とする。
The present invention has been made in view of the above conventional example, and an object of the present invention is to provide a data processing method and apparatus capable of reducing the time required for data retrieval.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明のデータ処理方法は以下の様な工程を備える。
即ち、文字或いは文字列を指示して、対応する文字或い
は文字列を含むデータを検索するデータ処理方法であっ
て、検索する文字或いは文字列を指示する工程と、検索
結果を出力する出力順序を指示する工程と、前記文字或
いは文字列の少なくとも一部が一致するデータ名のワー
ド長を記憶しておき、前記出力順序に応じたワード長の
順に前記データを検索する工程とを有する。
In order to achieve the above object, the data processing method of the present invention comprises the following steps.
That is, a data processing method for instructing a character or a character string and searching for data including the corresponding character or character string, which includes a step of instructing a character or a character string to be searched and an output order for outputting a search result. There is a step of instructing, and a step of storing a word length of a data name in which at least a part of the character or the character string matches and searching the data in the order of the word length according to the output order.

【0006】上記目的を達成するために本発明のデータ
処理装置は以下の様な構成を備える。即ち、文字或いは
文字列を指示して、対応する文字或いは文字列を含むデ
ータ名のデータを検索するデータ処理装置であって、検
索する文字或いは文字列を指示する指示手段と、検索結
果を出力する出力順序を指示する順序指示手段と、前記
文字或いは文字列の少なくとも一部が一致するデータ名
のワード長を記憶する記憶手段と、前記記憶手段に記憶
されたワード長を参照し、前記順序指示手段により指示
された前記出力順序に応じて前記ワード長に対応する順
に前記データ名を有するデータを検索する検索手段とを
有する。
In order to achieve the above object, the data processing device of the present invention has the following configuration. That is, a data processing device for instructing a character or a character string and searching for data having a data name including a corresponding character or character string, and outputting an instruction means for instructing a character or a character string to be searched and a search result. Referring to the order length indicating means for indicating the output order, the storing means for storing the word length of the data name in which at least a part of the character or the character string matches, and the word length stored in the storing means, Search means for searching for data having the data name in an order corresponding to the word length according to the output order instructed by the instructing means.

【0007】[0007]

【作用】以上の構成において、検索する文字或いは文字
列が指示され、検索結果を出力する出力順序が指示され
ると、記憶手段に記憶されている文字或いは文字列の少
なくとも一部が一致するデータ名のワード長をを参照
し、その指示された出力順序に応じて、ワード長に対応
する順にデータ名を有するデータを検索するように動作
する。
In the above structure, when a character or character string to be searched is designated and an output order for outputting the search result is designated, data in which at least a part of the character or character string stored in the storage means matches. It operates to refer to the word length of the name and retrieve the data having the data name in the order corresponding to the word length according to the instructed output order.

【0008】[0008]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will now be described in detail with reference to the accompanying drawings.

【0009】図2は本発明の一実施例のデータ処理装置
の概略構成を示すブロック図、図1はその中央処理部
(CPU)1で実行される制御処理を示すフローチャー
トである。
FIG. 2 is a block diagram showing a schematic configuration of a data processing device according to an embodiment of the present invention, and FIG. 1 is a flow chart showing a control process executed by the central processing unit (CPU) 1.

【0010】図2において、1は装置全体を制御する中
央処理部で、マイクロプロセッサ等のCPU等を備え、
主記憶部2のプログラムメモリ203に記憶されている
プログラムに従って各種制御を行っている。この主記憶
部2は更に、補助記憶部5の辞書A501のあるデータ
ブロックをロードして記憶する辞書A200、辞書50
1のあるデータブロックをロードして記憶する辞書B2
01を備え、各辞書に対応して、ある文字で始まるコー
ド長を記憶しているコード長202、そして検索結果を
記憶する検索結果記憶部204等を有している。尚、こ
のコード長202は辞書A,Bが補助記憶部5に記憶さ
れている時は、その補助記憶部5に記憶されていても良
い。3はキーボードで、オペレータにより操作されて検
索の指示や各種命令が入力される。尚、このキーボード
にはポインティングデバイス等が接続されていて、表示
部4に表示されたメニュを使用して命令が入力される構
成であっても良い。4は、例えばCRTや液晶等の表示
部である。5は補助記憶部で、例えばフロッピィディス
クやハードディスク等で構成され、各種データベース或
いは各種辞書等が記憶されている。尚、主記憶部2の辞
書A200或いはB201は、主記憶部2に含まれる辞
書A,Bより読出されて記憶されたものであっても良
い。
In FIG. 2, reference numeral 1 denotes a central processing unit for controlling the entire apparatus, which includes a CPU such as a microprocessor,
Various controls are performed in accordance with programs stored in the program memory 203 of the main storage unit 2. The main storage unit 2 is further equipped with a dictionary A200 and a dictionary 50 for loading and storing a certain data block of the dictionary A501 of the auxiliary storage unit 5.
Dictionary B2 for loading and storing a data block with 1
01, a code length 202 that stores a code length that starts with a certain character, a search result storage unit 204 that stores a search result, and the like are provided for each dictionary. The code length 202 may be stored in the auxiliary storage unit 5 when the dictionaries A and B are stored in the auxiliary storage unit 5. A keyboard 3 is operated by an operator to input search instructions and various commands. A pointing device or the like may be connected to the keyboard so that commands can be input using the menu displayed on the display unit 4. Reference numeral 4 denotes a display unit such as a CRT or liquid crystal. Reference numeral 5 denotes an auxiliary storage unit, which is composed of, for example, a floppy disk or a hard disk, and stores various databases or various dictionaries. The dictionary A200 or B201 of the main storage unit 2 may be read and stored from the dictionaries A and B included in the main storage unit 2.

【0011】次に図1及び図4〜図5を参照して、本実
施例のデータ処理装置の動作を説明する。尚、図1のフ
ローチャートで示された制御プログラムは、プログラム
メモリ203に記憶されている。
Next, the operation of the data processing apparatus of this embodiment will be described with reference to FIGS. 1 and 4 to 5. The control program shown in the flowchart of FIG. 1 is stored in the program memory 203.

【0012】図1に示す処理は、キーボード3よりキー
ワードが入力されると、そのキーワードに一致する或い
は部分的に一致する文字列が辞書A或いは辞書Bに記憶
されているかどうかを調べるために、キーワード長と各
辞書の索引に記憶されている文字列の長さとを比較す
る。そして、そのキーワードに一部でも一致する文字列
があるかどうかを検索する。そして、その文字列が含ま
れていると思われるデータブロックを主記憶部2にロー
ドしキーワードと一致する文字があるかを判定する。そ
して、キーワード全体或いはその一部が一致している時
は、それらの文字列を抽出し、例えば五十音順に並べ
て、検索結果として表示部4に表示する。
In the processing shown in FIG. 1, when a keyword is input from the keyboard 3, it is checked whether or not a character string matching or partially matching the keyword is stored in the dictionary A or the dictionary B. The keyword length is compared with the length of the character string stored in the index of each dictionary. Then, it is searched whether there is a character string that partially matches the keyword. Then, a data block that seems to contain the character string is loaded into the main storage unit 2 and it is determined whether there is a character that matches the keyword. When all or part of the keywords match, those character strings are extracted, arranged in, for example, the Japanese syllabary, and displayed on the display unit 4 as a search result.

【0013】図3及び図4は本実施例の主記憶部2に記
憶されている辞書のデータ構造を示す図である。
3 and 4 are diagrams showing the data structure of the dictionary stored in the main memory 2 of this embodiment.

【0014】図3は、コード長記憶部202のデータ構
成例を示している。このデータ長202には、辞書A5
01及びB502のそれぞれのデータ部211,213
において、先頭の文字(コード)が「あ、…わ、ゐ、
ゑ、を、ん」に対応して、その文字で始まる文字列の最
長数が記憶されている。即ち、ある文字で始まる2文
字,5文字及び6文字の文字列が辞書のデータ部に存在
する時は、最長数である“6”がコード長としてセット
され、全く存在しないときは“0”が格納されている。
例えば、図4(A)に示すように、辞書A501のデー
タ部211には「おんな」、「おんなおや」という3文
字と5文字の2つのワードが存在するので、先頭の文字
が「お」であるコード長は長い方のワード長を採って
“5”となっている。一方、図4(B)に示すように、
辞書B502のデータ部213では、「お」、「おん」
という1文字と2文字の2つのワードが存在するので、
先頭の文字が「お」であるコード長は長い方のワード長
を採って“2”となっている。また、辞書A501及び
B502のいずれのデータ部にも「う」で始まるワード
が存在しないため、先頭文字が「う」であるコード長は
“0”となっている。
FIG. 3 shows an example of the data structure of the code length storage unit 202. In this data length 202, the dictionary A5
01 and B502 data sections 211 and 213, respectively
In, the first character (code) is "Ah ... wa, ゐ,
The longest number of character strings starting with that character is stored in correspondence with "A, O, N". That is, when a character string of 2, 5, or 6 characters that starts with a certain character exists in the data part of the dictionary, the longest number "6" is set as the code length, and when it does not exist at all, "0" Is stored.
For example, as shown in FIG. 4A, since the data portion 211 of the dictionary A501 has two words of “onna” and “onnaoya”, which are three characters and five characters, the first character is “o”. The code length of "" is "5" by taking the longer word length. On the other hand, as shown in FIG.
In the data part 213 of the dictionary B502, "o" and "on"
There are two words, one character and two characters,
The code length in which the first character is "O" is "2" by taking the longer word length. Further, since there is no word starting with "U" in any of the data parts of the dictionaries A501 and B502, the code length of which the first character is "U" is "0".

【0015】図4(A)(B)のそれぞれは、辞書A5
01と辞書B502のデータ構成を示す図で、図4
(A)では、210は辞書A501の索引、211はデ
ータ部を示す。また、図4(B)では、212は辞書B
502の索引、213は辞書Bのデータ部を示してい
る。尚、これら索引では、各ブロックに格納されている
最初のワード(キーワード)と、そのブロック番号とが
対になって記憶されている。また、データ部は、ある特
定の単位でブロックに分割されており、各ブロックで
は、キーワードとそれに関連するデータとが格納されて
いる。
Each of FIGS. 4A and 4B is a dictionary A5.
01 and the data structure of the dictionary B502.
In (A), 210 indicates an index of the dictionary A501, and 211 indicates a data part. Further, in FIG. 4B, 212 is the dictionary B.
An index 502 and a data portion 213 of the dictionary B are shown. In these indexes, the first word (keyword) stored in each block and its block number are stored in pairs. Further, the data part is divided into blocks in a specific unit, and each block stores a keyword and data related to the keyword.

【0016】次に、以上の構成に基づいて、図1のフロ
ーチャートを説明する。
Next, the flowchart of FIG. 1 will be described based on the above configuration.

【0017】いまステップS1で、例えばキーボード3
等から「おんなおや」というキーワードが入力されると
ステップS2に進み、そのキーワードに基づいて、コー
ド長202に記憶されている、各辞書に存在しているワ
ード(キーワード)の長さ情報を求める。ここでは、キ
ーワード「おんなおや」の先頭文字「お」で始まるワー
ド長を得る。この例では、図3より、辞書A501では
“5”、辞書B502では“2”となる。
Now, in step S1, for example, the keyboard 3
When the keyword "Onna-ya" is input from, etc., the process proceeds to step S2, and based on the keyword, the length information of the word (keyword) existing in each dictionary stored in the code length 202 is obtained. Ask. Here, the word length starting with the first character "O" of the keyword "Onnaoya" is obtained. In this example, as shown in FIG. 3, the dictionary A 501 has “5”, and the dictionary B 502 has “2”.

【0018】次にステップS3に進み、全辞書を検索し
たかを調べ、全辞書の検索が終了するとステップS11
に、そうでないときはステップS4に進む。ステップS
4では、検索結果を記憶する時の整列順、即ち、五十音
順或いはアルファベット順等の昇順或いは降順に格納す
るかどうかを調べ、昇順であればコード長が最小のワー
ドが記憶されている辞書(ここでは辞書B)より、降順
であればコード長が最大のワードが記憶されている辞書
(ここでは辞書A)より読み出しを開始する。本実施例
では、文字「お」で始まるワードの最大コード長が辞書
A501では“5”、辞書Bでは“2”であり、検索結
果を昇順に格納しているため、ステップS4では、コー
ド長の短い辞書Bより検索を開始する。
Next, in step S3, it is checked whether all the dictionaries have been searched, and when the search of all dictionaries is completed, step S11.
If not, the process proceeds to step S4. Step S
In 4, it is checked whether or not the search results are stored in the sort order, that is, in the ascending or descending order such as the Japanese syllabary order or alphabetical order. If the search results are ascending order, the word with the smallest code length is stored. From the dictionary (here, the dictionary B), in descending order, the reading is started from the dictionary (here, the dictionary A) in which the word having the maximum code length is stored. In the present embodiment, the maximum code length of the word starting with the character "O" is "5" in the dictionary A501 and "2" in the dictionary B, and the search results are stored in ascending order. The search is started from the dictionary B having a short length.

【0019】ここではステップS5で、辞書B502の
索引212を調べ、該当するワードで始まるデータブロ
ックを求め、そのデータブロックをデータ部213より
主記憶部2の辞書B201にロードする。こうしてステ
ップS7〜S9で辞書B201を順次検索し、入力され
たキーワード「おんなおや」の先頭文字より一致する最
長のワード「おん」が検出されるとステップS10に進
み、これを検索結果記憶部204に記憶する(図5
(A))。こうして辞書B201の検索が終了した後ス
テップS3、ステップS14に進み、次に辞書A501
の検索が開始される。
Here, in step S5, the index 212 of the dictionary B502 is checked to find a data block starting with the corresponding word, and the data block is loaded from the data section 213 into the dictionary B201 of the main storage section 2. In this way, the dictionary B201 is sequentially searched in steps S7 to S9, and when the longest matching word "on" from the first character of the input keyword "onnaoya" is detected, the process proceeds to step S10, in which the search result storage unit It is stored in 204 (FIG. 5)
(A)). After the search of the dictionary B201 is completed in this way, the process proceeds to steps S3 and S14, and then the dictionary A501.
The search for is started.

【0020】この場合も、前述の辞書Bの場合と同様
に、辞書A501の索引210を参照して「おんなお
や」が検索され、このワードを有する辞書A501のデ
ータブロックが主記憶部2の辞書A200に記憶され
る。こうして最長の一致するキーワードとして「おんな
おや」が検索結果記憶部204の、「おん」の次に記憶
される(ステップS10)。この様子が図5(B)に示
されている。このようにしてステップS10では、既に
格納されている「おん」より「おんなおや」の方がワー
ド長が長いため、検索結果記憶部204において検索さ
れた結果を示すデータの入れ替えを行うことなく、これ
ら検索結果を整列して保存できる。
Also in this case, as in the case of the above-mentioned dictionary B, "Onnaoya" is searched by referring to the index 210 of the dictionary A501, and the data block of the dictionary A501 having this word is stored in the main storage unit 2. It is stored in the dictionary A200. In this way, "on naoya" is stored as the longest matching keyword next to "on" in the search result storage unit 204 (step S10). This state is shown in FIG. In this way, in step S10, since the word length of “Onna-ya” is longer than that of “On” that is already stored, the data indicating the result retrieved in the retrieval result storage unit 204 is not replaced. , Search results can be sorted and saved.

【0021】こうしてステップS3で、辞書A501の
検索が終了して全辞書の検索が終了するとステップS1
1に進み、検索結果記憶部204にデータが保存されて
いるかを判定し、一致データが存在する場合はステップ
S12に進み、一致したデータがあったことを表示部4
に表示、或いは主記憶部2に記憶する。もし、検索の結
果、一致データが存在しない場合にはステップS13に
進み、キーワードに一致したデータがないことを表示部
4に表示、或いは主記憶部2に記憶する。
Thus, when the search of the dictionary A501 is completed and the search of all the dictionaries is completed in step S3, step S1
In step 1, it is determined whether or not data is stored in the search result storage unit 204. If there is matching data, the process proceeds to step S12, in which the display unit 4 indicates that there is matching data.
Or stored in the main storage unit 2. If no matching data is found as a result of the search, the process proceeds to step S13, and the fact that there is no data matching the keyword is displayed on the display unit 4 or stored in the main storage unit 2.

【0022】以上説明したように本実施例によれば、検
索したデータを昇順或いは降順等に再配列する必要がな
くなるので、検索処理に要する時間を短縮できる。
As described above, according to this embodiment, it is not necessary to rearrange the retrieved data in ascending order or descending order, so that the time required for the retrieval process can be shortened.

【0023】尚、本実施例では、ステップS7で最長の
一致ワードを検出しているので、図5(B)に示すよう
に、「おん」「おんなおや」だけが検索されて配列され
ているが、少なくとも先頭文字より一致するワードを抽
出するようにすれば、「お」「おん」「おんな」「おん
なおや」が順次検索されて、検索結果記憶部204にそ
のまま記憶される。この場合にも、前述と同様の効果が
得られることはいうまでもない。
In this embodiment, since the longest matching word is detected in step S7, as shown in FIG. 5B, only "on" and "onnaoya" are searched and arranged. However, if a matching word is extracted from at least the first character, “O”, “ON”, “ONNA”, and “ONNAYA” are sequentially searched and stored in the search result storage unit 204 as they are. Needless to say, in this case, the same effect as described above can be obtained.

【0024】また、本発明は複数の機器から構成される
システムに適用しても、1つの機器からなる装置に適用
しても良い。また、本発明はシステム或は装置に、本発
明を実施するプログラムを供給することによって達成さ
れる場合にも適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can also be applied to the case where it is achieved by supplying a program for implementing the present invention to a system or an apparatus.

【0025】[0025]

【発明の効果】以上説明したように本発明によれば、デ
ータ検索に要する時間を短縮できる効果がある。
As described above, according to the present invention, the time required for data retrieval can be shortened.

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

【図1】本実施例のデータ処理装置におけるデータ検索
処理を示すフローチャートである。
FIG. 1 is a flowchart showing a data search process in a data processing device of this embodiment.

【図2】本発明の一実施例のデータ処理装置の概略構成
を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a data processing device according to an embodiment of the present invention.

【図3】本実施例のコード長記憶部のデータ構成を示す
図である。
FIG. 3 is a diagram showing a data structure of a code length storage unit of the present embodiment.

【図4】本実施例の辞書A(図4(A))と辞書B(図
4(B))のデータの構造を示す図である。
FIG. 4 is a diagram showing a data structure of a dictionary A (FIG. 4A) and a dictionary B (FIG. 4B) of the present embodiment.

【図5】本実施例におけるデータ検索処理を示す模式図
で、図5(A)は辞書Bの検索結果を示し、図5(B)
は辞書Aの検索結果を示している。
FIG. 5 is a schematic diagram showing a data search process in the present embodiment, FIG. 5 (A) shows a search result of the dictionary B, and FIG.
Indicates the search result of the dictionary A.

【図6】従来のデータ検索処理を示す模式図である。FIG. 6 is a schematic diagram showing a conventional data search process.

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

1 中央処理装置(CPU) 2 主記憶部 3 キーボード 4 表示部 5 補助記憶部 200 辞書Aのロードエリア 201 辞書Bのロードエリア 202 コード長 203 プログラムメモリ 204 検索結果記憶部 501 辞書A 502 辞書B 1 central processing unit (CPU) 2 main memory unit 3 keyboard 4 display unit 5 auxiliary memory unit 200 load area of dictionary A 201 load area of dictionary B 202 code length 203 program memory 204 search result storage unit 501 dictionary A 502 dictionary B

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文字或いは文字列を指示して、対応する
文字或いは文字列を含むデータを検索するデータ処理方
法であって、 検索する文字或いは文字列を指示する工程と、 検索結果を出力する出力順序を指示する工程と、 前記文字或いは文字列の少なくとも一部が一致するデー
タ名のワード長を記憶しておき、前記出力順序に応じた
ワード長の順に前記データを検索する工程と、 を有することを特徴とするデータ処理方法。
1. A data processing method for instructing a character or a character string to retrieve data containing a corresponding character or character string, the step of instructing the character or the character string to be retrieved, and outputting the retrieval result. A step of instructing an output order, a step of storing a word length of a data name in which at least a part of the character or the character string matches, and searching the data in the order of the word length according to the output order. A data processing method comprising:
【請求項2】 文字或いは文字列を指示して、対応する
文字或いは文字列を含むデータ名のデータを検索するデ
ータ処理装置であって、 検索する文字或いは文字列を指示する指示手段と、 検索結果を出力する出力順序を指示する順序指示手段
と、 前記文字或いは文字列の少なくとも一部が一致するデー
タ名のワード長を記憶する記憶手段と、 前記記憶手段に記憶されたワード長を参照し、前記順序
指示手段により指示された前記出力順序に応じて前記ワ
ード長に対応する順に前記データ名を有するデータを検
索する検索手段と、 を有することを特徴とするデータ処理装置。
2. A data processing device for instructing a character or a character string to retrieve data having a data name including the corresponding character or character string, and an instructing means for instructing a character or a character string to be retrieved. Refer to the order instruction means for instructing the output order for outputting the result, the storage means for storing the word length of the data name in which at least a part of the character or the character string matches, and the word length stored in the storage means. A search means for searching for data having the data name in an order corresponding to the word length according to the output order instructed by the order instructing means.
JP5274023A 1993-11-02 1993-11-02 Method and device for processing data Withdrawn JPH07129609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5274023A JPH07129609A (en) 1993-11-02 1993-11-02 Method and device for processing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5274023A JPH07129609A (en) 1993-11-02 1993-11-02 Method and device for processing data

Publications (1)

Publication Number Publication Date
JPH07129609A true JPH07129609A (en) 1995-05-19

Family

ID=17535888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5274023A Withdrawn JPH07129609A (en) 1993-11-02 1993-11-02 Method and device for processing data

Country Status (1)

Country Link
JP (1) JPH07129609A (en)

Similar Documents

Publication Publication Date Title
JP3945075B2 (en) Electronic device having dictionary function and storage medium storing information retrieval processing program
JPH07129609A (en) Method and device for processing data
JPS617936A (en) Information retrieving system
JP2939841B2 (en) Database search device
JP3415214B2 (en) Document search device
JPH04311263A (en) Electronic dictionary retrieving device
JPH0773187A (en) Retrieving system
JP3056810B2 (en) Document search method and apparatus
JPH10124524A (en) Device for retrieving document and method therefor
JP3498635B2 (en) Information retrieval method and apparatus, and computer-readable recording medium
JPH0991304A (en) Method, system, and storage means for information retrieval
JPH07129600A (en) Data processor and dictionary used in the processor
JPH07129599A (en) Data processing method and device therefor
JP2990314B2 (en) Data management device
JPH05135104A (en) Information retrieval device
JP3585944B2 (en) Data processing method and apparatus
JPH04290158A (en) Document creation device
JPH06162096A (en) Record retrieval method
JPH03127254A (en) Word retrieving device
JPH07325831A (en) Document retrieval method and document retrieval device
JPH07262198A (en) Document retrieval device
JPS60251461A (en) "kana"/"kanji" converter
JPH04259058A (en) Document processor with space deleting function
JPH06203077A (en) Electronic dictionary
JPH0521265B2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010130