JPH09274613A - Character string predicting method and document preparing device using the same - Google Patents

Character string predicting method and document preparing device using the same

Info

Publication number
JPH09274613A
JPH09274613A JP8082703A JP8270396A JPH09274613A JP H09274613 A JPH09274613 A JP H09274613A JP 8082703 A JP8082703 A JP 8082703A JP 8270396 A JP8270396 A JP 8270396A JP H09274613 A JPH09274613 A JP H09274613A
Authority
JP
Japan
Prior art keywords
character string
candidate
symbol
word
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8082703A
Other languages
Japanese (ja)
Inventor
Toshiya Tamura
俊哉 田村
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 JP8082703A priority Critical patent/JPH09274613A/en
Publication of JPH09274613A publication Critical patent/JPH09274613A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a character string intended by a user as a high-priority predictive candidate by storing the receding candidate selected by the user, inspecting connectivity with the preceding selected candidate in the case of prediction and narrowing down the predictive candidates. SOLUTION: When a character string to be a predictive object is inputted through a character string input part 101, a dictionary retrieval part 105 retrieves character strings having that input character string at their leading parts out of a word dictionary 106 as the candidates of a predictive character string. A predictive candidate control part 107 refers to a connection rule table 112 and a preceding candidate table 113 when any additional word is included in this retrieved candidate of the predictive character string, and the additional word connectable to this candidate selected the last time is narrowed down as the candidate of the predictive character string.

Description

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

【0001】[0001]

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

【0002】[0002]

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

【0003】そこで、文字入力の手間を省くための試み
としては、仮名漢字変換において長い文字列を短い文字
列で登録する方法があった。しかし、この方法では、予
め文字列を登録しておかなければならなかった。
Therefore, as an attempt to save the trouble of inputting characters, there has been a method of registering a long character string with a short character string in kana-kanji conversion. However, in this method, the character string had to be registered in advance.

【0004】これに対して考えられたのが予測入力と呼
ぶ方法で、例えば、文献(第48回情報処理学会全国大
会予稿集4J−11他)で報告されているように、最初
の数文字が入力された時点で単語辞書を検索して、その
数文字で始まる文字列(単語)を抽出する方法がある。
A method called a predictive input was conceived for this. For example, as reported in the literature (48th IPSJ National Convention Proceedings 4J-11 et al.), The first few characters There is a method of searching a word dictionary at the time when is input and extracting a character string (word) that starts with a few characters.

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

【0006】[0006]

【発明が解決しようとする課題】ところで、上述したよ
うな予測入力方法では、予測を始める時点での入力文字
数が多ければ多いほど、予測率が高くなるため、利用者
の望む文字列を出力することができる。しかし、利用者
に多数の入力を強いることになり、入力にかかる利用者
の負担を軽減するといった本来の目的が損なわれる。
By the way, in the predictive input method as described above, the greater the number of input characters at the time of starting the prediction, the higher the prediction rate becomes, and therefore the character string desired by the user is output. be able to. However, the user is forced to make a large number of inputs, which impairs the original purpose of reducing the user's burden of input.

【0007】一方、予測を始める時点での入力文字数が
少なければ少ない程、利用者の負担が軽減されることに
なる。しかし、入力文字数が少ない分、予測文字列の候
補の絞り込みが難しくなり、候補文字列が多数出現して
しまうことになる。この場合、表示画面が小さいと、全
ての予測候補を一括して表示することができない。した
がって、利用者の意図した文字列が優先的に表示されな
いといった不具合があった。
On the other hand, the smaller the number of input characters at the time of starting the prediction, the less the burden on the user. However, as the number of input characters is small, it becomes difficult to narrow down the candidates for the predicted character string, and many candidate character strings will appear. In this case, if the display screen is small, it is not possible to display all prediction candidates at once. Therefore, there is a problem that the character string intended by the user is not displayed preferentially.

【0008】本発明は上記のような点に鑑みなされたも
ので、利用者が選択した直前の候補を記憶しておき、予
測する際に直前に選択された候補との接続性を検査し、
予測候補の絞り込みを行うことによって、利用者の意図
した文字列を優先度の高い予測候補として得ることので
きる文字列予測方法及びこの文字列予測方法を用いた文
書作成装置を提供することを目的とする。
The present invention has been made in view of the above points, in which the immediately preceding candidate selected by the user is stored, and when predicting, the connectivity with the immediately selected candidate is checked,
An object of the present invention is to provide a character string prediction method capable of obtaining a character string intended by a user as a prediction candidate having a high priority by narrowing down the prediction candidates, and a document creation apparatus using this character string prediction method. And

【0009】[0009]

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

(1)本発明は、単語を格納した単語辞書と、自立語と
付属語の接続規則を格納した接続規則テーブルと、前回
選択された候補に関する情報を格納する前候補テーブル
とを有し、予測対象となる文字列の入力により、その入
力文字列を先頭部分に持つ文字列を上記単語辞書から予
測文字列の候補として検索し、この検索された予測文字
列の候補の中に付属語が含まれる場合に、上記接続規則
テーブルと上記前候補テーブルとを参照して上記前回選
択された候補に接続可能な付属語を予測文字列の候補と
するものである。
(1) The present invention has a word dictionary that stores words, a connection rule table that stores connection rules for independent words and attached words, and a pre-candidate table that stores information about previously selected candidates. By inputting the target character string, a character string that has the input character string at the beginning is searched from the above word dictionary as a candidate for the predicted character string, and an auxiliary word is included in the searched candidate for the predicted character string. In this case, referring to the connection rule table and the previous candidate table, the auxiliary word connectable to the previously selected candidate is used as the predicted character string candidate.

【0010】このような構成によれば、文字列を予測す
る際に、直前に入力された単語(前候補)と接続可能な
付属語だけを予測候補とすることによって、予測候補の
絞り込みを行うことができる。
According to such a configuration, when predicting a character string, only the auxiliary words connectable to the word (previous candidate) input immediately before are selected as the prediction candidates, thereby narrowing down the prediction candidates. be able to.

【0011】(2)本発明は、予測文字列の候補の中に
付属語が含まれる場合に、その付属語を自立語よりも優
先するように当該予測文字列の候補の並べ換えを行うよ
うにしたものである。
(2) In the present invention, when a candidate for a predictive character string includes an adjunct word, the candidate for the predictive character string is rearranged so that the adjunct word has priority over the independent word. It was done.

【0012】このような構成によれば、予測候補の中に
付属語が存在する場合には、その付属語を自立語よりも
優先的に得ることができる。 (3)本発明は、単語を格納した単語辞書と、前回選択
された候補に関する情報を格納する前候補テーブルとを
有し、予測対象となる文字列の入力により、その入力文
字列を先頭部分に持つ文字列を上記単語辞書から予測文
字列の候補として検索し、この検索された予測文字列の
候補の中に付属語が含まれる場合に、上記前候補テーブ
ルが空であるか否かをチェックし、上記前候補テーブル
が空の場合には上記付属語を除いた自立語だけを予測文
字列の候補とするものである。
According to such a configuration, when an adjunct word exists in the prediction candidates, the adjunct word can be obtained with priority over the independent word. (3) The present invention has a word dictionary storing words and a pre-candidate table that stores information about previously selected candidates, and when a character string to be predicted is input, the input character string is placed at the head part. Is searched as a candidate for a predicted character string from the word dictionary, and if the candidate word for the predicted character string thus searched contains an adjunct word, whether or not the preceding candidate table is empty is determined. If it is checked and the previous candidate table is empty, only independent words excluding the adjuncts are used as candidates for the predicted character string.

【0013】このような構成によれば、文字列を予測す
る際に、句読点の直後では付属語は予測候補とせず、自
立語だけを予測候補とすることによって、予測候補の絞
り込みを行うことができる。
According to such a configuration, when predicting a character string, the adjunct word is not made a prediction candidate immediately after the punctuation mark, and only the independent word is made a prediction candidate, so that the prediction candidates can be narrowed down. it can.

【0014】(4)本発明は、単語を格納した単語辞書
と、各用言の活用型・活用形に応じた活用語尾を列挙し
た活用テーブルとを有し、予測対象となる文字列の入力
により、その入力文字列を先頭部分に持つ文字列を上記
単語辞書から予測文字列の候補として検索し、この検索
された予測文字列の候補の中に用言が含まれる場合に、
その用言は語幹のみを呈示し、上記予測文字列の候補の
中から用言が選択された場合に上記活用テーブルを参照
して当該用言の対応する活用語尾を呈示するものであ
る。
(4) The present invention has a word dictionary in which words are stored, and a utilization table in which inflection endings according to inflection types and inflection forms of each word are listed, and a character string to be predicted is input. Thus, a character string having the input character string at the beginning is searched as a predicted character string candidate from the word dictionary, and when a word is included in the searched predicted character string candidates,
The adjective presents only the stem, and when the adjective is selected from the candidates for the predicted character string, it refers to the inflection table and presents the inflection corresponding to the adjective.

【0015】このような構成によれば、文字列を予測す
る際に、予測候補中に用言が含まれる場合にはその語幹
のみを呈示して利用者による候補選択処理を行い、用言
が選択された時点で対応する活用語尾を呈示することに
よって、予測候補の絞り込みを行うことができる。
With such a configuration, when predicting a character string, if the prediction candidate includes a noun, only the word stem is presented and the user performs the candidate selection process to predict the noun. It is possible to narrow down the prediction candidates by presenting the corresponding inflection ending at the selected time.

【0016】(5)本発明は、単語を格納した単語辞書
と、対となっている記号の組を列挙した記号対応テーブ
ルとを有し、予測対象となる文字列の入力により、その
入力文字列を先頭部分に持つ文字列を上記単語辞書から
予測文字列の候補として検索し、記号の入力に従って当
該記号が上記記号対テーブルに登録されている記号か否
かをチェックし、当該記号が上記記号対テーブルに登録
されている記号であれば当該記号と対をなす記号を検出
し、この検出された記号を上記予測文字列の候補に加え
るものである。
(5) The present invention has a word dictionary that stores words and a symbol correspondence table that enumerates pairs of symbols, and by inputting a character string to be predicted, the input character A character string having a column at the beginning is searched from the word dictionary as a candidate for a predictive character string, and it is checked whether or not the symbol is a symbol registered in the symbol pair table according to the input of the symbol. If the symbol is a symbol registered in the symbol pair table, a symbol paired with the symbol is detected, and the detected symbol is added to the predicted character string candidates.

【0017】このような構成によれば、文字列を予測す
る際に、例えば始めかぎ括弧“「”と終りかぎ括
弧“」”のような対となっている記号の一方が入力され
た場合には、次の予測処理において、その記号と対をな
す他方の記号を予測候補として得ることができる。
According to this structure, when predicting a character string, when one of a pair of symbols such as a start angle bracket """and an end angle bracket""" is input. Can obtain the other symbol paired with the symbol as a prediction candidate in the next prediction process.

【0018】[0018]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態を説明する。図1は本発明の一実施形態に係る
文書作成装置の構成を示すブロック図である。本装置
は、文字列予測機能を備えた日本語ワードプロセッサで
ある。図1において、文字列入力部101は予測対象と
なる文字列を入力するものである。この場合の入力方式
としては、キー入力方式あるいは手書き入力方式があ
る。
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 illustrating a configuration of a document creation device according to an embodiment of the present invention. This device is a Japanese word processor with a character string prediction function. In FIG. 1, a character string input unit 101 inputs a character string to be predicted. The input method in this case includes a key input method or a handwriting input method.

【0019】図2(a)にキー入力方式を想定した文字
列入力部101の構成を示す。文字列入力部101は、
キーボード11、かな漢字変換部12、変換辞書13か
ら構成される。
FIG. 2A shows the configuration of the character string input unit 101 assuming a key input method. The character string input unit 101 is
The keyboard 11 includes a kana-kanji conversion unit 12 and a conversion dictionary 13.

【0020】キーボード11は、文字列をキー入力する
ための入力装置である。このキーボード11には、「文
字」キー、「数字」キー等の各種入力キーの他に、ここ
では予測動作の開始を指示するための予測キー11aを
有する。かな漢字変換部12は、キーボード11を通じ
て入力された文字列をかな漢字変換する。このかな漢字
変換によって得られた文字列(変換結果)は後述する文
字列バッファ104に一時的に格納された後、入力者が
その文字列を確定したときにクリアされる。ただし、予
測キー11aの押下により予測動作の開始が指示された
場合には、かな漢字変換部12は文字列バッファ104
に格納された文字列を取り出し、これを予測対象文字列
として後述する辞書変換部105に渡す。変換辞書13
は、かな漢字変換部12で用いられる辞書であり、読み
とその読みに対応する見出し語など、かな漢字変換処理
に必要な各種の情報を記憶している。
The keyboard 11 is an input device for keying in a character string. The keyboard 11 has a prediction key 11a for instructing the start of a prediction operation, in addition to various input keys such as a "character" key and a "numeric" key. The kana-kanji conversion unit 12 converts kana-kanji into a character string input through the keyboard 11. The character string (conversion result) obtained by this kana-kanji conversion is temporarily stored in the character string buffer 104 described later, and then cleared when the input person confirms the character string. However, when the start of the prediction operation is instructed by pressing the prediction key 11a, the kana-kanji conversion unit 12 causes the character string buffer 104
The character string stored in is extracted and passed as a prediction target character string to the dictionary conversion unit 105 described later. Conversion dictionary 13
Is a dictionary used in the kana-kanji conversion unit 12 and stores various information necessary for kana-kanji conversion processing, such as reading and headwords corresponding to the reading.

【0021】図2(b)に手書き入力方式を想定した文
字列入力部101の構成を示す。文字列入力部101
は、タブレット21、認識部22、認識辞書23から構
成される。
FIG. 2B shows the structure of the character string input unit 101 assuming a handwriting input method. Character string input unit 101
Is composed of a tablet 21, a recognition unit 22, and a recognition dictionary 23.

【0022】タブレット21は、文字列を手書き入力す
るための入力装置である。このタブレット21は、手書
き入力用のペンを使用し、そのペンの筆記操作にて文字
列の手書き入力を行う。また、ここでは予測動作の開始
を指示するための予測ボタン21aが設けられている。
認識部22は、タブレット21を通じて手書き入力され
た文字列を文字認識する。この文字認識によって得られ
た文字列(認識結果)は後述する文字列バッファ104
に一時的に格納された後、入力者がその文字列を確定し
たときにクリアされる。ただし、予測ボタン21aの押
下により予測動作の開始が指示された場合には、認識部
22は文字列バッファ104に格納された文字列を取り
出し、これを予測対象文字列として後述する辞書検索部
105に渡す。認識辞書23は、認識部22で用いられ
る辞書であり、文字を構成する各ストロークの情報な
ど、文字認識処理に必要な各種の情報を記憶している。
The tablet 21 is an input device for handwriting input of a character string. The tablet 21 uses a pen for handwriting input, and performs handwriting input of a character string by a writing operation of the pen. Further, here, a prediction button 21a for instructing the start of the prediction operation is provided.
The recognition unit 22 character-recognizes the character string handwritten and input through the tablet 21. A character string (recognition result) obtained by this character recognition is a character string buffer 104 described later.
After being temporarily stored in, it is cleared when the user confirms the character string. However, when the start of the prediction operation is instructed by pressing the prediction button 21a, the recognition unit 22 extracts the character string stored in the character string buffer 104 and uses this as the prediction target character string, which will be described later in the dictionary search unit 105. Pass to. The recognition dictionary 23 is a dictionary used in the recognition unit 22, and stores various kinds of information necessary for character recognition processing, such as information on strokes forming a character.

【0023】また、図1において、記号対検知部102
は、記号が入力された場合にそれを出力バッファ116
に格納すると共に、その記号が記号対テーブル103に
登録されているか否かを検索し、その記号が記号対テー
ブル103に登録されている場合には、それと対をなす
記号を記号対テーブル103から検出して記号対バッフ
ァ115に格納する。
Further, in FIG. 1, the symbol pair detecting unit 102
Output buffer 116 when a symbol is input
When the symbol is registered in the symbol pair table 103, the symbol pair table 103 stores the symbol in the symbol pair table 103. It is detected and stored in the symbol pair buffer 115.

【0024】記号対テーブル103は、始めの括弧記号
と終りの括弧記号といったような記号の組を列挙したテ
ーブルである。この記号の例としては、以下のようなも
のが挙げられる。
The symbol pair table 103 is a table listing a set of symbols such as a start bracket symbol and an end bracket symbol. Examples of this symbol include the following.

【0025】‘「’と‘」’ ‘『’と‘』’ ‘(’と‘)’ ‘[’と‘]’ ‘{’と‘}’ 文字列バッファ104は、確定前の文字列を一時的に保
存しておくために使用される。辞書検索部105は、入
力された文字列を先頭部分に持つ文字列を単語辞書10
6から予測文字列の候補として検索する。単語辞書10
6には、各種の単語が格納されている。
"" And """""and""""(" and ")""[" and "]""{" and "}" The character string buffer 104 stores the character string before being determined. Used for temporary storage. The dictionary search unit 105 searches the word dictionary 10 for a character string having the input character string at the beginning.
6 is searched as a candidate for the predicted character string. Word dictionary 10
In 6 are stored various words.

【0026】予測候補制御部107は、予測候補判定部
108に指示して予測候補の絞り込み処理を行う。ま
た、予測候補制御部107は、予測候補を利用者に呈示
して候補選択処理を行い、利用者によって選択された予
測候補を出力バッファ116に格納すると共に、前候補
テーブル113に格納する。特に、句読点が入力された
場合には前候補テーブル113をクリアする。
The prediction candidate control unit 107 instructs the prediction candidate determination unit 108 to narrow down the prediction candidates. In addition, the prediction candidate control unit 107 presents the prediction candidate to the user and performs a candidate selection process, stores the prediction candidate selected by the user in the output buffer 116, and stores the prediction candidate in the previous candidate table 113. Particularly, when the punctuation mark is input, the previous candidate table 113 is cleared.

【0027】予測候補判定部108は、辞書検索部10
5によって得られた検索結果の中に付属語が含まれる場
合には接続規則テーブル112を参照し、前候補テーブ
ル113に格納された直前の候補との接続判定を行い、
接続可能な付属語のみを候補バッファ111に格納す
る。特に、前候補テーブル113が空の場合には、当該
入力文字列が文頭であると判定して付属語は全て接続不
能とする。
The prediction candidate determination unit 108 is a dictionary search unit 10
When the search result obtained in step 5 includes an adjunct word, the connection rule table 112 is referred to, connection determination with the immediately preceding candidate stored in the previous candidate table 113 is performed,
Only connectable attached words are stored in the candidate buffer 111. In particular, when the previous candidate table 113 is empty, it is determined that the input character string is the beginning of the sentence, and all the adjunct words cannot be connected.

【0028】出力順調整部109は、候補バッファ11
1に付属語が格納されている場合にその付属語が自立語
よりも優先となるように予測候補の並べ換えを行う。予
測候補追加部110は、利用者によって選択された候補
が用言の語幹である場合に直ちに活用語尾テーブル11
4を検索し、当該用言の語幹に対応する活用語尾を呈示
する。または、記号対バッファ115に格納されている
記号がある場合には、辞書検索部105の検索結果の格
納された候補バッファ111に当該記号を追加する。候
補バッファ111は、予測文字列の候補を格納する。
The output order adjusting unit 109 is provided in the candidate buffer 11
When the attached word is stored in 1, the prediction candidates are rearranged so that the attached word has priority over the independent word. The prediction candidate addition unit 110 immediately uses the inflection ending table 11 when the candidate selected by the user is the stem of a noun.
4 is searched, and the inflection ending corresponding to the stem of the said idiom is presented. Alternatively, if there is a symbol stored in the symbol pair buffer 115, the symbol is added to the candidate buffer 111 in which the search result of the dictionary search unit 105 is stored. The candidate buffer 111 stores predicted character string candidates.

【0029】接続規則テーブル112は、自立語と付属
語の接続規則を列挙したテーブルである。前候補テーブ
ル113は、利用者によって前回選択された候補を格納
するものであり、句読点が入力された場合にはクリアさ
れる。活用語尾テーブル114は、用言の活用型毎にそ
の活用形に応じた活用語尾を列挙したテーブルである。
The connection rule table 112 is a table listing connection rules for independent words and adjunct words. The previous candidate table 113 stores the candidate selected last time by the user, and is cleared when a punctuation mark is input. The inflection ending table 114 is a table that enumerates inflection endings according to the inflection type for each inflection type.

【0030】記号対バッファ115は、記号対検知部1
02によって検出された記号を格納する。出力バッファ
116は、利用者によって選択された候補を格納する。
文字列出力部117は、出力バッファ116に格納され
た文字列を画面表示する。
The symbol pair buffer 115 includes the symbol pair detector 1.
Store the symbol detected by 02. The output buffer 116 stores the candidates selected by the user.
The character string output unit 117 displays the character string stored in the output buffer 116 on the screen.

【0031】次に、同実施形態の動作を説明する。図3
および図4は同実施形態における文字列予測処理の流れ
を示したフローチャートである。まず、文字列入力部1
01において、入力バッファ104、候補バッファ11
1、出力バッファ116が初期化される(ステップ20
1)。この後、文字列入力部101を通じて順次入力さ
れる文字列が予測対象となるまで入力バッファ104に
バッファリングされる(ステップ202〜205)。た
だし、記号が入力された場合には(ステップ203のN
o)、予測処理は行わずにステップ226以降の処理を
行う。
Next, the operation of the embodiment will be described. FIG.
And FIG. 4 is a flowchart showing the flow of the character string prediction process in the same embodiment. First, the character string input section 1
01, input buffer 104, candidate buffer 11
1. The output buffer 116 is initialized (step 20)
1). After that, the character strings sequentially input through the character string input unit 101 are buffered in the input buffer 104 until they become prediction targets (steps 202 to 205). However, if the symbol is entered (N in step 203)
o), the processing after step 226 is performed without performing the prediction processing.

【0032】なお、文字列入力部101を通じて入力さ
れる文字列は、キー入力によりかな漢字変換された後の
文字列、あるいは、手書き入力により文字認識された後
の文字列である。
The character string input through the character string input unit 101 is a character string that has undergone kana-kanji conversion by key input or a character string that has been recognized by handwriting.

【0033】また、入力文字列を予測対象として判断す
るタイミングは、例えば予測ボタンの押下により利用者
が予測指示を行ったとき、あるいは、所定の時間が経過
したときなどであるが、本発明はこれらのタイミングに
限定されるものではない。
The timing for determining the input character string as a prediction target is, for example, when the user gives a prediction instruction by pressing the prediction button, or when a predetermined time has elapsed. The timing is not limited to these.

【0034】しかして、予測指示等によって入力バッフ
ァ104に格納された文字列が予測対象となると、入力
バッファ104に格納された予測対象文字列が辞書検索
部105へと送られる。辞書検索部105は、その文字
列を先頭部分に持つ文字列を単語辞書106から検索
し、その検索結果を予測候補制御部107へと送る(ス
テップ206)。
When the character string stored in the input buffer 104 becomes a prediction target due to a prediction instruction or the like, the prediction target character string stored in the input buffer 104 is sent to the dictionary retrieval unit 105. The dictionary search unit 105 searches the word dictionary 106 for a character string having the character string at the beginning, and sends the search result to the prediction candidate control unit 107 (step 206).

【0035】予測候補制御部107は、利用者によって
直前に選択された予測候補が前候補テーブル113に格
納されているかどうかをチェックする(ステップ20
7)。前候補テーブル113に前候補が格納されている
場合には(ステップ207のYes)、予測候補制御部
107は予測候補判定部108を通じて前候補テーブル
113に格納された情報と接続規則テーブル112を参
照して前候補との接続判定を行う(ステップ208)。
その結果、前候補と接続可能な候補を候補バッファ11
1に格納する(ステップ209)。上記同様の処理を全
ての辞書検索結果について繰り返す(ステップ208〜
210)。
The prediction candidate control unit 107 checks whether the prediction candidate selected immediately before by the user is stored in the previous candidate table 113 (step 20).
7). When the previous candidate is stored in the previous candidate table 113 (Yes in step 207), the prediction candidate control unit 107 refers to the information stored in the previous candidate table 113 and the connection rule table 112 through the prediction candidate determination unit 108. Then, the connection with the previous candidate is determined (step 208).
As a result, candidates that can be connected to the previous candidate are selected in the candidate buffer 11
1 (step 209). The same processing as above is repeated for all dictionary search results (step 208-).
210).

【0036】前候補と接続可能な候補とは、例えば
「で」で始まる文字列として、「で」,「では」,「で
も」といったような付属語のことである。このように、
前候補が存在する場合には、その前候補に接続可能な付
属語が当該入力文字列の予測候補の1つとして含まれる
ことになる(請求項1または6、図5(b)参照)。な
お、付属語とは、助詞や助動詞のように、単独では文節
になりえず、常に自立語に付属して用いられる語であ
る。
The preceding candidate and the connectable candidate are attached words such as "de", "de", and "de" as a character string starting with "de". in this way,
When the previous candidate exists, an adjunct word connectable to the previous candidate is included as one of the prediction candidates of the input character string (claim 1 or 6, FIG. 5B). Note that the adjunct word is a word such as a particle or auxiliary verb that cannot be a phrase by itself and is always attached to an independent word.

【0037】ここで、候補バッファ111に格納された
予測候補中に付属語があれば、出力順調整部109はそ
の付属語を優先するように予測候補の並べ換えを行う
(ステップ211)。これにより、各候補の中で付属語
が優先的に出力されることになり、利用者はその付属語
を第1候補として得ることができる(請求項2または
7、図5(c)参照)。
If there is an adjunct word in the prediction candidates stored in the candidate buffer 111, the output order adjusting unit 109 rearranges the prediction candidates so that the adjunct word has priority (step 211). As a result, the adjunct word is preferentially output among the candidates, and the user can obtain the adjunct word as the first candidate (see claim 2 or 7, FIG. 5 (c)). .

【0038】一方、上記ステップ207において、前候
補テーブル113が空の場合には、予測候補制御部10
7は予測候補判定部108を通じて辞書検索結果の中の
自立語だけを候補バッファ111に格納する(ステップ
212〜214)。
On the other hand, in step 207, when the previous candidate table 113 is empty, the prediction candidate control unit 10
7 stores only the independent word in the dictionary search result in the candidate buffer 111 through the prediction candidate determination unit 108 (steps 212 to 214).

【0039】このように、前候補が存在しない場合に
は、当該入力文字列は文頭であり、その予測候補として
付属語は有り得ないので、自立語のみが候補バッファ1
11に格納される(請求項3または8、図6(b)参
照)。なお、自立語とは、名詞、動詞、形容詞、形容動
詞、副詞、連体詞、接続詞、感動詞のように、一単語で
一文節を形成可能な語である。
As described above, when there is no previous candidate, the input character string is the beginning of the sentence, and there is no attached word as a prediction candidate, so only the independent word is the candidate buffer 1.
11 (see claim 3 or 8, FIG. 6B). An independent word is a word that can form one phrase with one word, such as a noun, a verb, an adjective, an adjective, an adverb, an adnominal, a conjunction, and a verb.

【0040】予測候補の候補バッファ111への格納処
理が終ると、予測候補追加部110は記号対バッファ1
15に記号が格納されているかどうかをチェックする
(ステップ215)。記号対バッファ115に記号が格
納されている場合(ステップ215のYes)、予測候
補追加部110はその記号を当該入力文字列の予測候補
の1つとして候補バッファ111に加える(ステップ2
16)。
When the process of storing the prediction candidates in the candidate buffer 111 is completed, the prediction candidate adding unit 110 causes the symbol pair buffer 1
It is checked whether a symbol is stored in 15 (step 215). When the symbol is stored in the symbol pair buffer 115 (Yes in step 215), the prediction candidate adding unit 110 adds the symbol to the candidate buffer 111 as one of the prediction candidates of the input character string (step 2).
16).

【0041】続いて、予測候補制御部107は候補バッ
ファ111に格納された予測候補を利用者に呈示して候
補選択処理を行う(ステップ217)。その際に、予測
候補の中に用言が含まれている場合にはその語幹のみを
利用者に呈示し、利用者が当該用言を選択した場合に
(ステップ218のYes)、予測候補制御部107は
予測候補追加部110を通じて当該用言に対応する活用
語尾を活用語尾テーブル114から検索し(ステップ2
18,219)、その活用語尾を利用者に呈示して再び
候補選択処理を行う(ステップ220)。なお、用言と
は、動詞のように活用形を有する語のことである。
Subsequently, the prediction candidate control unit 107 presents the prediction candidates stored in the candidate buffer 111 to the user and performs a candidate selection process (step 217). At that time, when the prediction candidate includes a noun, only the stem of the word is presented to the user, and when the user selects the noun (Yes in step 218), the prediction candidate control is performed. The unit 107 searches the inflection ending table 114 for an inflection ending corresponding to the relevant noun through the prediction candidate adding unit 110 (step 2
18, 219), the inflection ending is presented to the user, and the candidate selection process is performed again (step 220). Note that a verb is a word having an inflected form such as a verb.

【0042】このように、予測候補が用言である場合に
は、まず、その語幹のみが提示された後、利用者の選択
により、該当する活用語尾が提示されることになる(請
求項4または9、図7(b)参照)。
As described above, when the prediction candidate is a noun, first, only its stem is presented, and then the corresponding inflection ending is presented by the user's selection (claim 4). Or 9, see FIG. 7 (b).

【0043】また、利用者によって選択された予測候補
が記号であった場合には(ステップ221のYes)、
予測候補制御部107は予測候補追加部110を通じて
記号対バッファをクリアする(ステップ221,22
2)。この後、予測候補制御部107は選択された候補
の品詞情報を前候補テーブル113に格納すると共に
(ステップ223)、選択された候補を出力バッファ1
16に格納する(ステップ224)。文字列出力部11
7は、この出力バッファ116に格納された選択候補を
画面表示する(ステップ230)。
If the prediction candidate selected by the user is a symbol (Yes in step 221),
The prediction candidate control unit 107 clears the symbol pair buffer through the prediction candidate adding unit 110 (steps 221 and 22).
2). After that, the prediction candidate control unit 107 stores the part-of-speech information of the selected candidate in the previous candidate table 113 (step 223) and outputs the selected candidate to the output buffer 1.
16 (step 224). Character string output unit 11
7 displays the selection candidates stored in the output buffer 116 on the screen (step 230).

【0044】また、文字列の入力処理において、記号が
入力された場合には(ステップと203のNo)、予測
候補制御部107はその入力された記号を出力バッファ
116に格納し(ステップ225)、記号対検知部10
2を通じて記号対テーブル103を検索される(ステッ
プ226)。検索の結果、当該記号が記号対テーブル1
03に登録された記号である場合には(ステップ227
のYes)、予測候補制御部107は当該記号と対をな
す記号を記号対バッファ115に格納後(ステップ22
7,228)、前候補テーブル113をクリアする(ス
テップ229)。文字列出力部117は、この出力バッ
ファ116に格納された記号を画面表示する(ステップ
230)。
If a symbol is input in the character string input process (No in step 203), the prediction candidate control unit 107 stores the input symbol in the output buffer 116 (step 225). , Symbol pair detector 10
The symbol pair table 103 is searched through 2 (step 226). As a result of the search, the relevant symbol is the symbol pair table 1
If the symbol is registered in 03 (step 227)
Yes), the prediction candidate control unit 107 stores the symbol paired with the symbol in the symbol pair buffer 115 (step 22).
7, 228) and the previous candidate table 113 is cleared (step 229). The character string output unit 117 displays the symbols stored in the output buffer 116 on the screen (step 230).

【0045】このように、一対の記号の組のうちの一方
が入力されると、その記号と対をなす他方の記号が記号
対バッファ115に一旦格納された後、次の予測処理の
ときに、当該入力文字列の予測候補の1つとして前候補
テーブル113に格納されることになる(ステップ21
5、216)。これにより、例えば‘「’という記号が
あった場合には、当該入力文字列の予測候補の1つとし
て、‘」’という記号が含まれるようになる(請求項5
または10、図8参照)。
As described above, when one of the pair of symbols is input, the other symbol forming a pair with the symbol is temporarily stored in the symbol pair buffer 115, and then, at the time of the next prediction process. , Will be stored in the previous candidate table 113 as one of the prediction candidates of the input character string (step 21).
5, 216). Thereby, for example, when there is a symbol "", the symbol "" is included as one of the prediction candidates of the input character string (claim 5).
Or 10, see FIG. 8).

【0046】次に、上述した予測処理を具体例を挙げて
説明する。図5は本発明の請求項1または6、請求項2
または7に対応する予測例を示したものである。図5
(a)は従来例、同図(a)は請求項1または6の予測
例、同図(b)は請求項2または7の予測例を示してい
る。
Next, the above-described prediction process will be described with a specific example. FIG. 5 shows claims 1 or 6 and claim 2 of the present invention.
Or, it shows a prediction example corresponding to 7. FIG.
(A) shows a conventional example, (a) shows the prediction example of claim 1 or 6, and (b) shows the prediction example of claim 2 or 7.

【0047】例えば「公園」という文字列が既に確定表
示されている状態で、利用者が「で」という文字列を入
力した場合において、従来方式では、図5(a)に示す
ように、単に「で」を先頭に持つ文字列として、「でん
わ(電話)」,「でんしゃ(電車)」,「でんき(電
気)」…といった自立語のみを予測結果として出力す
る。
For example, when the user inputs the character string "de" in the state where the character string "park" is already confirmed and displayed, in the conventional method, as shown in FIG. As a character string having “de” at the head, only independent words such as “Denwa (telephone)”, “Densha (train)”, “Denki (electric)” ... Are output as the prediction result.

【0048】一方、本発明の請求項1または6では、直
前の単語を考慮した予測を行うので、同図(b)に示す
ように、「公園」の直後で「で」を入力すると、助詞の
「で」,「では」,「でも」といった付属語も予測結果
として出力される。
On the other hand, according to claim 1 or 6 of the present invention, since prediction is performed in consideration of the immediately preceding word, if "de" is entered immediately after "park" as shown in FIG. The attached words such as “de”, “de”, and “de” are also output as the prediction result.

【0049】また、本発明の請求項2または7では、自
立語よりも付属語の方が候補数が圧倒的に少ないことを
考慮して、同図(c)に示すように、予測候補の中に付
属語が含まれる場合には、その付属語が自立語よりも優
先的に出力される。
Further, in claim 2 or 7 of the present invention, considering that the number of candidates of the adjunct word is overwhelmingly smaller than that of the independent word, as shown in FIG. When an adjunct word is included, the adjunct word is output with priority over the independent word.

【0050】なお、本発明では、付属語も予測候補の1
つとして加えるため、図5の例では全体的な候補数が増
すことになる。しかしながら、本発明では前候補と関連
深い付属語のみを対象として候補の絞り込みを行ってお
り、単に先頭文字が一致する付属語を抽出するものでは
ない。もし、従来方式で予測候補に付属語を含ませると
すれば、単に先頭文字が一致する付属語を全て加えるこ
とになり、その数は膨大になる。
It should be noted that in the present invention, the attached word is also one of the prediction candidates.
Therefore, in the example of FIG. 5, the total number of candidates increases. However, in the present invention, the candidates are narrowed down only for the adjunct words that are closely related to the previous candidate, and the adjunct words having the same first character are not simply extracted. If the conventional method were to include adjuncts in the prediction candidates, all the adjuncts with the same first character would be added, and the number would be enormous.

【0051】図6は本発明の請求項3または8に対応す
る予測例を示したものである。図6(a)は従来例、同
図(b)は請求項3または8の予測例を示している。例
えば「…なので、」という文字列が既に確定表示されて
いる状態で、利用者が「つ」という文字列を入力した場
合において、従来方式では、図6(a)に示すように、
単に「つ」を先頭に持つ文字列として、「ついて」とい
った付属語も予測される。
FIG. 6 shows a prediction example corresponding to claim 3 or 8 of the present invention. FIG. 6A shows a conventional example, and FIG. 6B shows a prediction example of claim 3 or 8. For example, when the user inputs the character string “tsu” while the character string “..., so” is already confirmed and displayed, in the conventional method, as shown in FIG.
An adjunct such as "tetsu" is also predicted as a character string that starts with "tsu".

【0052】本発明の請求項3または8では、直前の句
読点「、」も考慮した予測を行うので、この場合に入力
文字列である「つ」を文頭と判断し、同図(b)に示す
ように、「つよい(強い)」,「つき(月)」,…とい
った自立語だけが予測結果として出力される。
In claim 3 or 8 of the present invention, the prediction is performed in consideration of the immediately preceding punctuation mark ",". In this case, therefore, the input character string "tsu" is judged to be the beginning of the sentence, and FIG. As shown, only independent words such as "tsuyoi (strong)", "tsuki (month)", ... Are output as the prediction result.

【0053】図7は本発明の請求項4または9に対応す
る予測例を示したものである。図7(a)は従来例、同
図(b)は請求項4または9の予測例を示している。例
えば「は」という文字列を予測対象として候補を抽出す
ると、「はしる(走る)」といった用言(動詞)であれ
ば、図7(a)に示すように、「はしら(走ら)」,
「はしり(走り)」,「はしる(走る)」…といったよ
うに多数の候補を出力しなければならない。
FIG. 7 shows a prediction example corresponding to claim 4 or 9 of the present invention. FIG. 7A shows a conventional example, and FIG. 7B shows a prediction example of claim 4 or 9. For example, if a candidate is extracted by using the character string “ha” as a prediction target, and a noun (verb) such as “hasuru (runs)”, as shown in FIG. 7A, “hashira (runs)”,
Many candidates must be output, such as "Hashiri (run)", "Hashiri (run)".

【0054】そこで、本発明の請求項4または9では、
用言については、まず、語幹のみを呈示し、使用者によ
って用言が選択された時点で、対応する活用語尾を呈示
する。すなわち、図7(a)に示すように「は」と入力
した場合には動詞の「はしる(走る)」も予測候補に挙
げられるが、このとき語幹「はし(走)」のみを呈示す
る。利用者がこれを選択した場合、同図(b)に示すよ
うに活用語尾「ら,り,る,れ,ろ」を呈示し、活用語
尾の選択処理を行う。
Therefore, in claim 4 or 9 of the present invention,
Regarding the idiom, first, only the stem is presented, and when the idiom is selected by the user, the corresponding inflection ending is presented. That is, as shown in FIG. 7A, when "ha" is input, the verb "hashiru (run)" is also included as a prediction candidate, but at this time, only the stem "hashi (run)" is presented. . When the user selects this, the inflection ending “Ra, Ri, Ru, Re, Ro” is presented as shown in FIG.

【0055】図8は本発明の請求項5または10に対応
する予測例を示したものである。例えば始めかぎ括弧
“「”と、終りかぎ括弧“」”のように、対となる記号
の組の前方の記号が入力された場合、請求項5または1
0では、以降の予測処理において予測候補の中に後方の
記号が挙がるようになる。
FIG. 8 shows an example of prediction corresponding to claim 5 or 10 of the present invention. When the symbols preceding the pair of symbols, such as the opening bracket ““ ”and the closing bracket“ ””, are input, the method according to claim 5 or 1.
At 0, the backward symbol is included in the prediction candidates in the subsequent prediction processing.

【0056】例えば図8に示すように、始めかぎ括弧
“「”が入力された後に、「と」が入力されると、「と
うきょう(東京)」,「とおり(通り)」,「とうめん
(当面)」…といった予測候補の他に、終りかぎ括
弧“」”も出力される。
For example, as shown in FIG. 8, when "to" is input after the opening bracket """isinput," Tokyo (Tokyo) "," Street "," Tomen ( For the time being, in addition to the prediction candidates such as "...", the closing bracket """is also output.

【0057】[0057]

【発明の効果】以上のように本発明の請求項1または6
によれば、予測対象となる文字列の入力により、その入
力文字列を先頭部分に持つ文字列を単語辞書から予測文
字列の候補として検索し、この検索された予測文字列の
候補の中に付属語が含まれる場合に、接続規則テーブル
と前候補テーブルとを参照して上記前回選択された候補
に接続可能な付属語を予測文字列の候補とするようにし
たため、直前に入力された単語(前候補)と接続可能な
付属語だけを予測候補として、予測候補の絞り込みを行
うことができる。
As described above, according to claim 1 or 6 of the present invention.
According to the above, by inputting a character string to be predicted, a character string having the input character string at the beginning is searched from the word dictionary as a candidate for the predicted character string, When an adjunct word is included, the adjunct word that can be connected to the previously selected candidate is referred to as the predicted character string candidate by referring to the connection rule table and the previous candidate table. The prediction candidates can be narrowed down by using only the adjuncts that can be connected to the (previous candidate) as the prediction candidates.

【0058】また、請求項2または7によれば、予測文
字列の候補の中に付属語が含まれる場合に、その付属語
を自立語よりも優先するように当該予測文字列の候補の
並べ換えを行うようにしたため、予測候補の中に付属語
が存在する場合には、その付属語を自立語よりも優先的
に得ることができる。
Further, according to claim 2 or 7, when a candidate for a predictive character string includes an adjunct word, rearrangement of the candidate for the predictive character string is given priority over the independent word. Therefore, when an adjunct word exists in the prediction candidates, the adjunct word can be obtained with priority over the independent word.

【0059】また、請求項3または8によれば、予測対
象となる文字列の入力により、その入力文字列を先頭部
分に持つ文字列を単語辞書から予測文字列の候補として
検索し、この検索された予測文字列の候補の中に付属語
が含まれる場合に、前候補テーブルが空であるか否かを
チェックし、上記前候補テーブルが空の場合には上記付
属語を除いた自立語だけを予測文字列の候補とするよう
にしたため、句読点の直後では付属語は予測候補とせ
ず、自立語だけを予測候補として、予測候補の絞り込み
を行うことができる。
Further, according to claim 3 or 8, when a character string to be predicted is input, a character string having the input character string at the beginning is searched from the word dictionary as a candidate for the predicted character string, and this search is performed. When an adjunct word is included in the candidates for the predicted character string, whether or not the preceding candidate table is empty is checked, and when the preceding candidate table is empty, the independent word excluding the above adjunct word is checked. Since only the punctuation mark is used as a candidate for the prediction character string, the adjunct word is not made a prediction candidate immediately after the punctuation mark, and only the independent word can be made a prediction candidate to narrow down the prediction candidates.

【0060】また、請求項4または9によれば、予測対
象となる文字列の入力により、その入力文字列を先頭部
分に持つ文字列を単語辞書から予測文字列の候補として
検索し、この検索された予測文字列の候補の中に用言が
含まれる場合に、その用言は語幹のみを呈示し、上記予
測文字列の候補の中から用言が選択された場合に活用テ
ーブルを参照して当該用言の対応する活用語尾を呈示す
るようにしたため、予測候補中に用言が含まれる場合に
はその語幹のみを呈示して利用者による候補選択処理を
行い、用言が選択された時点で対応する活用語尾を呈示
することで、予測候補の絞り込みを行うことができる。
Further, according to claim 4 or 9, by inputting a character string to be predicted, a character string having the input character string at the beginning is searched from the word dictionary as a candidate for the predicted character string, and this search is performed. When a word is included in the predicted character string candidates, the word only shows the stem, and the usage table is referred to when the word is selected from the above predicted character string candidates. Since the corresponding inflection end of the relevant idiom is presented, if the idiom is included in the prediction candidates, only the stem is presented and the user performs candidate selection processing to select the idiom. By presenting the corresponding inflection ending at the time point, it is possible to narrow down the prediction candidates.

【0061】また、請求項5または10によれば、予測
対象となる文字列の入力により、その入力文字列を先頭
部分に持つ文字列を単語辞書から予測文字列の候補とし
て検索し、記号の入力に従って当該記号が記号対テーブ
ルに登録されている記号か否かをチェックし、当該記号
が上記記号対テーブルに登録されている記号であれば当
該記号と対をなす記号を検出し、この検出された記号を
上記予測文字列の候補に加えるようにしたため、例えば
始めかぎ括弧“「”と終りかぎ括弧“」”のような対と
なっている記号の一方が入力された場合には、次の予測
処理において、その記号と対をなす他方の記号を予測候
補として得ることができる。
Further, according to claim 5 or 10, when a character string to be predicted is input, a character string having the input character string at the beginning is searched from the word dictionary as a candidate for the predicted character string, and the According to the input, it is checked whether the symbol is a symbol registered in the symbol pair table, and if the symbol is a symbol registered in the symbol pair table, the symbol paired with the symbol is detected, and this detection is performed. Since one of the paired symbols such as the opening bracket ““ ”and the closing bracket“ ”” is input, In the prediction process of, the other symbol paired with the symbol can be obtained as a prediction candidate.

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

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

【図2】図1の文字列入力部の具体的な構成を示すブロ
ック図。
FIG. 2 is a block diagram showing a specific configuration of a character string input unit in FIG.

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

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

【図5】付属語を考慮した場合の予測例を示す図。FIG. 5 is a diagram showing a prediction example in the case of considering attached words.

【図6】自立語を考慮した場合の予測例を示す図。FIG. 6 is a diagram showing a prediction example in the case of considering independent words.

【図7】用言を考慮した場合の予測例を示す図。FIG. 7 is a diagram showing an example of prediction in the case of taking a word into consideration.

【図8】対をなす記号を考慮した場合の予測例を示す
図。
FIG. 8 is a diagram showing a prediction example in the case of considering a pair of symbols.

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

101…文字列入力部 102…記号対検知部 103…記号対テーブル 104…入力バッファ 105…辞書検索部 106…単語辞書 107…予測候補制御部 108…予測候補判定部 109…出力順調整部 110…予測候補追加部 111…候補バッファ 112…接続規則テーブル 113…前候補テーブル 114…活用語尾テーブル 115…記号対バッファ 116…出力バッファ 117…文字列出力部 101 ... Character string input unit 102 ... Symbol pair detection unit 103 ... Symbol pair table 104 ... Input buffer 105 ... Dictionary search unit 106 ... Word dictionary 107 ... Prediction candidate control unit 108 ... Prediction candidate determination unit 109 ... Output order adjustment unit 110 ... Prediction candidate addition unit 111 ... Candidate buffer 112 ... Connection rule table 113 ... Previous candidate table 114 ... Inflectional ending table 115 ... Symbol pair buffer 116 ... Output buffer 117 ... Character string output unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 単語を格納した単語辞書と、自立語と付
属語の接続規則を格納した接続規則テーブルと、前回選
択された候補に関する情報を格納する前候補テーブルと
を有し、 予測対象となる文字列の入力により、 その入力文字列を先頭部分に持つ文字列を上記単語辞書
から予測文字列の候補として検索し、 この検索された予測文字列の候補の中に付属語が含まれ
る場合に、上記接続規則テーブルと上記前候補テーブル
とを参照して上記前回選択された候補に接続可能な付属
語を予測文字列の候補とするようにしたことを特徴とす
る文字列予測方法。
1. A prediction target having a word dictionary storing words, a connection rule table storing connection rules for independent words and adjuncts, and a previous candidate table storing information about candidates selected last time, When a character string that has the input character string at the beginning is searched as a candidate for a predicted character string from the word dictionary and an adjunct word is included in the searched candidate for the predicted character string. Further, the character string prediction method is characterized in that an adjunct word connectable to the previously selected candidate is set as a predicted character string candidate by referring to the connection rule table and the previous candidate table.
【請求項2】 予測文字列の候補の中に付属語が含まれ
る場合に、その付属語を自立語よりも優先するように当
該予測文字列の候補の並べ換えを行うようにしたことを
特徴とする請求項1記載の文字列予測方法。
2. When a candidate for a predicted character string includes an adjunct word, the candidate for the predicted character string is rearranged so that the adjunct word has priority over an independent word. The character string prediction method according to claim 1.
【請求項3】 単語を格納した単語辞書と、前回選択さ
れた候補に関する情報を格納する前候補テーブルとを有
し、 予測対象となる文字列の入力により、 その入力文字列を先頭部分に持つ文字列を上記単語辞書
から予測文字列の候補として検索し、 この検索された予測文字列の候補の中に付属語が含まれ
る場合に、上記前候補テーブルが空であるか否かをチェ
ックし、上記前候補テーブルが空の場合には上記付属語
を除いた自立語だけを予測文字列の候補とするようにし
たことを特徴とする文字列予測方法。
3. A word dictionary storing words and a pre-candidate table storing information about previously selected candidates, and by inputting a character string to be predicted, the input character string is at the head part. When a character string is searched as a predicted character string candidate from the word dictionary, and if the searched predicted character string candidate includes an adjunct word, it is checked whether or not the previous candidate table is empty. A character string prediction method, wherein when the previous candidate table is empty, only independent words excluding the adjunct words are candidates for the predicted character string.
【請求項4】 単語を格納した単語辞書と、各用言の活
用型・活用形に応じた活用語尾を列挙した活用テーブル
とを有し、 予測対象となる文字列の入力により、 その入力文字列を先頭部分に持つ文字列を上記単語辞書
から予測文字列の候補として検索し、 この検索された予測文字列の候補の中に用言が含まれる
場合に、その用言は語幹のみを呈示し、 上記予測文字列の候補の中から用言が選択された場合に
上記活用テーブルを参照して当該用言の対応する活用語
尾を呈示するようにしたことを特徴とする文字列予測方
法。
4. A word dictionary that stores words, and a utilization table that lists inflection endings according to inflection types and inflection forms of each adjective, and by inputting a character string to be predicted, the input characters are input. When a character string having a column at the beginning is searched as a candidate for a predicted character string from the word dictionary, and if the searched candidate for the predicted character string contains a word, that word only presents the stem. Then, when a noun is selected from the candidates for the predicted character string, the inflection corresponding to the noun is presented by referring to the inflection table.
【請求項5】 単語を格納した単語辞書と、対となって
いる記号の組を列挙した記号対応テーブルとを有し、 予測対象となる文字列の入力により、 その入力文字列を先頭部分に持つ文字列を上記単語辞書
から予測文字列の候補として検索し、 記号の入力に従って当該記号が上記記号対テーブルに登
録されている記号か否かをチェックし、当該記号が上記
記号対テーブルに登録されている記号であれば当該記号
と対をなす記号を検出し、 この検出された記号を上記予測文字列の候補に加えるよ
うにしたことを特徴とする文字列予測方法。
5. A word dictionary storing words, and a symbol correspondence table enumerating pairs of symbols forming a pair, and by inputting a character string to be predicted, the input character string is set to the head part. Search for a character string that you have as a candidate for a predicted character string from the word dictionary, check whether the symbol is a symbol registered in the symbol pair table according to the input of the symbol, and register the symbol in the symbol pair table. A character string prediction method, characterized in that, if it is a recognized symbol, a symbol paired with the symbol is detected, and the detected symbol is added to the predicted character string candidates.
【請求項6】 予測対象となる文字列を入力する入力手
段と、 単語を格納した単語辞書と、 上記入力手段によって入力された文字列を先頭部分に持
つ文字列を上記単語辞書から予測文字列の候補として検
索する辞書検索手段と、 自立語と付属語の接続規則を格納した接続規則テーブル
と、 前回選択された候補に関する情報を格納する前候補テー
ブルと、 上記辞書検索手段によって検索された予測文字列の候補
の中に付属語が含まれる場合に、上記接続規則テーブル
と上記前候補テーブルを参照して上記前回選択された候
補に接続可能な付属語を予測文字列の候補とする予測候
補判定手段と、 上記予測文字列の候補の中で選択された文字列を前候補
として上記前候補テーブルに格納する予測候補制御手段
とを具備したことを特徴とする文書作成装置。
6. An input unit for inputting a character string to be predicted, a word dictionary storing words, and a character string having the character string input by the input unit as a head portion from the word dictionary. Dictionary search means to search as a candidate for, a connection rule table that stores the connection rules for independent words and adjunct words, a pre-candidate table that stores information about the previously selected candidate, and the predictions searched by the dictionary search means. When an adjunct word is included in a character string candidate, the adjunct word that can be connected to the previously selected candidate is referred to as the predictive character string candidate by referring to the connection rule table and the previous candidate table. A document production method comprising: a determination unit; and a prediction candidate control unit that stores a character string selected from the predicted character string candidates in the previous candidate table as a previous candidate. Equipment.
【請求項7】 予測文字列の候補の中に付属語が含まれ
る場合に、その付属語を自立語よりも優先するように当
該予測文字列の候補の並べ換えを行う出力順調整手段を
具備したことを特徴とする請求項1記載の文書作成装
置。
7. When the predicted character string candidates include an adjunct word, an output order adjusting means is provided for rearranging the predicted character string candidates so that the adjunct word has priority over the independent word. The document creating apparatus according to claim 1, wherein
【請求項8】 文字列を入力する文字列入力手段と、 単語を格納した単語辞書と、 上記入力手段によって入力された文字列を先頭部分に持
つ文字列を上記単語辞書から予測文字列の候補として検
索する辞書検索手段と、 前回選択された候補に関する情報を格納する前候補テー
ブルと、 上記辞書検索手段によって検索された予測文字列の候補
の中に付属語が含まれる場合に、上記前候補テーブルが
空であるか否かをチェックし、上記前候補テーブルが空
の場合には上記付属語を除いた自立語だけを予測文字列
の候補とする予測候補判定手段と、 上記予測文字列の候補の中で選択された文字列を前候補
として上記前候補テーブルに格納すると共に、句読点の
入力に従って上記前候補テーブルを空にする予測候補制
御手段とを具備したことを特徴とする文書作成装置。
8. A character string input means for inputting a character string, a word dictionary storing words, and a character string having the character string input by the input means at a head portion as a candidate for a predicted character string from the word dictionary. Dictionary search means to search as, a previous candidate table that stores information about the previously selected candidate, and the preceding candidate when the auxiliary word is included in the predicted character string candidates searched by the dictionary search method. It is checked whether or not the table is empty, and if the previous candidate table is empty, a prediction candidate determination means that makes only the independent word excluding the adjunct word a candidate for the prediction character string, and the prediction character string A predictive candidate control means for storing the character string selected from the candidates as a previous candidate in the previous candidate table and emptying the previous candidate table according to the input of punctuation marks. Document creating apparatus for.
【請求項9】 予測対象となる文字列を入力する入力手
段と、 単語を格納した単語辞書と、 上記入力手段によって入力された文字列を先頭部分に持
つ文字列を上記単語辞書から予測文字列の候補として検
索する辞書検索手段と、 各用言の活用型・活用形に応じた活用語尾を列挙した活
用テーブルと、 上記辞書検索手段によって検索された予測文字列の候補
の中に用言が含まれる場合に、その用言は語幹のみを呈
示する予測候補制御手段と、 上記予測文字列の候補の中から用言が選択された場合に
上記活用テーブルを参照して当該用言の対応する活用語
尾を呈示する予測追加手段とを具備したことを特徴とす
る文書作成装置。
9. An input unit for inputting a character string to be predicted, a word dictionary storing words, and a character string having the character string input by the input unit as a head portion from the word dictionary. Dictionary search means to be searched as a candidate, a utilization table listing the inflection endings according to the inflection type and inflection form of each adjective, and the adjective in the predicted character string candidates retrieved by the dictionary retrieval means. When included, the adjective corresponds to the adjective by referring to the prediction candidate control means that presents only the word stem and the inflection table when the adjective is selected from the candidates for the predicted character string. A document creation device, comprising: a prediction adding unit that presents an inflection ending.
【請求項10】 予測対象となる文字列を入力する入力
手段と、 単語を格納した単語辞書と、 上記入力手段によって入力された文字列を先頭部分に持
つ文字列を上記単語辞書から予測文字列の候補として検
索する辞書検索手段と、 対となっている記号の組を列挙した記号対応テーブル
と、 記号の入力に従って当該記号が上記記号対テーブルに登
録されている記号か否かをチェックし、上記記号対テー
ブルに登録されている記号であれば当該記号と対をなす
記号を検出する記号対検出手段と、 この記号対検出手段によって検出された記号を格納する
記号対バッファと、 この記号対バッファに記号が格納されている場合に、そ
の記号を上記予測文字列の候補に加える予測追加手段
と、 上記予測文字列の候補の中から記号が選択されるか、ま
たは、新たな記号が入力された場合に上記記号対バッフ
ァをクリアする予測候補制御手段とを具備したことを特
徴とする文書作成装置。
10. An input unit for inputting a character string to be predicted, a word dictionary storing words, and a character string having the character string input by the input unit as a head portion from the word dictionary. Dictionary search means to be searched as a candidate of, a symbol correspondence table that lists pairs of symbols, and whether or not the symbol is a symbol registered in the symbol pair table according to the input of the symbol, If the symbol is registered in the symbol pair table, the symbol pair detecting means for detecting the symbol paired with the symbol pair, the symbol pair buffer for storing the symbol detected by the symbol pair detecting means, and the symbol pair When a symbol is stored in the buffer, a prediction adding unit that adds the symbol to the predicted character string candidate, and whether the symbol is selected from the predicted character string candidates, or , Document creation device, characterized in that when a new symbol is input to and a prediction candidate control means for clearing said pair of symbols buffer.
JP8082703A 1996-04-04 1996-04-04 Character string predicting method and document preparing device using the same Pending JPH09274613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8082703A JPH09274613A (en) 1996-04-04 1996-04-04 Character string predicting method and document preparing device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8082703A JPH09274613A (en) 1996-04-04 1996-04-04 Character string predicting method and document preparing device using the same

Publications (1)

Publication Number Publication Date
JPH09274613A true JPH09274613A (en) 1997-10-21

Family

ID=13781768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8082703A Pending JPH09274613A (en) 1996-04-04 1996-04-04 Character string predicting method and document preparing device using the same

Country Status (1)

Country Link
JP (1) JPH09274613A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673236B2 (en) 2001-02-09 2010-03-02 Lx1 Technology Limited Method of inputting text into a data processing apparatus
JP2010266947A (en) * 2009-05-12 2010-11-25 Ntt Data Corp Device, method, and program for extracting candidate word
JP2012073666A (en) * 2010-09-27 2012-04-12 Toshiba Corp Character string input device and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673236B2 (en) 2001-02-09 2010-03-02 Lx1 Technology Limited Method of inputting text into a data processing apparatus
JP2010266947A (en) * 2009-05-12 2010-11-25 Ntt Data Corp Device, method, and program for extracting candidate word
JP2012073666A (en) * 2010-09-27 2012-04-12 Toshiba Corp Character string input device and program

Similar Documents

Publication Publication Date Title
JPH07334625A (en) Character string input device
JPH09274613A (en) Character string predicting method and document preparing device using the same
JPH07334499A (en) Input device for character string
JPH05113964A (en) Electronic dictionary
JPH11238051A (en) Chinese input conversion processor, chinese input conversion processing method and recording medium stored with chinese input conversion processing program
JP4047895B2 (en) Document proofing apparatus and program storage medium
JPH07271774A (en) Document input device
JPH07191986A (en) Sentence input device
JP3949245B2 (en) Character processing apparatus and clause position changing method
JP2001109740A (en) Device and method for preparing chinese document
JP2000200268A (en) Handwritten character input and converting device, document preparing device, and computer-readable recording medium
JPH10198664A (en) Japanese language input system and medium for recorded with japanese language input program
JPH0380363A (en) Document processor
JPS6061824A (en) Character converter
JPH1011432A (en) Character string estimation method and document preparing device using the estimation method
JPS60207948A (en) "kana"/"kanji" conversion processor
JPH08171568A (en) Multilingual input method
JPH08147282A (en) Device and method for kana/kanji conversion
JPH07160700A (en) Method and device for processing document
JPH06110878A (en) Kana-kanji conversion method
JPH06251203A (en) Handwritten character recognition device and japanese syllabary/chinese character converting method for handwritten input character
JPH09179858A (en) Document preparation device and display method
JPH10187700A (en) Document processor
JP2003178263A (en) Character recognizing device and recording medium
JP2000235571A (en) Example dictionary generation device