JPH08255156A - Method and device for predicting character string, and document preparation device - Google Patents

Method and device for predicting character string, and document preparation device

Info

Publication number
JPH08255156A
JPH08255156A JP7056315A JP5631595A JPH08255156A JP H08255156 A JPH08255156 A JP H08255156A JP 7056315 A JP7056315 A JP 7056315A JP 5631595 A JP5631595 A JP 5631595A JP H08255156 A JPH08255156 A JP H08255156A
Authority
JP
Japan
Prior art keywords
character string
character
predicted
input
dictionary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP7056315A
Other languages
Japanese (ja)
Inventor
Toshiya Tamura
俊哉 田村
Kenji Suzuki
謙二 鈴木
Hiroyuki Oka
弘幸 岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP7056315A priority Critical patent/JPH08255156A/en
Publication of JPH08255156A publication Critical patent/JPH08255156A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To predict a character string following a KANA(Japanese syllabary) - KANJI(Chinese character) mixed character string which are inputted for the 1st time by narrowing down character strings. CONSTITUTION: A dictionary retrieval part 3 performs retrieval from a word dictionary 4 by using the number of characters, obtained by adding the number αof added characters to the number (n) of characters in a character string inputted from an input part 1 to an input buffer 2, as the upper-limit value of the number of characters of a predicted character string candidate. Namely, the dictionary retrieval part 3 retrieves a character string, which has the character string as the head part among word consisting of HIRAGANA(cursive form of Japanese syllabary), KANJI or KANJI-mixed HIRAGANA has the total number (n+α) of characters as the upper-limit value, as the predicted character string candidate. Therefore, only predicted character string candidates which consists of (n)-(n+α) characters in total are limited and retrieved, and those predicted character strings are displayed at a display part 6 by a character string output part 5.

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 to be subsequently input by the user based on the character string input by the user, and a character string using this prediction method. The present invention relates to a prediction device and a document creation device equipped with this character string prediction device.

【0002】[0002]

【従来の技術】従来の文書作成装置では、文字入力の手
間を省くための試みとして、長い文字列を短い文字列で
登録して、これをかな漢字変換用のユーザ辞書として扱
うことにより、利用者が短い文字列を入力しただけで長
い文字列を入力する方法を採用しているものがある。し
かし、この方法では、予め文字列を登録しておかなけれ
ばならないため、あらゆる文字列に対して上記のような
方法を採ることが実際問題として困難であった。
2. Description of the Related Art In a conventional document creation apparatus, in order to save the effort of character input, a long character string is registered as a short character string and this is treated as a user dictionary for kana-kanji conversion, so that the user can Some have adopted a method of inputting a long character string by simply inputting a short character string. However, in this method, since the character string must be registered in advance, it is actually difficult to adopt the above method for every character string.

【0003】これに対して考えられたのが予測入力と呼
ぶ方法で、例えば文献(第48回情報処理学会全国大会
予稿集4J−11他)で報告されているように、利用者
により最初の数文字が入力された時点で、これら数文字
をキーとして単語辞書を検索し、これら数文字で始まる
文字列(単語)を抽出して表示することにより、最初に
入力された数文字に続く文字列を装置が予測することに
よって、利用者の入力の手間を省く方法が提案されてい
る。
A method called a predictive input has been conceived for this purpose. For example, as reported in the literature (Proceedings of the 48th National Conference of the Information Processing Society of Japan 4J-11 et al.) When several characters have been entered, the word dictionary is searched using these several characters as keys, and the character string (word) that starts with these several characters is extracted and displayed. A method has been proposed in which the device predicts the sequence to save the user's input work.

【0004】しかし、上記文献では、カタカナ文字列
(と助詞)の予測については述べられているものの、漢
字やひらがなが含まれる文字列に関しては考察されてい
ない。しかも、日本語文書作成装置では、ひらがな入力
や漢字混じりひらがな入力が主流であることを考慮する
と、最初に入力されたひらがなや漢字等の文字列に続く
文字列を装置が予測して入力する方法の開発が要請され
ている。そこで、ひらがなや、漢字かな混じりかな文字
列の予測を行う場合、次のような問題点の解決が不可欠
となる。
However, although the above-mentioned document describes the prediction of katakana character strings (and particles), it does not consider character strings containing kanji and hiragana. Moreover, in the Japanese document creation device, considering that the hiragana input or kanji mixed hiragana input is the mainstream, the device predicts and inputs the character string following the first input character string such as hiragana or kanji. Development is required. Therefore, when predicting a hiragana or kana-kana mixed kana character string, it is indispensable to solve the following problems.

【0005】即ち、ひらがな1文字が入力された時点で
予測を始めた場合には、候補となる文字列は多数存在す
ることになり、これら予測文字列候補を全て辞書から検
索して出力すると、その表示スペースの確保が難しいこ
とと、利用者が望む予測文字列を選択するのに手間及び
時間が掛かるという不具合が生じる。従って、辞書から
検索される予測文字列候補の数を利用者が望む文字列を
落とさないようにして絞り込む方策を開発する必要があ
る。又、検索する予測文字列候補を絞り込んでも、それ
が複数ある場合、利用者が望む予測文字列の出力が優先
されるようにその出力順位を並び替える方策を講じて、
更に、利用者が望む予測文字列の選択を容易にすること
が要請されている。
That is, when the prediction is started at the time when one hiragana character is input, there are many candidate character strings, and if all of these predicted character string candidates are retrieved from the dictionary and output, It is difficult to secure the display space, and it takes time and time to select the predicted character string desired by the user. Therefore, it is necessary to develop a method of narrowing down the number of predicted character string candidates retrieved from the dictionary without dropping the character string desired by the user. In addition, even if the number of predicted character string candidates to be searched is narrowed down, if there are multiple candidates, a measure is rearranged so that the output of the predicted character string desired by the user is prioritized,
Further, it is required to facilitate the selection of the predicted character string desired by the user.

【0006】[0006]

【発明が解決しようとする課題】上述したように、最初
に入力された短い文字列からそれに続く文字列を装置が
予測して入力する文字列予測方法では、現在のところカ
タカナ文字列の予測方法しか提案されていない。しか
も、提案された方法では、既入力文字列に続く文字列の
候補が多数あった場合、実際に検索して出力する予測文
字列を絞り込む方策や、絞り込んでも予測文字列が複数
ある場合、予測文字列の出力優先順位を合理的に並び替
える方策がなされていないことと、ひらがなや漢字混じ
りひらがな文字列に対する予測方法が考察されていない
ため、このまま文字列予測方法を日本語文書作成装置に
応用しても実用性が乏しいという問題点があった。
As described above, in the character string prediction method in which the device predicts and inputs a character string that follows from a short character string that is initially input, at present, a method for predicting a katakana character string is used. Only proposed. Moreover, in the proposed method, if there are many candidates for the character string that follows the input character string, the method to narrow down the predicted character string that is actually searched and output, or if there are multiple predicted character strings even after narrowing down, Since there is no measure for rationally rearranging the output priority of character strings and the prediction method for hiragana character strings mixed with hiragana and kanji, the character string prediction method is applied to the Japanese document creation device as it is. However, there was a problem that it was not practical.

【0007】そこで本発明は上記のような事情を考慮し
てなされたもので、最初に入力された漢字混じりかな文
字列に続く文字列の数を絞り込んで予測し、且つ予測文
字列が複数あった場合に利用者が意図した文字列の出力
優先度が高くなるような並び替えを行うことができる文
字列予測方法、この方法を用いた文字列予測装置及びこ
の文字列予測装置を搭載した文書作成装置を提供するこ
とを目的としている。
Therefore, the present invention has been made in consideration of the above circumstances. The number of character strings following the first input kana-kanji character string is narrowed down for prediction, and there are a plurality of predicted character strings. A character string prediction method capable of rearranging so that the output priority of the character string intended by the user becomes high, a character string prediction device using this method, and a document equipped with this character string prediction device It is intended to provide a producing device.

【0008】[0008]

【課題を解決するための手段】請求項1の発明は、入力
された文字列を先頭部分に持つ文字列を辞書に収容され
ている文字列の中から検索することにより、前記入力文
字列に続く文字列を予測し、前記辞書から検索された文
字列を予測文字列として出力する文字列予測装置におけ
る前記入力文字列に続く文字列を予測する文字列予測方
法にあって、前記入力文字列の文字数nに加算文字数α
を加算した(n+α)を前記予測文字列が持つ文字数の
上限値とし、この上限値の文字数以下の文字数から成る
予測文字列を前記辞書から検索する方法を採用してい
る。
According to a first aspect of the present invention, a character string having an input character string at a head portion is searched from a character string stored in a dictionary, and the input character string is obtained. In a character string prediction method for predicting a subsequent character string and predicting a character string following the input character string in a character string prediction device for outputting the character string retrieved from the dictionary as a predicted character string, the input character string Number of characters added to n
(N + α) obtained by adding is used as the upper limit of the number of characters that the predicted character string has, and a method of searching the dictionary for a predicted character string having the number of characters equal to or smaller than the upper limit value is employed.

【0009】請求項2の発明は、前記加算文字数αは前
記入力文字列の文字数nと関数関係にある変数である方
法を採用している。
The invention of claim 2 employs a method in which the added character number α is a variable having a functional relationship with the character number n of the input character string.

【0010】請求項3の発明は、前記加算文字数αは予
め設定してある固定値である方法を採用している。
The invention of claim 3 employs a method in which the additional character number α is a preset fixed value.

【0011】請求項4の発明は、前記予測文字列が出力
されて利用者により確定される毎に、確定された予測文
字列の文字数mとこの時の入力文字数nを収集して、入
力文字数nに対する前記文字数mの関係を統計処理し、
この統計処理結果から前記加算文字数αを求め、求めた
この加算文字数αを用いて前記辞書から予測文字列を検
索する方法を採用している。
According to a fourth aspect of the present invention, every time the predicted character string is output and is fixed by the user, the character number m of the fixed predicted character string and the input character number n at this time are collected, and the input character number is collected. statistically processing the relationship of the number of characters m to n,
A method is adopted in which the number of added characters α is obtained from the result of this statistical processing, and the predicted character string is searched from the dictionary using the obtained number of added characters α.

【0012】請求項5の発明は、前記辞書から検索され
た予測文字列が複数あった場合、一つ或いは複数の基準
に基づいて、前記検索された予測文字列を出力優先順位
順に並び替える方法を採用している。
According to a fifth aspect of the present invention, when there are a plurality of predicted character strings retrieved from the dictionary, the retrieved predicted character strings are rearranged in the output priority order based on one or a plurality of criteria. Has been adopted.

【0013】請求項6の発明は、前記辞書から検索され
た予測文字列の文字数を基準としてこれら予測文字列の
出力優先順位を並び替える方法を採用している。
The invention of claim 6 employs a method of rearranging the output priorities of the predicted character strings based on the number of characters of the predicted character strings retrieved from the dictionary.

【0014】請求項7の発明は、前記辞書に収容されて
いる文字列の使用頻度情報をこの辞書に収容しておき、
前記辞書から検索された予測文字列の使用頻度を基準と
して前記予測文字列の出力優先順位を並び替える方法を
採用している。
According to a seventh aspect of the invention, the usage frequency information of the character strings stored in the dictionary is stored in this dictionary,
A method of rearranging the output priority of the predicted character strings based on the frequency of use of the predicted character strings retrieved from the dictionary is adopted.

【0015】請求項8の発明は、前記予測文字列が出力
されて利用者により確定される毎に確定された予測文字
列を収集しておき、その後利用者により文字列が入力さ
れると、この入力文字列を先頭部分に持つ文字列を前記
辞書と前記収集された確定予測文字列の中から検索し、
その結果、検索された予測文字列が複数あった場合、前
記収集された確定予測文字列の中から検索された予測文
字列の出力優先順位を最優先で上位にするようにこれら
予測文字列の出力優先順位を並び替える方法を採用して
いる。
According to an eighth aspect of the invention, each time the predicted character string is output and fixed by the user, the fixed predicted character string is collected, and then the user inputs the character string. Search for a character string having this input character string at the beginning from the dictionary and the collected definite predictive character string,
As a result, when there are a plurality of retrieved predictive character strings, the output priority of the predictive character string retrieved from the collected definite predictive character strings is set to the highest priority and the output priority order of these predictive character strings is set to be higher. The output priority is rearranged.

【0016】請求項9の発明は、前記確定予測文字列の
収集は、確定予測文字列の先頭部分を構成する入力文字
列と、この確定予測文字列が収容されている前記辞書の
辞書アドレスを学習テーブル内に収集することにより行
われる方法を採用している。
According to a ninth aspect of the present invention, the definite predictive character string is collected by inputting an input character string forming a head portion of the definite predictive character string and a dictionary address of the dictionary accommodating the definite predictive character string. The method that is performed by collecting in the learning table is adopted.

【0017】請求項10の発明は、入力された文字列を
先頭部分に持つ文字列を辞書に収容されている文字列の
中から検索することにより、前記入力文字列に続く文字
列を予測し、前記辞書から検索された文字列を予測文字
列として出力する文字列予測装置における前記入力文字
列に続く文字列を予測する文字列予測方法にあって、文
字と共に文字補完記号を利用者が入力すると、入力され
た文字と同じ位置に同一の文字を有し、且つ入力された
文字補完記号の位置に文字を補完して成る文字列を前記
辞書から検索して予測文字列を得る方法を採用してい
る。
According to a tenth aspect of the present invention, the character string following the input character string is predicted by searching the character strings stored in the dictionary for a character string having the input character string at the beginning. In a character string predicting method for predicting a character string following the input character string in a character string predicting device that outputs a character string retrieved from the dictionary as a predictive character string, a user inputs a character completion symbol together with a character. Then, a method of obtaining a predicted character string by searching the dictionary for a character string having the same character at the same position as the input character and complementing the character at the position of the input character completion symbol is adopted. are doing.

【0018】請求項11の発明は、前記入力された文字
が文字補完記号のみであった場合は、予測文字列の検索
はせず、前記入力された文字補完記号をそのまま出力す
る方法を採用している。
The invention of claim 11 employs a method of outputting the input character complement symbol as it is without searching the predicted character string when the input character is only the character complement symbol. ing.

【0019】請求項12の発明は、前記文字補完記号を
複数種とし、入力された文字補完記号の種類に応じてこ
の位置に補完する文字の種類を特定した方法を採用して
いる。
According to a twelfth aspect of the present invention, there is adopted a method in which a plurality of types of the character complement symbols are used and the type of the character to be complemented at this position is specified according to the type of the input character complement symbol.

【0020】請求項13の発明は、前記検索された予測
文字列が複数あった場合、一つ或いは複数の基準に基づ
いて、前記検索された予測文字列を出力優先順位順に並
び替える方法を採用している。
According to a thirteenth aspect of the present invention, when there are a plurality of retrieved predicted character strings, a method of rearranging the retrieved predicted character strings in the order of output priority based on one or a plurality of criteria is adopted. are doing.

【0021】請求項14の発明は、前記予測文字列が出
力されて利用者により確定される毎に確定予測文字列を
収集しておき、利用者により文字列が入力されると、こ
の入力文字列を先頭部分に持つ文字列を前記辞書と前記
収集された確定予測文字列の中から検索し、その結果、
検索された予測文字列が複数あった場合、前記収集され
た確定予測文字列の中から検索された予測文字列の出力
優先順位を最優先で上位にするようにこれら予測文字列
の出力優先順位を並び替える方法を採用している。
According to a fourteenth aspect of the present invention, a fixed predictive character string is collected every time the predictive character string is output and confirmed by the user, and when the character string is input by the user, the input character string is input. A character string having a column at the beginning is searched from the dictionary and the collected definite predictive character string, and as a result,
When there are a plurality of retrieved predicted character strings, the output priority order of these predicted character strings is set so that the output priority order of the predicted character string retrieved from the collected definite predicted character strings is the highest priority. The method of rearranging is adopted.

【0022】請求項15の発明は、前記辞書に収容され
ている文字列はひらがな、漢字或いは漢字混じりひらが
な文字列である方法を採用している。
According to a fifteenth aspect of the invention, the character string stored in the dictionary is hiragana, kanji, or a hiragana character string mixed with kanji.

【0023】請求項16の発明は、前記入力された文字
列が前記文字補完記号を含まない文字列であった場合、
請求項1乃至9いずれか記載の文字列予測方法により予
測文字列を得る方法を採用している。
According to a sixteenth aspect of the invention, when the input character string is a character string that does not include the character completion symbol,
A method of obtaining a predicted character string by the character string prediction method according to any one of claims 1 to 9 is adopted.

【0024】請求項17の発明は、入力された文字列を
先頭部分に持つ文字列を辞書に収容されている文字列の
中から検索することにより、前記入力文字列に続く文字
列を予測し、前記辞書から検索された文字列を予測文字
列として出力する文字列予測装置において、文字列の文
字数を計数する計数手段と、加算文字数αを供給する数
値供給手段と、この数値供給手段から供給される加算文
字数αを前記計数手段により計数された前記入力文字列
の文字数nに加算する加算手段と、この加算手段から得
られる(n+α)を前記予測文字列が持つ文字数の上限
値とし、この上限値の文字数以下の文字数から成る予測
文字列を前記辞書から検索する検索手段と、この検索手
段により検索された予測文字列を表示する表示手段と、
この表示手段により表示された予測文字列の中で任意の
文字列を確定予測文字として利用者に選択させる選択手
段とを具備した構成を有している。
According to a seventeenth aspect of the present invention, the character string following the input character string is predicted by searching the character strings stored in the dictionary for a character string having the input character string at the beginning. In a character string prediction device that outputs a character string retrieved from the dictionary as a predicted character string, a counting unit that counts the number of characters in the character string, a numerical value supply unit that supplies the added character number α, and a numerical value supply unit that supplies the numerical value The addition character number α to be added to the character number n of the input character string counted by the counting means, and (n + α) obtained from this addition means are set as the upper limit value of the number of characters of the predicted character string. Retrieval means for retrieving a predictive character string consisting of the number of characters equal to or less than the upper limit value from the dictionary, and display means for displaying the predictive character string retrieved by the retrieving means,
The display unit has a configuration including a selection unit that allows the user to select an arbitrary character string from among the predicted character strings displayed by the display unit as a confirmed predicted character.

【0025】請求項18の発明は、前記数値供給手段か
ら供給される前記加算文字数αは前記計数手段で計数さ
れる入力文字列の文字数nと関数関係にある変数である
構成を有している。
According to the eighteenth aspect of the present invention, the additional character number α supplied from the numerical value supplying means is a variable having a functional relationship with the character number n of the input character string counted by the counting means. .

【0026】請求項19の発明は、前記数値供給手段か
ら供給される前記加算文字数αは予めこの手段に設定し
てある固定値である構成を有している。
According to the nineteenth aspect of the present invention, the additional character number α supplied from the numerical value supply means is a fixed value preset in this means.

【0027】請求項20の発明は、前記選択手段により
予測文字列が確定される毎に、前記計数手段により前記
確定予測文字列の文字数を計数して得た文字数mと、こ
の時、前記計数手段により既に計数されている入力文字
数nとを収集する収集手段と、この収集手段により収集
された入力文字数nに対する前記文字数mの関係を統計
処理する演算手段と、この演算手段による統計処理結果
から前記加算文字数αを求める加算値更新手段とを設
け、前記加算値供給手段は前記加算値更新手段により求
めた加算文字数αを前記検索手段に供給する構成を有し
ている。
According to a twentieth aspect of the invention, the number of characters m obtained by counting the number of characters of the confirmed predictive character string by the counting means every time the predictive character string is confirmed by the selecting means, and the counting at this time. Collecting means for collecting the input character number n already counted by the means, calculating means for statistically processing the relationship of the character number m to the input character number n collected by the collecting means, and the statistical processing result by the calculating means. An addition value updating means for obtaining the addition character number α is provided, and the addition value supplying means is configured to supply the addition character number α obtained by the addition value updating means to the searching means.

【0028】請求項21の発明は、前記検索手段により
前記辞書から検索された予測文字列が複数あった場合、
前記検索された予測文字列を一つ或いは複数の基準に基
づいて出力優先順位順に並び替えてから前記表示手段に
出力する並び変え手段を設けた構成を有している。
According to a twenty-first aspect of the present invention, when there are a plurality of predicted character strings retrieved from the dictionary by the retrieval means,
There is provided a rearranging means for rearranging the retrieved predicted character strings in the output priority order based on one or a plurality of criteria and then outputting the rearranged character strings to the display means.

【0029】請求項22の発明は、前記並び変え手段は
前記検索手段により検索された予測文字列を前記計数手
段により計数した文字数を基準として、前記検索された
予測文字列の出力優先順位を並び替える構成を有してい
る。
According to a twenty-second aspect of the present invention, the rearranging means arranges the output priority order of the retrieved predicted character strings on the basis of the number of characters obtained by counting the predicted character strings retrieved by the searching means by the counting means. It has the composition to change.

【0030】請求項23の発明は、文字列の使用頻度情
報を収容した辞書を設け、前記並び変え手段は前記検索
手段により前記辞書から検索された予測文字列の使用頻
度を基準として前記検索された予測文字列の出力優先順
位を並び替える構成を有している。
The invention of claim 23 is provided with a dictionary accommodating the use frequency information of the character string, and the rearranging means is searched based on the use frequency of the predicted character string searched from the dictionary by the searching means. The output priority of the predicted character string is rearranged.

【0031】請求項24の発明は、前記選択手段により
予測文字列が確定される毎に、確定された予測文字列を
収集する学習手段と、利用者により文字列が入力される
と、前記検索手段は前記入力文字列を先頭部分に持つ文
字列を前記辞書と前記学習手段の中から検索し、その結
果、検索された予測文字列が複数あった場合、前記並び
変え手段は前記学習手段から検索された予測文字列を他
の予測文字列に対して最優先で出力するような並び替え
を行う構成を有している。
According to a twenty-fourth aspect of the present invention, the learning means collects the confirmed predictive character string every time the predictive character string is confirmed by the selecting means, and the search is performed when the character string is input by the user. The means searches the dictionary and the learning means for a character string having the input character string at the beginning, and as a result, when there are a plurality of retrieved predicted character strings, the rearranging means uses the learning means. It has a configuration in which the retrieved predicted character strings are rearranged so as to be output with the highest priority with respect to other predicted character strings.

【0032】請求項25の発明は、前記学習手段は確定
予測文字列の先頭部分を構成する文字列並びに前記確定
予測文字列が収容されている前記辞書の辞書アドレスと
を前記文字列にリンクして収集し、前記検索手段は前記
入力文字列と同じ文字列を前記学習手段から検索する
と、この文字列にリンクして収集されている辞書アドレ
スの文字列を前記辞書から検索し、この検索した文字列
を前記学習手段から検索した予測文字列とする構成を有
している。
According to a twenty-fifth aspect of the present invention, the learning means links the character string forming the head portion of the definite predictive character string and the dictionary address of the dictionary accommodating the definite predictive character string to the character string. When the same character string as the input character string is searched from the learning means, the search means searches the dictionary for a character string of the dictionary address collected by linking to the character string, and performs this search. The character string is a predicted character string retrieved from the learning means.

【0033】請求項26の発明は、入力された文字列を
先頭部分に持つ文字列を辞書に収容されている文字列の
中から検索することにより、前記入力文字列に続く文字
列を予測し、前記辞書から検索された文字列を予測文字
列として出力する文字列予測装置において、文字と共に
文字補完記号を入力する入力手段と、この入力手段から
入力された文字と同じ位置に同一の文字を有し、且つ入
力された文字補完記号の位置に文字を補完して成る文字
列を前記辞書から検索する検索手段と、この検索手段に
より検索された予測文字列を表示する表示手段と、この
表示手段により表示された予測文字列の中で任意の文字
列を確定予測文字として利用者に選択させる選択手段と
を具備した構成を有している。
According to a twenty-sixth aspect of the present invention, the character string following the input character string is predicted by searching the character string stored in the dictionary for the character string having the input character string at the beginning. In a character string prediction device that outputs a character string retrieved from the dictionary as a predicted character string, input means for inputting a character complement symbol together with a character and the same character at the same position as the character input from this input means Retrieval means for retrieving from the dictionary a character string which has the character complemented at the position of the input character complement symbol, display means for displaying the predicted character string retrieved by the retrieving means, and this display And a selecting unit that allows the user to select an arbitrary character string from among the predicted character strings displayed by the means as the fixed predicted character.

【0034】請求項27の発明は、前記入力手段により
文字補完記号のみが入力された場合、前記検索手段は予
測文字列の検索をせずに、前記入力された文字補完記号
をそのまま前記表示手段に出力する構成を有している。
According to a twenty-seventh aspect of the present invention, when only the character complement symbol is input by the input means, the search means does not search for a predicted character string and the input character complement symbol is directly displayed on the display means. It has a configuration for outputting to.

【0035】請求項28の発明は、前記入力手段により
入力される前記文字補完記号を複数種とし、且つ前記検
索手段は文字補完記号の種類に応じてこの文字補完記号
の位置に特定の種類の文字を補完する構成を有してい
る。
According to a twenty-eighth aspect of the present invention, there are a plurality of types of the character completion symbols input by the input means, and the search means has a specific type at the position of the character completion symbol according to the type of the character completion symbol. It has a structure that complements characters.

【0036】請求項29の発明は、前記検索手段により
前記辞書から検索された予測文字列が複数あった場合、
前記検索された予測文字列を一つ或いは複数の基準に基
づいて出力優先順位順に並び替えてから前記表示手段に
出力する並び変え手段を設けた構成を有している。
According to a twenty-ninth aspect of the present invention, when there are a plurality of predicted character strings retrieved from the dictionary by the retrieval means,
There is provided a rearranging means for rearranging the retrieved predicted character strings in the output priority order based on one or a plurality of criteria and then outputting the rearranged character strings to the display means.

【0037】請求項30の発明は、前記選択手段により
予測文字列が確定される毎に、確定された予測文字列を
収集する学習手段と、利用者により文字列が入力される
と、前記検索手段は前記入力文字列を先頭部分に持つ文
字列を前記辞書と前記学習手段の中から検索し、その結
果、検索された予測文字列が複数あった場合、前記並び
変え手段は前記学習手段から検索された予測文字列を他
の予測文字列に対して最優先で出力するような並び替え
を行う構成を有している。
According to a thirtieth aspect of the present invention, the learning means for collecting the determined predicted character string each time the predictive character string is fixed by the selecting means, and the search when the character string is input by the user The means searches the dictionary and the learning means for a character string having the input character string at the beginning, and as a result, when there are a plurality of retrieved predicted character strings, the rearranging means uses the learning means. It has a configuration in which the retrieved predicted character strings are rearranged so as to be output with the highest priority with respect to other predicted character strings.

【0038】請求項31の発明は、前記辞書に収容され
ている文字列はひらがな、漢字或いは漢字混じりひらが
な文字列である構成を有している。
According to a thirty-first aspect of the present invention, the character strings stored in the dictionary are hiragana, kanji or hiragana character strings mixed with kanji.

【0039】請求項32の発明は、前記入力手段により
入力された文字列が前記文字補完記号を含まない文字列
であるかどうかを判定する判定手段を設け、この判定手
段により前記入力された文字列が前記文字補完記号を含
まない文字列と判定された場合は、請求項17乃至25
いずれか記載の文字列予測装置により予測文字列を得る
構成を有している。
According to a thirty-second aspect of the invention, there is provided judging means for judging whether or not the character string inputted by the input means is a character string which does not include the character complement symbol. When the string is determined to be a character string that does not include the character completion symbol, the character string is defined as a character string.
It has a configuration for obtaining a predicted character string by any one of the character string prediction devices.

【0040】請求項33の発明は、文字列を入力して文
書を作成する文書作成装置において、請求項17乃至3
2いずれか記載の文字列予測装置を搭載し、この文字列
予測装置により確定された予測文字列を前記文書内に入
力する構成を有している。
A thirty-third aspect of the present invention is a document creating apparatus for creating a document by inputting a character string, the thirteenth to third aspects.
2 is equipped with the character string prediction device described above, and the predicted character string determined by the character string prediction device is input into the document.

【0041】[0041]

【作用】請求項1の発明の文字列予測方法にあっては、
前記入力文字列の文字数nに加算文字数αを加算した
(n+α)を前記予測文字列が持つ文字数の上限値と
し、この上限値の文字数以下の文字数から成る予測文字
列を前記辞書から検索する。
According to the character string prediction method of the invention of claim 1,
(N + α), which is obtained by adding the number of additional characters α to the number of characters n of the input character string, is set as the upper limit of the number of characters of the predicted character string, and the predicted character string having the number of characters equal to or less than the upper limit value is searched from the dictionary.

【0042】請求項2の発明の文字列予測方法にあって
は、前記加算文字数αは前記入力文字列の文字数nと関
数関係にある変数である。
In the character string prediction method according to the second aspect of the present invention, the added character number α is a variable having a functional relationship with the character number n of the input character string.

【0043】請求項3の発明の文字列予測方法にあって
は、前記加算文字数αは予め設定してある固定値であ
る。
In the character string prediction method according to the third aspect of the present invention, the additional character number α is a preset fixed value.

【0044】請求項4の発明の文字列予測方法にあって
は、前記予測文字列が出力されて利用者により確定され
る毎に、確定された予測文字列の文字数mとこの時の入
力文字数nを収集して、入力文字数nに対する前記文字
数mの関係を統計処理し、この統計処理結果から前記加
算文字数αを求め、求めたこの加算文字数αを用いて前
記辞書から予測文字列を検索する。
According to the character string prediction method of the invention of claim 4, each time the predicted character string is output and is fixed by the user, the fixed character number m of the predicted character string and the input character number at this time are set. n is collected, the relationship between the number of input characters n and the number of characters m is statistically processed, the additional character number α is obtained from the result of the statistical processing, and the predicted character string is searched from the dictionary using the obtained additional character number α. .

【0045】請求項5の発明の文字列予測方法にあって
は、前記辞書から検索された予測文字列が複数あった場
合、一つ或いは複数の基準に基づいて、前記検索された
予測文字列を出力優先順位順に並び替える。
According to the character string prediction method of the invention of claim 5, when there are a plurality of predicted character strings retrieved from the dictionary, the retrieved predicted character strings are based on one or a plurality of criteria. Are sorted in order of output priority.

【0046】請求項6の発明の文字列予測方法にあって
は、前記辞書から検索された予測文字列の文字数を基準
としてこれら予測文字列の出力優先順位を並び替える。
In the character string prediction method according to the sixth aspect of the present invention, the output priority order of these predicted character strings is rearranged on the basis of the number of characters of the predicted character strings retrieved from the dictionary.

【0047】請求項7の発明の文字列予測方法にあって
は、前記辞書に収容されている文字列の使用頻度情報を
この辞書に収容しておき、前記辞書から検索された予測
文字列の使用頻度を基準として前記予測文字列の出力優
先順位を並び替える。
According to the character string prediction method of the invention of claim 7, the usage frequency information of the character string stored in the dictionary is stored in this dictionary, and the predicted character string retrieved from the dictionary is stored. The output priorities of the predicted character strings are rearranged based on the frequency of use.

【0048】請求項8の発明の文字列予測方法にあって
は、前記予測文字列が出力されて利用者により確定され
る毎に確定された予測文字列を収集しておき、その後利
用者により文字列が入力されると、この入力文字列を先
頭部分に持つ文字列を前記辞書と前記収集された確定予
測文字列の中から検索し、その結果、検索された予測文
字列が複数あった場合、前記収集された確定予測文字列
の中から検索された予測文字列の出力優先順位を最優先
で上位にするようにこれら予測文字列の出力優先順位を
並び替える。
According to the character string prediction method of the invention of claim 8, each time the predicted character string is output and is fixed by the user, the fixed predicted character string is collected, and then the user predicts it. When a character string is input, a character string having this input character string at the beginning is searched from the dictionary and the collected definite predictive character string, and as a result, there are a plurality of predicted character strings searched. In this case, the output priority order of these predicted character strings is rearranged so that the output priority order of the predicted character strings retrieved from the collected definite predictive character strings is the highest priority.

【0049】請求項9の発明の文字列予測方法にあって
は、前記確定予測文字列の収集は、確定予測文字列の先
頭部分を構成する入力文字列と、この確定予測文字列が
収容されている前記辞書の辞書アドレスを学習テーブル
内に収集することにより行われる。
In the character string predicting method of the present invention, the definite predictive character string is collected by accommodating the input character string forming the head portion of the definite predictive character string and the definite predictive character string. This is done by collecting in the learning table the dictionary addresses of said dictionaries.

【0050】請求項10の発明の文字列予測方法にあっ
ては、文字と共に文字補完記号を利用者が入力すると、
入力された文字と同じ位置に同一の文字を有し、且つ入
力された文字補完記号の位置に文字を補完して成る文字
列を前記辞書から検索して予測文字列を得る。
According to the character string prediction method of the tenth aspect of the invention, when the user inputs the character complement symbol together with the character,
A predicted character string is obtained by searching the dictionary for a character string having the same character at the same position as the input character and complementing the character at the position of the input character completion symbol.

【0051】請求項11の発明の文字列予測方法にあっ
ては、前記入力された文字が文字補完記号のみであった
場合は、予測文字列の検索はせず、前記入力された文字
補完記号をそのまま出力する。
In the character string prediction method according to the invention of claim 11, when the input character is only the character completion symbol, the predicted character string is not searched and the input character completion symbol is not searched. Is output as is.

【0052】請求項12の発明の文字列予測方法にあっ
ては、前記文字補完記号を複数種とし、入力された文字
補完記号の種類に応じてこの位置に補完する文字の種類
を特定している。
In the character string prediction method according to the invention of claim 12, a plurality of types of the character complement symbols are used, and the type of character to be complemented at this position is specified according to the type of the input character complement symbol. There is.

【0053】請求項13の発明の文字列予測方法にあっ
ては、前記検索された予測文字列が複数あった場合、一
つ或いは複数の基準に基づいて、前記検索された予測文
字列を出力優先順位順に並び替える。
In the character string prediction method of the thirteenth aspect, when there are a plurality of retrieved predicted character strings, the retrieved predicted character string is output based on one or a plurality of criteria. Sort by priority.

【0054】請求項14の発明の文字列予測方法にあっ
ては、前記予測文字列が出力されて利用者により確定さ
れる毎に確定予測文字列を収集しておき、利用者により
文字列が入力されると、この入力文字列を先頭部分に持
つ文字列を前記辞書と前記収集された確定予測文字列の
中から検索し、その結果、検索された予測文字列が複数
あった場合、前記収集された確定予測文字列の中から検
索された予測文字列の出力優先順位を最優先で上位にす
るようにこれら予測文字列の出力優先順位を並び替え
る。
In the character string prediction method of the fourteenth aspect of the present invention, a fixed predicted character string is collected every time the predicted character string is output and fixed by the user, and the character string is set by the user. When input, a character string having this input character string at the beginning is searched from the dictionary and the collected definite predictive character string, and as a result, when there are a plurality of predicted character strings searched, the The output priority order of these predicted character strings is rearranged so that the output priority order of the predicted character strings retrieved from the collected definite predictive character strings is the highest priority.

【0055】請求項15の発明の文字列予測方法にあっ
ては、前記辞書に収容されている文字列はひらがな、漢
字或いは漢字混じりひらがな文字列である。
In the character string prediction method of the fifteenth aspect of the present invention, the character strings stored in the dictionary are hiragana, kanji, or hiragana character strings mixed with kanji.

【0056】請求項16の発明の文字列予測方法にあっ
ては、前記入力された文字列が前記文字補完記号を含ま
ない文字列であった場合、請求項1乃至9いずれか記載
の文字列予測方法により予測文字列を得る。
In the character string prediction method of the invention of claim 16, in the case where the input character string is a character string which does not include the character completion symbol, the character string of any one of claims 1 to 9 A predicted character string is obtained by the prediction method.

【0057】請求項17の発明の文字列予測装置におい
て、計数手段は文字列の文字数を計数する。数値供給手
段は加算文字数αを供給する。加算手段は前記数値供給
手段から供給される加算文字数αを前記計数手段により
計数された前記入力文字列の文字数nに加算する。検索
手段は前記加算手段から得られる(n+α)を前記予測
文字列が持つ文字数の上限値とし、この上限値の文字数
以下の文字数から成る予測文字列を前記辞書から検索す
る。表示手段は前記検索手段により検索された予測文字
列を表示する。選択手段は前記表示手段により表示され
た予測文字列の中で任意の文字列を確定予測文字として
利用者に選択させる。
In the character string prediction device of the seventeenth aspect of the present invention, the counting means counts the number of characters in the character string. The numerical value supply means supplies the additional character number α. The adding means adds the added character number α supplied from the numerical value supplying means to the character number n of the input character string counted by the counting means. The searching means sets (n + α) obtained from the adding means as an upper limit of the number of characters that the predicted character string has, and searches the dictionary for a predicted character string having a number of characters equal to or less than the upper limit value. The display means displays the predicted character string retrieved by the retrieval means. The selection unit causes the user to select an arbitrary character string as the confirmed predicted character from the predicted character strings displayed by the display unit.

【0058】請求項18の発明の文字列予測装置におい
ては、前記数値供給手段から供給される前記加算文字数
αは前記計数手段で計数される入力文字列の文字数nと
関数関係にある変数である。
In the character string predicting apparatus of the eighteenth aspect of the present invention, the additional character number α supplied from the numerical value supplying means is a variable having a functional relationship with the character number n of the input character string counted by the counting means. .

【0059】請求項19の発明の文字列予測装置におい
ては、前記数値供給手段から供給される前記加算文字数
αは予めこの手段に設定してある固定値である。
In the character string predicting device of the nineteenth aspect of the present invention, the additional character number α supplied from the numerical value supply means is a fixed value preset in this means.

【0060】請求項20の発明の文字列予測装置におい
ては、収集手段は前記選択手段により予測文字列が確定
される毎に、前記計数手段により前記確定予測文字列の
文字数を計数して得た文字数mと、この時、前記計数手
段により既に計数されている入力文字数nとを収集す
る。演算手段は前記収集手段により収集された入力文字
数nに対する前記文字数mの関係を統計処理する。加算
値更新手段は前記演算手段による統計処理結果から前記
加算文字数αを求める。前記加算値供給手段は前記加算
値更新手段により求めた加算文字数αを前記検索手段に
供給する。
In the character string predicting apparatus of the invention of claim 20, the collecting means obtains by counting the number of characters of the confirmed predictive character string by the counting means every time the predicting character string is confirmed by the selecting means. The number of characters m and the number of input characters n already counted by the counting means at this time are collected. The calculating means statistically processes the relationship between the number of input characters n collected by the collecting means and the number of characters m. The addition value updating means obtains the addition character number α from the statistical processing result by the calculating means. The additional value supplying means supplies the additional character number α obtained by the additional value updating means to the searching means.

【0061】請求項21の発明の文字列予測装置におい
ては、並び変え手段は前記検索手段により前記辞書から
検索された予測文字列が複数あった場合、前記検索され
た予測文字列を一つ或いは複数の基準に基づいて出力優
先順位順に並び替えてから前記表示手段に出力する。
In the character string predicting apparatus of the twenty-first aspect of the invention, when there is a plurality of predictive character strings retrieved from the dictionary by the retrieving means, the rearranging means selects one of the retrieved predictive character strings. The data is sorted in the output priority order based on a plurality of criteria and then output to the display means.

【0062】請求項22の発明の文字列予測装置におい
ては、前記並び変え手段は前記検索手段により検索され
た予測文字列を前記計数手段により計数した文字数を基
準として、前記検索された予測文字列の出力優先順位を
並び替える。
In the character string predicting apparatus of the twenty-second aspect of the present invention, the rearrangement means searches the predicted character string based on the number of characters counted by the counting means for the predicted character string searched by the searching means. Rearrange the output priority of.

【0063】請求項23の発明の文字列予測装置におい
ては、辞書は文字列の使用頻度情報を収容している。前
記並び変え手段は前記検索手段により前記辞書から検索
された予測文字列の使用頻度を基準として前記検索され
た予測文字列の出力優先順位を並び替える。
In the character string predicting apparatus of the twenty-third aspect of the invention, the dictionary stores the frequency-of-use information of the character string. The rearranging unit rearranges the output priority order of the retrieved predicted character strings based on the frequency of use of the predicted character strings retrieved from the dictionary by the searching unit.

【0064】請求項24の発明の文字列予測装置におい
ては、学習手段は前記選択手段により予測文字列が確定
される毎に、確定された予測文字列を収集する。利用者
により文字列が入力されると、前記検索手段は前記入力
文字列を先頭部分に持つ文字列を前記辞書と前記学習手
段の中から検索し、その結果、検索された予測文字列が
複数あった場合、前記並び変え手段は前記学習手段から
検索された予測文字列を他の予測文字列に対して最優先
で出力するような並び替えを行う。
In the character string predicting device of the twenty-fourth aspect of the invention, the learning means collects the confirmed predicted character string every time the selecting means determines the predicted character string. When the user inputs a character string, the search means searches the dictionary and the learning means for a character string having the input character string at the head portion, and as a result, a plurality of searched predicted character strings are searched. If there is, the rearrangement unit performs rearrangement so that the predicted character string retrieved by the learning unit is output with the highest priority with respect to other predicted character strings.

【0065】請求項25の発明の文字列予測装置におい
ては、前記学習手段は確定予測文字列の先頭部分を構成
する文字列並びに前記確定予測文字列が収容されている
前記辞書の辞書アドレスとを前記文字列にリンクして収
集し、前記検索手段は前記入力文字列と同じ文字列を前
記学習手段から検索すると、この文字列にリンクして収
集されている辞書アドレスの文字列を前記辞書から検索
し、この検索した文字列を前記学習手段から検索した予
測文字列とする。
In the character string predicting apparatus of the twenty-fifth aspect of the present invention, the learning means stores the character string forming the head portion of the definite predictive character string and the dictionary address of the dictionary containing the definite predictive character string. When the search means searches the learning means for the same character string as the input character string, the character string of the dictionary address collected by linking to the character string is collected from the dictionary. A search is performed, and this retrieved character string is used as the predicted character string retrieved from the learning means.

【0066】請求項26の発明の文字列予測装置におい
ては、入力手段は文字と共に文字補完記号を入力する。
検索手段は前記入力手段から入力された文字と同じ位置
に同一の文字を有し、且つ入力された文字補完記号の位
置に文字を補完して成る文字列を前記辞書から検索す
る。表示手段は前記検索手段により検索された予測文字
列を表示する。選択手段は前記表示手段により表示され
た予測文字列の中で任意の文字列を確定予測文字として
利用者に選択させる。
In the character string predicting device of the twenty-sixth aspect of the invention, the input means inputs the character complement symbol together with the character.
The search means searches the dictionary for a character string having the same character at the same position as the character input from the input means and complementing the character at the position of the input character completion symbol. The display means displays the predicted character string retrieved by the retrieval means. The selection unit causes the user to select an arbitrary character string as the confirmed predicted character from the predicted character strings displayed by the display unit.

【0067】請求項27の発明の文字列予測装置におい
ては、前記入力手段により文字補完記号のみが入力され
た場合、前記検索手段は予測文字列の検索をせずに、前
記入力された文字補完記号をそのまま前記表示手段に出
力する。
In the character string predicting device of the twenty-seventh aspect of the present invention, when only the character complement symbol is input by the input means, the searching means does not search for the predicted character string, but the input character complement. The symbol is output as it is to the display means.

【0068】請求項28の発明の文字列予測装置におい
ては、前記入力手段により入力される前記文字補完記号
を複数種とし、且つ前記検索手段は文字補完記号の種類
に応じてこの文字補完記号の位置に特定の種類の文字を
補完する。
In the character string prediction device of the twenty-eighth aspect of the present invention, there are a plurality of types of the character completion symbols input by the input means, and the retrieval means generates the character completion symbols according to the type of the character completion symbols. Completing a particular type of character at a position.

【0069】請求項29の発明の文字列予測装置におい
ては、並び変え手段は前記検索手段により前記辞書から
検索された予測文字列が複数あった場合、前記検索され
た予測文字列を一つ或いは複数の基準に基づいて出力優
先順位順に並び替えてから前記表示手段に出力する。
In the character string prediction apparatus of the 29th aspect of the invention, when there is a plurality of predicted character strings retrieved from the dictionary by the retrieving means, the rearranging means may use one of the retrieved predictive character strings. The data is sorted in the output priority order based on a plurality of criteria and then output to the display means.

【0070】請求項30の発明の文字列予測装置におい
ては、学習手段は前記選択手段により予測文字列が確定
される毎に、確定された予測文字列を収集する。利用者
により文字列が入力されると、前記検索手段は前記入力
文字列を先頭部分に持つ文字列を前記辞書と前記学習手
段の中から検索し、その結果、検索された予測文字列が
複数あった場合、前記並び変え手段は前記学習手段から
検索された予測文字列を他の予測文字列に対して最優先
で出力するような並び替えを行う。
In the character string predicting apparatus of the thirtieth aspect, the learning means collects the confirmed predicted character string every time the selecting means determines the predicted character string. When the user inputs a character string, the search means searches the dictionary and the learning means for a character string having the input character string at the head portion, and as a result, a plurality of searched predicted character strings are searched. If there is, the rearrangement unit performs rearrangement so that the predicted character string retrieved by the learning unit is output with the highest priority with respect to other predicted character strings.

【0071】請求項31の発明の文字列予測装置におい
ては、前記辞書に収容されている文字列はひらがな、漢
字或いは漢字混じりひらがな文字列である。
In the character string predicting apparatus of the thirty-first aspect of the invention, the character strings stored in the dictionary are hiragana, kanji, or hiragana character strings mixed with kanji.

【0072】請求項32の発明の文字列予測装置におい
ては、判定手段は前記入力手段により入力された文字列
が前記文字補完記号を含まない文字列であるかどうかを
判定する。この判定手段により前記入力された文字列が
前記文字補完記号を含まない文字列と判定された場合
は、請求項17乃至25いずれか記載の文字列予測装置
により予測文字列を得る。
In the character string predicting device of the thirty-second aspect of the invention, the judging means judges whether or not the character string input by the input means is a character string that does not include the character completion symbol. When the input character string is determined to be a character string that does not include the character complement symbol by the determination means, a predicted character string is obtained by the character string prediction device according to any one of claims 17 to 25.

【0073】請求項33の発明の文書作成装置において
は、請求項17乃至32いずれか記載の文字列予測装置
を搭載し、この文字列予測装置により確定された予測文
字列を前記文書内に入力する。
A document creating apparatus according to a thirty-third aspect of the invention is equipped with the character string predicting apparatus according to any one of the seventeenth to thirty-second aspects, and a predicted character string determined by the character string predicting apparatus is input into the document. To do.

【0074】[0074]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明の文字列予測方法を用いた本発明
の文字列予測装置の一実施例を示したブロック図であ
る。文字列予測装置は入力部1、入力バッファ2、辞書
検索部3、単語辞書4、文字列出力部5及び表示部6か
ら成っている。ここで、上記した各ブロックの機能につ
いて説明する。入力部1は手書きタブレット等から得ら
れる座標データから手書き文字を認識することで文字列
を入力するか、又はキーボード等から成っている。入力
バッファ2は入力部1から入力された文字列を予測対象
となるまで保存する。辞書検索部3は入力された文字列
を先頭部分に持つ予測文字列を単語辞書4から検索す
る。単語辞書4はひらがな、漢字、漢字混じりひらがな
から成る文字列を収容している。文字列出力部5は予測
文字列等を表示部6の画面に表示する。表示部6はLC
DやCRT等からなり、入力文字列や予測文字列などを
表示する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a character string prediction device of the present invention using the character string prediction method of the present invention. The character string prediction device includes an input unit 1, an input buffer 2, a dictionary search unit 3, a word dictionary 4, a character string output unit 5, and a display unit 6. Here, the function of each block described above will be described. The input unit 1 inputs a character string by recognizing a handwritten character from coordinate data obtained from a handwriting tablet or the like, or includes a keyboard or the like. The input buffer 2 stores the character string input from the input unit 1 until it becomes a prediction target. The dictionary search unit 3 searches the word dictionary 4 for a predicted character string having the input character string at the beginning. The word dictionary 4 contains a character string composed of hiragana, kanji, and hiragana mixed with kanji. The character string output unit 5 displays the predicted character string and the like on the screen of the display unit 6. The display unit 6 is LC
It consists of D, CRT, etc., and displays input character strings, predicted character strings, and the like.

【0075】次に本実施例の動作について説明する。利
用者は文字(列)を入力部1から入力している時に、後
に続く文字列を装置に予測させたい場合、入力部1に予
め設定されている予測キーを押す。入力部1は入力され
た文字列を一旦入力バッファ2に格納するが、前記予測
キーが押された時点で、それまで入力バッファ2に入力
された文字列を入力文字列(既入力文字列に同じ)とし
て、辞書検索部3に出力する。例えば、利用者が「と」
と入力した時点で、前記予測キーを押した場合、入力バ
ッファ2から「と」が入力文字列として、辞書検索部3
に出力され、利用者が「とり」と入力した時点で、前記
予測キーを押した場合、入力バッファ2から「とり」が
入力文字列として、辞書検索部3に出力される。
Next, the operation of this embodiment will be described. When the user is inputting a character (string) from the input unit 1 and wants the device to predict a subsequent character string, the user presses a prediction key preset in the input unit 1. The input unit 1 temporarily stores the input character string in the input buffer 2, but when the prediction key is pressed, the character string input in the input buffer 2 until then is input character string The same) is output to the dictionary search unit 3. For example, if the user is "to"
When the prediction key is pressed at the time of inputting, "to" is input from the input buffer 2 as an input character string, and the dictionary search unit 3
If the prediction key is pressed when the user inputs "Tori", "Tori" is output from the input buffer 2 to the dictionary retrieval unit 3 as an input character string.

【0076】辞書検索部3は、入力バッファ2からの入
力文字列を先頭部分に持ち、且つこの入力文字列の文字
数nと予め設定されている加算文字数αの和(n+α)
以下でn以上の文字数から成る文字列を単語辞書4から
予測文字列候補として検索し、得られた予測文字列候補
を文字列出力部5に送る。これにより、辞書検索部3は
単語辞書4から検索される予測文字列候補を構成する文
字数の上限を決めることにより、検索する予測文字列候
補の数を絞り込んでいる。但し、前記加算文字数αは辞
書検索部3に予め設定されている。ここで、上記のよう
に検索する予測文字列候補の数を絞り込む際の考え方に
ついて説明する。利用者が長い文字列を予測させたい場
合は、最初に入力する文字列は長く、又、利用者が短い
文字列を予測させたい場合は、最初に入力する文字列も
短くなる。このため、利用者が入力を意図した予測文字
列の文字数から最初に入力する文字列の文字数を減算す
ると、上限値が見付かり、この上限値を越えた文字数の
文字列が予測文字列候補になることは無いと考えられ
る。従って、最初に入力する文字列の文字数に一定の数
を加算した文字数αを予測文字列が有する最大の文字数
に限定しても、この中に利用者が入力を意図する予測文
字列が含まれる確率が高いため、上記のような限定をし
ても、入力を意図する予測文字列が候補の中から漏れる
ことがないと考えられる。
The dictionary retrieval unit 3 has the input character string from the input buffer 2 at the head portion, and the sum of the character number n of this input character string and the preset addition character number α (n + α).
In the following, a character string consisting of n or more characters is searched from the word dictionary 4 as a predicted character string candidate, and the obtained predicted character string candidate is sent to the character string output unit 5. As a result, the dictionary search unit 3 narrows down the number of predicted character string candidates to be searched by determining the upper limit of the number of characters constituting the predicted character string candidates searched from the word dictionary 4. However, the added character number α is preset in the dictionary search unit 3. Here, a concept for narrowing down the number of predicted character string candidates to be searched as described above will be described. If the user wants to predict a long character string, the first character string to input is long, and if the user wants to predict a short character string, the first character string to input is also short. Therefore, if you subtract the number of characters in the first input string from the number of characters in the predicted character string that the user intended to input, the upper limit value is found, and the character string with the number of characters exceeding this upper limit value becomes the predicted character string candidate. It seems that there is nothing. Therefore, even if the number of characters α obtained by adding a certain number to the number of characters of the character string to be input first is limited to the maximum number of characters that the predicted character string has, the predicted character string that the user intends to input is included in this. Since the probability is high, it is considered that the predicted character string intended for input will not be leaked from the candidates even with the above limitation.

【0077】次に、文字列出力部5は送られてきた予測
文字列を表示部6に表示する。文字列出力部5の予測文
字列の表示の仕方は、渡された予測文字列候補を表示部
6に一覧表示するか、利用者からの次候補出力指示があ
る毎に、渡された順番で順次表示する。利用者は表示部
6に表示された予測文字列の中で望むものがあれば、入
力部1を操作してこれを選択することにより、予測文字
列を確定する。
Next, the character string output unit 5 displays the sent predicted character string on the display unit 6. The method of displaying the predicted character string of the character string output unit 5 is as follows: the predicted character string candidates that have been passed are displayed in a list on the display unit 6 or the order in which they are passed is given each time there is a next candidate output instruction from the user. Display sequentially. If there is a desired predicted character string displayed on the display unit 6, the user operates the input unit 1 to select the desired character string, thereby determining the predicted character string.

【0078】図2は上記した文字列予測処理手順を示し
たフローチャートである。入力部1はステップ201に
て入力バッファ2を初期化した後、ステップ202にて
入力した文字をステップ203にて入力バッファ2に格
納する。入力部1はステップ204にて予測キーが押さ
れて、入力バッファ2内の文字列が予測対象となったか
どうかを判定し、ならない場合はステップ202に戻っ
て文字の入力を繰り返し、予測対象となった場合はステ
ップ205へ進む。辞書検索部3はステップ205にて
入力バッファ2から送られた文字列を先頭に持つ予測文
字列候補を上記した文字数の制限の範囲で単語辞書4か
ら検索し、検索した予測文字列候補を文字列出力部5に
送る。文字列出力部5はステップ206にて表示部6に
渡された予測文字列候補を一覧表示する。利用者はステ
ップ207にて表示部6に表示されている予測文字列候
補の中から所望のものを選択する。しかし、所望の文字
列がない場合は入力部1から新たな文字の入力を行う。
入力部1はステップ208にて予測文字列が確定したか
どうかを判定し、確定していない場合はステップ202
に戻って、文字の入力と予測を繰り返し、確定した場合
はステップ209に進む。文字列出力部5は確定した予
測文字列のみを表示部6に表示する。尚、入力部1は利
用者による予測文字列の選択がなく、新たな文字の入力
があると前記予測文字列は確定されていないと判定す
る。
FIG. 2 is a flow chart showing the above-mentioned character string prediction processing procedure. The input unit 1 initializes the input buffer 2 in step 201, and then stores the character input in step 202 in the input buffer 2 in step 203. The input unit 1 determines whether or not the prediction key is pressed in step 204 and the character string in the input buffer 2 is the prediction target. If not, the process returns to step 202 to repeat the input of characters, If not, go to step 205. The dictionary search unit 3 searches the word dictionary 4 for a predicted character string candidate having the character string sent from the input buffer 2 at the head in step 205 within the above-described character number limit, and searches the predicted character string candidate for the character string. It is sent to the column output unit 5. The character string output unit 5 displays a list of predicted character string candidates passed to the display unit 6 in step 206. At step 207, the user selects a desired predicted character string candidate displayed on the display unit 6. However, if there is no desired character string, a new character is input from the input unit 1.
The input unit 1 determines in step 208 whether or not the predicted character string is confirmed, and if not confirmed, in step 202
Returning to step 2, the input of characters and prediction are repeated, and if confirmed, the process proceeds to step 209. The character string output unit 5 displays only the confirmed predicted character string on the display unit 6. It should be noted that the input unit 1 determines that the predicted character string is not finalized when the user does not select the predicted character string and inputs a new character.

【0079】図3は図1に示した辞書検索部3により単
語辞書4から検索された予測文字列候補例を示した図で
ある。予測に際して、例えば加算文字数α=2とする
と、(入力文字数n+2)が予測文字列候補の文字数の
上限値となる。図3(A)のように利用者から例えば
「あさ」と入力された場合には「あさがお(朝顔)」、
「あさひ(朝日)」、「あさ(朝)」といった2〜4文
字の文字列が予測文字列として検索される。又、図3
(B)のように「あさひ」と入力された場合には、予測
文字列の文字数の上限値が5文字に変わるため、例えば
「あさひかわ(旭川)」のような5文字の文字列が予測
文字列候補に新たに加わることになる。
FIG. 3 is a diagram showing an example of predicted character string candidates retrieved from the word dictionary 4 by the dictionary retrieval unit 3 shown in FIG. In the prediction, if the number of added characters α = 2, for example, (the number of input characters n + 2) becomes the upper limit of the number of characters of the predicted character string candidate. As shown in FIG. 3A, when the user inputs “Asa”, for example, “Asa-o (morning glory)”,
A character string of 2 to 4 characters such as “Asahi (Asahi)” and “Asa (Asahi)” is searched as a predicted character string. Also, FIG.
When "Asahi" is entered as in (B), the upper limit of the number of characters in the predicted character string changes to 5 characters, so a 5-character string such as "Asahikawa (Asahikawa)" is predicted. It will be newly added to the character string candidates.

【0080】本実施例によれば、辞書検索部3は入力文
字列の文字数nに加算文字数αを加算した文字数を上限
の文字数とする予測文字列候補を単語辞書4から検索す
るため、検索される予測文字列候補の数を利用者が入力
を意図する予測文字列を漏らすことなく、絞り込むこと
ができ、利用者が意図する予測文字列を選択し易いよう
にすることができると共に、その検索時間を短時間化し
て処理速度を向上させることができる。又、予測文字列
候補を表示部6に一覧表示する際に、上記のように予測
文字列候補の数が絞り込まれるため、表示部6に一覧表
示するスペースを無理なく確保することができる。尚、
上記実施例では、利用者により入力された最初の文字列
の文字数nに一定の文字数αを加算した文字数からなる
予測文字列候補を検索するようにしたが、前記入力文字
数nに加算するαを入力文字数nの関数として、入力文
字列の文字数に応じて変化させる構成とすることもで
き、このようにすることにより、予測文字列候補の検索
数の絞り込みを更に有効に行うことができる。即ち、こ
の場合、α=f(n)で表され、その予測文字列候補の
文字数の上限値は{n+f(n)}となる。又、辞書検
索部3が検索する予測文字列候補の上限値を設定するだ
けでなく、下限値をn以外に設定したり、入力された文
字数と予測文字列の文字数の対応表等を用いて、予測す
る文字列の文字数範囲を設定してもよい。更に、入力バ
ッファ2内の文字列が予測対象になったことを判断する
方法として、本例の予測キーの押下以外の他の方法を用
いてもよい。
According to the present embodiment, the dictionary search unit 3 searches the word dictionary 4 for a predictive character string candidate having the upper limit of the number of characters obtained by adding the number of added characters α to the number of characters n of the input character string. The number of predicted character string candidates to be input can be narrowed down without leaking the predicted character string that the user intends to input, and it is possible for the user to easily select the predicted character string that is intended and to search for it. The processing time can be improved by shortening the time. Further, when the list of predicted character string candidates is displayed on the display unit 6, the number of predicted character string candidates is narrowed down as described above, so that a space for displaying a list on the display unit 6 can be secured without difficulty. still,
In the above-described embodiment, the predicted character string candidate having the number of characters obtained by adding a certain number of characters α to the number of characters n of the first character string input by the user is searched, but α to be added to the number n of input characters is searched. As a function of the input character number n, the number of input character strings can be changed according to the number of characters in the input character string. By doing so, it is possible to more effectively narrow down the number of searches for predicted character string candidates. That is, in this case, α = f (n), and the upper limit of the number of characters of the predicted character string candidate is {n + f (n)}. Further, not only is the upper limit value of the predicted character string candidates searched by the dictionary search unit 3 set, but the lower limit value is set to a value other than n, or the correspondence table of the number of input characters and the number of characters of the predicted character string is used. The character number range of the predicted character string may be set. Further, as a method for determining that the character string in the input buffer 2 has been a prediction target, a method other than pressing the prediction key of this example may be used.

【0081】図4は本発明の他の実施例を示したブロッ
ク図である。文字列予測装置は入力部1、入力バッファ
2、辞書検索部3、単語辞書4、文字列出力部5、表示
部6、予測候補制御部7及び候補バッファ8から成って
いる。ここで、上記した各ブロックの中で図1に示した
装置に用いられていない、又はその機能が異なるブロッ
クの機能について説明する。単語辞書4はひらがな、漢
字、漢字混じりひらがなから成る文字列と各文字列の使
用頻度情報を収容している。文字列候補制御部7は予測
文字列を出力優先順位順に並び替えた後、文字列出力部
5に出力する。表示部6は入力文字列や予測文字列など
を表示する。
FIG. 4 is a block diagram showing another embodiment of the present invention. The character string prediction device includes an input unit 1, an input buffer 2, a dictionary search unit 3, a word dictionary 4, a character string output unit 5, a display unit 6, a prediction candidate control unit 7, and a candidate buffer 8. Here, the functions of the blocks that are not used in the device shown in FIG. 1 or have different functions among the above blocks will be described. The word dictionary 4 contains a character string consisting of hiragana, kanji, and hiragana mixed with kanji, and usage frequency information of each character string. The character string candidate control unit 7 rearranges the predicted character strings in the output priority order and then outputs them to the character string output unit 5. The display unit 6 displays an input character string, a predicted character string, and the like.

【0082】次に本実施例の動作について図5のフロー
チャートを参照して説明する。入力部1はステップ50
1にて入力バッファ2を初期化した後、ステップ502
にて文字を入力し、入力した文字をステップ503にて
入力バッファ2に格納する。入力部1はステップ504
にて予測キーが押されて、入力バッファ2内の文字列が
予測対象となったかどうかを判定し、ならない場合はス
テップ502に戻って文字の入力を繰り返す。予測対象
となった場合はステップ505へ進む。辞書検索部3は
ステップ505にて入力バッファ2から送られた文字列
を先頭に持つ予測文字列候補を単語辞書4から検索し、
検索した予測文字列を候補バッファ8に格納する。この
時、辞書検索部3は検索した予測文字列候補の使用頻度
情報も前記単語辞書4から抽出して候補バッファ8に格
納する。ここで、辞書検索部3は、入力バッファ2から
の入力文字列を先頭部分に持ち、且つこの入力文字列の
文字数nと予め設定した加算文字数αの和(n+α)よ
りも少ない文字数の文字列を単語辞書4から予測文字列
候補として検索する。但し、α=f(n)としてもよ
い。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Input unit 1 is step 50
After initializing the input buffer 2 in step 1, step 502
The character is input at, and the input character is stored in the input buffer 2 at step 503. The input unit 1 is step 504.
At, the prediction key is pressed to determine whether or not the character string in the input buffer 2 has become the prediction target. If not, the process returns to step 502 to repeat the character input. If it is a prediction target, the process proceeds to step 505. The dictionary search unit 3 searches the word dictionary 4 for a predicted character string candidate having the character string sent from the input buffer 2 at the head in step 505,
The retrieved predicted character string is stored in the candidate buffer 8. At this time, the dictionary retrieval unit 3 also extracts the usage frequency information of the retrieved predicted character string candidate from the word dictionary 4 and stores it in the candidate buffer 8. Here, the dictionary search unit 3 has a character string having the input character string from the input buffer 2 at the head portion and having a character number smaller than the sum (n + α) of the character number n of this input character string and the preset additional character number α. Is searched as a predicted character string candidate from the word dictionary 4. However, α = f (n) may be set.

【0083】予測候補制御部7はステップ506にて候
補バッファ8に格納された予測文字列候補をその使用頻
度情報により出力優先順位順に並び替えた後、並び替え
た予測文字列候補を文字列出力部5に送る。文字列出力
部5はステップ507にて送られてきた予測文字列候補
を表示部6に表示する。文字列出力部5の予測文字列候
補の表示の仕方は、出力優先順位第1位の予測文字列候
補を最初に表示し、入力部1から次候補選択指示がある
と、第2順位の予測文字列候補を表示する。第3順位以
降の予測文字列候補の表示も同様である。或いは、文字
列出力部5は渡された予測文字列候補を出力優先順位順
に表示部6に一覧表示してもよい。利用者はステップ5
08にて入力部1を操作して予測文字列候補の中から所
望のものを選択する。これにより、入力部1はステップ
509にて予測文字列が確定したかどうかを判定し、確
定していない場合はステップ502に戻って、文字の入
力と予測を繰り返し、確定した場合はステップ510に
進む。文字列出力部5はステップ510にて確定した予
測文字列を表示部6に表示する。
The predictive candidate control unit 7 rearranges the predictive character string candidates stored in the candidate buffer 8 in step 506 in the output priority order according to the usage frequency information, and then outputs the rearranged predictive character string candidates as a character string. Send to Part 5. The character string output unit 5 displays the predicted character string candidates sent in step 507 on the display unit 6. The method of displaying the predicted character string candidates of the character string output unit 5 is such that the predicted character string candidate having the first output priority is displayed first, and if the next candidate selection instruction is given from the input unit 1, the second character prediction is performed. Display character string candidates. The same applies to the display of the predicted character string candidates in the third and subsequent ranks. Alternatively, the character string output unit 5 may display a list of the passed predicted character string candidates on the display unit 6 in order of output priority. User step 5
At 08, the input unit 1 is operated to select a desired predictive character string candidate. As a result, the input unit 1 determines whether or not the predicted character string is fixed in step 509. If the predicted character string is not fixed, the process returns to step 502 to repeat the character input and prediction, and if the character string is fixed, the process proceeds to step 510. move on. The character string output unit 5 displays the predicted character string confirmed in step 510 on the display unit 6.

【0084】本実施例によれば、辞書検索部3によりそ
の文字数を限定して検索された予測文字列候補を出力優
先順位順に並び替えて表示部6に表示することができ、
利用者が望む予測文字列の選択を容易にすることができ
ると共に、第1順位で利用者が望む予測文字列を表示す
る確率を高め、装置の操作性を向上させることができ
る。尚、予測候補制御部7は、文字数の多い予測文字列
候補程、その優先順位を上位にする並び替えを行っても
よい。この理由は、利用者が入力する文字を予測させた
い場合、長い文字列の単語を入力していたのでは大変な
ので、先頭の数文字を入力するだけで、後は装置に予測
させようというのが一般的な考えである。この考え方に
よると、予測文字列候補の中でその文字数が多いものほ
ど利用者が入力を意図した文字列である可能性が高くな
ると考察されるためである。又、この予測文字列候補の
文字数により優先順位を決める方法と、単語辞書4に収
容されている使用頻度情報に基づいて決める方法を併用
してもよい。この場合、使用頻度情報による出力優先順
位の決定を優先とし、使用頻度が同じ予測文字列候補の
場合その文字数の多寡により更に優先順位を決定するこ
とになる。
According to the present embodiment, the predictive character string candidates retrieved by limiting the number of characters by the dictionary retrieval unit 3 can be rearranged in the output priority order and displayed on the display unit 6,
It is possible to facilitate the selection of the predicted character string desired by the user, increase the probability of displaying the predicted character string desired by the user in the first order, and improve the operability of the device. The prediction candidate control unit 7 may rearrange the predicted character string candidates having a larger number of characters so that the priority order thereof is higher. The reason for this is that if you want to predict the characters that the user will input, it is difficult to enter a word in a long character string, so just enter the first few characters and let the device predict the rest. Is the general idea. According to this idea, it is considered that the larger the number of characters among the predicted character string candidates, the higher the possibility that the character string is intended for input by the user. Further, the method of determining the priority order based on the number of characters of the predicted character string candidate and the method of determining based on the usage frequency information stored in the word dictionary 4 may be used together. In this case, priority is given to the determination of the output priority order based on the usage frequency information, and in the case of predicted character string candidates having the same usage frequency, the priority order is further determined based on the number of characters.

【0085】図6は本発明の他の実施例を示したブロッ
ク図である。文字列予測装置は入力部1、入力バッファ
2、辞書検索部3、単語辞書4、文字列出力部5、表示
部6、予測候補制御部7、候補バッファ8、入力学習部
9及び学習テーブル10から成っている。ここで、上記
した各ブロックの中で図4に示した装置に用いられてい
ないブロックの機能について説明する。入力学習部9は
予測文字列が利用者により確定した際に、予測のキーと
なった入力部1から入力された文字列をその確定文字列
の辞書アドレスと共に学習テーブル10に格納する。学
習テーブル10は入力された文字列とその確定文字列の
辞書アドレスを格納する。
FIG. 6 is a block diagram showing another embodiment of the present invention. The character string prediction device includes an input unit 1, an input buffer 2, a dictionary search unit 3, a word dictionary 4, a character string output unit 5, a display unit 6, a prediction candidate control unit 7, a candidate buffer 8, an input learning unit 9, and a learning table 10. Made of. Here, among the above-mentioned blocks, the functions of blocks not used in the apparatus shown in FIG. 4 will be described. When the predicted character string is confirmed by the user, the input learning unit 9 stores in the learning table 10 the character string input from the input unit 1 serving as a prediction key together with the dictionary address of the confirmed character string. The learning table 10 stores the input character string and the dictionary address of the confirmed character string.

【0086】次に本実施例の動作について図7のフロー
チャートを参照して説明する。入力部1はステップ70
1にて入力バッファ2を初期化した後、ステップ702
にて文字を入力し、ステップ703にて入力した文字を
入力バッファ2に格納する。入力部1はステップ704
にて予測キーが押されて、入力バッファ2内の文字列が
予測対象となったかどうかを判定し、予測対象とならな
い場合はステップ702に戻って、文字の入力を繰り返
し、予測対象となった場合はステップ705へ進む。辞
書検索部3はステップ705にて入力バッファ2から送
られた文字列を先頭に持つ予測文字列候補を単語辞書4
と学習テーブル10から検索し、単語辞書4から検索し
た予測文字列候補を候補バッファ8に格納する。この
時、辞書検索部3は検索した予測文字列候補の使用頻度
情報も前記単語辞書4から抽出して候補バッファ8に格
納する。ここで、辞書検索部3は、入力文字列を先頭部
分に持ち、且つこの入力文字列の文字数nと予め設定し
た文字数αの和(n+α)よりも少ない文字数の文字列
を単語辞書4から予測文字列候補として検索する。但
し、α=f(n)としてもよい。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. The input unit 1 is step 70
After initializing the input buffer 2 in step 1, step 702
The character is input at, and the character input at step 703 is stored in the input buffer 2. The input unit 1 is step 704.
The prediction key is pressed at, and it is determined whether the character string in the input buffer 2 is the prediction target. If the prediction string is not the prediction target, the process returns to step 702, and the character input is repeated to become the prediction target. In that case, the process proceeds to step 705. The dictionary search unit 3 searches the word dictionary 4 for the predicted character string candidates having the character string sent from the input buffer 2 at the head in step 705.
Then, the predicted character string candidates retrieved from the learning table 10 and retrieved from the word dictionary 4 are stored in the candidate buffer 8. At this time, the dictionary retrieval unit 3 also extracts the usage frequency information of the retrieved predicted character string candidate from the word dictionary 4 and stores it in the candidate buffer 8. Here, the dictionary search unit 3 predicts from the word dictionary 4 a character string having an input character string at the beginning and having a character number smaller than the sum (n + α) of the character number n of this input character string and a preset character number α. Search as a character string candidate. However, α = f (n) may be set.

【0087】次に辞書検索部3はステップ706にて学
習テーブル10から文字列が検索されたかどうかを判定
し、検索されない場合はステップ708に飛び、検索さ
れた場合はステップ707に進む。辞書検索部3はステ
ップ707にて学習テーブル10から検索された文字列
をその先頭に含む確定文字列(ここでは予測文字列に同
じ)を単語辞書4から検索し、得られた予測文字列候補
を候補バッファ8に追加する。予測候補制御部7はステ
ップ708にて候補バッファ8に格納された予測文字列
候補をその使用頻度情報と予測文字列の文字数により並
び替えた後、並び替えた予測文字列候補を文字列出力部
5に送る。但し、前記予測候補制御部7による並び替え
の際に、学習テーブル10から検索された文字列を基に
して単語辞書4から検索された予測文字列候補があった
場合は、この予測文字列候補を最優先として出力優先順
位順に並び替えるものとする。この理由は、利用者が装
置に予測させて確定した予測文字列は何度もその利用者
が入力する可能性が高いと考えられるためである。
Next, the dictionary retrieval unit 3 determines in step 706 whether or not the character string is retrieved from the learning table 10. If it is not retrieved, the process jumps to step 708, and if it is retrieved, the process proceeds to step 707. The dictionary search unit 3 searches the word dictionary 4 for a fixed character string (here, the same as the predicted character string) that includes the character string searched for from the learning table 10 at step 707, and obtains the predicted character string candidate. Is added to the candidate buffer 8. The prediction candidate control unit 7 rearranges the prediction character string candidates stored in the candidate buffer 8 in step 708 according to the usage frequency information and the number of characters of the prediction character string, and then rearranges the rearranged prediction character string candidates in the character string output unit. Send to 5. However, when there is a predicted character string candidate retrieved from the word dictionary 4 based on the character string retrieved from the learning table 10 when rearranging by the predictive candidate control unit 7, this predicted character string candidate Shall be the highest priority and shall be sorted in the order of output priority. The reason for this is that it is highly likely that the predicted character string that the user has predicted by the device and confirmed is input by the user many times.

【0088】文字列出力部5はステップ709にて送ら
れてきた予測文字列候補を表示部6に表示して、利用者
の予測文字列の選択を促す。この時の文字列出力部5の
予測文字列候補の表示の仕方は、出力優先順位第1位の
予測文字列候補を最初に表示し、入力部1から次候補選
択指示があると、第2順位の予測文字列候補を表示す
る。第3順位以降の予測文字列候補の表示も同様であ
る。或いは、文字列出力部5は渡された予測文字列候補
を出力優先順位順に表示部6に一覧表示してもよい。利
用者はステップ710にて入力部1を操作して予測文字
列候補の中から所望のものを選択する。これにより、入
力部1はステップ711にて予測文字列が確定したかど
うかを判定し、確定していない場合はステップ702に
戻って、文字の入力と予測を繰り返し、確定した場合は
ステップ712に進む。入力学習部9はステップ712
にて確定された予測候補が学習テーブル10を介さず直
接単語辞書4から検索された文字列であるかどうかを判
定し、そうでない場合はステップ714に飛び、そうで
あればステップ713に進む。入力学習部9はステップ
713にて入力文字列と選択されて確定された予測文字
列の単語辞書4内の辞書アドレスを図8に示すように学
習テーブル10に登録する。その後、文字列出力部5は
ステップ714にて前記確定した予測文字列を表示部6
に表示する。
The character string output unit 5 displays the predicted character string candidates sent in step 709 on the display unit 6 to prompt the user to select the predicted character string. At this time, the method of displaying the predicted character string candidates of the character string output unit 5 is such that when the predicted character string candidate having the first output priority is first displayed and the next candidate selection instruction is given from the input unit 1, Display the predicted character string candidates for the rank. The same applies to the display of the predicted character string candidates in the third and subsequent ranks. Alternatively, the character string output unit 5 may display a list of the passed predicted character string candidates on the display unit 6 in order of output priority. The user operates the input unit 1 in step 710 to select a desired predictive character string candidate. As a result, the input unit 1 determines in step 711 whether or not the predicted character string is fixed. If not, the process returns to step 702 to repeat the input and prediction of the character, and if confirmed, to step 712. move on. The input learning unit 9 is step 712.
It is determined whether or not the prediction candidate confirmed in (3) is a character string directly searched from the word dictionary 4 without going through the learning table 10. If not, the process jumps to step 714, and if so, the process proceeds to step 713. The input learning unit 9 registers the dictionary address in the word dictionary 4 of the predicted character string selected and confirmed as the input character string in the learning table 10 as shown in FIG. Thereafter, the character string output unit 5 displays the confirmed predicted character string in step 714 on the display unit 6.
To be displayed.

【0089】尚、図8の例では、入力バッファ2に格納
された文字列が「あさめ」であった場合、この入力文字
列「あさめ」と、その時確定された予測文字列「あさめ
しまえ(朝飯前)」の単語辞書4の辞書アドレス「0x
000a」が学習テーブル10内に登録されている。
In the example of FIG. 8, when the character string stored in the input buffer 2 is "Asame", the input character string "Asame" and the predicted character string "Asameshimae (Amae Mae) ) ”Word dictionary 4 dictionary address“ 0x
000a ”is registered in the learning table 10.

【0090】図8は上記したように学習テーブル10の
格納例を示した図である。この学習テーブル10には入
力文字列(学習文字列)と、この入力文字列を先頭に含
む利用者により一度確定された予測文字列が格納されて
いる単語辞書4の辞書アドレスが格納されている。例え
ば入力文字列が「あさめ」であった場合で、この時の確
定予測文字列が「あさめしまえ(朝飯前)」であった場
合、その辞書アドレスは「0x000a」となってい
る。当然、図9に示した単語辞書4の「0x000a」
の辞書アドレスのところには「あさめしまえ(朝飯
前)」が収容されている。
FIG. 8 is a diagram showing a storage example of the learning table 10 as described above. The learning table 10 stores an input character string (learning character string) and a dictionary address of the word dictionary 4 in which a predicted character string including the input character string at the head and once determined by the user is stored. . For example, when the input character string is "Asame" and the definite predictive character string at this time is "Asameshimae (Amae Mae)", the dictionary address is "0x000a". Naturally, "0x000a" in the word dictionary 4 shown in FIG.
"Asameshimae (Amae Mae)" is stored at the dictionary address of.

【0091】次に上記した文字列予測処理の具体例につ
いて説明する。まず、学習のない状態で、入力部1から
「あさ」と入力された場合には図10(A)のように
「あさ」を先頭部分に持つ文字列が予測文字列候補とし
て出力される。更に、図10(B)のように「め」とい
う3文字目の文字が追加入力されると、予測文字列候補
が「あさめしまえ(朝飯前)」と「あさめし(朝飯)」
に絞り込まれる。ここで、「あさめしまえ(朝飯前)」
に予測文字列候補が確定された場合、図8に示した学習
テーブル10に、その時の入力文字列と、確定した予測
文字列が記憶されている単語辞書104の辞書アドレス
が格納される。このように学習が行われた状態で図10
(C)に示すように入力部1から「あさ」が入力される
と、「あさめ」が学習テーブル10から検索され、更に
学習テーブル10に格納された辞書アドレスに基づいて
先ほど確定した予測文字列「あさめしまえ(朝飯前)」
が単語辞書10から検索されて、候補バッファ8内の予
測文字列候補に加えられた後、予測候補制御部7により
「あさめしまえ(朝飯前)」の出力優先順位が第1位と
なるように並び替えられて、優先的に出力されるため、
図10(C)に示すような出力優先順位順の予測文字列
候補が得られる。
Next, a specific example of the character string prediction process described above will be described. First, when "Asa" is input from the input unit 1 without learning, a character string having "Asa" at the head portion is output as a predicted character string candidate as shown in FIG. Further, when the third character "me" is additionally input as shown in FIG. 10B, the predictive character string candidates are "asameshimae (before breakfast)" and "asameshi (breakfast)".
Is narrowed down to. Here, "Asameshimae (before breakfast)"
When the predicted character string candidate is confirmed, the learning table 10 shown in FIG. 8 stores the input character string at that time and the dictionary address of the word dictionary 104 in which the confirmed predicted character string is stored. In the state where learning is performed in this way, FIG.
As shown in (C), when "Asa" is input from the input unit 1, "Asame" is searched from the learning table 10, and the predicted character string previously determined based on the dictionary address stored in the learning table 10 is searched. "Asameshimae (before breakfast)"
Is searched from the word dictionary 10 and added to the prediction character string candidates in the candidate buffer 8, and then the prediction candidate control unit 7 arranges the output priority of "Aseshimae (Amae Mae)" to be first. Since it is replaced and output is given priority,
Predicted character string candidates in the output priority order as shown in FIG. 10C are obtained.

【0092】本実施例によれば、利用者により一度確定
された予測文字列の入力文字列部分と、前記予測文字列
の単語辞書4内の辞書アドレスとを学習テーブル10に
収集しておき、その後の予測処理で得られた予測文字列
候補が前記学習テーブル10の情報を介して単語辞書4
から検索されたものであった場合、予測候補制御部7は
この予測文字列候補の出力優先順位を最優先として、予
測文字列候補の並び替えを行うため、利用者が入力を意
図した予測文字列が第1順位で出力される可能性が高く
なり、予測文字列の確定を容易にして装置の操作性を向
上させることができる。尚、学習テーブル10の容量さ
え確保できれば、この学習テーブル10に入力文字列と
その時の確定予測文字列を格納し、辞書検索部3はこの
学習テーブル10だけを用いて1度確定された予測文字
列を検索する構成としても同様の効果がある。
According to the present embodiment, the learning table 10 collects the input character string portion of the predicted character string once determined by the user and the dictionary address in the word dictionary 4 of the predicted character string, The predicted character string candidates obtained by the subsequent prediction process are stored in the word dictionary 4 via the information in the learning table 10.
If it is searched for from the prediction candidate control unit 7, the prediction candidate control unit 7 rearranges the prediction character string candidates with the output priority order of the prediction character string candidates as the highest priority. There is a high possibility that the sequence will be output in the first order, and it is possible to easily determine the predicted character string and improve the operability of the device. As long as the capacity of the learning table 10 can be secured, the input character string and the confirmed predictive character string at that time are stored in the learning table 10, and the dictionary search unit 3 uses only the learning table 10 to predict the predicted character once. The same effect can be obtained by using a structure for searching a column.

【0093】図11は本発明の更に他の実施例を示した
ブロック図である。文字列予測装置は入力部1、入力バ
ッファ2、辞書検索部3、単語辞書4、文字列出力部
5、表示部6、予測候補制御部7、候補バッファ8及び
フラグバッファ11から成っている。ここで、上記した
各ブロックの中で図4に示した装置に用いられていない
ブロックの機能について説明する。フラグバッファ11
は入力部1から文字補完指示情報が入力されると、入力
部1によりフラグがセットされるバッファである。次に
本実施例の動作について図12のフローチャートを参照
して説明する。入力部1は、ステップ121にて入力バ
ッファ2、候補バッファ8、フラグバッファ11を初期
化し、ステップ122にて文字の入力を行う。この時、
入力部1はステップ123にて入力された文字(記号)
が文字の補完を指示するものであるかどうかを判定し、
そうである場合ステップ125に跳び、そうでない場合
はステップ124に進む。入力部1はステップ124に
てフラグバッファ11にフラグを立てた後、ステップ1
25に進む。入力部1は入力された文字(記号)を入力
バッファ2に格納した後、ステップ126にて文字列の
予測指示が入力されて入力バッファ2に格納された文字
列が予測対象になったかどうかを判定し、ならない場合
はステップ122に戻つて、文字の入力を繰り返し、予
測対象になった場合は入力バッファ2内の文字列を辞書
検索部3に送った後、ステップ127に進む。辞書検索
部3はステップ127にてフラグバッファ11にフラグ
が立っているかどうかを判定し、立っていない場合はス
テップ129に進み、立っている場合はステップ128
に進む。辞書検索部3はステップ128にて入力された
文字と同じ場所に同じ文字を持ち、且つ文字の補完を指
示された場所に文字を補うことによってできる文字列を
単語辞書4から検索し、検索した文字列を候補バッファ
8へ格納した後、ステップ130に進む。一方、ステッ
プ129に進んだ場合、辞書検索部3は入力された文字
の補完を指示する記号をそのまま候補バッファ8へ格納
した後、ステップ130に進む。予測候補制御部5はス
テップ130にて候補バッファ8に格納された予測文字
列候補を文字数及び単語辞書4に収容されている使用頻
度等により出力優先順位順に並び替えた後、並び替えた
予測文字列候補を文字列出力部5に送る。文字列出力部
5はステップ131にて送られてきた予測文字列を表示
部6に表示する。文字列出力部5の予測文字列候補の表
示の仕方は、出力優先順位第1位の予測文字列候補を最
初に表示し、入力部1から次候補選択指示があると、第
2順位の予測文字列候補を表示する。第3順位以降の予
測文字列候補の表示も同様である。或いは、文字列出力
部7は渡された予測文字列候補を出力優先順位順に表示
部8に一覧表示してもよい。利用者はステップ131に
て入力部1を操作して予測文字列の中から所望のものを
選択する。これにより、入力部1はステップ133にて
予測文字列が確定したかどうかを判定し、確定していな
い場合はステップ122に戻って、文字の入力と予測を
繰り返し、確定した場合はステップ134に進む。文字
列出力部5はステップ134にて確定した予測文字列を
表示部6に表示する。
FIG. 11 is a block diagram showing still another embodiment of the present invention. The character string prediction device comprises an input unit 1, an input buffer 2, a dictionary search unit 3, a word dictionary 4, a character string output unit 5, a display unit 6, a prediction candidate control unit 7, a candidate buffer 8 and a flag buffer 11. Here, among the above-mentioned blocks, the functions of blocks not used in the apparatus shown in FIG. 4 will be described. Flag buffer 11
Is a buffer in which a flag is set by the input unit 1 when the character complement instruction information is input from the input unit 1. Next, the operation of this embodiment will be described with reference to the flowchart of FIG. The input unit 1 initializes the input buffer 2, the candidate buffer 8, and the flag buffer 11 in step 121, and inputs characters in step 122. This time,
Input unit 1 is the character (symbol) input in step 123
Is to indicate completion of characters,
If so, jump to step 125, else go to step 124. The input unit 1 sets a flag in the flag buffer 11 in step 124, and then executes step 1
Go to 25. The input unit 1 stores the input character (symbol) in the input buffer 2 and then determines whether the character string prediction instruction is input in step 126 and the character string stored in the input buffer 2 becomes a prediction target. If not, the process returns to step 122 to repeat the input of characters, and if it becomes a prediction target, the character string in the input buffer 2 is sent to the dictionary search unit 3, and then the process proceeds to step 127. The dictionary search unit 3 determines in step 127 whether or not the flag is set in the flag buffer 11. If not, the process proceeds to step 129, and if it is set, step 128.
Proceed to. The dictionary search unit 3 searches the word dictionary 4 for a character string that has the same character in the same position as the character input in step 128 and that can be supplemented with a character in the position where the completion of the character is instructed. After storing the character string in the candidate buffer 8, the process proceeds to step 130. On the other hand, in the case of proceeding to step 129, the dictionary retrieval unit 3 stores the symbol instructing the complement of the inputted character in the candidate buffer 8 as it is, and then proceeds to step 130. The predictive candidate control unit 5 rearranges the predictive character string candidates stored in the candidate buffer 8 in step 130 in the output priority order according to the number of characters and the usage frequency stored in the word dictionary 4, and then rearranges the predictive character strings. The column candidates are sent to the character string output unit 5. The character string output unit 5 displays the predicted character string sent in step 131 on the display unit 6. The method of displaying the predicted character string candidates of the character string output unit 5 is such that the predicted character string candidate having the first output priority is displayed first, and if the next candidate selection instruction is given from the input unit 1, the second character prediction is performed. Display character string candidates. The same applies to the display of the predicted character string candidates in the third and subsequent ranks. Alternatively, the character string output unit 7 may list the passed predicted character string candidates on the display unit 8 in order of output priority. The user operates the input unit 1 in step 131 to select a desired one from the predicted character strings. As a result, the input unit 1 determines whether or not the predicted character string is fixed in step 133. If the predicted character string is not fixed, the process returns to step 122, the character input and prediction are repeated, and if the character string is fixed, the process proceeds to step 134. move on. The character string output unit 5 displays the predicted character string confirmed in step 134 on the display unit 6.

【0094】図13は上記した文字列の予測動作を具体
例で説明した図である。本予測例では、「〇」は文字の
補完を指示する記号、「*」は漢字により文字補完する
ことを指示する記号とする。図13(A)のように入力
部1から「あさ〇〇〇〇」と入力された場合、辞書検索
部3は「あさ」を先頭部分に持ち、「〇」の部分に文字
を補ってできる文字列「あさめしまえ」を単語辞書4か
ら検索して予測文字列候補とする。又、図13(B)の
ように入力部1から「足〇」、又は「足*」と入力され
た場合、いずれの場合も「足踏」等が予測文字列候補と
して得られるが、図13(C)のように「足*〇」と入
力されると、「足踏み」が予測文字列候補として得られ
ることになる。尚、図13(D)は上記した図12のフ
ローチャートでステップ139に進んだ場合の具体例
で、入力部1から「〇」のように文字の補完を指示する
記号だけが入力された場合には、それらがそのまま候補
バッファ8に格納されて、文字列出力部5により表示部
6に表示される。
FIG. 13 is a diagram for explaining the above-described character string predicting operation as a concrete example. In the present prediction example, “◯” is a symbol for instructing character complement, and “*” is a symbol for instructing character complement by Kanji. As shown in FIG. 13 (A), when "Asa OOOO" is input from the input unit 1, the dictionary search unit 3 has "Asa" at the beginning and can supplement the characters in "O". The character string "Asameshimae" is searched from the word dictionary 4 and used as a predicted character string candidate. Further, when "Foo ◯" or "Foo *" is input from the input unit 1 as shown in FIG. 13B, "Foot" and the like are obtained as predicted character string candidates in either case. When "Foo * O" is entered as in 13 (C), "Footstep" is obtained as a predicted character string candidate. Note that FIG. 13D is a specific example in the case of proceeding to step 139 in the flowchart of FIG. 12 described above, and in the case where only a symbol for instructing character complementation such as “◯” is input from the input unit 1. Are stored in the candidate buffer 8 as they are and displayed on the display unit 6 by the character string output unit 5.

【0095】本実施例によれば、利用者により文字列の
補完位置が明示されるため、予測される文字列の数をか
なり絞り込むことができ、しかも、利用者が入力を意図
した文字列が予測される確率が極めて高くなるため、非
常に確度の高い文字列の予測を行うことができると共
に、予測文字列の選択を容易にすることができる。又、
文字列の補完指示記号で、その場所に補完する文字の種
類まで限定できるため、利用者が入力を意図した文字列
が予測される確率を更に高めることができる。尚、本例
では文字列の補完指示記号として、丸と米印を用いた
が、他の意味で用いられる記号以外の新たに作成した専
用の補完指示記号を用いれば、入力バッファ11にフラ
グを立てる構成を省略して、補完指示記号が他の意味で
用いられる場合を区別する必要がなくなり、装置の構成
を簡単化することができる。又、本実施例のように補完
指示記号が入力された場合、辞書検索部3は上記のよう
な予測文字列の検索を行う。しかし、補完指示記号を含
まない通常の文字列が入力された場合は、図4に示した
実施例のように予測文字列の文字数を限定して単語辞書
4を検索する方法を用いた構成とすることもできる。こ
の場合は、図6に示した学習機能か、図14に示した加
算文字数学習機能のいずれか1つ或いは両方を付加した
構成とすることもできるが、いずれにしても、入力文字
列が補完指示記号を含むか含まないかを入力部1で判断
し、その判断結果によって文字の予測方法を切り換える
構成となる。更に、図11に示した本例の構成から予測
候補制御部7と候補バッファ8を省略し、辞書検索部3
により検索された予測文字列を文字列出力部5に直接出
力する図1に示した構成を採用することもできる。
According to the present embodiment, since the complement position of the character string is clearly indicated by the user, the number of predicted character strings can be considerably narrowed down, and moreover, the character string which the user intends to input is Since the probability of prediction is extremely high, it is possible to predict a character string with extremely high accuracy, and it is possible to easily select a predicted character string. or,
Since it is possible to limit the type of character to be complemented at the place by the complement instruction symbol of the character string, it is possible to further increase the probability that the character string intended to be input by the user is predicted. In this example, the circle and the US mark are used as the complementary instruction symbols of the character string, but if a newly created dedicated complementary instruction symbol other than symbols used in other meanings is used, the flag is set in the input buffer 11. It is not necessary to distinguish the case where the complementary instruction symbol is used in another meaning by omitting the standing structure, and the structure of the device can be simplified. Further, when the complementary instruction symbol is input as in this embodiment, the dictionary search unit 3 searches for the predicted character string as described above. However, when a normal character string that does not include a complementation instruction symbol is input, a configuration is used in which the number of characters of the predicted character string is limited and the word dictionary 4 is searched as in the embodiment shown in FIG. You can also do it. In this case, one or both of the learning function shown in FIG. 6 and the additional character number learning function shown in FIG. 14 may be added, but in any case, the input character string is complemented. The input unit 1 determines whether or not the instruction symbol is included, and the character prediction method is switched according to the determination result. Further, the prediction candidate control unit 7 and the candidate buffer 8 are omitted from the configuration of this example shown in FIG.
It is also possible to employ the configuration shown in FIG. 1 in which the predicted character string retrieved by is directly output to the character string output unit 5.

【0096】図14は本発明の更に他の実施例を示した
ブロック図である。本例の文字列予測装置は入力部1、
入力バッファ2、辞書検索部3、単語辞書4、文字列出
力部5、表示部6及び加算値学習部12から成ってい
る。ここで、上記した各ブロックの中で図1に示した装
置に用いられていない加算値学習部12の機能について
説明する。加算値学習部12は確定した予測文字列の文
字数から予測文字列の文字数の上限値を決めるためのα
を統計的に求めて、辞書検索部3に提供する。
FIG. 14 is a block diagram showing still another embodiment of the present invention. The character string prediction device of this example has an input unit 1,
The input buffer 2, the dictionary search unit 3, the word dictionary 4, the character string output unit 5, the display unit 6, and the additional value learning unit 12 are included. Here, the function of the added value learning unit 12 which is not used in the device shown in FIG. 1 in each of the blocks described above will be described. The additional value learning unit 12 uses α for determining the upper limit of the number of characters of the predicted character string from the number of characters of the confirmed predicted character string.
Is statistically obtained and provided to the dictionary search unit 3.

【0097】次に本実施例の動作について図15のフロ
ーチャートを参照して説明する。入力部1はステップ1
51にて入力バッファ2を初期化した後、ステップ15
2にて文字を入力し、入力した文字をステップ153に
て入力バッファ2に格納する。入力部1はステップ15
4にて予測キーが押されて、入力バッファ2内の文字列
が予測対象となったかどうかを判定し、ならない場合は
ステップ152に戻って文字の入力を繰り返し、予測対
象となった場合はステップ155へ進む。辞書検索部3
はステップ155にて入力バッファ2からの入力文字列
を先頭部分に持ち、且つこの入力文字列の文字数nと加
算値学習部12から提供された加算文字数αの和(n+
α)よりも少ない文字数の文字列を単語辞書4から予測
文字列候補として検索し、得られた予測文字列候補を文
字列出力部5に送る。文字列出力部5はステップ156
にて表示部6に渡された予測文字列候補を一覧表示す
る。利用者はステップ157にて表示部6に表示されて
いる予測文字列の中から所望のものを選択して確定す
る。入力部1はステップ158にて予測文字列が確定し
たかどうかを判定し、確定していない場合はステップ1
55に戻って、上記したステップ152〜158の処理
を行うことにより、文字の入力と予測処理を繰り返す。
尚、入力部1は利用者により予測文字列が選択されて確
定されると、この時の操作を受けて確定文字列を文字出
力部5に知らせる。予測文字列が確定した場合、加算値
学習部12はステップ159にて文字列出力部5を通し
て確定した予測文字列を受けとり、この確定した予測文
字列の文字数mから予測文字列の先頭部分である入力文
字列(入力バッファ2内の文字列)の文字数nを減算し
て、m−n=aを求める。この入力文字数nに対するa
とそれまでに同様にして求めた、入力文字数nに対する
aとの平均を求め、入力文字数nに対するaの平均を算
出する。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Input section 1 is step 1
After initializing the input buffer 2 at 51, step 15
A character is input in step 2, and the input character is stored in the input buffer 2 in step 153. Input unit 1 is step 15
In step 4, the prediction key is pressed to determine whether or not the character string in the input buffer 2 is the prediction target. If not, the process returns to step 152 to repeat the input of characters, and if it is the prediction target, the step is performed. Proceed to 155. Dictionary search unit 3
Has the input character string from the input buffer 2 at the beginning in step 155, and sums the number of characters n of this input character string and the additional character number α provided from the additional value learning unit 12 (n +
A character string having a smaller number of characters than α) is searched from the word dictionary 4 as a predicted character string candidate, and the obtained predicted character string candidate is sent to the character string output unit 5. The character string output unit 5 is step 156.
A list of predicted character string candidates passed to the display unit 6 is displayed. In step 157, the user selects and confirms the desired one from the predicted character strings displayed on the display unit 6. The input unit 1 determines whether or not the predicted character string is confirmed in step 158, and if not, proceeds to step 1
By returning to 55 and performing the above-mentioned steps 152 to 158, the character input and the prediction process are repeated.
When the user selects and confirms the predicted character string, the input unit 1 receives the operation at this time and informs the character output unit 5 of the confirmed character string. When the predicted character string is fixed, the additional value learning unit 12 receives the fixed predicted character string through the character string output unit 5 in step 159, and it is the head portion of the predicted character string from the character number m of the fixed predicted character string. The number of characters n of the input character string (character string in the input buffer 2) is subtracted to obtain mn = a. A for this input character number n
Then, the average of a with respect to the number of input characters n, which has been obtained in the same manner as above, is obtained, and the average of a with respect to the number of input characters n is calculated.

【0098】次に、算出したaの平均値に基づいて最も
適切な加算文字数αを求め、文字数nに対する加算文字
数αを辞書検索部3に提供する。これにより、加算文字
数αは利用者の癖などを反映した値となる。但し、当初
は何も学習されていないため、加算文字数学習部12は
文字数nに対する典型的な加算文字数αを辞書検索部3
に提供するものとする。文字列出力部5はステップ16
0にて確定した予測文字列を表示部6に表示する。
Next, the most appropriate added character number α is obtained based on the calculated average value of a, and the added character number α with respect to the character number n is provided to the dictionary retrieval unit 3. As a result, the added character number α becomes a value that reflects the habit of the user. However, since nothing is initially learned, the additional character number learning unit 12 determines the typical additional character number α for the character number n by the dictionary search unit 3
Shall be provided to The character string output unit 5 is step 16
The predicted character string determined by 0 is displayed on the display unit 6.

【0099】本実施例によれば、辞書検索部3で検索す
る予測文字列候補の文字数の上限値を入力文字数nから
決める際に用いる加算文字数αの値を利用者が実際に確
定した予測文字列から統計処理して導き出すことによ
り、辞書検索部3で検索する予測文字列の中に利用者が
入力を意図したものが入っている確率を利用者の癖等に
応じて増加させることができると共に、前記文字数の上
限値を無駄に大きくすることがないため、文字予測速度
を速めることができる。
According to the present embodiment, the predicted character for which the user has actually determined the value of the additional character number α used when the upper limit of the number of characters of the predicted character string candidates searched by the dictionary search unit 3 is determined from the input character number n. By statistically deriving from the string, it is possible to increase the probability that the predicted character string searched by the dictionary search unit 3 contains the one that the user intended to input, according to the habit of the user. At the same time, since the upper limit of the number of characters is not unnecessarily increased, the character prediction speed can be increased.

【0100】図16は本発明の更に他の実施例を示した
ブロック図である。本例は図4に示した装置に加算文字
数学習機能を付加した構成を有している。これにより、
図4に示した装置の効果に加えて、辞書検索部3の文字
の予測確度を利用者の癖等に応じて高めることができ、
且つ、文字予測速度を速めることができる。
FIG. 16 is a block diagram showing still another embodiment of the present invention. This example has a configuration in which an additional character number learning function is added to the device shown in FIG. This allows
In addition to the effect of the device shown in FIG. 4, the character prediction accuracy of the dictionary search unit 3 can be increased according to the habit of the user,
In addition, the character prediction speed can be increased.

【0101】図17は本発明の更に他の実施例を示した
ブロック図である。本例は図6に示した装置に加算文字
数学習機能を付加した構成を有している。これにより、
図6に示した装置の効果に加えて、辞書検索部3の文字
の予測確度を利用者の癖等に応じて高めることができ、
且つ、文字予測速度を速めることができる。尚、本発明
はカタカナ文字列の予測にも、同様に適用して、同様の
効果を得ることができる。又、上記実施例の中で、ひら
がな文字列と書いてあるところをカタカナ文字列と読み
替え、かな漢字変換をカタカナ漢字変換と読み替えて、
本発明を漢字とカタカナの文字列の予測に容易に適用し
て、同様の効果を挙げることができる。更に、文書作成
装置に上記した本発明の文字列予測装置を搭載すること
により、利用者は入力文字列の先頭の一部分のみを入力
するだけで、全ての文字列を入力することができるよう
になるため、文書の作成効率を向上させることができ
る。
FIG. 17 is a block diagram showing still another embodiment of the present invention. This example has a configuration in which an additional character number learning function is added to the device shown in FIG. This allows
In addition to the effect of the apparatus shown in FIG. 6, the character prediction accuracy of the dictionary search unit 3 can be increased according to the habit of the user,
In addition, the character prediction speed can be increased. The present invention can also be applied to the prediction of katakana character strings in the same manner to obtain the same effect. Further, in the above-mentioned embodiment, the place written as hiragana character string is read as katakana character string, and the kana-kanji conversion is read as katakana kanji conversion.
The present invention can be easily applied to the prediction of character strings of Chinese characters and Katakana, and similar effects can be achieved. Further, by mounting the above-described character string prediction device of the present invention on the document creation device, the user can input all the character strings by only inputting a part of the beginning of the input character string. Therefore, the document creation efficiency can be improved.

【0102】[0102]

【発明の効果】以上記述した如く請求項1、2、3、1
7、18、19の発明によれば、辞書から検索される予
測文字列候補の数を絞り込んで、予測文字列候補の表示
スペースを容易に確保することができると共に、利用者
が望む予測文字列の選択を容易にすることができる。請
求項4又は20の発明によれば、利用者の癖に応じて検
索する予測文字列の上限文字数を調整することができ、
文字列の予測効率を向上させることができる。
As described above, claims 1, 2, 3, 1
According to the inventions of 7, 18, and 19, the number of predicted character string candidates retrieved from the dictionary can be narrowed down to easily secure the display space of the predicted character string candidates, and the predicted character string desired by the user. Can be selected easily. According to the invention of claim 4 or 20, it is possible to adjust the upper limit number of characters of the predicted character string to be searched according to the habit of the user,
The prediction efficiency of the character string can be improved.

【0103】請求項5、6、7、21、22、23の発
明によれば、その数を絞り込んで予測された予測文字列
候補を出力優先順に並び替えることができ、利用者が望
む予測文字列の出力順位を上げて、装置の操作性を向上
させることができる。
According to the invention of claims 5, 6, 7, 21, 22, and 23, the predicted character string candidates predicted by narrowing down the number can be rearranged in the output priority order, and the predicted character desired by the user. The operability of the device can be improved by increasing the output rank of the column.

【0104】請求項8、9、24、25の発明によれ
ば、一度利用者が選択した予測文字列が再び候補となっ
た場合、この予測文字列候補の出力優先順位を上位にし
て、利用者が望む予測文字列の選択を容易にして、装置
の操作性を向上させることができる。
According to the eighth, ninth, twenty-fourth and twenty-fifth aspects of the present invention, when the predicted character string once selected by the user becomes a candidate again, the predicted character string candidate is used with higher output priority. It is possible to improve the operability of the device by facilitating the selection of the predicted character string desired by the person.

【0105】請求項10又は26の発明によれば、検索
される予測文字列を更に絞り込み且つその中に利用者が
望む予測文字列が入っている確度を高めることができ
る。
According to the tenth or twenty-sixth aspect of the present invention, it is possible to further narrow down the predicted character string to be searched and increase the probability that the predicted character string desired by the user is included therein.

【0106】請求項11又は27の発明によれば、文字
補完記号として、他の意味を持っている既存の記号を兼
用することができる。
According to the eleventh or twenty-seventh aspect of the present invention, an existing symbol having another meaning can also be used as the character complement symbol.

【0107】請求項12又は28の発明によれば、予測
文字列候補を利用者が望む文字列にほとんど絞り込むこ
とができる。
According to the twelfth or twenty-eighth aspect of the present invention, the predicted character string candidates can be narrowed down to a character string desired by the user.

【0108】請求項13又は29の発明によれば、第1
出力優先順位で利用者が望む予測文字列を出力する可能
性を高めることができる。
According to the invention of claim 13 or 29, the first
It is possible to increase the possibility of outputting the predicted character string desired by the user in the output priority order.

【0109】請求項14又は30の発明によれば、第1
出力優先順位で利用者が望む予測文字列を出力する可能
性を更に高めることができる。
According to the invention of claim 14 or 30, the first
It is possible to further increase the possibility of outputting the predicted character string desired by the user in the output priority order.

【0110】請求項15又は31の発明によれば、ひら
がな、漢字或いは漢字混じりひらがな文字列に続く文字
列の予測を行うことができる。
According to the fifteenth or thirty-first aspect of the invention, it is possible to predict a character string following a hiragana, kanji, or hiragana character string mixed with kanji.

【0111】請求項16又は32の発明によれば、入力
された文字列の構成に応じて、最適な文字列予測を選択
して行うことができ、装置のフレキシビリティを向上さ
せることができる。
According to the sixteenth or thirty-second aspect of the present invention, the optimum character string prediction can be selected and performed according to the configuration of the input character string, and the flexibility of the apparatus can be improved.

【0112】請求項33の発明によれば、入力したい文
字列の先頭部分のみを入力するだけで、入力したい文字
列全てを文書内に入力することができるため、文字列の
入力効率を向上させて、文書の作成を迅速且つ短時間に
行うことができる。
According to the thirty-third aspect of the present invention, since it is possible to input the entire character string to be input into the document by inputting only the beginning portion of the character string to be input, the input efficiency of the character string is improved. Thus, the document can be created quickly and in a short time.

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

【図1】本発明の文字列予測装置の一実施例を示したブ
ロック図。
FIG. 1 is a block diagram showing an embodiment of a character string prediction device of the present invention.

【図2】図1に示した装置による文字列の予測動作手順
を示したフローチャート。
2 is a flowchart showing a procedure for predicting a character string by the apparatus shown in FIG.

【図3】図1に示した装置による文字列の予測例を具体
的に示した図。
3 is a diagram specifically showing an example of predicting a character string by the device shown in FIG.

【図4】本発明の他の実施例を示したブロック図。FIG. 4 is a block diagram showing another embodiment of the present invention.

【図5】図4に示した装置による文字列の予測動作手順
を示したフローチャート。
5 is a flowchart showing a procedure for predicting a character string by the apparatus shown in FIG.

【図6】本発明の更に他の実施例を示したブロック図。FIG. 6 is a block diagram showing still another embodiment of the present invention.

【図7】図6に示した装置による文字列の予測動作手順
を示したフローチャート。
7 is a flowchart showing a procedure for predicting a character string by the apparatus shown in FIG.

【図8】図6に示した学習テーブルの内容例を示した
図。
8 is a diagram showing an example of contents of a learning table shown in FIG.

【図9】図6に示した単語辞書の内容例を示した図。9 is a diagram showing an example of contents of the word dictionary shown in FIG.

【図10】図6に示した装置による文字列の予測例を具
体的に示した図。
10 is a diagram specifically showing an example of character string prediction by the apparatus shown in FIG.

【図11】本発明の更に他の実施例を示したブロック
図。
FIG. 11 is a block diagram showing still another embodiment of the present invention.

【図12】図11に示した装置による文字列の予測動作
手順を示したフローチャート。
12 is a flowchart showing a character string prediction operation procedure by the device shown in FIG.

【図13】図11に示した装置による文字列の予測例を
具体的に示した図。
13 is a diagram specifically showing an example of predicting a character string by the device shown in FIG.

【図14】本発明の更に他の実施例を示したブロック
図。
FIG. 14 is a block diagram showing still another embodiment of the present invention.

【図15】図14に示した装置による文字列の予測動作
手順を示したフローチャート。
15 is a flowchart showing a character string prediction operation procedure by the device shown in FIG.

【図16】本発明の更に他の実施例を示したブロック
図。
FIG. 16 is a block diagram showing still another embodiment of the present invention.

【図17】本発明の更に他の実施例を示したブロック
図。
FIG. 17 is a block diagram showing still another embodiment of the present invention.

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

1…入力部 2…入力バッフ
ァ 3…辞書検索部 4…単語辞書 5…文字列出力部 6…表示部 7…予測候補制御部 8…候補バッフ
ァ 9…入力学習部 10…学習テー
ブル 11…フラグバッファ 12…加算文字
数学習部
1 ... Input part 2 ... Input buffer 3 ... Dictionary search part 4 ... Word dictionary 5 ... Character string output part 6 ... Display part 7 ... Prediction candidate control part 8 ... Candidate buffer 9 ... Input learning part 10 ... Learning table 11 ... Flag buffer 12 ... Additional character number learning unit

Claims (33)

【特許請求の範囲】[Claims] 【請求項1】 入力された文字列を先頭部分に持つ文
字列を辞書に収容されている文字列の中から検索するこ
とにより、前記入力文字列に続く文字列を予測し、前記
辞書から検索された文字列を予測文字列として出力する
文字列予測装置における前記入力文字列に続く文字列を
予測する文字列予測方法にあって、前記入力文字列の文
字数nに加算文字数αを加算した(n+α)を前記予測
文字列が持つ文字数の上限値とし、この上限値の文字数
以下の文字数から成る予測文字列を前記辞書から検索す
ることを特徴とする文字列予測方法。
1. A character string following the input character string is predicted by searching a character string stored in the dictionary for a character string having the input character string at the head portion, and is searched from the dictionary. In a character string predicting method for predicting a character string following the input character string in a character string predicting device that outputs the generated character string as a predictive character string, an additional character number α is added to the character number n of the input character string ( (n + α) is an upper limit of the number of characters that the predicted character string has, and a predicted character string having a number of characters equal to or less than the upper limit value is searched from the dictionary.
【請求項2】 前記加算文字数αは前記入力文字列の
文字数nと関数関係にある変数であることを特徴とする
請求項1記載の文字列予測方法。
2. The character string prediction method according to claim 1, wherein the added character number α is a variable having a functional relationship with the character number n of the input character string.
【請求項3】 前記加算文字数αは予め設定してある
固定値であることを特徴とする請求項1記載の文字列予
測方法。
3. The character string prediction method according to claim 1, wherein the additional character number α is a preset fixed value.
【請求項4】 前記予測文字列が出力されて利用者に
より確定される毎に、確定された予測文字列の文字数m
とこの時の入力文字数nを収集して、入力文字数nに対
する前記文字数mの関係を統計処理し、この統計処理結
果から前記加算文字数αを求め、求めたこの加算文字数
αを用いて前記辞書から予測文字列を検索することを特
徴とする請求項1記載の文字列予測方法。
4. Each time the predicted character string is output and is fixed by the user, the number of characters m of the fixed predicted character string is m.
And the number of input characters n at this time are collected, the relationship between the number of input characters n and the number of characters m is statistically processed, the additional character number α is obtained from the result of the statistical processing, and the obtained additional character number α is used from the dictionary. The character string prediction method according to claim 1, wherein the predicted character string is searched.
【請求項5】 前記辞書から検索された予測文字列が
複数あった場合、一つ或いは複数の基準に基づいて、前
記検索された予測文字列を出力優先順位順に並び替える
ことを特徴とする請求項1乃至4いずれか記載の文字列
予測方法。
5. When there are a plurality of predicted character strings retrieved from the dictionary, the retrieved predicted character strings are rearranged in output priority order based on one or a plurality of criteria. Item 5. The character string prediction method according to any one of items 1 to 4.
【請求項6】 前記辞書から検索された予測文字列の
文字数を基準としてこれら予測文字列の出力優先順位を
並び替えることを特徴とする請求項5記載の文字列予測
方法。
6. The character string prediction method according to claim 5, wherein the output priority levels of these predicted character strings are rearranged on the basis of the number of characters of the predicted character strings retrieved from the dictionary.
【請求項7】 前記辞書に収容されている文字列の使
用頻度情報をこの辞書に収容しておき、前記辞書から検
索された予測文字列の使用頻度を基準として前記予測文
字列の出力優先順位を並び替えることを特徴とする請求
項5記載の文字列予測方法。
7. The use frequency information of the character string stored in the dictionary is stored in this dictionary, and the output priority order of the predicted character string is based on the used frequency of the predicted character string retrieved from the dictionary. The character string prediction method according to claim 5, wherein the character strings are rearranged.
【請求項8】 前記予測文字列が出力されて利用者に
より確定される毎に確定された予測文字列を収集してお
き、その後利用者により文字列が入力されると、この入
力文字列を先頭部分に持つ文字列を前記辞書と前記収集
された確定予測文字列の中から検索し、その結果、検索
された予測文字列が複数あった場合、前記収集された確
定予測文字列の中から検索された予測文字列の出力優先
順位を最優先で上位にするようにこれら予測文字列の出
力優先順位を並び替えることを特徴とする請求項5乃至
7いずれか記載の文字列予測方法。
8. The input predictive character string is collected every time the predictive character string is output and fixed by the user, and when the character string is subsequently input by the user, the input character string is When a character string held at the beginning is searched from the dictionary and the collected definite predictive character strings, and as a result, there are a plurality of retrieved predictive character strings, from the collected definite predictive character strings. 8. The character string prediction method according to claim 5, wherein the output priority order of the predicted character strings is rearranged so that the output priority order of the searched predicted character strings is the highest priority and higher.
【請求項9】 前記確定予測文字列の収集は、確定予
測文字列の先頭部分を構成する入力文字列と、この確定
予測文字列が収容されている前記辞書の辞書アドレスを
学習テーブル内に収集することにより行われることを特
徴とする請求項8記載の文字列予測方法。
9. The collection of the definite predictive character string collects, in a learning table, an input character string that forms a head part of the definite predictive character string and a dictionary address of the dictionary that accommodates the definite predictive character string. 9. The character string prediction method according to claim 8, wherein the character string prediction method is performed by:
【請求項10】 入力された文字列を先頭部分に持つ
文字列を辞書に収容されている文字列の中から検索する
ことにより、前記入力文字列に続く文字列を予測し、前
記辞書から検索された文字列を予測文字列として出力す
る文字列予測装置における前記入力文字列に続く文字列
を予測する文字列予測方法にあって、文字と共に文字補
完記号を利用者が入力すると、入力された文字と同じ位
置に同一の文字を有し、且つ入力された文字補完記号の
位置に文字を補完して成る文字列を前記辞書から検索し
て予測文字列を得ることを特徴とする文字列予測方法。
10. A character string following the input character string is predicted by searching a character string stored in the dictionary for a character string having the input character string at the head portion, and is searched from the dictionary. In a character string predicting method for predicting a character string following the input character string in a character string predicting device for outputting a character string as a predicted character string, when a user inputs a character completion symbol together with a character, it is input. Character string prediction having the same character at the same position as the character, and obtaining a predicted character string by searching the dictionary for a character string formed by complementing the character at the position of the input character completion symbol Method.
【請求項11】 前記入力された文字が文字補完記号
のみであった場合は、予測文字列の検索はせず、前記入
力された文字補完記号をそのまま出力することを特徴と
する請求項10記載の文字列予測方法。
11. The predicted character string is not searched when the input character is only a character completion symbol, and the input character completion symbol is output as it is. String prediction method.
【請求項12】 前記文字補完記号を複数種とし、入
力された文字補完記号の種類に応じてこの位置に補完す
る文字の種類を特定したことを特徴とする請求項10又
は11記載の文字列予測方法。
12. The character string according to claim 10, wherein a plurality of types of the character complement symbols are provided, and the type of the character to be complemented at this position is specified according to the type of the input character complement symbol. Prediction method.
【請求項13】 前記検索された予測文字列が複数あ
った場合、一つ或いは複数の基準に基づいて、前記検索
された予測文字列を出力優先順位順に並び替えることを
特徴とする10乃至12いずれか記載の文字列予測方
法。
13. When there are a plurality of retrieved predicted character strings, the retrieved predicted character strings are rearranged in output priority order based on one or a plurality of criteria. Any of the character string prediction methods described.
【請求項14】 前記予測文字列が出力されて利用者
により確定される毎に確定予測文字列を収集しておき、
利用者により文字列が入力されると、この入力文字列を
先頭部分に持つ文字列を前記辞書と前記収集された確定
予測文字列の中から検索し、その結果、検索された予測
文字列が複数あった場合、前記収集された確定予測文字
列の中から検索された予測文字列の出力優先順位を最優
先で上位にするようにこれら予測文字列の出力優先順位
を並び替えることを特徴とする請求項10乃至13いず
れか記載の文字列予測方法。
14. A confirmed predictive character string is collected every time the predictive character string is output and confirmed by a user,
When the user inputs a character string, the character string having this input character string at the beginning is searched from the dictionary and the collected definite predictive character string, and as a result, the searched predictive character string is If there are a plurality of predicted character strings, the output priority of these predicted character strings is rearranged so that the output priority of the predicted character strings retrieved from the collected predicted character strings is the highest priority. The character string prediction method according to claim 10.
【請求項15】 前記辞書に収容されている文字列は
ひらがな、漢字或いは漢字混じりひらがな文字列である
ことを特徴とする請求項1乃至14いずれか記載の文字
列予測方法。
15. The character string prediction method according to claim 1, wherein the character strings stored in the dictionary are hiragana, kanji, or hiragana mixed with kanji.
【請求項16】 前記入力された文字列が前記文字補
完記号を含まない文字列であった場合、請求項1乃至9
いずれか記載の文字列予測方法により予測文字列を得る
ことを特徴とする請求項10記載の文字列予測方法。
16. The method according to claim 1, wherein the input character string is a character string that does not include the character completion symbol.
The character string prediction method according to claim 10, wherein the predicted character string is obtained by any one of the character string prediction methods.
【請求項17】 入力された文字列を先頭部分に持つ
文字列を辞書に収容されている文字列の中から検索する
ことにより、前記入力文字列に続く文字列を予測し、前
記辞書から検索された文字列を予測文字列として出力す
る文字列予測装置において、文字列の文字数を計数する
計数手段と、加算文字数αを供給する数値供給手段と、
この数値供給手段から供給される加算文字数αを前記計
数手段により計数された前記入力文字列の文字数nに加
算する加算手段と、この加算手段から得られる(n+
α)を前記予測文字列が持つ文字数の上限値とし、この
上限値の文字数以下の文字数から成る予測文字列を前記
辞書から検索する検索手段と、この検索手段により検索
された予測文字列を表示する表示手段と、この表示手段
により表示された予測文字列の中で任意の文字列を確定
予測文字として利用者に選択させる選択手段とを具備し
たことを特徴とする文字列予測装置。
17. A character string following the input character string is predicted by searching the character string stored in the dictionary for a character string having the input character string at the beginning, and the character string is searched from the dictionary. In a character string predicting device for outputting the character string thus obtained as a predicted character string, a counting means for counting the number of characters in the character string, and a numerical value supplying means for supplying the additional character number α,
Addition means for adding the additional character number α supplied from the numerical value supply means to the character number n of the input character string counted by the counting means, and (n +
α) is the upper limit of the number of characters that the predicted character string has, and a search unit that searches the dictionary for a predicted character string having a number of characters equal to or less than the upper limit value, and the predicted character string searched by this search unit are displayed. A character string prediction device, comprising: a display unit for displaying the character string; and a selection unit for allowing a user to select an arbitrary character string as a confirmed predicted character from among the predicted character strings displayed by the display unit.
【請求項18】 前記数値供給手段から供給される前
記加算文字数αは前記計数手段で計数される入力文字列
の文字数nと関数関係にある変数であることを特徴とす
る請求項17記載の文字列予測装置。
18. The character according to claim 17, wherein the added character number α supplied from the numerical value supply means is a variable having a functional relationship with the character number n of the input character string counted by the counting means. Column predictor.
【請求項19】 前記数値供給手段から供給される前
記加算文字数αは予めこの手段に設定してある固定値で
あることを特徴とする請求項17記載の文字列予測装
置。
19. The character string predicting apparatus according to claim 17, wherein the additional character number α supplied from the numerical value supply means is a fixed value preset in this means.
【請求項20】 前記選択手段により予測文字列が確
定される毎に、前記計数手段により前記確定予測文字列
の文字数を計数して得た文字数mと、この時、前記計数
手段により既に計数されている入力文字数nとを収集す
る収集手段と、この収集手段により収集された入力文字
数nに対する前記文字数mの関係を統計処理する演算手
段と、この演算手段による統計処理結果から前記加算文
字数αを求める加算値更新手段とを設け、前記加算値供
給手段は前記加算値更新手段により求めた加算文字数α
を前記検索手段に供給することを特徴とする請求項17
記載の文字列予測装置。
20. The number of characters m obtained by counting the number of characters of the confirmed predictive character string by the counting unit each time the predicting character string is confirmed by the selecting unit, and at this time, the number of characters already counted by the counting unit. Collecting means for collecting the input character number n, the calculating means for statistically processing the relationship of the character number m to the input character number n collected by the collecting means, and the added character number α from the statistical processing result by the calculating means. The addition value updating means for obtaining is provided, and the addition value supplying means is provided with the addition character number α obtained by the addition value updating means.
Is supplied to the search means.
The described character string prediction device.
【請求項21】 前記検索手段により前記辞書から検
索された予測文字列が複数あった場合、前記検索された
予測文字列を一つ或いは複数の基準に基づいて出力優先
順位順に並び替えてから前記表示手段に出力する並び変
え手段を設けたことを特徴とする請求項17乃至20い
ずれか記載の文字列予測装置。
21. When there are a plurality of predicted character strings retrieved from the dictionary by the retrieval means, the retrieved predicted character strings are rearranged in the output priority order based on one or a plurality of criteria, and then, 21. The character string prediction device according to claim 17, further comprising rearrangement means for outputting to the display means.
【請求項22】 前記並び変え手段は前記検索手段に
より検索された予測文字列を前記計数手段により計数し
た文字数を基準として、前記検索された予測文字列の出
力優先順位を並び替えることを特徴とする請求項21記
載の文字列予測装置。
22. The rearranging means rearranges the output priority order of the retrieved predicted character strings on the basis of the number of characters counted by the counting means in the predicted character strings retrieved by the searching means. The character string prediction device according to claim 21.
【請求項23】 文字列の使用頻度情報を収容した辞
書を設け、前記並び変え手段は前記検索手段により前記
辞書から検索された予測文字列の使用頻度を基準として
前記検索された予測文字列の出力優先順位を並び替える
ことを特徴とする請求項21記載の文字列予測装置。
23. A dictionary accommodating the usage frequency information of character strings is provided, and the rearranging means stores the predicted character strings searched based on the usage frequency of the predicted character strings searched from the dictionary by the searching means. 22. The character string prediction device according to claim 21, wherein the output priorities are rearranged.
【請求項24】 前記選択手段により予測文字列が確
定される毎に、確定された予測文字列を収集する学習手
段と、利用者により文字列が入力されると、前記検索手
段は前記入力文字列を先頭部分に持つ文字列を前記辞書
と前記学習手段の中から検索し、その結果、検索された
予測文字列が複数あった場合、前記並び変え手段は前記
学習手段から検索された予測文字列を他の予測文字列に
対して最優先で出力するような並び替えを行うことを特
徴とする請求項21乃至23いずれか記載の文字列予測
装置。
24. A learning unit that collects a fixed predicted character string each time the predicting character string is fixed by the selecting unit; and a search unit when the character string is input by a user. When a character string having a string at the head portion is searched from the dictionary and the learning unit, and as a result, there are a plurality of predicted character strings searched, the rearrangement unit causes the predictive character searched from the learning unit. 24. The character string predicting device according to claim 21, wherein the character string predicting device performs rearrangement so that the columns are output with the highest priority with respect to other predicted character strings.
【請求項25】 前記学習手段は確定予測文字列の先
頭部分を構成する文字列並びに前記確定予測文字列が収
容されている前記辞書の辞書アドレスとを前記文字列に
リンクして収集し、前記検索手段は前記入力文字列と同
じ文字列を前記学習手段から検索すると、この文字列に
リンクして収集されている辞書アドレスの文字列を前記
辞書から検索し、この検索した文字列を前記学習手段か
ら検索した予測文字列とすることを特徴とする請求項2
4記載の文字列予測装置。
25. The learning means links a character string forming a head portion of a definite predictive character string and a dictionary address of the dictionary accommodating the definite predictive character string by collecting the character string, When the learning unit searches the learning unit for the same character string as the input character string, the searching unit searches the dictionary for a character string of the dictionary address collected by linking to the character string, and the searched character string is used for the learning. The predicted character string retrieved from the means is used.
4. The character string prediction device described in 4.
【請求項26】 入力された文字列を先頭部分に持つ
文字列を辞書に収容されている文字列の中から検索する
ことにより、前記入力文字列に続く文字列を予測し、前
記辞書から検索された文字列を予測文字列として出力す
る文字列予測装置において、文字と共に文字補完記号を
入力する入力手段と、この入力手段から入力された文字
と同じ位置に同一の文字を有し、且つ入力された文字補
完記号の位置に文字を補完して成る文字列を前記辞書か
ら検索する検索手段と、この検索手段により検索された
予測文字列を表示する表示手段と、この表示手段により
表示された予測文字列の中で任意の文字列を確定予測文
字として利用者に選択させる選択手段とを具備したこと
を特徴とする文字列予測装置。
26. A character string following the input character string is predicted by searching the character string stored in the dictionary for a character string having the input character string at the head portion, and is searched from the dictionary. In a character string prediction device that outputs a generated character string as a predicted character string, an input means for inputting a character completion symbol together with a character, and an input character having the same character at the same position as the character input from this input means. Search means for searching the dictionary for a character string obtained by complementing characters at the position of the character completion symbol, display means for displaying the predicted character string searched by the search means, and display means for displaying the predicted character string. A character string prediction device, comprising: a selection unit that allows a user to select an arbitrary character string as a confirmed predicted character from among the predicted character strings.
【請求項27】 前記入力手段により文字補完記号の
みが入力された場合、前記検索手段は予測文字列の検索
をせずに、前記入力された文字補完記号をそのまま前記
表示手段に出力することを特徴とする請求項26記載の
文字列予測装置。
27. When only the character completion symbol is input by the input means, the search means outputs the input character completion symbol as it is to the display means without searching for a predicted character string. 27. The character string prediction device according to claim 26.
【請求項28】 前記入力手段により入力される前記
文字補完記号を複数種とし、且つ前記検索手段は文字補
完記号の種類に応じてこの文字補完記号の位置に特定の
種類の文字を補完することを特徴とする請求項26又は
27記載の文字列予測装置。
28. A plurality of types of the character completion symbols input by the input means are used, and the search means complements a character of a specific type at the position of the character completion symbol according to the type of the character completion symbol. The character string prediction device according to claim 26 or 27.
【請求項29】 前記検索手段により前記辞書から検
索された予測文字列が複数あった場合、前記検索された
予測文字列を一つ或いは複数の基準に基づいて出力優先
順位順に並び替えてから前記表示手段に出力する並び変
え手段を設けたことを特徴とする請求項26乃至28い
ずれか記載の文字列予測装置。
29. When there are a plurality of predicted character strings retrieved from the dictionary by the retrieval means, the retrieved predicted character strings are rearranged in the output priority order based on one or a plurality of criteria, and then, 29. The character string predicting device according to claim 26, further comprising rearrangement means for outputting to a display means.
【請求項30】 前記選択手段により予測文字列が確
定される毎に、確定された予測文字列を収集する学習手
段と、利用者により文字列が入力されると、前記検索手
段は前記入力文字列を先頭部分に持つ文字列を前記辞書
と前記学習手段の中から検索し、その結果、検索された
予測文字列が複数あった場合、前記並び変え手段は前記
学習手段から検索された予測文字列を他の予測文字列に
対して最優先で出力するような並び替えを行うことを特
徴とする請求項29記載の文字列予測装置。
30. A learning unit that collects a fixed predicted character string each time the predicting character string is fixed by the selecting unit; and a search unit that inputs the character string when the user inputs the character string. When a character string having a string at the head portion is searched from the dictionary and the learning unit, and as a result, there are a plurality of predicted character strings searched, the rearrangement unit causes the predictive character searched from the learning unit. 30. The character string predicting device according to claim 29, wherein the character string predicting device is arranged to rearrange the strings so that the other predicted character strings are outputted with the highest priority.
【請求項31】 前記辞書に収容されている文字列は
ひらがな、漢字或いは漢字混じりひらがな文字列である
ことを特徴とする請求項17乃至30いずれか記載の文
字列予測装置。
31. The character string prediction device according to claim 17, wherein the character strings stored in the dictionary are hiragana, kanji, or hiragana character strings mixed with kanji.
【請求項32】 前記入力手段により入力された文字
列が前記文字補完記号を含まない文字列であるかどうか
を判定する判定手段を設け、この判定手段により前記入
力された文字列が前記文字補完記号を含まない文字列と
判定された場合は、請求項17乃至25いずれか記載の
文字列予測装置により予測文字列を得ることを特徴とす
る請求項26記載の文字列予測装置。
32. A determining unit is provided for determining whether the character string input by the input unit is a character string that does not include the character completion symbol, and the input character string is the character completion by the determining unit. 27. The character string prediction device according to claim 26, wherein when it is determined that the character string does not include a symbol, the predicted character string is obtained by the character string prediction device according to any one of claims 17 to 25.
【請求項33】 文字列を入力して文書を作成する文
書作成装置において、請求項17乃至32いずれか記載
の文字列予測装置を搭載し、この文字列予測装置により
確定された予測文字列を前記文書内に入力することを特
徴とする文書作成装置。
33. A document creating apparatus for creating a document by inputting a character string, wherein the character string predicting apparatus according to claim 17 is mounted, and a predictive character string determined by the character string predicting apparatus is provided. A document creating apparatus characterized by inputting in the document.
JP7056315A 1995-03-15 1995-03-15 Method and device for predicting character string, and document preparation device Withdrawn JPH08255156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7056315A JPH08255156A (en) 1995-03-15 1995-03-15 Method and device for predicting character string, and document preparation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7056315A JPH08255156A (en) 1995-03-15 1995-03-15 Method and device for predicting character string, and document preparation device

Publications (1)

Publication Number Publication Date
JPH08255156A true JPH08255156A (en) 1996-10-01

Family

ID=13023731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7056315A Withdrawn JPH08255156A (en) 1995-03-15 1995-03-15 Method and device for predicting character string, and document preparation device

Country Status (1)

Country Link
JP (1) JPH08255156A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006236201A (en) * 2005-02-28 2006-09-07 Omron Corp Character input method, program for character input and information processor
JP2010257417A (en) * 2009-04-28 2010-11-11 Pioneer Electronic Corp Apparatus, method and program for controlling display, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006236201A (en) * 2005-02-28 2006-09-07 Omron Corp Character input method, program for character input and information processor
JP4569319B2 (en) * 2005-02-28 2010-10-27 オムロン株式会社 Character input method, character input program, and information processing apparatus
JP2010257417A (en) * 2009-04-28 2010-11-11 Pioneer Electronic Corp Apparatus, method and program for controlling display, and recording medium

Similar Documents

Publication Publication Date Title
US5748512A (en) Adjusting keyboard
EP1356368B1 (en) Data entry method and system for personal computer, and corresponding computer readable medium
US5835635A (en) Method for the recognition and completion of characters in handwriting, and computer system
JPH0365757A (en) Sentence processor
JPH08255156A (en) Method and device for predicting character string, and document preparation device
JPH08255159A (en) Method and device for predicting character string, method and device for japanese syllabary and chinese character conversion, and document preparation device
JPH07334499A (en) Input device for character string
JP2007086911A (en) Text input device, text input method and text input program
JP2003196273A (en) Character string input device and character string input method
US5673217A (en) Idea processor
JP2006185380A (en) Character processor with prediction function, method, recording medium and program
JPH10207875A (en) Tabulating device and its method
JPH0638222B2 (en) Kanji selection device
JPH0128973B2 (en)
JPH06337857A (en) Kanji(chinese character) input system
JP3333345B2 (en) Character string prediction method and character string prediction device
JP2003244305A (en) Character input device of portable telephone set and method for inputting the character
JP2000057133A (en) Input prediction device, input predicting method and recording medium having recorded input prediction program thereon
JPS63128468A (en) Character input device
JP2575650B2 (en) Kana-Kanji conversion device
JPS6325766A (en) Input device for japanese word
JP2998654B2 (en) Kana-Kanji conversion candidate display method for Japanese input
JPH10269209A (en) Device and method for character string prediction
JPH0623973B2 (en) Character processor frequency change method
JPH08255157A (en) Method and device for predicting character string, and document preparation device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020604