JPH09288666A - Character string prediction method and document preparation device using the character string prediction method - Google Patents

Character string prediction method and document preparation device using the character string prediction method

Info

Publication number
JPH09288666A
JPH09288666A JP8098424A JP9842496A JPH09288666A JP H09288666 A JPH09288666 A JP H09288666A JP 8098424 A JP8098424 A JP 8098424A JP 9842496 A JP9842496 A JP 9842496A JP H09288666 A JPH09288666 A JP H09288666A
Authority
JP
Japan
Prior art keywords
character string
input
prediction
character
unit
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
JP8098424A
Other languages
Japanese (ja)
Inventor
Hiroyuki Oka
弘幸 岡
Yoshio Furuichi
佳男 古市
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 JP8098424A priority Critical patent/JPH09288666A/en
Publication of JPH09288666A publication Critical patent/JPH09288666A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a predicted character string without obstructing the input operation of an inputting person while considering a timing for retrieving the predicted character string or the timing for outputting predicted candidates. SOLUTION: The character string inputted so as prediction object is held in a character string buffer (step 10 and 11). The character numbers of the input character string held in the character string buffer are monitored, and when the character numbers reach the character numbers set beforehand (step 13), the prediction operation of the character string is started, the character strings provided with the character string in a head part are retrieved from a word dictionary as the predicted character strings (step 14) and the retrieved candidates of the predicted character strings are outputted as predicted results (step 15). Thus, output without narrowing the candidates of the predicted character string is evaded and the predicted character string is obtained without obstructing the input operation of the inputting person.

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 subsequent to an input character string based on a character string input by an input device, and a method of using the character string prediction method. Document creation device.

【0002】[0002]

【従来の技術】従来、例えば日本語ワードプロセッサ等
の文書作成装置において、手書き文字認識装置などを用
いて文字列を入力する際には、キーボードからの入力な
どとは異なり、1文字を入力するのに時間がかかるた
め、入力者に対する負担が大きかった。
2. Description of the Related Art Conventionally, in a document creating apparatus such as a Japanese word processor, when inputting a character string using a handwritten character recognition apparatus or the like, one character is input unlike a keyboard input. Since it takes time, the burden on the input person was large.

【0003】そこで、入力者に対する負担を軽くするた
めに、入力しようとしている文字列の一部が入力された
段階で、入力された文字列をもとにその文字列に続く文
字列を予測するという方法が考えられてきた。
Therefore, in order to reduce the burden on the input person, when a part of the character string to be input is input, the character string following the character string is predicted based on the input character string. That method has been considered.

【0004】これは、例えば「漢字辞書」という文字列
の入力では、入力者が「漢字」と入力した段階で、その
「漢字」に続く文字列として「辞書」を予測し、最終的
に「漢字辞書」を出力するものである。
This is because, for example, in inputting a character string "Kanji dictionary", when the input person inputs "Kanji", the "dictionary" is predicted as a character string following the "Kanji", and finally "Kanji". It outputs "Kanji dictionary".

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記し
たような文字列予測方法では、予測するタイミングを考
慮していなかったために、文字を1文字入力する毎に予
測を行うことになり、その結果、予測文字列の候補を絞
れないまま出力してしまう可能性があり、かえって入力
作業を妨げる可能性があった。
However, in the character string prediction method as described above, since the timing of prediction is not taken into consideration, prediction is performed every time one character is input, and as a result, There is a possibility that the predicted character string candidates may be output without being narrowed down, which may hinder the input work.

【0006】また、検索のキーとなる入力文字列の文字
数が少ないと、検索によって多数の文字列を取り出す必
要があるため、その間に入力作業が中断してしまう問題
もあった。
Further, if the number of characters in the input character string that is the key for the search is small, it is necessary to retrieve a large number of character strings by the search, and there is a problem that the input work is interrupted during that time.

【0007】さらに、予測した文字列を出力するタイミ
ングを考慮していなかったために、予測によって得られ
た候補の数が多すぎて、入力者が意図したものを得るた
めの選択作業がかえって負担になる恐れもあった。
Further, since the timing of outputting the predicted character string is not taken into consideration, the number of candidates obtained by the prediction is too large, and the selection work to obtain what the input person intended is rather burdensome. There was a fear of becoming.

【0008】このように、従来の文字列予測方法では、
予測して文字列を検索するタイミング、もしくは出力す
るタイミングを考慮していなかったために、入力作業を
妨げる可能性があった。
Thus, in the conventional character string prediction method,
Since the timing for predicting and searching for a character string or the timing for outputting is not taken into consideration, there is a possibility that input work may be hindered.

【0009】本発明は前記のような事情を考慮してなさ
れたもので、予測した文字列を検索するタイミング、も
しくは、予測候補を出力するタイミングを考慮して、入
力者の入力作業を妨げることなく予測文字列を得ること
のできる文字列予測方法及びこの文字列予測方法を用い
た文書作成装置を提供することを目的とする。
The present invention has been made in consideration of the above circumstances, and prevents the input work of the input person in consideration of the timing of retrieving a predicted character string or the timing of outputting a prediction candidate. It is an object of the present invention to provide a character string prediction method that can obtain a predicted character string without a character and a document creation device that uses this character string prediction method.

【0010】[0010]

【課題を解決するための手段】[Means for Solving the Problems]

(1)本発明は、入力された文字列を先頭部分に持つ文
字列を入力者がこれから入力しようとしている文字列と
して予測する文字列予測方法及びこの文字列予測方法を
用いた文書作成装置において、予測対象として入力され
た文字列を文字列バッファに保持しておき、この文字列
バッファに保持された入力文字列の文字数が所定の文字
数に達したとき、当該文字列の予測動作を開始し、その
文字列を先頭部分に持つ文字列を単語辞書から予測文字
列として検索することにより、その検索された予測文字
列の候補を予測結果として出力するものである。
(1) The present invention relates to a character string prediction method for predicting a character string having an input character string at the beginning as a character string to be input by an input person, and a document creation device using this character string prediction method. , The character string input as the prediction target is held in the character string buffer, and when the number of characters of the input character string held in this character string buffer reaches the predetermined number of characters, the prediction operation of the character string is started. By searching a character string having the character string at the beginning as a predicted character string from the word dictionary, the searched candidate of the predicted character string is output as a prediction result.

【0011】このような構成によれば、予測対象として
入力された文字列の文字数が所定の文字数に達したと
き、当該文字列の予測動作が開始され、その文字列を先
頭部分に持つ文字列が単語辞書から予測文字列として検
索される。該当する文字列が検索されると、その検索さ
れた全ての文字列が取り出され、予測文字列群として出
力される。
With such a configuration, when the number of characters of the character string input as the prediction target reaches a predetermined number of characters, the predicting operation of the character string is started, and the character string having the character string at the head portion is started. Is searched as a predicted character string from the word dictionary. When the corresponding character string is searched, all the searched character strings are extracted and output as a predicted character string group.

【0012】(2)さらに、上記所定の文字数は、前回
予測動作を開始したときの文字数としたことを特徴とす
る。このような構成によれば、予測対象として入力され
た文字列の文字数が前回予測動作を開始したときの文字
数に達したとき、当該文字列の予測動作が開始され、そ
の文字列を先頭部分に持つ文字列が単語辞書から予測文
字列として検索される。該当する文字列が検索される
と、その検索された全ての文字列が取り出され、予測文
字列群として出力される。
(2) Further, the predetermined number of characters is characterized in that it is the number of characters when the prediction operation was started last time. According to such a configuration, when the number of characters of the character string input as the prediction target reaches the number of characters at the time of starting the prediction operation last time, the prediction operation of the character string is started, and the character string is set to the head part. The possessed character string is searched as a predicted character string from the word dictionary. When the corresponding character string is searched, all the searched character strings are extracted and output as a predicted character string group.

【0013】(3)本発明は、入力された文字列を先頭
部分に持つ文字列を入力者がこれから入力しようとして
いる文字列として予測する文字列予測方法及びこの文字
列予測方法を用いた文書作成装置において、予測対象と
して入力された文字列を文字列バッファに保持してお
き、この文字列バッファ内に最初の文字が保持されてか
らの時間を計測し、その計測時間が所定の時間に達した
とき、当該文字列の予測動作を開始し、その文字列を先
頭部分に持つ文字列を単語辞書から予測文字列として検
索することにより、その検索された予測文字列の候補を
予測結果として出力するものである。
(3) According to the present invention, a character string prediction method for predicting a character string having an input character string at the beginning as a character string to be input by an input person, and a document using this character string prediction method In the creation device, the character string input as the prediction target is held in the character string buffer, the time after the first character is held in this character string buffer is measured, and the measured time is set to a predetermined time. When it reaches, the prediction operation of the character string is started, and a character string having the character string at the beginning is searched as a predicted character string from the word dictionary, and the candidate of the searched predicted character string is set as the prediction result. It is what is output.

【0014】このような構成によれば、予測対象として
入力された文字列の1文字目が文字列バッファに保持さ
れてからの時間が所定の時間に達したとき、当該文字列
の予測動作が開始され、その文字列を先頭部分に持つ文
字列が単語辞書から予測文字列として検索される。該当
する文字列が検索されると、その検索された全ての文字
列が取り出され、予測文字列群として出力される。
With such a configuration, when the time after the first character of the character string input as the prediction target is held in the character string buffer reaches a predetermined time, the prediction operation of the character string is performed. Starting, a character string having the character string at the beginning is searched as a predicted character string from the word dictionary. When the corresponding character string is searched, all the searched character strings are extracted and output as a predicted character string group.

【0015】(4)さらに、上記所定の文字数は、前回
予測動作を開始したときの文字数としたことを特徴とす
る。このような構成によれば、予測対象として入力され
た文字列の1文字目が文字列バッファに保持されてから
の時間が前回予測動作を開始したときの時間に達したと
き、当該文字列の予測動作が開始され、その文字列を先
頭部分に持つ文字列が単語辞書から予測文字列として検
索される。該当する文字列が検索されると、その検索さ
れた全ての文字列が取り出され、予測文字列群として出
力される。
(4) Further, the predetermined number of characters is characterized in that it is the number of characters when the prediction operation was started last time. With such a configuration, when the time after the first character of the character string input as the prediction target is held in the character string buffer reaches the time when the prediction operation is started last time, The prediction operation is started, and a character string having the character string at the beginning is searched as a predicted character string from the word dictionary. When the corresponding character string is searched, all the searched character strings are extracted and output as a predicted character string group.

【0016】(5)本発明は、入力された文字列を先頭
部分に持つ文字列を入力者がこれから入力しようとして
いる文字列として予測する文字列予測方法及びこの文字
列予測方法を用いた文書作成装置において、予測対象と
して入力された文字列の各文字を文字列バッファに保持
する毎に、当該文字列の予測動作を開始し、その文字列
を先頭部分に持つ文字列を単語辞書から予測文字列とし
て検索し、その検索された予測文字列の候補数が所定値
以下になったときに、その予測文字列の候補を予測結果
として出力するものである。
(5) According to the present invention, a character string prediction method for predicting a character string having an input character string at the beginning as a character string to be input by an input person, and a document using this character string prediction method In the creation device, every time each character of the character string input as the prediction target is held in the character string buffer, the prediction operation of the character string is started, and the character string having the character string at the beginning is predicted from the word dictionary. The search is performed as a character string, and when the number of candidates of the retrieved predicted character string becomes equal to or less than a predetermined value, the candidate of the predicted character string is output as a prediction result.

【0017】このような構成によれば、予測対象として
入力された文字列の各文字が文字列バッファに保持され
る毎に、当該文字列の予測動作が開始され、その文字列
を先頭部分に持つ文字列が単語辞書から予測文字列とし
て検索されたときの候補数が所定値以下になったとき
に、その予測文字列の候補が予測結果として出力され
る。
With such a configuration, every time each character of the character string input as the prediction target is held in the character string buffer, the prediction operation of the character string is started, and the character string is set to the head portion. When the number of candidates when the possessed character string is searched as a predicted character string from the word dictionary becomes equal to or less than a predetermined value, the predicted character string candidate is output as the prediction result.

【0018】[0018]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。 (第1の実施形態)図1は本発明の第1の実施形態に係
る文書作成装置の構成を示すブロック図である。本装置
は、文字列入力部11、文字列バッファ12、予測開始
部13、文字列検索部14、単語辞書15、出力部1
6、表示部17から構成される。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a block diagram showing the arrangement of a document creation apparatus according to the first embodiment of the present invention. This apparatus includes a character string input unit 11, a character string buffer 12, a prediction start unit 13, a character string search unit 14, a word dictionary 15, and an output unit 1.
6 and a display unit 17.

【0019】文字列入力部11は予測対象となる文字列
を入力するためのものであり、本実施形態では手書き入
力方式を想定し、タブレット111、認識部112、認
識辞書113から構成される。
The character string input unit 11 is for inputting a character string to be predicted, and in the present embodiment, a handwriting input method is assumed and is composed of a tablet 111, a recognition unit 112, and a recognition dictionary 113.

【0020】タブレット111は、文字列を手書き入力
するための入力装置である。このタブレット111は、
手書き入力用のペンを使用し、そのペンの筆記操作にて
文字列の手書き入力を行う。
The tablet 111 is an input device for handwriting input of a character string. This tablet 111
A pen for handwriting input is used, and handwriting input of a character string is performed by the writing operation of the pen.

【0021】認識部112は、タブレット111を通じ
て手書き入力された文字列を文字認識する。この文字認
識によって得られた文字列(認識結果)は文字列バッフ
ァ12に一時的に格納された後、入力者がその文字列を
確定したときにクリアされる。
The recognition unit 112 character-recognizes a character string handwritten through the tablet 111. The character string (recognition result) obtained by this character recognition is temporarily stored in the character string buffer 12 and then cleared when the input person confirms the character string.

【0022】認識辞書113は、認識部112で用いら
れる辞書であり、文字を構成する各ストロークの情報な
ど、文字認識処理に必要な各種の情報を記憶している。
また、文字列バッファ12は、確定前の文字列を一時的
に保存しておくために使用される。予測開始部13は、
所定の条件により予測動作の起動を行うものであり、本
実施形態では予測動作起動部131と設定文字数記憶部
132から構成される。
The recognition dictionary 113 is a dictionary used in the recognition unit 112, and stores various kinds of information necessary for character recognition processing, such as information on each stroke forming a character.
Further, the character string buffer 12 is used to temporarily store the character string before being determined. The prediction starting unit 13
The prediction operation is activated under a predetermined condition, and in the present embodiment, the prediction operation activation unit 131 and the set character number storage unit 132 are included.

【0023】予測動作起動部131は、文字列バッファ
12を監視し、その文字列バッファ12内の入力文字列
の文字数が設定文字数記憶部132で定められている文
字数に達したときに、予測動作の開始を文字列検索部1
4に指示する。
The predictive operation starting unit 131 monitors the character string buffer 12, and when the number of characters of the input character string in the character string buffer 12 reaches the number of characters defined in the set character number storage unit 132, the predictive operation is performed. Is the start of the string search section 1
Instruct 4

【0024】設定文字数記憶部132は、予測動作を開
始するときの条件として、予め設定された文字数を記憶
している。文字列検索部14は、入力文字列を先頭部分
に持つ文字列を単語辞書15から検索し、検索に成功し
た場合にはその文字列を予測文字列の候補として出力部
16に知らせる。単語辞書15は、予測処理に用いられ
る辞書であり、各種の単語を漢字とひらがなの両方の表
記で記憶している。
The set character number storage unit 132 stores a preset number of characters as a condition for starting the prediction operation. The character string search unit 14 searches the word dictionary 15 for a character string having the input character string at the beginning, and when the search is successful, notifies the output unit 16 of the character string as a candidate for the predicted character string. The word dictionary 15 is a dictionary used for prediction processing, and stores various words in both Kanji and Hiragana notation.

【0025】出力部16は、文字列検索部14によって
検索された予測文字列の候補を表示部17に出力する。
表示部17は、例えばLCD (Liquid Crystal Displa
y) やCRT (Cathode Ray Tube) 等の表示装置からな
り、出力部16から受け取った予測文字列の候補を入力
者に提示する。
The output unit 16 outputs the predicted character string candidates retrieved by the character string retrieval unit 14 to the display unit 17.
The display unit 17 is, for example, an LCD (Liquid Crystal Displa).
y), a CRT (Cathode Ray Tube), or other display device, and presents the predictor character string candidates received from the output unit 16 to the input person.

【0026】次に、第1の実施形態の動作を説明する。
図2は第1の実施形態における予測処理の動作を示すフ
ローチャートである。まず、入力者が文字列入力部11
によって文字列を入力する(ステップ10)。この場
合、第2の実施形態では、文字列入力部11はタブレッ
ト111、認識部112、認識辞書113からなり、入
力者によって手書き入力された文字列を文字認識した結
果を入力文字列としている。
Next, the operation of the first embodiment will be described.
FIG. 2 is a flow chart showing the operation of the prediction process in the first embodiment. First, the input person is the character string input unit 11
The character string is input by (step 10). In this case, in the second embodiment, the character string input unit 11 includes the tablet 111, the recognition unit 112, and the recognition dictionary 113, and the character recognition result of the character string handwritten by the input person is used as the input character string.

【0027】この入力文字列(認識結果)は予測文字列
検索のキーとして使われるために、文字列バッファ12
に一時的に格納される(ステップ11)。なお、この文
字列バッファ12に格納された入力文字列(認識結果)
は出力部16を通じて表示部17に表示される。
Since this input character string (recognition result) is used as a key for predictive character string retrieval, the character string buffer 12
Is temporarily stored in (step 11). The input character string stored in the character string buffer 12 (recognition result)
Is displayed on the display unit 17 through the output unit 16.

【0028】ここで、予測動作起動部131は、文字列
バッファ12に保持されている入力文字列の文字数を監
視していて、その文字数と設定文字数記憶部132に記
憶された文字数との比較を行う。その結果、入力文字数
が設定文字数に達したときには予測文字列の検索を文字
列検索部14に要求する(ステップ12)。
The predictive operation starting unit 131 monitors the number of characters of the input character string held in the character string buffer 12, and compares the number of characters with the number of characters stored in the set character number storage unit 132. To do. As a result, when the number of input characters reaches the set number of characters, the character string search unit 14 is requested to search for the predicted character string (step 12).

【0029】これにより、文字列検索部14は単語辞書
15を用いて予測処理を実行する。具体的には、文字列
検索部14は予測動作起動部131から受け取った文字
列を単語辞書15の中から検索し、検索に成功した場合
にその文字列を取り出し、出力部16に渡す(ステップ
13)。
As a result, the character string search unit 14 uses the word dictionary 15 to execute the prediction process. Specifically, the character string search unit 14 searches the word dictionary 15 for the character string received from the predictive operation starting unit 131, extracts the character string when the search is successful, and passes it to the output unit 16 (step 13).

【0030】出力部16は、文字列検索部14から渡さ
れた文字列を予測結果として表示部17に渡す(ステッ
プ14)。表示部17では、表示するように要求された
文字列群を画面に表示する(ステップ15)。
The output unit 16 passes the character string passed from the character string search unit 14 to the display unit 17 as a prediction result (step 14). The display unit 17 displays the character string group requested to be displayed on the screen (step 15).

【0031】次に、具体例を挙げて説明する。例えば
「かんじじしょ」といった文字列を入力しようとしてい
る入力者がその文字列を構成する各文字を順に入力して
いる時の処理を具体例として示す。ただし、このときの
設定文字数記憶部132の値は「4」に設定されている
ものとする。また、単語辞書15には「かいしゃ」,
「かんじじしょ」,「かんそうぶん」,「かんらんし
ゃ」,「かんじょう」が登録されているものとする。
Next, a specific example will be described. For example, a process when an input person who is trying to input a character string such as “Kanjijisho” is sequentially inputting each character forming the character string will be described as a specific example. However, the value of the set character number storage unit 132 at this time is assumed to be set to "4". In addition, the word dictionary 15 includes "kaisha",
It is assumed that "Kanjiji", "Kansobun", "Kanransha", and "Kanjo" are registered.

【0032】文字列入力部11は、まず、入力者の
「か」という文字(認識文字)の入力を受け付ける。入
力された文字は予測文字列検索のキーとして使われるた
めに、文字列バッファ12に一時的に保存される。
The character string input unit 11 first receives the input of a character (recognition character) "ka" by the input person. The input character is temporarily stored in the character string buffer 12 because it is used as a key for predictive character string retrieval.

【0033】ここで、予測開始部13の予測動作起動部
131は、文字列バッファ12を監視していて設定文字
数記憶部132の値との比較を行うが、この時点では、
まだ入力されたのが1文字なので何も処理を行わない。
Here, the prediction operation starting unit 131 of the prediction starting unit 13 monitors the character string buffer 12 and compares it with the value of the set character number storage unit 132. At this point,
Nothing is done because only one character has been entered.

【0034】以後、同様に文字列入力部11が「ん」、
「じ」、「じ」の文字の入力を順に受け付ける。予測動
作起動部131は、文字列バッファ12に「かんじじ」
までの4文字の文字列が保存されているのを確認する
と、設定文字数記憶部132に値「4」に達したと判断
して予測動作を開始する。具体的には、文字列バッファ
12に保持されている入力文字列を文字列検索部14に
渡し、予測文字列の検索を要求する。
Thereafter, similarly, the character string input unit 11 displays "n",
The input of the characters "ji" and "ji" is accepted in order. The predictive operation starting unit 131 stores “Kanjiji” in the character string buffer 12.
When it is confirmed that the character strings of up to 4 characters are stored, it is determined that the set character number storage unit 132 has reached the value "4", and the prediction operation is started. Specifically, the input character string held in the character string buffer 12 is passed to the character string search unit 14, and a search for a predicted character string is requested.

【0035】文字列検索部14では、「かんじじ」で始
まる文字列を単語辞書15から検索する。この場合、
「かんじじしょ」がそれに該当する。出力部16は、こ
の「かんじじしょ」を文字列検索部14から受け取り、
これを予測結果として表示部17に渡す。表示部17は
この「かんじじしょ」を画面に表示して、ここでの処理
を終える。
The character string search unit 14 searches the word dictionary 15 for a character string starting with "Kanji". in this case,
"Kanjijisho" corresponds to that. The output unit 16 receives this “Kanjijisho” from the character string search unit 14,
This is passed to the display unit 17 as the prediction result. The display unit 17 displays the "Kanjijisho" on the screen and finishes the processing here.

【0036】以上のように、予測動作を開始する文字数
を設定しておき、入力文字数がその設定文字数に達した
時点で予測動作を開始するようにしたため、単語辞書1
5には「かんじじしょ」以外の単語が多数登録されてい
たにも関わらず、目的の「かんじじしょ」だけを予測文
字列として得ることができる。
As described above, since the number of characters for starting the predictive operation is set and the predictive operation is started when the number of input characters reaches the set number of characters, the word dictionary 1
Although a large number of words other than "Kanjijisho" are registered in 5, only the target "Kanjijisho" can be obtained as a predicted character string.

【0037】なお、設定文字数記憶部132に記憶され
る値(設定文字数)は文字列の予測を効率良く行うため
に実験的に求められた値であり、例えば3〜4文字程度
である。これは、通常1回で5文字程度の文字列を入力
することが多いので、これ以上(3〜4文字以上)であ
ると入力者が文字列全てを入力してしまう可能性がある
ので意味がなくなり、また、これ以下であると予測文字
列の候補が多数出現する可能性があるためである。
The value stored in the set character number storage unit 132 (set character number) is an experimentally obtained value for efficiently predicting a character string, and is, for example, about 3 to 4 characters. This is because a character string of about 5 characters is usually input at one time, so if it is longer than this (3 to 4 characters or more), the input person may input the entire character string. This is because there is a possibility that a large number of predicted character string candidates will appear if the number is less than this.

【0038】(第2の実施形態)次に、本発明の第2の
実施形態を説明する。図3は本発明の第2の実施形態に
係る文書作成装置の構成を示すブロック図である。本装
置は、文字列入力部21、文字列バッファ22、予測開
始部23、文字列検索部24、単語辞書25、出力部2
6、表示部27から構成される。
(Second Embodiment) Next, a second embodiment of the present invention will be described. FIG. 3 is a block diagram showing the configuration of the document creation device according to the second embodiment of the present invention. This device includes a character string input unit 21, a character string buffer 22, a prediction start unit 23, a character string search unit 24, a word dictionary 25, and an output unit 2.
6 and the display unit 27.

【0039】文字列入力部21は予測対象となる文字列
を入力するためのものであり、本実施形態では手書き入
力方式を想定し、タブレット211、認識部212、認
識辞書213から構成される。
The character string input unit 21 is for inputting a character string to be predicted, and in the present embodiment, a handwriting input method is assumed and is composed of a tablet 211, a recognition unit 212, and a recognition dictionary 213.

【0040】タブレット211は、文字列を手書き入力
するための入力装置である。このタブレット211は、
手書き入力用のペンを使用し、そのペンの筆記操作にて
文字列の手書き入力を行う。ここでは予測動作の開始を
指示するための予測ボタン211aが設けられている。
The tablet 211 is an input device for handwriting input of a character string. This tablet 211 is
A pen for handwriting input is used, and handwriting input of a character string is performed by the writing operation of the pen. Here, a prediction button 211a for instructing the start of the prediction operation is provided.

【0041】認識部212は、タブレット211を通じ
て手書き入力された文字列を文字認識する。この文字認
識によって得られた文字列(認識結果)は文字列バッフ
ァ22に一時的に格納された後、入力者がその文字列を
確定したときにクリアされる。ただし、予測ボタン21
1aの押下により予測動作の開始が指示された場合に
は、認識部212は文字列バッファ22に格納された文
字列を取り出し、これを予測対象文字列として文字列変
換部23に渡す。
The recognition unit 212 character-recognizes the character string input by handwriting through the tablet 211. The character string (recognition result) obtained by this character recognition is temporarily stored in the character string buffer 22 and then cleared when the input person confirms the character string. However, the prediction button 21
When the start of the prediction operation is instructed by pressing 1a, the recognition unit 212 extracts the character string stored in the character string buffer 22 and passes this to the character string conversion unit 23 as the prediction target character string.

【0042】認識辞書213は、認識部212で用いら
れる辞書であり、文字を構成する各ストロークの情報な
ど、文字認識処理に必要な各種の情報を記憶している。
また、文字列バッファ22は、確定前の文字列を一時的
に保存しておくために使用される。予測開始部23は、
所定の条件により予測動作の起動を行うものであり、本
実施形態では予測動作起動部231と前回入力文字数記
憶部232から構成される。
The recognition dictionary 213 is a dictionary used in the recognition unit 212, and stores various kinds of information necessary for character recognition processing, such as information on each stroke forming a character.
Further, the character string buffer 22 is used to temporarily store the character string before being determined. The prediction starting unit 23
The prediction operation is activated under a predetermined condition, and in the present embodiment, the prediction operation activation unit 231 and the previous input character number storage unit 232.

【0043】予測動作起動部231は、予測ボタン21
1aの押下による入力者の予測開始指示により予測動作
の開始を文字列検索部24に要求する。また、このとき
文字列バッファ22に保持されていた入力文字列の文字
数を前回入力文字数記憶部232に格納し、次回の予測
動作を開始するときの条件とする。すなわち、文字列バ
ッファ22を監視し、その文字列バッファ22内の入力
文字列の文字数が前回入力文字数記憶部232で定めら
れている文字数に達したときに、予測動作の開始を文字
列検索部24に指示する。
The predictive operation starting section 231 uses the predictive button 21.
The character string search unit 24 is requested to start the prediction operation by the prediction start instruction of the input person by pressing 1a. In addition, the number of characters of the input character string held in the character string buffer 22 at this time is stored in the previous input character number storage unit 232, which is used as a condition for starting the next prediction operation. That is, the character string buffer 22 is monitored, and when the number of characters of the input character string in the character string buffer 22 reaches the number of characters previously determined by the input character number storage unit 232, the start of the prediction operation is determined by the character string search unit. Instruct 24.

【0044】前回入力文字数記憶部232は、予測動作
を開始するときの条件として、前回予測動作を行ったと
きの文字数を記憶している。文字列検索部24は、入力
文字列を先頭部分に持つ文字列を単語辞書25から検索
し、検索に成功した場合にはその文字列を予測文字列の
候補として出力部26に知らせる。単語辞書25は、予
測処理に用いられる辞書であり、各種の単語を漢字とひ
らがなの両方の表記で記憶している。
The previous input character number storage section 232 stores the number of characters when the previous predictive operation was performed as a condition for starting the predictive operation. The character string search unit 24 searches the word dictionary 25 for a character string having the input character string at the beginning, and when the search is successful, notifies the output unit 26 of the character string as a candidate for the predicted character string. The word dictionary 25 is a dictionary used for prediction processing, and stores various words in both Kanji and Hiragana notation.

【0045】出力部26は、文字列検索部24によって
検索された予測文字列の候補を表示部27に出力する。
表示部27は、例えばLCD (Liquid Crystal Displa
y) やCRT (Cathode Ray Tube) 等の表示装置からな
り、出力部26から受け取った予測文字列の候補を入力
者に提示する。
The output unit 26 outputs the predicted character string candidates retrieved by the character string retrieval unit 24 to the display unit 27.
The display unit 27 is, for example, an LCD (Liquid Crystal Displa).
y) or a CRT (Cathode Ray Tube) or the like, and presents the predictive character string candidates received from the output unit 26 to the input person.

【0046】次に、第2の実施形態の動作を説明する。
図4は第2の実施形態における予測処理の動作を示すフ
ローチャートである。まず、入力者が文字列入力部21
によって文字列を入力する(ステップ20)。この場
合、第2の実施形態では、文字列入力部21はタブレッ
ト211、認識部212、認識辞書213からなり、入
力者によって手書き入力された文字列を文字認識した結
果を入力文字列としている。
Next, the operation of the second embodiment will be described.
FIG. 4 is a flowchart showing the operation of the prediction process in the second embodiment. First, the input person inputs the character string input unit 21.
The character string is input by (step 20). In this case, in the second embodiment, the character string input unit 21 includes the tablet 211, the recognition unit 212, and the recognition dictionary 213, and the character recognition result of the character string handwritten by the input person is used as the input character string.

【0047】この入力文字列(認識結果)は予測文字列
検索のキーとして使われるために、文字列バッファ22
に一時的に保存される(ステップ21)。なお、この文
字列バッファ22に格納された入力文字列(認識結果)
は出力部26を通じて表示部27に表示される。
Since this input character string (recognition result) is used as a key for predictive character string retrieval, the character string buffer 22
Is temporarily stored in (step 21). The input character string stored in this character string buffer 22 (recognition result)
Is displayed on the display unit 27 through the output unit 26.

【0048】ここで、予測ボタン211aの押下により
入力者によって予測動作の開始が合図された場合には
(ステップ22のYes)、予測動作起動部231はそ
のとき文字列バッファ22に保持されている入力文字列
の文字数を前回入力文字数記憶部232に格納した後
(ステップ23)、その入力文字列を文字列検索部24
に渡して予測動作を開始する。
Here, when the predictor starts the predictive operation by pressing the predictive button 211a (Yes in step 22), the predictive operation starting unit 231 is held in the character string buffer 22 at that time. After the number of characters of the input character string is stored in the input character number storage unit 232 last time (step 23), the input character string is searched for in the character string search unit 24.
To start the prediction operation.

【0049】一方、入力者の指示がなく、前回入力文字
数記憶部232に前回の文字数が保持されている場合に
は(ステップ22のNo)、予測動作起動部231は文
字列バッファ22の文字数と前回入力文字数記憶部23
2の文字数とを比較することにより、入力文字列の文字
数が前回文字数と同じになったときに(ステップ24の
Yes)、予測動作の開始を指示する。
On the other hand, if there is no instruction from the input person and the previous number of characters is stored in the previous input character number storage unit 232 (No in step 22), the predictive operation starting unit 231 determines that the number of characters in the character string buffer 22 is Last input character count storage unit 23
By comparing the number of characters of 2 with the number of characters of the input character string when the number of characters of the input character string becomes the same as the previous number of characters (Yes in step 24), the start of the prediction operation is instructed.

【0050】これにより、文字列検索部24は単語辞書
25を用いて予測処理を実行する。具体的には、文字列
検索部24は予測動作起動部231から受け取った文字
列を単語辞書25の中から検索し、検索に成功した場合
にその文字列を取り出し、出力部26に渡す(ステップ
25)。
As a result, the character string search unit 24 uses the word dictionary 25 to execute the prediction process. Specifically, the character string search unit 24 searches the word dictionary 25 for the character string received from the prediction operation starting unit 231, retrieves the character string when the search is successful, and passes it to the output unit 26 (step 25).

【0051】出力部26は、文字列検索部24から渡さ
れた文字列を予測結果として表示部27に渡す(ステッ
プ26)。表示部27では、表示するように要求された
文字列群を画面に表示する(ステップ27)。
The output unit 26 transfers the character string passed from the character string search unit 24 to the display unit 27 as a prediction result (step 26). The display unit 27 displays the character string group requested to be displayed on the screen (step 27).

【0052】次に、具体例を挙げて説明する。例えば
「かいしゃ」と「かんじじしょ」といった文字列を入力
しようとしている入力者がその文字列を構成する各文字
を順に入力している時の処理を具体例として示す。ただ
し、このときの前回入力文字数記憶部232には前回文
字数が格納されていないものとする。また、単語辞書2
5には「かいしゃ」,「かんじじしょ」,「かんそうぶ
ん」,「かんらんしゃ」,「かんじょう」が登録されて
いるとする。
Next, a specific example will be described. For example, a process when an inputting person who is trying to input a character string such as "Kaisha" and "Kanjijisho" is sequentially inputting each character constituting the character string will be shown. However, it is assumed that the previous input character number storage unit 232 does not store the previous character number. Also, the word dictionary 2
It is assumed that 5 is registered with "kaisha", "kanjisho", "kansobun", "kanransha", and "kanjo".

【0053】文字列入力部21は、まず、入力者の
「か」、「い」、「し」という文字(認識文字)の入力
を受け付ける。入力された文字は予測文字列検索のキー
として使われるために、文字列バッファ22に一時的に
保存される。
The character string input section 21 first receives input of characters (recognition characters) "ka", "i", and "shi" by the input person. The input character is temporarily stored in the character string buffer 22 because it is used as a key for predictive character string retrieval.

【0054】この時点で、入力者が予測ボタン211a
を押下して予測動作の開始を合図したとすると、予測動
作起動部231は文字列バッファ22に保持されている
入力文字列「かいし」を文字列検索部24に渡し、予測
動作の開始を要求する。また、このとき「かいし」の文
字数である「3」を前回入力文字数記憶部232に格納
する。
At this point in time, the input person makes a prediction button 211a.
If the user presses to signal the start of the predictive operation, the predictive operation starting unit 231 passes the input character string “Kaishi” held in the character string buffer 22 to the character string search unit 24 to start the predictive operation. Request. Further, at this time, "3", which is the number of characters of "Kaishi", is stored in the previously input number-of-characters storage unit 232.

【0055】文字列検索部24では、「かいし」で始ま
る文字列を単語辞書25から検索する。この場合、「か
いしゃ」がそれに該当する。出力部26は、この「かい
しゃ」を文字列検索部24から受け取り、これを予測結
果として表示部27に渡す。表示部27はこの「かいし
ゃ」を画面に表示して、ここでの処理を終える。
The character string search unit 24 searches the word dictionary 25 for a character string starting with "Kaishi". In this case, "kaisha" corresponds to that. The output unit 26 receives this “kaisha” from the character string search unit 24 and passes it to the display unit 27 as a prediction result. The display unit 27 displays this "kaisha" on the screen and finishes the processing here.

【0056】次に、入力者は「かんじじしょ」といった
文字列を入力しようとして、文字列入力部21から
「か」を入力する。文字列入力部21では、「か」の入
力を受け付け、「か」を文字列バッファ22に保存す
る。
Next, the input person inputs "ka" from the character string input section 21 in order to input a character string such as "Kanjijisho". The character string input unit 21 accepts the input of “ka” and stores the “ka” in the character string buffer 22.

【0057】以後、同様に文字列入力部21が「ん」、
「じ」の文字の入力を順に受け付ける。予測動作起動部
231は、文字列バッファ22を監視していて前回入力
文字数記憶部232の値との比較を行い、前回保持して
おいた文字数である「3」に達したことを判断して予測
動作を開始する。具体的には、文字列バッファ22に保
持されている入力文字列を文字列検索部24に渡し、予
測文字列の検索を要求する。
Thereafter, similarly, the character string input section 21 displays "n",
The input of the character "ji" is accepted in order. The predictive operation starting unit 231 monitors the character string buffer 22 and compares it with the value of the previous input character number storage unit 232, and determines that the number of previously held characters “3” has been reached. Start the prediction operation. Specifically, the input character string held in the character string buffer 22 is passed to the character string search unit 24, and a search for the predicted character string is requested.

【0058】文字列検索部24では、「かんじ」で始ま
る文字列を単語辞書25から検索する。この場合、「か
んじじしょ」がそれに該当する。出力部26は、この
「かんじじしょ」を文字列検索部24から受け取り、こ
れを予測結果として表示部27に渡す。表示部27はこ
の「かんじじしょ」を画面に表示して、ここでの処理を
終える。
The character string search unit 24 searches the word dictionary 25 for a character string starting with "Kanji". In this case, "Kanjijisho" corresponds to that. The output unit 26 receives this “Kanjijisho” from the character string search unit 24 and passes it to the display unit 27 as a prediction result. The display unit 27 displays this "Kanjijisho" on the screen and finishes the processing here.

【0059】以上のように、予測動作を開始する文字数
を入力者が任意に定義できるため、入力者が予測を頻繁
に利用する文字数を条件にして、予測動作を開始するこ
とができる。
As described above, the number of characters for starting the prediction operation can be arbitrarily defined by the input person, so that the prediction operation can be started on the condition that the number of characters for which the input person frequently uses the prediction is set.

【0060】(第3の実施形態)次に、本発明の第3の
実施形態を説明する。図5は本発明の第3の実施形態に
係る文書作成装置の構成を示すブロック図である。本装
置は、文字列入力部31、文字列バッファ32、予測開
始部33、文字列検索部34、単語辞書35、出力部3
6、表示部37から構成される。
(Third Embodiment) Next, a third embodiment of the present invention will be described. FIG. 5 is a block diagram showing the arrangement of a document creation device according to the third embodiment of the present invention. This device includes a character string input unit 31, a character string buffer 32, a prediction start unit 33, a character string search unit 34, a word dictionary 35, and an output unit 3.
6 and a display unit 37.

【0061】文字列入力部31は予測対象となる文字列
を入力するためのものであり、本実施形態では手書き入
力方式を想定し、タブレット311、認識部312、認
識辞書313から構成される。
The character string input unit 31 is for inputting a character string to be predicted, and in the present embodiment, a handwriting input method is assumed and is composed of a tablet 311, a recognition unit 312, and a recognition dictionary 313.

【0062】タブレット311は、文字列を手書き入力
するための入力装置である。このタブレット311は、
手書き入力用のペンを使用し、そのペンの筆記操作にて
文字列の手書き入力を行う。
The tablet 311 is an input device for handwriting input of a character string. This tablet 311
A pen for handwriting input is used, and handwriting input of a character string is performed by the writing operation of the pen.

【0063】認識部312は、タブレット311を通じ
て手書き入力された文字列を文字認識する。この文字認
識によって得られた文字列(認識結果)は文字列バッフ
ァ32に一時的に格納された後、入力者がその文字列を
確定したときにクリアされる。
The recognition unit 312 character-recognizes the character string input by handwriting through the tablet 311. The character string (recognition result) obtained by this character recognition is temporarily stored in the character string buffer 32, and then cleared when the input person confirms the character string.

【0064】認識辞書313は、認識部312で用いら
れる辞書であり、文字を構成する各ストロークの情報な
ど、文字認識処理に必要な各種の情報を記憶している。
また、文字列バッファ32は、確定前の文字列を一時的
に保存しておくために使用される。予測開始部33は、
所定の条件により予測動作の起動を行うものであり、本
実施形態では予測動作起動部331、設定時間記憶部3
32、入力時間計測部333から構成される。
The recognition dictionary 313 is a dictionary used in the recognition unit 312, and stores various kinds of information necessary for character recognition processing, such as information on each stroke forming a character.
Further, the character string buffer 32 is used to temporarily store the character string before being determined. The prediction start unit 33
The prediction operation is activated under a predetermined condition. In this embodiment, the prediction operation activation unit 331 and the set time storage unit 3 are performed.
32 and an input time measuring unit 333.

【0065】予測動作起動部331は、文字列バッファ
32を監視していて文字列バッファ32に文字が入った
時点で入力時間計測部333に計測の開始を知らせる。
また、入力時間計測部333によって計測される時間が
設定時間記憶部332に記憶された時間に達すると、そ
の時点で文字列バッファ32に保持されている文字列を
取り出して文字列検索部34に渡し、予測動作を開始す
る。
The predictive operation starting unit 331 monitors the character string buffer 32, and notifies the input time measuring unit 333 of the start of measurement when a character enters the character string buffer 32.
Further, when the time measured by the input time measuring unit 333 reaches the time stored in the set time storage unit 332, the character string held in the character string buffer 32 at that time is taken out to the character string search unit 34. Hand over and start the prediction operation.

【0066】設定時間記憶部332は、予測動作を開始
するときの条件として、予め設定された時間を記憶して
いる。入力時間計測部333は、予測動作起動部331
から時間の計測を知らさられた時点で時間の計測を始
め、その結果を逐次入力時間計測部333に知らせる。
The set time storage unit 332 stores a preset time as a condition for starting the prediction operation. The input time measuring unit 333 has a predictive operation starting unit 331.
When the measurement of time is known, the measurement of time is started and the result is sequentially notified to the input time measuring unit 333.

【0067】文字列検索部34は、入力文字列を先頭部
分に持つ文字列を単語辞書35から検索し、検索に成功
した場合にはその文字列を予測文字列の候補として出力
部36に知らせる。単語辞書35は、予測処理に用いら
れる辞書であり、各種の単語を漢字とひらがなの両方の
表記で記憶している。
The character string search unit 34 searches the word dictionary 35 for a character string having the input character string at the beginning, and if the search is successful, informs the output unit 36 of the character string as a predicted character string candidate. . The word dictionary 35 is a dictionary used for prediction processing, and stores various words in both Kanji and hiragana notation.

【0068】出力部36は、文字列検索部34によって
検索された予測文字列の候補を表示部37に出力する。
表示部37は、例えばLCD (Liquid Crystal Displa
y) やCRT (Cathode Ray Tube) 等の表示装置からな
り、出力部36から受け取った予測文字列の候補を入力
者に提示する。
The output unit 36 outputs the predicted character string candidates retrieved by the character string retrieval unit 34 to the display unit 37.
The display unit 37 is, for example, an LCD (Liquid Crystal Displa).
y) or a CRT (Cathode Ray Tube) or the like, and presents the predictive character string candidates received from the output unit 36 to the input person.

【0069】次に、第3の実施形態の動作を説明する。
図4は第3の実施形態における予測処理の動作を示すフ
ローチャートである。まず、入力者が文字列入力部31
によって文字列を入力する(ステップ30)。この場
合、第3の実施形態では、文字列入力部31はタブレッ
ト311、認識部312、認識辞書313からなり、入
力者によって手書き入力された文字列を文字認識した結
果を入力文字列としている。
Next, the operation of the third embodiment will be described.
FIG. 4 is a flowchart showing the operation of the prediction process in the third embodiment. First, the input person is the character string input unit 31.
The character string is input by (step 30). In this case, in the third embodiment, the character string input unit 31 includes a tablet 311, a recognition unit 312, and a recognition dictionary 313, and the character recognition result of the character string handwritten by the input person is used as the input character string.

【0070】この入力文字列(認識結果)は予測文字列
検索のキーとして使われるために、文字列バッファ32
に一時的に保存される(ステップ31)。なお、この文
字列バッファ32に格納された入力文字列(認識結果)
は出力部36を通じて表示部37に表示される。
Since this input character string (recognition result) is used as a key for predictive character string retrieval, the character string buffer 32
Is temporarily stored in (step 31). The input character string stored in the character string buffer 32 (recognition result)
Is displayed on the display unit 37 through the output unit 36.

【0071】ここで、予測動作起動部331は文字列バ
ッファ32に1文字目が入力された時点で入力時間の計
測を入力時間計測部333に要求する(ステップ32,
33)。
Here, the predictive operation starting unit 331 requests the input time measuring unit 333 to measure the input time when the first character is input to the character string buffer 32 (step 32,
33).

【0072】この入力時間計測部333によって計測さ
れる時間が設定時間記憶部332に記憶された時間に達
すると(ステップ34のYes)、予測動作起動部33
1はその時点で文字列バッファ32に保持されている入
力文字列を文字列検索部34に渡し、予測文字列の検索
を文字列検索部34に要求する。
When the time measured by the input time measuring unit 333 reaches the time stored in the set time storage unit 332 (Yes in step 34), the predictive operation starting unit 33 is executed.
1 passes the input character string currently held in the character string buffer 32 to the character string search unit 34, and requests the character string search unit 34 to search for the predicted character string.

【0073】これにより、文字列検索部34は単語辞書
35を用いて予測処理を実行する。具体的には、文字列
検索部34は予測動作起動部331から受け取った文字
列を単語辞書35の中から検索し、検索に成功した場合
にその文字列を取り出し、出力部36に渡す(ステップ
35)。
As a result, the character string search unit 34 uses the word dictionary 35 to execute the prediction process. Specifically, the character string search unit 34 searches the word dictionary 35 for the character string received from the predictive operation starting unit 331, extracts the character string when the search is successful, and passes it to the output unit 36 (step 35).

【0074】出力部36は、文字列検索部34から渡さ
れた文字列を予測結果として表示部37に渡す(ステッ
プ36)。表示部37では、表示するように要求された
文字列群を画面に表示する(ステップ37)。
The output unit 36 transfers the character string passed from the character string search unit 34 to the display unit 37 as a prediction result (step 36). The display unit 37 displays the character string group requested to be displayed on the screen (step 37).

【0075】次に、具体例を挙げて説明する。例えば
「かんじじしょ」といった文字列を入力しようとしてい
る入力者が文字を入力している時の処理を具体例として
示す。ただし、このときの設定時間記憶部332に記憶
されている時間は4秒と設定されているものとする。ま
た、単語辞書35には「かいしゃ」,「かんじじし
ょ」,「かんそうぶん」,「かんらんしゃ」,「かんじ
ょう」が登録されているとする。
Next, a specific example will be described. For example, the processing when the inputting person who is trying to input a character string such as “Kanjijisho” is inputting characters is shown as a specific example. However, it is assumed that the time stored in the set time storage unit 332 at this time is set to 4 seconds. In addition, it is assumed that the word dictionary 35 has “kaisha”, “kanjisho”, “kansobun”, “kanransha”, and “kanjo” registered therein.

【0076】文字列入力部31は、入力者の「か」とい
う文字の入力を受け付ける。入力された文字は予測文字
列検索のキーとして使われるために、文字列バッファ3
2に一時的に保存される。
The character string input section 31 receives the input of the character "ka" by the input person. Since the input character is used as a key for predictive character string search, the character string buffer 3
Temporarily saved in 2.

【0077】ここで、予測開始部33の予測動作起動部
331は、入力されたのが1文字目なので入力時間計測
部333に時間の計測を開始するように要求する。この
時点では、設定された時間に達していないので予測動作
は開始しない。
Here, the predictive operation starting unit 331 of the predicting start unit 33 requests the input time measuring unit 333 to start measuring time since the first character is input. At this point, the prediction operation does not start because the set time has not been reached.

【0078】以後、同様に文字列入力部31が「ん」、
「じ」、「じ」の文字の入力を順に受け付ける。このと
き、入力時間計測部333によって計測された入力時間
が4秒経過したことを予測動作起動部331が知ると、
予測動作を開始する。具体的には、文字列バッファ32
に保持されている入力文字列を文字列検索部34に渡
し、予測文字列の検索を要求する。
Thereafter, similarly, the character string input section 31 displays "n",
The input of the characters "ji" and "ji" is accepted in order. At this time, when the predictive operation starting unit 331 knows that the input time measured by the input time measuring unit 333 has passed 4 seconds,
Start the prediction operation. Specifically, the character string buffer 32
The input character string held in is passed to the character string search unit 34, and a search for the predicted character string is requested.

【0079】文字列検索部34では、「かんじじ」で始
まる文字列を単語辞書35から検索する。この場合、
「かんじじしょ」がそれに該当する。出力部36は、こ
の「かんじじしょ」を文字列検索部34から受け取り、
これを予測結果として表示部37に渡す。表示部37は
この「かんじじしょ」を画面に表示して、ここでの処理
を終える。
The character string searching unit 34 searches the word dictionary 35 for a character string starting with "Kanji". in this case,
"Kanjijisho" corresponds to that. The output unit 36 receives this “Kanjijisho” from the character string search unit 34,
This is passed to the display unit 37 as the prediction result. The display unit 37 displays this “Kanjijisho” on the screen and finishes the processing here.

【0080】以上のように、予測動作を開始する時間を
設定しておき、入力時間がその設定時間に達した時点で
予測動作の開始を行うようにしたため、入力者の入力動
作にかかる時間に応じて柔軟に予測文字列を検索するこ
とが可能となる。
As described above, since the time for starting the predictive motion is set and the predictive motion is started when the input time reaches the set time, the time required for the input motion of the input person is reduced. Accordingly, the predicted character string can be flexibly searched.

【0081】なお、設定時間記憶部332に記憶される
値(設定時間)は文字列の予測を効率良く行うために実
験的に求められた値であり、例えば3〜4文字程度の平
均的な入力時間に相当する。
The value (set time) stored in the set time storage unit 332 is an experimentally obtained value for efficiently predicting a character string, and is an average of, for example, 3 to 4 characters. It corresponds to the input time.

【0082】(第4の実施形態)次に、本発明の第4の
実施形態を説明する。図7は本発明の第4の実施形態に
係る文書作成装置の構成を示すブロック図である。本装
置は、文字列入力部41、文字列バッファ42、予測開
始部43、文字列検索部44、単語辞書45、出力部4
6、表示部47から構成される。
(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described. FIG. 7 is a block diagram showing the arrangement of a document creation device according to the fourth embodiment of the present invention. This device includes a character string input unit 41, a character string buffer 42, a prediction start unit 43, a character string search unit 44, a word dictionary 45, and an output unit 4.
6 and a display unit 47.

【0083】文字列入力部41は予測対象となる文字列
を入力するためのものであり、本実施形態では手書き入
力方式を想定し、タブレット411、認識部412、認
識辞書413から構成される。
The character string input unit 41 is for inputting a character string to be predicted, and in the present embodiment, a handwriting input method is assumed and is composed of a tablet 411, a recognition unit 412, and a recognition dictionary 413.

【0084】タブレット411は、文字列を手書き入力
するための入力装置である。このタブレット411は、
手書き入力用のペンを使用し、そのペンの筆記操作にて
文字列の手書き入力を行う。ここでは予測動作の開始を
指示するための予測ボタン411aが設けられている。
The tablet 411 is an input device for handwriting input of a character string. This tablet 411
A pen for handwriting input is used, and handwriting input of a character string is performed by the writing operation of the pen. Here, a prediction button 411a for instructing the start of the prediction operation is provided.

【0085】認識部412は、タブレット411を通じ
て手書き入力された文字列を文字認識する。この文字認
識によって得られた文字列(認識結果)は文字列バッフ
ァ42に一時的に格納された後、入力者がその文字列を
確定したときにクリアされる。ただし、予測ボタン41
1aの押下により予測動作の開始が指示された場合に
は、認識部412は文字列バッファ42に格納された文
字列を取り出し、これを予測対象文字列として文字列変
換部43に渡す。
The recognition unit 412 character-recognizes the character string input by handwriting through the tablet 411. The character string (recognition result) obtained by this character recognition is temporarily stored in the character string buffer 42, and then cleared when the input person confirms the character string. However, the prediction button 41
When the start of the prediction operation is instructed by pressing 1a, the recognition unit 412 takes out the character string stored in the character string buffer 42 and passes this to the character string conversion unit 43 as the prediction target character string.

【0086】認識辞書413は、認識部412で用いら
れる辞書であり、文字を構成する各ストロークの情報な
ど、文字認識処理に必要な各種の情報を記憶している。
また、文字列バッファ42は、確定前の文字列を一時的
に保存しておくために使用される。予測開始部43は、
所定の条件により予測動作の起動を行うものであり、本
実施形態では予測動作起動部431、前回入力時間記憶
部432、入力時間計測部433から構成される。
The recognition dictionary 413 is a dictionary used in the recognition unit 412, and stores various kinds of information necessary for character recognition processing, such as information on each stroke forming a character.
Further, the character string buffer 42 is used to temporarily store the character string before being determined. The prediction start unit 43
The prediction operation is activated under a predetermined condition, and in the present embodiment, the prediction operation activation unit 431, the previous input time storage unit 432, and the input time measurement unit 433 are included.

【0087】予測動作起動部431は、予測ボタン41
1aの押下による入力者の予測開始指示により予測動作
の開始を文字列検索部44に要求する。また、このとき
入力時間計測部433によって計測された時間を前回入
力時間記憶部432に格納し、次回の予測動作を開始す
るときの条件とする。すなわち、文字列バッファ42を
監視していて文字列バッファ42に文字が入った時点で
入力時間計測部433に計測の開始を知らせ、その計測
時間が設定時間記憶部432に記憶された時間に達した
ときに予測動作の開始を文字列検索部44に指示する。
The prediction operation starting unit 431 uses the prediction button 41.
The character string search unit 44 is requested to start the prediction operation in response to the prediction start instruction of the input person by pressing 1a. Further, the time measured by the input time measuring unit 433 at this time is stored in the previous input time storing unit 432, and is set as a condition for starting the next prediction operation. That is, when the character string buffer 42 is monitored and a character enters the character string buffer 42, the input time measuring unit 433 is notified of the start of measurement, and the measured time reaches the time stored in the set time storage unit 432. When this is done, the character string search unit 44 is instructed to start the prediction operation.

【0088】前回入力時間記憶部432は、予測動作を
開始するときの条件として、前回予測動作を行ったとき
の時間を記憶している。入力時間計測部433は、予測
動作起動部431から時間の計測を知らさられた時点で
時間の計測を始め、その結果を逐次入力時間計測部43
3に知らせる。
The previous input time storage unit 432 stores the time when the previous prediction operation was performed as a condition for starting the prediction operation. The input time measuring unit 433 starts time measurement when it is notified of the time measurement by the prediction operation starting unit 431, and sequentially inputs the result to the input time measuring unit 43.
Notify 3.

【0089】文字列検索部44は、入力文字列を先頭部
分に持つ文字列を単語辞書45から検索し、検索に成功
した場合にはその文字列を予測文字列の候補として出力
部46に知らせる。単語辞書45は、予測処理に用いら
れる辞書であり、各種の単語を漢字とひらがなの両方の
表記で記憶している。
The character string search unit 44 searches the word dictionary 45 for a character string having the input character string at the beginning, and if the search is successful, informs the output unit 46 of the character string as a predicted character string candidate. . The word dictionary 45 is a dictionary used for prediction processing, and stores various words in both Kanji and hiragana notation.

【0090】出力部46は、文字列検索部44によって
検索された予測文字列の候補を表示部47に出力する。
表示部47は、例えばLCD (Liquid Crystal Displa
y) やCRT (Cathode Ray Tube) 等の表示装置からな
り、出力部46から受け取った予測文字列の候補を入力
者に提示する。
The output unit 46 outputs the predicted character string candidates retrieved by the character string retrieval unit 44 to the display unit 47.
The display unit 47 is, for example, an LCD (Liquid Crystal Displa).
y), a CRT (Cathode Ray Tube), or the like, and presents the candidate of the predicted character string received from the output unit 46 to the input person.

【0091】次に、第4の実施形態の動作を説明する。
図8は第4の実施形態における予測処理の動作を示すフ
ローチャートである。まず、入力者が文字列入力部41
によって文字列を入力する(ステップ40)。この場
合、第4の実施形態では、文字列入力部41はタブレッ
ト411、認識部412、認識辞書413からなり、入
力者によって手書き入力された文字列を文字認識した結
果を入力文字列としている。
Next, the operation of the fourth embodiment will be described.
FIG. 8 is a flowchart showing the operation of the prediction process in the fourth embodiment. First, the input person is the character string input section 41.
The character string is input by (step 40). In this case, in the fourth embodiment, the character string input unit 41 includes a tablet 411, a recognition unit 412, and a recognition dictionary 413, and the character recognition result of the character string handwritten by the input person is used as the input character string.

【0092】この入力文字列(認識結果)は予測文字列
検索のキーとして使われるために、文字列バッファ42
に一時的に保存される(ステップ41)。なお、この文
字列バッファ42に格納された入力文字列(認識結果)
は出力部46を通じて表示部47に表示される。
Since this input character string (recognition result) is used as a key for predictive character string retrieval, the character string buffer 42
(Step 41). The input character string stored in the character string buffer 42 (recognition result)
Is displayed on the display unit 47 through the output unit 46.

【0093】ここで、予測動作起動部431は文字列バ
ッファ42に1文字目が入力された時点で入力時間の計
測を入力時間計測部433に要求する(ステップ42,
43)。
Here, the predictive operation starting unit 431 requests the input time measuring unit 433 to measure the input time when the first character is input to the character string buffer 42 (step 42,
43).

【0094】予測ボタン411aの押下により入力者に
よって予測動作の開始が合図された場合には(ステップ
44のYes)、予測動作起動部431はそのときの計
測時間を前回入力時間記憶部432に格納した後(ステ
ップ45)、その入力文字列を文字列検索部44に渡し
て予測動作の開始を指示する。
When the predictor starts the predictive motion by pressing the predictive button 411a (Yes in step 44), the predictive motion starting unit 431 stores the measured time at that time in the previous input time storage unit 432. After that (step 45), the input character string is passed to the character string search unit 44 to instruct the start of the prediction operation.

【0095】一方、入力者の指示がなく、前回入力時間
記憶部432に時間が保持されている場合には(ステッ
プ44のNo)、入力時間計測部433によって計測さ
れる時間が設定時間記憶部432に記憶された時間に達
した時点で(ステップ46のYes)、予測動作起動部
431はその時点で文字列バッファ42に保持されてい
る入力文字列を文字列検索部44に渡し、予測文字列の
検索を文字列検索部44に要求する。
On the other hand, when there is no instruction from the input person and the time is stored in the previous input time storage unit 432 (No in step 44), the time measured by the input time measurement unit 433 is set in the set time storage unit. When the time stored in 432 is reached (Yes in step 46), the prediction operation starting unit 431 passes the input character string held in the character string buffer 42 at that time to the character string search unit 44, and the predicted character The character string search unit 44 is requested to search the string.

【0096】これにより、文字列検索部44は単語辞書
45を用いて予測処理を実行する。具体的には、文字列
検索部44は予測動作起動部431から受け取った文字
列を単語辞書45の中から検索し、検索に成功した場合
にその文字列を取り出し、出力部46に渡す(ステップ
45)。
As a result, the character string search unit 44 uses the word dictionary 45 to execute the prediction process. Specifically, the character string search unit 44 searches the word dictionary 45 for the character string received from the predictive operation starting unit 431, extracts the character string when the search is successful, and passes it to the output unit 46 (step 45).

【0097】出力部46は、文字列検索部44から渡さ
れた文字列を予測結果として表示部47に渡す(ステッ
プ46)。表示部47では、表示するように要求された
文字列群を画面に表示する(ステップ47)。
The output unit 46 passes the character string passed from the character string search unit 44 to the display unit 47 as a prediction result (step 46). The display unit 47 displays the character string group requested to be displayed on the screen (step 47).

【0098】次に、具体例を挙げて説明する。例えば
「かいしゃ」と「かんじじしょ」といった文字列を入力
しようとしている入力者がその文字列を構成する各文字
を順に入力している時の処理を具体例として示す。ただ
し、このときの前回入力時間記憶部432には前回入力
時間が格納されていないものとする。また、単語辞書4
5には「かいしゃ」,「かんじじしょ」,「かんそうぶ
ん」,「かんらんしゃ」,「かんじょう」が登録されて
いるとする。
Next, a specific example will be described. For example, a process when an inputting person who is trying to input a character string such as "Kaisha" and "Kanjijisho" is sequentially inputting each character constituting the character string will be shown. However, it is assumed that the previous input time storage unit 432 at this time does not store the previous input time. Also, the word dictionary 4
It is assumed that 5 is registered with "kaisha", "kanjisho", "kansobun", "kanransha", and "kanjo".

【0099】文字列入力部41は、まず、入力者の
「か」という文字(認識文字)の入力を受け付ける。入
力された文字は予測文字列検索のキーとして使われるた
めに、文字列バッファ42に一時的に保存される。
The character string input section 41 first accepts the input of the character (recognition character) "ka" by the input person. The input character is temporarily stored in the character string buffer 42 because it is used as a key for predictive character string retrieval.

【0100】ここで、予測開始部43の予測動作起動部
431は、入力されたのが1文字目なので入力時間計測
部433に時間の計測を開始するように要求する。この
時点では、設定された時間に達していないので予測動作
は開始しない。
Here, the prediction operation starting unit 431 of the prediction starting unit 43 requests the input time measuring unit 433 to start measuring time since the first character is input. At this point, the prediction operation does not start because the set time has not been reached.

【0101】以後、同様に文字列入力部41が「い」、
「し」の文字の入力を順に受け付ける。そして、入力者
が予測ボタン411aを押下して予測動作の開始を合図
したとすると、予測動作起動部431は文字列バッファ
42に保持されている入力文字列「かいし」を文字列検
索部44に渡し、予測動作の開始を要求する。また、こ
のとき「かいし」までの入力時間が3秒とすると、その
値を前回入力時間記憶部432に格納する。
Thereafter, similarly, the character string input section 41 displays "yes",
The input of the character "shi" is accepted in order. Then, if the input person presses the prediction button 411 a to signal the start of the prediction operation, the prediction operation starting unit 431 retrieves the input character string “Kaishi” held in the character string buffer 42 from the character string search unit 44. To request the start of the prediction operation. At this time, if the input time until "Kaishi" is 3 seconds, the value is stored in the previous input time storage unit 432.

【0102】文字列検索部44では、「かいし」で始ま
る文字列を単語辞書45から検索する。この場合、「か
いしゃ」がそれに該当する。出力部46は、この「かい
しゃ」を文字列検索部44から受け取り、これを予測結
果として表示部47に渡す。表示部47はこの「かいし
ゃ」を画面に表示して、ここでの処理を終える。
The character string search unit 44 searches the word dictionary 45 for a character string starting with "Kaishi". In this case, "kaisha" corresponds to that. The output unit 46 receives this “kaisha” from the character string search unit 44 and passes it to the display unit 47 as a prediction result. The display unit 47 displays this "kaisha" on the screen and ends the processing here.

【0103】次に、入力者は「かんじじしょ」といった
文字列を入力しようとして、文字列入力部41から
「か」を入力する。文字列入力部41では、「か」の入
力を受け付け、「か」を文字列バッファ42に保存す
る。また、予測動作起動部431は入力時間計測部43
3に入力時間の計測を行わせる。
Next, the input person inputs "ka" from the character string input unit 41 in order to input a character string such as "Kanjijisho". The character string input unit 41 accepts the input of “ka” and stores the “ka” in the character string buffer 42. In addition, the predictive operation starting unit 431 is the input time measuring unit 43.
Let 3 measure the input time.

【0104】以後、同様に文字列入力部41が「ん」、
「じ」の文字の入力を順に受け付ける。予測動作起動部
431は、入力時間計測部433によって計測される時
間を監視していて前回入力時間記憶部432の値との比
較を行い、前回保持しておいた時間である3秒に達した
ことを判断して予測動作を開始する。具体的には、文字
列バッファ42に保持されている入力文字列を文字列検
索部44に渡し、予測文字列の検索を要求する。
Thereafter, similarly, the character string input section 41 displays "n",
The input of the character "ji" is accepted in order. The predictive operation starting unit 431 monitors the time measured by the input time measuring unit 433, compares it with the value of the previous input time storage unit 432, and reaches the time of 3 seconds, which is the time previously held. After that, the prediction operation is started. Specifically, the input character string held in the character string buffer 42 is passed to the character string search unit 44, and a search for the predicted character string is requested.

【0105】文字列検索部44では、「かんじ」で始ま
る文字列を単語辞書45から検索する。この場合、「か
んじじしょ」がそれに該当する。出力部46は、この
「かんじじしょ」を文字列検索部44から受け取り、こ
れを予測結果として表示部47に渡す。表示部47はこ
の「かんじじしょ」を画面に表示して、ここでの処理を
終える。
The character string search unit 44 searches the word dictionary 45 for a character string starting with "Kanji". In this case, "Kanjijisho" corresponds to that. The output unit 46 receives this “Kanjijisho” from the character string search unit 44 and passes it to the display unit 47 as a prediction result. The display unit 47 displays the "Kanjijisho" on the screen and finishes the processing here.

【0106】以上のように、予測動作を開始する時間を
入力者が任意に定義できるため、入力者が予測を頻繁に
利用する時間を条件にして、予測動作を開始することが
できる。
As described above, since the input person can arbitrarily define the time to start the prediction operation, the prediction operation can be started on the condition that the input person frequently uses the prediction.

【0107】(第5の実施形態)図9は本発明の第5の
実施形態に係る文書作成装置の構成を示すブロック図で
ある。本装置は、文字列入力部51、文字列バッファ5
2、予測開始部53、文字列検索部54、単語辞書5
5、出力部56、表示部57から構成される。
(Fifth Embodiment) FIG. 9 is a block diagram showing the arrangement of a document creation apparatus according to the fifth embodiment of the present invention. This device is provided with a character string input unit 51 and a character string buffer 5.
2, prediction start unit 53, character string search unit 54, word dictionary 5
5, an output unit 56, and a display unit 57.

【0108】文字列入力部51は予測対象となる文字列
を入力するためのものであり、本実施形態では手書き入
力方式を想定し、タブレット511、認識部512、認
識辞書513から構成される。
The character string input unit 51 is for inputting a character string to be predicted, and in the present embodiment, a handwriting input method is assumed and is composed of a tablet 511, a recognition unit 512, and a recognition dictionary 513.

【0109】タブレット511は、文字列を手書き入力
するための入力装置である。このタブレット511は、
手書き入力用のペンを使用し、そのペンの筆記操作にて
文字列の手書き入力を行う。
The tablet 511 is an input device for handwriting input of a character string. This tablet 511
A pen for handwriting input is used, and handwriting input of a character string is performed by the writing operation of the pen.

【0110】認識部512は、タブレット511を通じ
て手書き入力された文字列を文字認識する。この文字認
識によって得られた文字列(認識結果)は文字列バッフ
ァ52に一時的に格納された後、入力者がその文字列を
確定したときにクリアされる。
The recognition unit 512 character-recognizes the character string input by handwriting through the tablet 511. The character string (recognition result) obtained by this character recognition is temporarily stored in the character string buffer 52 and then cleared when the input person confirms the character string.

【0111】認識辞書513は、認識部512で用いら
れる辞書であり、文字を構成する各ストロークの情報な
ど、文字認識処理に必要な各種の情報を記憶している。
また、文字列バッファ52は、確定前の文字列を一時的
に保存しておくために使用される。予測開始部53は、
所定の条件により予測動作の起動を行うものであり、本
実施形態では予測動作起動部531と予測候補数記憶部
532から構成される。
The recognition dictionary 513 is a dictionary used in the recognition unit 512, and stores various kinds of information necessary for character recognition processing, such as information on each stroke forming a character.
Further, the character string buffer 52 is used for temporarily storing the character string before being determined. The prediction starting unit 53
The prediction operation is activated under a predetermined condition, and in the present embodiment, the prediction operation activation unit 531 and the prediction candidate number storage unit 532 are included.

【0112】予測動作起動部531は、文字列バッファ
52に文字が保持される毎に文字列検索部54に対して
予測文字列の検索を要求する。そして、その検索により
得られた予測候補の数を予測候補数記憶部532の値と
比較して、当該入力文字列の予測候補数が予測候補数記
憶部532の値より少なくなったときに、その予測候補
を出力部56に渡す。
The predictive operation starting unit 531 requests the character string search unit 54 to search for a predicted character string each time a character is held in the character string buffer 52. Then, the number of prediction candidates obtained by the search is compared with the value of the prediction candidate number storage unit 532, and when the number of prediction candidates of the input character string becomes smaller than the value of the prediction candidate number storage unit 532, The prediction candidate is passed to the output unit 56.

【0113】予測候補数記憶部532は、予測動作を開
始するときの条件として、予め設定された予測候補の数
を記憶している。文字列検索部54は、入力文字列を先
頭部分に持つ文字列を単語辞書55から検索し、検索に
成功した場合にはその文字列を予測文字列の候補として
出力部56に知らせる。単語辞書55は、予測処理に用
いられる辞書であり、各種の単語を漢字とひらがなの両
方の表記で記憶している。
The prediction candidate number storage section 532 stores a preset number of prediction candidates as a condition for starting the prediction operation. The character string search unit 54 searches the word dictionary 55 for a character string having the input character string at the beginning, and when the search is successful, notifies the output unit 56 of the character string as a candidate for the predicted character string. The word dictionary 55 is a dictionary used for prediction processing, and stores various words in both Kanji and Hiragana notation.

【0114】出力部56は、文字列検索部54によって
検索された予測文字列の候補を表示部57に出力する。
表示部57は、例えばLCD (Liquid Crystal Displa
y) やCRT (Cathode Ray Tube) 等の表示装置からな
り、出力部56から受け取った予測文字列の候補を入力
者に提示する。
The output unit 56 outputs the predicted character string candidates searched by the character string searching unit 54 to the display unit 57.
The display unit 57 is, for example, an LCD (Liquid Crystal Displa).
y) or a CRT (Cathode Ray Tube) or the like, and presents the predictive character string candidates received from the output unit 56 to the input person.

【0115】次に、第5の実施形態の動作を説明する。
図10は第5の実施形態における予測処理の動作を示す
フローチャートである。まず、入力者が文字列入力部5
1によって文字列を入力する(ステップ50)。この場
合、第5の実施形態では、文字列入力部51はタブレッ
ト511、認識部512、認識辞書513からなり、入
力者によって手書き入力された文字列を文字認識した結
果を入力文字列としている。
Next, the operation of the fifth embodiment will be described.
FIG. 10 is a flowchart showing the operation of the prediction process in the fifth embodiment. First, the input person is the character string input unit 5
The character string is input by 1 (step 50). In this case, in the fifth embodiment, the character string input unit 51 includes a tablet 511, a recognition unit 512, and a recognition dictionary 513, and the character recognition result of the character string handwritten by the input person is used as the input character string.

【0116】この入力文字列(認識結果)は予測文字列
検索のキーとして使われるために、文字列バッファ52
に一時的に格納される(ステップ51)。なお、この文
字列バッファ52に格納された入力文字列(認識結果)
は出力部56を通じて表示部57に表示される。
Since this input character string (recognition result) is used as a key for predictive character string retrieval, the character string buffer 52
(Step 51). The input character string stored in this character string buffer 52 (recognition result)
Is displayed on the display unit 57 through the output unit 56.

【0117】ここで、予測動作起動部531は、文字列
バッファ52に文字が保持される毎に同文字列バッファ
52内の文字列を文字列検索部54に渡し、文字列の検
索を要求する。検索を要求された文字列検索部54は、
予測動作起動部531から渡された文字列をキーとして
文字列を検索する(ステップ52)。
Here, the predictive operation starting unit 531 passes the character string in the character string buffer 52 to the character string retrieving unit 54 every time a character is held in the character string buffer 52, and requests retrieval of the character string. . The character string search unit 54 requested to search,
The character string passed from the predictive operation starting unit 531 is used as a key to search for the character string (step 52).

【0118】予測動作起動部531は、この検索により
得られた予測文字列の候補数と予測候補数記憶部532
に記憶されている候補数(設定候補数)とを比較する
(ステップ53)。その結果、当該入力文字列に対する
予測候補の数が設定候補数より多い場合には(ステップ
53のNo)、予測動作起動部531は次の入力文字を
待って再度予測動作の開始を指示する。
The predictive operation starting section 531 has a predictive character string candidate number and predictive candidate number storage section 532 obtained by this search.
The number of candidates (the number of setting candidates) stored in is compared (step 53). As a result, when the number of prediction candidates for the input character string is larger than the number of setting candidates (No in step 53), the prediction operation starting unit 531 waits for the next input character and gives an instruction to start the prediction operation again.

【0119】一方、当該入力文字列に対する予測候補の
数が設定候補数より少なくなった場合には(ステップ5
3のYes)、予測動作起動部531はその候補文字列
を出力部56に渡す。
On the other hand, if the number of prediction candidates for the input character string is less than the number of setting candidates (step 5
3), the prediction operation starting unit 531 passes the candidate character string to the output unit 56.

【0120】出力部56は、文字列検索部54から渡さ
れた文字列を予測結果として表示部57に渡す(ステッ
プ54)。表示部57では、表示するように要求された
文字列群を画面に表示する(ステップ55)。
The output unit 56 transfers the character string passed from the character string search unit 54 to the display unit 57 as a prediction result (step 54). The display unit 57 displays the character string group requested to be displayed on the screen (step 55).

【0121】次に、具体例を挙げて説明する。例えば
「かんじじしょ」といった文字列を入力しようとしてい
る入力者がその文字列を構成する各文字を順に入力して
いる時の処理を具体例として示す。ただし、このときの
予測候補数記憶部532の値は「2」に設定されている
ものとする。また、単語辞書55には「かいしゃ」,
「かんじじしょ」,「かんそうぶん」,「かんらんし
ゃ」,「かんじょう」が登録されているものとする。
Next, a specific example will be described. For example, a process when an input person who is trying to input a character string such as “Kanjijisho” is sequentially inputting each character forming the character string will be described as a specific example. However, the value of the prediction candidate number storage unit 532 at this time is set to “2”. In addition, the word dictionary 55 has "kaisha",
It is assumed that "Kanjiji", "Kansobun", "Kanransha", and "Kanjo" are registered.

【0122】文字列入力部51は、まず、入力者の
「か」という文字(認識文字)の入力を受け付ける。入
力された文字は予測文字列検索のキーとして使われるた
めに、文字列バッファ52に一時的に保存される。
The character string input section 51 first accepts the input of the character "recognition character""ka" by the input person. The input character is temporarily stored in the character string buffer 52, because it is used as a key for predictive character string retrieval.

【0123】ここで、予測開始部53の予測動作起動部
531は、文字列バッファ52に保存されている「か」
という文字を文字列検索部54に渡し、文字列の検索を
要求する。
Here, the predictive operation starting unit 531 of the predictive starting unit 53 is a "ka" stored in the character string buffer 52.
Is passed to the character string search unit 54 to request a character string search.

【0124】文字列検索部54では、「か」で始まる文
字列を単語辞書55から検索し、「かいしゃ」、「かん
じじしょ」、「かんそうぶん」、「かんらんしゃ」を得
る。この場合、検索によって得られた予測文字列の候補
数は「4」である。
The character string searching unit 54 searches the word dictionary 55 for a character string starting with "ka", and obtains "kaisha", "kanjijisho", "kansobun", and "kanransha". In this case, the number of predicted character string candidates obtained by the search is “4”.

【0125】予測動作起動部531は、文字列検索部5
4によって検索された予測文字列の候補数「4」と予測
候補数記憶部532の値「2」を比較する。この場合、
まだ検索された予測文字列の候補数の方が多いので、出
力することなく文字列の入力に処理を戻す。
The predictive operation starting section 531 is provided with the character string searching section 5
The predicted character string candidate number “4” retrieved by 4 is compared with the predicted candidate number storage unit 532 value “2”. in this case,
Since the number of predicted character string candidates retrieved is still larger, the process is returned to the input of the character string without outputting.

【0126】次に、文字列入力部51が「ん」の文字の
入力を受け付ける。このときにも上記同様に検索を行う
が、その検索された予測文字列の候補数はまだ「3」な
ので出力は行わない。
Next, the character string input unit 51 receives the input of the character "n". At this time, the search is performed in the same manner as above, but the number of candidates of the searched predicted character string is still "3", and therefore the output is not performed.

【0127】さらに、入力を継続して「じ」の入力を受
け付けたとき、検索された予測文字列の候補が「かんじ
じしょ」だけの1つとなる。よって、予測候補数記憶部
532の値「2」より少なくなったので、このときの
「かんじじしょ」を出力部56に渡して出力を要求す
る。
Further, when the input is continued and the input of "ji" is accepted, the candidate of the predicted character string retrieved is only "kanjijisho". Therefore, since the value is smaller than the value “2” in the prediction candidate number storage unit 532, “Kanjisho” at this time is passed to the output unit 56 to request the output.

【0128】出力部56は、この「かんじじしょ」を予
測結果として表示部57に渡す。表示部57はこの「か
んじじしょ」を画面に表示して、ここでの処理を終え
る。以上のように、検索により得られた予測文字列の候
補数が設定値より少なくなるまで出力が行われないの
で、入力作業を邪魔することなく予測することが可能に
なる。
The output unit 56 transfers this "sense" to the display unit 57 as a prediction result. The display unit 57 displays this "sense" on the screen and ends the processing here. As described above, since the output is not performed until the number of candidates of the predicted character string obtained by the search becomes smaller than the set value, it is possible to predict without disturbing the input work.

【0129】なお、本発明は上記各実施形態に限定され
るものではい、例えば文字列の入力には文字認識を使う
のではなく、タブレットやキーボードを用いても良い。
また、第1の実施形態における設定文字数、第3の実施
形態における設定時間、第5の実施形態における設定予
測候補数は、処理を行うにつれてその値を変化させても
良いし、数値を幾つか保持しておいてその平均値を利用
しても良い。
The present invention is not limited to the above-described embodiments, and for example, instead of using character recognition for inputting a character string, a tablet or keyboard may be used.
Further, the number of set characters in the first embodiment, the set time in the third embodiment, and the number of set prediction candidates in the fifth embodiment may be changed as the processing is performed, or some numerical values may be set. You may hold and use the average value.

【0130】また、予測結果の出力先は画面ではなく他
の処理系でも良い。要するに、本発明の要旨を逸脱しな
い範囲で種々変形して実施することが可能である。
The output destination of the prediction result may be another processing system instead of the screen. In short, various modifications can be made without departing from the scope of the present invention.

【0131】[0131]

【発明の効果】以上のように本発明によれば、予測対象
として入力された文字列の文字数や入力時間に基づいて
予測動作を開始するようにしたため、従来のように予測
文字列の候補を絞れないまま出力してしまうことを回避
して、入力者の入力作業を妨げることなく予測文字列を
得ることができる。
As described above, according to the present invention, the prediction operation is started based on the number of characters of the character string input as the prediction target and the input time. It is possible to avoid output without narrowing down and obtain the predicted character string without disturbing the input work of the input person.

【0132】また、予測対象として入力された文字列の
各文字が入力される毎に予測動作を開始し、その予測動
作によって得られる予測候補の数が所定値以下になった
時点でその予測候補を出力するようにしたため、従来の
ように予測文字列の候補を絞れないまま出力してしまう
ことを回避して、入力者の入力作業を妨げることなく予
測文字列を得ることができる。
The prediction operation is started each time each character of the character string input as the prediction target is input, and when the number of prediction candidates obtained by the prediction operation becomes equal to or less than a predetermined value, the prediction candidate is selected. Since the above is output, it is possible to avoid outputting the predicted character string candidates without being narrowed down as in the conventional case, and it is possible to obtain the predicted character string without hindering the input work of the input person.

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

【図1】本発明の第1の実施形態に係る文書作成装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a document creation device according to a first embodiment of the present invention.

【図2】同実施形態における予測処理の動作を示すフロ
ーチャート。
FIG. 2 is a flowchart showing an operation of a prediction process in the same embodiment.

【図3】本発明の第2の実施形態に係る文書作成装置の
構成を示すブロック図。
FIG. 3 is a block diagram showing a configuration of a document creation device according to a second embodiment of the present invention.

【図4】同実施形態における予測処理の動作を示すフロ
ーチャート。
FIG. 4 is a flowchart showing an operation of a prediction process in the same embodiment.

【図5】本発明の第3の実施形態に係る文書作成装置の
構成を示すブロック図。
FIG. 5 is a block diagram showing the configuration of a document creation device according to a third embodiment of the present invention.

【図6】同実施形態における予測処理の動作を示すフロ
ーチャート。
FIG. 6 is a flowchart showing an operation of a prediction process in the same embodiment.

【図7】本発明の第4の実施形態に係る文書作成装置の
構成を示すブロック図。
FIG. 7 is a block diagram showing the configuration of a document creation device according to a fourth embodiment of the present invention.

【図8】同実施形態における予測処理の動作を示すフロ
ーチャート。
FIG. 8 is a flowchart showing an operation of a prediction process in the same embodiment.

【図9】本発明の第5の実施形態に係る文書作成装置の
構成を示すブロック図。
FIG. 9 is a block diagram showing the configuration of a document creation device according to a fifth embodiment of the present invention.

【図10】同実施形態における予測処理の動作を示すフ
ローチャート。
FIG. 10 is a flowchart showing an operation of a prediction process in the same embodiment.

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

11…文字列入力部 12…文字列バッファ 13…予測開始部 14…文字列検索部 15…単語辞書 16…出力部 17…表示部 111…タブレット 112…認識部 113…認識辞書 131…予測動作起動部 132…設定文字数記憶部 11 ... Character string input unit 12 ... Character string buffer 13 ... Prediction start unit 14 ... Character string search unit 15 ... Word dictionary 16 ... Output unit 17 ... Display unit 111 ... Tablet 112 ... Recognition unit 113 ... Recognition dictionary 131 ... Prediction operation start Part 132 ... Set character number storage unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 入力された文字列を先頭部分に持つ文字
列を入力者がこれから入力しようとしている文字列とし
て予測する文字列予測方法において、 予測対象として入力された文字列を文字列バッファに保
持しておき、 この文字列バッファに保持された入力文字列の文字数が
所定の文字数に達したとき、当該文字列の予測動作を開
始し、 その文字列を先頭部分に持つ文字列を単語辞書から予測
文字列として検索することにより、 その検索された予測文字列の候補を予測結果として出力
するようにしたことを特徴とする文字列予測方法。
1. A character string prediction method for predicting a character string having an input character string at the beginning as a character string to be input by an input person, wherein the character string input as a prediction target is stored in a character string buffer. When the number of characters of the input character string stored in this character string buffer reaches the specified number of characters, the prediction operation of the character string is started, and the character string that has the character string at the beginning part A character string prediction method characterized in that a candidate of the searched predicted character string is output as a prediction result by searching as a predicted character string from.
【請求項2】 上記所定の文字数は、前回予測動作を開
始したときの文字数としたことを特徴とする請求項1記
載の文字列予測方法。
2. The character string prediction method according to claim 1, wherein the predetermined number of characters is the number of characters when the prediction operation was started last time.
【請求項3】 入力された文字列を先頭部分に持つ文字
列を入力者がこれから入力しようとしている文字列とし
て予測する文字列予測方法において、 予測対象として入力された文字列を文字列バッファに保
持しておき、 この文字列バッファ内に最初の文字が保持されてからの
時間を計測し、 その計測時間が所定の時間に達したとき、当該文字列の
予測動作を開始し、 その文字列を先頭部分に持つ文字列を単語辞書から予測
文字列として検索することにより、 その検索された予測文字列の候補を予測結果として出力
するようにしたことを特徴とする文字列予測方法。
3. A character string prediction method for predicting a character string having an input character string at the beginning as a character string to be input by an input person, wherein the character string input as a prediction target is stored in a character string buffer. Hold it, measure the time since the first character was held in this character string buffer, and when the measured time reaches a predetermined time, start the prediction operation of the character string and A character string prediction method characterized in that a character string having “?” At the beginning is searched as a predicted character string from a word dictionary, and the searched predicted character string candidates are output as a prediction result.
【請求項4】 上記所定の時間は、前回予測動作を開始
したときの時間としたことを特徴とする請求項3記載の
文字列予測方法。
4. The character string prediction method according to claim 3, wherein the predetermined time is a time when a prediction operation is started last time.
【請求項5】 入力された文字列を先頭部分に持つ文字
列を入力者がこれから入力しようとしている文字列とし
て予測する文字列予測方法において、 予測対象として入力された文字列の各文字を文字列バッ
ファに保持する毎に、当該文字列の予測動作を開始し、 その文字列を先頭部分に持つ文字列を単語辞書から予測
文字列として検索し、 その検索された予測文字列の候補数が所定値以下になっ
たときに、その予測文字列の候補を予測結果として出力
するようにしたことを特徴とする文字列予測方法。
5. A character string prediction method for predicting a character string having an input character string at the beginning as a character string to be input by an input person, wherein each character of the character string input as a prediction target is a character. Each time it is stored in the column buffer, the prediction operation of the character string is started, and a character string that has that character string at the beginning is searched as a predicted character string from the word dictionary, and the number of candidates for the searched predicted character string is A character string prediction method characterized in that a candidate of the predicted character string is output as a prediction result when the value becomes a predetermined value or less.
【請求項6】 予測対象となる文字列を入力する入力手
段と、 この入力手段によって入力された文字列を保持する文字
列バッファと、 予測動作の開始条件として、所定の文字数を記憶する条
件記憶手段と、 この文字列バッファに保持された入力文字列の文字数が
上記条件記憶手段に記憶された文字数に達したとき、当
該文字列の予測動作を開始する予測動作起動手段と、 この予測動作起動手段による予測動作の開始指示に従っ
て、その文字列を先頭部分に持つ文字列を単語辞書から
予測文字列として検索する文字列検索手段と、 この文字列検索手段によって検索された予測文字列の候
補を予測結果として出力する出力手段とを具備したこと
を特徴とする文書作成装置。
6. An input unit for inputting a character string to be predicted, a character string buffer for holding the character string input by the input unit, and a condition storage for storing a predetermined number of characters as a start condition of the prediction operation. Means, a predictive operation starting means for starting a predictive operation of the character string when the number of characters of the input character string held in the character string buffer reaches the number of characters stored in the condition storage means, and the predictive operation starting means. In accordance with an instruction to start the predictive operation by the means, a character string search means for searching a character string having the character string at the beginning as a predicted character string from the word dictionary, and a candidate for the predicted character string searched by the character string search means are displayed. An apparatus for producing a document, comprising: an output unit that outputs a prediction result.
【請求項7】 上記所定の文字数は、前回予測動作を開
始したときの文字数としたことを特徴とする請求項6記
載の文書作成装置。
7. The document creation apparatus according to claim 6, wherein the predetermined number of characters is the number of characters when the prediction operation was started last time.
【請求項8】 予測対象となる文字列を入力する入力手
段と、 この入力手段によって入力された文字列を保持する文字
列バッファと、 この文字列バッファ内に最初の文字が保持されてからの
時間を計測する入力時間計測手段と、 予測動作の開始条件として、所定の時間を記憶する条件
記憶手段と、 上記入力時間計測手段によって計測された時間が上記条
件記憶手段に記憶された時間に達したとき、当該文字列
の予測動作を開始する予測動作起動手段と、 この予測動作起動手段による予測動作の開始指示に従っ
て、その文字列を先頭部分に持つ文字列を単語辞書から
予測文字列として検索する文字列検索手段と、 この文字列検索手段によって検索された予測文字列の候
補を予測結果として出力する出力手段とを具備したこと
を特徴とする文書作成装置。
8. An input means for inputting a character string to be predicted, a character string buffer for holding the character string input by the input means, and a character string buffer for holding a first character in the character string buffer. An input time measuring means for measuring time, a condition storing means for storing a predetermined time as a start condition of the prediction operation, and a time measured by the input time measuring means reaches a time stored in the condition storing means. Then, the predictive operation starting means for starting the predictive operation of the character string, and the predictive operation start instruction from the predictive operation starting means are searched for a character string having the character string at the beginning as a predictive character string from the word dictionary. A document characterized by comprising: a character string search means for outputting the predicted character string candidate searched by the character string search means as an output result Creating device.
【請求項9】 上記所定の時間は、前回予測動作を開始
したときの時間としたことを特徴とする請求項8記載の
文書作成装置。
9. The document creating apparatus according to claim 8, wherein the predetermined time is a time when a prediction operation is started last time.
【請求項10】 予測対象となる文字列を入力する入力
手段と、 この入力手段によって入力された文字列を保持する文字
列バッファと、 この文字列バッファに上記入力文字列の各文字が保持さ
れる毎に、当該文字列の予測動作を開始する予測動作起
動手段と、 この予測動作起動手段による予測動作の開始指示に従っ
て、その文字列を先頭部分に持つ文字列を単語辞書から
予測文字列として検索する文字列検索手段と、 この文字列検索手段によって検索された予測文字列の候
補数が所定値以下になったときに、その予測文字列の候
補を予測結果として出力する出力手段とを具備したこと
を特徴とする文書作成装置。
10. Input means for inputting a character string to be predicted, a character string buffer for holding the character string input by this input means, and each character of the input character string is held in this character string buffer. Each time a prediction operation of the character string is started, a prediction operation starting means for starting the prediction operation of the character string, and a character string having the character string at the head portion as a prediction character string from the word dictionary according to the start instruction of the prediction operation by the prediction operation starting means. A character string search means for searching; and an output means for outputting the predicted character string candidate as a prediction result when the number of predicted character string candidates searched by the character string search means becomes less than or equal to a predetermined value. A document creation device characterized by the above.
JP8098424A 1996-04-19 1996-04-19 Character string prediction method and document preparation device using the character string prediction method Pending JPH09288666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8098424A JPH09288666A (en) 1996-04-19 1996-04-19 Character string prediction method and document preparation device using the character string prediction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8098424A JPH09288666A (en) 1996-04-19 1996-04-19 Character string prediction method and document preparation device using the character string prediction method

Publications (1)

Publication Number Publication Date
JPH09288666A true JPH09288666A (en) 1997-11-04

Family

ID=14219437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8098424A Pending JPH09288666A (en) 1996-04-19 1996-04-19 Character string prediction method and document preparation device using the character string prediction method

Country Status (1)

Country Link
JP (1) JPH09288666A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007299217A (en) * 2006-04-28 2007-11-15 Toshiba Corp Image recording device
JP2008250378A (en) * 2007-03-29 2008-10-16 Sanyo Electric Co Ltd Input character string prediction device and input character string prediction program
US7673236B2 (en) 2001-02-09 2010-03-02 Lx1 Technology Limited Method of inputting text into a data processing apparatus
JP2012078954A (en) * 2010-09-30 2012-04-19 Canon Inc Character input device, control method thereof and program
JP2016085516A (en) * 2014-10-23 2016-05-19 学校法人立命館 Character input system, dictionary data, and computer program
JP2018101413A (en) * 2016-12-19 2018-06-28 グーグル エルエルシー Iconographic symbol predictions for conversation
US10664157B2 (en) 2016-08-03 2020-05-26 Google Llc Image search query predictions by a keyboard

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673236B2 (en) 2001-02-09 2010-03-02 Lx1 Technology Limited Method of inputting text into a data processing apparatus
JP2007299217A (en) * 2006-04-28 2007-11-15 Toshiba Corp Image recording device
JP2008250378A (en) * 2007-03-29 2008-10-16 Sanyo Electric Co Ltd Input character string prediction device and input character string prediction program
JP2012078954A (en) * 2010-09-30 2012-04-19 Canon Inc Character input device, control method thereof and program
US8825484B2 (en) 2010-09-30 2014-09-02 Canon Kabushiki Kaisha Character input apparatus equipped with auto-complete function, method of controlling the character input apparatus, and storage medium
JP2016085516A (en) * 2014-10-23 2016-05-19 学校法人立命館 Character input system, dictionary data, and computer program
US10664157B2 (en) 2016-08-03 2020-05-26 Google Llc Image search query predictions by a keyboard
JP2018101413A (en) * 2016-12-19 2018-06-28 グーグル エルエルシー Iconographic symbol predictions for conversation

Similar Documents

Publication Publication Date Title
JPH0571983B2 (en)
JPH09288666A (en) Character string prediction method and document preparation device using the character string prediction method
JPH08255159A (en) Method and device for predicting character string, method and device for japanese syllabary and chinese character conversion, and document preparation device
JPH0638222B2 (en) Kanji selection device
JPH10143501A (en) Character string predicting method and document generation device using the method
JPS60129874A (en) Japanese word input device
JPS59186025A (en) Kana (japanese syllabary)-kanji converting device
JP2001014304A (en) Document creating device, conversion processing method, and recording medium where conversion processing program is recorded
JP4797307B2 (en) Speech recognition apparatus and speech recognition method
JPH1011433A (en) Method and device for homonym selection of japanese syllabary-chinese character conversion system
JPS6325766A (en) Input device for japanese word
JPH0962673A (en) Document preparation device and kanji conversion method by component specification
JPH09274613A (en) Character string predicting method and document preparing device using the same
JPH08212212A (en) Documentation device and candidate output control method
JP3070932B2 (en) Document processing device
JPS6024621A (en) Preparing device of sentence written in japanese language
JPH1011432A (en) Character string estimation method and document preparing device using the estimation method
JPH05189439A (en) Device and method for document preparation
JPS61249167A (en) Kana-kanji converting system
JPH0239348A (en) Document producing device
JP2005250674A (en) Information retrieval system and program for information retrieval
JPH06187327A (en) Chinese character selecting device
JPH09212499A (en) Character string predicting method and document prepartion device using the same
JPS60157664A (en) Japanese language input device
JPS5868145A (en) Japanese input equipment