JPH09153040A - Method and device for predicting character string - Google Patents

Method and device for predicting character string

Info

Publication number
JPH09153040A
JPH09153040A JP7313303A JP31330395A JPH09153040A JP H09153040 A JPH09153040 A JP H09153040A JP 7313303 A JP7313303 A JP 7313303A JP 31330395 A JP31330395 A JP 31330395A JP H09153040 A JPH09153040 A JP H09153040A
Authority
JP
Japan
Prior art keywords
character string
input
character
unit
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7313303A
Other languages
Japanese (ja)
Inventor
Hiroyuki Oka
弘幸 岡
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7313303A priority Critical patent/JPH09153040A/en
Publication of JPH09153040A publication Critical patent/JPH09153040A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To show a predicted character string without newly providing a storage area or dictionary and to reduce the burden of input by retrieving an inputted character string from a document which is being prepared when part of the input string is inputted, and outputting the following character string as a candidate for a predicted character string. SOLUTION: When a prediction button is pressed, a predicting operation start part 100 informs a character string input part 101 of the start of a predicting process and a character string input part 101 takes a character string to be used for the predicting process out of a character buffer 102 and passes it to a retrieval control part 103. A character string retrieval part 105 receives a character string as a key for retrieval from a retrieval control part 3 and performs retrieval from an in-preparation document file 106 that a user is inputting. When the retrieval is successful, a constant-number character string taking- out part 107 takes the character string consisting of a certain number of characters behind the retrieval position out of the in-preparation document file 106. A retrieval control part 103 passes this character string to a predicted character string selection control part 109, so that the character string is displayed at a display part 108.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字入力の可能な
入力装置により入力された文字列をもとに、入力された
文字列に続く文字列を予測する文字列予測方法、この方
法を用いた文字列予測装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string prediction method for predicting a character string following an input character string based on a character string input by an input device capable of inputting a character, and uses this method. And a character string prediction device.

【0002】[0002]

【従来の技術】従来、例えば手書き文字認識装置等を用
いて文字列を入力する際には、キーボードからの入力等
とは異なり、−文字を入力するのに時間がかかるため、
利用者に対する負担が大きかった。そこで、利用者に対
する負担を軽くするために、入力しようとしている文字
列のー部が入力された段階で、入力された文字列をもと
にその文字列に続く文字列を予測するという方法が考え
られてきた。
2. Description of the Related Art Conventionally, when inputting a character string using, for example, a handwritten character recognizing device, it takes time to input a character, unlike input from a keyboard.
The burden on the user was heavy. Therefore, in order to reduce the burden on the user, a method of predicting the character string following the character string based on the input character string when the part of the character string to be input is input Has been considered.

【0003】しかしながら、文字列を入力する人夫々に
使用する文字列に偏りがみられたり、作成中の文書によ
り使用する文字列が特化しているため、利用者の希望す
る文字列を効率よく予測することが難しかった。
However, since the character strings used by each person who inputs the character string are biased, and the character string used is specialized depending on the document being created, the character string desired by the user can be efficiently used. It was difficult to predict.

【0004】そこで、以前使われた文字列を学習してお
く、住所の入力、名前の入力等というように利用分野を
限定するなどの方法が考えられてきた。
Therefore, methods such as learning previously used character strings, limiting the fields of use such as inputting an address and inputting a name have been considered.

【0005】しかし、こうした方法により利用者が意図
した文字列が予測されるとしても、学習のための記憶領
域や利用分野別の辞書等従来の予測に比べて余計に記憶
領域若しくは辞書を持たなければならないという問題点
があった。
However, even if the character string intended by the user is predicted by such a method, it is necessary to have an extra storage area or dictionary as compared with the conventional prediction such as a storage area for learning or a dictionary according to the field of use. There was a problem that it had to be.

【0006】[0006]

【発明が解決しようとする課題】上述したように、従来
の技術にあっては、文字列予測方法に於いて、利用者の
希望する文字列を効率よく予測する目的で、学習のため
の記憶領域や、利用分野別の辞書などが必要であった。
そして、文字列を入力する人夫々に使用する文字列に偏
りがみられたり、作成中の文書により使用する文字列が
特化しているため、利用者の希望する文字列を効率よく
予測することが難しかった。又、利用者が意図した文字
列が予測されるとしても、学習のための記憶領域や利用
分野別の辞書等従来の予測に比べて余計に記憶領域若し
くは辞書を持たなければならないという問題点があっ
た。
As described above, in the conventional technique, in the character string prediction method, the memory for learning is used for the purpose of efficiently predicting the character string desired by the user. Areas and dictionaries for each field of use were needed.
Also, because the character strings used by each person who inputs the character string are biased and the character string used is specialized depending on the document being created, it is possible to efficiently predict the character string desired by the user. Was difficult. In addition, even if the character string intended by the user is predicted, there is a problem that an additional storage area or dictionary must be provided as compared with the conventional prediction such as a storage area for learning or a dictionary according to the usage field. there were.

【0007】そこで、本発明は上記事情を考慮して成さ
れたものであり、上記不具合を解消し、文字列が入力さ
れた際には、その時点で作成中の文書、若しくは使用中
の文書作成装置に保存されているファイル内から入力さ
れた文字列を検索して検索に成功した部分より後ろの文
字列を予測文字列の候補として出力することにより、新
たに記憶領域や辞書を設けることなく利用者個人に利用
者がこれから入力しようとしている文字列を示し、文書
作成の操作性を向上させることができる文字列予測方
法、この方法を用いた文字列予測装置を提供することを
目的としている。
Therefore, the present invention has been made in consideration of the above circumstances, and solves the above problems and, when a character string is input, a document that is being created or is being used at that time. Providing a new storage area or dictionary by searching the character string input from the file saved in the creation device and outputting the character string after the part where the search is successful as a predicted character string candidate. For the purpose of providing a character string prediction method that can show the character string that the user is about to input to the user individually and improve the operability of document creation, and a character string prediction device that uses this method. There is.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するため、入力された文字列が先頭部分にある文字列
を利用者がこれから入力しようとしている文字列として
予測して利用者に示す文字列予測装置に於ける前記入力
文字列に続く文字列を予測する文字列予測方法にあっ
て、文字列が入力された場合には、その時点までに入力
が終っている作成中の文書内から入力された文字列を現
在編集中の位置から遡って検索し、同一文字列を見つけ
ることができたときには、見つけることができた複数の
文字列について検索された文字列より後ろの文字列を取
り出し、取り出された複数の文字列を最初に検索された
ものを優先して予測文字列群として出力する方法にあ
る。
In order to achieve the above object, the present invention predicts a character string having an input character string at the beginning as a character string to be input by the user and prompts the user to do so. In the character string prediction method for predicting the character string following the input character string in the character string prediction device shown, when the character string is input, the document being input is completed by that point When the same character string can be found by searching the character string input from within the current editing position, the character string after the searched character string can be found for the multiple character strings that could be found. Is extracted, and a plurality of extracted character strings are output as a predicted character string group by giving priority to the first searched character string.

【0009】又、本発明は上記目的を達成するため、入
力された文字列が先頭部分にある文字列を利用者がこれ
から入力しようとしている文字列として予測して利用者
に示す文字列予測装置に於ける前記入力文字列に続く文
字列を予測する文字列予測方法にあって、文字列が入力
された場合には、その時点までに入力が終っている作成
中の文書内から入力された文字列を検索し、同一文字列
を見つけることができたときには、見つけることができ
た複数の文字列について検索された文字列より後ろの文
字列を取り出し、取り出された複数の文字列を同一文書
内での出現頻度順に並び変えて出現頻度の高いものを予
測文字列群として出力する方法にある。
In order to achieve the above object, the present invention predicts a character string in which the input character string is at the beginning as a character string to be input by the user, and presents it to the user. In the character string prediction method for predicting the character string following the input character string in, when a character string is input, it is input from the document being created that has been input by that point. When a character string is searched and the same character string can be found, the character string after the searched character string is extracted for the plurality of found character strings, and the extracted character strings are set to the same document. There is a method of rearranging in the order of appearance frequency and outputting those having a high appearance frequency as a predicted character string group.

【0010】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、文字列が入
力された場合には、その時点までに入力が終っている作
成中の文書内から入力された文字列を検索し、同一文字
列を見つけることができたときには、見つけることがで
きた複数の文字列について検索された文字列より後ろの
文字列を選び出し選び出された複数の文字列の画面上で
の表示属性を変えて予測文字列群として出力する方法に
ある。
Further, in order to achieve the above object, the present invention provides
Character that predicts the character string in which the input character string is at the beginning as the character string that the user is about to input, and indicates to the user the character that predicts the character string that follows the input character string in the character string prediction device In the column prediction method, when a character string was input, the same character string could be found by searching for the input character string from the document being created that has been input by that point. Occasionally, a method of selecting a character string after the searched character string for a plurality of found character strings and changing the display attributes of the selected character strings on the screen to output as a predicted character string group It is in.

【0011】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、文字列が入
力された場合には、作成中の文書と同一のアプリケーシ
ョンによって作成された文書ファイル群から入力された
文字列を検索し、同一文字列を見つけることができたと
きには、見つけることができた複数の文字列について検
索された文字列より後ろの文字列を取り出し、取り出さ
れた複数の文字列を予測文字列群として出力する方法に
ある。
Further, in order to achieve the above object, the present invention provides:
Character that predicts the character string in which the input character string is at the beginning as the character string that the user is about to input, and indicates to the user the character that predicts the character string that follows the input character string in the character string prediction device In the column prediction method, if a character string is input, the same character string can be found by searching the character string input from the document file group created by the same application as the document being created. In this case, a character string after the searched character string is extracted for the plurality of found character strings, and the plurality of extracted character strings is output as a predicted character string group.

【0012】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、文字列が入
力された場合には、使用中の文書作成装置内の文書ファ
イル全てを対象として入力された文字列を検索し、同一
文字列を見つけることができたときには、見つけること
ができた複数の文字列について検索された文字列より後
ろの文字列を取り出し、取り出された複数の文字列を予
測文字列群として出力する方法にある。
Further, in order to achieve the above object, the present invention provides
Character that predicts the character string in which the input character string is at the beginning as the character string that the user is about to input, and indicates to the user the character that predicts the character string that follows the input character string in the character string prediction device In the column prediction method, when a character string is input, the input character string is searched for all the document files in the document creation device in use, and when the same character string can be found , A method of extracting a character string after the searched character string for the plurality of found character strings and outputting the plurality of extracted character strings as a predicted character string group.

【0013】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、文字列が入
力された場合には、使用中の文書作成装置内の文書ファ
イルのうち、予め設定されている日時より後に作成、変
更されたファイルを対象として入力された文字列を検索
し、同一文字列を見つけることができたときには、見つ
けることができた複数の文字列について検索された文字
列より後ろの文字列を取り出し、取り出された複数の文
字列を予測文字列群として出力する方法にある。
Further, in order to achieve the above object, the present invention provides
Character that predicts the character string in which the input character string is at the beginning as the character string that the user is about to input, and indicates to the user the character that predicts the character string that follows the input character string in the character string prediction device In the column prediction method, when a character string was input, it was input for files that were created and changed after the preset date and time among the document files in the document creation device in use. When a character string is searched and the same character string can be found, the character string after the searched character string is extracted for the plurality of found character strings, and the extracted character strings are predicted characters. There is a method of outputting as a column group.

【0014】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、文字列が入
力された場合には、使用中の文書作成装置内の文書ファ
イルのうち、予め設定されている人物により作成、変更
されたファイルを対象として入力された文字列を検索
し、同一文字列を見つけることができたときには、見つ
けることができた複数の文字列について検索された文字
列より後ろの文字列を取り出し、取り出された複数の文
字列を予測文字列群として出力する方法にある。
Further, in order to achieve the above object, the present invention provides:
Character that predicts the character string in which the input character string is at the beginning as the character string that the user is about to input, and indicates to the user the character that predicts the character string that follows the input character string in the character string prediction device In the column prediction method, when a character string is input, the character input for the file created and changed by a preset person among the document files in the document creation device in use When a string is searched and the same character string can be found, the character string after the searched character string is extracted for the multiple character strings that can be found, and the extracted character strings are predicted character strings. There is a method of outputting as a group.

【0015】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於いて、文字列を入力するた
めの文字列入力手段と、入力された文字列を同一文書内
の編集中の位置から遡って検索する文字列検索手段と、
検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、複数の文字列を取り出すために文字列検
索手段及び文字列取り出し手段とを制御する検索制御手
段と、取り出した文字列群を最初に検索されたものを優
先して出力する出力手段とを具備した構成にある。
Further, in order to achieve the above object, the present invention provides:
A character string input device for inputting a character string in a character string predicting device that predicts a character string in which the input character string is at the beginning as a character string that the user is about to input And a character string search means for searching the input character string backward from the position being edited in the same document,
A character string extracting means for extracting a character string after the searched character string; a search control means for controlling the character string searching means and the character string extracting means for extracting a plurality of character strings; The output means for giving priority to the first searched one is output.

【0016】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於いて、文字列を入力するた
めの文字列入力手段と、入力された文字列を同一文書内
から検索する文字列検索手段と、検索された文字列より
後ろの文字列を取り出す文字列取り出し手段と、複数の
文字列を取り出すために文字列検索手段及び文字列取り
出し手段とを制御する検索制御手段と、取り出した文字
列群を同一文書内での出現頻度順に出力する出力手段と
を具備した構成にある。
Further, in order to achieve the above object, the present invention provides
A character string input device for inputting a character string in a character string predicting device that predicts a character string in which the input character string is at the beginning as a character string that the user is about to input And a character string retrieval means for retrieving the input character string from the same document, a character string retrieval means for retrieving a character string after the retrieved character string, and a character string retrieval means for retrieving a plurality of character strings. And a retrieval control means for controlling the character string retrieval means and an output means for outputting the retrieved character string group in the order of appearance frequency in the same document.

【0017】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於いて、文字列を入力するた
めの文字列入力手段と、入力された文字列を同一文書内
から検索する文字列検索手段と、検索された文字列より
後ろの文字列を取り出す文字列取り出し手段と、複数の
文字列を取り出すために文字列検索手段及び文字列取り
出し手段とを制御する検索制御手段と、取り出された文
字列の画面上での表示属性を変える出力手段とを具備し
た構成にある。
Further, in order to achieve the above object, the present invention provides:
A character string input device for inputting a character string in a character string predicting device that predicts a character string in which the input character string is at the beginning as a character string that the user is about to input And a character string retrieval means for retrieving the input character string from the same document, a character string retrieval means for retrieving a character string after the retrieved character string, and a character string retrieval means for retrieving a plurality of character strings. And a retrieval control means for controlling the character string retrieval means, and an output means for changing the display attribute of the retrieved character string on the screen.

【0018】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於いて、文字列を入力するた
めの文字列入力手段と、入力された文字列を作成中の文
書と同一のアプリケーションによって作成された文書フ
ァイル群から検索する文字列検索手段と、検索された文
字列より後ろの文字列を取り出す文字列取り出し手段
と、複数の文字列を取り出すために文字列検索手段及び
文字列取り出し手段とを制御する検索制御手段と、取り
出した文字列群を出力する出力手段とを具備した構成に
ある。
Further, in order to achieve the above object, the present invention provides
A character string input device for inputting a character string in a character string predicting device that predicts a character string in which the input character string is at the beginning as a character string that the user is about to input A character string retrieval means for retrieving the input character string from a document file group created by the same application as the document being created, and a character string retrieval means for retrieving a character string after the retrieved character string, The retrieval control means controls the character string retrieval means and the character string retrieval means for retrieving a plurality of character strings, and the output means for outputting the retrieved character string group.

【0019】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於いて、文字列を入力するた
めの文字列入力手段と、入力された文字列を使用中の文
書作成装置内の文書ファイル全てを対象として検索する
文字列検索手段と、検索された文字列より後ろの文字列
を取り出す文字列取り出し手段と、複数の文字列を取り
出すために文字列検索手段及び文字列取り出し手段とを
制御する検索制御手段と、取り出した文字列群を出力す
る出力手段とを具備した構成にある。
Further, in order to achieve the above object, the present invention provides
A character string input device for inputting a character string in a character string predicting device that predicts a character string in which the input character string is at the beginning as a character string that the user is about to input And a character string search means for searching all the document files in the document creation device that is using the input character string, a character string extraction means for extracting a character string after the searched character string, and a plurality of character string extraction means. The retrieval control means controls the character string retrieval means and the character string retrieval means to retrieve the character string, and the output means for outputting the retrieved character string group.

【0020】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於いて、文字列を入力するた
めの文字列入力手段と、入力された文字列を使用中の文
書作成装置内の文書ファイルのうち予め設定されている
日時より後に作成、変更されたファイルを対象として検
索する文字列検索手段と、検索された文字列より後ろの
文字列を取り出す文字列取り出し手段と、複数の文字列
を取り出すために文字列検索手段及び文字列取り出し手
段とを制御する検索制御手段と、取り出した文字列群を
出力する出力手段とを具備した構成にある。
Further, in order to achieve the above object, the present invention provides
A character string input device for inputting a character string in a character string predicting device that predicts a character string in which the input character string is at the beginning as a character string that the user is about to input And a character string search means for searching for a file created or changed after a preset date and time among the document files in the document creating apparatus that is using the input character string, and the searched character string A character string retrieving means for retrieving a character string after the retrieving character string; a search control means for controlling the character string retrieving means and the character string retrieving means for retrieving a plurality of character strings; and an output means for outputting the retrieved character string group. It is configured to include.

【0021】更に、本発明は上記目的を達成するため、
入力された文字列が先頭部分にある文字列を利用者がこ
れから入力しようとしている文字列として予測して利用
者に示す文字列予測装置に於いて、文字列を入力するた
めの文字列入力手段と、入力された文字列を使用中の文
書作成装置内の文書ファイルのうち予め設定されている
人物により作成、変更されたファイルを対象として検索
する文字列検索手段と、検索された文字列より後ろの文
字列を取り出す文字列取り出し手段と、複数の文字列を
取り出すために文字列検索手段及び文字列取り出し手段
とを制御する検索制御手段と、取り出した文字列群を出
力する出力手段とを具備した構成にある。
Further, in order to achieve the above object, the present invention provides
A character string input device for inputting a character string in a character string predicting device that predicts a character string in which the input character string is at the beginning as a character string that the user is about to input And a character string search means for searching for a file created or changed by a preset person among the document files in the document creation device that is using the input character string, and the searched character string. A character string extracting means for extracting the subsequent character string; a search control means for controlling the character string searching means and the character string extracting means for extracting a plurality of character strings; and an output means for outputting the extracted character string group. It is in the configuration provided.

【0022】上記構成によれば、文字列が入力された場
合には、その時点までに入力が終っている作成中の文書
内から入力された文字列を現在編集中の位置から遡って
検索し、同一文字列を見つけることができたときには、
見つけることができた複数の文字列について検索された
文字列より後ろの文字列を取り出し、取り出された複数
の文字列を最初に検索されたものを優先して予測文字列
群として出力する。
According to the above configuration, when a character string is input, the input character string is searched for from the current editing position in the document being created by that time. , When I can find the same string,
For the plurality of found character strings, a character string after the searched character string is taken out, and the plurality of taken out character strings are output as a predicted character string group with priority given to the first searched character string.

【0023】更に、文字列が入力された場合には、その
時点までに入力が終っている作成中の文書内から入力さ
れた文字列を検索し、同一文字列を見つけることができ
たときには、見つけることができた複数の文字列につい
て検索された文字列より後ろの文字列を取り出し、取り
出された複数の文字列を同一文書内での出現頻度順に並
び変えて出現頻度の高いものを優先して予測文字列群と
して出力する。
Further, when a character string is input, the input character string is searched from the document being created which has been input up to that point, and when the same character string can be found, Regarding the multiple character strings that can be found, the character string after the searched character string is taken out, the extracted character strings are rearranged in the order of appearance frequency in the same document, and the one with the highest appearance frequency is given priority. And output as a predicted character string group.

【0024】更に、文字列が入力された場合には、その
時点までに入力が終っている作成中の文書内から入力さ
れた文字列を検索し、同一文字列を見つけることができ
たときには、見つけることができた複数の文字列につい
て検索された文字列より後ろの文字列を選び出し選び出
された複数の文字列の画面上での表示属性を変えて予測
文字列群として出力する。
Further, when a character string is input, the input character string is searched from the document being created which has been input up to that point, and when the same character string can be found, For the plurality of found character strings, a character string after the searched character string is selected and the display attributes of the selected plurality of character strings on the screen are changed and output as a predicted character string group.

【0025】更に、文字列が入力された場合には、作成
中の文書と同一のアプリケーションによって作成された
文書ファイル群から入力された文字列を検索し、同一文
字列を見つけることができたときには、見つけることが
できた複数の文字列について検索された文字列より後ろ
の文字列を取り出し、取り出された複数の文字列を予測
文字列群として出力する。
Further, when the character string is input, the input character string is searched from the document file group created by the same application as the document being created, and when the same character string can be found. , A character string after the searched character string is extracted for the plurality of found character strings, and the plurality of extracted character strings are output as a predicted character string group.

【0026】更に、文字列が入力された場合には、使用
中の文書作成装置内の文書ファイル全てを対象として入
力された文字列を検索し、同一文字列を見付ける事がで
きたときには、見付ける事ができた複数の文字列につい
て検索された文字列より後ろの文字列を取り出し、取り
出された複数の文字列を予測文字列群として出力する。
Further, when a character string is input, the input character string is searched for all the document files in the document creating apparatus in use, and if the same character string can be found, it is found. The character string after the searched character string is extracted for the plurality of successful character strings, and the extracted character strings are output as a predicted character string group.

【0027】更に、文字列が入力された場合には、使用
中の文書作成装置内の文書ファイルのうち、予め設定さ
れている日時より後に作成、変更されたファイルを対象
として入力された文字列を検索し、同一文字列を見つけ
ることができたときには、見つけることができた複数の
文字列について検索された文字列より後ろの文字列を取
り出し、取り出された複数の文字列を予測文字列群とし
て出力する。
Further, when the character string is input, the character string input for the file created or changed after the preset date and time among the document files in the document creating apparatus in use When the same character string can be found by searching for the same character string, the character string after the searched character string is extracted for the plurality of found character strings, and the extracted character strings are predicted character string groups. Output as.

【0028】更に、文字列が入力された場合には、使用
中の文書作成装置内の文書ファイルのうち、予め設定さ
れている人物により作成、変更されたファイルを対象と
して入力された文字列を検索し、同一文字列を見つける
ことができたときには、見つけることができた複数の文
字列について検索された文字列より後ろの文字列を取り
出し、取り出された複数の文字列を予測文字列群として
出力する。
Further, when the character string is input, the character string input for the file created and changed by a preset person is selected from the document files in the document creating apparatus in use. When the same character string can be found by searching, the character strings after the searched character string are extracted for the multiple character strings that can be found, and the extracted character strings are used as the predicted character string group. Output.

【0029】更に、文字列入力手段により文字列を入力
する。文字列検索手段は入力された文字列を同一文書内
の編集中の位置から遡つて検索する。文字列取り出し手
段は検索された文字列より後ろの文字列を取り出す。検
索制御手段は複数の文字列を取り出すために文字列検索
手段及び文字列取り出し手段とを制御する。出力手段は
取り出した文字列群を最初に検索されたものを優先して
出力する。
Further, a character string is input by the character string input means. The character string search means searches the input character string retroactively from the position being edited in the same document. The character string extracting means extracts a character string after the searched character string. The retrieval control means controls the character string retrieval means and the character string retrieval means to retrieve a plurality of character strings. The output means gives priority to the first retrieved character string group and outputs it.

【0030】更に、文字列入力手段により文字列を入力
する。そして、文字列検索手段は入力された文字列を同
一文書内から検索する。文字列取り出し手段は検索され
た文字列より後ろの文字列を取り出す。検索制御手段は
複数の文字列を取り出すために文字列検索手段および文
字列取り出し手段とを制御する。出力手段は取り出した
文字列群を同一文書内での出現頻度順に出力する。
Further, the character string is input by the character string input means. Then, the character string search means searches the input document for the input character string. The character string extracting means extracts a character string after the searched character string. The retrieval control means controls the character string retrieval means and the character string retrieval means to retrieve a plurality of character strings. The output means outputs the extracted character string groups in the order of appearance frequency in the same document.

【0031】更に、文字列入力手段により文字列を入力
する。文字列検索手段は入力された文字列を同一文書内
から検索する。文字列取り出し手段は検索された文字列
より後ろの文字列を取り出す。検索制御手段は複数の文
字列を取り出すために文字列検索手段および文字列取り
出し手段とを制御する。出力手段は取り出された文字列
の画面上での表示属性を変える。
Further, the character string input means inputs a character string. The character string search means searches for the input character string in the same document. The character string extracting means extracts a character string after the searched character string. The retrieval control means controls the character string retrieval means and the character string retrieval means to retrieve a plurality of character strings. The output means changes the display attribute of the extracted character string on the screen.

【0032】更に、文字列入力手段により文字列を入力
する。文字列検索手段は入力された文字列を作成中の文
書と同一のアプリケーションによって作成された文書フ
ァイル群から検索する。文字列取り出し手段は検索され
た文字列より後ろの文字列を取り出す。検索制御手段は
複数の文字列を取り出すために文字列検索手段および文
字列取り出し手段とを制御する。出力手段は取り出した
文字列群を出力する。
Further, a character string is input by the character string input means. The character string search means searches the input character string from a document file group created by the same application as the document being created. The character string extracting means extracts a character string after the searched character string. The retrieval control means controls the character string retrieval means and the character string retrieval means to retrieve a plurality of character strings. The output means outputs the extracted character string group.

【0033】更に、文字列入力手段により文字列を入力
する。文字列検索手段は入力された文字列を使用中の文
書作成装置内の文書ファイル全てを対象として検索す
る。文字列取り出し手段は検索された文字列より後ろの
文字列を取り出す。検索制御手段は複数の文字列を取り
出すために文字列検索手段および文字列取り出し手段と
を制御する。出力手段は取り出した文字列群を出力す
る。
Further, a character string is input by the character string input means. The character string search means searches the input character string for all the document files in the document creating apparatus in use. The character string extracting means extracts a character string after the searched character string. The retrieval control means controls the character string retrieval means and the character string retrieval means to retrieve a plurality of character strings. The output means outputs the extracted character string group.

【0034】更に、文字列入力手段により文字列を入力
する。文字列検索手段は入力された文字列を使用中の文
書作成装置内の文書ファイルのうちあらかじめ設定され
ている日時より後に作成、変更されたファイルを対象と
して検索する。文字列取り出し手段は検索された文字列
より後ろの文字列を取り出す。検索制御手段は複数の文
字列を取り出すために文字列検索手段および文字列取り
出し手段とを制御する。出力手段は取り出した文字列群
を出力する。
Further, a character string is input by the character string input means. The character string search means searches for a file created or changed after a preset date and time among the document files in the document creating apparatus that is using the input character string. The character string extracting means extracts a character string after the searched character string. The retrieval control means controls the character string retrieval means and the character string retrieval means to retrieve a plurality of character strings. The output means outputs the extracted character string group.

【0035】[0035]

【発明の実施の形態】以下、図面を参照して本発明の一
実施の形態を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0036】図1は文字列予測方法を用いた本発明の文
字列予測装置の第一の実施の形態の例を示したブロック
図である。
FIG. 1 is a block diagram showing an example of a first embodiment of a character string prediction device of the present invention using a character string prediction method.

【0037】文字列予測装置は、予測動作起動部10
0、文字列入力部101、文字列バッファ102、検索
制御部103、検索開始位置調査部104、文字列検索
部105、作成中文書ファイル106、一定数文字列取
り出し部107、表示部108、予測文字列選択制御部
109、出力部110、確定文字列表示部111、文字
列選択部112、から構成される。
The character string predicting device includes a predictive operation starting unit 10.
0, a character string input unit 101, a character string buffer 102, a search control unit 103, a search start position investigation unit 104, a character string search unit 105, a document file under creation 106, a fixed number of character string extraction unit 107, a display unit 108, a prediction The character string selection control unit 109, the output unit 110, the confirmed character string display unit 111, and the character string selection unit 112 are included.

【0038】ここで、上記の各ブロックの機能について
説明する。
The function of each block will be described below.

【0039】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部101に対して予測処理
の開始を知らせる。文字列入力部101は、手書き文字
認識装置からなり、手書きした文字(列)を文字認識し
て得た文字(列)の入力を行う。又、認識結果を一時的
に文字列バッファ102に蓄積し、利用者が認識文字列
を確定した場合には文字列バッファ102をクリアす
る。
The predictive operation starting unit 100 determines that the user does not need to input the character string when the predict button is pressed, and notifies the character string input unit 101 of the start of the predictive process. . The character string input unit 101 is composed of a handwritten character recognition device, and inputs a character (string) obtained by recognizing a handwritten character (string). Further, the recognition result is temporarily stored in the character string buffer 102, and when the user confirms the recognized character string, the character string buffer 102 is cleared.

【0040】ただし、予測動作起動部100から予測処
理の開始を知らされた場合には、文字列バッファ102
から文字列を取り出し検索制御部103に渡す。
However, when the prediction operation starting unit 100 notifies the start of the prediction process, the character string buffer 102
The character string is extracted from and passed to the search control unit 103.

【0041】文字列バッフア102は、確定前の文字列
を一時的に保存しておくために使用される。
The character string buffer 102 is used to temporarily store the character string before being determined.

【0042】検索制御部103は、文字列入力部101
に入力された文字列を受け取り文字列検索部103に対
してあらかじめ設定された回数だけの検索を行うように
指示を出す。又、一定数文字列取り出し部107より予
測文字列の候補を受け取り予測文字列群としてまとめて
予測文字列選択制御部109に渡す。
The search control unit 103 includes a character string input unit 101.
It receives the character string input to the character string search unit 103 and gives an instruction to the character string search unit 103 to search a preset number of times. In addition, the predictive character string candidates are received from the constant number character string extracting unit 107, and are combined as a predictive character string group to be passed to the predictive character string selection control unit 109.

【0043】検索開始位置調査部104は、現在編集中
の文書ファイルのどの位置を編集中なのかを監視してい
て、検索制御部103から検索開始の合図を受けると編
集中の位置を検索開始位置として文字列検索部105に
知らせる。
The search start position checking unit 104 monitors which position of the document file currently being edited is being edited, and when a search start signal is received from the search control unit 103, the search start position is searched. The position is notified to the character string search unit 105.

【0044】文字列検索部105は、検索制御部103
の指示を受け、文字列入力部101から受け取った文字
列を現在作成中の作成中文書ファイル106の中から検
索し、検索に成功した場合にはその文字列の位置を一定
数文字列取り出し部107に知らせる。
The character string search unit 105 is a search control unit 103.
In response to the instruction, the character string received from the character string input unit 101 is searched from the currently-created document file 106 currently being created, and if the search is successful, the position of the character string is set to a certain number Notify 107.

【0045】作成中文書ファイル106は、入力がなさ
れた時点で作成途中の文書ファイルである。
The document file under creation 106 is a document file being created at the time of input.

【0046】一定数文字列取り出し部107は、文字列
検索部105より知らされた位置より後ろの予め設定さ
れた文字数だけの文字列を作成中文書ファイル106よ
り取り出し検索制御部103に渡す。
The fixed number of character string extraction unit 107 extracts a character string of a preset number of characters after the position notified by the character string search unit 105 from the document file under creation 106 and transfers it to the search control unit 103.

【0047】表示部108は、LCD、CRT等に対し
て、予測文字列選択制御部109から受け取った、予測
文字列の候補となる文字列群を利用者に示す。
The display unit 108 indicates to the user the character string group that is a candidate for the predicted character string received from the predicted character string selection control unit 109 for the LCD, CRT, and the like.

【0048】予測文字列選択制御部109は、検索制御
部103から渡された予測文字列群を表示部108に渡
し利用者に選択を行わさせ、文字列選択部112によっ
て選択された文字列を確定文字列として出力部110に
渡す。
The predictive character string selection control unit 109 transfers the predictive character string group passed from the search control unit 103 to the display unit 108 to allow the user to select the character string selected by the character string selecting unit 112. It is passed to the output unit 110 as a confirmed character string.

【0049】出力部110は、確定文字列として渡され
た文字列を確定文字列表示部111に渡す。
The output unit 110 transfers the character string passed as the confirmed character string to the confirmed character string display unit 111.

【0050】確定文字列表示部111は、LCD、CR
T等に対して、出力部110から受け取った、予測文字
列を確定文字列として利用者に示す。
The confirmed character string display section 111 includes an LCD and a CR.
For T and the like, the predicted character string received from the output unit 110 is shown to the user as a confirmed character string.

【0051】文字列選択部112は、表示部108が示
した予測文字列群の中のどの文字列を利用者が選択した
かを予測文字列選択制御部109に知らせる。
The character string selection unit 112 notifies the predicted character string selection control unit 109 which character string in the predicted character string group displayed on the display unit 108 has been selected by the user.

【0052】次に、上記構成につき、その動作を図2を
参照して説明する。
Next, the operation of the above configuration will be described with reference to FIG.

【0053】文字列入力部101は、利用者の文字列の
入力を受け付ける(ステップ10)。入力した文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される(ステップ11)。
The character string input unit 101 receives the input of the character string by the user (step 10). The input character string is temporarily stored in the character string buffer 102 because it is used as a key for predictive character string retrieval (step 11).

【0054】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる(ステップ12)。
The predictive operation starting unit 100 judges that the user does not need to input the character string when the predict button is pressed, and notifies the character string input unit of the start of the predicting process ( Step 12).

【0055】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列を取り出し、検索制御部103に渡す。
When the character string input unit 101 is notified of the start of the prediction process, the character string input unit 101 takes out a character string to be used for the prediction process from the character string buffer 102 and passes it to the search control unit 103.

【0056】検索制御部103は、取り出す文字列数を
あらかじめ設定されている値にセットし、文字列検索部
104に文字列入力部101から受け取った文字列を渡
す(ステップ13)。
The search control unit 103 sets the number of character strings to be extracted to a preset value, and passes the character string received from the character string input unit 101 to the character string search unit 104 (step 13).

【0057】検索開始位置調査部104は、現在編集中
の文書ファイルのどの位置を編集中なのかを監視してい
て、検索制御部103から検索開始の合図を受けると編
集中の位置を検索開始位置として文字列検索部105に
知らせる(ステップ14)。
The search start position checking unit 104 monitors which position of the document file currently being edited is being edited, and when receiving a search start signal from the search control unit 103, the search start position is started. The position is notified to the character string search unit 105 (step 14).

【0058】文字列検索部105は検索のキーとなる文
字列を受け取り、利用者が入力中の作成中文書ファイル
106に対して検索を行う。検索に成功した場合には文
字列の位置を一定数文字列取り出し部107に知らせ
る。検索に失敗した場合にはそのことを一定数文字列取
り出し部107に知らせる(ステップ15)。
The character string search unit 105 receives a character string as a search key, and searches the document file 106 being created which is being input by the user. When the search is successful, the character string extraction unit 107 is notified of the position of the character string. If the search is unsuccessful, the fact is notified to the constant character string extracting unit 107 (step 15).

【0059】一定数文字列取り出し部107は、文字列
検索部105によって検索された位置から後の一定数の
文字列を作成中文書ファイル106から取り出し検索制
御部103に渡す。また、検索に失敗したことを知らさ
れた場合にはそのことを検索制御部103に知らせる
(ステップ16)。
The fixed number of character string extracting unit 107 takes out a constant number of character strings after the position searched by the character string searching unit 105 from the document file under creation 106 and passes them to the search control unit 103. Further, when it is notified that the search has failed, the search control unit 103 is notified of this (step 16).

【0060】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取り、設定した文字列数に
達したかどうかを調べ、達していなければさらに文字列
の検索を文字列検索部105に指示する。
The search control unit 103 receives the character string from the constant character string extraction unit 107, checks whether the set number of character strings has been reached, and if not, further searches for the character string. Instruct.

【0061】設定数に達していれば、その時点までに取
り出された文字列を文字列群として予測文字列選択制御
部109に渡す。設定数に達していなくても検索に失敗
したことを知らされた場合には、文字列群を予測文字列
選択制御部109に渡す(ステップ17、18)。
If the set number has been reached, the character strings extracted up to that point are passed to the predicted character string selection control unit 109 as a character string group. If it is informed that the search has failed even if the set number has not been reached, the character string group is passed to the predicted character string selection control unit 109 (steps 17 and 18).

【0062】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。表示部108は、表示するように要求された
文字列群を画面に表示する(ステップ19)。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group. The display unit 108 displays the character string group requested to be displayed on the screen (step 19).

【0063】文字列選択部112は、利用者の文字列の
選択を待ち、文字列が選択されたならば選択された文字
列を予測文字列選択制御部109に知らせる。ここで選
択された文字列が利用者の意図していたものとして判断
される(ステップ20)。
The character string selection unit 112 waits for the user's selection of the character string, and when the character string is selected, informs the predicted character string selection control unit 109 of the selected character string. It is determined that the character string selected here is what the user intended (step 20).

【0064】予測文字列選択制御部109は、利用者に
よって選択された文字列を出力部110に対して出力す
るように要求する。
The predictive character string selection control unit 109 requests the output unit 110 to output the character string selected by the user.

【0065】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す(ステップ21)。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string (step 21).

【0066】確定文字列表示部111は、確定文字列と
して受け取った文字列を表示し、予測の処理を終える
(ステップ22)。
The fixed character string display unit 111 displays the character string received as the fixed character string, and ends the prediction process (step 22).

【0067】次に、入力文「多くの企業で電子メールの
導入が盛んである。このような電子メディアを利用する
ことによって業務の効率化を計ろうとしているであ
る。」が入力され、そのあとに「電子メデイアを効率よ
く」と続けて文を入力しようと意図している利用者が
「電子」と入力した時点で予測ボタンを押した場合に、
その後に続く文字列を予測する処理を具体例として示
す。
Next, the input sentence "Many companies are actively introducing e-mail. We are trying to improve the efficiency of business by using such electronic media." If the user who intends to enter the sentence "e-media efficiently" subsequently presses the prediction button when "e" is entered,
The process of predicting the character string that follows is shown as a specific example.

【0068】文字列入力部101は、利用者の「電子」
という文字列の入力を受け付ける。入力された文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される。
The character string input unit 101 is for the user's "electronic".
Accept the input string. The input character string is temporarily stored in the character string buffer 102 to be used as a key for predictive character string search.

【0069】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる。
When the prediction button is pressed, the prediction operation starting unit 100 determines that the user does not need to input the character string, and notifies the character string input unit that the prediction process is started.

【0070】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列、ここでは「電子」を取り出し、検索制御部10
3に渡す。
Upon being notified of the start of the prediction process, the character string input unit 101 takes out a character string used for the prediction process, here, "electronic", from the character string buffer 102, and retrieves the character.
Pass to 3.

【0071】検索制御部103は、取り出す文字列数を
予め設定されている数である5にセットし、文字列検索
部104に文字列入力部101から受け取った文字列
「電子」を渡す。
The search control unit 103 sets the number of character strings to be extracted to 5, which is a preset number, and passes the character string “electronic” received from the character string input unit 101 to the character string search unit 104.

【0072】検索開始位置調査部104は、現在編集中
の作成中文書ファイル106の最後の部分を編集中であ
ることが分かっているので、文字列検索部105の検索
開始位置を作成中文書ファイル106の最後に設定す
る。又、検索方向を文書ファイルの終りから始めに向か
うように設定する。
Since it is known that the search start position checking unit 104 is editing the last portion of the currently-created document file 106 that is currently being edited, the search start position of the character string search unit 105 is currently being created. Set at the end of 106. Also, the search direction is set so as to go from the end of the document file to the beginning.

【0073】文字列検索部105は、利用者が入力中の
作成中文書ファイル106に対して遡る方向で文字6の
最後に設定する。又、検索方向を文書ファイルの終りか
ら始めに向かうように設定する。列「電子」の検索を行
い、先ず、「電子メディア〜」の部分を見つけ、その位
置を一定数文字列取り出し部107に知らせる。
The character string search unit 105 sets the character 6 at the end of the character 6 in the direction going backward with respect to the document file under creation 106 being input by the user. Also, the search direction is set so as to go from the end of the document file to the beginning. The column "electronic" is searched for, the portion "electronic medium ~" is first found, and the position thereof is notified to the character string extracting unit 107.

【0074】一定数文字列取り出し部107は、文字列
検索部105によって検索された「電子」の位置から後
の予め設定されている文字数である4文字の文字列、即
ち「メディア」を作成中文書ファイル105から取り出
し、検索制御部103に渡す。
The fixed number of character string extracting unit 107 is creating a character string of four characters, which is the preset number of characters after the position of "electronic" searched by the character string searching unit 105, that is, "media". It is taken out from the document file 105 and passed to the search control unit 103.

【0075】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないので、更に検索を要求し、「メール
が」を受け取る。しかし、まだ設定した文字列数に達し
ていないので、もうー度検索を要求するが検索に失敗し
たことを知らされ検索を終える。この時点で検索された
文字列をまとめて予測文字列群として予測文字列選択制
御部109に渡す。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but since the set number of character strings has not been reached yet, the search control unit 103 further requests the search and receives "mail". However, since the set number of character strings has not been reached yet, the search is requested again, but the search is informed that the search has failed, and the search ends. The character strings searched at this point are collectively passed to the predicted character string selection control unit 109 as a predicted character string group.

【0076】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0077】表示部108は、「メディア」と「メール
が」の2つの文字列を表示する。
The display section 108 displays two character strings "media" and "mail".

【0078】文字列選択部112は、利用者の文字列の
選択を待つ。ここで、利用者は「電子メディアを効率よ
く」と続けて入力するつもりだったので、「メディア」
を選択する。
The character string selection unit 112 waits for the user to select a character string. Here, the user intended to continue to input "Effectively electronic media", so "Media"
Select

【0079】この選択により、「メディア」が利用者の
意図していたものとして判断され、文字列選択制御部1
09は、出力部110に対して文字列を出力するように
要求する。
By this selection, it is determined that the "media" is what the user intended, and the character string selection control unit 1
09 requests the output unit 110 to output a character string.

【0080】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string.

【0081】確定文字列表示部111は、確定文字列と
して受け取った「メディア」を表示し予測の処理を終え
る。
The confirmed character string display unit 111 displays the "media" received as the confirmed character string and finishes the prediction process.

【0082】この例では「メディア」という部分の入力
作業を省けたことになる。
In this example, the input work for the "media" part can be omitted.

【0083】図3は文字列予測方法を用いた本発明の文
字列予測装置の第二の実施の形態の例を示したブロック
図である。
FIG. 3 is a block diagram showing an example of the second embodiment of the character string prediction device of the present invention using the character string prediction method.

【0084】文字列予測装置は、予測動作起動部10
0、文字列入力部101、文字列バッファ102、検索
制御部103、文字列検索部105、作成中文書ファイ
ル106、−定数文字列取り出し部107、表示部10
8、予測文字列選択制御部109、出力部110、確定
文字列表示部111、文字列選択部112、頻度順並び
変え部200から構成される。
The character string predicting device includes a predicting operation starting unit 10
0, character string input unit 101, character string buffer 102, search control unit 103, character string search unit 105, document file under creation 106, -constant character string extraction unit 107, display unit 10
8, a prediction character string selection control unit 109, an output unit 110, a confirmed character string display unit 111, a character string selection unit 112, and a frequency order rearranging unit 200.

【0085】ここで、上記の各ブロックの機能について
前出のブロックと異なるものについて説明する。
Here, the functions of the blocks described above that differ from the blocks described above will be described.

【0086】頻度順並び変え部200は、検索制御部1
03から受け取った予測文字列群を出現頻度順に並び変
えて予測文字列選択制御部109に渡す。
The frequency-order rearranging unit 200 includes the search control unit 1.
The predicted character string group received from No. 03 is rearranged in the order of appearance frequency and passed to the predicted character string selection control unit 109.

【0087】上記構成につき、その動作を図4を参照し
て説明する。
The operation of the above configuration will be described with reference to FIG.

【0088】検索制御部103が検索する文字列数を設
定するまでの部分と、表示部108が予測文字列群を表
示するように要求されてから後の部分の処理は第一の実
施の形態の例と同様である。尚、ステップ30から33
は、ステップ10から13に、またステップ39から4
2は、ステップ19から22に対応する。
The process of setting the number of character strings to be searched by the search control unit 103 and the process after the display unit 108 is requested to display the predicted character string group are the first embodiment. Is similar to the example. Note that steps 30 to 33
To steps 10 to 13 and steps 39 to 4
2 corresponds to steps 19 to 22.

【0089】文字列検索部105は検索のキーとなる文
字列を受け取り、利用者が入力中の作成中文書ファイル
106に対して検索を行う。検索に成功した場合には文
字列の位置を一定数文字列取り出し部107に知らせ
る。検索に失敗した場合には、そのことを一定数文字列
取り出し部107に知らせる(ステップ34)。
The character string search unit 105 receives a character string as a search key and searches the document file under creation 106 being input by the user. When the search is successful, the character string extraction unit 107 is notified of the position of the character string. If the search is unsuccessful, the fact is notified to the fixed number of character string extracting units 107 (step 34).

【0090】一定数文字列取り出し部107は、文字列
検索部105によって検索された位置から後の一定数の
文字列を作成中文書ファイル106から取り出し検索制
御部103に渡す。又、検索に失敗したことを知らされ
た場合にはそのことを検索制御部103に知らせる(ス
テップ35)。
The fixed number of character string extracting unit 107 takes out a constant number of character strings after the position searched by the character string searching unit 105 from the document file under creation 106 and passes them to the search control unit 103. Also, when it is notified that the search has failed, the search control unit 103 is notified of this (step 35).

【0091】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取り、設定した文字列数に
達したかどうかを調べ、達していなければ、更に文字列
の検索を文字列検索部105に指示する。設定数に達し
ていれば、その時点までに取り出された文字列を文字列
群として頻度順並び変え部200に渡す。設定数に達し
ていなくても検索に失敗したことを知らされた場合には
文字列群を頻度順並び変え部200に渡す(ステップ3
6、37)。
The search control unit 103 receives the character string from the constant character string extraction unit 107, checks whether or not the set number of character strings has been reached, and if not, further searches for the character string. Instruct 105. If the set number has been reached, the character strings extracted up to that point are passed as a character string group to the frequency sorting unit 200. If it is informed that the search has failed even if the set number has not been reached, the character string group is passed to the frequency sorting unit 200 (step 3).
6, 37).

【0092】頻度順並び変え部200は、検索された文
字列群を出現頻度順に並び変え予測文字列選択制御部1
09に渡す(ステップ38)。
The frequency order rearranging unit 200 rearranges the retrieved character string groups in the order of appearance frequency and predicts the character string selection control unit 1.
09 (step 38).

【0093】次に、入力文「電子メールを利用してのコ
ミュニケーションが推進されている。電子メールだけで
なく、その他にも多くの電子メディアが利用されて来て
いる。」が入力され、その後に「電子メールを導入す
る」と続けて文を入力しようと意図している利用者が
「電子」と入力した時点で予測ボタンを押した場合に、
その後に続く文字列を予測する処理を具体例として示
す。
Next, the input sentence "communication using electronic mail is being promoted. In addition to electronic mail, many other electronic media have been used." If a user who intends to enter a sentence in succession with "Introduce email" presses the prediction button at the time of entering "electronic",
The process of predicting the character string that follows is shown as a specific example.

【0094】文字列入力部101は、利用者の「電子」
という文字列の入力を受け付ける。入力された文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される。
The character string input unit 101 is for the user's "electronic".
Accept the input string. The input character string is temporarily stored in the character string buffer 102 to be used as a key for predictive character string search.

【0095】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる。
When the prediction button is pressed, the prediction operation starting unit 100 determines that the user does not need to input the character string, and notifies the character string input unit that the prediction process has started.

【0096】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列、ここでは「電子」を取り出し、検索制御部10
3に渡す。
Upon being notified of the start of the prediction process, the character string input unit 101 takes out a character string used for the prediction process, here, "electronic" from the character string buffer 102, and retrieves it.
Pass to 3.

【0097】検索制御部103は、取り出す文字列数を
予め設定されている数である5にセットし、文字列検索
部104に文字列入力部101から受け取った文字列
「電子」を渡す。
The search control unit 103 sets the number of character strings to be fetched to 5, which is a preset number, and passes the character string “electronic” received from the character string input unit 101 to the character string search unit 104.

【0098】文字列検索部105は、利用者が入力中の
作成中文書ファイル106に対して文字列「電子」の検
索を行い、先ず、「電子メールを〜」の部分を見つけ、
その位置を一定数文字列取り出し部107に知らせる。
The character string retrieving unit 105 searches the document file 106 being created by the user for the character string "electronic", and first finds the portion "e-mail".
The position is notified to the fixed number of character string extracting unit 107.

【0099】一定数文字列取り出し部107は、文字列
検索部105によって検索された「電子」の位置から後
の予め設定されている文字数である3文字の文字列、即
ち「メール」を作成中文書ファイル105から取り出し
検索制御部103に渡す。
The fixed number of character string extracting unit 107 is creating a character string of three characters, which is a preset number of characters after the position of “electronic” searched by the character string searching unit 105, that is, “mail”. The document file 105 is taken out and passed to the search control unit 103.

【0100】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないのでさらに検索を要求し、「メー
ル」を受け取る。しかし、まだ設定した文字列数に達し
ていないので、もうー度検索を要求し、「メディ」を受
け取る。さらに検索を要求するが検索に失敗したことを
知らされ検索を終える。この時点で検索された文字列を
まとめて予測文字列群として頻度順並び変え部200に
渡す。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but since the set number of character strings has not yet been reached, a further search is requested and "mail" is received. However, since the set number of strings has not been reached yet, the search is requested again and "Medi" is received. A further search is requested, but the search is informed that the search has failed, and the search ends. The character strings retrieved at this time are collectively passed to the frequency sorting unit 200 as a predicted character string group.

【0101】頻度順並び変え部200は、渡された文字
列を出現頻度順に並び変えた後予測文字列選択制御部1
09に渡す。
The frequency order rearranging unit 200 rearranges the passed character strings in the order of appearance frequency and then predicts the character string selection control unit 1.
Hand over to 09.

【0102】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0103】表示部108は、「メール」と「メディ」
の2つの文字列を表示する。「メール」の方が優先順位
が高いので「メール」を先に表示する。
The display unit 108 displays "mail" and "medicine".
Display the two character strings. Since "mail" has a higher priority, "mail" is displayed first.

【0104】文字列選択部112は、利用者の文字列の
選択を待つ。ここで、利用者は「電子メールを導入す
る」と続けて入力するつもりだったので、「メール」を
選択する。
The character string selection unit 112 waits for the user to select a character string. Here, the user intended to continue to input "introduce electronic mail", so "mail" is selected.

【0105】この選択により、「メール」が利用者の意
図していたものとして判断され、文字列選択制御部10
9は、出力部110に対して文字列を出力するように要
求する。
By this selection, it is determined that "mail" was intended by the user, and the character string selection control unit 10
9 requests the output unit 110 to output a character string.

【0106】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string.

【0107】確定文字列表示部111は、確定文字列と
して受け取った「メール」を表示し予測の処理を終え
る。
The confirmed character string display section 111 displays the "mail" received as the confirmed character string and finishes the prediction process.

【0108】この例では「メール」という部分の入力作
業を省けたことになる。
In this example, the input work for the portion "mail" can be omitted.

【0109】図5は文字列予測方法を用いた本発明の文
字列予測装置の第三の実施の形態の例を示したブロック
図である。
FIG. 5 is a block diagram showing an example of the third embodiment of the character string prediction device of the present invention using the character string prediction method.

【0110】文字列予測装置は、予測動作起動部10
0、文字列入力部101. 文字列バッファ102、検索
制御部103、文字列検索部105、作成中文書ファイ
ル106、−定数文字列取り出し部107、表示部10
8、予測文字列選択制御部109、出力部110、確定
文字列表示部111、文字列選択部112、編集画面書
き換え部300、編集画面制御部301から構成され
る。
The character string predicting device has a predicting operation starting unit 10
0, character string input unit 101. character string buffer 102, search control unit 103, character string search unit 105, document file under creation 106, -constant character string extraction unit 107, display unit 10
8, a predicted character string selection control unit 109, an output unit 110, a confirmed character string display unit 111, a character string selection unit 112, an edit screen rewriting unit 300, and an edit screen control unit 301.

【0111】ここで、上記の各ブロックの機能について
前出のブロックと異なるものについて説明する。
Here, the functions of the above-mentioned blocks different from the above-mentioned blocks will be described.

【0112】編集画面書き換え部300は、編集画面制
御部301から受け取った文字列について、現在編集中
の画面内での表示属性を変化させ利用者に対して予測文
字列を強調する。
The edit screen rewriting unit 300 changes the display attribute of the character string received from the edit screen control unit 301 in the screen currently being edited, and emphasizes the predicted character string to the user.

【0113】編集画面制御部301は、編集画面の書き
換えについての制御を行い、特に予測文字列選択制御部
109から予測文字列が渡された場合には、その文字列
の作成中文書ファイル106内での位置を編集画面書き
換え部300に知らせ文字列の表示属性を変更させる働
きをする。
The editing screen control unit 301 controls the rewriting of the editing screen. Especially, when the predicted character string is passed from the predicted character string selection control unit 109, the character string in the document file under creation 106 is created. The edit screen rewriting unit 300 is informed of the position of and the function of changing the display attribute of the character string is displayed.

【0114】上記構成につき、その動作を図6を参照し
て説明する。
The operation of the above configuration will be described with reference to FIG.

【0115】検索制御部103が検索した文字列群を出
力するまでの部分と、文字列選択部112が利用者から
の文字列の選択を受け付けてから後の部分の処理は第二
の実施の形態の例と同様である。尚、ステップ50から
57は、ステップ30から37に、又ステップ60から
62は、ステップ40から42に対応する。
The processing up to the output of the character string group searched by the search control unit 103 and the processing after the character string selection unit 112 accepts the selection of the character string from the user are performed in the second embodiment. It is similar to the example of the form. Note that steps 50 to 57 correspond to steps 30 to 37, and steps 60 to 62 correspond to steps 40 to 42.

【0116】予測文字列選択制御部109は、検索制御
部103から受け取った予測文字列群を編集画面制御部
301に渡す。
The predicted character string selection control unit 109 passes the predicted character string group received from the search control unit 103 to the edit screen control unit 301.

【0117】編集画面制御部301は、予測文字列とし
て渡された文字列の作成中文書ファイル106内での位
置を調べ編集画面書き換え部300に知らせる(ステッ
プ58)。
The edit screen control unit 301 checks the position of the character string passed as the predicted character string in the document file under creation 106 and informs the edit screen rewriting unit 300 (step 58).

【0118】編集画面書き換え部300は、予測文字列
として検索された文字列の表示属性を変化させる(ステ
ップ59)。
The edit screen rewriting unit 300 changes the display attribute of the character string retrieved as the predicted character string (step 59).

【0119】次に、入力文「電子メールを利用してのコ
ミュニケーションが推進されている。電子メールだけで
なくその他にも多くの電子メディアが利用されて来てい
る。」が入力され、そのあとに「電子メールを導入す
る」と続けて文を入力しようと意図している利用者が
「電子」と入力した時点で予測ボタンを押した場合に、
その後に続く文字列を予測する処理を具体例として示
す。
Next, the input sentence "communication using electronic mail is being promoted. Many electronic media are used in addition to electronic mail." Is input, and thereafter If a user who intends to enter a sentence in succession with "Introduce email" presses the prediction button at the time of entering "electronic",
The process of predicting the character string that follows is shown as a specific example.

【0120】文字列入力部101は、利用者の「電子」
という文字列の入力を受け付ける。入力された文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される。
The character string input section 101 is for the user's "electronic".
Accept the input string. The input character string is temporarily stored in the character string buffer 102 to be used as a key for predictive character string search.

【0121】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる。
When the prediction button is pressed, the prediction operation starting unit 100 determines that the user does not need to input the character string, and notifies the character string input unit of the start of the prediction process.

【0122】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列、ここでは「電子」を取り出し、検索制御部10
3に渡す。
When the character string input unit 101 is informed of the start of the prediction process, the character string input unit 101 takes out a character string to be used for the prediction process from the character string buffer 102, here "electronic", and retrieves it.
Pass to 3.

【0123】検索制御部103は、取り出す文字列数を
あらかじめ設定されている数である5にセットし、文字
列検索部104に文字列入力部101から受け取った文
字列「電子」を渡す。
The search control unit 103 sets the number of character strings to be extracted to 5, which is a preset number, and passes the character string “electronic” received from the character string input unit 101 to the character string search unit 104.

【0124】文字列検索部105は、利用者が入力中の
作成中文書ファイル106に対して文字列「電子」の検
索を行い、まず、「電子メールを〜」の部分を見つけ、
その位置を一定数文字列取り出し部107に知らせる。
The character string retrieving unit 105 searches the document file 106 being created which is being input by the user for the character string "electronic", and first finds the portion "e-mail".
The position is notified to the fixed number of character string extracting unit 107.

【0125】一定数文字列取り出し部107は、文字列
検索部105によって検索された「電子」の位置から後
のあらかじめ設定されている文字数である3文字の文字
列すなわち「メール」を作成中文書ファイル105から
取り出し検索制御部103に渡す。
The fixed number of character string extracting unit 107 generates a character string of three characters, which is a preset number of characters after the position of "electronic" searched by the character string searching unit 105, that is, "mail" in the process of creating a document. The file 105 is taken out and passed to the search control unit 103.

【0126】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないのでさらに検索を要求し、「メー
ル」を受け取る。しかし、まだ設定した文字列数に達し
ていないので、もうー度検索を要求し、「メディ」を受
け取る。さらに検索を要求するが検索に失敗したことを
知らされ検索を終える。この時点で検索された文字列を
まとめて予測文字列群として頻度順並び変え部200に
渡す。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but since the number of set character strings has not yet been reached, a further search is requested and "mail" is received. However, since the set number of strings has not been reached yet, the search is requested again and "Medi" is received. A further search is requested, but the search is informed that the search has failed, and the search ends. The character strings retrieved at this time are collectively passed to the frequency sorting unit 200 as a predicted character string group.

【0127】頻度順並び変え部200は、渡された文字
列を出現頻度順に並び変えた後予測文字列選択制御部1
09に渡す。
The frequency order rearranging unit 200 rearranges the passed character strings in the order of appearance frequency and then predicts the predicted character string selection control unit 1.
Hand over to 09.

【0128】予測文字列選択制御部109は、検索制御
部103から受け取った予測文字列群を編集画面制御部
301に渡す。
The predicted character string selection control unit 109 transfers the predicted character string group received from the search control unit 103 to the edit screen control unit 301.

【0129】編集画面制御部301は、予測文字列とし
て渡された文字列の作成中文書ファイル106内での位
置を調べ編集画面書き換え部300に知らせる。
The edit screen control unit 301 checks the position of the character string passed as the predicted character string in the document file under creation 106 and notifies the edit screen rewriting unit 300 of the position.

【0130】編集画面書き換え部300は、予測文字列
として検索された文字列の表示属性を変化させる。
The edit screen rewriting unit 300 changes the display attribute of the character string retrieved as the predicted character string.

【0131】文字列選択部112は、利用者の文字列の
選択を待つ。ここで、利用者は「電子メールを導入す
る」と続けて入力するつもりだったので、「メール」を
選択する。
The character string selection unit 112 waits for the user to select a character string. Here, the user intended to continue to input "introduce electronic mail", so "mail" is selected.

【0132】この選択により、「メール」が利用者の意
図していたものとして判断され、文字列選択制御部10
9は、出力部110に対して文字列を出力するように要
求する。
By this selection, it is determined that "mail" was intended by the user, and the character string selection control unit 10
9 requests the output unit 110 to output a character string.

【0133】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string.

【0134】確定文字列表示部111は、確定文字列と
して受け取った「メール」を表示し予測の処理を終え
る。
The confirmed character string display unit 111 displays the "mail" received as the confirmed character string and finishes the prediction process.

【0135】この例では特別な選択画面を用意すること
なく、編集中の画面内から予測文字列を選ぶことがで
き、「メール」という部分の入力作業を省けたことにな
る。
In this example, the predicted character string can be selected from within the screen being edited without preparing a special selection screen, which means that the input work for the portion "mail" can be omitted.

【0136】図7は文字列予測方法を用いた本発明の文
字列予測装置の第四の実施の形態の例を示したブロック
図である。
FIG. 7 is a block diagram showing an example of the fourth embodiment of the character string prediction device of the present invention using the character string prediction method.

【0137】文字列予測装置は、予測動作起動部10
0、文字列入力部101文字列バッファ102、検索制
御部103、文字列検索部105、−定数文字列取り出
し部107、表示部108、予測文字列選択制御部10
9、出力部110、確定文字列表示部111、文字列選
択部112、検索対象文書切り替え部400、同一属性
文書群401から構成される。
The character string predicting device includes a predicting operation starting unit 10.
0, character string input unit 101, character string buffer 102, search control unit 103, character string search unit 105, -constant character string extraction unit 107, display unit 108, predicted character string selection control unit 10
9, an output unit 110, a confirmed character string display unit 111, a character string selection unit 112, a search target document switching unit 400, and the same attribute document group 401.

【0138】又、同一属性文書群401は、作成中文書
ファイル106、既存文書(1)402、既存文書
(2)403を含んで構成される。
The same-attribute document group 401 includes the document file under creation 106, existing document (1) 402, and existing document (2) 403.

【0139】ここで、上記の各ブロックの機能について
前出のブロックと異なるものについて説明する。
Here, the functions of the above-mentioned blocks different from the above-mentioned blocks will be described.

【0140】検索対象文書切り替え部400は、文字列
検索部105が検索する文書ファイルを複数の検索対象
ファイルの中から取り出し切り替える働きをする。
The search target document switching section 400 has a function of extracting and switching the document file searched by the character string search section 105 from a plurality of search target files.

【0141】同一属性文書群401は、同一のアプリケ
ーションによって作成された、ファイルの内部の構造が
同じである文書ファイルを複数含んで構成されている。
The same attribute document group 401 includes a plurality of document files created by the same application and having the same internal structure.

【0142】既存文書(1)402は、作成中文書ファ
イル106と構造が同じであり、以前に作成された文書
ファイルである。このファイルも予測文字列の検索の対
象として利用される。
The existing document (1) 402 has the same structure as the document file under creation 106 and is a previously created document file. This file is also used as the search target for the predicted character string.

【0143】既存文書(2)403は、作成中文書ファ
イル106と構造が同じであり、以前に作成された文書
ファイルである。このファイルも予測文字列の検索の対
象として利用される。
The existing document (2) 403 has the same structure as the document file under creation 106 and is a previously created document file. This file is also used as the search target for the predicted character string.

【0144】上記構成につき、その動作を図8を参照し
て説明する。
The operation of the above configuration will be described with reference to FIG.

【0145】文字列入力部101は、利用者の文字列の
入力を受け付ける(ステップ70)。入力した文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される(ステップ71)。
The character string input unit 101 receives the input of the user's character string (step 70). The input character string is temporarily stored in the character string buffer 102 because it is used as a key for predictive character string retrieval (step 71).

【0146】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる(ステップ72)。
When the prediction button is pressed, the prediction operation starting unit 100 determines that the user does not need to input the character string, and notifies the character string input unit of the start of the prediction process ( Step 72).

【0147】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列を取り出し、検索制御部103に渡す。
When the start of the prediction process is notified, the character string input unit 101 takes out a character string used for the prediction process from the character string buffer 102 and passes it to the search control unit 103.

【0148】検索制御部103は、取り出す文字列数を
あらかじめ設定されている値にセットし、文字列検索部
105に文字列入力部101から受け取った文字列を渡
す(ステップ73)。
The search control unit 103 sets the number of character strings to be extracted to a preset value, and passes the character string received from the character string input unit 101 to the character string search unit 105 (step 73).

【0149】検索対象文書切り替え部400は、同一属
性文書群401に属する作成中文書ファイル106、及
び以前に作成した既存文書(1)402、既存文書
(2)403を、文字列検索部105の検索対象として
切り替える働きをする(ステップ74)。検索が文書フ
ァイルの終りまで進んだときには、次のファイルを文字
列検索部105の検索対象とする(ステップ83、8
4)。
The document-to-be-searched switching section 400 stores the document file under creation 106 belonging to the same attribute document group 401, and the previously created existing document (1) 402 and existing document (2) 403 in the character string searching section 105. It serves to switch as a search target (step 74). When the search has reached the end of the document file, the next file is set as the search target of the character string search unit 105 (steps 83 and 8).
4).

【0150】文字列検索部105は、検索のキーとなる
文字列を受け取り、検査対象文書切り替え部400が切
り替えた文書ファイルに対して検索を行う。検索に成功
した場合には文字列の位置をー定数文字列取り出し部1
07に知らせる。検索に失敗した場合にはそのことをー
定数文字列取り出し部107に知らせる(ステップ7
5)。
The character string retrieving unit 105 receives the character string serving as the retrieval key, and retrieves the document file switched by the inspection target document switching unit 400. If the search is successful, the position of the character string is moved to the constant character string extraction unit 1
Notify 07. If the search is unsuccessful, the fact is notified to the constant character string extraction unit 107 (step 7).
5).

【0151】一定数文字列取り出し部107は、文字列
検索部105によって検索された位置から後のー定数の
文字列を検索対象ファイルから取り出し検索制御部10
3に渡す。又、検索に失敗したことを知らされた場合に
はそのことを検索制御部103に知らせる(ステップ7
6)。
The fixed number of character string extracting unit 107 extracts a constant character string after the position searched by the character string searching unit 105 from the file to be searched, and the search control unit 10
Pass to 3. Further, when it is notified that the search has failed, the search control unit 103 is notified of that (step 7).
6).

【0152】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取り、設定した文字列数に
達したかどうかを調べ、達していなければさらに文字列
の検索を文字列検索部105に指示する。設定数に達し
ていれば、その時点までに取り出された文字列を文字列
群として予測文字列選択制御部109に渡す。設定数に
達していなくても、検索に失敗したことを知らされた場
合には文字列群を予測文字列選択制御部109に渡す
(ステップ77、78)。
The search control unit 103 receives the character string from the constant character string extraction unit 107, checks whether the set number of character strings has been reached, and if not, further searches for the character string. Instruct. If the set number has been reached, the character strings extracted up to that point are passed to the predicted character string selection control unit 109 as a character string group. Even if the set number has not been reached, when the fact that the search has failed is notified, the character string group is passed to the predicted character string selection control unit 109 (steps 77 and 78).

【0153】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0154】表示部108は、表示するように要求され
た文字列群を画面に表示する(ステップ79)。
The display unit 108 displays the character string group requested to be displayed on the screen (step 79).

【0155】文字列選択部112は、利用者の文字列の
選択を待ち、文字列が選択されたならば選択された文字
列を予測文字列選択制御部109に知らせる。ここで選
択された文字列が利用者の意図していたものとして判断
される(ステップ80)。
The character string selection unit 112 waits for the user to select the character string, and if the character string is selected, informs the predicted character string selection control unit 109 of the selected character string. It is determined that the character string selected here is what the user intended (step 80).

【0156】予測文字列選択制御部109は、利用者に
よって選択された文字列を出力部110に対して出力す
るように要求する。
The predicted character string selection control unit 109 requests the output unit 110 to output the character string selected by the user.

【0157】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す(ステップ81)。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string (step 81).

【0158】確定文字列表示部111は、確定文字列と
して受け取った文字列を表示し、予測の処理を終える
(ステップ82)。
The confirmed character string display unit 111 displays the character string received as the confirmed character string, and ends the prediction process (step 82).

【0159】次に、既存文書(1)として「コンピュー
ターの編集画面で編集中の位置を知らせるのに使われる
カーソルにはいろいろなものがある。四角いものや、ア
ンダーラインのようなものなどさまざまである。」が、
又既存文書(2)として「家庭での洗車では、まず水洗
いをした後にカーシャンプーをもちいて丹念に汚れを落
す必要がある。砂ボコリ等がついたままワックスを塗る
と表面に微細な傷がついてしまうからである。」が存在
し、入力文として「カーショップには、同じ部類の商品
に対してもお客を満足させる為にさまざまな銘柄のもの
が置かれている。」が入力された後に「カーシャンプー
などはその典型である。」と続けて文を入力しようと意
図している利用者が「カー」と入力した時点で予測ボタ
ンを押した場合に、その後に続く文字列を予測する処理
を具体例として示す。
Next, as the existing document (1), "There are various cursors used for indicating the position being edited on the editing screen of the computer. There are various cursors such as a square and an underline. There is. "
In addition, as an existing document (2), "At home car washing, it is necessary to wash with water first and then use car shampoo to carefully remove dirt. If wax is applied with sand dust, fine scratches on the surface Is present, and the input sentence is "Various brands of products are placed in the car shop to satisfy customers even for products of the same category." If the user who intends to enter a sentence after that, "Car shampoo is a typical example," presses the predict button at the time of entering "car", predicts the character string that follows. The processing to be performed is shown as a specific example.

【0160】文字列入力部101は、利用者の「カー」
という文字列の入力を受け付ける。入力された文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される。
The character string input section 101 is for the user's "car".
Accept the input string. The input character string is temporarily stored in the character string buffer 102 to be used as a key for predictive character string search.

【0161】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる。
When the prediction button is pressed, the prediction operation starting unit 100 determines that the user does not need to input the character string, and notifies the character string input unit of the start of the prediction process.

【0162】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列、ここでは「カー」を取り出し、検索制御部10
3に渡す。
When the character string input unit 101 is notified of the start of the prediction process, the character string input unit 101 takes out a character string to be used for the prediction process, here, “car” from the character string buffer 102, and retrieves it.
Pass to 3.

【0163】検索制御部103は、取り出す文字列数を
あらかじめ設定されている数である5にセットし、文字
列検索部104に文字列入力部101から受け取った文
字列「カー」を渡す。
The search control unit 103 sets the number of character strings to be fetched to 5, which is a preset number, and passes the character string “car” received from the character string input unit 101 to the character string search unit 104.

【0164】検索対象文書切り替え部400は、文字列
検索部105の検索対象としてまず作成中文書ファイル
106を選択し、文字列検索部105が検索できるよう
の切り替えをする。
The search target document switching unit 400 first selects the document file under creation 106 as a search target of the character string search unit 105, and switches it so that the character string search unit 105 can search.

【0165】文字列検索部105は、検索のキーとなる
「カー」を受け取り、作成中文書ファイル106に対し
て検索を行い「カーショップ〜」をみつけみつけた位置
を一定数文字列取り出し部107に知らせる。
The character string retrieving unit 105 receives "car" as a retrieval key, retrieves the document file under creation 106, and finds a "car shop" to find a certain number of character string retrieving units 107. Let us know.

【0166】一定数文字列取り出し部107は、文字列
検索部105によって検索された「カー」の位置から後
の予め設定されている文字数である5文字の文字列、即
ち「ショップに」を作成中文書ファィル105から取り
出し検索制御部103に渡す。
The fixed number of character string extracting unit 107 creates a character string of 5 characters, which is a preset number of characters after the position of "car" searched by the character string searching unit 105, that is, "in the shop". The medium document file 105 is taken out and passed to the search control unit 103.

【0167】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないのでさらに検索を要求する。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but requests the further search because the set number of character strings has not been reached yet.

【0168】検索対象文書切り替え部400は、文字列
検索部105の検索範囲がファイルの終りにきているか
どうか調べるが、まだ途中なので検索対象ファイルをそ
のままにしておく。
The search target document switching section 400 checks whether or not the search range of the character string search section 105 is at the end of the file, but since it is still in the middle, the search target file is left as it is.

【0169】文字列検索部105は、先ほどと同様に作
成中文書ファイル106に対して文字列「カー」の検索
をファイルの終りまで続ける。
The character string searching unit 105 continues searching for the character string "car" in the document file 106 being created until the end of the file, as in the previous case.

【0170】検索対象文書切り替え部400は、文字列
検索部105の検索範囲がファイルの終りにきているこ
とを知り検索対象ファイルを既存文書(1)402に切
り替える。
The search target document switching unit 400 switches the search target file to the existing document (1) 402 upon knowing that the search range of the character string search unit 105 is at the end of the file.

【0171】文字列検索部105は、先ほどと同様に既
存文書(1)402に対して検索を行い「カーソルには
〜」をみつけみつけた位置を一定数文字列取り出し部1
07に知らせる。
The character string retrieving unit 105 searches the existing document (1) 402 in the same manner as described above, and finds a certain number of character string retrieving units 1 at the position where "... is found at the cursor" is found.
Notify 07.

【0172】一定数文字列取り出し部107は、文字列
検索部105によって検索された「カー」の位置から後
の予め設定されている文字数である5文字の文字列、即
ち「ソルにはい」を既存文書(1)402から取り出し
検索制御部103に渡す。
The fixed number of character string extracting unit 107 outputs a character string of 5 characters, which is a preset number of characters after the position of “car” searched by the character string searching unit 105, that is, “Yes to sol”. The existing document (1) 402 is taken out and passed to the search control unit 103.

【0173】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないのでさらに検索を要求し、「シャン
プー」をを受け取る。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but since it has not reached the set number of character strings yet, it requests further search and receives "shampoo".

【0174】しかし、まだ設定した文字列数に達してい
ないので、更に検索を要求するが検索に失敗したことを
知らされ検索を終える。この時点で検索された文字列を
まとめて予測文字列群として予測文字列選択制御部10
9に渡す。
However, since the set number of character strings has not been reached yet, a further search is requested, but it is informed that the search has failed, and the search ends. The predicted character string selection control unit 10 collectively collects the character strings searched at this time as a predicted character string group.
Pass to 9.

【0175】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0176】表示部108は、「ショップに」、「ソル
にはい」、「シャンプー」の3つの文字列を表示する。
The display unit 108 displays three character strings "in the shop", "yes in sol", and "shampoo".

【0177】文字列選択部112は、利用者の文字列の
選択を待つ。ここで、利用者は「カーシャンプーなどは
その典型である。」と続けて入力するつもりだつたの
で、「シャンプー」を選択する。
The character string selection unit 112 waits for the user to select a character string. At this point, the user intends to input "car shampoo and the like is a typical example" in succession, so "shampoo" is selected.

【0178】この選択により、「シャンプー」が利用者
の意図していたものとして判断され、文字列選択制御部
109は、出力部110に対して文字列を出力するよう
に要求する。
With this selection, it is determined that "shampoo" was intended by the user, and the character string selection control unit 109 requests the output unit 110 to output the character string.

【0179】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string.

【0180】確定文字列表示部111は、確定文字列と
して受け取った「シャンプー」を表示し予測の処理を終
える。
The confirmed character string display unit 111 displays "shampoo" received as the confirmed character string and finishes the prediction process.

【0181】この例では「シャンプー」という部分の入
力作業を省けたことになる。
In this example, the input work for the "shampoo" part can be omitted.

【0182】図9は文字列予測方法を用いた本発明の文
字列予測装置の第五の実施例を示したブロック図であ
る。
FIG. 9 is a block diagram showing a fifth embodiment of the character string prediction device of the present invention using the character string prediction method.

【0183】文字列予測装置は、予測動作起動部10
0、文字列入力部101、文字列バッファ102、検索
制御部103、文字列検索部105、−定数文字列取り
出し部107、表示部108、予測文字列選択制御部1
09、出力部110、確定文字列表示部111、文字列
選択部112、検索対象文書切り替え部400、同一属
性文書群401文書構造変換部500、電話帳ファイル
501から構成される。
The character string predicting device has the predicting operation starting unit 10
0, character string input unit 101, character string buffer 102, search control unit 103, character string search unit 105, -constant character string extraction unit 107, display unit 108, predicted character string selection control unit 1
09, output unit 110, confirmed character string display unit 111, character string selection unit 112, search target document switching unit 400, same attribute document group 401 document structure conversion unit 500, and telephone directory file 501.

【0184】又、同一属性文書群401は、作成中文書
ファイル106、既存文書(1)402、既存文書
(2)403を含んで構成される。
The same-attribute document group 401 includes the document file under creation 106, existing document (1) 402, and existing document (2) 403.

【0185】ここで、上記の各ブロックの機能について
前出のブロックと異なるものについて説明する。
Here, the functions of the above-mentioned blocks different from the above-mentioned blocks will be described.

【0186】文書構造変換部500は、電話帳ファイル
501を文字列検索部105が検索できるように文書構
造を変換する。
The document structure conversion unit 500 converts the document structure so that the telephone directory file 501 can be searched by the character string search unit 105.

【0187】電話帳ファイル501は、図17に示すよ
うに、内部に名前と電話番号が対になったものが複数登
録されている。
As shown in FIG. 17, the telephone directory file 501 internally stores a plurality of pairs of names and telephone numbers.

【0188】上記構成につき、その動作を図10を参照
して説明する。
The operation of the above configuration will be described with reference to FIG.

【0189】文字列入力部101が文字列の入力を受け
付けてから検索制御部103が取り出す文字列数を設定
するまでの部分と、検索制御部103が検索を終えて文
字列を予測文字列選択制御部109に渡してから以降の
部分の処理は第四の実施例と同様である。尚、ステップ
90から93は、ステップ70から73に、又ステップ
101から104は、ステップ79から82に対応す
る。
The character string input unit 101 accepts the input of the character string until the search control unit 103 sets the number of character strings to be retrieved, and the search control unit 103 finishes the search and selects the predictive character string. The processing of the subsequent steps after passing to the control unit 109 is the same as that of the fourth embodiment. Note that steps 90 to 93 correspond to steps 70 to 73, and steps 101 to 104 correspond to steps 79 to 82.

【0190】検索対象文書切り替え部400は、文書作
成装置内にある作成中文書ファイル106、及び以前に
作成した既存文書(1)402、既存文書(2)40
3、電話帳ファィル501を、文字列検索部105の検
索対象として切り替える働きをする(ステップ94)。
検索が文書ファイルの終りまで進んだときには、次のフ
ァイルを文字列検索部105の検索対象とする(ステッ
プ105、106)。
The document-to-be-searched switching section 400 includes the document file under creation 106 in the document creating apparatus, and the previously created existing document (1) 402 and existing document (2) 40.
3. It operates to switch the telephone directory file 501 as a search target of the character string search unit 105 (step 94).
When the search has reached the end of the document file, the next file is set as the search target of the character string search unit 105 (steps 105 and 106).

【0191】文書構造変換部500は、検索対象文書切
り替え部400が通常の文書ファイル以外のファイルを
選択したときにファイル構造を通常ファイルの形式に変
換する。この例では電話帳ファイル501を通常ファイ
ル形式に変換する(ステップ95、96)。
The document structure conversion unit 500 converts the file structure into a normal file format when the search target document switching unit 400 selects a file other than a normal document file. In this example, the telephone directory file 501 is converted into a normal file format (steps 95 and 96).

【0192】文字列検索部105は、検索のキーとなる
文字列を受け取り、検査対象文書切り替え部400が切
り替えた文書ファイルに対して検索を行う。
The character string retrieving unit 105 receives the character string serving as the retrieval key, and retrieves the document file switched by the inspection target document switching unit 400.

【0193】検索に成功した場合には文字列の位置を一
定数文字列取り出し部107に知らせる。検索に失敗し
た場合にはそのことを一定数文字列取り出し部107に
知らせる(ステップ97)。
When the search is successful, the position of the character string is notified to the constant number character string extracting unit 107. If the search is unsuccessful, the fact is notified to the constant character string extracting unit 107 (step 97).

【0194】一定数文字列取り出し部107は、文字列
検索部105によって検索された位置から後の一定数の
文字列を検索対象ファイルから取り出し検索制御部10
3に渡す。又、検索に失敗したことを知らされた場合に
は、そのことを検索制御部103に知らせる(ステップ
98)。
The fixed number of character string extracting unit 107 extracts a constant number of character strings after the position searched by the character string searching unit 105 from the file to be searched, and the search control unit 10
Pass to 3. Further, when it is notified that the search has failed, the search control unit 103 is notified of this (step 98).

【0195】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取り、設定した文字列数に
達したかどうかを調べ、達していなければ、更に文字列
の検索を文字列検索部105に指示する。
The search control unit 103 receives a character string from the constant character string extraction unit 107, checks whether or not the set number of character strings has been reached, and if not, further searches for a character string. Instruct 105.

【0196】設定数に達していれば、その時点までに取
り出された文字列を文字列群として予測文字列選択制御
部109に渡す。設定数に達していなくても検索に失敗
したことを知らされた場合には文字列群を予測文字列選
択制御部109に渡す(ステップ99、100)。
If the set number has been reached, the character strings extracted up to that point are passed to the predicted character string selection control unit 109 as a character string group. If it is informed that the search has failed even if the set number has not been reached, the character string group is passed to the predicted character string selection control unit 109 (steps 99 and 100).

【0197】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0198】図14は文字列予測方法を用いた本発明の
文字列予測装置の第七の実施例を示したブロック図であ
る。
FIG. 14 is a block diagram showing a seventh embodiment of the character string prediction device of the present invention using the character string prediction method.

【0199】文字列予測装置は、予測動作起動部10
0、文字列入力部101、文字列バッファ102、検索
制御部103、文字列検索部105、−定数文字列取り
出し部107、表示部108、予測文字列選択制御部1
09、出力部110、確定文字列表示部111、文字列
選択部112、検索対象文書選択部700、同一属性文
書群401、から構成される。
The character string predicting device has a predicting operation starting unit 10
0, character string input unit 101, character string buffer 102, search control unit 103, character string search unit 105, -constant character string extraction unit 107, display unit 108, predicted character string selection control unit 1
09, output unit 110, fixed character string display unit 111, character string selection unit 112, search target document selection unit 700, and same attribute document group 401.

【0200】また、同一属性文書群401は、作成中文
書ファイル106、既存文書(1)402、既存文書
(2)403を含んで構成される。
The same-attribute document group 401 includes the document file under creation 106, existing document (1) 402, and existing document (2) 403.

【0201】ここで、上記の各ブロックの機能について
前出のブロックと異なるものについて説明する。
Here, the functions of the above-mentioned blocks different from the above-mentioned blocks will be described.

【0202】検索対象文書選択部700は、同一属性文
書群401に含まれるファイルの作成者をみて、あらか
じめ設定されている人物のファイルを選択し、文字列検
索部105の検索対象とする働きをする。
The search target document selection unit 700 has a function of selecting a file of a preset person by looking at the creators of the files included in the same-attribute document group 401 and setting it as the search target of the character string search unit 105. To do.

【0203】次に、既存文書(1)として「コンピュー
ターの編集画面で編集中の位置を知らせるのに使われる
カーソルにはいろいろなものがある。四角いものや、ア
ンダーラインのようなものなどさまざまである。」が、
また既存文書(2)として「家庭での洗車では、まず水
洗いをした後にカーシャンプーをもちいて丹念に汚れを
落す必要がある。砂ボコリ等がついたままワックスを塗
ると表面に微細な傷がついてしまうからである。」が、
また電話帳ファイルとして「東芝太郎;東京都港区;0
3−1234−2345、東芝次郎;神奈川県横浜市保
土ケ谷区:044−987−7654」が存在し、入力
文として「各地にビジネスパークと呼ばれる場所が存在
している。」が入力された後に「横浜市保土ケ谷区にも
いくつかの会社が集まった所がある。」と続けて文を入
力しようと意図している利用者が「横」と入力した時点
で予測ボタンを押した場合に、その後に続く文字列を予
測する処理を具体例として示す。
Next, as the existing document (1), "There are various cursors used to inform the position being edited on the editing screen of the computer. There are various things such as a square and an underline. There is. "
In addition, as an existing document (2), "At home car washing, it is necessary to wash with water first and then use car shampoo to carefully remove dirt. If wax is applied with sand dust etc., fine scratches on the surface It will keep up. ”
Also, as a telephone directory file, "Toshiba Taro; Minato-ku, Tokyo; 0
3-1234-2345, Toshiba Jiro; Hodogaya-ku, Yokohama-shi, Kanagawa: 044-987-7654 "exists, and" there is a place called a business park in each place. " If there are several companies in Hodogaya Ward, Yokohama City. ”If the user who intends to enter a sentence continues to press the prediction button when he / she inputs“ horizontal ”, then The process of predicting the character string following is shown as a specific example.

【0204】文字列入力部101は、利用者の「横」と
いう文字列の入力を受け付けるものである。
The character string input unit 101 receives the input of the character string "horizontal" by the user.

【0205】入力された文字列は予測文字列検索のキー
として使われるために、文字列バッファ102に一時的
に保存される。
The input character string is temporarily stored in the character string buffer 102 because it is used as a key for predictive character string retrieval.

【0206】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる。
When the prediction button is pressed, the prediction operation starting unit 100 determines that the user does not need to input the character string, and notifies the character string input unit that the prediction process has started.

【0207】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列、ここでは「横」を取り出し、検索制御部103
に渡す。
When the character string input unit 101 is notified of the start of the prediction process, the character string input unit 101 takes out a character string to be used for the prediction process, here, “horizontal”, from the character string buffer 102, and the search control unit 103.
Pass to.

【0208】検索制御部103は、取り出す文字列数を
あらかじめ設定されている数である5にセットし、文字
列検索部104に文字列入力部101から受け取った文
字列「横」を渡す。
The search control unit 103 sets the number of character strings to be fetched to 5, which is a preset number, and passes the character string “horizontal” received from the character string input unit 101 to the character string search unit 104.

【0209】検索対象文書切り替え部400は、文字列
検索部105の検索対象として先ず作成中文書ファイル
106を選択し、文字列検索部105が検索できるよう
の切り替えをする。
The search target document switching section 400 first selects the document file under creation 106 as a search target of the character string search section 105, and switches the character string search section 105 so that it can be searched.

【0210】文字列検索部105は、検索のキーとなる
「横」を受け取り、作成中文書ファイル106に対して
検索を行うが検索に失敗し、このことを一定数文字列選
択部107に知らせる。
The character string search unit 105 receives "horizontal" which is a key for the search, and searches the document file under creation 106, but the search fails and informs the constant number character string selection unit 107 of this. .

【0211】一定数文字列選択部107は、検索に失敗
したことを検索制御部103に知らせる。
The constant number character string selection unit 107 notifies the search control unit 103 that the search has failed.

【0212】検索制御部103は、−定数文字列取り出
し部107から検索に失敗したことを知らされ、更に検
索を要求する。
The search control unit 103 is notified by the constant character string extraction unit 107 that the search has failed, and requests further search.

【0213】検索対象文書切り替え部400は、文字列
検索部105の検索範囲がファイルの終りにきているこ
とを知り検索対象ファイルを既存文書(1)402に切
り替える。
The search target document switching section 400 switches the search target file to the existing document (1) 402 upon knowing that the search range of the character string search section 105 is at the end of the file.

【0214】既存文書(1)に対しても先ほどと同様に
検索を行うが失敗する。さらに既存文書(2)に対して
も同様である。
The existing document (1) is also searched in the same manner as above, but fails. The same applies to the existing document (2).

【0215】検索対象文書切り替え部400は、最後に
検索対象文書として電話帳ファイル501を用意する。
Finally, the search target document switching section 400 prepares the telephone directory file 501 as the search target document.

【0216】文書構造変換部500は、検索対象文書と
して電話帳ファイル501が用意されたことを知り、電
話帳ファイル501を通常ファイルの形式に変換して文
字列検索部105が検索できるようにする。
The document structure conversion unit 500 knows that the telephone directory file 501 has been prepared as a document to be searched, and converts the telephone directory file 501 into a normal file format so that the character string retrieval unit 105 can search. .

【0217】文字列検索部105は、変換された電話帳
ファイル501に対して検索を行い「横浜市〜」を見つ
け、見つけた位置を一定数文字列取り出し部107に知
らせる。
The character string search unit 105 searches the converted telephone directory file 501 to find "Yokohama-shi" and informs the fixed number of character string extraction unit 107 of the found position.

【0218】一定数文字列取り出し部107は、文字列
検索部105によって検索された「横」の位置から後の
予め設定されている文字数である7文字の文字列、即ち
「浜市保土ケ谷区」を作成中文書ファイル105から取
り出し検索制御部103に渡す。
The fixed number of character string extracting unit 107 has a character string of 7 characters which is a preset number of characters after the "horizontal" position searched by the character string searching unit 105, that is, "Hodogaya-ku, Hama-shi". From the document file under creation 105 and passes it to the search control unit 103.

【0219】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないので、更に検索を要求するが検索に
失敗したことを知らされ検索を終える。この時点で検索
された文字列をまとめて予測文字列群として予測文字列
選択制御部109に渡す。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but since the set number of character strings has not yet been reached, a further search is requested but the fact that the search has failed is notified. To finish. The character strings searched at this point are collectively passed to the predicted character string selection control unit 109 as a predicted character string group.

【0220】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0221】表示部108は、「浜市保土ケ谷区」の1
つの文字列を表示する。
The display unit 108 is 1 in "Hodogaya Ward, Hama City".
Display one string.

【0222】文字列選択部112は、利用者の文字列の
選択を待つ。ここで、利用者は「横浜市保土ヶ谷区にも
いくつかの会社が集まった所がある。」と続けて入力す
るつもりだったので、「浜市保土ヶ谷区」を選択する。
The character string selection unit 112 waits for the user to select a character string. At this point, the user intended to continue to input "There are several companies in Hodogaya Ward, Yokohama City.", So "Hodogaya Ward, Hama City" is selected.

【0223】この選択により、「浜市保土ヶ谷区」が利
用者の意図していたものとして判断され、文字列選択制
御部109は、出力部110に対して文字列を出力する
ように要求する。
By this selection, it is determined that "Hogashi-shi Hodogaya Ward" was intended by the user, and the character string selection control unit 109 requests the output unit 110 to output the character string.

【0224】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string.

【0225】確定文字列表示部111は、確定文字列と
して受け取った「浜市保土ヶ谷区」を表示し予測の処理
を終える。
The fixed character string display unit 111 displays "Hodogaya Ward, Hama-shi" received as the fixed character string, and finishes the prediction process.

【0226】この例では「浜市保土ヶ谷区」という部分
の入力作業を省けたことになる。
In this example, the input work for the portion "Hodogaya Ward, Hama City" can be omitted.

【0227】図11は文字列予測方法を用いた本発明の
文字列予測装置の第六の実施の形態の例を示したブロッ
ク図である。
FIG. 11 is a block diagram showing an example of a sixth embodiment of the character string prediction device of the present invention using the character string prediction method.

【0228】文字列予測装置は、予測動作起動部10
0、文字列入力部101、文字列バッファ102、検索
制御部103、文字列検索部105、−定数文字列取り
出し部107、表示部108、予測文字列選択制御部1
09、出力部110、確定文字列表示部111、文字列
選択部112、検索対象文書選択部600、同一属性文
書群401から構成される。
The character string predicting device has the predicting operation starting unit 10
0, character string input unit 101, character string buffer 102, search control unit 103, character string search unit 105, -constant character string extraction unit 107, display unit 108, predicted character string selection control unit 1
09, an output unit 110, a fixed character string display unit 111, a character string selection unit 112, a search target document selection unit 600, and the same attribute document group 401.

【0229】又、同一属性文書群401は、作成中文書
ファイル106、既存文書(1)402、既存文書
(2)403を含んで構成される。
The same-attribute document group 401 includes the document file under creation 106, existing document (1) 402, and existing document (2) 403.

【0230】ここで、上記の各ブロックの機能について
前出のブロックと異なるものについて説明する。
Here, the functions of the above-mentioned blocks different from the above blocks will be described.

【0231】検索対象文書選択部600は、同一属性文
書群401に含まれるファイルの作成及び変更日時をみ
て、予め設定された日時より新しいファイルを選択し、
文字列検索部105の検索対象とする働きをする。
The search target document selection unit 600 looks at the creation and modification dates and times of the files included in the same-attribute document group 401 and selects a file newer than the preset date and time,
The character string search unit 105 serves as a search target.

【0232】上記構成につき、その動作を図12を参照
して説明する。
The operation of the above configuration will be described with reference to FIG.

【0233】検索対象文書選択部600が文書を選択す
る動作以外は第四の実施の形態の例と同様である。尚、
ステップ110から113は、ステップ70から73
に、又ステップ115から124は、テップ75から8
4に対応する。
The operation is similar to that of the fourth embodiment except for the operation of the search target document selection section 600 to select a document. still,
Steps 110 to 113 are steps 70 to 73
And steps 115-124 are steps 75-8.
Corresponds to 4.

【0234】検索対象文書選択部600は、同一属性文
書群401に属する作成中文書ファイル106、および
以前に作成した既存文書(1)402、既存文書(2)
403の作成、変更の日時を調べて、日時が予め設定さ
れた日時より新しいファイルを、文字列検索部105の
検索対象として選択する働きをする(ステップ11
4)。
The retrieval target document selection unit 600 includes the document file under creation 106 belonging to the same attribute document group 401, and the previously created existing document (1) 402 and existing document (2).
The date and time of creation and modification of 403 are checked, and a file whose date and time is newer than the preset date and time is selected as a search target of the character string search unit 105 (step 11).
4).

【0235】次に、既存文書(1)として「家庭での洗
車では、まず水洗いをした後にカーシャンプーをもちい
て丹念に汚れを落す必要がある。砂ボコリ等がついたま
まワックスを塗ると表面に微細な傷がついてしまうから
である。」が、又既存文書(2)として「コンピュータ
ーの編集画面で編集中の位置を知らせるのに使われるカ
ーソルにはいろいろなものがある。四角いものや、アン
ダーラインのようなものなどさまざまである。」が存在
し、入力文として「カーショップには、同じ部類の商品
に対してもお客を満足させる為にさまざまな銘柄のもの
が置かれている。」が入力された後に「カーシャンプー
などはその典型である。」と続けて文を入力しようと意
図している利用者が「カー」と入力した時点で予測ボタ
ンを押した場合に、その後に続く文字列を予測する処理
を具体例として示す。
Next, as an existing document (1), "In a car wash at home, it is necessary to first wash it with water and then use car shampoo to carefully remove the dirt. "There is a variety of cursors used to indicate the position being edited on the computer's edit screen. There are various things, such as a square one, There are various things such as underlines. ”As an input sentence, there are various brands of products in the car shop in order to satisfy customers even for products of the same category. When a user who intends to enter a sentence, such as "Car shampoo is a typical example," after pressing "," presses the prediction button when "Car" is entered. Thereafter string following illustrates specific examples of the process to predict.

【0236】文字列入力部101は、利用者の「カー」
という文字列の入力を受け付ける。入力された文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される。
The character string input unit 101 is for the user's "car".
Accept the input string. The input character string is temporarily stored in the character string buffer 102 to be used as a key for predictive character string search.

【0237】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる。
When the prediction button is pressed, the prediction operation starting unit 100 judges that the user does not need to input the character string, and notifies the character string input unit that the prediction process is started.

【0238】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列、ここでは「カー」を取り出し、検索制御部10
3に渡す。
When the start of the prediction process is notified, the character string input unit 101 takes out a character string to be used for the prediction process, here “car”, from the character string buffer 102, and the retrieval control unit 10
Pass to 3.

【0239】検索制御部103は、取り出す文字列数を
予め設定されている数である5にセットし、文字列検索
部104に文字列入力部101から受け取った文字列
「カー」を渡す。
The search control unit 103 sets the number of character strings to be fetched to 5, which is a preset number, and passes the character string “car” received from the character string input unit 101 to the character string search unit 104.

【0240】検索対象文書選択部600は、作成中文書
ファイル106の作成、変更された日時を調べ設定され
た日時より新しいことを確認した後、文字列検索部10
5の検索対象として選択をする。
The search target document selection unit 600 checks the date and time when the document file under creation 106 was created and changed, and after confirming that it is newer than the set date and time, the character string search unit 10
5 is selected as a search target.

【0241】文字列検索部105は、検索のキーとなる
「カー」を受け取り、作成中文書ファイル106に対し
て検索を行い「カーショップ〜」を見つけ見つけた位置
を一定数文字列取り出し部107に知らせる。
The character string retrieving unit 105 receives "car" which is a retrieval key, searches the document file under creation 106 for "car shop", and finds a certain number of character string extracting units 107. Let us know.

【0242】一定数文字列取り出し部107は、文字列
検索部105によって検索された「カー」の位置から後
のあらかじめ設定されている文字数である5文字の文字
列、即ち「ショップに」を作成中文書ファイル105か
ら取り出し検索制御部103に渡す。
The fixed number of character string extracting unit 107 creates a character string of 5 characters, which is the preset number of characters after the position of “car” searched by the character string searching unit 105, that is, “in the shop”. The medium document file 105 is taken out and passed to the search control unit 103.

【0243】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないので、更に検索を要求する。
The search control unit 103 receives a character string from the constant character string extraction unit 107, but since the set number of character strings has not yet been reached, a further search is requested.

【0244】検索対象文書選択部600は、文字列検索
部105の検索範囲がファイルの終りにきているかどう
か調べるが、まだ途中なので検索対象ファイルをそのま
まにしておく。
The search target document selection unit 600 checks whether or not the search range of the character string search unit 105 is at the end of the file, but since it is still in the middle, the search target file is left as it is.

【0245】文字列検索部105は、先ほどと同様に作
成中文書ファイル106に対して文字列「カー」の検索
をファイルの終りまで続ける。
The character string search unit 105 continues searching for the character string "car" in the document file 106 being created until the end of the file, as in the previous case.

【0246】検索対象文書選択部600は、文字列検索
部105の検索範囲がファイルの終りにきていることを
知り、既存文書(1)402の作成、変更された日時を
調べ設定された日時より新しいことを確認した後、文字
列検索部105の検索対象として選択をする。
The search target document selection unit 600 knows that the search range of the character string search unit 105 is at the end of the file, and checks the date and time when the existing document (1) 402 was created or changed, and the set date and time. After confirming that it is newer, it is selected as a search target of the character string search unit 105.

【0247】文字列検索部105は、先ほどと同様に既
存文書(1)402に対して検索を行い「カーシャンプ
ー〜」をみつけみつけた位置を一定数文字列取り出し部
107に知らせる。
The character string search unit 105 searches the existing document (1) 402 in the same manner as described above, and notifies the fixed number of character string extraction units 107 of the positions where "Car Shampoo" is found.

【0248】一定数文字列取り出し部107は、文字列
検索部105によって検索された「カー」の位置から後
の予め設定されている文字数である5文字の文字列、即
ち「シャンプー」を既存文書(1)402から取り出し
検索制御部103に渡す。
The fixed number of character string extracting unit 107 outputs a character string of 5 characters, which is a preset number of characters after the position of "car" searched by the character string searching unit 105, that is, "shampoo" to the existing document. (1) Take out from 402 and pass it to the search control unit 103.

【0249】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないのでさらに検索を要求する。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but requests the further search because the set number of character strings has not been reached yet.

【0250】以下、同様にして検索を行っていくが検索
対象文書選択部600は既存文書(2)403の作成、
変更された日時を調べたときには設定された日時より古
いファイルであることを知り次の検索対象ファイルを探
す。しかし、これ以上ファイルが存在しないことを知り
検索を終える。
Thereafter, the search is performed in the same manner, but the search target document selection unit 600 creates the existing document (2) 403,
When the changed date and time is checked, it is found that the file is older than the set date and time, and the next search target file is searched. However, it finds that there are no more files and ends the search.

【0251】検索制御部103は、この時点で検索され
た文字列をまとめて予測文字列群として予測文字列選択
制御部109に渡す。
The search control unit 103 collectively passes the character strings searched at this point to the predicted character string selection control unit 109 as a predicted character string group.

【0252】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0253】表示部108は、「ショップに」、「シャ
ンプー」の2つの文字列を表示するものである。
The display unit 108 displays two character strings "in the shop" and "shampoo".

【0254】文字列選択部112は、利用者の文字列の
選択を待つ。ここで、利用者は「カーシャンプーなどは
その典型である。」と続けて入力するつもりだったの
で、「シャンプー」を選択する。
The character string selection unit 112 waits for the user to select a character string. Here, the user intended to input "car shampoo and the like is a typical example" in succession, and thus selects "shampoo".

【0255】この選択により、「シャンプー」が利用者
の意図していたものとして判断され、文字列選択制御部
109は、出力部110に対して文字列を出力するよう
に要求する。
By this selection, it is determined that "shampoo" was intended by the user, and the character string selection control unit 109 requests the output unit 110 to output the character string.

【0256】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string.

【0257】確定文字列表示部111は、確定文字列と
して受け取った「シャンプー」を表示し予測の処理を終
える。
The confirmed character string display section 111 displays "shampoo" received as the confirmed character string and finishes the prediction process.

【0258】この例では「シャンプー」という部分の入
力作業を省けたことになる。また、ファイルの作成、変
更された日時の情報を利用したことにより予測文字列群
の数を減らすことができ、利用者に余計な負担をかけず
にすんでいる。
In this example, the input work for the "shampoo" part can be omitted. Moreover, the number of predicted character string groups can be reduced by using the information of the date and time when the file is created and changed, which saves the user an extra burden.

【0259】図14は文字列予測方法を用いた本発明の
文字列予測装置の第七の実施の形態例を示したブロック
図である。
FIG. 14 is a block diagram showing a seventh embodiment of the character string prediction device of the present invention using the character string prediction method.

【0260】文字列予測装置は、予測動作起動部10
0、文字列入力部101、文字列バッファ102、検索
制御部103、文字列検索部105、−定数文字列取り
出し部107、表示部108、予測文字列選択制御部1
09、出力部110、確定文字列表示部111、文字列
選択部112、検索対象文書選択部700、同一属性文
書群401、から構成される。
The character string predicting device has a predicting operation starting unit 10
0, character string input unit 101, character string buffer 102, search control unit 103, character string search unit 105, -constant character string extraction unit 107, display unit 108, predicted character string selection control unit 1
09, output unit 110, fixed character string display unit 111, character string selection unit 112, search target document selection unit 700, and same attribute document group 401.

【0261】又、同一属性文書群401は、作成中文書
ファイル106、既存文書(1)402、既存文書
(2)403を含んで構成される。
The same-attribute document group 401 includes the document file under creation 106, existing document (1) 402, and existing document (2) 403.

【0262】ここで、上記の各ブロックの機能について
前出のブロックと異なるものについて説明する。
Here, the functions of the above-mentioned blocks different from the above-mentioned blocks will be described.

【0263】検索対象文書選択部700は、同一属性文
書群401に含まれるファイルの作成者をみて、あらか
じめ設定されている人物のファイルを選択し、文字列検
索部105の検索対象とする働きをする。
The search target document selection unit 700 has a function of selecting a file of a preset person by looking at the creators of the files included in the same-attribute document group 401 and setting it as the search target of the character string search unit 105. To do.

【0264】上記構成につき、その動作を図14を参照
して説明する。
The operation of the above configuration will be described with reference to FIG.

【0265】検索対象文書選択部700が文書を選択す
る動作以外は第四の実施例と同様である。尚、ステップ
130から133は、ステップ70から73に、又ステ
ップ135から144は、ステップ75から84に対応
する。
The operation is similar to that of the fourth embodiment, except for the operation of the search target document selection section 700 to select a document. Steps 130 to 133 correspond to steps 70 to 73, and steps 135 to 144 correspond to steps 75 to 84.

【0266】検索対象文書選択部700は、同一属性文
書群401に属する作成中文書ファイル106、及び以
前に作成した既存文書(1)402、既存文書(2)4
03の作成者を調べて、予め設定された人物によって作
成されたファイルを文字列検索部105の検索対象とし
て選択する働きをする(ステップ134)。
The search target document selection unit 700 includes the document file under creation 106 belonging to the same attribute document group 401, and the previously created existing document (1) 402 and existing document (2) 4
The creator of No. 03 is checked, and a file created by a preset person is selected as a search target of the character string search unit 105 (step 134).

【0267】次に、既存文書(1)として「家庭での洗
車では、まず水洗いをした後にカーシャンプーをもちい
て丹念に汚れを落す必要がある。砂ボコリ等がついたま
まワックスを塗ると表面に微細な傷がついてしまうから
である。」が、又既存文書(2)として「コンピュータ
ーの編集画面で編集中の位置を知らせるのに使われるカ
ーソルにはいろいろなものがある。四角いものや、アン
ダーラインのようなものなどさまざまである。」が存在
し、入力文として「カーショップには、同じ部類の商品
に対してもお客を満足させる為にさまざまな銘柄のもの
が置かれている。」が入力された後に「カーシャンプー
などはその典型である。」と続けて文を入力しようと意
図している利用者が「カー」と入力した時点で予測ボタ
ンを押した場合に、その後に続く文字列を予測する処理
を具体例として示す。
Next, as an existing document (1), "At home car washing, it is necessary to wash with water first and then use car shampoo to carefully remove the dirt. If wax is applied with sand dust on the surface, "There is a variety of cursors used to indicate the position being edited on the computer's edit screen. There are various things, such as a square one, There are various things such as underlines. ”As an input sentence," Car shops have various brands of products in the same category to satisfy customers. If the user who intends to enter a sentence, such as "Car shampoo is a typical example" after pressing "," presses the prediction button at the time of entering "Car" Thereafter string following illustrates specific examples of the process to predict.

【0268】文字列入力部101は、利用者の「カー」
という文字列の入力を受け付ける。入力された文字列は
予測文字列検索のキーとして使われるために、文字列バ
ッファ102に一時的に保存される。
The character string input unit 101 is for the user's "car".
Accept the input string. The input character string is temporarily stored in the character string buffer 102 to be used as a key for predictive character string search.

【0269】予測動作起動部100は、予測ボタンが押
されたときに、利用者が文字列を入力する手間を省きた
いものと判断し、文字列入力部に対して予測処理の開始
を知らせる。
When the prediction button is pressed, the prediction operation starting unit 100 determines that the user does not need to input the character string, and notifies the character string input unit that the prediction process has started.

【0270】文字列入力部101は、予測処理の開始を
知らされると文字列バッファ102から予測処理に使う
文字列、ここでは「カー」を取り出し、検索制御部10
3に渡す。
When the character string input unit 101 is notified of the start of the prediction process, the character string input unit 101 takes out a character string to be used for the prediction process from the character string buffer 102, here "car", and retrieves it.
Pass to 3.

【0271】検索制御部103は、取り出す文字列数を
あらかじめ設定されている数である5にセットし、文字
列検索部104に文字列入力部101から受け取った文
字列「カー」を渡す。
The search control unit 103 sets the number of character strings to be fetched to 5, which is a preset number, and passes the character string "car" received from the character string input unit 101 to the character string search unit 104.

【0272】検索対象文書選択部700は、作成中文書
ファイル106の作成者を調べて、設定された人物のも
のかどうか調べ、同一人物が作成したファイルであるこ
とを確認した後、文字列検索部105の検索対象として
選択をする。
The search target document selection unit 700 checks the creator of the document file under creation 106 to see if it belongs to the set person, confirms that the file is created by the same person, and then searches for the character string. The search target of the unit 105 is selected.

【0273】文字列検索部105は、検索のキーとなる
「カー」を受け取り、作成中文書ファイル106に対し
て検索を行い「カーショップ〜」を見つけ、見つけた位
置を一定数文字列取り出し部107に知らせる。
The character string retrieving unit 105 receives "car" which is a key for retrieval, searches the document file under creation 106 for "car shop", and finds the found position by a certain number of character string retrieving unit. Notify 107.

【0274】一定数文字列取り出し部107は、文字列
検索部105によって検索された「カー」の位置から後
のあらかじめ設定されている文字数である5文字の文字
列、即ち「ショップに」を作成中文書ファイル105か
ら取り出し検索制御部103に渡す。
The fixed number of character string extracting unit 107 creates a character string of 5 characters, which is a preset number of characters after the position of "car" searched by the character string searching unit 105, that is, "in the shop". The medium document file 105 is taken out and passed to the search control unit 103.

【0275】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないので、更に検索を要求する。
The search control unit 103 receives a character string from the constant character string extraction unit 107, but since the set number of character strings has not yet been reached, a further search is requested.

【0276】検索対象文書選択部700は、文字列検索
部105の検索範囲がファイルの終りにきているかどう
か調べるが、まだ途中なので検索対象ファイルをそのま
まにしておく。
The search target document selection unit 700 checks whether or not the search range of the character string search unit 105 is at the end of the file, but since it is still in the middle, the search target file is left as it is.

【0277】文字列検索部105は、先ほどと同様に作
成中文書ファイル106に対して文字列「カー」の検索
をファイルの終りまで続ける。
The character string search unit 105 continues searching for the character string "car" in the document file 106 being created until the end of the file, as described above.

【0278】検索対象文書選択部700は、文字列検索
部105の検索範囲がファイルの終りにきていることを
知り、既存文書(1)402の作成者を調べて、設定さ
れた人物のものかどうか調べ、同一人物が作成したファ
イルであることを確認した後、文字列検索部105の検
索対象として選択をする。
The document-to-be-searched selection unit 700 finds out that the search range of the character string search unit 105 is at the end of the file, checks the creator of the existing document (1) 402, and finds the person who has been set. Is checked and it is confirmed that the files are created by the same person, and then the character string search unit 105 selects the file as a search target.

【0279】文字列検索部105は、先ほどと同様に既
存文書(1)402に対して検索を行い「カーシャンプ
ー〜」を見つけ、見つけた位置を一定数文字列取り出し
部107に知らせる。
The character string search unit 105 searches for the existing document (1) 402 in the same manner as described above, finds "car shampoo ~", and notifies the found number of positions to the constant number character string extraction unit 107.

【0280】一定数文字列取り出し部107は、文字列
検索部105によって検索された「カー」の位置から後
の予め設定されている文字数である5文字の文字列、即
ち「シャンプー」を既存文書(1)402から取り出し
検索制御部103に渡す。
[0280] The fixed number of character string extracting unit 107 extracts a character string of 5 characters, which is the preset number of characters after the position of "car" searched by the character string searching unit 105, that is, "shampoo" from the existing document. (1) Take out from 402 and pass it to the search control unit 103.

【0281】検索制御部103は、−定数文字列取り出
し部107から文字列を受け取るが、まだ設定した文字
列数に達していないのでさらに検索を要求する。
The search control unit 103 receives the character string from the constant character string extraction unit 107, but requests the further search because the set number of character strings has not been reached yet.

【0282】以下、同様にして検索を行っていくが検索
対象文書選択部700は既存文書(2)403の作成者
を調べたときには設定された人物以外の人物が作成した
ファイルであることを知り次の検索対象ファイルを探
す。しかし、これ以上ファイルが存在しないことを知り
検索を終える。
Thereafter, similar search is carried out, but when the creator of the existing document (2) 403 is checked, the search target document selection unit 700 finds out that the file is created by a person other than the set person. Find the next file to search. However, it finds that there are no more files and ends the search.

【0283】検索制御部103は、この時点で検索され
た文字列をまとめて予測文字列群として予測文字列選択
制御部109に渡す。
The search control unit 103 collectively passes the character strings searched at this point to the predicted character string selection control unit 109 as a predicted character string group.

【0284】予測文字列選択制御部109は、予測文字
列群を受け取り表示部108に対して文字列群の表示を
要求する。
The predicted character string selection control unit 109 receives the predicted character string group and requests the display unit 108 to display the character string group.

【0285】表示部108は、「ショップに」、「シャ
ンプー」の2つの文字列を表示するものである。
The display unit 108 displays two character strings "in the shop" and "shampoo".

【0286】文字列選択部112は、利用者の文字列の
選択を待つ。ここで、利用者は「カーシャンプーなどは
その典型である。」と続けて入力するつもりだったの
で、「シャンプー」を選択する。この選択により、「シ
ャンプー」が利用者の意図していたものとして判断さ
れ、文字列選択制御部109は、出力部110に対して
文字列を出力するように要求する。
The character string selection unit 112 waits for the user to select a character string. Here, the user intended to input "car shampoo and the like is a typical example" in succession, and thus selects "shampoo". By this selection, it is determined that “shampoo” was intended by the user, and the character string selection control unit 109 requests the output unit 110 to output the character string.

【0287】出力部110は、利用者によって選択され
た文字列を確定文字列として確定文字列表示部111に
渡す。
The output unit 110 transfers the character string selected by the user to the fixed character string display unit 111 as a fixed character string.

【0288】確定文字列表示部111は、確定文字列と
して受け取った「シャンプー」を表示し予測の処理を終
える。
The fixed character string display portion 111 displays "shampoo" received as the fixed character string, and finishes the prediction process.

【0289】この例では「シャンプー」という部分の入
力作業を省けたことになる。また、ファイルの作成者を
調べたことにより、予測文字列群の数を減らすことがで
き、利用者に余計な負担をかけずにすんでいる。
In this example, the input work for the "shampoo" part can be omitted. In addition, by checking the creator of the file, the number of predicted character string groups can be reduced, and the user is spared no extra burden.

【0290】尚、本発明は上記実施の形態の例に限定さ
れるものではない、例えば、予測を開始するために予測
ボタンを使うのではなく絶えず予測処理をしてもよい
し、なんらかの合図を用いて予測を開始しても良い。
又、入力には文字認識を使うのではなく、タブレットや
キーボードを用いても良い。又、利用者へ選択を行わせ
ずに優先順位の高いものをそのまま出力しても良いし、
予測結果の出力先は画面でなく他の処理系でも良い。
又、本実施の形態の例では入力された文字列以降の文字
列を予測文字列として利用者に示しているが、入力され
た文字列を含めた文字列を予測文字列としてもよい。要
するに、本発明の趣旨を逸脱しない範囲で種々変形して
実施することが可能である。
It should be noted that the present invention is not limited to the example of the above-described embodiment. For example, instead of using the prediction button to start the prediction, the prediction process may be performed continuously, or some signal may be given. You may use and may start prediction.
Also, instead of using character recognition for input, a tablet or keyboard may be used. Also, it is possible to output the one with the higher priority as it is without making a selection to the user,
The output destination of the prediction result may be another processing system instead of the screen.
Further, in the example of the present embodiment, the character string after the input character string is shown to the user as the predicted character string, but a character string including the input character string may be used as the predicted character string. In short, various modifications can be implemented without departing from the spirit of the present invention.

【0291】[0291]

【発明の効果】以上詳記したように本発明によれば、文
字列の一部が入力された時点で作成中の文書内から入力
された文字列を検索して検索に成功した部分より後ろの
文字列を予測文字列の候補として出力することにより、
新たに記憶領域や辞書を設けること無く利用者がこれか
ら入力しようとしていると考えられる文字列を示すこと
ができる。又、予測されたものの中に利用者が希望した
文字列が存在すれば、文字列の入力にかかる負担を軽減
することが可能となる、という優れた効果を奏するもの
である。
As described above in detail, according to the present invention, when a part of a character string is input, the input character string is searched from the document being created, and the character string is searched after the part that is successfully searched. By outputting the character string of as a predicted character string candidate,
It is possible to indicate a character string which is considered to be input by the user without providing a new storage area or dictionary. Further, if a character string desired by the user exists in the predicted ones, the burden of inputting the character string can be reduced, which is an excellent effect.

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

【図1】本発明の一実施の形態に係る文字列予測装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a character string prediction device according to an embodiment of the present invention.

【図2】同実施の形態の動作を説明するフローチャー
ト。
FIG. 2 is a flowchart illustrating an operation of the embodiment.

【図3】本発明の第二の実施の形態に係る文字列予測装
置の構成を示すブロック図。
FIG. 3 is a block diagram showing a configuration of a character string prediction device according to a second embodiment of the present invention.

【図4】同実施の形態の動作を説明するフローチャー
ト。
FIG. 4 is a flowchart illustrating an operation of the embodiment.

【図5】本発明の第三の実施の形態に係る文字列予測装
置の構成を示すブロック図。
FIG. 5 is a block diagram showing a configuration of a character string prediction device according to a third embodiment of the present invention.

【図6】同実施の形態の動作を説明するフローチャー
ト。
FIG. 6 is a flowchart explaining the operation of the embodiment.

【図7】本発明の第四の実施の形態に係る文字列予測装
置の構成を示すブロック図。
FIG. 7 is a block diagram showing a configuration of a character string prediction device according to a fourth embodiment of the present invention.

【図8】同実施の形態の動作を説明するフローチャー
ト。
FIG. 8 is a flowchart illustrating the operation of the embodiment.

【図9】本発明の第五の実施の形態に係る文字列予測装
置の構成を示すブロック図。
FIG. 9 is a block diagram showing a configuration of a character string prediction device according to a fifth embodiment of the present invention.

【図10】同実施の形態の動作を説明するフローチャー
ト。
FIG. 10 is a flowchart illustrating an operation of the embodiment.

【図11】本発明の第六の実施の形態に係る文字列予測
装置の構成を示すブロック図。
FIG. 11 is a block diagram showing the configuration of a character string prediction device according to a sixth embodiment of the present invention.

【図12】同実施の形態の動作を説明するフローチャー
ト。
FIG. 12 is a flowchart illustrating an operation of the embodiment.

【図13】本発明の第七の実施の形態に係る文字列予測
装置の構成を示すブロック図。
FIG. 13 is a block diagram showing the configuration of a character string prediction device according to a seventh embodiment of the present invention.

【図14】同実施の形態の動作を説明するフローチャー
ト。
FIG. 14 is a flowchart illustrating the operation of the embodiment.

【図15】本発明の実施の形態、特に第三の実施の形態
に係わる予測表示属性変化前の画面の図。
FIG. 15 is a diagram of a screen before the change of the predictive display attribute according to the embodiment of the present invention, particularly the third embodiment.

【図16】本発明の実施の形態、特に第三の実施の形態
に係わる予測表示属性変化後の画面の図。
FIG. 16 is a diagram of a screen after the change of the predictive display attribute according to the embodiment of the present invention, particularly the third embodiment.

【図17】本発明の実施の形態、特に第五の実施の形態
に係わる電話帳ファイルの例を示す図。
FIG. 17 is a diagram showing an example of a telephone directory file according to the embodiment of the present invention, particularly the fifth embodiment.

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

100…予測動作起動部、101…文字列入力部、10
2…文字列バッファ、103…検索制御部、104…検
索開始位置調査部、105…文字列検索部、106…作
成中文書ファイル、107…一定数文字列取り出し部、
108…表示部、109…予測文字列選択制御部、11
0…出力部、111…確定文字列表示部、112…文字
列選択部、200…頻度順並び変え部、300…編集画
面書き換え部、301…編集画面制御部、400…検索
対象文書切替え部、401…同一属性文書群、402…
既存文書1、403…既存文書2、500…文書構造変
換部、501…電話帳ファイル、600…検索対象文書
選択部、700…検索対象文書選択部。
100 ... Prediction operation starting unit, 101 ... Character string input unit, 10
2 ... Character string buffer, 103 ... Search control unit, 104 ... Search start position examining unit, 105 ... Character string searching unit, 106 ... Document file being created, 107 ... Constant number of character string extracting unit,
108 ... Display unit, 109 ... Predicted character string selection control unit, 11
0 ... Output unit, 111 ... Confirmed character string display unit, 112 ... Character string selection unit, 200 ... Frequency order rearranging unit, 300 ... Edit screen rewriting unit, 301 ... Edit screen control unit, 400 ... Search target document switching unit, 401 ... Same attribute document group, 402 ...
Existing document 1, 403 ... Existing document 2, 500 ... Document structure conversion unit, 501 ... Phonebook file, 600 ... Search target document selection unit, 700 ... Search target document selection unit.

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、 文字列が入力された場合には、その時点までに入力が終
っている作成中の文書内から入力された文字列を現在編
集中の位置から遡って検索し、 同一文字列を見つけることができたときには、見つける
ことができた複数の文字列について検索された文字列よ
り後ろの文字列を取り出し、 取り出された複数の文字列を最初に検索されたものを優
先して予測文字列群として出力することを特徴とする文
字列予測方法。
1. A character for predicting a character string following an input character string in a character string predicting device for predicting a character string in which an input character string is at a leading portion as a character string to be input from now on. In the column prediction method, when a character string is input, the input character string that has been input by that point is searched backward from the position currently being edited for the same character string, and the same When a character string can be found, the character string after the character string searched for the plural character strings that can be found is taken out, and the plural character strings retrieved are given priority to the one searched first. A method of predicting a character string, characterized by outputting as a predictive character string group.
【請求項2】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、 文字列が入力された場合には、その時点までに入力が終
っている作成中の文書内から入力された文字列を検索
し、 同一文字列を見つけることができたときには、見つける
ことができた複数の文字列について検索された文字列よ
り後ろの文字列を取り出し、 取り出された複数の文字列を同一文書内での出現頻度順
に並び変えて出現頻度の高いものを優先して予測文字列
群として出力することを特徴とする文字列予測方法。
2. A character for predicting a character string following the input character string in a character string predicting device for predicting a character string in which an input character string is at the head portion as a character string to be input from now on. In the column prediction method, if a character string was input, the same character string could be found by searching for the input character string in the document being created that has been input by that point. Occasionally, the character strings that are after the searched character string are retrieved for the multiple character strings that can be found, and the retrieved character strings are rearranged in the order of appearance frequency in the same document. A character string prediction method characterized in that a character string prediction is output with priority.
【請求項3】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、 文字列が入力された場合には、その時点までに入力が終
っている作成中の文書内から入力された文字列を検索
し、 同一文字列を見つけることができたときには、見つける
ことができた複数の文字列について検索された文字列よ
り後ろの文字列を選び出し、 選び出された複数の文字列の画而上での表示属性を変え
て予測文字列群として出力することを特徴とする文字列
予測方法。
3. A character for predicting a character string following an input character string in a character string predicting device, which predicts a character string in which an input character string is at a leading portion as a character string to be input from now on. In the column prediction method, if a character string was input, the same character string could be found by searching for the input character string in the document being created that has been input by that point. Occasionally, a character string after the searched character string is selected for a plurality of character strings that can be found, and the display attributes of the selected character strings on the metaphysics are changed and output as a predicted character string group. A character string prediction method characterized by:
【請求項4】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、 文字列が入力された場合には、作成中の文書と同じアプ
リケーションによって作成された文書ファイル群から入
力された文字列を検索し、 同一文字列を見つけることができたときには、見つける
ことができた複数の文字列について検索された文字列よ
り後ろの文字列を取り出し、 取り出された複数の文字列を予測文字列群として出力す
ることを特徴とする文字列予測方法。
4. A character for predicting a character string following an input character string in a character string predicting device for predicting a character string in which the input character string is at the head portion as a character string to be input from now on. In the column prediction method, when a character string was input, the same character string could be found by searching the input character string from the document file group created by the same application as the document being created. At times, a character string prediction method is characterized in that a character string after the searched character string is extracted for a plurality of found character strings, and the plurality of extracted character strings are output as a predicted character string group.
【請求項5】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、 文字列が入力された場合には、使用中の文書作成装置内
の文書ファイル全てを対象として入力された文字列を検
索し、 同一文字列を見つけることができたときには、見つける
ことができた複数の文字列について検索された文字列よ
り後ろの文字列を取り出し、 取り出された複数の文字列を予測文字列群として出力す
ることを特徴とする文字列予測方法。
5. A character for predicting a character string following the input character string in a character string predicting device, which predicts a character string in which the input character string is at the head portion as a character string to be input from now on. In the column prediction method, when a character string is input, the input character string is searched for all the document files in the document creation device in use, and if the same character string is found, A character string prediction method characterized in that a character string after the searched character string is extracted for a plurality of found character strings, and the plurality of extracted character strings are output as a predicted character string group.
【請求項6】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於ける前記入力文字列に続く
文字列を予測する文字列予測方法にあって、 文字列が入力された場合には、使用中の文書作成装置内
の文書ファイルのうち、予め設定されている日時より後
に作成、変更されたファイルを対象として入力された文
字列を検索し、 同一文字列を見つけることができたときには、見つける
ことができた複数の文字列について検索された文字列よ
り後ろの文字列を取り出し、 取り出された複数の文字列を予測文字列群として出力す
ることを特徴とする文字列予測方法。
6. A character for predicting a character string following an input character string in a character string predicting device for predicting a character string in which the input character string is at the head portion as a character string to be input from now on. In the column prediction method, when a character string was input, it was input for the file created or changed after the preset date and time among the document files in the document creation device in use. When a character string is searched and the same character string can be found, the character string after the searched character string is extracted for the multiple character strings that can be found, and the extracted character strings are predicted characters. A character string prediction method characterized by outputting as a column group.
【請求項7】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於ける前記入力文字列字列予
測方法にあって、 文字列が入力された場合には、使用中の文書作成装置内
の文書ファイルのうち、予め設定された人物によって作
成、変更されたファイルを対象として入力された文字列
を検索し、 同一文字列を見つけることができたときには、見つける
ことができた複数の文字列について検索された文字列よ
り後ろの文字列を取り出し、 取り出された複数の文字列を予測文字列群として出力す
ることを特徴とする文字列予測方法。
7. The input character string character string predicting method in a character string predicting device for predicting a character string in which an input character string is at a leading portion as a character string to be input, When a character string is input, the character string input for the file created and changed by a preset person is searched from among the document files in the document creation device in use, and the same character string is searched. When a character string that can be found is found, the character string after the searched character string is extracted for the character strings that can be found, and the extracted character strings are output as a predicted character string group. String prediction method.
【請求項8】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於いて、 文字列を入力するための文字列入力手段と、 入力された文字列を同一文書内の編集中の位置から遡っ
て検索する文字列検索手段と、 検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、 複数の文字列を取り出すために文字列検索手段及び文字
列取り出し手段とを制御する検索制御手段と、 取り出した文字列群を最初に検索されたものを優先して
出力する出力手段とを具備したことを特徴とする文字列
予測装置。
8. A character string predicting device for predicting a character string having an input character string at the beginning as a character string to be input, and a character string input means for inputting the character string. And a character string search means for searching the input character string backwards from the position being edited in the same document, a character string extracting means for extracting a character string after the searched character string, and a plurality of character strings. It is characterized by further comprising: a retrieval control means for controlling the character string retrieval means and the character string retrieval means for retrieval, and an output means for preferentially outputting the retrieved character string group first. String predictor.
【請求項9】 入力された文字列が先頭部分にある文字
列を、これから入力しようとしている文字列として予測
して示す文字列予測装置に於いて、 文字列を入力するための文字列入力手段と、 入力された文字列を同一文書内から検索する文字列検索
手段と、 検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、 複数の文字列を取り出すために文字列検索手段及び文字
列取り出し手段とを制御する検索制御手段と、 取り出した文字列群を同一文書内での出現頻度順に出力
する出力手段とを具備したことを特徴とする文字列予測
装置。
9. A character string inputting means for inputting a character string in a character string predicting device for predicting a character string in which an input character string is at a leading portion as a character string to be input from now on. And a character string retrieval means for retrieving the input character string from the same document, a character string retrieval means for retrieving a character string after the retrieved character string, and a character string retrieval means for retrieving a plurality of character strings. A character string prediction device comprising: a search control means for controlling the character string extracting means; and an output means for outputting the extracted character string groups in the order of appearance frequency in the same document.
【請求項10】 入力された文字列が先頭部分にある文
字列を、これから入力しようとしている文字列として予
測して示す文字列予測装置に於いて、 文字列を入力するための文字列入力手段と、 入力された文字列を同一文書内から検索する文字列検索
手段と、 検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、 複数の文字列を取り出すために文字列検索手段及び文字
列取り出し手段とを制御する検索制御手段と、 取り出された文字列の画面上での表示属性を変える出力
手段とを具備したことを特徴とする文字列予測装置。
10. A character string inputting device for inputting a character string in a character string predicting device for predicting a character string in which an input character string is at a head portion as a character string to be input from now on. And a character string retrieval means for retrieving the input character string from the same document, a character string retrieval means for retrieving a character string after the retrieved character string, and a character string retrieval means for retrieving a plurality of character strings. A character string predicting device comprising: a search control means for controlling the character string extracting means; and an output means for changing a display attribute of the extracted character string on the screen.
【請求項11】 入力された文字列が先頭部分にある文
字列を、これから入力しようとしている文字列として予
測して示す文字列予測装置に於いて、 文字列を入力するための文字列入力手段と、 入力された文字列を作成中の文書と同一のアプリケーシ
ョンによって作成された文書ファイル群から検索する文
字列検索手段と、 検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、 複数の文字列を取り出すために文字列検索手段及び文字
列取り出し手段とを制御する検索制御手段と、 取り出した文字列群を出力する出力手段とを具備したこ
とを特徴とする文字列予測装置。
11. A character string input device for inputting a character string in a character string predicting device for predicting a character string in which an input character string is at the head portion as a character string to be input from now on. And a character string retrieval means for retrieving the input character string from a document file group created by the same application as the document being created, and a character string retrieval means for retrieving the character string after the retrieved character string, A character string prediction device comprising: a search control means for controlling a character string search means and a character string extraction means for extracting a plurality of character strings; and an output means for outputting the extracted character string group.
【請求項12】 入力された文字列が先頭部分にある文
字列を、これから入力しようとしている文字列として予
測して示す文字列予測装置に於いて、 文字列を入力するための文字列入力手段と、 入力された文字列を使用中の文書作成装置内の文書ファ
イル全てを対象として検索する文字列検索手段と、 検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、 複数の文字列を取り出すために文字列検索手段及び文字
列取り出し手段とを制御する検索制御手段と、 取り出した文字列群を出力する出力手段とを具備したこ
とを特徴とする文字列予測装置。
12. A character string inputting means for inputting a character string in a character string predicting device for predicting a character string in which an input character string is at a head portion as a character string to be input from now on. A character string search means for searching all the document files in the document creation device that is using the input character string, a character string extraction means for extracting a character string after the searched character string, A character string prediction device comprising: a search control means for controlling a character string search means and a character string extraction means for extracting a character string; and an output means for outputting the extracted character string group.
【請求項13】 入力された文字列が先頭部分にある文
字列を、これから入力しようとしている文字列として予
測して示す文字列予測装置に於いて、 文字列を入力するための文字列入力手段と、 入力された文字列を使用中の文書作成装置内の文書ファ
イルのうち予め設定されている日時より後に作成、変更
されたファイルを対象として検索する文字列検索手段
と、 検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、 複数の文字列を取り出すために文字列検索手段及び文字
列取り出し手段とを制御する検索制御手段と、 取り出した文字列群を出力する出力手段とを具備したこ
とを特徴とする文字列予測装置。
13. A character string inputting means for inputting a character string in a character string predicting device for predicting a character string in which an input character string is at a leading portion as a character string to be input from now on. And a character string searching means for searching for a file created or changed after a preset date and time among the document files in the document creating apparatus that is using the input character string, and the searched character string. A character string retrieving means for retrieving a character string after the character string; a search control means for controlling the character string retrieving means and the character string retrieving means for retrieving a plurality of character strings; and an output means for outputting the retrieved character string group. A character string prediction device comprising:
【請求項14】 入力された文字列が先頭部分にある文
字列を、これから入力しようとしている文字列として予
測して示す文字列予測装置に於いて、 文字列を入力するための文字列入力手段と、 入力された文字列を使用中の文書作成装置内の文書ファ
イルのうち予め設定された人物により作成、変更された
ファイルを対象として検索する文字列検索手段と、 検索された文字列より後ろの文字列を取り出す文字列取
り出し手段と、 複数の文字列を取り出すために文字列検索手段及び文字
列取り出し手段とを制御する検索制御手段と、 取り出した文字列群を出力する出力手段とを具備したこ
とを特徴とする文字列予測装置。
14. A character string inputting means for inputting a character string in a character string predicting device for predicting a character string in which an input character string is at a leading portion as a character string to be input from now on. And a character string search means for searching for a file created or modified by a preset person among the document files in the document creation device that is using the input character string, and a character string search means after the searched character string. And a retrieval control means for controlling the character string retrieval means and the character string retrieval means for retrieving a plurality of character strings, and an output means for outputting the retrieved character string group. A character string prediction device characterized by the above.
JP7313303A 1995-11-30 1995-11-30 Method and device for predicting character string Pending JPH09153040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7313303A JPH09153040A (en) 1995-11-30 1995-11-30 Method and device for predicting character string

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7313303A JPH09153040A (en) 1995-11-30 1995-11-30 Method and device for predicting character string

Publications (1)

Publication Number Publication Date
JPH09153040A true JPH09153040A (en) 1997-06-10

Family

ID=18039602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7313303A Pending JPH09153040A (en) 1995-11-30 1995-11-30 Method and device for predicting character string

Country Status (1)

Country Link
JP (1) JPH09153040A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001337893A (en) * 2000-05-26 2001-12-07 Sharp Corp Supporting system for composing e-mail message
JP2010266947A (en) * 2009-05-12 2010-11-25 Ntt Data Corp Device, method, and program for extracting candidate word
JP2011128958A (en) * 2009-12-18 2011-06-30 Chiteki Mirai:Kk Device, method and program for inputting sentence

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001337893A (en) * 2000-05-26 2001-12-07 Sharp Corp Supporting system for composing e-mail message
JP2010266947A (en) * 2009-05-12 2010-11-25 Ntt Data Corp Device, method, and program for extracting candidate word
JP2011128958A (en) * 2009-12-18 2011-06-30 Chiteki Mirai:Kk Device, method and program for inputting sentence

Similar Documents

Publication Publication Date Title
JPH06332953A (en) Data filing device
JPH0512345A (en) Image storage device
JPH09153040A (en) Method and device for predicting character string
JPH05266169A (en) Image processor
JP4909771B2 (en) Information processing apparatus, hierarchical menu display method of the apparatus, and hierarchical menu display program
JPH11212705A (en) Character string prediction device and character string prediction method
JP3498635B2 (en) Information retrieval method and apparatus, and computer-readable recording medium
JP4344207B2 (en) Document search device, document search method, document search program, and recording medium
JPH0969086A (en) Character string predicting method and document preparation device
JP2666731B2 (en) Input device for multiple windows
JPH1173420A (en) Document processor and computer-readable recording medium where document processing program is recorded
JPH0514304B2 (en)
JP3005380B2 (en) Slip transaction data input device and input method
JPH08287077A (en) Device for supporting selection of keyword
JPH0895998A (en) Image retrieving device
JPH09269942A (en) Document generation device and same sound candidate output control method
JPH0696059A (en) Document preparation assisting device
JPH0237471A (en) Information retrieving device
JPH1091493A (en) Method for constructing database
JP2001188776A (en) Kana-kanji conversion system
JPH04369758A (en) Kanji input system for handy terminal
JPH05274368A (en) Image storage device
JPH0525139B2 (en)
JP2001052022A (en) Data totalization and reference type retrieval system
JPH09128406A (en) Device and method for retrieving document