JP2013214187A - Character input device, method for controlling character input device, control program and recording medium - Google Patents
Character input device, method for controlling character input device, control program and recording medium Download PDFInfo
- Publication number
- JP2013214187A JP2013214187A JP2012083824A JP2012083824A JP2013214187A JP 2013214187 A JP2013214187 A JP 2013214187A JP 2012083824 A JP2012083824 A JP 2012083824A JP 2012083824 A JP2012083824 A JP 2012083824A JP 2013214187 A JP2013214187 A JP 2013214187A
- Authority
- JP
- Japan
- Prior art keywords
- character
- candidate
- hint information
- input
- characters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は手書き入力による手書き文字認識と変換の操作を、手間をかけずに行える文字入力装置、文字入力装置の制御方法、制御プログラム、および記録媒体に関する。 The present invention relates to a character input device, a character input device control method, a control program, and a recording medium that can perform handwritten character recognition and conversion operations by handwriting input without taking time and effort.
従来、タッチパネルのディスプレイを搭載したスマートフォン端末やタブレット端末において文字を入力する方法として、いくつかの方法がある。例えば、ペン型デバイスまたは指を入力手段としてタッチパネル上に触れた状態で動かすと、その軌跡から文字を認識して、変換候補の文字(漢字、ひらがな、かな、英数字など)を提示し、ユーザはその候補から入力手段により選択することで、文字または文章の入力を行う方法がある。また、指やペンでなぞった軌跡を図形(ベクトルデータ等)または画像としてそのまま保存する方法もある。また、タッチパネル上にソフトキーボードを表示して、前記入力手段によってキーを選択することで、文字または文章を入力する方法もある。 Conventionally, there are several methods for inputting characters on a smartphone terminal or tablet terminal equipped with a touch panel display. For example, if a pen-type device or a finger is used as an input means and moved while touching the touch panel, the character is recognized from the trajectory, and conversion candidate characters (kanji, hiragana, kana, alphanumeric, etc.) are presented to the user. There is a method of inputting characters or sentences by selecting from the candidates by input means. There is also a method of saving a trace traced with a finger or pen as a figure (vector data or the like) or an image as it is. There is also a method of inputting characters or sentences by displaying a soft keyboard on a touch panel and selecting a key by the input means.
なお、特許文献1には、オペレータが文字の認識結果を気にかけることなく、手書きによる文字の入力を自然な形で円滑に行える文字認識装置が記載されている。詳細には、上記文字認識装置は、誤認識判断手段によって誤りと判断された文字と同じ場所に、入力イメージメモリに保存されている文字イメージを読み出し、表示させる。 Patent Document 1 describes a character recognition device that allows an operator to smoothly input characters by hand without worrying about the result of character recognition. Specifically, the character recognition device reads and displays a character image stored in the input image memory at the same location as the character determined to be erroneous by the erroneous recognition determination means.
また、特許文献2には、手書き文字認識部が誤認識しそうな場合に、その文字を手書き文字のイメージのまま印字でき、出力結果に誤りを生じさせない手書き文字清書装置が記載されている。詳細には、上記手書き文字清書装置は、手書き文字認識手段による文字認識の信用率が所定値以上である手書き文字については、その手書き文字をコードデータに変換し、上記手書き文字認識手段による文字認識の信用率が所定値より低い手書き文字については、その手書き文字を表すデータとして、読取手段で読み取られた読み取りデータを割り当てる。 Further, Patent Document 2 describes a handwritten character clearing device that can print a character as an image of a handwritten character when the handwritten character recognizing unit is likely to be erroneously recognized and does not cause an error in the output result. Specifically, the handwritten character clearing device converts the handwritten character into code data for a handwritten character having a reliability of character recognition by the handwritten character recognizing means of a predetermined value or more, and character recognition by the handwritten character recognizing means. As for the handwritten character whose credit rate is lower than a predetermined value, the read data read by the reading means is assigned as data representing the handwritten character.
しかしながら、上記従来の構成では、以下のような問題がある。 However, the conventional configuration has the following problems.
まず、ディスプレイ上を指またはペンでなぞった軌跡から文字認識を行い、提示された文字候補から入力する文字を選択する方法では、文字が誤認識されて正しい入力ができずに、何度も書き直して再認識させないと変換できないことがある。また、1文字単位で入力し、文字認識させて、変換候補から意図する文字を選択し、確定する操作が必要で、入力文字数だけこの操作を繰り返す必要がある。すなわち、1文字単位での入力操作は操作量を増大させるという問題がある。さらに、変換候補が多数ある場合には、正しい候補を選択するのに時間がかかるという問題もある。 First, by recognizing characters from a trace traced with a finger or pen on the display and selecting characters to be entered from the suggested character candidates, the characters are misrecognized and cannot be entered correctly, and rewritten many times. Conversion may not be possible without re-recognition. In addition, it is necessary to input characters in units of characters, recognize characters, select an intended character from conversion candidates, and confirm it, and it is necessary to repeat this operation for the number of input characters. That is, there is a problem that an input operation in units of one character increases the operation amount. Furthermore, when there are many conversion candidates, there is a problem that it takes time to select a correct candidate.
また、指やペンでなぞった軌跡を図形(ベクトルデータ等)または画像としてそのまま保存するという方法は、直感的ではあるが、長い文章を入力するには向いていないという問題がある。また、文字コードになっていない図形または画像データは文字検索や再利用が難しいという問題がある。 In addition, the method of storing a trace traced with a finger or a pen as a figure (vector data or the like) or an image as it is is intuitive but is not suitable for inputting a long sentence. In addition, there is a problem that it is difficult to retrieve and reuse a figure or image data that is not a character code.
また、タッチパネル上にソフトキーボードを表示する方法については、入力する文字種(かな、数字、英語など)によってソフトキーボードを切り替えて入力するものが多く、文字種が途中で変わるような文章を入力する際は非常に煩雑な操作を要求される。また、ハードのキーボードと異なりタッチタイピングなどは行えないので、ソフトキーボードを見ながらの入力は直感的ではなく、隣のキーを誤って押すなどにより、操作効率が低下しやすいという問題もある。また、長い文字列であれば、変換する文字列長を変更することで正しい変換候補が提示されることもあるが、操作が非常に煩雑で多くの時間を要するという問題がある。 In addition, as for the method of displaying the soft keyboard on the touch panel, there are many cases where the soft keyboard is switched depending on the character type (kana, numbers, English, etc.) to be entered. A very complicated operation is required. In addition, unlike hard keyboards, touch typing is not possible, so inputting while looking at a soft keyboard is not intuitive, and there is also a problem that operation efficiency tends to decrease due to accidentally pressing an adjacent key. In addition, in the case of a long character string, a correct conversion candidate may be presented by changing the length of the character string to be converted, but there is a problem that the operation is very complicated and requires a lot of time.
本発明は、上記の問題点を解決するためになされたもので、その目的は、手書き入力により文字コードを入力する際に、操作量を大きく減らすことができる文字入力装置、文字入力装置の制御方法、制御プログラム、および記録媒体を提供することにある。 The present invention has been made to solve the above-described problems, and an object of the present invention is to control a character input device and a character input device that can greatly reduce an operation amount when inputting a character code by handwriting input. To provide a method, a control program, and a recording medium.
上記の課題を解決するために、本発明に係る文字入力装置は、手書き文字を認識することにより文字入力を行う文字入力装置であって、手書き文字を認識して複数の認識文字を生成する文字認識手段と、上記文字認識手段が生成した認識文字から候補文字を抽出する候補文字抽出手段と、上記候補文字抽出手段が抽出した候補文字をユーザに提示し、ユーザによって選択された候補文字を上記手書き文字に対応する確定文字として特定する文字確定手段と、手書き入力されたヒント情報を認識するヒント情報認識手段とを備え、上記候補文字抽出手段は、上記ヒント情報認識手段が認識したヒント情報に基づいて、上記認識文字からの上記候補文字の抽出を行うことを特徴としている。 In order to solve the above problems, a character input device according to the present invention is a character input device that inputs characters by recognizing handwritten characters, and recognizes handwritten characters and generates a plurality of recognized characters. Recognizing means, candidate character extracting means for extracting candidate characters from the recognized characters generated by the character recognizing means, the candidate characters extracted by the candidate character extracting means are presented to the user, and the candidate characters selected by the user are A character confirmation unit that identifies a confirmed character corresponding to a handwritten character; and a hint information recognition unit that recognizes handwritten input hint information. The candidate character extraction unit includes the hint information recognized by the hint information recognition unit. Based on the above, the candidate characters are extracted from the recognized characters.
また、本発明に係る文字入力装置の制御方法は、手書き文字を認識することにより文字入力を行う文字入力装置の制御方法であって、手書き文字を認識して複数の認識文字を生成する文字認識ステップと、手書き入力されたヒント情報を認識するヒント情報認識ステップと、上記ヒント情報認識ステップにて認識したヒント情報に基づいて、上記文字認識ステップにて生成した認識文字から候補文字を抽出する候補文字抽出ステップと、上記候補文字抽出ステップにて抽出した候補文字をユーザに提示し、ユーザによって選択された候補文字を上記手書き文字に対応する確定文字として特定する文字確定ステップとを含むことを特徴としている。 A control method for a character input device according to the present invention is a control method for a character input device that performs character input by recognizing a handwritten character, and recognizes a handwritten character to generate a plurality of recognized characters. A candidate for extracting candidate characters from the recognized characters generated in the character recognition step based on the step, a hint information recognition step for recognizing handwritten input hint information, and the hint information recognized in the hint information recognition step A character extraction step; and a character confirmation step of presenting the candidate character extracted in the candidate character extraction step to the user and identifying the candidate character selected by the user as a confirmed character corresponding to the handwritten character. It is said.
上記の構成および方法により、手書き文字に対応する確定文字をユーザに選択させるために提示する候補文字を、手書き文字を認識して生成した複数の認識文字から抽出する際に、手書き入力されたヒント情報に基づいて候補文字を抽出することができる。ここで、ヒント情報としては、例えば、手書き文字が漢字である場合、その漢字の「読み」や「部首」等が利用できる。なお、ヒント情報の入力は、手書き文字の入力前でもよいし、手書き文字の誤認識を確認した後でもよい。 By the above configuration and method, hints input by handwriting are extracted when candidate characters to be presented for allowing the user to select a confirmed character corresponding to the handwritten character are extracted from a plurality of recognized characters generated by recognizing the handwritten character. Candidate characters can be extracted based on the information. Here, as the hint information, for example, when the handwritten character is a Chinese character, “reading” or “radical” of the Chinese character can be used. The hint information may be input before the input of handwritten characters or after confirming erroneous recognition of the handwritten characters.
このように、候補文字の抽出にヒント情報を用いることにより、手書き文字が文字認識が困難な形状で入力されたために、認識の確からしさを示す認識確度が低くなった認識文字であっても、ヒント情報に基づく絞り込みを行って優先的にユーザに提示することができる。それゆえ、従来のように、文字が誤認識されて正しく入力できないため、書き直して再認識させる必要がない。 In this way, by using the hint information for extracting the candidate character, even if the recognition character has low recognition accuracy indicating the recognition accuracy because the handwritten character is input in a shape that makes character recognition difficult, It is possible to narrow down based on the hint information and present it to the user preferentially. Therefore, unlike the prior art, characters are misrecognized and cannot be input correctly, so there is no need to rewrite and re-recognize them.
また、従来のように、入力する文字種(かな、数字、アルファベットなど)に応じてキーボードの設定を切り替える必要がなく、余計な操作を必要としない。 Further, unlike the prior art, there is no need to switch keyboard settings according to the character type (kana, numbers, alphabet, etc.) to be input, and no extra operation is required.
よって、手書き文字があいまいであっても正しい認識文字を提示することが可能となるため、認識率を改善できる。また、そのための操作もヒント情報を手書き入力するというものであるため、手書き文字の入力と操作の連続性を保つことが可能となり、操作にかかる手間を大きく減らすことができる。 Therefore, even if the handwritten character is ambiguous, it is possible to present a correct recognized character, so that the recognition rate can be improved. Moreover, since the operation for that is also hand-inputting hint information, it becomes possible to maintain the continuity of a handwritten character input and operation, and can reduce the effort concerning operation greatly.
さらに、本発明に係る文字入力装置は、上記文字確定手段は、連続して入力された複数の手書き文字に対応する複数の候補文字を一組にして提示することを特徴としている。 Furthermore, the character input device according to the present invention is characterized in that the character determination means presents a set of a plurality of candidate characters corresponding to a plurality of handwritten characters input continuously.
上記の構成により、さらに、連続して入力された複数の手書き文字に対応する複数の候補文字を一組にして提示するため、手書き文字に対応する確定文字の選択を、複数の候補文字を一組にした文字列単位で行うことができる。なお、複数の候補文字を一組にまとめる手法としては、例えば、形態素解析が利用できる。 According to the above configuration, in order to present a set of a plurality of candidate characters corresponding to a plurality of handwritten characters that are continuously input, it is possible to select a confirmed character corresponding to the handwritten characters. This can be done in units of character strings. As a method for collecting a plurality of candidate characters into one set, for example, morphological analysis can be used.
よって、手書き文字を高精度で認識でき、誤認識を修正する場合でも、正しい認識文字に効率よく修正することが可能となる。 Therefore, handwritten characters can be recognized with high accuracy, and even when erroneous recognition is corrected, it can be efficiently corrected to correct recognized characters.
さらに、本発明に係る文字入力装置は、上記ヒント情報認識手段は、上記ヒント情報とともに、当該ヒント情報の種類を示すヒント情報種類情報を取得し、当該ヒント情報種類情報に基づいて当該ヒント情報を認識することを特徴としている。 Furthermore, in the character input device according to the present invention, the hint information recognition means acquires hint information type information indicating the type of the hint information together with the hint information, and the hint information is obtained based on the hint information type information. It is characterized by recognition.
上記の構成により、さらに、手書き入力されたヒント情報の認識を、ヒント情報種類情報が示す当該ヒント情報の種類に基づいて行うことができる。例えば、手書き文字が漢字であり、ヒント情報としてその漢字の部首を手書き入力するとき、ヒント情報種類情報として「部首」を指定する。これにより、ヒント情報として入力された手書き入力を「部首」として認識することができるので、ヒント情報を正しく認識できる確率が高くなる。 With the above configuration, the handwritten input hint information can be recognized based on the type of hint information indicated by the hint information type information. For example, when a handwritten character is a Chinese character and the radical of the Chinese character is input by handwriting as the hint information, “radical” is designated as the hint information type information. Thereby, since the handwritten input input as hint information can be recognized as “radical”, the probability that the hint information can be correctly recognized is increased.
よって、手書き文字を高精度で認識でき、誤認識を修正する場合でも、正しい認識文字に効率よく修正することが可能となる。 Therefore, handwritten characters can be recognized with high accuracy, and even when erroneous recognition is corrected, it can be efficiently corrected to correct recognized characters.
さらに、本発明に係る文字入力装置は、上記ヒント情報種類情報は、漢字の読み、漢字の部首、文字種、および文字の大小の少なくともいずれか1つであることが好ましい。 Furthermore, in the character input device according to the present invention, the hint information type information is preferably at least one of kanji reading, kanji radical, character type, and character size.
なお、上記文字入力装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記各手段として動作させることにより上記入力装置をコンピュータにて実現させる入力装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The character input device may be realized by a computer. In this case, the control program of the input device that causes the input device to be realized by the computer by operating the computer as each of the means, and recording the program. Such computer-readable recording media also fall within the scope of the present invention.
以上のように、本発明に係る文字入力装置は、手書き文字を認識して複数の認識文字を生成する文字認識手段と、上記文字認識手段が生成した認識文字から候補文字を抽出する候補文字抽出手段と、上記候補文字抽出手段が抽出した候補文字をユーザに提示し、ユーザによって選択された候補文字を上記手書き文字に対応する確定文字として特定する文字確定手段と、手書き入力されたヒント情報を認識するヒント情報認識手段とを備え、上記候補文字抽出手段は、上記ヒント情報認識手段が認識したヒント情報に基づいて、上記認識文字からの上記候補文字の抽出を行う構成である。 As described above, the character input device according to the present invention includes a character recognition unit that recognizes handwritten characters and generates a plurality of recognized characters, and a candidate character extraction that extracts candidate characters from the recognized characters generated by the character recognition unit. A character confirming means for presenting the candidate character extracted by the means, the candidate character extracting means to the user, and identifying the candidate character selected by the user as a confirmed character corresponding to the handwritten character, and handwritten input hint information A hint information recognizing unit for recognizing, and the candidate character extracting unit extracts the candidate character from the recognized character based on the hint information recognized by the hint information recognizing unit.
また、本発明に係る文字入力装置の制御方法は、手書き文字を認識して複数の認識文字を生成する文字認識ステップと、手書き入力されたヒント情報を認識するヒント情報認識ステップと、上記ヒント情報認識ステップにて認識したヒント情報に基づいて、上記文字認識ステップにて生成した認識文字から候補文字を抽出する候補文字抽出ステップと、上記候補文字抽出ステップにて抽出した候補文字をユーザに提示し、ユーザによって選択された候補文字を上記手書き文字に対応する確定文字として特定する文字確定ステップとを含む方法である。 The character input device control method according to the present invention includes a character recognition step for recognizing handwritten characters to generate a plurality of recognized characters, a hint information recognition step for recognizing handwritten input hint information, and the hint information. Based on the hint information recognized in the recognition step, the candidate character extraction step for extracting the candidate character from the recognized character generated in the character recognition step and the candidate character extracted in the candidate character extraction step are presented to the user. And a character confirmation step for identifying a candidate character selected by the user as a confirmed character corresponding to the handwritten character.
それゆえ、手書き文字があいまいであっても正しい認識文字を提示することが可能となるため、認識率を改善できるという効果を奏する。また、そのための操作もヒント情報を手書き入力するというものであるため、手書き文字の入力と操作の連続性を保つことが可能となり、操作にかかる手間を大きく減らすことができるという効果を奏する。 Therefore, even if the handwritten character is ambiguous, it is possible to present a correct recognized character, and the recognition rate can be improved. Moreover, since the operation for that is also handwritten input of hint information, it becomes possible to maintain the continuity of the input of the handwritten character and the operation, and it is possible to greatly reduce the labor required for the operation.
図1〜図9に基づいて、本発明の実施の形態について詳細に説明する。 Based on FIGS. 1-9, embodiment of this invention is described in detail.
〔文字入力装置の概要〕
まず、図2を参照して、本実施の形態に係る文字入力装置100の外観を説明する。図2は、文字入力装置100の外観例を表した正面図である。
[Outline of character input device]
First, with reference to FIG. 2, the external appearance of the
文字入力装置100は、手書き文字c1を認識することにより文字入力を行う装置である。そのため、文字入力装置100は、入力部110に対する操作に基づいて、文字の入力が可能である。図2に示すように、文字入力装置100は、ユーザの操作を検知可能な入力部110と、ユーザが入力する領域やボタン、ユーザが入力した文字、認識候補等を表示可能な表示部130とを備える。例えば、入力部110をタッチパネルで、表示部130を液晶ディスプレイで実現する場合、図2に示すように、両者は一体として構成できる。本実施の形態では、この一体として構成された入力部110および表示部130をまとめて、表示入力部DIと記す。
The
図2に示すように、表示入力部DIは、画面上に、手書き入力領域A111とヒント情報入力領域A113とを含む。手書き入力領域A111は、ユーザが所望の文字を入力するために、認識させる手書き文字c1を入力する領域である。ヒント情報入力領域A113は、手書き入力領域A111に入力された手書き文字c1の認識のため、あるいは、認識結果である次候補文字(候補文字)c3の選択のためのヒント情報c4を、ユーザが入力する領域である。 As shown in FIG. 2, the display input unit DI includes a handwriting input area A111 and a hint information input area A113 on the screen. The handwriting input area A111 is an area for inputting a handwritten character c1 to be recognized in order for the user to input a desired character. In the hint information input area A113, the user inputs hint information c4 for recognizing the handwritten character c1 input in the handwriting input area A111 or for selecting the next candidate character (candidate character) c3 as a recognition result. It is an area to do.
文字入力装置100は、手書き入力領域A111から入力されたオブジェクト(図形)を、文字単位で認識し、認識結果である1つの第一候補文字(候補文字)c2を提示する。ユーザは提示された第一候補文字c2が意図したものでない場合は、文字単位で第二候補以下の1または複数の別の次候補文字c3を表示させて選択することで、文字単位で文字を入力できる。または、個別に入力し直して再度文字認識させて文字を変更することもできる。
The
手書き入力領域A111には、手書き文字c1の下に、文字単位で文字認識候補(第一候補文字c2、次候補文字c3)を1または複数提示する。文字認識候補が複数ある場合、ユーザはその中から1つを選択できる。文字認識候補は、辞書データベースや操作履歴(例えば文字の使用頻度など)を参照して、認識された文字列から変換するのに最適な文字コード列を優先度に従って提示することができる。いわゆる予測変換や通常変換等により変換候補を提示することができる。なお、第二候補以下の次候補文字c3の表示は必須ではない。再度その文字を入力させて認識し直させるようにしてもよい。 In the handwriting input area A111, one or more character recognition candidates (first candidate character c2, next candidate character c3) are presented in units of characters under the handwritten character c1. When there are a plurality of character recognition candidates, the user can select one of them. The character recognition candidate can present a character code string that is optimal for conversion from the recognized character string according to the priority by referring to the dictionary database and operation history (for example, the frequency of character use). Conversion candidates can be presented by so-called predictive conversion or normal conversion. The display of the next candidate character c3 below the second candidate is not essential. The character may be input again and recognized again.
また、文字入力装置100は、ヒント情報入力領域A113から入力されたオブジェクトを、文字単位で認識し、手書き入力領域A111に入力された手書き文字c1の認識や次候補文字c3の選択のためのヒント情報c4とする。
In addition, the
例えば、手書き入力領域A111から漢字まじりで手書き入力し、ヒント情報入力領域A113から分からない漢字の読みをヒント情報c4としてひらがなで手書き入力することにより、ひらがなを漢字に変換して、手書き入力した全体を漢字で入力することができる。また、手書き入力領域A111から入力した漢字等の読みから認識された認識文字から、ヒント情報入力領域A113からヒント情報c4として漢字の一部を入力し、それに基づいて選択した候補文字を提示することができる。また、手書き入力領域A111から英単語を手書き入力し、ヒント情報入力領域A113からヒント情報c4として日本語訳を手書き入力することにより、日本語訳から和英辞書を参照して、英単語を正しいスペルで入力することができる。 For example, by handwriting input with handwriting input from the handwriting input area A111 and writing kanji characters that are not known from the hint information input area A113 as handwriting input with hiragana as hint information c4, the hiragana is converted into kanji and the whole handwritten input Can be entered in Kanji. In addition, a part of a kanji character is input as hint information c4 from the hint information input area A113 from a recognized character recognized by reading a kanji character or the like input from the handwriting input area A111, and a candidate character selected based on the kanji is presented. Can do. In addition, handwritten input of English words from the handwriting input area A111 and handwriting input of a Japanese translation as hint information c4 from the hint information input area A113 makes it possible to refer to the Japanese-English dictionary from the Japanese translation and spell the English words correctly. Can be entered.
ヒント情報入力領域A113の下には、ヒント情報種類選択領域A116を表示する。ヒント情報種類選択領域A116は、ヒント情報入力領域A113から入力されたヒント情報c4であるオブジェクトの種類をユーザが指定する領域である。例えば、ヒント情報入力領域A113にヒント情報c4として漢字の読みを入力する場合、ヒント情報種類選択領域A116から「読み」を入力する。また、ヒント情報入力領域A113にヒント情報c4として漢字の一部を入力する場合、ヒント情報種類選択領域A116から「部首」を入力する。また、ヒント情報入力領域A113にヒント情報c4として日本語訳を入力する場合、ヒント情報種類選択領域A116から「日本語訳」を入力する。 Below the hint information input area A113, a hint information type selection area A116 is displayed. The hint information type selection area A116 is an area in which the user specifies the type of object that is the hint information c4 input from the hint information input area A113. For example, when inputting a kanji reading as the hint information c4 in the hint information input area A113, “reading” is input from the hint information type selection area A116. In addition, when inputting a part of Chinese characters as the hint information c4 in the hint information input area A113, “radical” is input from the hint information type selection area A116. When inputting a Japanese translation as the hint information c4 in the hint information input area A113, “Japanese translation” is input from the hint information type selection area A116.
上記のように、手書き入力領域A111から入力した手書き文字c1を文字認識した結果、文字単位に少なくとも第一候補である第一候補文字c2を各々表示する。また、上記のように第二候補以下の次候補文字c3についても同時に表示するようにしてもよいし、ユーザによるタップ(ダウン、アップ)やロングタップ(ダウンしたまま)等の操作をトリガーに表示するようにしてもよい。また、次候補文字c3と共に文字単位で変換しない(オブジェクトのままにする)ボタンを表示するようにしてもよい。これは、例えば、一部の文字だけ外字が含まれるようなときに有効である。そして、ユーザが第二候補以下をタップ等の操作で選択することで、選択した文字を第一候補として表示する。 As described above, as a result of character recognition of the handwritten character c1 input from the handwriting input area A111, at least the first candidate character c2 that is the first candidate is displayed for each character. Further, as described above, the next candidate character c3 below the second candidate may be displayed at the same time, and a user tap operation (down, up), long tap (down), etc. is displayed as a trigger. You may make it do. In addition, a button that does not convert character units (leave an object) may be displayed together with the next candidate character c3. This is effective when, for example, only some characters include external characters. Then, when the user selects the second candidate or lower by an operation such as tapping, the selected character is displayed as the first candidate.
さらに、文字認識した結果の第一候補文字c2(次候補文字c3から第一候補として選択された文字を含む)で文字コードを確定する文字認識確定ボタンA115を設けてもよい。また、文字コードへの変換を確定は、画面上の特定の場所や何もオブジェクトが表示されてない場所でタップやダブルタップ等の特定の操作で実行してもよいし、特定のジェスチャを入力することで実行してもよい。また、所定の時間、第一候補文字c2として表示されたものを自動的に確定するようにしてもよい。さらには、所定の文字数書き進めた時に、最も過去に認識したものから順次確定させるようにしてもよい。また、ヒント情報入力領域A113への入力に応じて、第一候補文字c2が変更された状態で、手書き入力領域A111からの入力を開始した際に、第一候補文字c2で文字コードを確定してもよい。 Furthermore, a character recognition confirmation button A115 for confirming a character code with the first candidate character c2 (including a character selected as the first candidate from the next candidate character c3) as a result of character recognition may be provided. Confirmation of conversion to character code may be performed by a specific operation such as tapping or double tapping in a specific place on the screen or where no object is displayed, or a specific gesture is input. May be executed. Moreover, you may make it determine automatically what was displayed as the 1st candidate character c2 for the predetermined time. Furthermore, when a predetermined number of characters have been written, it may be determined sequentially from those recognized in the past. In addition, when input from the handwriting input area A111 is started in a state where the first candidate character c2 is changed in accordance with the input to the hint information input area A113, the character code is determined with the first candidate character c2. May be.
また、文字入力装置100は、入力した手書き文字c1(オブジェクト)を文字コードに変換したくない場合は、未変換で確定させて、未変換のオブジェクト情報(形状と位置)として記憶部140(図1等)に記憶してもよい。さらに、変換後の文字コード列に、変換済みのオブジェクト情報を紐づけて記憶しておいてもよい。
In addition, if the
なお、図2では、手書き入力領域A111とヒント情報入力領域A113とを、一つの表示入力部DIに表示したが、それぞれ別個に表示してもよい。また、例えば、文字コード変換結果の表示に重畳する形で手書き文字c1を表示してもよい。また、手書き文字c1を変換・未変換の結果を表示する領域と重畳表示してもよいし、領域を分けてもよい。 In FIG. 2, the handwriting input area A111 and the hint information input area A113 are displayed on one display input unit DI, but they may be displayed separately. Further, for example, the handwritten character c1 may be displayed in a form superimposed on the display of the character code conversion result. In addition, the handwritten character c1 may be superimposed on an area for displaying the converted / unconverted result, or the area may be divided.
また、手書き入力領域A111およびヒント情報入力領域A113への手書き入力以外の入力、例えば、ヒント情報種類選択領域A116等への入力は、各オブジェクトに数字を併記しておき、ハードまたはソフトによる数字キーを介して選択できるようにしてもよい。 For input other than handwriting input to the handwriting input area A111 and hint information input area A113, for example, input to the hint information type selection area A116, etc., numbers are written in each object, and numeric keys by hardware or software are used. You may make it selectable via.
以下、本実施の形態に係る文字入力装置100の具体的な構成例を説明する。
Hereinafter, a specific configuration example of the
〔構成例1〕
図1、図3、図4を参照して、構成例1に係る文字入力装置100Aについて詳細に説明する。なお、以下の説明中、本構成例に特有の部材には、「入力部110A」のように「A」を付す。なお、他の構成例の部材と共通する事項については、「A」を省略して、「入力部110」のように総称することがある。
[Configuration example 1]
A
(文字入力装置の構成)
まず、図1を参照して、文字入力装置100Aの構成について詳細に説明する。図1は、文字入力装置100Aの要部構成を示す機能ブロック図である。なお、本構成例に直接関係のない部分(例えば、入力文字のドラッグなどを実現する部分)は、記載の簡潔性を担保する観点から、構成の説明およびブロック図から省略した。ただし、実施の実情に則して、文字入力装置100Aが当該省略した構成を含んでもよい。
(Configuration of character input device)
First, the configuration of the
図1に示すように、文字入力装置100Aは、入力部110A、制御部120A、表示部130、および記憶部140を備えている。
As illustrated in FIG. 1, the
入力部110Aは、ユーザが文字入力装置100Aを操作するための入力を行うものである。詳細には、入力部110Aは、手書き文字入力部111、文字指定部112、ヒント情報入力部113、候補選択部114、および全体確定部115を備えている。なお、入力部110Aの各機能ブロックに対応する領域や文字等の表示部130への表示は、当該機能ブロックあるいは当該機能ブロックに対応する機能ブロック(図示せず)が行うものとする。
The
手書き文字入力部111は、手書き入力領域A111にユーザが手書き入力した軌跡を、オブジェクト(図形)である手書き文字c1として取得する。手書き文字c1は、オブジェクトの形状や書き順などの情報を含んでいてもよい。
The handwritten
文字指定部112は、手書き文字c1の認識結果の第一候補である第一候補文字c2が誤認識である場合、ユーザが当該文字の表示をタップする等により、ユーザに再認識の対象として選択させる。
When the first candidate character c2, which is the first candidate of the recognition result of the handwritten character c1, is erroneously recognized, the
ヒント情報入力部113は、ヒント情報入力領域A113にユーザが手書き入力した軌跡を、オブジェクト(図形)であるヒント情報c4として取得する。ヒント情報c4は、再認識候補である次候補文字c3の絞り込みを行うために使用される。ヒント情報c4は、例えば、漢字の訓読みや音読み、漢字の部首、文字種、文字の大小などを表す。
The hint
候補選択部114は、誤認識文字であるため、再認識の対象としてユーザに選択された第一候補文字c2の下に表示された認識結果の第二候補以下の次候補文字c3から、ユーザが当該文字の表示をタップする等により、ユーザに適切に認識された文字を選択させる。
Since the
全体確定部115は、画面上に表示されている文字認識確定ボタンA115をユーザがタップ等することで、現在の第一候補文字c2の文字(コード)によって、手書き文字c1から認識した文字(コード)を確定することを制御部120Aに指示する。
When the user taps the character recognition confirmation button A115 displayed on the screen or the like, the
制御部120Aは、文字入力装置100Aにおける各種制御を実行するものである。そのため、制御部120Aは、入力文字認識部(文字認識手段)121、文字認識部122、認識文字メモリ123、候補制御部(候補文字抽出手段)124、文字入力表示設定部(文字確定手段)125、表示制御部126、文字編集表示設定部127、およびヒント情報認識部(ヒント情報認識手段)128Aを備えている。
The
入力文字認識部121は、手書き文字c1を認識して1または複数の認識文字を生成する。詳細には、入力文字認識部121は、手書き文字入力部111から入力された手書き文字c1を取得し、文字認識部122によって認識した結果の文字コードを、認識文字メモリ123に格納する。また、入力文字認識部121は、表示制御部126を介して手書き文字c1をオブジェクトとして表示部130に表示する。
The input
文字認識部122は、入力文字認識部121より手書き文字c1をオブジェクトとして取得し、文字単位で認識した結果を文字コードとして返す。また、ヒント情報認識部128Aよりヒント情報c4をオブジェクトとして取得し、文字単位で認識した結果を返す。
The
認識文字メモリ123は、手書き文字c1から切り出された文字単位で、各文字の認識結果である1または複数の認識文字(文字コード)を保持する。
The recognized
候補制御部124は、認識文字メモリ123に記憶されている認識文字を管理する。特に、候補制御部124は、ヒント情報認識部128が認識したヒント情報c4に基づいて、入力文字認識部121が生成した認識文字から候補文字(第一候補文字c2、次候補文字c3)を抽出する。具体的には、候補制御部124は、各手書き文字毎に認識文字を認識の確からしさを示す認識確度の順に整列したリストを保持する。そして、認識確度順に第一候補文字c2および次候補文字c3を抽出し、文字入力表示設定部125または文字編集表示設定部127からの要求に応じて返す。また、文字編集表示設定部127から与えられた条件に従って認識確度を修正して、第一候補文字c2および次候補文字c3の抽出をやり直す。なお、従来の文字認識では、認識の確からしさを示す認識確度(信頼度)が所定値より低い場合は候補文字から除外されるが、候補制御部124は、ヒント情報が入力された場合には、認識確度が所定値よりも低くても候補文字の絞り込みの対象とする。
The
文字入力表示設定部125は、表示制御部126を介して表示部130に表示する表示形態を設定し、表示制御部126に指示する。また、文字入力表示設定部125は、候補制御部124が抽出した候補文字をユーザに提示し、ユーザによって選択された候補文字(第一候補文字c2)を手書き文字c1に対応する確定文字c5として特定する。
The character input
表示制御部126は、表示部130に表示する内容の指示を受け取り、表示部130への表示を行う。
The
文字編集表示設定部127は、文字指定部112から文字(ユーザが第一候補文字c2から誤認識した文字であると指定した文字)の指定を取得し、当該指定文字に対応する第二候補以降の次候補文字c3を取得し、その表示を表示制御部126に指示する。ここで、特に、文字編集表示設定部127は、ヒント情報認識部128Aが取得したヒント情報c4に基づいて、認識文字メモリ123に保持されている複数の認識文字から、次候補文字c3への絞り込みを、候補制御部124に指示する。
The character editing
ヒント情報認識部128Aは、手書き入力されたヒント情報c4を認識する。詳細には、ヒント情報認識部128Aは、ヒント情報入力部113から入力されたヒント情報c4を取得し、文字認識部122によって認識を行い、手書き文字c1から認識された認識文字の絞り込みを行うための情報を生成し、文字編集表示設定部127に送る。ヒント情報認識部128Aは、ヒント情報c4を認識する際、ヒント情報c4の種類の判断を行ってもよい。
The hint
表示部130は、文字入力装置100Aが扱う情報を表示するものである。入力部110Aをタッチパネルで、表示部130を液晶ディスプレイで実現する場合、両者は一体として構成できる。
The
記憶部140は、制御部120Aの処理に必要なデータを記憶するものである。例えば、手書き文字c1を認識するときに参照する辞書DB141などを格納する。
The
(文字入力の詳細)
図3、図4を参照しながら、文字入力装置100Aにおける手書き入力処理の流れを説明する。
(Details of character input)
The flow of handwriting input processing in the
図3は、文字入力装置100Aにおける手書き入力処理の流れの一例を示すフローチャートである。図4は、文字入力装置100Aにおける手書き入力処理の際に表示する画面の遷移図であり、(a)は手書き文字c1を認識し、第一候補文字c2を表示した画面例を示し、(b)は第一候補文字c2から指定された誤認識文字に対して次候補文字c3を表示した画面例を示し、(c)は入力されたヒント情報c4に基づいて次候補文字c3を更新した画面例を示し、(d)は認識文字を確定したときの画面例を示す。
FIG. 3 is a flowchart showing an example of the flow of handwriting input processing in the
まず、手書き文字入力部111が手書き入力領域A111から手書き文字c1を取得する(S11)。
First, the handwritten
次に、入力文字認識部121が入力された手書き文字c1を取得し、文字認識部122によって文字認識を行う(S12;文字認識ステップ)。入力文字認識部121は、この認識の結果得られた認識文字(文字コード)を、手書き文字c1の文字毎に、認識確度と対応付けて認識文字メモリ123に記憶する。
Next, the handwritten character c1 input by the input
次に、文字入力表示設定部125が、候補制御部124を介して、認識文字メモリ123から、手書き文字c1の文字毎に第一候補である第一候補文字c2を取得し、表示制御部126へ送る。そして、表示制御部126は、入力文字認識部121から送られた手書き文字c1と共に、第一候補文字c2を表示部130に表示させる(S13、図4(a))。
Next, the character input
図4(a)の例では、「京都にいく」と手書き入力され、その認識結果の第一候補文字c2である「京」「部」「に」「行」「く」の各文字が、手書き文字c1の一文字ずつ対応付けて表示されている。 In the example of FIG. 4A, handwritten input “go to Kyoto” and the characters “K”, “part”, “ni”, “line”, “ku”, which are the first candidate characters c2 of the recognition result, The handwritten characters c1 are displayed in association with each other.
次に、文字編集表示設定部127が、表示した第一候補文字c2から誤認識文字としてユーザにより文字指定部112を介して選択された文字があるか否かを判断する(S14)。そして、誤認識文字が指定された場合(S14においてYES)、文字編集表示設定部127が、指定された誤認識文字(第一候補文字c2)に対応する次候補文字c3を、候補制御部124を介して、認識文字メモリ123から取得する。このとき、候補制御部124は、文字編集表示設定部127の要求に対して、指定された第一候補文字c2が認識されたオブジェクト(手書き文字c1に含まれる1文字分)に対応付けられた認識文字から、認識確度の順に所定の個数を抽出して、次候補文字c3として返す。そして、文字編集表示設定部127は、表示制御部126を介して、指定された誤認識文字(第一候補文字c2)に対応付けて、次候補文字c3を表示部130に表示させる(S15、図4(b))。
Next, the character edit
図4(a)の例では、手書き文字c1の「都」から認識された、第一候補文字c2の「部」が誤認識文字である。そして、図4(b)の例では、この「部」をユーザがタップ等で指定したとき、指定された第一候補文字c2の「部」が認識された手書き文字c1の「都」から認識された「邪」「却」が次候補文字c3として、第一候補文字c2である「部」の下に表示されている。なお、図4(b)には次候補文字c3を2つ表示しているが、表示する個数は限定されない。 In the example of FIG. 4A, the “part” of the first candidate character c2 recognized from the “city” of the handwritten character c1 is a misrecognized character. In the example of FIG. 4B, when the “part” is designated by a tap or the like, the “part” of the designated first candidate character c2 is recognized from the “city” of the handwritten character c1 recognized. The “evil” and “rejected” are displayed as the next candidate character c3 under “part” which is the first candidate character c2. In FIG. 4B, two next candidate characters c3 are displayed, but the number to be displayed is not limited.
次に、文字編集表示設定部127が、表示した次候補文字c3から正しい認識文字としてユーザにより候補選択部114を介して指定された候補文字があるか否かを判断する(S16)。そして、候補文字が指定されなかった場合(S16においてNO)、ヒント情報入力部113がヒント情報入力領域A113からヒント情報c4を取得する。そして、ヒント情報認識部128Aが、ヒント情報c4を文字認識部22によって文字認識して得た結果を、文字編集表示設定部127へ送る(S17;ヒント情報認識ステップ)。
Next, the character editing /
次に、表示編集表示設定部127が、文字認識して得た結果に基づいて、認識文字から候補文字を抽出するための条件を設定し、候補制御部124に候補文字の抽出を指示する。この指示を受けて、候補制御部124は、設定された条件に従って、誤認識文字として指定された第一候補文字c2が認識されたオブジェクト(手書き文字c1に含まれる1文字分)に対応付けられた認識文字から、認識確度の順に所定の個数の候補文字を抽出する。そして、認識確度が最も高い候補文字を第一候補文字c2とし、次いで認識確度が高い所定個数の候補文字を次候補文字c3として返す。その後、文字編集表示設定部127は、候補制御部124より取得した第一候補文字c2および次候補文字c3を、誤認識文字として指定された第一候補文字c2および該第一候補文字c2に対応して表示されていた次候補文字c3の代わりに表示するように、表示制御部126を介して、表示画面を更新する(S18;候補文字抽出ステップ)。
Next, the display edit
図4(c)の例では、ヒント情報c4として、手書き文字c1の「都」の読み仮名が音読みで「ト」と入力されている。これは「キョウト」の「ト」を示しているが、訓読みで「みやこ」と入力してもよい。また、音読みか訓読みかをカタカナとひらがなで区別して入力するようにしてもよいし、区別しなくてもよい。 In the example of FIG. 4C, as the hint information c4, the reading kana of the “city” of the handwritten character c1 is input as “t” by phonetic reading. This indicates “G” of “Kyoto”, but “Miyako” may be entered as a knot. In addition, whether reading aloud or reading a knot may be input by distinguishing katakana and hiragana, or may not be distinguished.
そして、手書き文字c1の「都」から認識された認識文字から、音読みが「ト」である認識文字を抽出し、認識確度が最も高い「都」を第一候補文字c2とし、次いで認識確度が高い「賭」「堵」を次候補文字c3として表示している。このように、ヒント情報c4に基づいて候補文字を更新するとき、第一候補文字c2および次候補文字c3の両方を更新する。 Then, from the recognized characters recognized from the “city” of the handwritten character c1, a recognized character whose sound reading is “g” is extracted, the “city” having the highest recognition accuracy is set as the first candidate character c2, and the recognition accuracy is next. High “betting” and “堵” are displayed as the next candidate character c3. Thus, when the candidate character is updated based on the hint information c4, both the first candidate character c2 and the next candidate character c3 are updated.
次に、文字編集表示設定部127が、更新表示した次候補文字c3から正しい認識文字としてユーザにより候補選択部114を介して指定された候補文字があるか否かを判断する(S19)。そして、ステップS19において、表示した次候補文字c3からユーザにより候補文字が指定された場合(S19においてYES)、文字編集表示設定部127は、指定された次候補文字c3を新しい第一候補文字c2とし、古い第一候補文字c2の代わりに表示するように、表示制御部126を介して、表示画面を更新する(S20)。また同様に、ステップS16において、表示した次候補文字c3からユーザにより候補文字が指定された場合も(S16においてYES)、指定された次候補文字c3を新しい第一候補文字c2として、表示画面を更新する(S20)。
Next, the character editing
そして、ステップS20において表示画面を更新した場合、および、ステップS19において、表示した次候補文字c3からユーザにより候補文字が指定されなかった場合(S19においてNO)、第一候補文字c2からユーザにより誤認識文字の指定を取得する処理に戻る(S14)。なお、上記のように、ヒント情報c4に基づいて候補文字を更新するとき、第一候補文字c2が更新されるので、第一候補文字c2が正しい認識結果である場合は、ユーザが候補文字を指定する操作は不要である。 If the display screen is updated in step S20 and if no candidate character is specified by the user from the displayed next candidate character c3 in step S19 (NO in S19), an error is detected by the user from the first candidate character c2. The process returns to the process for acquiring the designation of the recognized character (S14). As described above, when the candidate character is updated based on the hint information c4, the first candidate character c2 is updated. Therefore, when the first candidate character c2 is a correct recognition result, the user selects the candidate character. No operation is required.
次に、ステップS14に戻り、文字編集表示設定部127が、第一候補文字c2から誤認識文字としてユーザにより選択された文字があるか否かを判断し、誤認識文字が指定された場合(S14においてYES)、上述した処理(S15〜S20)を繰り返す。すなわち、ユーザは、上述した処理(S15〜S20)を繰り返すことにより、別の第一候補文字c2(例えば、図4(a)の「京」や「行」)を変更することができる。
Next, returning to step S14, the character editing
そして、ステップS14において、誤認識文字が指定されなかった場合(S14においてNO)、すなわち、全体確定部115がユーザによる文字認識確定ボタンA115の操作を検出したとき、文字入力表示設定部125は、これまで準備してきたすべての第一候補文字c2によって、手書き文字c1の認識結果を確定させる(S21;文字確定ステップ)。そして、文字入力表示設定部125は、手書き文字c1、第一候補文字c2、次候補文字c3の代わりに、確定した確定文字c5を所定の文字フォントで表示する(図4(d))。
If no erroneously recognized character is designated in step S14 (NO in S14), that is, when the
なお、ステップS13において第一候補文字c2を表示した後、当該第一候補文字c2が誤認識文字として選択されないまま、所定時間が経過した時点または所定文字数の第一候補文字c2を追加して表示した時点で、文字編集表示設定部127が、誤認識文字が指定されなかったと判断し(S14においてNO)、文字入力表示設定部125は、当該第一候補文字c2によって認識結果を確定させてもよい。同様に、ステップS15およびS18において次候補文字c3を表示した後、当該次候補文字c3が選択されないまま、所定時間が経過した時点または手書き文字c1の入力が行われた時点で、文字編集表示設定部127が、次候補文字c3が選択されなかったと判断し(S16またはS19においてNO)、文字入力表示設定部125は、その時点での第一候補文字c2によって認識結果を確定させてもよい。なお、待機する所定時間や第一候補文字c2の表示する所定文字数は、ユーザの操作履歴から決定してもよい。
In addition, after displaying the 1st candidate character c2 in step S13, the said 1st candidate character c2 is not selected as a misrecognized character, but when the predetermined time passes or the 1st candidate character c2 of a predetermined number of characters is added and displayed. At this point, the character editing
(まとめ)
以上のように、本構成例によれば、誤認識した認識結果を編集するとき、タップや手書き入力のみによって認識文字の絞り込みを行う。これにより、手間のかからない入力方法によって、正しい認識文字を提示できる可能性を高くすることができる。また、候補文字の抽出にヒント情報を用いることにより、手書き文字が文字認識が困難な形状で入力されたために、認識の確からしさを示す認識確度が低くなった認識文字であっても、ヒント情報に基づく絞り込みを行って優先的にユーザに提示することができる。
(Summary)
As described above, according to the present configuration example, when editing a recognition result that has been misrecognized, the recognition characters are narrowed down only by tapping or handwriting input. Thereby, it is possible to increase the possibility that a correct recognized character can be presented by a laborious input method. Further, by using hint information for extraction of candidate characters, even if the recognition character has low recognition accuracy indicating the accuracy of recognition because the handwritten character is input in a shape that makes character recognition difficult, the hint information It is possible to narrow down based on and present to the user preferentially.
〔構成例2〕
次に、図5、図6および図3を参照して、構成例2に係る文字入力装置100Bについて詳細に説明する。なお、以下の説明中、本構成例に特有の部材には、「入力部110B」のように「B」を付す。なお、他の構成例の部材と共通する事項については、「B」を省略して、「入力部110」のように総称することがある。また、説明の便宜上、前記の構成例1において示した部材と同一の機能を有する部材には、同一の符号を付し、その説明を省略する。
[Configuration example 2]
Next, the
(文字入力装置の構成)
まず、図5を参照して、文字入力装置100Bの構成について詳細に説明する。図5は、文字入力装置100Bの要部構成を示す機能ブロック図である。なお、本構成例に直接関係のない部分(例えば、入力文字のドラッグなどを実現する部分)は、記載の簡潔性を担保する観点から、構成の説明およびブロック図から省略した。ただし、実施の実情に則して、文字入力装置100Bが当該省略した構成を含んでもよい。
(Configuration of character input device)
First, the configuration of the
図5に示すように、文字入力装置100Bは、入力部110B、制御部120B、表示部130、および記憶部140を備えている。なお、表示部130、記憶部140は、それぞれ、構成例1の表示部130、記憶部140と同一の機能を有するので、その説明を省略する。
As illustrated in FIG. 5, the
入力部110Bは、ユーザが文字入力装置100Bを操作するための入力を行うものである。詳細には、入力部110Bは、手書き文字入力部111、文字指定部112、ヒント情報入力部113、候補選択部114、全体確定部115に加えて、ヒント情報種類選択部116を備えている。なお、入力部110Bの各機能ブロックに対応する領域や文字等の表示部130への表示は、当該機能ブロックあるいは当該機能ブロックに対応する機能ブロック(図示せず)が行うものとする。
The
ヒント情報種類選択部116は、画面上、ヒント情報入力領域A113の近傍に設けられたヒント情報種類選択領域A116(図6)より入力されるヒント情報c4の種類を指定するヒント情報種類情報c6を取得する。
The hint information
なお、ヒント情報種類選択部116以外の、手書き文字入力部111、文字指定部112、ヒント情報入力部113、候補選択部114、全体確定部115は、それぞれ、構成例1と同一の機能を有するので、その説明を省略する。
In addition to the hint information
制御部120Bは、文字入力装置100Bにおける各種制御を実行するものである。そのため、制御部120Bは、入力文字認識部121、文字認識部122、認識文字メモリ123、候補制御部124、文字入力表示設定部125、表示制御部126、文字編集表示設定部127、およびヒント情報認識部(ヒント情報認識手段)128Bを備えている。すなわち、制御部120Bは、構成例1の制御部120A(図1)と比較して、ヒント情報認識部128Aの代わりに、ヒント情報認識部128Bを備える構成である。
The
ヒント情報認識部128Bは、手書き入力されたヒント情報c4を認識する。特に、ヒント情報認識部128Bは、ヒント情報c4とともに、当該ヒント情報c4の種類を示すヒント情報種類情報c6を取得し、当該ヒント情報種類情報c6に基づいて当該ヒント情報c4を認識する。詳細には、ヒント情報認識部128Bは、ヒント情報入力部113から入力されたヒント情報c4と、ヒント情報種類選択部116から入力されたヒント情報種類情報c6とを取得し、文字認識部122によって認識を行い、手書き文字c1から認識された認識文字の絞り込みを行うための情報を生成し、文字編集表示設定部127に送る。ヒント情報認識部128Bは、ヒント情報c4を認識する際、ヒント情報種類情報c6を用いる。なお、構成例1では、ヒント情報c4の種類の判断は、ヒント情報認識部128Aにおいて行われていた。
The hint
なお、ヒント情報認識部128B以外の、入力文字認識部121、文字認識部122、認識文字メモリ123、候補制御部124、文字入力表示設定部125、表示制御部126、文字編集表示設定部127は、それぞれ、構成例1と同一の機能を有するので、その説明を省略する。
In addition to the hint
(文字入力の詳細)
図3、図6を参照しながら、文字入力装置100Bにおける手書き入力処理の流れを説明する。図6は、文字入力装置100Bにおける手書き入力処理の際に表示する画面例であり、入力されたヒント情報c4およびヒント情報種類情報c6に基づいて次候補文字c3を更新した画面例を示す。
(Details of character input)
The flow of handwriting input processing in the
構成例1の処理とは、図3のステップS17における処理が異なるのみであるので、他のステップについてはその説明を省略する。 Since only the process in Step S17 of FIG. 3 is different from the process of Configuration Example 1, the description of the other steps is omitted.
図3に示すように、ステップS16において、表示した次候補文字c3から正しい認識文字としてユーザにより候補文字が指定されなかった場合(S16においてNO)、ヒント情報入力部113がヒント情報入力領域A113からヒント情報c4を取得する。このとき、文字入力装置100Bでは、ヒント情報種類選択部116が、ヒント情報入力領域A113とともに画面に表示されるヒント情報種類選択領域A116からヒント情報種類情報c6を取得する(図6)。そして、ヒント情報認識部128Bが、文字認識部122によって、ヒント情報入力部113から入力されたヒント情報c4を、ヒント情報種類選択部116から入力されたヒント情報種類情報c6が示す種類を考慮して認識を行い、文字編集表示設定部127に送る(S17;ヒント情報認識ステップ)。そして、表示編集表示設定部127が、ヒント情報種類情報c6を用いて文字認識して得た結果に基づいて、認識文字から候補文字を抽出するための条件を設定し、候補制御部124に候補文字の抽出を指示する。それ以後の処理については、構成例1と同様である。
As shown in FIG. 3, when a candidate character is not designated as a correct recognized character from the displayed next candidate character c3 in step S16 (NO in S16), the hint
図6の例では、ヒント情報種類情報c6として「部首」を選択した後、ヒント情報c4として「おおざと」の部分のみを入力することで、候補文字の絞り込みを行い、「都」が抽出される確率を高くしている。 In the example of FIG. 6, after selecting “radical” as the hint information type information c6, by inputting only the “Ozama” portion as the hint information c4, the candidate characters are narrowed down and “Miyako” is extracted. The probability that
ここで、図6では、ヒント情報種類情報c6としては、「漢字の読み(仮名)」「漢字の部首」「文字種」「文字の大小」を挙げている。しかし、ヒント情報種類情報c6は、これらに限定されず、ヒント情報c4の種類として特定できるものであれば、任意の情報を利用できる。 Here, in FIG. 6, as the hint information type information c6, “Kanji reading (kana)”, “Kanji radical”, “character type”, and “character size” are listed. However, the hint information type information c6 is not limited to these, and any information can be used as long as it can be specified as the type of the hint information c4.
そして、「文字種」としては、例えば、「かな漢字」「アルファベット」「数字」「顔文字」「絵文字」が挙げられる。しかし、その他、「ひらがな」「カタカナ」「漢字」「数字」「記号」や、さらには「ラテン文字」「ロシア文字」などの諸外国で使用されている文字など、文字の種別として特定できるものであれば、任意のものを利用できる。 Examples of the “character type” include “kana-kanji”, “alphabet”, “number”, “emoticon”, and “pictogram”. However, other characters that can be specified as character types, such as “Hiragana”, “Katakana”, “Kanji”, “Numbers”, “Symbols”, and characters used in other countries such as “Latin characters” and “Russian characters” Any can be used.
また、「文字種」の場合、ヒント情報種類選択領域A116に最初は「文字種」を表示しておき、「文字種」が選択されたとき、「かな漢字」「アルファベット」「数字」「顔文字」「絵文字」等を表示して、ユーザに文字種を選択させてもよい。また、「かな漢字」「アルファベット」「数字」「顔文字」「絵文字」等からあらかじめ文字種を選択しておき、選択した文字種を最初からヒント情報種類選択領域A116に表示するようにしてもよい。なお、「顔文字」とは「(^^)」など文字の組み合わせによって表現した擬似画像であり、絵文字は画像(アニメーションするものも含む)を文字コードに対応させたものである。 In the case of “character type”, “character type” is initially displayed in the hint information type selection area A116, and when “character type” is selected, “kana-kanji”, “alphabet”, “number”, “emoticon”, “pictogram” Or the like may be displayed to allow the user to select a character type. Alternatively, a character type may be selected in advance from “kana / kanji”, “alphabet”, “number”, “emoticon”, “pictogram”, and the like, and the selected character type may be displayed in the hint information type selection area A116 from the beginning. The “emoticon” is a pseudo image expressed by a combination of characters such as “(^^)”, and the pictogram is an image (including an animated one) associated with a character code.
例えば、手書き入力の前に、「文字種」として「かな漢字」を選択した場合、「し」を手書き入力したときに、アルファベットの「l」(Lの小文字)や数字の「1」もが候補としてあがってしまうことを防ぐことができる。逆に、手書き入力した後で「文字種」を選択する場合、選択前は全ての文字種の文字を候補文字として表示し、選択後は選択した文字種で候補文字の絞り込みを行うようにしてもよい。 For example, when “Kana-Kanji” is selected as the “character type” before handwriting input, when “shi” is input by handwriting, the alphabet “l” (L small letter) and the number “1” are also candidates. You can prevent it from going up. Conversely, when “character type” is selected after handwritten input, characters of all character types may be displayed as candidate characters before selection, and candidate characters may be narrowed down by the selected character type after selection.
また、「大小」の場合は、「や」と「ゃ」、「Y」と「y」などの大小のペアを成す文字について、大小いずれであるかを指定した絞り込みを、手書き入力前または手書き入力後に実行することができる。 In the case of “Large / Small”, for the characters that make up a pair of large and small such as “Ya” and “N”, “Y” and “y”, a refinement that specifies whether it is large or small is performed before handwritten input or handwritten Can be executed after input.
そして、「大小」の場合も、「文字種」の場合と同様に、ヒント情報種類選択領域A116に最初は「大小」を表示しておき、「大小」が選択されたとき、「大」「小」を表示して、ユーザに大小の区別を選択させてもよい。また、「大」「小」の一方をあらかじめ選択しておき、選択した大小の区別を最初からヒント情報種類選択領域A116に表示するようにしてもよい。 In the case of “large” and “small”, as in the case of “character type”, “large” is initially displayed in the hint information type selection area A116, and when “large” is selected, “large” “small” ”May be displayed to allow the user to select between large and small. Alternatively, one of “large” and “small” may be selected in advance, and the selected large / small distinction may be displayed in the hint information type selection area A116 from the beginning.
さらに、「文字種」と「大小」については、他の種類と競合することがないため、「読み」「部首」と共に選択することが可能である。また、「読み」であるか「部首」であるかは、ユーザによる選択で行ってもよいし、どちらを入力しているかを文字入力装置100Bが判断してもよい。
Furthermore, “character type” and “large” and “small” do not conflict with other types, and can be selected together with “reading” and “radical”. Whether it is “reading” or “radical” may be selected by the user, or the
なお、「文字種」と「大小」については、手書き文字入力部111から手書き入力を行う前に設定しておいて、当初の文字認識での絞り込みに使用してもよい。
Note that “character type” and “large / small” may be set before handwritten input from the handwritten
(まとめ)
以上のように、本構成例によれば、手書き入力されたヒント情報の認識を、ヒント情報種類情報が示す当該ヒント情報の種類に基づいて行うことができる。これにより、ヒント情報を正しく認識できる確率が高くなる。
(Summary)
As described above, according to this configuration example, the handwritten input hint information can be recognized based on the type of hint information indicated by the hint information type information. This increases the probability that the hint information can be recognized correctly.
〔構成例3〕
次に、図7、図8を参照して、構成例3に係る文字入力装置100Cについて詳細に説明する。なお、以下の説明中、本構成例に特有の部材には、「入力部110C」のように「B」を付す。なお、他の構成例の部材と共通する事項については、「C」を省略して、「入力部110」のように総称することがある。また、説明の便宜上、前記の構成例1、2において示した部材と同一の機能を有する部材には、同一の符号を付し、その説明を省略する。
[Configuration example 3]
Next, the character input device 100C according to Configuration Example 3 will be described in detail with reference to FIGS. Note that, in the following description, “B” is added to members unique to this configuration example as “input unit 110 </ b> C”. Note that items common to members of other configuration examples may be collectively referred to as “input unit 110” with “C” omitted. For convenience of explanation, members having the same functions as those shown in the structural examples 1 and 2 are denoted by the same reference numerals, and description thereof is omitted.
(文字入力装置の構成)
まず、図7を参照して、文字入力装置100Cの構成について詳細に説明する。図7は、文字入力装置100Cの要部構成を示す機能ブロック図である。なお、本構成例に直接関係のない部分(例えば、入力文字のドラッグなどを実現する部分)は、記載の簡潔性を担保する観点から、構成の説明およびブロック図から省略した。ただし、実施の実情に則して、文字入力装置100Cが当該省略した構成を含んでもよい。
(Configuration of character input device)
First, the configuration of the character input device 100C will be described in detail with reference to FIG. FIG. 7 is a functional block diagram showing a main configuration of the character input device 100C. Note that portions not directly related to this configuration example (for example, a portion that realizes dragging of input characters, etc.) are omitted from the description of the configuration and the block diagram from the viewpoint of ensuring the simplicity of description. However, the character input device 100C may include the omitted configuration in accordance with the actual situation.
図7に示すように、文字入力装置100Cは、入力部110C、制御部120C、表示部130、および記憶部140を備えている。なお、表示部130、記憶部140は、それぞれ、構成例1、2の表示部130、記憶部140と同一の機能を有するので、その説明を省略する。
As shown in FIG. 7, the character input device 100C includes an
入力部110Cは、ユーザが文字入力装置100Cを操作するための入力を行うものである。詳細には、入力部110Cは、手書き文字入力部111、文字指定部112C、ヒント情報入力部113、ヒント情報種類選択部116、候補選択部114、全体確定部115を備えている。すなわち、すなわち、構成例2の入力部110B(図5)と比較して、文字指定部112の代わりに、文字指定部112Cを備える構成である。なお、入力部110Cの各機能ブロックに対応する領域や文字等の表示部130への表示は、当該機能ブロックあるいは当該機能ブロックに対応する機能ブロック(図示せず)が行うものとする。
The
文字指定部112Cは、手書き文字c1の認識結果の第一候補である第一候補文字c2、または、第一候補文字c2を形態素解析して得られた形態素解析結果(候補文字)c7が誤認識である場合、ユーザが当該文字または文字列の表示をタップする等により、ユーザに再認識の対象として選択させる。また、文字指定部112Cは、形態素解析結果c7が誤認識である場合、選択された形態素解析結果c7の文字列の品詞に応じた内容の品詞別細分類選択領域A117を表示し、細分類の選択を取得する。
The
なお、文字指定部112C以外の、手書き文字入力部111、ヒント情報入力部113、ヒント情報種類選択部116、候補選択部114、全体確定部115は、それぞれ、構成例1、2と同一の機能を有するので、その説明を省略する。
In addition to the character designation unit 112C, the handwritten
制御部120Cは、文字入力装置100Cにおける各種制御を実行するものである。そのため、制御部120Cは、入力文字認識部(文字認識手段)121C、文字認識部122、認識文字メモリ123C、候補制御部124、文字入力表示設定部125、表示制御部126、文字編集表示設定部127C、ヒント情報認識部128B、品詞認識部129を備えている。すなわち、制御部120Cは、構成例2の制御部120B(図5)と比較して、入力文字認識部121、認識文字メモリ123、文字編集表示設定部127の代わりに、入力文字認識部121C、認識文字メモリ123C、文字編集表示設定部127Cを備え、さらに、品詞認識部129を備える構成である。
The controller 120C executes various controls in the character input device 100C. Therefore, the control unit 120C includes an input character recognition unit (character recognition unit) 121C, a
入力文字認識部121Cは、構成例1の入力文字認識部121と同様に、手書き文字入力部111から入力された手書き文字c1を取得し、文字認識部122によって認識した結果の文字コードを、認識文字メモリ123Cに格納する。また、入力文字認識部121は、表示制御部126を介して手書き文字c1をオブジェクトとして表示部130に表示する。
Similarly to the input
品詞認識部129は、手書き文字c1の認識結果の第一候補である第一候補文字c2を形態素解析して得られた形態素解析結果c7(文字列)の文字コードを返す。なお、形態素解析するときに参照する辞書等のデータは、記憶部140において、辞書DB141等に格納してもよい。
The part-of-
そして、入力文字認識部121Cは、特に、手書き文字c1の認識結果の第一候補である第一候補文字c2を、品詞認識部129によって形態素解析した結果の文字列の文字コードを、認識文字メモリ123Cに格納する。
The input character recognizing unit 121C particularly recognizes the character code of the character string obtained as a result of the morphological analysis of the first candidate character c2 which is the first candidate of the recognition result of the handwritten character c1 by the part-of-
認識文字メモリ123Cは、手書き文字c1から切り出された文字単位および形態素解析で得られた文字列単位で、各文字または文字列の認識結果である1または複数の認識文字(文字コード)を保持する。 The recognized character memory 123C holds one or more recognized characters (character codes) that are the recognition results of each character or character string in character units cut out from the handwritten character c1 and character string units obtained by morphological analysis. .
ここで、認識結果の文字列を形態素解析することで、手書き認識で得られた文字列を、名詞・動詞・形容詞・助詞・助動詞等の文字列に分解できる。例えば、図8に示す例の場合、「に」は助詞と判定されているので、形態素解析結果c7の「に」をタップしたとき、「を」「は」「には」等の他の助詞の優先度を上げて候補文字列として表示する。このとき、例えば、読みが同じ漢字の名詞は優先度を下げて候補文字列として表示してもよいし、助詞以外の文字列は表示しないようにしてもよい。すなわち、形態素解析によって判定された品詞を優先させて、候補文字列を表示する。 Here, the character string obtained by handwriting recognition can be decomposed into character strings such as nouns, verbs, adjectives, particles and auxiliary verbs by performing morphological analysis on the character string of the recognition result. For example, in the example shown in FIG. 8, since “ni” is determined to be a particle, when “ni” is tapped in the morphological analysis result c7, other particles such as “to”, “ha”, and “to” are displayed. Is displayed as a candidate character string. At this time, for example, kanji nouns with the same reading may be displayed as candidate character strings with lower priority, or character strings other than particles may not be displayed. That is, the candidate character string is displayed with priority given to the part of speech determined by the morphological analysis.
ただし、形態素解析は、文章の途中から入力した場合や本来漢字で書ける名詞の一部をひらがなで書いた場合(「京都」を「京と」とするような)などは、特に間違えてしまうことがある。そのため、品詞別細分類選択領域A117の「その他」(図8(b))から品詞を変更したり、文節の切れ目の間違いを前または後ろの文字とくっつけて訂正する等の指定ができるようにしてもよい。また、「知識」と書いたつもりが、「識」が「織」と誤認識された場合、1文字であればどちらも同じ程度に正しいが、形態素解析の結果から、前の文字の「知」と結合して1つの名詞を構成することが分かれば、「識」の確度が高いことが分かる。これにより、候補文字列の優先順位を適切に変更できる。 However, morphological analysis is especially wrong when you enter it from the middle of a sentence or when you write a part of a noun that can be written in kanji in hiragana (such as “Kyoto” is “Kyoto”). There is. Therefore, it is possible to specify such as changing the part of speech from “others” (FIG. 8B) in the subcategory sub-category selection area A117 or correcting the mistake in the break of the phrase by attaching it to the preceding or following character. May be. In addition, if you intend to write “knowledge” but “knowledge” is misrecognized as “weave”, both of them are correct to the same extent if there is only one character. ”, It can be seen that the accuracy of“ knowledge ”is high. Thereby, the priority of a candidate character string can be changed appropriately.
文字編集表示設定部127Cは、文字編集表示設定部127と同様に、文字指定部112Cから文字(ユーザが第一候補文字c2から誤認識した文字であると指定した文字)の指定を取得し、当該指定文字に対応する第二候補以降の次候補文字c3を取得し、その表示を表示制御部126に指示する。また、文字編集表示設定部127Cは、ヒント情報認識部128Bが取得したヒント情報c4に基づいて、認識文字メモリ123Cに保持されている複数の認識文字から、次候補文字c3への絞り込みを、候補制御部124に指示する。そして、候補制御部124は、ヒント情報認識部128が認識したヒント情報c4に基づいて、入力文字認識部121が生成した認識文字から候補文字(第一候補文字c2、次候補文字c3)を抽出する。
Similarly to the character editing
さらに、文字編集表示設定部127Cは、特に、文字指定部112Cから文字列(ユーザが形態素解析結果c7から誤認識した文字列であると指定した文字列)の指定を取得したとき、品詞別細分類選択領域A117の表示を表示制御部126に指示し、上記指定された文字列の品詞に応じた細分類をユーザに選択させる。また、文字編集表示設定部127Cは、上記選択された細分類に合致するように生成された、上記指定された文字列に対応する候補文字列(第一候補、第二候補以降の次候補文字列(候補文字)c8)を取得し、その表示を表示制御部126に指示する。また、文字編集表示設定部127Cは、ヒント情報認識部128Bが取得したヒント情報c4に基づいて、上記選択された細分類に合致するように生成された複数の認識文字列から候補文字列への絞り込みを、候補制御部124に指示する。そして、候補制御部124は、ヒント情報認識部128が認識したヒント情報c4に基づいて、入力文字認識部121が生成した認識文字列から候補文字列(形態素解析結果c7、次候補文字列c8)を抽出する。
Further, when the character editing
このように、文字編集表示設定部127Cは、連続して入力された複数の手書き文字c1に対応する複数の候補文字(次候補文字列c8)を一組にして提示することができる。同様に、文字編集表示設定部125は、連続して入力された複数の手書き文字c1に対応する複数の候補文字(形態素解析結果c7)を一組にして提示することができる。
In this way, the character editing
なお、入力文字認識部121C、認識文字メモリ123C、文字編集表示設定部127C、品詞認識部129以外の、文字認識部122、候補制御部124、文字入力表示設定部125、表示制御部126、ヒント情報認識部128Bは、それぞれ、構成例1、2と同一の機能を有するので、その説明を省略する。
In addition, the
(文字入力の詳細)
図3、図8を参照しながら、文字入力装置100Cにおける手書き入力処理の流れを説明する。図8は、文字入力装置100Cにおける手書き入力処理の際に表示する画面の遷移図であり、(a)は手書き文字c1を認識し、第一候補文字c2および形態素解析結果c7を表示した画面例を示し、(b)は形態素解析結果c7から誤認識文字(列)が指定されたとき、品詞別細分類選択領域A117を表示した画面例を示し、(c)は形態素解析結果c7から指定された誤認識文字(列)に対して次候補文字列c8を表示した画面例を示す。
(Details of character input)
The flow of handwriting input processing in the character input device 100C will be described with reference to FIGS. FIG. 8 is a transition diagram of a screen displayed during the handwriting input process in the character input device 100C. FIG. 8A is a screen example in which the handwritten character c1 is recognized and the first candidate character c2 and the morphological analysis result c7 are displayed. (B) shows an example of a screen displaying the part-of-speech sub-category selection area A117 when a misrecognized character (column) is designated from the morphological analysis result c7. (C) is designated from the morphological analysis result c7. A screen example in which the next candidate character string c8 is displayed with respect to the erroneously recognized character (string) is shown.
なお、図3のステップのうち、構成例1と同内容の処理のステップについてはその説明を省略する。 Note that, among the steps in FIG. 3, the description of the processing steps having the same contents as those in Configuration Example 1 is omitted.
文字入力装置100Cでは、手書き文字c1を取得したとき、入力文字認識部121Cが入力された手書き文字c1を取得し、文字認識部122によって文字認識を行う(文字認識ステップ)とともに、品詞認識部129によって形態素解析を行う(形態素解析ステップ)(S12)。入力文字認識部121Cは、文字認識の結果得られた認識文字(文字コード)を、手書き文字c1の文字毎に、認識確度と対応付けて認識文字メモリ123に記憶するとともに、形態素解析の結果得られた認識文字列(文字コード)(形態素解析結果c7)を、手書き文字c1の文字と対応付けて認識文字メモリ123に記憶する。
In the character input device 100C, when the handwritten character c1 is acquired, the input character recognizing unit 121C acquires the input handwritten character c1, and the
次に、文字入力表示設定部125が、候補制御部124を介して、認識文字メモリ123から、手書き文字c1の文字毎に第一候補である第一候補文字c2を取得し、表示制御部126へ送る。これと同時に、文字入力表示設定部125は、候補制御部124を介して、認識文字メモリ123から、手書き文字c1の文字に対応する形態素解析結果c7を取得し、表示制御部126へ送る。そして、表示制御部126は、入力文字認識部121から送られた手書き文字c1と共に、第一候補文字c2および形態素解析結果c7を表示部130に表示させる(S13、図8(a))。
Next, the character input
図8(a)の例では、「京都にいく」と手書き入力され、その認識結果の第一候補文字c2である「京」「部」「に」「行」「く」の各文字が、手書き文字c1の一文字ずつ対応付けて表示されている。これとともに、形態素解析結果c7である「京部」「に」「行く」の各文字列が、手書き文字c1に対応付けて表示されている。 In the example of FIG. 8A, “go to Kyoto” is input by handwriting, and the characters “K”, “part”, “ni”, “line”, and “ku”, which are the first candidate characters c2 of the recognition result, The handwritten characters c1 are displayed in association with each other. At the same time, the character strings “Kyobe”, “Ni”, and “Go”, which are morphological analysis results c7, are displayed in association with the handwritten character c1.
図8(a)に示すように、形態素解析結果c7は、品詞認識部129によって行われた形態素解析の結果として、名詞、動詞、形容詞、助詞、助動詞、副詞などでグループ化した文字列として表示される。なお、形態素解析結果c7は、品詞によって色を変更したり、品詞名を横に表示する等して、ユーザが品詞を判断できるように提示してもよい。
As shown in FIG. 8A, the morphological analysis result c7 is displayed as a character string grouped by nouns, verbs, adjectives, particles, auxiliary verbs, adverbs, etc., as a result of the morphological analysis performed by the part of
次に、文字編集表示設定部127が、ユーザにより文字指定部112を介して、表示した第一候補文字c2から誤認識文字の選択を取得する(S14)。これと同時に、文字編集表示設定部127が、ユーザにより文字指定部112を介して、表示した形態素解析結果c7から誤認識文字列の選択を取得する(S14)。そして、形態素解析結果c7からの誤認識文字列の選択を取得した場合(S14においてYES)、選択された形態素解析結果c7の文字列の品詞に応じた細分類をユーザに選択させるための品詞別細分類選択領域A117を表示する(図8(b))。なお、図8(b)では、品詞別細分類選択領域A117をヒント情報入力領域A113の下(ヒント情報種類選択領域A116の位置)に表示しているが、例えば、選択された形態素解析結果c7の文字列に近接して表示してもよい。
Next, the character editing /
図8(b)の例では、形態素解析結果c7である「京部」がユーザによってタップされた結果、「京部」が名詞と判定されているので、名詞の細分類として「地名」「人名(姓と名)」「人名(姓のみ)」「人名(名のみ)」「顔文字」「その他」が表示されている。なお、細分類として表示する項目は、各品詞の細分類として特定可能なものであれば、内容および数を任意に選択できる。 In the example of FIG. 8B, since “Kyobe”, which is the morphological analysis result c7, is tapped by the user, “Kyobe” is determined to be a noun. (First name and last name), “Person name (last name only)”, “Person name (first name only)”, “Emoji” and “Others” are displayed. In addition, as long as the items displayed as the fine classification can be specified as the fine classification of each part of speech, the contents and the number can be arbitrarily selected.
次に、文字編集表示設定部127が、ユーザにより文字指定部112を介して、品詞別細分類選択領域A117から細分類の選択を取得すると、指定された誤認識文字列(形態素解析結果c7)に対応する候補文字列を、候補制御部124を介して、認識文字メモリ123から取得する。このとき、候補制御部124は、文字編集表示設定部127の要求に対して、指定された形態素解析結果c7に含まれる認識文字が認識されたオブジェクト(手書き文字c1に含まれる1文字分)に対応付けられた認識文字を、選択された細分類に合致するように組み合わせて得られた文字列から、認識確度の順に所定の個数を抽出して返す。そして、文字編集表示設定部127は、抽出された第一候補の文字列を誤認識文字列(形態素解析結果c7)の代わりに、また、抽出された第二候補以降の文字列を次候補文字列c8として誤認識文字列に対応付けて、表示制御部126を介して、表示部130に表示させる(S15、図8(c))。
Next, when the character editing /
このとき、文字入力装置100Cでは、ヒント情報入力領域A113およびヒント情報種類選択領域A116が画面に表示され、候補文字列の絞り込みのためのヒント情報c4およびヒント情報種類情報c6の入力が可能となる。 At this time, in the character input device 100C, the hint information input area A113 and the hint information type selection area A116 are displayed on the screen, and the hint information c4 and the hint information type information c6 for narrowing down candidate character strings can be input. .
図8(c)の例では、ユーザが誤認識文字列として形態素解析結果c7である「京部」を指定し、さらに、品詞の細分類として「地名」を選択した結果、第一候補として「京都」が表示され、次候補文字列c8として「東都」「東邦」「東京都」が表示されている。 In the example of FIG. 8C, the user designates “Kyobe” as the morphological analysis result c7 as the misrecognized character string, and further selects “place name” as the subcategory of parts of speech. “Kyoto” is displayed, and “Toto”, “Toho”, and “Tokyo” are displayed as the next candidate character string c8.
ここで、候補文字列として、文字認識の結果である認識文字の組み合わせ(図8(c)の例では、「京都」「東都」「東邦」)だけでなく、「東京都」のように、認識した文字(列)を所定の辞書(予測辞書)に基づいて変換した文字列を一緒に提示してもよい。なお、このような変換としては、かな漢字変換や、日英翻訳のように日本語から英語への変換も利用できる。また、認識文字列が確定した時、その確定の過程でユーザが選択した品詞の細分類を特定する情報(細分類名など)を付加して、認識文字列をユーザ登録辞書(辞書DB141)に登録してもよい。例えば、「人名(姓)」が品詞の細分類として選択された後で選択された認識文字列には、「人名(姓)」を付加情報として付加して辞書登録する。また、認識文字列を辞書登録する際には、今後の認識において優先的に提示できるように優先度を高めるように学習してもよい。例えば、認識確度を補正できるようにしておいてもよい。 Here, as a candidate character string, not only a combination of recognized characters as a result of character recognition (in the example of FIG. 8C, “Kyoto” “Toto” “Toho”) but also “Tokyo” A character string obtained by converting the recognized character (string) based on a predetermined dictionary (predictive dictionary) may be presented together. As such conversion, conversion from Japanese to English, such as Kana-Kanji conversion or Japanese-English translation, can be used. Further, when the recognized character string is confirmed, information (subclass name etc.) for specifying the subcategory of the part of speech selected by the user in the determination process is added, and the recognized character string is added to the user registration dictionary (dictionary DB 141). You may register. For example, “person name (last name)” is added as additional information to the recognition character string selected after “person name (last name)” is selected as a subcategory of part of speech, and is registered in the dictionary. Further, when registering the recognized character string in the dictionary, it may be learned to increase the priority so that it can be preferentially presented in future recognition. For example, the recognition accuracy may be corrected.
次に、図3に示すように、ステップS16において、表示した次候補文字列c8から正しい認識文字としてユーザにより候補文字列が指定されなかった場合(S16においてNO)、ヒント情報入力部113が、ヒント情報種類選択領域A116からヒント情報種類情報c6を、ヒント情報入力領域A113からヒント情報c4をそれぞれ取得する。そして、表示編集表示設定部127が、ヒント情報種類情報c6を用いて文字認識して得た結果に基づいて、候補文字列を抽出するための条件を設定し、候補制御部124に候補文字列の抽出を指示する(S17;ヒント情報認識ステップ)。それ以後の処理については、構成例1と同様である。
Next, as shown in FIG. 3, when a candidate character string is not designated as a correct recognized character from the displayed next candidate character string c8 in step S16 (NO in S16), the hint
なお、形態素解析結果c7の候補文字列を絞り込むためのヒント情報c4は、一文字の候補文字を絞り込むためのヒント情報c4と基本的には同じである。ただし、候補文字列の場合、文字が複数であるため、次のようにしてもよい。(1)「部首」の指定は、候補文字列の先頭文字から順に入力することにしてもよい。この場合、どの文字の部首を入力中であるかが分かるように、形態素解析結果c7の文字とヒント情報入力領域A113への入力とを対応付けて表示色を変えるなど、表示形態を変えることが好ましい。もちろん、このような表示は、1文字の場合にも同様に行ってもよい。(2)また、候補文字列のうち正しく認識された文字については、ヒント情報c4の入力をスキップできるようなボタン等をヒント情報入力領域A113の該当文字の欄に表示したり、スキップ操作を割り当てたジェスチャなどを用意してもよい。 The hint information c4 for narrowing down the candidate character string of the morphological analysis result c7 is basically the same as the hint information c4 for narrowing down one candidate character. However, in the case of a candidate character string, since there are a plurality of characters, the following may be performed. (1) The designation of “radical” may be entered in order from the first character of the candidate character string. In this case, the display form is changed, for example, by changing the display color by associating the character in the morphological analysis result c7 with the input to the hint information input area A113 so that it can be understood which character radical is being input. Is preferred. Of course, such a display may be performed in the same way even in the case of one character. (2) For characters that are recognized correctly in the candidate character string, a button or the like that can skip the input of the hint information c4 is displayed in the corresponding character column of the hint information input area A113, or a skip operation is assigned. You may prepare gestures.
(まとめ)
以上のように、本構成例によれば、入力した手書き文字を認識するとき、文字単位での文字認識と形態素解析を行う。これにより、文脈や単語の意味を反映させて認識させることができる。
(Summary)
As described above, according to the present configuration example, when an input handwritten character is recognized, character recognition and morphological analysis are performed in units of characters. As a result, the context and the meaning of the word can be reflected and recognized.
〔変形例〕
上述のように、文字入力装置100は、タッチパネル上に描かれた手書き文字c1を文字認識することにより、文字を入力する装置である。しかし、手書き文字c1の入力方法は、タッチパネルからに限定されない。例えば、あらかじめ保存されている手書き文字c1の画像データを、記憶媒体から手書き文字入力部111が読み込んでもよい。
[Modification]
As described above, the
手書き文字c1の画像データは、例えば、文字が手書きされた紙をスキャンして読み取ったものでもよい。なお、画像データの場合、書き順や入力スピードなどのデータが取得できない。したがって、タッチパネルからリアルタイムに取得する方が、取得できる情報量が多いため、精度の高い文字認識結果を提示できる可能性が高い。 The image data of the handwritten character c1 may be, for example, scanned and read paper on which the character is handwritten. In the case of image data, data such as the stroke order and input speed cannot be acquired. Therefore, since the amount of information that can be acquired in real time from the touch panel is large, there is a high possibility that a highly accurate character recognition result can be presented.
また、手書き文字c1をデータファイルから入力する場合、一部の文字が文字コードに変換済みである場合がある(図9(a))。この場合、文字入力装置100は、文字コードに変換されていない部分のみを手書き文字c1として、それを上述した処理によって文字コード(第一候補文字c2)に変換することができる。また、文字コードに変換済みの部分c11についても、手書き文字の画像データが利用できる場合には、文字コードに変換済みの部分を画像データに戻し、文字コードに変換されていない部分を含めて全体を文字c1として、それを上述した処理によって文字コードに変換することができる。これにより、例えば、本来2文字なのに、間違って1文字として文字コードに変換した場合や、その逆の場合に、文字コードへの変換をやり直すことができる。その際、手書き状態で1文字の範囲を指定できることが好ましい。
In addition, when the handwritten character c1 is input from the data file, some characters may have been converted into character codes (FIG. 9A). In this case, the
また、画像データに活字文字と手書き文字が含まれる場合、例えば、活字の文字が書かれた紙に、文字を手書きして、スキャンした画像データの場合、文字入力装置100は、活字文字c12についてはOCR(optical character reader)の手法を用いて文字コードc2′に変換し、手書き文字c1については上述した処理によって文字コード(第一候補文字c2)に変換することができる(図9(b))。
In addition, when the image data includes type characters and handwritten characters, for example, in the case of scanned image data in which characters are handwritten on a paper on which type characters are written, the
さらに、読み込んだ画像データや手書き文字に対しての再認識だけでなく、その上から手書きした手書き文字を認識し、その認識結果を上記読み込んだ画像データや手書き文字と置き換えてもよい。 Furthermore, not only re-recognition of the read image data and handwritten characters, but also handwritten handwritten characters may be recognized, and the recognition result may be replaced with the read image data and handwritten characters.
〔実施の形態に含まれる構成(技術的手段)の組み合わせについて〕
上述した実施の形態に含まれる構成は、適宜組み合わせられることに注意する。すなわち、本発明は上述した実施の形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施の形態についても本発明の技術的範囲に含まれる。
[Combination of configurations (technical means) included in the embodiment]
Note that the configurations included in the above-described embodiments can be combined as appropriate. That is, the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.
〔ソフトウェアによる実現例〕
最後に、文字入力装置100の各ブロック、特に文字入力部110、制御部120の各ブロックは、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。
[Example of software implementation]
Finally, each block of the
後者の場合、文字入力装置100は、各機能を実現するプログラムの命令を実行するCPU、上記プログラムを格納したROM(Read Only Memory)、上記プログラムを展開するRAM、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである文字入力装置100の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、文字入力装置100に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。
In the latter case, the
上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ類、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク類、ICカード(メモリカードを含む)/光カード等のカード類、マスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ類、あるいはPLD(Programmable logic device)やFPGA(Field Programmable Gate Array)等の論理回路類などを用いることができる。 Examples of the recording medium include tapes such as magnetic tapes and cassette tapes, magnetic disks such as floppy (registered trademark) disks / hard disks, and disks including optical disks such as CD-ROM / MO / MD / DVD / CD-R. IC cards (including memory cards) / optical cards, semiconductor memories such as mask ROM / EPROM / EEPROM / flash ROM, PLD (Programmable logic device), FPGA (Field Programmable Gate Array), etc. Logic circuits can be used.
また、文字入力装置100を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークは、プログラムコードを伝送可能であればよく、特に限定されない。例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、この通信ネットワークを構成する伝送媒体も、プログラムコードを伝送可能な媒体であればよく、特定の構成または種類のものに限定されない。例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line)回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、IEEE802.11無線、HDR(High Data Rate)、NFC(Near Field Communication)、DLNA(Digital Living Network Alliance)、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。
Further, the
このように、本明細書においては、手段とは必ずしも物理的手段を意味せず、各手段の機能がソフトウェアによって実現される場合も含む。また、1つの手段の機能が2つ以上の物理的手段により実現されてもよいし、2つ以上の手段の機能が1つの物理的手段により実現されてもよい。 As described above, in this specification, the means does not necessarily mean a physical means, and includes the case where the function of each means is realized by software. Further, the function of one means may be realized by two or more physical means, and the function of two or more means may be realized by one physical means.
本発明は、手書き文字を認識することにより文字入力を行う装置、例えば、タッチパネルのディスプレイを搭載したスマートフォン端末やタブレット端末に広く適用可能である。 The present invention is widely applicable to devices that perform character input by recognizing handwritten characters, for example, smartphone terminals and tablet terminals equipped with a touch panel display.
100(100A、100B、100C) 文字入力装置
121(121C) 入力文字認識部(文字認識手段)
124 候補制御部(候補文字抽出手段)
125 文字入力表示設定部(文字確定手段)
128(128A、128B) ヒント情報認識部(ヒント情報認識手段)
c1 手書き文字
c2 第一候補文字(候補文字)
c3 次候補文字(候補文字)
c4 ヒント情報
c5 確定文字
c6 ヒント情報種類情報
c7 形態素解析結果(候補文字)
c8 次候補文字列(候補文字)
S12 文字認識ステップ
S17 ヒント情報認識ステップ
S18 候補文字抽出ステップ
S21 文字確定ステップ
100 (100A, 100B, 100C) Character input device 121 (121C) Input character recognition unit (character recognition means)
124 Candidate control unit (candidate character extraction means)
125 Character input display setting part (character confirmation means)
128 (128A, 128B) Hint information recognition unit (hint information recognition means)
c1 Handwritten character c2 First candidate character (candidate character)
c3 Next candidate character (candidate character)
c4 Hint information c5 Fixed character c6 Hint information type information c7 Morphological analysis result (candidate character)
c8 Next candidate character string (candidate character)
S12 Character recognition step S17 Hint information recognition step S18 Candidate character extraction step S21 Character confirmation step
Claims (7)
手書き文字を認識して複数の認識文字を生成する文字認識手段と、
上記文字認識手段が生成した認識文字から候補文字を抽出する候補文字抽出手段と、
上記候補文字抽出手段が抽出した候補文字をユーザに提示し、ユーザによって選択された候補文字を上記手書き文字に対応する確定文字として特定する文字確定手段と、
手書き入力されたヒント情報を認識するヒント情報認識手段とを備え、
上記候補文字抽出手段は、上記ヒント情報認識手段が認識したヒント情報に基づいて、上記認識文字からの上記候補文字の抽出を行うことを特徴とする文字入力装置。 A character input device for inputting characters by recognizing handwritten characters,
Character recognition means for recognizing handwritten characters and generating a plurality of recognized characters;
Candidate character extraction means for extracting candidate characters from the recognized characters generated by the character recognition means;
Character confirmation means for presenting candidate characters extracted by the candidate character extraction means to the user, and specifying the candidate characters selected by the user as confirmed characters corresponding to the handwritten characters;
A hint information recognition means for recognizing handwritten hint information,
The character input device, wherein the candidate character extraction unit extracts the candidate character from the recognized character based on the hint information recognized by the hint information recognition unit.
手書き文字を認識して複数の認識文字を生成する文字認識ステップと、
手書き入力されたヒント情報を認識するヒント情報認識ステップと、
上記ヒント情報認識ステップにて認識したヒント情報に基づいて、上記文字認識ステップにて生成した認識文字から候補文字を抽出する候補文字抽出ステップと、
上記候補文字抽出ステップにて抽出した候補文字をユーザに提示し、ユーザによって選択された候補文字を上記手書き文字に対応する確定文字として特定する文字確定ステップとを含むことを特徴とする文字入力装置の制御方法。 A method for controlling a character input device that performs character input by recognizing handwritten characters,
A character recognition step for recognizing handwritten characters and generating a plurality of recognized characters;
A hint information recognition step for recognizing handwritten hint information;
A candidate character extraction step for extracting candidate characters from the recognized characters generated in the character recognition step based on the hint information recognized in the hint information recognition step;
A character input device including: a candidate character extracted in the candidate character extraction step; and a character determination step for specifying the candidate character selected by the user as a fixed character corresponding to the handwritten character. Control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012083824A JP2013214187A (en) | 2012-04-02 | 2012-04-02 | Character input device, method for controlling character input device, control program and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012083824A JP2013214187A (en) | 2012-04-02 | 2012-04-02 | Character input device, method for controlling character input device, control program and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013214187A true JP2013214187A (en) | 2013-10-17 |
Family
ID=49587469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012083824A Pending JP2013214187A (en) | 2012-04-02 | 2012-04-02 | Character input device, method for controlling character input device, control program and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013214187A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063176A (en) * | 2014-06-25 | 2014-09-24 | 哈尔滨工业大学深圳研究生院 | Handwriting sequence editable continuous handwriting input method and system |
JP2018530051A (en) * | 2015-08-25 | 2018-10-11 | マイスクリプト | System and method for guiding handwriting input |
US20230266875A1 (en) * | 2020-08-31 | 2023-08-24 | Kiyoshi Kasatani | Display apparatus, input method, and program |
-
2012
- 2012-04-02 JP JP2012083824A patent/JP2013214187A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063176A (en) * | 2014-06-25 | 2014-09-24 | 哈尔滨工业大学深圳研究生院 | Handwriting sequence editable continuous handwriting input method and system |
JP2018530051A (en) * | 2015-08-25 | 2018-10-11 | マイスクリプト | System and method for guiding handwriting input |
US20230266875A1 (en) * | 2020-08-31 | 2023-08-24 | Kiyoshi Kasatani | Display apparatus, input method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210406578A1 (en) | Handwriting-based predictive population of partial virtual keyboards | |
US10275152B2 (en) | Advanced methods and systems for text input error correction | |
JP4749468B2 (en) | Handwritten character recognition in electronic devices | |
JP4095050B2 (en) | Character recognition apparatus and method | |
JP4413868B2 (en) | Character input device, copier equipped with character input device, character input method, control program, and recording medium | |
TW200538969A (en) | Handwriting and voice input with automatic correction | |
JP5947887B2 (en) | Display control device, control program, and display device control method | |
JP2003162687A (en) | Handwritten character-inputting apparatus and handwritten character-recognizing program | |
US20190196712A1 (en) | Systems and Methods for Facilitating Data Entry into Small Screen Electronic Devices | |
WO2006115825A2 (en) | Abbreviated handwritten ideographic entry phrase by partial entry | |
JP4890551B2 (en) | Character conversion device and method for controlling character conversion device | |
JP4661924B2 (en) | Electronic device and program with dictionary function | |
JP2013214187A (en) | Character input device, method for controlling character input device, control program and recording medium | |
JP2008090624A (en) | Input character edition device, input character edition method, input character edition program and recording medium | |
US20130073572A1 (en) | Method of learning character segments from received text, and associated handheld electronic device | |
KR100506231B1 (en) | Apparatus and method for inputting character in terminal having touch screen | |
JP2007213615A (en) | Touch type key input device, touch type key input method and program | |
JP4646512B2 (en) | Electronic device and electronic dictionary device | |
JP5141130B2 (en) | Electronic device and program having dictionary function | |
CN111966267A (en) | Application comment method and device and electronic equipment | |
WO2017098869A1 (en) | Personal dictionary creation program, personal dictionary creation method, and personal dictionary creation device | |
JPH07302306A (en) | Character inputting device | |
CA2658586C (en) | Learning character segments from received text | |
JPH0562008A (en) | Character recognition method | |
CA2653823C (en) | Method of learning a context of a segment of text, and associated handheld electronic device |