JPH08255159A - Character string prediction method, character string prediction device, kana-kanji conversion method, kana-kanji conversion device, and document creation device - Google Patents
Character string prediction method, character string prediction device, kana-kanji conversion method, kana-kanji conversion device, and document creation deviceInfo
- Publication number
- JPH08255159A JPH08255159A JP5631895A JP5631895A JPH08255159A JP H08255159 A JPH08255159 A JP H08255159A JP 5631895 A JP5631895 A JP 5631895A JP 5631895 A JP5631895 A JP 5631895A JP H08255159 A JPH08255159 A JP H08255159A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- kanji
- kanji conversion
- input
- predicted
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Machine Translation (AREA)
Abstract
(57)【要約】
【目的】 ひらがなの入力文字列から漢字で構成される
文字列を予測する場合、利用者の希望する予測文字列の
出力優先順位を上位とすること。
【構成】 漢字変換部2は入力部1から入力されたひら
がな文字列を辞書3を参照して漢字に変換して、変換候
補を得る。画数調査部4は変換候補の画数を辞書5を参
照して調査し、変換候補に画数を付加して文字列並べ替
え部6に渡す。文字列並べ替え部6は画数の多い順に変
換候補を並び替え、その順番に変換候補を予測文字列検
索部7に渡す。予測文字列検索部7は受け取った変換候
補の予測文字列候補を辞書8から受け取り順に検索し、
検索した予測文字列候補を検索順に文字列出力部9に渡
す。文字列出力部9は予測文字列候補を表示部10に渡
された順番に表示し、利用者は表示された予測文字列候
補が希望のものであった場合、これを選択し、そうでな
い場合、次候補の予測文字列を表示させる。
(57) [Summary] [Purpose] When predicting a character string composed of Kanji from an input character string of Hiragana, the output priority of the predicted character string desired by the user should be set to a higher priority. [Configuration] The Kanji conversion unit 2 converts the Hiragana character string input from the input unit 1 into Kanji by referring to the dictionary 3, and obtains conversion candidates. The stroke number checking unit 4 checks the stroke number of the conversion candidate with reference to the dictionary 5, adds the stroke number to the conversion candidate, and passes it to the character string rearranging unit 6. The character string rearranging unit 6 rearranges the conversion candidates in the order of the number of strokes, and passes the conversion candidates to the predicted character string searching unit 7 in that order. The predictive character string search unit 7 searches the dictionary 8 for predictive character string candidates of the received conversion candidates in the order of reception,
The retrieved predicted character string candidates are passed to the character string output unit 9 in the search order. The character string output unit 9 displays the predicted character string candidates in the order passed to the display unit 10, and if the displayed predicted character string candidate is the desired one, the user selects it and if not. , Display the predicted character string of the next candidate.
Description
【0001】[0001]
【産業上の利用分野】本発明は、漢字及び仮名入力の可
能な入力装置により入力されたひらがな文字列に続く文
字列を予測する文字列予測方法,この方法を用いた文字
列予測装置並びに手書き入力文字列を漢字に変換する仮
名漢字変換方法,この方法を用いた仮名漢字変換装置及
び前記文字列予測装置又は仮名漢字変換装置を搭載した
文書作成装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string prediction method for predicting a character string following a hiragana character string input by an input device capable of inputting kanji and kana, a character string prediction device and a handwriting using this method. The present invention relates to a kana-kanji conversion method for converting an input character string into kanji, a kana-kanji conversion device using this method, and a document creation device equipped with the character string prediction device or the kana-kanji conversion device.
【0002】[0002]
【従来の技術】従来、文書作成装置等の入力装置から文
字を入力する場合、入力文字列が長いと入力に手間が掛
かり、特に手書き文字認識装置等を用いて文字列を入力
する際には、キーボードからの入力等とは異なり、一文
字を入力するのに時間がかかるため、利用者に対する負
担が大きくなる傾向があった。そこで、利用者に対する
負担を軽くするために、入力しようとしている文字
(列)の一部が入力された段階で、それまで入力された
文字(列)に続く文字列を予測して、利用者が入力を意
図した全文字列を入力するという方法が考えられてき
た。しかし、入力された文字列によっては、予測される
文字列が多数存在する場合があり、このような場合には
利用者が希望した文字列を優先的に出力する方策を施さ
ないと、利用者が予測文字列を確定するの手間が掛かっ
てしまうという不具合があった。2. Description of the Related Art Conventionally, when a character is input from an input device such as a document creation device, it takes time and effort to input a character string, especially when inputting a character string using a handwritten character recognition device or the like. Unlike the input from the keyboard, it takes time to input one character, which tends to increase the burden on the user. Therefore, in order to reduce the burden on the user, when a part of the characters (strings) to be entered is entered, the character string that follows the characters (strings) that have been entered up to that point is predicted, and the user A method of inputting the entire character string intended for input has been considered. However, depending on the input character string, there may be many predicted character strings. In such a case, if the user does not take priority to output the character string desired by the user, Had a problem that it took time to determine the predicted character string.
【0003】そこで、利用者の希望する予測文字列を絞
り込むため、以前使われた単語を学習しておく、文字列
の使用頻度情報を用いる、住所の入力、名前の入力等と
いうように利用分野を限定する等の各種方法が考えられ
ている。ところで、漢字で構成された入力文字列に続く
文字列を予測する場合、多くの漢字が複数の読み方を持
っているために、単に入力された漢字の文字列からこれ
に続く文字列を予測をすると、予測される文字列が多く
なってしまうため、予測文字列の出力優先順位を付けな
ければならない。しかし、これを安易に行うと、利用者
が意図した読みとは違う読みをする文字列の優先順位を
上位にしてしまう恐れがあり、予測した文字列に出力優
先順位を有効に付ける方法がないという問題点があっ
た。Therefore, in order to narrow down the predicted character string desired by the user, the previously used words are learned, the usage frequency information of the character string is used, the address is input, the name is input, and the like. Various methods such as limiting By the way, when predicting a character string that follows an input character string composed of Kanji, many Kanji have multiple readings, so simply predict the character string that follows from the character string of the input Kanji. Then, the number of predicted character strings will increase, and therefore the output priority of the predicted character strings must be set. However, if you do this easily, there is a possibility that the priority of the character string that is different from the reading intended by the user will be higher, and there is no way to effectively assign the output priority to the predicted character string. There was a problem.
【0004】更に、利用者が漢字で構成された文字列を
入力すべく、その先頭の一部分をひらがなで入力した場
合、このままでは、入力文字列に続く文字列を構成する
漢字の種類を決める情報を全く含まないため、上記した
問題点が更に助長されることになると共に、文字列の予
測精度が悪化するという問題点があった。Further, when the user inputs a part of the beginning of a character string composed of kanji characters in hiragana, the information for determining the kind of kanji character forming the character string following the input character string is left as it is. Since the above problem is not included at all, the problem described above is further promoted, and there is a problem that the prediction accuracy of the character string deteriorates.
【0005】又、手書き文字入力装置からひらがなで文
字を入力して仮名漢字変換する場合、利用者は画数の多
い漢字をひらがな文字列で入力して仮名漢字変換する傾
向にあるにも拘らず、このような傾向を考慮した仮名漢
字変換方法が開発されていないため、仮名漢字変換効率
が悪いという問題点もあった。Further, in the case of inputting characters in hiragana from a handwritten character input device to convert into kana-kanji, the user tends to input kanji with a large number of strokes in a hiragana character string to convert into kana-kanji. Since a kana-kanji conversion method considering such a tendency has not been developed, there is a problem that the kana-kanji conversion efficiency is poor.
【0006】[0006]
【発明が解決しようとする課題】上記した文字列の予測
方法では、入力文字列がひらがなの場合で、この入力文
字列に続く漢字で構成された文字列を予測する場合、前
記したひらがなの入力文字列には漢字で構成される文字
列を予測する情報が全く含まれていないため、予測され
る文字列の優先順位を決定することができないと共に、
文字列の予測精度が悪化し、利用者が予測文字列を確定
するのに手間か掛かってしまうという問題点があった。
又、手書き文字入力装置からひらがなで入力した文字列
を仮名漢字変換する際に、画数が多い漢字ほど利用者は
ひらがなで入力する傾向を考慮していないため、仮名漢
字変換効率が悪いという問題点があった。In the above-described character string prediction method, when the input character string is a hiragana character and the character string composed of the kanji following this input character string is predicted, the above-mentioned hiragana input is performed. Since the character string does not include any information for predicting a character string composed of Kanji, it is not possible to determine the priority of the predicted character string,
There is a problem that the accuracy of predicting the character string deteriorates, and it takes time for the user to determine the predictive character string.
In addition, when converting a character string input in hiragana from a handwritten character input device into kana-kanji, the kana with a larger number of strokes does not consider the tendency for the user to enter in hiragana, so the kana-kanji conversion efficiency is poor. was there.
【0007】そこで本発明は上記のような事情を考慮し
てなされたもので、ひらがな入力文字列に基づいて漢字
で構成される予測文字列の予測精度を損なうこなく、得
られる予測文字列候補の選択肢を限定して、その操作性
を向上させることができる文字列予測方法、この方法を
用いた文字列予測装置、この文字列予測装置を搭載した
文書作成装置を提供すると共に、手書き入力装置で入力
したひらがな文字列を仮名漢字変換した場合の変換効率
を向上させることができる仮名漢字変換方法,この方法
を用いた仮名漢字変換装置及びこの仮名漢字変換装置を
搭載した文書作成装置を提供することを目的としてい
る。Therefore, the present invention has been made in consideration of the above circumstances, and a predicted character string candidate obtained without impairing the prediction accuracy of a predicted character string composed of Kanji characters based on a Hiragana input character string. A character string prediction method capable of improving the operability by limiting the options of the character string prediction apparatus, a character string prediction apparatus using the method, and a document creation apparatus equipped with the character string prediction apparatus, and a handwriting input apparatus. Provide a kana-kanji conversion method that can improve the conversion efficiency when the hiragana character string input in step 2 is converted to kana-kanji, a kana-kanji conversion device using this method, and a document creation device equipped with this kana-kanji conversion device. Is intended.
【0008】[0008]
【課題を解決するための手段】請求項1の発明は、入力
された文字列を先頭部分に持つ文字列を辞書に収容され
ている文字列の中から検索し、検索された文字列を予測
文字列として出力する文字列予測装置における前記入力
文字列に続く文字列を予測する文字列予測方法にあっ
て、前記入力文字列がひらがな文字列であるかどうかを
判定し、ひらがな文字列であった場合、前記入力文字列
を漢字に変換して漢字変換候補を得ると、漢字変換候補
を構成する各漢字の画数を求め、その後、一つの漢字変
換候補を構成する各漢字の画数を総計してこの漢字変換
候補の画数とし、前記漢字変換候補が複数あった場合は
各漢字変換候補の画数の多寡によってこれら漢字変換候
補を先頭に持つ予測文字列の出力優先順位を決定した
後、これら漢字変換候補を先頭部分に持つ文字列を前記
辞書に収容されている文字列の中から検索し、得られた
予測文字列を前記出力優先順位順に出力する方法を採用
している。According to a first aspect of the present invention, a character string having the input character string at its head portion is searched from the character strings stored in the dictionary, and the searched character string is predicted. In a character string prediction method for predicting a character string following the input character string in a character string prediction device for outputting as a character string, it is determined whether the input character string is a Hiragana character string, and the character string is a Hiragana character string. In this case, when the input character string is converted into Kanji and a Kanji conversion candidate is obtained, the number of strokes of each Kanji constituting the Kanji conversion candidate is obtained, and thereafter, the number of strokes of each Kanji constituting one Kanji conversion candidate is totaled. If the number of strokes of each Kanji conversion candidate is multiple, the output priority of the predicted character string that has these Kanji conversion candidates at the head is determined, and then these Kanji characters are used. Conversion The character string having the head portion is retrieved from the string contained in the dictionary, and the predicted character string obtained by adopting the method of outputting the output priority order.
【0009】請求項2の発明は、前記各漢字変換候補の
画数が多い程、前記予測文字列の出力優先順位を上位に
する方法を採用している。The invention of claim 2 employs a method in which the output priority of the predicted character string is set higher as the number of strokes of each Kanji conversion candidate increases.
【0010】請求項3の発明は、前記漢字変換候補を前
記出力優先順位順に並び替え、並び替えた順番に各漢字
変換候補の予測文字列を前記辞書から検索し、検索した
順番に前記予測文字列を出力する方法を採用している。According to the invention of claim 3, the kanji conversion candidates are rearranged in the output priority order, the predicted character strings of the respective kanji conversion candidates are searched from the dictionary in the rearranged order, and the predicted characters are searched in the searched order. The method of outputting columns is adopted.
【0011】請求項4の発明は、入力された文字列を先
頭部分に持つ文字列を辞書に収容されている文字列の中
から検索し、検索された文字列を予測文字列として出力
する文字列予測装置における前記入力文字列に続く文字
列を予測する文字列予測方法にあって、前記入力文字列
がひらがな文字列であるかどうかを判定し、ひらがな文
字列であった場合、前記入力文字列を漢字に変換して漢
字変換候補を得ると、漢字変換候補を構成する各漢字の
画数を求め、その後、一つの漢字変換候補を構成する各
漢字の画数を総計してこの漢字変換候補の画数とし、前
記漢字変換候補が複数あった場合は各漢字変換候補の画
数の多寡によってこれら漢字変換候補の出力優先順位を
決定した後、この出力優先順位順にこれら漢字変換候補
を表示して利用者の選択を待ち、その後、利用者により
選択された漢字変換候補を先頭部分に持つ文字列を前記
辞書に収容されている文字列の中から検索し、得られた
予測文字列を出力する方法を採用している。According to a fourth aspect of the present invention, a character string having the input character string at the beginning is searched from the character strings stored in the dictionary, and the searched character string is output as a predicted character string. In a character string prediction method for predicting a character string following the input character string in a column prediction device, it is determined whether the input character string is a Hiragana character string, and if it is a Hiragana character string, the input character When a column is converted to Kanji and a Kanji conversion candidate is obtained, the number of strokes of each Kanji that constitutes the Kanji conversion candidate is calculated, and then the number of strokes of each Kanji that constitutes one Kanji conversion candidate is summed up. The number of strokes, and if there are multiple Kanji conversion candidates, the output priority of these Kanji conversion candidates is determined by the number of strokes of each Kanji conversion candidate, and then these Kanji conversion candidates are displayed in this output priority order and the user is displayed. Waiting for selection, then searching for a character string that has the Kanji conversion candidate selected by the user at the beginning from the character strings stored in the dictionary, and outputting the obtained predicted character string. are doing.
【0012】請求項5の発明は、前記漢字変換候補が1
文字の漢字で構成されていた場合はこの漢字の画数を前
記漢字変換候補の画数とする方法を採用している。According to the invention of claim 5, the kanji conversion candidate is 1
When the character is composed of Chinese characters, a method is adopted in which the stroke number of this Chinese character is used as the stroke number of the Kanji conversion candidate.
【0013】請求項6の発明は、前記入力文字列がひら
がな文字列でない場合、更にこの入力文字列が漢字であ
るかどうかを判定し、漢字である場合、この漢字の入力
文字列を保存しておき、その後、ひらがなの入力文字列
を変換して得られた前記漢字候補の中から前記保存され
た漢字文字列と同一の漢字候補を取り除き、残りの漢字
候補について前記出力優先順位を決めた後の処理を行う
方法を採用している。According to a sixth aspect of the present invention, when the input character string is not a hiragana character string, it is further determined whether or not the input character string is a kanji character. When the input character string is a kanji character, the input character string of the kanji character is saved. After that, the same Kanji candidate as the stored Kanji character string is removed from the Kanji candidates obtained by converting the input character string of Hiragana, and the output priority is determined for the remaining Kanji candidates. It employs the method of performing the subsequent processing.
【0014】請求項7の発明は、前記入力文字列がひら
がな文字列でない場合、この入力文字列を先頭部分に持
つ予測文字列を前記辞書から直ちに検索して、出力する
方法を採用している。According to a seventh aspect of the present invention, when the input character string is not a Hiragana character string, a predictive character string having this input character string at the beginning is immediately retrieved from the dictionary and output. .
【0015】請求項8の発明は、同一の前記漢字変換候
補又は同一の入力文字列を先頭部分に持つ予測文字列が
複数あった場合は所定の基準に基づいて出力優先順位を
決定し、前記予測文字列間に限って前記決定された出力
優先順位に従って出力する方法を採用している。According to an eighth aspect of the invention, when there are a plurality of predicted character strings having the same Kanji conversion candidate or the same input character string at the head portion, the output priority order is determined based on a predetermined criterion, The method of outputting according to the determined output priority order is adopted only between predicted character strings.
【0016】請求項9の発明は、前記検索する予測文字
列の数を予め設定した数以下とする方法を採用してい
る。The invention of claim 9 employs a method of setting the number of the predicted character strings to be searched to be a preset number or less.
【0017】請求項10の発明は、入力された文字列を
先頭部分に持つ文字列を辞書に収容されている文字列の
中から検索し、検索された文字列を予測文字列として出
力する文字列予測装置において、前記入力文字列がひら
がな文字列であるかどうかを判定する判定手段と、この
判定手段により前記入力文字列がひらがな文字列であっ
たと判定された場合、前記入力文字列を漢字に変換して
漢字変換候補を得る仮名漢字変換手段と、この仮名漢字
変換手段により得られた漢字変換候補を構成する各漢字
の画数を求る画数取得手段と、一つの漢字変換候補を構
成する各漢字の前記画数取得手段により求められた画数
を総計してこの漢字変換候補の画数とする画数演算手段
と、前記漢字変換候補が複数あった場合に前記画数演算
手段により求められた各漢字変換候補の画数の多寡を比
較する比較手段と、この比較手段の比較結果によって前
記漢字変換候補を先頭に持つ予測文字列の出力優先順位
を決定する決定手段と、前記漢字変換候補を先頭部分に
持つ文字列を前記辞書に収容されている文字列の中から
検索する検索手段と、この検索手段により検索された予
測文字列を前記決定手段により決定された出力優先順位
順に表示する表示手段と、この表示手段により表示され
た予測文字列の中で任意の文字列を確定予測文字列とし
て利用者に選択させる確定手段とを具備した構成を有し
ている。According to a tenth aspect of the present invention, a character string that has the input character string at the beginning is searched from the character strings stored in the dictionary, and the searched character string is output as a predicted character string. In the column prediction device, a determining unit that determines whether the input character string is a Hiragana character string, and if the determining unit determines that the input character string is a Hiragana character string, the input character string is a Kanji character. Kana-kanji conversion means for converting to kanji to obtain kanji conversion candidates, stroke number acquisition means for obtaining the stroke number of each kanji constituting the kanji conversion candidate obtained by this kana-kanji conversion means, and one kanji conversion candidate The stroke number calculation means for totaling the stroke numbers obtained by the stroke number acquisition means for each kanji as the stroke number of this kanji conversion candidate, and the stroke number calculation means when there are a plurality of kanji conversion candidates Comparing means for comparing the number of strokes of each kanji conversion candidate, deciding means for deciding the output priority order of the predicted character string having the kanji conversion candidate at the head based on the comparison result of this comparison means, and the kanji conversion candidate. Retrieval means for retrieving the character string held at the head part from the character strings contained in the dictionary, and a display for displaying the predictive character string retrieved by this retrieving means in the order of the output priorities determined by the deciding means. And a confirmation unit that allows the user to select an arbitrary character string as a confirmed predicted character string from among the predicted character strings displayed by the display unit.
【0018】請求項11の発明は、前記決定手段は各漢
字変換候補の画数が多い程、前記予測文字列の出力優先
順位を上位にする決定を行う構成を有している。According to an eleventh aspect of the present invention, the determining means determines that the output priority of the predicted character string becomes higher as the number of strokes of each Kanji conversion candidate increases.
【0019】請求項12の発明は、前記漢字変換候補を
前記決定手段により決定された出力優先順位順に並び替
える並び替え手段を設け、前記検索手段は前記並び替え
手段により並び替えた順番に各漢字変換候補の予測文字
列を前記辞書から検索し、且つ前記出力手段は前記検索
手段により検索された順番に前記予測文字列を出力する
構成を有している。According to a twelfth aspect of the present invention, there is provided sorting means for sorting the kanji conversion candidates in the output priority order determined by the determining means, and the searching means is arranged in the order sorted by the sorting means. The prediction candidate character strings of conversion candidates are searched from the dictionary, and the output means outputs the predicted character strings in the order searched by the searching means.
【0020】請求項13の発明は、入力された文字列を
先頭部分に持つ文字列を辞書に収容されている文字列の
中から検索し、検索された文字列を予測文字列として出
力する文字列予測装置において、前記入力文字列がひら
がな文字列であるかどうかを判定する判定手段と、この
判定手段により前記入力文字列がひらがな文字列であっ
たと判定された場合、前記入力文字列を漢字に変換して
漢字変換候補を得る仮名漢字変換手段と、この仮名漢字
変換手段により得られた漢字変換候補を構成する各漢字
の画数を求る画数取得手段と、一つの漢字変換候補を構
成する各漢字の前記画数取得手段により求められた画数
を総計してこの漢字変換候補の画数とする画数演算手段
と、前記漢字変換候補が複数あった場合に前記画数演算
手段により求められた各漢字変換候補の画数の多寡を比
較する比較手段と、この比較手段の比較結果によって前
記漢字変換候補を先頭に持つ予測文字列の出力優先順位
を決定する決定手段と、この決定手段により決定された
出力優先順位順に前記仮名漢字変換手段により得られた
漢字変換候補を表示する表示手段と、この表示手段によ
り表示された任意の漢字変換候補を利用者に選択させる
選択手段と、この選択手段により選択された漢字変換候
補を先頭部分に持つ文字列を前記辞書に収容されている
文字列の中から検索する検索手段と、この検索手段によ
り得られた予測文字列を表示する表示手段と、この表示
手段により表示された予測文字列の中で任意の文字列を
確定予測文字列として利用者に選択させる確定手段とを
具備した構成を有している。According to a thirteenth aspect of the present invention, a character string that has the input character string at the beginning is searched from the character strings stored in the dictionary, and the searched character string is output as a predicted character string. In the column prediction device, a determining unit that determines whether the input character string is a Hiragana character string, and if the determining unit determines that the input character string is a Hiragana character string, the input character string is a Kanji character. Kana-kanji conversion means for converting to kanji to obtain kanji conversion candidates, stroke number acquisition means for obtaining the stroke number of each kanji constituting the kanji conversion candidate obtained by this kana-kanji conversion means, and one kanji conversion candidate The stroke number calculation means for totaling the stroke numbers obtained by the stroke number acquisition means for each kanji as the stroke number of this kanji conversion candidate, and the stroke number calculation means when there are a plurality of kanji conversion candidates Comparing means for comparing the number of strokes of each kanji conversion candidate, deciding means for deciding the output priority of the predicted character string having the kanji conversion candidate at the head based on the comparison result of this comparing means, and deciding by this deciding means. Display means for displaying the kanji conversion candidates obtained by the kana-kanji conversion means in the order of the output priority, selection means for allowing the user to select any kanji conversion candidate displayed by the display means, and this selection means. Searching means for searching a character string having the Kanji conversion candidate selected by the head part from the character strings stored in the dictionary, and displaying means for displaying the predicted character string obtained by the searching means. The predictive character string displayed by the display means is provided with a confirming means for allowing the user to select an arbitrary character string as the confirmed predictive character string.
【0021】請求項14の発明は、前記画数演算手段は
漢字変換候補が1文字の漢字で構成されていた場合はこ
の漢字の画数を前記漢字変換候補の画数とする構成を有
している。According to a fourteenth aspect of the present invention, the stroke number calculating means has a configuration in which, when the Kanji conversion candidate is composed of one Kanji character, the stroke number of this Kanji character is taken as the stroke number of the Kanji conversion candidate.
【0022】請求項15の発明は、前記判定手段により
入力文字列がひらがな文字列でないと判定された場合、
更にこの入力文字列が漢字であるかどうかを判定するサ
ブ判定手段を設け、このサブ判定手段により入力文字列
が漢字であると判定された場合、この漢字の入力文字列
を保存する保存手段と、前記仮名漢字変換手段により得
られた前記漢字候補の中から前記保存手段に保存された
漢字文字列と同一の漢字候補を識別する識別手段と、こ
の識別手段により識別された漢字文字列を前記漢字候補
の中から除去する除去手段と、前記決定手段は前記除去
手段により除去されなかった残りの漢字候補について前
記出力優先順位を決める構成を有している。According to a fifteenth aspect of the present invention, when the determining unit determines that the input character string is not a Hiragana character string,
Further, a sub-determination means for determining whether or not this input character string is a kanji character is provided, and when the input character string is determined to be a kanji character by this sub-determination means, a storage means for saving the input character string of this kanji character. An identifying unit for identifying the same Kanji character string as the Kanji character string stored in the storing unit from the Kanji candidate obtained by the Kana-Kanji converting unit; and the Kanji character string identified by the identifying unit, The removing means for removing the kanji candidates from the kanji candidates, and the deciding means are configured to decide the output priority order for the remaining kanji candidates not removed by the removing means.
【0023】請求項16の発明は、前記判定手段により
入力文字列がひらがな文字列でないと判定された場合、
前記検索手段は前記入力文字列を先頭部分に持つ予測文
字列を前記辞書から直ちに検索し、出力手段は検索され
た予測文字列を出力する構成を有している。According to the sixteenth aspect of the present invention, when the determining unit determines that the input character string is not a Hiragana character string,
The search means immediately searches the dictionary for a predicted character string having the input character string at the head portion thereof, and the output means outputs the searched predicted character string.
【0024】請求項17の発明は、前記検索手段の検索
の結果、同一の漢字変換候補又は同一の入力文字列を先
頭部分に持つ予測文字列が複数あった場合、これら予測
文字列の出力優先順位を所定の基準に基づいて決定する
サブ決定手段を設け、前記出力手段は出力優先順位を前
記サブ決定手段によって決定された予測文字列をこの出
力優先順位順で出力する構成を有している。According to the seventeenth aspect of the invention, when there is a plurality of predicted character strings having the same Kanji conversion candidate or the same input character string at the beginning as a result of the search by the search means, output of these predicted character strings has priority. Sub-determination means for determining the order based on a predetermined standard is provided, and the output means is configured to output the predictive character string whose output priority order is determined by the sub-determination means in the output priority order. .
【0025】請求項18の発明は、前記検索手段は前記
辞書から検索する予測文字列の数を予め設定された数以
内とする構成を有している。According to the eighteenth aspect of the present invention, the search means has a configuration in which the number of predicted character strings searched from the dictionary is set within a preset number.
【0026】請求項19の発明は、文字列を予測して文
書を作成する文書作成装置において、請求項10乃至1
8いずれか記載の文字列予測装置を搭載し、この文字列
予測装置により確定された予測文字列を前記文書内に入
力する構成を有している。The invention of claim 19 is a document creating apparatus for creating a document by predicting a character string.
The character string prediction device according to any one of 8 is installed, and the predicted character string determined by the character string prediction device is input into the document.
【0027】請求項20の発明は、入力された文字列を
仮名漢字変換する仮名漢字変換装置における仮名漢字変
換方法にあって、仮名漢字変換して得られた漢字候補を
構成する各漢字の画数を求めた後、一つの漢字候補を構
成する各漢字の画数を総計してこの漢字候補の画数と
し、前記漢字候補が複数あった場合は各漢字候補の画数
の多寡によってこれら漢字変換候補の出力優先順位を決
定した後、これら漢字変換候補を前記出力優先順位順に
表示する方法を採用している。The invention of claim 20 is a kana-kanji conversion method in a kana-kanji conversion device for converting an input character string into kana-kanji, wherein the number of strokes of each kanji constituting a kanji candidate obtained by kana-kanji conversion. Then, the number of strokes of each kanji composing one kanji candidate is summed up to the number of strokes of this kanji candidate, and if there are multiple kanji candidates, the output of these kanji conversion candidates is determined by the number of strokes of each kanji candidate. After determining the priorities, a method of displaying these Kanji conversion candidates in the order of the output priorities is adopted.
【0028】請求項21の発明は、入力された文字列を
仮名漢字変換する仮名漢字変換装置において、前記入力
文字列を漢字に変換して漢字変換候補を得る仮名漢字変
換手段と、この仮名漢字変換手段により得られた漢字変
換候補を構成する各漢字の画数を求る画数取得手段と、
一つの漢字変換候補を構成する各漢字の前記画数取得手
段により求められた画数を総計してこの漢字変換候補の
画数とする画数演算手段と、前記漢字変換候補が複数あ
った場合に前記画数演算手段により求められた各漢字変
換候補の画数の多寡を比較する比較手段と、この比較手
段の比較結果によって前記漢字変換候補を先頭に持つ予
測文字列の出力優先順位を決定する決定手段と、この決
定手段により決定された出力優先順位順に前記仮名漢字
変換手段により得られた漢字変換候補を表示する表示手
段とを具備した構成を有している。According to a twenty-first aspect of the present invention, in a kana-kanji conversion device for converting an input character string into kana-kanji characters, kana-kanji conversion means for converting the input character string into kanji to obtain kanji conversion candidates, and the kana-kanji conversion character. A stroke number obtaining means for obtaining the stroke number of each kanji constituting the kanji conversion candidate obtained by the converting means;
A stroke number calculating means for summing up the stroke numbers obtained by the stroke number acquiring means of each kanji constituting one kanji conversion candidate to obtain the stroke number of this kanji conversion candidate, and the stroke number calculation when there are a plurality of kanji conversion candidates. Comparing means for comparing the number of strokes of each kanji conversion candidate obtained by the means, and deciding means for deciding the output priority of the predicted character string having the kanji conversion candidate at the head according to the comparison result of the comparing means; And a display unit for displaying the Kanji conversion candidates obtained by the Kana-Kanji conversion unit in the order of output priority determined by the determination unit.
【0029】請求項22の発明は、文字を手書きにより
入力する手書入力手段を備え、この手書入力手段により
入力された文字列を漢字混じり仮名漢字変換して入力す
る文書作成装置において、請求項21記載の仮名漢字変
換装置を搭載し、前記入力された文字列がひらがなであ
った場合、このひらがな文字列を仮名漢字変換する際に
前記仮名漢字変換装置を用いる構成を有している。According to a twenty-second aspect of the present invention, there is provided a document creating apparatus comprising handwriting input means for inputting characters by handwriting, wherein the character string input by the handwriting input means is converted into kana and kana and kanji and input. The kana-kanji conversion device according to item 21 is installed, and when the input character string is hiragana, the kana-kanji conversion device is used when converting the hiragana character string into kana-kanji characters.
【0030】[0030]
【作用】請求項1の発明の文字列予測方法にあっては、
前記入力文字列がひらがな文字列であるかどうかを判定
し、ひらがな文字列であった場合、前記入力文字列を漢
字に変換して漢字変換候補を得ると、漢字変換候補を構
成する各漢字の画数を求め、その後、一つの漢字変換候
補を構成する各漢字の画数を総計してこの漢字変換候補
の画数とし、前記漢字変換候補が複数あった場合は各漢
字変換候補の画数の多寡によってこれら漢字変換候補を
先頭に持つ予測文字列の出力優先順位を決定した後、こ
れら漢字変換候補を先頭部分に持つ文字列を前記辞書に
収容されている文字列の中から検索し、得られた予測文
字列を前記出力優先順位順に出力する。According to the character string prediction method of the invention of claim 1,
It is determined whether the input character string is a Hiragana character string, and if the character string is a Hiragana character string, the input character string is converted to Kanji to obtain a Kanji conversion candidate. The number of strokes is calculated, and then the number of strokes of each Kanji character that constitutes one Kanji conversion candidate is summed up to be the stroke number of this Kanji conversion candidate. If there are multiple Kanji conversion candidates, these are determined by the number of strokes of each Kanji conversion candidate. After determining the output priority of the predicted character string having the Kanji conversion candidate at the beginning, the character string having these Kanji conversion candidates at the beginning is searched from the character strings stored in the dictionary, and the obtained prediction is obtained. The character strings are output in the output priority order.
【0031】請求項2の発明の文字列予測方法にあって
は、前記各漢字変換候補の画数が多い程、前記予測文字
列の出力優先順位を上位にする。In the character string prediction method according to the second aspect of the present invention, the higher the number of strokes of each Kanji conversion candidate is, the higher the output priority of the predicted character string is.
【0032】請求項3の発明の文字列予測方法にあって
は、前記漢字変換候補を前記出力優先順位順に並び替
え、並び替えた順番に各漢字変換候補の予測文字列を前
記辞書から検索し、検索した順番に前記予測文字列を出
力する。In the character string prediction method of the invention of claim 3, the kanji conversion candidates are rearranged in the output priority order, and the predicted character strings of the respective kanji conversion candidates are retrieved from the dictionary in the rearranged order. , The predicted character strings are output in the searched order.
【0033】請求項4の発明の文字列予測方法にあって
は、前記入力文字列がひらがな文字列であるかどうかを
判定し、ひらがな文字列であった場合、前記入力文字列
を漢字に変換して漢字変換候補を得ると、漢字変換候補
を構成する各漢字の画数を求め、その後、一つの漢字変
換候補を構成する各漢字の画数を総計してこの漢字変換
候補の画数とし、前記漢字変換候補が複数あった場合は
各漢字変換候補の画数の多寡によってこれら漢字変換候
補の出力優先順位を決定した後、この出力優先順位順に
これら漢字変換候補を表示して利用者の選択を待ち、そ
の後、利用者により選択された漢字変換候補を先頭部分
に持つ文字列を前記辞書に収容されている文字列の中か
ら検索し、得られた予測文字列を出力する。According to the character string prediction method of the invention of claim 4, it is judged whether or not the input character string is a hiragana character string, and if it is a hiragana character string, the input character string is converted into kanji. When the kanji conversion candidates are obtained, the number of strokes of each kanji constituting the kanji conversion candidate is calculated, and then the number of strokes of each kanji constituting one kanji conversion candidate is summed to be the number of strokes of the kanji conversion candidate, and the kanji When there are multiple conversion candidates, after determining the output priority of these Kanji conversion candidates according to the number of strokes of each Kanji conversion candidate, these Kanji conversion candidates are displayed in this output priority order and wait for the user's selection, After that, the character string having the Kanji conversion candidate selected by the user at the head portion is searched from the character strings stored in the dictionary, and the obtained predicted character string is output.
【0034】請求項5の発明の文字列予測方法にあって
は、前記漢字変換候補が1文字の漢字で構成されていた
場合はこの漢字の画数を前記漢字変換候補の画数とす
る。In the character string prediction method of the present invention, when the Kanji conversion candidate is composed of one Kanji character, the stroke number of this Kanji character is taken as the stroke number of the Kanji conversion candidate.
【0035】請求項6の発明の文字列予測方法にあって
は、前記入力文字列がひらがな文字列でない場合、更に
この入力文字列が漢字であるかどうかを判定し、漢字で
ある場合、この漢字の入力文字列を保存しておき、その
後、ひらがなの入力文字列を変換して得られた前記漢字
候補の中から前記保存された漢字文字列と同一の漢字候
補を取り除き、残りの漢字候補について前記出力優先順
位を決めた後の処理を行う。According to the character string prediction method of the invention of claim 6, when the input character string is not a hiragana character string, it is further judged whether or not the input character string is a kanji character. The input character string of the kanji is saved, and thereafter, the same kanji candidate as the saved kanji character string is removed from the kanji candidates obtained by converting the input character string of hiragana, and the remaining kanji candidates are removed. The process after determining the output priority order is performed.
【0036】請求項7の発明の文字列予測方法にあって
は、前記入力文字列がひらがな文字列でない場合、この
入力文字列を先頭部分に持つ予測文字列を前記辞書から
直ちに検索して、出力する。According to the character string prediction method of the invention of claim 7, when the input character string is not a hiragana character string, a predicted character string having this input character string at the head portion is immediately retrieved from the dictionary, Output.
【0037】請求項8の発明の文字列予測方法にあって
は、同一の前記漢字変換候補又は同一の入力文字列を先
頭部分に持つ予測文字列が複数あった場合は所定の基準
に基づいて出力優先順位を決定し、前記予測文字列間に
限って前記決定された出力優先順位に従って出力する。According to the character string prediction method of the invention of claim 8, when there are a plurality of predicted character strings having the same Kanji conversion candidate or the same input character string at the head portion, based on a predetermined criterion. The output priority is determined, and only the predicted character strings are output according to the determined output priority.
【0038】請求項9の発明の文字列予測方法にあって
は、予め設定された数以下の予測文字列を検索する。In the character string prediction method of the ninth aspect of the present invention, the predicted character strings of a preset number or less are searched.
【0039】請求項10の発明の文字列予測装置におい
ては、判定手段は前記入力文字列がひらがな文字列であ
るかどうかを判定する。仮名漢字変換手段は前記判定手
段により前記入力文字列がひらがな文字列であったと判
定された場合、前記入力文字列を漢字に変換して漢字変
換候補を得る。画数取得手段は前記仮名漢字変換手段に
より得られた漢字変換候補を構成する各漢字の画数を求
る。画数演算手段は一つの漢字変換候補を構成する各漢
字の前記画数取得手段により求められた画数を総計して
この漢字変換候補の画数とする。比較手段は前記漢字変
換候補が複数あった場合に前記画数演算手段により求め
られた各漢字変換候補の画数の多寡を比較する。決定手
段は前記比較手段の比較結果によって前記漢字変換候補
を先頭に持つ予測文字列の出力優先順位を決定する。検
索手段は前記漢字変換候補を先頭部分に持つ文字列を前
記辞書に収容されている文字列の中から検索する。表示
手段は前記検索手段により検索された予測文字列を前記
決定手段により決定された出力優先順位順に表示する。
確定手段は前記表示手段により表示された予測文字列の
中で任意の文字列を確定予測文字列として利用者に選択
させる。In the character string predicting apparatus of the tenth aspect of the invention, the judging means judges whether or not the input character string is a Hiragana character string. When the determining unit determines that the input character string is a Hiragana character string, the Kana-Kanji converting unit converts the input character string into Kanji and obtains a Kanji conversion candidate. The stroke number obtaining means obtains the stroke number of each kanji constituting the kanji conversion candidate obtained by the kana-kanji conversion means. The stroke number calculation means sums up the stroke numbers of the respective kanji characters forming one kanji conversion candidate obtained by the stroke number acquisition means to obtain the stroke number of this kanji conversion candidate. The comparing means compares the number of strokes of each kanji conversion candidate obtained by the stroke number calculating means when there are a plurality of kanji conversion candidates. The deciding means decides the output priority order of the predicted character string having the Kanji conversion candidate at the head according to the comparison result of the comparing means. The search means searches the character string stored in the dictionary for a character string having the Kanji conversion candidate at the beginning. The display means displays the predicted character strings retrieved by the retrieval means in the output priority order determined by the determination means.
The confirming means allows the user to select an arbitrary character string as the confirmed predictive character string from among the predictive character strings displayed by the display means.
【0040】請求項11の発明の文字列予測装置におい
ては、前記決定手段は各漢字変換候補の画数が多い程、
前記予測文字列の出力優先順位を上位にする決定を行
う。In the character string prediction device according to the invention of claim 11, the deciding means has a greater number of strokes of each Kanji conversion candidate,
It is determined that the output priority of the predicted character string is high.
【0041】請求項12の発明の文字列予測装置におい
ては、並び替え手段は前記漢字変換候補を前記決定手段
により決定された出力優先順位順に並び替える。前記検
索手段は前記並び替え手段により並び替えた順番に各漢
字変換候補の予測文字列を前記辞書から検索し、且つ前
記出力手段は前記検索手段により検索された順番に前記
予測文字列を出力する。In the character string prediction apparatus of the twelfth aspect of the present invention, the sorting means sorts the Kanji conversion candidates in the output priority order determined by the determining means. The searching means searches the dictionary for predicted character strings of each Kanji conversion candidate in the order sorted by the sorting means, and the output means outputs the predicted character strings in the order searched by the searching means. .
【0042】請求項13の発明の文字列予測装置におい
て、判定手段は前記入力文字列がひらがな文字列である
かどうかを判定する。仮名漢字変換手段は前記判定手段
により前記入力文字列がひらがな文字列であったと判定
された場合、前記入力文字列を漢字に変換して漢字変換
候補を得る。画数取得手段は前記仮名漢字変換手段によ
り得られた漢字変換候補を構成する各漢字の画数を求
る。画数演算手段は一つの漢字変換候補を構成する各漢
字の前記画数取得手段により求められた画数を総計して
この漢字変換候補の画数とする。比較手段は前記漢字変
換候補が複数あった場合に前記画数演算手段により求め
られた各漢字変換候補の画数の多寡を比較する。決定手
段は前記比較手段の比較結果によって前記漢字変換候補
を先頭に持つ予測文字列の出力優先順位を決定する。表
示手段は前記決定手段により決定された出力優先順位順
に前記仮名漢字変換手段により得られた漢字変換候補を
表示する。選択手段は前記表示手段により表示された任
意の漢字変換候補を利用者に選択させる。検索手段は前
記選択手段により選択された漢字変換候補を先頭部分に
持つ文字列を前記辞書に収容されている文字列の中から
検索する。表示手段は前記検索手段により得られた予測
文字列を表示する。確定手段は前記表示手段により表示
された予測文字列の中で任意の文字列を確定予測文字列
として利用者に選択させる。In the character string predicting device of the thirteenth aspect of the present invention, the judging means judges whether or not the input character string is a hiragana character string. When the determining unit determines that the input character string is a Hiragana character string, the Kana-Kanji converting unit converts the input character string into Kanji and obtains a Kanji conversion candidate. The stroke number obtaining means obtains the stroke number of each kanji constituting the kanji conversion candidate obtained by the kana-kanji conversion means. The stroke number calculation means sums up the stroke numbers of the respective kanji characters forming one kanji conversion candidate obtained by the stroke number acquisition means to obtain the stroke number of this kanji conversion candidate. The comparing means compares the number of strokes of each kanji conversion candidate obtained by the stroke number calculating means when there are a plurality of kanji conversion candidates. The deciding means decides the output priority order of the predicted character string having the Kanji conversion candidate at the head according to the comparison result of the comparing means. The display means displays the kanji conversion candidates obtained by the kana-kanji conversion means in the output priority order determined by the determination means. The selection unit causes the user to select an arbitrary Kanji conversion candidate displayed by the display unit. The searching means searches the character strings stored in the dictionary for a character string having the Kanji conversion candidate selected by the selecting means at its head portion. The display means displays the predicted character string obtained by the search means. The confirming means allows the user to select an arbitrary character string as the confirmed predictive character string from among the predictive character strings displayed by the display means.
【0043】請求項14の発明の文字列予測装置におい
ては、前記画数演算手段は漢字変換候補が1文字の漢字
で構成されていた場合はこの漢字の画数を前記漢字変換
候補の画数とする。In the character string prediction device of the fourteenth aspect of the invention, when the kanji conversion candidate is composed of one kanji character, the stroke number calculating means sets the stroke number of this kanji character as the stroke number of the kanji conversion candidate.
【0044】請求項15の発明の文字列予測装置におい
ては、サブ判定手段は前記判定手段により入力文字列が
ひらがな文字列でないと判定された場合、更にこの入力
文字列が漢字であるかどうかを判定する。保存手段は前
記サブ判定手段により入力文字列が漢字であると判定さ
れた場合、この漢字の入力文字列を保存する。識別手段
は前記仮名漢字変換手段により得られた前記漢字候補の
中から前記保存手段に保存された漢字文字列と同一の漢
字候補を識別する。除去手段は前記識別手段により識別
された漢字文字列を前記漢字候補の中から除去する。前
記決定手段は前記除去手段により除去されなかった残り
の漢字候補について前記出力優先順位を決める。In the character string predicting device of the fifteenth aspect of the present invention, when the sub-judging means judges that the input character string is not a hiragana character string by the judging means, it is further determined whether or not the input character string is a kanji character. judge. When the sub determination unit determines that the input character string is a Chinese character, the storage unit stores the input character string of the Chinese character. The identifying means identifies, from the kanji candidates obtained by the kana-kanji conversion means, a kanji candidate that is the same as the kanji character string stored in the storage means. The removing unit removes the Kanji character string identified by the identifying unit from the Kanji candidates. The determining unit determines the output priority order for the remaining Kanji candidates that have not been removed by the removing unit.
【0045】請求項16の発明の文字列予測装置におい
ては、前記判定手段により入力文字列がひらがな文字列
でないと判定された場合、前記検索手段は前記入力文字
列を先頭部分に持つ予測文字列を前記辞書から直ちに検
索し、出力手段は検索された予測文字列を出力する。In the character string predicting apparatus of the sixteenth aspect of the invention, when the determining unit determines that the input character string is not a Hiragana character string, the searching unit determines the predictive character string having the input character string at the head portion. Is immediately retrieved from the dictionary, and the output means outputs the retrieved predicted character string.
【0046】請求項17の発明の文字列予測装置におい
ては、サブ決定手段は前記検索手段の検索の結果、同一
の漢字変換候補又は同一の入力文字列を先頭部分に持つ
予測文字列が複数あった場合、これら予測文字列の出力
優先順位を所定の基準に基づいて決定する。前記出力手
段は出力優先順位を前記サブ決定手段によって決定され
た予測文字列をこの出力優先順位順で出力する。In the character string predicting device of the seventeenth aspect of the invention, the sub determining means, as a result of the search by the searching means, has a plurality of predicted character strings having the same Kanji conversion candidate or the same input character string at the head portion. In this case, the output priority order of these predicted character strings is determined based on a predetermined standard. The output means outputs the predicted character strings whose output priority order is determined by the sub-determination means in this output priority order.
【0047】請求項18の発明の文字列予測装置におい
ては、前記検索手段は前記辞書から予め設定された数以
内の予測文字列を検索する。In the character string predicting device of the eighteenth aspect of the present invention, the searching means searches the dictionary for a predetermined number of predicted character strings or less.
【0048】請求項19の発明の文書作成装置において
は、請求項10乃至18いずれか記載の文字列予測装置
により確定された予測文字列を前記文書内に入力する。In the document creating apparatus of the nineteenth aspect of the invention, the predicted character string determined by the character string predicting apparatus of any one of the tenth to eighteenth aspects is input into the document.
【0049】請求項20の発明の仮名漢字変換方法にあ
っては、仮名漢字変換して得られた漢字候補を構成する
各漢字の画数を求めた後、一つの漢字候補を構成する各
漢字の画数を総計してこの漢字候補の画数とし、前記漢
字候補が複数あった場合は各漢字候補の画数の多寡によ
ってこれら漢字変換候補の出力優先順位を決定した後、
これら漢字変換候補を前記出力優先順位順に表示する。In the kana-kanji conversion method of the invention of claim 20, the number of strokes of each kanji forming a kanji candidate obtained by kana-kanji conversion is obtained, and then each kanji forming one kanji candidate is calculated. The total number of strokes is taken as the stroke count of this Kanji candidate, and when there are multiple Kanji candidates, after determining the output priority of these Kanji conversion candidates by the number of strokes of each Kanji candidate,
These Kanji conversion candidates are displayed in the output priority order.
【0050】請求項21の発明の仮名漢字変換装置にお
いては、仮名漢字変換手段は前記入力文字列を漢字に変
換して漢字変換候補を得る。画数取得手段は前記仮名漢
字変換手段により得られた漢字変換候補を構成する各漢
字の画数を求る。画数演算手段は一つの漢字変換候補を
構成する各漢字の前記画数取得手段により求められた画
数を総計してこの漢字変換候補の画数とする。比較手段
は前記漢字変換候補が複数あった場合に前記画数演算手
段により求められた各漢字変換候補の画数の多寡を比較
する。決定手段は前記比較手段の比較結果によって前記
漢字変換候補を先頭に持つ予測文字列の出力優先順位を
決定する。表示手段は前記決定手段により決定された出
力優先順位順に前記仮名漢字変換手段により得られた漢
字変換候補を表示する。In the kana-kanji conversion device of the twenty-first aspect of the invention, the kana-kanji conversion means converts the input character string into kanji to obtain kanji conversion candidates. The stroke number obtaining means obtains the stroke number of each kanji constituting the kanji conversion candidate obtained by the kana-kanji conversion means. The stroke number calculation means sums up the stroke numbers of the respective kanji characters forming one kanji conversion candidate obtained by the stroke number acquisition means to obtain the stroke number of this kanji conversion candidate. The comparing means compares the number of strokes of each kanji conversion candidate obtained by the stroke number calculating means when there are a plurality of kanji conversion candidates. The deciding means decides the output priority order of the predicted character string having the Kanji conversion candidate at the head according to the comparison result of the comparing means. The display means displays the kanji conversion candidates obtained by the kana-kanji conversion means in the output priority order determined by the determination means.
【0051】請求項22の発明の文書作成装置において
は、請求項21記載の仮名漢字変換装置は前記入力され
た文字列がひらがなであった場合、このひらがな文字列
を仮名漢字変換する。In the document creating apparatus of the twenty-second aspect of the invention, the kana-kanji conversion apparatus of the twenty-first aspect converts the hiragana character string into kana-kanji characters when the input character string is hiragana.
【0052】[0052]
【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明の文字列予測方法を用いた本発明
の文字列予測装置の一実施例を示したブロック図であ
る。文字列予測装置は、入力部1、漢字変換部2、仮名
文字列・漢字辞書3、画数調査部4、漢字・画数辞書
5、文字列並べ替え部6、予測文字列検索部7、単語辞
書8、文字列出力部9及び表示部10から構成される。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, a Kanji conversion unit 2, a kana character string / Kanji dictionary 3, a stroke number investigation unit 4, a Kanji / stroke number dictionary 5, a character string rearrangement unit 6, a predicted character string search unit 7, and a word dictionary. 8, a character string output unit 9 and a display unit 10.
【0053】ここで、上記した各ブロックの機能につい
て説明する。入力部1は手書き文字認識装置から成り、
手書き入力した文字(列)を文字認識して得た文字
(列)の入力を行う。漢字変換部2は、入力文字列を仮
名文字列・漢字辞書3を参照して漢字文字列に変換(仮
名漢字変換)する。仮名文字列・漢字辞書3は、図3に
示すようにひらがな文字列を読みとする漢字を収容して
いる。画数調査部4は仮名漢字変換して得られた漢字変
換候補を構成する各漢字の画数を漢字・画数辞書5を参
照して調査し、各漢字変換候補毎にそれを構成する漢字
の画数の総計を出す。但し、漢字変換候補が1文字の漢
字で構成されていた場合はこの漢字の画数を漢字変換候
補の画数とする。漢字・画数辞書5は図4に示すように
漢字毎にその画数を収容している。文字列並び替え部6
は漢字変換候補の出力優先順位をその画数によって並び
替える。文字列検索部7は渡された漢字変換候補(入力
文字列)に基づいて単語辞書8を検索することにより予
測文字列候補を検索する。単語辞書8は図5に示すよう
に1文字以上の文字列をキーとして予測文字列候補を検
索するための単語が登録されている。文字列出力部9は
渡された予測文字列候補を表示部10に出力する。表示
部10はLCD、CRT等からなり、入力文字列や予測
文字列候補などを表示する。The function of each block described above will now be described. The input unit 1 comprises a handwritten character recognition device,
Characters (strings) obtained by recognizing handwritten characters (strings) are input. The kanji conversion unit 2 converts the input character string into a kanji character string by referring to the kana character string / kanji dictionary 3 (kana kanji conversion). As shown in FIG. 3, the kana character string / kanji dictionary 3 contains kanji whose reading is a hiragana character string. The stroke number investigation unit 4 searches the number of strokes of each kanji constituting the kanji conversion candidate obtained by converting the kana to kanji by referring to the kanji / stroke number dictionary 5, and determines the number of strokes of the kanji constituting each kanji conversion candidate. Give the grand total. However, when the kanji conversion candidate is composed of one kanji, the number of strokes of this kanji is taken as the number of strokes of the kanji conversion candidate. As shown in FIG. 4, the kanji / stroke count dictionary 5 stores the stroke count for each kanji. Character string sorting unit 6
Rearranges the output priority of Kanji conversion candidates according to the number of strokes. The character string search unit 7 searches for a predicted character string candidate by searching the word dictionary 8 based on the passed Kanji conversion candidate (input character string). As shown in FIG. 5, the word dictionary 8 is registered with words for searching for predicted character string candidates using a character string of one or more characters as a key. The character string output unit 9 outputs the passed predicted character string candidates to the display unit 10. The display unit 10 includes an LCD, a CRT, etc., and displays an input character string, a predicted character string candidate, and the like.
【0054】次に本実施例の動作について説明するが、
本例では漢字で構成された文字列を予測する場合に限っ
た説明を行う。利用者は文字(列)を入力部1から入力
している時に、後に続く文字列を装置に予測させたい場
合、入力部1に予め設定されている予測キーを押す。入
力部1は入力された文字列を一旦内部のバッファに格納
するが、前記予測キーが押された時点で、入力部1はそ
れまで前記バッファに保持されている文字列を入力文字
列とし、この入力文字列がひらがな文字列であるかどう
かを判定する。その結果、ひらがな文字列であった場
合、入力部1は入力文字列を漢字変換部2に渡し、入力
文字列が漢字であった場合、入力文字列(漢字)をその
まま予測文字列検索部7に渡す。Next, the operation of this embodiment will be described.
In this example, description will be given only when predicting a character string composed of Kanji. 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 an internal buffer. When the prediction key is pressed, the input unit 1 sets the character string held in the buffer until then as an input character string, It is determined whether this input character string is a Hiragana character string. As a result, when the input character string is a Hiragana character string, the input unit 1 passes the input character string to the Kanji conversion unit 2, and when the input character string is a Kanji character, the input character string (Kanji) is directly input to the predictive character string search unit 7. Pass to.
【0055】例えば、利用者が「と」と入力した時点
で、前記予測キーを押した場合、入力部1の内部バッフ
ァから「と」が入力文字列として、漢字変換部2に出力
され、利用者が「とり」と入力した時点で、前記予測キ
ーを押した場合、前記バッファから「とり」が入力文字
列として、漢字変換部2に出力される。しかし、利用者
が例えば「都」と入力した時点で、前記予測キーを押し
た場合、前記バッファからこの「都」が入力文字列とし
て直接予測文字列検索部7に出力される。For example, if the prediction key is pressed when the user inputs "to", "to" is output from the internal buffer of the input unit 1 to the Kanji conversion unit 2 as an input character string and used. If the prediction key is pressed when the person inputs "tori", "tori" is output from the buffer to the kanji conversion unit 2 as an input character string. However, if the user presses the prediction key at the time when the user inputs, for example, "Tou", this "Tou" is directly output from the buffer to the predicted character string search unit 7 as an input character string.
【0056】漢字変換部2は入力されたひらがな文字列
を読みとする漢字を前記仮名文字列・漢字辞書3から取
り出し、取り出した漢字を画数調査部4に渡す。例え
ば、「とう」というひらがな文字列が入力された場合、
漢字変換部2は図3に示すような仮名文字列・漢字辞書
3から「十」、「東」、「投」等の漢字を取り出して、
これを変換候補として画数調査部4に出力する。画数調
査部4は渡された漢字変換候補を構成する各漢字につい
て図4に示すような漢字・画数辞書5を参照してその画
数を取り出し、1つの漢字変換候補を構成する各漢字の
画数を全て合計し、合計して得た画数をその漢字変換候
補の画数とする。The Kanji conversion unit 2 takes out the Kanji for reading the input Hiragana character string from the Kana character string / Kanji dictionary 3, and passes the taken out Kanji to the stroke number investigation unit 4. For example, if the Hiragana character string "To" is entered,
The kanji conversion unit 2 takes out kanji such as "ten", "east", "throw" from the kana character string / kanji dictionary 3 as shown in FIG.
This is output to the stroke number investigation unit 4 as a conversion candidate. The stroke number investigation unit 4 retrieves the stroke number of each kanji composing the passed kanji conversion candidate by referring to the kanji / stroke number dictionary 5 as shown in FIG. 4, and obtains the stroke number of each kanji constituting one kanji conversion candidate. The number of strokes obtained by summing up all of them is set as the number of strokes of the kanji conversion candidate.
【0057】このようにして得られた各漢字変換候補の
画数は図8に示すように変換候補と対にして文字列並び
替え部6に出力する。但し、漢字変換候補が1文字の漢
字で構成されている場合は、この漢字の画数が漢字変換
候補の画数となる。文字列並び替え部6は入力される変
換候補をその画数が多いものほど出力優先順位が高位に
なるように並び替えて、この並び替えた順番で予測文字
列検索部7に前記変換候補を出力する。The number of strokes of each Kanji conversion candidate obtained in this way is output to the character string rearrangement unit 6 as a pair with the conversion candidate as shown in FIG. However, when the kanji conversion candidate is composed of one kanji, the stroke number of this kanji becomes the stroke number of the kanji conversion candidate. The character string rearrangement unit 6 rearranges the input conversion candidates such that the larger the number of strokes, the higher the output priority, and outputs the conversion candidates to the predicted character string search unit 7 in this rearranged order. To do.
【0058】予測文字列検索部7は文字列並び替え部6
から漢字に変換された入力文字列を順番に受け取ると、
受け取った入力文字列について図5に示すような単語辞
書8を参照して、入力文字列を先頭に含む予測文字列を
検索する。この時の検索の順序は予測文字列検索部7が
受け取った入力文字列の順番、即ち上記した出力優先順
位順になる。予測文字列検索部7は検索により得られた
予測文字列候補を予測文字列出力部9に検索終了順に渡
す。The predictive character string retrieval unit 7 is a character string rearranging unit 6
When the input character strings converted from Kanji to Kanji are received in order,
With respect to the received input character string, the word dictionary 8 as shown in FIG. 5 is referred to search for a predicted character string including the input character string at the head. The search order at this time is the order of the input character strings received by the predicted character string search unit 7, that is, the output priority order described above. The predictive character string search unit 7 passes the predictive character string candidates obtained by the search to the predictive character string output unit 9 in the search end order.
【0059】一方、予測文字列検索部7は入力部1から
漢字の入力文字列を直接受け取ると、これら漢字変換候
補を先頭部分に持つ予測文字列を単語辞書8から検索
し、得られた予測文字列候補を文字列出力部9に渡す。
この場合、得られた予測文字列候補の文字列出力部9へ
の出力順は優先順位付けられていない。但し、入力文字
列が最初から漢字で、予測対象となる文字列が1個とな
るため、検索される予測文字列候補の数がひらがな文字
列の入力の場合に比べて少ないため、優先順位付けられ
ていなくとも、それほど支障は無いことになる。On the other hand, when the predictive character string retrieving unit 7 directly receives the input character string of the Kanji from the input unit 1, the predictive character string having these Kanji conversion candidates at the head portion is retrieved from the word dictionary 8 and the obtained predictive character string is obtained. The character string candidates are passed to the character string output unit 9.
In this case, the output order of the obtained predicted character string candidates to the character string output unit 9 is not prioritized. However, since the input character string is Kanji from the beginning and the number of character strings to be predicted is one, the number of predicted character string candidates to be searched is smaller than in the case of Hiragana character string input, so prioritization is performed. Even if it is not done, it will not cause much trouble.
【0060】文字列出力部9は予測文字列検索部7から
渡された予測文字列候補を受けとった順番(出力優先順
位順)に表示部10に表示する。尚、文字列出力部9は
渡された予測文字列候補が優先順位付けられていない場
合でも、渡された順番で表示する。The character string output unit 9 displays the predicted character string candidates passed from the predicted character string search unit 7 on the display unit 10 in the order in which they are received (in the output priority order). It should be noted that the character string output unit 9 displays the passed predicted character string candidates in the order in which they are passed, even if they are not prioritized.
【0061】ここで、上記した出力優先順位づけの考え
方について説明する。利用者が漢字の文字列を入力した
い時に、その一部をひらがなで入力して、これに続く文
字列を予測させたい場合、画数の多い漢字ほど漢字で入
力するのに手間が掛かるため、ひらがなで入力する傾向
にある。従って、入力されたひらがなを仮名漢字変換し
て得られた変換候補で画数の多いものほど、利用者が入
力したい文字列の先頭部分を形成している可能性が高い
と考えられる。このため、変換候補の画数の多い順番で
その予測文字列候補を検索し、検索された予測文字列候
補を検索された順番で表示部10に出力することによ
り、上記した考え方の出力優先順位付が行われることに
なる。Here, the concept of the above-mentioned output prioritization will be described. When a user wants to input a character string of Kanji and wants to predict a part of the character string that follows by using Hiragana, the more Kanji with more strokes, the more time it takes to input it in Kanji. Tends to type in. Therefore, it is considered that the higher the number of strokes in the conversion candidates obtained by converting the input hiragana into the kana-kanji character, the higher the possibility of forming the head portion of the character string that the user wants to input. Therefore, the predicted character string candidates are searched in the order of the number of strokes of the conversion candidates, and the searched predicted character string candidates are output to the display unit 10 in the searched order, so that the output prioritization of the above-described concept is performed. Will be done.
【0062】図2は上記した文字予測処理の手順を示し
たフローチャートである。入力部1はステップ201に
て文字列を入力して、それが予測対象になると、ステッ
プ202にて入力した文字列がひらがな文字列であるか
どうかを判定する。その結果、ひらがな文字列でない場
合、入力部1はステップ208に進んで、入力文字列を
予測文字列検索部7に渡し、ひらがな文字列である場合
はステップ203に進み、入力文字列を漢字変換部2に
渡す。漢字変換部2はステップ203にて受け取ったひ
らがな文字列を仮名文字列・漢字辞書3を参照して漢字
の文字列に変換し、変換して得た漢字変換候補を画数調
査部4に渡す。FIG. 2 is a flow chart showing the procedure of the character prediction process described above. The input unit 1 inputs a character string in step 201, and when the character string becomes a prediction target, it determines whether the character string input in step 202 is a hiragana character string. As a result, if the character string is not a Hiragana character string, the input unit 1 proceeds to step 208 to pass the input character string to the predictive character string retrieval unit 7, and if it is a Hiragana character string, proceeds to step 203 to convert the input character string into Kanji characters. Deliver to Part 2. The kanji conversion unit 2 converts the hiragana character string received in step 203 into a kanji character string by referring to the kana character string / kanji dictionary 3, and passes the kanji conversion candidates obtained by the conversion to the stroke number investigation unit 4.
【0063】画数調査部4はステップ204にて受け取
った漢字変換候補を構成する各々の漢字の画数を漢字・
画数辞書5から検索して、漢字変換候補毎にその画数を
算出し、得られた画数を漢字変換候補と共に文字列並び
替え部6に渡す。文字列並び替え部6はステップ205
にて漢字変換候補の画数の多い順に漢字変換候補を並び
替えた後(優先順位付けに相当)、漢字変換候補を並び
替えた順番に予測文字列検索部7に出力する。The stroke number investigation unit 4 determines the stroke number of each Kanji character forming the Kanji conversion candidate received in step 204.
The stroke number dictionary 5 is searched, the stroke number is calculated for each Kanji conversion candidate, and the obtained stroke number is passed to the character string rearranging unit 6 together with the Kanji conversion candidate. The character string rearranging unit 6 is step 205.
After rearranging the kanji conversion candidates in the order of the number of strokes of the kanji conversion candidates (corresponding to prioritization), the kanji conversion candidates are output to the predicted character string search unit 7 in the rearranged order.
【0064】予測文字列検索部7はステップ206にて
受け取った漢字変換候補の各々について対応する予測文
字列候補を単語辞書8から検索し、得られた予測文字列
候補を検索した順番に文字列出力部9に渡す。但し、入
力部1から直接渡された漢字文字列についても対応する
予測文字列候補を単語辞書8から検索して文字列出力部
9に渡す。The predictive character string search unit 7 searches the word dictionary 8 for a corresponding predictive character string candidate for each of the Kanji conversion candidates received in step 206, and obtains the predictive character string candidates in the order in which they are searched. It is passed to the output unit 9. However, for the kanji character string directly passed from the input unit 1, the corresponding predicted character string candidate is searched from the word dictionary 8 and passed to the character string output unit 9.
【0065】予測文字列出力部9はステップ207にて
予測文字列候補をその渡された順番(優先順位順)に表
示部10に表示する。但し、入力部1から直接漢字で入
力された入力文字列の予測文字列候補につては優先順位
順づけされていないが、同様に渡された順番に表示する
ものとする。利用者は表示部10に表示された予測文字
列候補が希望のものであった場合、入力部1の選択/実
行キーを押して、これを選択することにより、予測文字
列を確定する。利用者は表示部10に表示された予測文
字列候補が希望のものでなかった場合、入力部1の次候
補キーを押して、文字列出力部9に次の出力優先順位の
予測文字列候補を表示部10に表示させる。尚、文字列
出力部9は渡された予測文字列候補を表示部10に一覧
表示し、その中から利用者が希望の予測文字列を選択し
て確定してもよい。The predicted character string output unit 9 displays the predicted character string candidates on the display unit 10 in the passed order (priority order) in step 207. However, although the predicted character string candidates of the input character string directly input in the Kanji from the input unit 1 are not prioritized, they are displayed in the same order. When the predicted character string candidate displayed on the display unit 10 is the desired one, the user presses the select / execute key of the input unit 1 to select it, thereby fixing the predicted character string. When the predicted character string candidate displayed on the display unit 10 is not the desired one, the user presses the next candidate key on the input unit 1 to display the predicted character string candidate of the next output priority on the character string output unit 9. It is displayed on the display unit 10. The character string output unit 9 may display the passed predicted character string candidates in a list on the display unit 10, and the user may select and confirm the desired predicted character string.
【0066】次に、上記実施例の動作について具体例を
用いて説明する。入力部1から「とう」というひらがな
文字列が入力されたとすると、この「とう」という文字
列を漢字変換部2が受け取る。漢字変換部2はひらがな
文字列「とう」の変換候補を図3に示したような仮名文
字列・漢字辞書3から検索し「十、東、投」を得る。こ
れら漢字変換候補は画数調査部4に渡されるため、画数
調査部4は「十、東、投」の各々の文字についてその画
数を図4に示した漢字・画数辞書5から検索し、受け取
った漢字とその漢字の画数が対になるように、例えば
「「十(2)、東(8)、投(7)」のような出力形式
に直して、これらを文字列並び替え部6に渡す。文字列
並べ替え部6では各々の画数、ここでは括弧内の画数が
多い順に受け取った変換候補を並び替えて、「東
(8)、投(7)、十(2)」とする。この時の順序は
そのまま漢字変換候補の出力優先順位となる。Next, the operation of the above embodiment will be described using a specific example. When the hiragana character string “TO” is input from the input unit 1, the Kanji conversion unit 2 receives the character string “TO”. The kanji conversion unit 2 retrieves a conversion candidate for the hiragana character string "to" from the kana character string / kanji dictionary 3 as shown in FIG. 3 and obtains "ten, east, throw". Since these Kanji conversion candidates are passed to the stroke count research unit 4, the stroke count research unit 4 retrieves and receives the stroke count for each character of "10, east, throw" from the Kanji / stroke count dictionary 5 shown in FIG. Correct the output format such as "Ten (2), East (8), Throw (7)" so that the Kanji and the stroke number of the Kanji are paired, and pass them to the character string rearrangement unit 6. . The character string rearranging unit 6 rearranges the conversion candidates received in descending order of the number of strokes, here the number of strokes in parentheses, to obtain "east (8), throw (7), and ten (2)". The order at this time becomes the output priority of the kanji conversion candidates as it is.
【0067】予測文字列検索部7は、漢字変換候補を受
け取った順、即ち、優先順位付けられた漢字変換候補の
優先順位の高いものから順番に、変換候補を先頭の持つ
単語、即ち予測文字列候補を図5に示した単語辞書8か
ら検索する。全ての候補について検索が終わると、検索
が終了した順番で、それらを文字列出力部9に渡す。こ
の例では「東京、東海、投手、投球、十」という予測文
字列候補をこの順番で得ることができ、これらは検索終
了順(出力優先順)に並んでいる。従って、文字列出力
部9は「東京、東海、投手、投球、十」の順番でこれら
予測文字列候補を受け取った後、受け取った順番で表示
部10に表示する。即ち、文字列出力部9は「東京」を
第1順位で表示し、入力部1の次候補キーの押下がある
と、「東海」を第2順位で表示する。以降同様である。
この時、文字列出力部9は表示部10に表示した予測文
字列候補を選択する選択/実行キーの押下が入力部1か
らあると、表示した予測文字列を確定して表示する。と
ころで、入力部1に最初から「東」という漢字の文字列
が入力された場合、この「東」という漢字の文字列は予
測文字列検出部7に直接渡される。これにより、予測文
字列検出部7は「東」を先頭に持つ予測文字列候補「東
京、東海」を単語辞書8から検索して、文字列出力部9
に渡す。The predictive character string search unit 7 receives the kanji conversion candidates in the order in which they are received, that is, in descending order of priority of the kanji conversion candidates that have been prioritized, the words having the conversion candidates at the beginning, that is, the predicted characters. A column candidate is searched from the word dictionary 8 shown in FIG. When the search is completed for all the candidates, they are passed to the character string output unit 9 in the order in which the search is completed. In this example, the predicted character string candidates “Tokyo, Tokai, pitcher, pitcher, ten” can be obtained in this order, and they are arranged in the search end order (output priority order). Therefore, the character string output unit 9 receives these predicted character string candidates in the order of "Tokyo, Tokai, pitcher, pitch, ten", and then displays them on the display unit 10 in the received order. That is, the character string output unit 9 displays "Tokyo" in the first rank, and when the next candidate key of the input unit 1 is pressed, "Tokai" is displayed in the second rank. The same applies thereafter.
At this time, the character string output unit 9 confirms and displays the displayed predicted character string when the selection / execution key for selecting the predicted character string candidate displayed on the display unit 10 is pressed from the input unit 1. By the way, when the kanji character string “east” is input to the input unit 1 from the beginning, the kanji character string “east” is directly passed to the predicted character string detection unit 7. As a result, the predicted character string detection unit 7 searches the word dictionary 8 for a predicted character string candidate “Tokyo, Tokai” having “East” at the head, and the character string output unit 9
Pass to.
【0068】文字列出力部9は「東京、東海」を渡され
た順番に表示部10に表示する。この場合、予測文字列
検出部7で予測文字列を検索する際のキーとなる入力文
字列が「東」1個となるため、検索される予測文字列候
補の数がひらがな文字列の入力の場合に比べて少なく
(この例では2/5)、優先順位付けをしなくとも、表
示部10に表示される予測文字列候補が少なくなるた
め、その確定の際の選択が繁雑になることはない。The character string output unit 9 displays "Tokyo, Tokai" on the display unit 10 in the order in which they are passed. In this case, the input character string that is the key when searching the predicted character string in the predicted character string detection unit 7 is "East", so the number of predicted character string candidates to be searched is the number of input hiragana characters. Compared to the case (2/5 in this example), the number of predictive character string candidates displayed on the display unit 10 is small even without prioritization, so that the selection at the time of confirmation is not complicated. Absent.
【0069】本実施例によれば、漢字で構成される文字
列を予測する場合で、文字列がひらがなで入力された場
合、ひらがなの入力文字列を漢字に変換し、この時、複
数の変換候補が得られた場合、各変換候補の画数を調
べ、画数が多い順番に並び替えて、この順番で各変換候
補を先頭に持つ予測文字列候補を検索し、このとき得ら
れた予測文字列候補の出力優先順位を検索した順番とす
ることにより、利用者が入力を意図した予測文字列候補
の出力優先順位を高めて、予測文字列を確定する際の選
択効率を向上させることができる。尚、同一の変換候補
から得られた予測文字列候補間の優先順位は、単語辞書
8等に各予測文字列の使用頻度を格納しておき、この使
用頻度を用いることにより容易に付けることができ、更
に予測文字列の選択効率を向上させることができる。According to the present embodiment, when predicting a character string composed of kanji and the character string is input in hiragana, the hiragana input character string is converted into kanji, and at this time, a plurality of conversions are performed. When a candidate is obtained, the number of strokes of each conversion candidate is checked, rearranged in the order of the number of strokes, and a predicted character string candidate having each conversion candidate at the head in this order is searched, and the predicted character string obtained at this time By setting the output priority order of the candidates as the search order, it is possible to increase the output priority order of the predicted character string candidates intended for input by the user and improve the selection efficiency when determining the predicted character string. It should be noted that the priority order between predicted character string candidates obtained from the same conversion candidate can be easily assigned by storing the usage frequency of each predicted character string in the word dictionary 8 or the like and using this usage frequency. It is possible to further improve the selection efficiency of the predicted character string.
【0070】又、本例では、漢字で構成される文字列の
予測を前提として説明したが、ひらがな又は漢字混じり
ひらがな文字列の予測と併用することは容易であり、こ
の場合も、予測文字列候補が漢字で構成される場合に本
例の優先順位付けを行って同様の効果を得ることができ
る。Further, in the present example, description has been made on the premise of predicting a character string composed of Kanji characters, but it is easy to use it together with prediction of a Hiragana character string or a Hiragana character string mixed with Kanji. When the candidates are composed of kanji, the same effect can be obtained by prioritizing this example.
【0071】図6は本発明の他の実施例を示したブロッ
ク図である。文字列予測装置は、入力部1、漢字変換部
2、仮名文字列・漢字辞書3、画数調査部4、漢字・画
数辞書5、文字列並べ替え部6、予測文字列検索部7、
単語辞書8、文字列出力部9、表示部10、使用漢字除
去部11及び使用漢字バッファ12から構成される。FIG. 6 is a block diagram showing another embodiment of the present invention. The character string prediction device includes an input unit 1, a Kanji conversion unit 2, a kana character string / Kanji dictionary 3, a stroke number investigation unit 4, a Kanji / stroke number dictionary 5, a character string rearrangement unit 6, a predicted character string search unit 7,
It comprises a word dictionary 8, a character string output unit 9, a display unit 10, a used Kanji removal unit 11, and a used Kanji buffer 12.
【0072】ここで、上記した各ブロックの中で図1の
実施例で使用されていないブロックの機能について説明
する。使用漢字除去部11は、漢字変換部2により漢字
に変換された変換候補の中から使用漢字バッファ12に
登録されている漢字を取り除いて、画数調査部4に渡
す。使用漢字バッファ12は、入力部1より最初から漢
字で入力された漢字を図9に示すように保存する。The functions of blocks not used in the embodiment of FIG. 1 among the above blocks will be described below. The used kanji removal section 11 removes the kanji registered in the used kanji buffer 12 from the conversion candidates converted into kanji by the kanji conversion section 2 and passes it to the stroke number investigation section 4. The used kanji character buffer 12 stores the kanji input from the input unit 1 from the beginning as shown in FIG.
【0073】次に本実施例の動作について図7のフロー
チャートを参照して説明する。入力部1はステップ70
1にて文字列を入力して、それが予測対象になると、ス
テップ702にて入力した文字列がひらがな文字列であ
るかどうかを判定し、そうでない場合はステップ709
に進んで、入力文字列(漢字)を使用漢字バッファ12
に図9に示すように保存した後、この入力文字列をステ
ップ710にて予測文字列検索部7に渡す。Next, the operation of this embodiment will be described with reference to the flowchart of FIG. The input unit 1 is step 70
When a character string is input in 1 and becomes a prediction target, it is determined in step 702 whether the input character string is a hiragana character string, and if not, step 709.
Go to and use the input character string (Kanji) Kanji buffer 12
After being stored as shown in FIG. 9, the input character string is passed to the predicted character string searching unit 7 in step 710.
【0074】一方、ひらがな文字列であると判断した場
合、入力部1はステップ703に進んで、入力文字列
(ひらがな)を漢字変換部2に渡す。漢字変換部2はス
テップ703にて受け取ったひらがな文字列を仮名文字
列・漢字辞書3を参照して漢字の文字列に変換し、変換
して得た漢字変換候補を使用漢字除去部11に渡す。使
用漢字除去部11はステップ704にて渡された変換候
補の中から使用漢字バッファ12に保存されている漢字
があれば、それを除いた残りの漢字を画数調査部4に渡
す。On the other hand, if it is determined that the input character string is a Hiragana character string, the input unit 1 proceeds to step 703 to pass the input character string (Hiragana) to the Kanji conversion unit 2. The kanji conversion unit 2 converts the hiragana character string received in step 703 into a kanji character string by referring to the kana character string / kanji dictionary 3, and passes the kanji conversion candidates obtained by the conversion to the used kanji removal unit 11. . If there is a kanji stored in the used kanji buffer 12 among the conversion candidates passed in step 704, the used kanji remover 11 passes the remaining kanji excluding the kanji to the stroke number checker 4.
【0075】ここで、使用漢字除去部11により一度入
力部1から直接入力された漢字と同一の変換候補を取り
除く考え方について説明する。手書き文字認識装置等か
らの入力に際しては、利用者は同じ文字列を入力するに
も、漢字での入力や仮名での入力等、入力する文字種を
意識して変えることができ、この文字種を変えたことは
それに続いて利用者が入力したい文字列を予測する上で
のヒントになる。Here, the concept of removing the same conversion candidate as the Kanji directly input from the input unit 1 by the used Kanji removal unit 11 will be described. When inputting from a handwritten character recognition device, etc., the user can change the character type by inputting the same character string, consciously changing the input character type such as kanji or kana. This will be a hint for the user to predict the character string he wants to input.
【0076】例えば、利用者が入力文字列を全てひらが
なとした時は、利用者は漢字で入力せずに意識してひら
がなで入力したのだということに注目し、このひらがな
入力という情報を用いて、予測する文字列を限定するこ
とができる。上記のようなことを勘案すると、利用者が
一度でも入力部1から直接漢字で入力した文字列は、以
降も漢字で入力する確率が高いため、ひらがなで入力し
た文字列から漢字で構成された文字列を予測する際に、
前記入力部1から直接入力された漢字を先頭に持つ予測
文字列をその候補から外しても、文字列予測の精度が損
なわれることなく、得られる予測文字列候補の数を減ら
すことができ、以降の処理負担を軽減できると考えられ
る。For example, when the user inputs all the input character strings in Hiragana, pay attention to the fact that the user consciously inputs in Hiragana instead of inputting in Kanji, and uses this information called Hiragana input. Thus, the character string to be predicted can be limited. Taking the above into consideration, since the character string that the user has input in Kanji directly from the input unit 1 even once has a high probability of being input in Kanji, the character string input in Hiragana is composed of Kanji. When predicting a string,
Even if the predicted character string having the Kanji at the head directly input from the input unit 1 is excluded from the candidates, the number of predicted character string candidates obtained can be reduced without impairing the accuracy of the character string prediction. It is considered that the subsequent processing load can be reduced.
【0077】画数調査部4はステップ705にて受け取
った漢字変換候補の各々の漢字の画数を漢字・画数辞書
5から検索して、漢字変換候補と共に文字列並び替え部
6に渡す。文字列並び替え部6はステップ706にて漢
字変換候補の画数の多い順に漢字変換候補を並び替えた
後、漢字変換候補を並び替えた順番(優先順位付けに相
当)に予測文字列検索部7に出力する。予測文字列検索
部7はステップ707にて漢字変換候補の各々について
対応する予測文字列候補をその入力順に単語辞書8から
検索して文字列出力部9に渡す。但し、入力部1から直
接渡された漢字文字列についても対応する予測文字列候
補を単語辞書8から検索して文字列出力部9に渡す。予
測文字列出力部9はステップ708にて予測文字列候補
をその優先順位順に表示部10に表示する。但し、入力
部1から直接渡された漢字文字列の予測文字列候補につ
ては優先順位順づけられていないが、同様に渡された順
番に表示するものとする。The stroke number investigation unit 4 searches the Kanji / stroke number dictionary 5 for the stroke number of each Kanji conversion candidate received in step 705, and passes it to the character string rearrangement unit 6 together with the Kanji conversion candidate. In step 706, the character string rearrangement unit 6 rearranges the Kanji conversion candidates in descending order of the number of strokes of the Kanji conversion candidates, and then the predicted character string retrieval unit 7 in the rearranged order of the Kanji conversion candidates (corresponding to prioritization). Output to. In step 707, the predictive character string searching unit 7 searches the word dictionary 8 for a predictive character string candidate corresponding to each of the Kanji conversion candidates, and passes it to the character string output unit 9. However, for the kanji character string directly passed from the input unit 1, the corresponding predicted character string candidate is searched from the word dictionary 8 and passed to the character string output unit 9. The predicted character string output unit 9 displays the predicted character string candidates on the display unit 10 in the order of priority in step 708. However, although the predicted character string candidates of the Kanji character string directly passed from the input unit 1 are not prioritized in order of priority, they are also displayed in the same order.
【0078】次に、上記実施例の動作について具体例を
用いて説明する。入力部1は「とう」という文字列が予
測対象として入力されると、この「とう」という文字列
を漢字変換部2に渡す。漢字変換部2は「とう」の変換
候補を図3に示したような仮名文字列・漢字辞書3から
検索して「十、東、投、党」を得る。使用漢字除去部1
1は、受け取った変換候補(漢字)について、それらが
使用漢字バッファ12に登録されていないかどうかを調
べ、登録されている漢字があった場合にはその漢字を変
換候補の中から取り除く。今、使用漢字バッファ12に
「十、党」があったとすれば、使用漢字除去部11は、
これらを取り除き変換候補を「東、投」のみとして、画
数調査部4に渡す。画数調査部4は「東、投」を受け取
ると、各々の漢字についてその画数を図4に示した漢字
・画数辞書5から検索し、漢字にその画数を付した
「「東(8)、投(7)」という出力形式を作る。文字
列並べ替え部6は各々の画数、ここでは括弧内の数字に
より変換候補を並び替え「東(8)、投(7)」を作成
する。この時の順序はそのまま漢字変換候補の出力優先
順位となる。Next, the operation of the above embodiment will be described using a specific example. When the character string “TO” is input as a prediction target, the input unit 1 passes the character string “TO” to the Kanji conversion unit 2. The kanji conversion unit 2 retrieves a conversion candidate for "to" from the kana character string / kanji dictionary 3 as shown in FIG. 3 to obtain "ten, east, throw, party". Used Kanji removal unit 1
For the received conversion candidates (kanji), 1 checks whether or not they are registered in the used kanji buffer 12, and if there is a registered kanji, removes the kanji from the conversion candidates. If there are "ten, party" in the used kanji buffer 12, the used kanji removal unit 11
These are removed and only the conversion candidate “east, throw” is passed to the stroke number investigation unit 4. When the stroke count research unit 4 receives “east, throw”, it searches the kanji / stroke dictionary 5 shown in FIG. 4 for the stroke number of each kanji, and adds the stroke number to the kanji ““ east (8) throw ”. (7) ”is created. The character string rearrangement unit 6 rearranges the conversion candidates according to the number of strokes, here the number in parentheses, and creates "East (8), Throw (7)". The order at this time becomes the output priority of the kanji conversion candidates as it is.
【0079】予測文字列検索部7は、優先順位付けられ
た漢字変換候補の優先順位の高いものから順に、変換候
補を先頭に持つ予測文字列候補を図5に示した単語辞書
8から検索する。全ての変換候補について検索が終わる
と、それらを文字列出力部9に検索順に渡す。文字列出
力部9は「東京、東海、投手、投球」をこの順番で受け
取り、受け取った順番で、これらを表示部10に表示す
る。The predictive character string retrieving unit 7 searches the word dictionary 8 shown in FIG. 5 for predictive character string candidates having conversion candidates at the top, in descending order of priority. . When the search is completed for all conversion candidates, they are passed to the character string output unit 9 in the search order. The character string output unit 9 receives “Tokyo, Tokai, pitcher, pitcher” in this order, and displays them on the display unit 10 in the received order.
【0080】本実施例によれば、入力されたひらがな文
字列から漢字で構成される文字列を予測する場合、利用
者が入力部1から直接漢字で入力する傾向にある文字列
を先頭に含む文字列の予測を行わないため、検索される
予測文字列候補の数を減らして、利用者による予測文字
列の選択確定を容易にすることができる。しかも、利用
者により入力部1から直接漢字で入力される傾向にある
文字列を先頭に含む文字列を利用者がひらがなで入力す
る確率は少ないため、文字列の予測精度を損なうことな
く上記効果を得ることができる。According to the present embodiment, when predicting a character string composed of Kanji from the input Hiragana character string, the character string which the user tends to input in Kanji directly from the input unit 1 is included at the beginning. Since the character string is not predicted, the number of searched predicted character string candidates can be reduced and the user can easily select and confirm the predicted character string. Moreover, since the probability that the user will input a character string that includes a character string at the beginning, which is apt to be input in Kanji directly from the input unit 1 by the user in Hiragana, is low, the above-described effect can be achieved without impairing the prediction accuracy of the character string. Can be obtained.
【0081】図10は本発明の更に他の実施例を示した
ブロック図である。文字列予測装置は、入力部1、漢字
変換部2、仮名文字列・漢字辞書3、画数調査部4、漢
字・画数辞書5、文字列並べ替え部6、予測文字列検索
部7、単語辞書8、文字列出力部9、表示部10及び文
字列選択部13から構成される。FIG. 10 is a block diagram showing still another embodiment of the present invention. The character string prediction device includes an input unit 1, a Kanji conversion unit 2, a kana character string / Kanji dictionary 3, a stroke number investigation unit 4, a Kanji / stroke number dictionary 5, a character string rearrangement unit 6, a predicted character string search unit 7, and a word dictionary. 8, a character string output unit 9, a display unit 10, and a character string selection unit 13.
【0082】ここで、上記した各ブロックの中で図1の
実施例で使用されていないブロックの機能について説明
する。文字列選択部13は、優先順位付けられた漢字変
換候補の各々を表示部10に表示して利用者に入力を意
図した漢字変換候補を選択させて、選択された漢字変換
候補を予測文字列検索部7に渡す。The functions of the blocks not used in the embodiment of FIG. 1 among the above blocks will be described below. The character string selection unit 13 displays each of the prioritized Kanji conversion candidates on the display unit 10 to allow the user to select a Kanji conversion candidate intended to be input, and the selected Kanji conversion candidate is a predicted character string. It is passed to the search unit 7.
【0083】次に本実施例の動作について図11のフロ
ーチャートを参照して説明する。入力部1はステップ1
11にて文字列を入力して、それが予測対象になると、
ステップ112にて入力した文字列がひらがな文字列で
あるかどうかを判定し、そうでない場合はステップ11
9に進んで、入力文字列を予測文字列検索部7に渡し、
ひらがな文字列である場合はステップ113に進み、入
力文字列を漢字変換部2に渡す。Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Input section 1 is step 1
Enter the character string in 11, and when it becomes a prediction target,
It is determined whether or not the character string input in step 112 is a hiragana character string, and if not, step 11
9, the input character string is passed to the predictive character string searching unit 7,
If it is a hiragana character string, the process proceeds to step 113, and the input character string is passed to the kanji conversion unit 2.
【0084】漢字変換部2はステップ113にて受け取
ったひらがな文字列を仮名文字列・漢字辞書3を参照し
て漢字の文字列に変換し、変換して得た漢字変換候補を
画数調査部4に渡す。画数調査部4はステップ114に
て受け取った漢字変換候補の各々の漢字の画数を漢字・
画数辞書5から検索した後、漢字変換候補の画数を算出
し、漢字変換候補とその画数を検索文字列並べ替え部6
に渡す。文字列並べ替え部6はステップ115にて漢字
変換候補の画数の多い順に漢字変換候補を並び替えた
後、並び替えた順番(優先順位付けに相当)に漢字変換
候補を文字列選択部13に出力する。文字列選択部13
はステップ116にて文字列並べ替え部6から漢字に変
換された変換候補を順番に受け取り、受け取った変換候
補を表示部10に受け取った順番に表示して、利用者が
入力を意図した文字列を選択するのを待つ。利用者は表
示部10に表示された変換候補が自己が入力しようとし
た漢字の文字列であった場合は、入力部1の選択/実行
キーを押して、現在表示されている変換候補を選択す
る。しかし、入力しようとした漢字の文字列でなかった
場合、利用者は入力部1の次候補キーを押して、文字列
選択部13により次の優先順位の変換候補を表示部10
に表示させる。その後、文字列選択部13は利用者によ
り選択された変換候補を予測文字列検索部7に渡す。
尚、文字列選択部13は前記変換候補を表示部10に一
括して表示し、利用者はこの中から希望の変換候補を選
択するようにしてもよい。The kanji conversion unit 2 converts the hiragana character string received in step 113 into a kanji character string by referring to the kana character string / kanji dictionary 3, and the kanji conversion candidate obtained by the conversion is the stroke number investigation unit 4. Pass to. The stroke number research unit 4 determines the stroke number of each kanji of the kanji conversion candidates received in step 114.
After searching the stroke number dictionary 5, the stroke number of the Kanji conversion candidate is calculated, and the Kanji conversion candidate and the stroke number thereof are searched for.
Pass to. In step 115, the character string rearrangement unit 6 rearranges the Kanji conversion candidates in descending order of the number of strokes of the Kanji conversion candidates, and then transfers the Kanji conversion candidates to the character string selection unit 13 in the rearranged order (corresponding to prioritization). Output. Character string selection unit 13
In step 116, the conversion candidates converted into kanji are sequentially received from the character string rearranging unit 6, and the received conversion candidates are displayed on the display unit 10 in the order in which they are received. Wait for you to choose. When the conversion candidate displayed on the display unit 10 is the Kanji character string that the user is trying to input, the user presses the select / execute key of the input unit 1 to select the conversion candidate currently displayed. . However, if the input character string is not a kanji character, the user presses the next candidate key of the input unit 1 and the character string selection unit 13 displays the conversion candidate of the next priority.
To display. After that, the character string selection unit 13 passes the conversion candidates selected by the user to the predicted character string search unit 7.
The character string selection unit 13 may collectively display the conversion candidates on the display unit 10, and the user may select a desired conversion candidate from among these.
【0085】予測文字列検索部7はステップ117にて
渡された漢字変換候補を先頭部分に持つ文字列を単語辞
書8から検索し、これを予測文字列候補として文字列出
力部9に渡す。但し、予測文字列検索部7はステップ1
17にて入力部1から直接渡された漢字文字列について
もこの漢字文字列を先頭部分に持つ文字列を単語辞書8
から検索して予測文字列出力部9に渡す。文字列出力部
9はステップ118にて予測文字列検索部7から渡され
た予測文字列候補を表示部10に渡された順番で表示す
る。次に、上記実施例の動作について具体例を用いて説
明する。入力部1に「とう」が予測対象として入力され
たとすると、この「とう」という文字列を漢字変換部2
が受け取る。漢字変換部2は「とう」の変換候補を仮名
文字列・漢字辞書3から検索し「十、東、投、党」を得
る。これを画数調査部4が受け取ると、「十、東、投、
党」の各々の文字についてその画数を漢字・画数辞書5
から検索し、漢字変換候補にその画数を付加した出力形
式、「十(2)、東(8)、投(7)、党(10)」を
作成する。文字列並べ替え部6は受け取った変換候補を
その画数が多い順に並び替えて、「党(10)、東
(8)、投(7)、十(2)」を得る。この時の順序は
そのまま漢字変換候補の出力優先順位となる。The predictive character string searching unit 7 searches the word dictionary 8 for a character string having the Kanji conversion candidate passed at step 117 at the beginning, and passes this to the character string output unit 9 as a predictive character string candidate. However, the predicted character string search unit 7 performs step 1
Also for the Kanji character string directly passed from the input unit 1 at 17, a character string having this Kanji character string at the beginning is used in the word dictionary 8
And outputs it to the predicted character string output unit 9. The character string output unit 9 displays the predicted character string candidates passed from the predicted character string search unit 7 in step 118 on the display unit 10 in the order passed. Next, the operation of the above embodiment will be described using a specific example. If "To" is input to the input unit 1 as a prediction target, this character string "To" is converted to the Kanji conversion unit 2
To receive. The kanji conversion unit 2 searches the kana character string / kanji dictionary 3 for a conversion candidate for "to" and obtains "ten, east, throw, party". When the stroke count research unit 4 receives this, "10, east, throw,
The stroke number for each character of the party
Then, the output format in which the number of strokes is added to the kanji conversion candidate, "ten (2), east (8), throw (7), party (10)" is created. The character string rearrangement unit 6 rearranges the received conversion candidates in descending order of the number of strokes to obtain "party (10), east (8), throw (7), ten (2)". The order at this time becomes the output priority of the kanji conversion candidates as it is.
【0086】文字列選択部13は「党、東、投、十」の
各々を受け取った順番(優先順位順)で表示し、利用者
に入力を意図した漢字の選択を求める。ここで「東」が
選択されたとすると、文字列選択部13は「東」を予測
文字列検索部7に渡す。予測文字列検索部7は受け取っ
た漢字変換候補を先頭に持つ予測文字列候補を単語辞書
8から検索する。この例にて、予測文字列検索部7は
「東京、東海」を検索し、検索が終わると、「東京、東
海」を文字列出力部9に渡す。文字列出力部9は「東
京、東海」を渡された順番で表示部10に表示する。The character string selection unit 13 displays each of "party, east, throw, ten" in the order of reception (priority order), and asks the user to select the kanji intended for input. If “East” is selected here, the character string selection unit 13 passes “East” to the predicted character string search unit 7. The predicted character string search unit 7 searches the word dictionary 8 for a predicted character string candidate having the received Kanji conversion candidate at the head. In this example, the predicted character string search unit 7 searches for “Tokyo, Tokai”, and when the search is completed, passes “Tokyo, Tokai” to the character string output unit 9. The character string output unit 9 displays “Tokyo, Tokai” on the display unit 10 in the order in which they are passed.
【0087】本実施例によれば、予測対象となったひら
がな文字列を漢字に変換して得た変換候補の中から、利
用者が入力を意図した変換候補を利用者に選択して貰
い、この選択された変換候補に続く漢字の文字列だけを
予測するため、検索される予測文字列候補の数を絞り込
むことができると共に予測精度を向上させることができ
る。又、検索される予測文字列候補が少ないため、利用
者による予測文字列の選択確定を容易にすることができ
る。According to the present embodiment, the user can select a conversion candidate that the user intended to input from the conversion candidates obtained by converting the hiragana character string that is the prediction target into kanji. Since only the Kanji character string following the selected conversion candidate is predicted, the number of predicted character string candidates to be searched can be narrowed down and the prediction accuracy can be improved. Moreover, since there are few predicted character string candidates to be searched, it is possible for the user to easily select and confirm the predicted character string.
【0088】尚、単語辞書8に収集した文字列の使用頻
度等を格納しておけば、上記した予測文字列候補が複数
あった場合、この使用頻度情報を用いてその出力優先順
位を並び替えて、表示部10に出力優先順位順に表示す
ることにより、第1順位で表示された予測文字列候補が
利用者の希望する文字列である可能性を高め、更に利用
者による予測文字列の選択確定を簡単化して装置の操作
性を向上させることができる。If the usage frequency of the collected character strings is stored in the word dictionary 8, if there are a plurality of predicted character string candidates, the output priority order is rearranged using this usage frequency information. Then, the probability of the predicted character string candidates displayed in the first rank being the character string desired by the user is increased by displaying the predicted character strings on the display unit 10 in order of output priority, and the predicted character string is selected by the user. The confirmation can be simplified and the operability of the device can be improved.
【0089】図12は本発明の更に他の実施例を示した
ブロック図である。本例は図11の構成に、使用漢字除
去部11と使用漢字バッファ12を加えることにより、
利用者が入力部1から直接漢字で入力する傾向にある文
字列を先頭に含む文字列の予測を行わない図6の実施例
で示した構成を付加した構成を有している。これによ
り、文字列選択部13が利用者に変換候補を選択させる
際に表示部10に表示する変換候補の中から利用者が漢
字で直接入力する傾向(即ち、これを予測した文字列が
利用者の希望するものになる確率が低い傾向)のものを
抜くことができ、その分、利用者による変換候補の選択
を容易に行うことができ、装置の操作性を向上させるこ
とができる。FIG. 12 is a block diagram showing still another embodiment of the present invention. In this example, by adding a used Kanji removal unit 11 and a used Kanji buffer 12 to the configuration of FIG. 11,
It has a configuration in which the configuration shown in the embodiment of FIG. 6 is added in which the user does not predict a character string including a character string at the beginning which tends to be directly input in Chinese characters from the input unit 1. Accordingly, when the character string selection unit 13 causes the user to select a conversion candidate, the user tends to directly input in Kanji from the conversion candidates displayed on the display unit 10 (that is, the character string that predicts this is used. Those who have a low probability of becoming the one desired) can be omitted, and the user can easily select the conversion candidate correspondingly, and the operability of the apparatus can be improved.
【0090】尚、本発明は上記実施例に限定されるもの
ではない、例えば、仮名文字列入力装置としては、手書
き文字認識装置だけではなく、漢字タブレットなどを使
用しても良いし、漢字変換候補の優先順位付けには、画
数だけではなく使用頻度や筆記にかかる時間を利用して
も良い。又、予測文字列検索部7は、全ての漢字変換候
補文字列について検索を行うのではなく、一定の文字列
の検索が行われた時点で検索を止めて、検索される予測
文字列候補の数の上限値を設定してもよい。更に、文字
列出力部9は予測文字列候補を表示するだけでなく、他
の処理装置に渡してもよい。更に、上記実施例の中でひ
らがな文字列と書いてあるところをカタカナ文字列と読
み替え、カタカナ文字列を漢字文字列に変換するように
すれば、本発明をカタカナ文字列の予測にも容易に適用
して、同様の効果を得ることができる。又、手書き入力
装置を備えた文書作成装置に本発明の文字列予測装置を
搭載することにより、利用者は画数の多い漢字文字列を
入力したい場合、その読みの一部分のみを入力するだけ
で、全ての漢字文字列を入力できるようになるため、文
書の作成効率を向上させることができる。The present invention is not limited to the above embodiment. For example, as the kana character string input device, not only a handwritten character recognition device but also a kanji tablet may be used, or kanji conversion. In order to prioritize the candidates, not only the number of strokes but also the frequency of use and the time taken for writing may be used. Further, the predictive character string search unit 7 does not search for all the Kanji conversion candidate character strings, but stops the search when a certain character string is searched for and searches for the predictive character string candidates. You may set the upper limit of number. Furthermore, the character string output unit 9 may not only display the predicted character string candidates, but may pass them to another processing device. Furthermore, if the word written in hiragana character string in the above embodiment is read as a katakana character string and the katakana character string is converted into a kanji character string, the present invention can be easily used for prediction of the katakana character string. It can be applied to obtain the same effect. Further, by installing the character string prediction device of the present invention in a document creation device equipped with a handwriting input device, when the user wants to input a kanji character string with a large number of strokes, only by inputting a part of the reading, Since all Kanji character strings can be input, the efficiency of document creation can be improved.
【0091】ところで、上記した本発明の各実施例の中
で、予測対象のひらがな文字列を漢字に変換した際に、
複数の変換候補が得られた場合、これら変換候補の出力
優先順位をその画数の多い順番で決めるという機能が重
要な役割を果たしている。これは、利用者が漢字の文字
列を入力したい時に、その一部をひらがなで入力して、
これに続く文字列を予測させたい場合、画数の多い漢字
ほど漢字で入力するのに手間が掛かるため、ひらがなで
入力する傾向にあるため、入力されたひらがなを仮名漢
字変換する際に、得られた変換候補で画数の多いものほ
ど、利用者が入力したい文字列の先頭部分を形成してい
る可能性が高いという考えに基づくものである。この考
え方は、利用者がダブレットとスタイラスペン等を用い
て手書で文字を入力する際にも有効で、手書き文字がひ
らがなで入力され、これを文字認識してから仮名漢字変
換するような場合、利用者が入力を意図した漢字変換候
補は上記の理由によりその画数の多い候補である可能性
が高い。従って、本例のひらがな文字列を漢字に変換し
た際に得られる変換候補の出力優先順位付けは手書き文
字入力装置を備えた文書作成装置に用いられる仮名漢字
変換装置にそのまま応用することができることになる。By the way, in each of the above-mentioned embodiments of the present invention, when the hiragana character string to be predicted is converted into kanji,
When a plurality of conversion candidates are obtained, the function of determining the output priority of these conversion candidates in the order of the number of strokes plays an important role. This is because when a user wants to input a kanji character string, part of it is input in hiragana,
If you want to predict the character string that follows this, it will take more time to enter Kanji in Kanji with more strokes, and there is a tendency to enter in Hiragana. This is based on the idea that the more conversion candidates having a larger number of strokes, the higher the possibility of forming the head portion of the character string that the user wants to input. This idea is also effective when the user inputs characters by handwriting using a doublet and stylus pen, etc., when handwritten characters are input in hiragana and they are recognized and then converted into kana-kanji. The Kanji conversion candidates that the user intended to input are likely to be candidates with a large number of strokes for the above reason. Therefore, the output prioritization of the conversion candidates obtained when the hiragana character string of this example is converted into kanji can be directly applied to the kana-kanji conversion device used in the document creation device equipped with the handwritten character input device. Become.
【0092】図13は上記のような考え方に基づいてな
された本発明の仮名漢字変換装置の一実施例を示したブ
ロック図である。仮名漢字変換装置は、入力部1、漢字
変換部2、仮名文字列・漢字辞書3、画数調査部4、漢
字・画数辞書5、文字列並べ替え部6、変換候補出力部
14及び表示部10から構成される。変換候補出力部1
4は仮名漢字変換候補を出力優先順位順に表示部10に
表示する機能を有し、他のブロックの機能は上記した文
字列予測装置のそれと同一である。FIG. 13 is a block diagram showing an embodiment of the kana-kanji conversion device of the present invention made based on the above concept. The kana-kanji conversion device includes an input unit 1, a kanji conversion unit 2, a kana character string / kanji dictionary 3, a stroke number investigation unit 4, a kanji / stroke number dictionary 5, a character string rearrangement unit 6, a conversion candidate output unit 14, and a display unit 10. Composed of. Conversion candidate output unit 1
Reference numeral 4 has a function of displaying kana-kanji conversion candidates on the display unit 10 in the order of output priority, and the functions of other blocks are the same as those of the character string prediction device described above.
【0093】次に本実施例の動作について図14のフロ
ーチャートを参照して説明する。入力部1はステップ1
41にて文字列を入力して一旦内部のバッファに保存
し、変換キーの押下等によりバッファ内の文字列が仮名
漢字変換対象になると、ステップ142にて入力した文
字列がひらがな文字列であるかどうかを判定する。その
結果、ひらがな文字列でないと判定された場合、入力部
1はステップ147に進んで、バッファ内の入力文字列
を変換候補出力部14に直接出力する。ひらがな文字列
であると判定された場合、入力部1はステップ143に
進み、バッファ内の入力文字列を漢字変換部2に渡す。Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Input section 1 is step 1
When the character string is input at 41 and temporarily stored in the internal buffer, and when the character string in the buffer becomes a target for kana-kanji conversion by pressing the conversion key or the like, the character string input at step 142 is a hiragana character string. Determine whether or not. As a result, if it is determined that the input character string is not a hiragana character string, the input unit 1 proceeds to step 147 to directly output the input character string in the buffer to the conversion candidate output unit 14. When it is determined that the input character string is a hiragana character string, the input unit 1 proceeds to step 143 and passes the input character string in the buffer to the Kanji conversion unit 2.
【0094】漢字変換部2はステップ143にて受け取
ったひらがな文字列を仮名文字列・漢字辞書3を参照し
て漢字の文字列に変換(仮名漢字変換)し、変換して得
た漢字変換候補を画数調査部4に渡す。画数調査部4は
ステップ144にて受け取った漢字変換候補の各々の漢
字の画数を漢字・画数辞書5から検索した後、各漢字変
換候補の画数を算出し、この画数を漢字変換候補に付加
して文字列並べ替え部6に渡す。The kanji conversion unit 2 converts the hiragana character string received in step 143 into a kanji character string by referring to the kana character string / kanji dictionary 3 (kana kanji conversion), and a kanji conversion candidate obtained by the conversion. Is passed to the stroke count investigation unit 4. The stroke number investigation unit 4 searches the Kanji / stroke number dictionary 5 for the stroke number of each Kanji conversion candidate received in step 144, calculates the stroke number of each Kanji conversion candidate, and adds this stroke number to the Kanji conversion candidate. And passes it to the character string rearrangement unit 6.
【0095】文字列並べ替え部6はステップ145にて
受け取った漢字変換候補をその画数の多い順に並び替え
た後、漢字変換候補を並び替えた順番(出力優先順位
順)に変換候補出力部14に渡す。変換候補出力部14
はステップ146にて漢字変換候補を順番に受け取り、
受け取った順番(優先順位順)に表示部10に表示す
る。利用者は表示部10に表示された漢字変換候補が希
望のものであった場合は入力部1の選択/実行キーを押
下して漢字変換候補を確定し、希望のものでなかった場
合は次候補キーを押して、変換候補出力部14により次
の出力優先順位の漢字変換候補を表示させる。The character string rearranging unit 6 rearranges the Kanji conversion candidates received in step 145 in descending order of the number of strokes, and then converts the Kanji conversion candidates in the rearranged order (output priority order). Pass to. Conversion candidate output unit 14
Receives the Kanji conversion candidates in order at step 146,
The information is displayed on the display unit 10 in the order of reception (order of priority). If the Kanji conversion candidate displayed on the display unit 10 is the desired one, the user presses the select / execute key on the input unit 1 to confirm the Kanji conversion candidate. When the candidate key is pressed, the conversion candidate output unit 14 displays the Kanji conversion candidate having the next output priority.
【0096】本実施例によれば、手書き文字入力装置等
からひらがな文字列を入力し、入力した文字列を仮名漢
字変換した場合、利用者が入力を意図したい漢字変換候
補が上位順位で出力される可能性が高まり、仮名漢字変
換効率を高めることができる。尚、図13に示したよう
な仮名漢字変換装置を手書き文字入力装置を備えた文書
作成装置などに搭載することにより、その文字入力効率
を高めることができる。According to the present embodiment, when a hiragana character string is input from a handwritten character input device and the input character string is converted to kana-kanji, the kanji conversion candidates that the user intends to input are output in the higher rank. It is possible to improve the conversion efficiency of Kana and Kanji. By installing the kana-kanji conversion device as shown in FIG. 13 in a document creation device or the like equipped with a handwritten character input device, the character input efficiency can be improved.
【0097】[0097]
【発明の効果】以上記述した如く請求項1、2、3、
9、10、11記載の発明によれば、入力されたひらが
な文字列をその先頭部分の読みとする漢字文字列を予測
させた場合に、利用者が入力を意図する予測文字列の出
力優先順位を上げて、利用者による予測文字列の選択確
定を容易に行うことができる。As described above, claims 1, 2, 3,
According to the ninth, tenth and eleventh inventions, when a kanji character string in which the input hiragana character string is used as the reading of the head part is predicted, the output priority of the predicted character string that the user intends to input , The predicted character string can be easily selected and confirmed by the user.
【0098】請求項4又は12記載の発明によれば、入
力されたひらがな文字列をその先頭部分の読みとする漢
字文字列を予測させたい場合に、得られる予測文字列の
数を容易に絞り込むことができると共に、文字列の予測
精度を向上させることができる。According to the invention of claim 4 or 12, when it is desired to predict a kanji character string in which the input hiragana character string is the reading of the head part, the number of predicted character strings obtained can be easily narrowed down. It is possible to improve the prediction accuracy of the character string.
【0099】請求項5又は13記載の発明によれば、得
られた漢字変換候補が1文字の漢字で構成されていて
も、漢字変換候補としての画数を得ることができる。According to the invention of claim 5 or 13, even if the obtained kanji conversion candidate is composed of one kanji, the number of strokes as a kanji conversion candidate can be obtained.
【0100】請求項6又は14記載の発明によれば、得
られた漢字変換候補から利用者が入力を意図しない文字
列を抜くことができ、無駄な処理を省くことができると
共に、得られる予測文字列の数を減らして利用者による
予測文字列の選択確定を容易に行うことができる。According to the invention described in claim 6 or 14, character strings which the user does not intend to input can be extracted from the obtained Kanji conversion candidates, wasteful processing can be omitted, and the obtained predictions can be obtained. By reducing the number of character strings, the user can easily select and confirm the predicted character string.
【0101】請求項7又は15記載の発明によれば、入
力文字列がひらがな文字列でない場合でも、この入力文
字列に対する予測文字列を得ることができる。According to the seventh or fifteenth aspect of the present invention, even if the input character string is not a hiragana character string, a predicted character string for this input character string can be obtained.
【0102】請求項8又は16記載の発明によれば、漢
字変換候補の画数による出力優先順位が同じ予測文字列
或いは前記画数による出力優先順位がつかない予測文字
列の出力優先順位を付けることができる。According to the eighth or sixteenth aspect of the present invention, it is possible to assign the output priority order of a predicted character string having the same output priority order according to the number of strokes of the Kanji conversion candidate or a predicted character string without an output priority order according to the number of strokes. it can.
【0103】請求項19又は20記載の発明によれば、
手書き文字入力装置を用いて漢字文字列を入力して文書
を作成する場合の文字の入力効率を高めることができ
る。According to the invention of claim 19 or 20,
It is possible to improve character input efficiency when a document is created by inputting a kanji character string using a handwritten character input device.
【図1】本発明の文字列予測装置の一実施例を示したブ
ロック図。FIG. 1 is a block diagram showing an embodiment of a character string prediction device of the present invention.
【図2】図1に示した装置の文字列予測処理手順を示し
たフローチャート。FIG. 2 is a flowchart showing a character string prediction processing procedure of the apparatus shown in FIG.
【図3】実施例で用いられる仮名文字列・漢字辞書の内
容例を示した図。FIG. 3 is a diagram showing an example of contents of a kana character string / kanji dictionary used in the embodiment.
【図4】実施例で用いられる漢字・画数辞書の内容例を
示した図。FIG. 4 is a diagram showing an example of contents of a kanji / stroke count dictionary used in the embodiment.
【図5】実施例で用いられる単語辞書の内容例を示した
図。FIG. 5 is a diagram showing an example of contents of a word dictionary used in the embodiment.
【図6】本発明の他の実施例を示したブロック図。FIG. 6 is a block diagram showing another embodiment of the present invention.
【図7】図6に示した装置の文字列予測処理手順を示し
たフローチャート。7 is a flowchart showing a character string prediction processing procedure of the apparatus shown in FIG.
【図8】実施例で用いられる画数調査部の出力例を示し
た図。FIG. 8 is a diagram showing an output example of a stroke number investigation unit used in the embodiment.
【図9】図6に示した使用漢字バッファの保存例を示し
た図。9 is a diagram showing an example of saving the used Kanji character buffer shown in FIG.
【図10】本発明の更に他の実施例を示したブロック
図。FIG. 10 is a block diagram showing still another embodiment of the present invention.
【図11】図10に示した装置の文字列予測処理手順を
示したフローチャート。11 is a flowchart showing a character string prediction processing procedure of the apparatus shown in FIG.
【図12】本発明の更に他の実施例を示したブロック
図。FIG. 12 is a block diagram showing still another embodiment of the present invention.
【図13】本発明の仮名漢字変換装置の一実施例を示し
たブロック図。FIG. 13 is a block diagram showing an embodiment of a kana-kanji conversion device of the present invention.
【図14】図13に示した装置の仮名漢字変換処理手順
を示したフローチャート。14 is a flowchart showing a kana-kanji conversion processing procedure of the apparatus shown in FIG.
1…入力部 2…漢字変換部 3…仮名文字列・漢字辞書 4…画数調査部 5…漢字・画数辞書 6…文字列並べ
替え部 7…予測文字列検索部 8…単語辞書 9…文字列出力部 10…表示部 11…使用漢字除去部 12…使用漢字
バッファ 13…文字列選択部 14…変換候補
出力部1 ... Input part 2 ... Kanji conversion part 3 ... Kana character string / kanji dictionary 4 ... Stroke count part 5 ... Kanji / stroke dictionary 6 ... Character string rearranging part 7 ... Predicted character string search part 8 ... Word dictionary 9 ... Character string Output unit 10 ... Display unit 11 ... Used Kanji removal unit 12 ... Used Kanji buffer 13 ... Character string selection unit 14 ... Conversion candidate output unit
Claims (22)
列を辞書に収容されている文字列の中から検索し、検索
された文字列を予測文字列として出力する文字列予測装
置における前記入力文字列に続く文字列を予測する文字
列予測方法にあって、前記入力文字列がひらがな文字列
であるかどうかを判定し、ひらがな文字列であった場
合、前記入力文字列を漢字に変換して漢字変換候補を得
ると、漢字変換候補を構成する各漢字の画数を求め、そ
の後、一つの漢字変換候補を構成する各漢字の画数を総
計してこの漢字変換候補の画数とし、前記漢字変換候補
が複数あった場合は各漢字変換候補の画数の多寡によっ
てこれら漢字変換候補を先頭に持つ予測文字列の出力優
先順位を決定した後、これら漢字変換候補を先頭部分に
持つ文字列を前記辞書に収容されている文字列の中から
検索し、得られた予測文字列を前記出力優先順位順に出
力することを特徴とする文字列予測方法。1. A character string prediction device for searching a character string stored in a dictionary for a character string having an input character string as a head part and outputting the searched character string as a predicted character string. In a character string prediction method for predicting a character string following an input character string, it is determined whether the input character string is a Hiragana character string, and if it is a Hiragana character string, the input character string is converted to Kanji. When the kanji conversion candidates are obtained, the number of strokes of each kanji constituting the kanji conversion candidate is calculated, and then the number of strokes of each kanji constituting one kanji conversion candidate is summed to be the number of strokes of the kanji conversion candidate, and the kanji When there are multiple conversion candidates, the output priority of the predicted character string that has these Kanji conversion candidates at the head is determined by the number of strokes of each Kanji conversion candidate, and then the character string that has these Kanji conversion candidates at the beginning is set as described above. dictionary A character string prediction method, which comprises: searching a character string stored in, and outputting the obtained predicted character string in the output priority order.
記予測文字列の出力優先順位を上位にすることを特徴と
する請求項1記載の文字列予測方法。2. The character string prediction method according to claim 1, wherein the larger the number of strokes of each Kanji conversion candidate is, the higher the output priority of the predicted character string is.
に並び替え、並び替えた順番に各漢字変換候補の予測文
字列を前記辞書から検索し、検索した順番に前記予測文
字列を出力することを特徴とする請求項1又は2記載の
文字列予測方法。3. The kanji conversion candidates are rearranged in the output priority order, the predicted character strings of the respective kanji conversion candidates are searched in the rearranged order from the dictionary, and the predicted character strings are output in the searched order. The character string prediction method according to claim 1 or 2.
列を辞書に収容されている文字列の中から検索し、検索
された文字列を予測文字列として出力する文字列予測装
置における前記入力文字列に続く文字列を予測する文字
列予測方法にあって、前記入力文字列がひらがな文字列
であるかどうかを判定し、ひらがな文字列であった場
合、前記入力文字列を漢字に変換して漢字変換候補を得
ると、漢字変換候補を構成する各漢字の画数を求め、そ
の後、一つの漢字変換候補を構成する各漢字の画数を総
計してこの漢字変換候補の画数とし、前記漢字変換候補
が複数あった場合は各漢字変換候補の画数の多寡によっ
てこれら漢字変換候補の出力優先順位を決定した後、こ
の出力優先順位順にこれら漢字変換候補を表示して利用
者の選択を待ち、その後、利用者により選択された漢字
変換候補を先頭部分に持つ文字列を前記辞書に収容され
ている文字列の中から検索し、得られた予測文字列を出
力することを特徴とする文字列予測方法。4. A character string prediction device for searching a character string stored in a dictionary for a character string having an input character string as a head portion and outputting the searched character string as a predicted character string. In a character string prediction method for predicting a character string following an input character string, it is determined whether the input character string is a Hiragana character string, and if it is a Hiragana character string, the input character string is converted to Kanji. When the kanji conversion candidates are obtained, the number of strokes of each kanji constituting the kanji conversion candidate is calculated, and then the number of strokes of each kanji constituting one kanji conversion candidate is summed to be the number of strokes of the kanji conversion candidate, and the kanji When there are multiple conversion candidates, after determining the output priority of these Kanji conversion candidates according to the number of strokes of each Kanji conversion candidate, these Kanji conversion candidates are displayed in this output priority order and wait for the user's selection, That After that, a character string having the Kanji conversion candidate selected by the user at the beginning is searched from the character strings stored in the dictionary, and the obtained predicted character string is output. Prediction method.
されていた場合はこの漢字の画数を前記漢字変換候補の
画数とすることを特徴とする請求項1乃至4いずれか記
載の文字列予測方法。5. The character string according to claim 1, wherein when the kanji conversion candidate is composed of one kanji, the number of strokes of this kanji is set as the number of strokes of the kanji conversion candidate. Prediction method.
場合、更にこの入力文字列が漢字であるかどうかを判定
し、漢字である場合、この漢字の入力文字列を保存して
おき、その後、ひらがなの入力文字列を変換して得られ
た前記漢字候補の中から前記保存された漢字文字列と同
一の漢字候補を取り除き、残りの漢字候補について前記
出力優先順位を決めた後の処理を行うことを特徴とする
請求項1乃至5いずれか記載の文字列予測方法。6. If the input character string is not a hiragana character string, it is further determined whether or not the input character string is a kanji character, and if it is a kanji character, the input character string of this kanji character is stored, and thereafter, From the Kanji candidates obtained by converting the input character string of Hiragana, the same Kanji candidate as the stored Kanji character string is removed, and the processing after determining the output priority order for the remaining Kanji candidates is performed. The character string prediction method according to claim 1, wherein
場合、この入力文字列を先頭部分に持つ予測文字列を前
記辞書から直ちに検索して、出力することを特徴とする
請求項1乃至6いずれか記載の文字列予測方法。7. If the input character string is not a Hiragana character string, a predictive character string having this input character string at the head portion is immediately retrieved from the dictionary and output. Or the described string prediction method.
文字列を先頭部分に持つ予測文字列が複数あった場合は
所定の基準に基づいて出力優先順位を決定し、前記予測
文字列間に限って前記決定された出力優先順位に従って
出力することを特徴とする請求項1乃至7いずれか記載
の文字列予測方法。8. When there are a plurality of predicted character strings having the same Kanji conversion candidate or the same input character string at the beginning, the output priority is determined based on a predetermined criterion, and the predicted character strings are placed between the predicted character strings. The character string prediction method according to claim 1, wherein the output is performed only in accordance with the determined output priority order.
した数以下とすることを特徴とする請求項1乃至8記載
の文字列予測方法。9. The character string prediction method according to claim 1, wherein the number of predicted character strings to be searched is set to a preset number or less.
字列を辞書に収容されている文字列の中から検索し、検
索された文字列を予測文字列として出力する文字列予測
装置において、前記入力文字列がひらがな文字列である
かどうかを判定する判定手段と、この判定手段により前
記入力文字列がひらがな文字列であったと判定された場
合、前記入力文字列を漢字に変換して漢字変換候補を得
る仮名漢字変換手段と、この仮名漢字変換手段により得
られた漢字変換候補を構成する各漢字の画数を求る画数
取得手段と、一つの漢字変換候補を構成する各漢字の前
記画数取得手段により求められた画数を総計してこの漢
字変換候補の画数とする画数演算手段と、前記漢字変換
候補が複数あった場合に前記画数演算手段により求めら
れた各漢字変換候補の画数の多寡を比較する比較手段
と、この比較手段の比較結果によって前記漢字変換候補
を先頭に持つ予測文字列の出力優先順位を決定する決定
手段と、前記漢字変換候補を先頭部分に持つ文字列を前
記辞書に収容されている文字列の中から検索する検索手
段と、この検索手段により検索された予測文字列を前記
決定手段により決定された出力優先順位順に表示する表
示手段と、この表示手段により表示された予測文字列の
中で任意の文字列を確定予測文字列として利用者に選択
させる確定手段とを具備したことを特徴とする文字列予
測装置。10. A character string predicting device for searching a character string stored in a dictionary for a character string having an input character string as a head part and outputting the searched character string as a predicted character string, Determining means for determining whether or not the input character string is a hiragana character string; and if the determining means determines that the input character string is a hiragana character string, the input character string is converted to kanji and kanji Kana-Kanji conversion means for obtaining conversion candidates, stroke number acquisition means for obtaining the stroke number of each kanji constituting the kanji conversion candidate obtained by this kana-kanji conversion means, and the stroke number of each kanji constituting one kanji conversion candidate The number of strokes calculated by the acquisition means is totaled as the number of strokes of this kanji conversion candidate, and each kanji conversion candidate obtained by the stroke number calculation means when there are a plurality of kanji conversion candidates Comparing means for comparing the number of strokes, determining means for determining the output priority of the predicted character string having the Kanji conversion candidate at the head based on the comparison result of the comparison means, and character having the Kanji conversion candidate at the head portion. Retrieval means for retrieving columns from the character strings contained in the dictionary, display means for displaying the predictive character strings retrieved by the retrieving means in the order of output priority determined by the deciding means, and this display A character string prediction device, comprising: a confirmation unit that allows a user to select an arbitrary character string as a confirmed predicted character string from among the predicted character strings displayed by the means.
が多い程、前記予測文字列の出力優先順位を上位にする
決定を行うことを特徴とする請求項10記載の文字列予
測装置。11. The character string predicting apparatus according to claim 10, wherein the determining unit determines that the output priority of the predicted character string is higher as the number of strokes of each Kanji conversion candidate is larger.
り決定された出力優先順位順に並び替える並び替え手段
を設け、前記検索手段は前記並び替え手段により並び替
えた順番に各漢字変換候補の予測文字列を前記辞書から
検索し、且つ前記出力手段は前記検索手段により検索さ
れた順番に前記予測文字列を出力することを特徴とする
請求項10又は11記載の文字列予測装置。12. A sorting means is provided for sorting the Kanji conversion candidates in the output priority order determined by the determining means, and the searching means is a predicted character of each kanji conversion candidate in the order sorted by the sorting means. The character string prediction device according to claim 10 or 11, wherein a string is searched from the dictionary, and the output means outputs the predicted character strings in the order searched by the search means.
字列を辞書に収容されている文字列の中から検索し、検
索された文字列を予測文字列として出力する文字列予測
装置において、前記入力文字列がひらがな文字列である
かどうかを判定する判定手段と、この判定手段により前
記入力文字列がひらがな文字列であったと判定された場
合、前記入力文字列を漢字に変換して漢字変換候補を得
る仮名漢字変換手段と、この仮名漢字変換手段により得
られた漢字変換候補を構成する各漢字の画数を求る画数
取得手段と、一つの漢字変換候補を構成する各漢字の前
記画数取得手段により求められた画数を総計してこの漢
字変換候補の画数とする画数演算手段と、前記漢字変換
候補が複数あった場合に前記画数演算手段により求めら
れた各漢字変換候補の画数の多寡を比較する比較手段
と、この比較手段の比較結果によって前記漢字変換候補
を先頭に持つ予測文字列の出力優先順位を決定する決定
手段と、この決定手段により決定された出力優先順位順
に前記仮名漢字変換手段により得られた漢字変換候補を
表示する表示手段と、この表示手段により表示された任
意の漢字変換候補を利用者に選択させる選択手段と、こ
の選択手段により選択された漢字変換候補を先頭部分に
持つ文字列を前記辞書に収容されている文字列の中から
検索する検索手段と、この検索手段により得られた予測
文字列を表示する表示手段と、この表示手段により表示
された予測文字列の中で任意の文字列を確定予測文字列
として利用者に選択させる確定手段とを具備したことを
特徴とする文字列予測装置。13. A character string prediction device for searching a character string stored in a dictionary for a character string having an input character string as a head portion and outputting the searched character string as a predicted character string, Judgment means for deciding whether or not the input character string is a hiragana character string, and when the judgment means determines that the input character string is a hiragana character string, the input character string is converted into kanji and kanji Kana-Kanji conversion means for obtaining conversion candidates, stroke number acquisition means for obtaining the number of strokes of each kanji constituting the kanji conversion candidate obtained by this kana-kanji conversion means, and the number of strokes of each kanji constituting one kanji conversion candidate The number of strokes calculated by the acquisition means is totaled as the number of strokes of this kanji conversion candidate, and each kanji conversion candidate obtained by the stroke number calculation means when there are a plurality of kanji conversion candidates Comparing means for comparing the number of strokes, determining means for determining the output priority of the predicted character string having the Kanji conversion candidate at the head based on the comparison result of the comparing means, and the output priority determined by this determining means. Display means for displaying the kanji conversion candidates obtained by the kana-kanji conversion means in order, selection means for allowing the user to select any kanji conversion candidate displayed by this display means, and kanji selected by this selection means Retrieval means for retrieving a character string having a conversion candidate at its head from among the character strings contained in the dictionary, display means for displaying the predicted character string obtained by this retrieval means, and display by this display means A character string prediction device, comprising: a confirmation unit that allows a user to select an arbitrary character string from among the calculated predicted character strings as a confirmed predicted character string.
文字の漢字で構成されていた場合はこの漢字の画数を前
記漢字変換候補の画数とすることを特徴とする請求項1
0乃至13いずれか記載の文字列予測装置。14. The kanji conversion candidate in the stroke number calculation means is 1
When the character is composed of kanji, the number of strokes of this kanji is set as the number of strokes of the kanji conversion candidate.
The character string prediction device according to any one of 0 to 13.
がな文字列でないと判定された場合、更にこの入力文字
列が漢字であるかどうかを判定するサブ判定手段を設
け、このサブ判定手段により入力文字列が漢字であると
判定された場合、この漢字の入力文字列を保存する保存
手段と、前記仮名漢字変換手段により得られた前記漢字
候補の中から前記保存手段に保存された漢字文字列と同
一の漢字候補を識別する識別手段と、この識別手段によ
り識別された漢字文字列を前記漢字候補の中から除去す
る除去手段と、前記決定手段は前記除去手段により除去
されなかった残りの漢字候補について前記出力優先順位
を決めることを特徴とする請求項10乃至14いずれか
記載の文字列予測装置。15. When the determination unit determines that the input character string is not a Hiragana character string, a sub determination unit that determines whether or not the input character string is a Kanji character is provided, and the sub determination unit determines the input character. When it is determined that the column is Kanji, a storage unit that stores the input character string of this Kanji, and a Kanji character string stored in the storage unit from the Kanji candidate obtained by the Kana-Kanji conversion unit. An identifying unit for identifying the same Kanji candidate, a removing unit for removing the Kanji character string identified by the identifying unit from the Kanji candidates, and the determining unit for the remaining Kanji candidates not removed by the removing unit. 15. The character string predicting device according to claim 10, wherein the output priority order is determined for.
がな文字列でないと判定された場合、前記検索手段は前
記入力文字列を先頭部分に持つ予測文字列を前記辞書か
ら直ちに検索し、出力手段は検索された予測文字列を出
力することを特徴とする請求項10乃至15いずれか記
載の文字列予測装置。16. When the determining unit determines that the input character string is not a Hiragana character string, the searching unit immediately searches the dictionary for a predictive character string having the input character string at the head portion, and the output unit determines 16. The character string prediction device according to claim 10, wherein the searched predicted character string is output.
変換候補又は同一の入力文字列を先頭部分に持つ予測文
字列が複数あった場合、これら予測文字列の出力優先順
位を所定の基準に基づいて決定するサブ決定手段を設
け、前記出力手段は出力優先順位を前記サブ決定手段に
よって決定された予測文字列をこの出力優先順位順で出
力することを特徴とする請求項10乃至16いずれか記
載の文字列予測装置。17. When a plurality of predicted character strings having the same Kanji conversion candidate or the same input character string at the head portion are found as a result of the search by the search means, the output priority order of these predicted character strings is set to a predetermined criterion. 17. The sub-decision means for deciding on the basis of the above is provided, and the output means outputs the output priority order of the predicted character string decided by the sub-decision means in the order of the output priority order. Or the described character string prediction device.
予測文字列の数を予め設定された数以内とすることを特
徴とする請求項10乃至17いずれか記載の文字列予測
装置。18. The character string prediction device according to claim 10, wherein the search means sets the number of predicted character strings searched from the dictionary within a preset number.
作成装置において、請求項10乃至18いずれか記載の
文字列予測装置を搭載し、この文字列予測装置により確
定された予測文字列を前記文書内に入力することを特徴
とする文書作成装置。19. A document creating apparatus for predicting a character string to create a document, comprising the character string predicting apparatus according to claim 10, wherein a predictive character string determined by the character string predicting apparatus is provided. A document creating apparatus characterized by inputting in the document.
仮名漢字変換装置における仮名漢字変換方法にあって、
仮名漢字変換して得られた漢字候補を構成する各漢字の
画数を求めた後、一つの漢字候補を構成する各漢字の画
数を総計してこの漢字候補の画数とし、前記漢字候補が
複数あった場合は各漢字候補の画数の多寡によってこれ
ら漢字変換候補の出力優先順位を決定した後、これら漢
字変換候補を前記出力優先順位順に表示することを特徴
とする仮名漢字変換方法。20. A kana-kanji conversion method in a kana-kanji conversion device for converting an inputted character string into kana-kanji.
After finding the number of strokes of each kanji that composes a kanji candidate obtained by kana-kanji conversion, the number of strokes of each kanji that constitutes one kanji candidate is totaled to be the number of strokes of this kanji candidate, and there are multiple kanji candidates. In this case, the kana-kanji conversion method is characterized in that after the output priority of these kanji conversion candidates is determined by the number of strokes of each kanji candidate, these kanji conversion candidates are displayed in the output priority order.
仮名漢字変換装置において、前記入力文字列を漢字に変
換して漢字変換候補を得る仮名漢字変換手段と、この仮
名漢字変換手段により得られた漢字変換候補を構成する
各漢字の画数を求る画数取得手段と、一つの漢字変換候
補を構成する各漢字の前記画数取得手段により求められ
た画数を総計してこの漢字変換候補の画数とする画数演
算手段と、前記漢字変換候補が複数あった場合に前記画
数演算手段により求められた各漢字変換候補の画数の多
寡を比較する比較手段と、この比較手段の比較結果によ
って前記漢字変換候補を先頭に持つ予測文字列の出力優
先順位を決定する決定手段と、この決定手段により決定
された出力優先順位順に前記仮名漢字変換手段により得
られた漢字変換候補を表示する表示手段とを具備したこ
とを特徴とする仮名漢字変換装置。21. A kana-kanji conversion device for converting an input character string into kana-kanji conversion device, wherein the kana-kanji conversion means for converting the input character string into kanji to obtain kanji conversion candidates, and the kana-kanji conversion device. The number of strokes of each kanji forming the kanji conversion candidate and the number of strokes of each kanji forming one kanji conversion candidate obtained by the stroke number acquiring means Stroke number calculating means, a comparing means for comparing the number of strokes of each kanji conversion candidate obtained by the stroke number calculating means when there are a plurality of kanji conversion candidates, and the kanji conversion candidate based on the comparison result of the comparing means. And a kanji conversion candidate obtained by the kana-kanji conversion means in the order of the output priority order determined by this determination means. A kana-kanji conversion device comprising: display means for displaying.
手段を備え、この手書入力手段により入力された文字列
を漢字混じり仮名漢字変換して入力する文書作成装置に
おいて、請求項21記載の仮名漢字変換装置を搭載し、
前記入力された文字列がひらがなであった場合、このひ
らがな文字列を仮名漢字変換する際に前記仮名漢字変換
装置を用いることを特徴とする文書作成装置。22. A kana according to claim 21, further comprising: a handwriting input means for inputting characters by handwriting, wherein the character string input by the handwriting input means is converted into kana by kanji conversion and input. Equipped with a kanji conversion device,
When the input character string is hiragana, the kana-kanji conversion device is used when converting the hiragana character string into kana-kanji characters.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5631895A JPH08255159A (en) | 1995-03-15 | 1995-03-15 | Character string prediction method, character string prediction device, kana-kanji conversion method, kana-kanji conversion device, and document creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5631895A JPH08255159A (en) | 1995-03-15 | 1995-03-15 | Character string prediction method, character string prediction device, kana-kanji conversion method, kana-kanji conversion device, and document creation device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08255159A true JPH08255159A (en) | 1996-10-01 |
Family
ID=13023821
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5631895A Withdrawn JPH08255159A (en) | 1995-03-15 | 1995-03-15 | Character string prediction method, character string prediction device, kana-kanji conversion method, kana-kanji conversion device, and document creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08255159A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009506429A (en) * | 2005-08-24 | 2009-02-12 | ヤフー! インコーポレイテッド | Associating alternative queries before search query completion |
| WO2009028555A1 (en) * | 2007-08-30 | 2009-03-05 | Nec Corporation | Electronic apparatus, character sequence display method, multiple character sequence sorting method and character sequence display/sort program |
| US8301616B2 (en) | 2006-07-14 | 2012-10-30 | Yahoo! Inc. | Search equalizer |
| JP2013196685A (en) * | 2012-03-17 | 2013-09-30 | Alpine Electronics Inc | Character input device and character input method |
| JP2015094977A (en) * | 2013-11-08 | 2015-05-18 | 株式会社東芝 | Electronic apparatus and method |
| JP2015179329A (en) * | 2014-03-18 | 2015-10-08 | 株式会社東芝 | Electronic apparatus and method |
| US9405857B2 (en) | 2005-08-24 | 2016-08-02 | Jollify Management Limited | Speculative search result on a not-yet-submitted search query |
-
1995
- 1995-03-15 JP JP5631895A patent/JPH08255159A/en not_active Withdrawn
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009506429A (en) * | 2005-08-24 | 2009-02-12 | ヤフー! インコーポレイテッド | Associating alternative queries before search query completion |
| US9405857B2 (en) | 2005-08-24 | 2016-08-02 | Jollify Management Limited | Speculative search result on a not-yet-submitted search query |
| US8301616B2 (en) | 2006-07-14 | 2012-10-30 | Yahoo! Inc. | Search equalizer |
| US8868539B2 (en) | 2006-07-14 | 2014-10-21 | Yahoo! Inc. | Search equalizer |
| WO2009028555A1 (en) * | 2007-08-30 | 2009-03-05 | Nec Corporation | Electronic apparatus, character sequence display method, multiple character sequence sorting method and character sequence display/sort program |
| JPWO2009028555A1 (en) * | 2007-08-30 | 2010-12-02 | 日本電気株式会社 | Electronic device, character string display method, multiple character string sort method, and character string display / sort program |
| JP2013196685A (en) * | 2012-03-17 | 2013-09-30 | Alpine Electronics Inc | Character input device and character input method |
| JP2015094977A (en) * | 2013-11-08 | 2015-05-18 | 株式会社東芝 | Electronic apparatus and method |
| JP2015179329A (en) * | 2014-03-18 | 2015-10-08 | 株式会社東芝 | Electronic apparatus and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4724051B2 (en) | Keyword generation method, document search method, topic range estimation method, topic boundary estimation method, apparatus and program thereof, and recording medium thereof | |
| JP5168709B2 (en) | Mobile terminal device, character input conversion method, program | |
| JPH08255159A (en) | Character string prediction method, character string prediction device, kana-kanji conversion method, kana-kanji conversion device, and document creation device | |
| JPH09288666A (en) | Character string prediction method and document creation device using this character string prediction method | |
| JP4416644B2 (en) | Character processing apparatus with prediction function, method, recording medium, and program | |
| JP2669431B2 (en) | Special character input control device | |
| JPH07271774A (en) | Text input device | |
| JP2003196273A (en) | Character string input device and character string input method | |
| JPH10143501A (en) | Character string prediction method and document creation device using this character string prediction method | |
| JP7522885B1 (en) | Information processing device, information processing system, and program | |
| JPH10207875A (en) | Table creation apparatus and method | |
| JPH08255156A (en) | Character string prediction method, character string prediction device, and document creation device | |
| JPH08255157A (en) | Character string prediction method, character string prediction device, and document creation device | |
| CN115793872A (en) | Language switching method, device, equipment and medium | |
| JP3210842B2 (en) | Information processing device | |
| JPH09218868A (en) | Kanji designation method and device | |
| JPH09274613A (en) | Character string prediction method and document creation device using this character string prediction method | |
| JPH1021233A (en) | Information processing device | |
| JPH07191986A (en) | Sentence input device | |
| US20090222725A1 (en) | Method and apparatus for input assistance | |
| JP2000215270A (en) | Character string prediction method and character string prediction device | |
| JPH08123822A (en) | Electronic file device | |
| JP4285272B2 (en) | Morphological analysis method, program using the method, and information processing apparatus | |
| JP2004199282A (en) | Document search device and document registration device | |
| JP2537991B2 (en) | Character input device and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20020604 |