JP2014056389A - Character recognition device, character recognition method and program - Google Patents
Character recognition device, character recognition method and program Download PDFInfo
- Publication number
- JP2014056389A JP2014056389A JP2012200408A JP2012200408A JP2014056389A JP 2014056389 A JP2014056389 A JP 2014056389A JP 2012200408 A JP2012200408 A JP 2012200408A JP 2012200408 A JP2012200408 A JP 2012200408A JP 2014056389 A JP2014056389 A JP 2014056389A
- Authority
- JP
- Japan
- Prior art keywords
- character
- character string
- candidate
- processing unit
- character recognition
- 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 recognition device, a character recognition method, and a program for recognizing handwritten characters.
ユーザが指或いはスタイラスペンのような指示媒体を介してタッチパネルに対して手書き入力した文字を認識する先行技術として、例えば特許文献1及び2が知られている。
For example,
特許文献1に示す情報処理装置は、入力された筆跡を検出して筆跡認識処理を行い、筆跡情報と、筆跡認識処理結果としての複数の認識結果とを対応付けて記憶する。情報処理装置は、複数の認識結果に対応する筆跡情報と、その前後の筆跡情報に対応する複数の認識結果とを連結し、文脈に基づいて認識候補の優先度を再決定して絞り込みを行うことで、1つの認識候補を選定する。
The information processing apparatus shown in
特許文献2に示すデータ処理装置は、複数の文字候補の1つが表示されている手書き文字入力枠がペンにより指定されると、手書き文字入力枠の手書き文字に対する文字候補と、入力枠の削除、手書き文字の書き直し等の実行が可能な編集コマンドとを一括して表示する。更に、データ処理装置は、文字候補のいずれかが選択された場合は、手書き文字入力枠の文字候補を、選択された文字候補に変更して表示する。 In the data processing device shown in Patent Literature 2, when a handwritten character input frame on which one of a plurality of character candidates is displayed is designated by a pen, a character candidate for a handwritten character in the handwritten character input frame, and deletion of the input frame, Edit commands that can be executed such as rewriting handwritten characters are displayed together. Furthermore, when any of the character candidates is selected, the data processing apparatus changes the character candidate in the handwritten character input frame to the selected character candidate and displays it.
しかしながら、特許文献1に示す情報処理装置は、入力された筆跡に対する筆跡認識処理の認識結果が正しい文字列であるにも拘わらず、前後の筆跡情報との文脈を考慮して認識候補を絞り込む。このため、入力された筆跡によっては、ユーザが意図しない認識候補が選定されてしまい、ユーザが手書きした文字列が誤認識されてしまうことがあった。
However, the information processing apparatus disclosed in
また、特許文献2に示すデータ処理装置では、手書き入力された文字列が誤認識された場合に、ユーザが誤認識されたことに気付かないことがある。仮に、ユーザが誤認識されたことに気付いたとしても、誤認識された認識候補を修正する場合には、所定の操作を行って認識候補の一覧を表示させ、更に正しい認識候補を選択する必要があったのでユーザの操作が煩雑であった。 Further, in the data processing device shown in Patent Document 2, when a handwritten input character string is erroneously recognized, the user may not be aware that the user has been erroneously recognized. Even if the user notices that the recognition error has occurred, in order to correct a recognition candidate that has been erroneously recognized, it is necessary to perform a predetermined operation to display a list of recognition candidates and to further select the correct recognition candidate. As a result, the user's operation was complicated.
本発明は、上述した従来の課題を解決するために、入力された文字列に対する文脈補正が実行されたことを容易に気付かせ、必要に応じて文脈補正後の文字列に対する修正指示を適時に促す文字認識装置、文字認識方法及びプログラムを提供することを目的とする。 In order to solve the above-described conventional problems, the present invention makes it easy to notice that context correction has been performed on an input character string, and if necessary, a correction instruction for the character string after context correction is appropriately issued. An object of the present invention is to provide a character recognition device, a character recognition method, and a program for prompting.
本発明の文字認識装置は、画面にデータを表示する表示部と、前記画面に対応して設けられ、手書き入力を受け付けるタッチパネルと、前記手書き入力された筆跡を文字認識する文字認識処理部と、前記文字認識された文字認識結果を前記画面に表示させる認識文字表示処理部と、前記手書き入力された筆跡が2文字以上である場合に、前記筆跡の前後の文字列との文脈を基に、前記筆跡のうちいずれかの文字列を補正する文脈補正処理部と、前記いずれかの文字列が文脈補正されたか否かを判定する置換判定部と、前記いずれかの文字列が文脈補正されたと判定された場合に、前記文脈補正された前記文字認識結果の文字列の表示位置の周囲に、前記文脈補正前の前記文字認識結果の文字列を第一候補の文字列として表示させる第一候補表示処理部と、を備える。 A character recognition device according to the present invention includes a display unit that displays data on a screen, a touch panel that is provided in correspondence with the screen and receives handwritten input, a character recognition processing unit that recognizes the handwritten handwritten character, Based on the context of the recognized character display processing unit that displays the character recognition result of the character recognition on the screen and the character string before and after the handwriting when the handwritten input handwriting is two or more characters, A context correction processing unit that corrects any character string in the handwriting, a replacement determination unit that determines whether or not any of the character strings has been context corrected, and any of the character strings has been context corrected. A first candidate that, when determined, displays the character recognition result character string before the context correction as a first candidate character string around a display position of the character string of the character correction result subjected to the context correction; table Comprising a processing unit.
上述の構成によれば、入力された文字列に対する文脈補正が実行されたことを置換判定部において判定し、文脈補正された文字認識結果の文字列の表示位置の周囲に、文脈補正前の文字認識結果の文字列を第一候補の文字列として表示させるので、入力された文字列に対する文脈補正が実行されたことを容易に気付かせ、必要に応じて文脈補正後の文字列に対する修正指示を適時に促すことができる。 According to the configuration described above, the replacement determination unit determines that context correction has been performed on the input character string, and the character before the context correction is displayed around the display position of the character string of the character recognition result after context correction. Since the character string of the recognition result is displayed as the first candidate character string, it is easy to notice that the context correction for the input character string has been executed, and if necessary, an instruction to correct the character string after the context correction is given. Can prompt you in a timely manner.
また、本発明の文字認識方法は、画面にデータを表示する表示部を有する文字認識装置における文字認識方法であって、前記画面に対応して設けられ、手書き入力を受け付けるステップと、前記手書き入力された筆跡を文字認識するステップと、前記文字認識された文字認識結果を前記画面に表示させるステップと、前記手書き入力された筆跡が2文字以上である場合に、前記筆跡の前後の文字列との文脈を基に、前記筆跡のうちいずれかの文字列を補正するステップと、前記いずれかの文字列が文脈補正されたか否かを判定するステップと、前記いずれかの文字列が文脈補正されたと判定された場合に、前記文脈補正された前記文字認識結果の文字列の表示位置の周囲に、前記文脈補正前の前記文字認識結果の文字列を第一候補の文字列として表示させるステップと、を備える。 The character recognition method of the present invention is a character recognition method in a character recognition device having a display unit for displaying data on a screen, the character recognition method being provided corresponding to the screen, and receiving the handwriting input. A step of recognizing the handwritten character, a step of displaying the character recognition result of the character recognition on the screen, and a character string before and after the handwriting when the handwritten input handwriting is two or more characters, Based on the context, the step of correcting any character string in the handwriting, the step of determining whether any of the character strings has been context corrected, and the context correction of any of the character strings The character recognition result character string before the context correction is set as a first candidate character string around the display position of the character recognition result character string after the context correction. And a step of displaying Te.
上述の方法によれば、入力された文字列に対する文脈補正が実行されたことを置換判定部において判定し、文脈補正された文字認識結果の文字列の表示位置の周囲に、文脈補正前の文字認識結果の文字列を第一候補の文字列として表示させるので、入力された文字列に対する文脈補正が実行されたことを容易に気付かせ、必要に応じて文脈補正後の文字列に対する修正指示を適時に促すことができる。 According to the above-described method, the replacement determination unit determines that context correction has been performed on the input character string, and the character before the context correction is displayed around the display position of the character string as the result of character recognition after context correction. Since the character string of the recognition result is displayed as the first candidate character string, it is easy to notice that the context correction for the input character string has been executed, and if necessary, an instruction to correct the character string after the context correction is given. Can prompt you in a timely manner.
また、本発明のプログラムは、画面にデータを表示する表示部を有するコンピュータである文字認識装置に、前記画面に対応して設けられ、手書き入力を受け付けるステップと、前記手書き入力された筆跡を文字認識するステップと、前記文字認識された文字認識結果を前記画面に表示させるステップと、前記手書き入力された筆跡が2文字以上である場合に、前記筆跡の前後の文字列との文脈を基に、前記筆跡のうちいずれかの文字列を補正するステップと、前記いずれかの文字列が文脈補正されたか否かを判定するステップと、前記いずれかの文字列が文脈補正されたと判定された場合に、前記文脈補正された前記文字認識結果の文字列の表示位置の周囲に、前記文脈補正前の前記文字認識結果の文字列を第一候補の文字列として表示させるステップと、を実行させる。 The program of the present invention is provided in a character recognition device, which is a computer having a display unit for displaying data on a screen, corresponding to the screen, and accepts handwritten input. The step of recognizing, the step of displaying the recognized character recognition result on the screen, and when the handwritten input handwriting is two or more characters, based on the context of the character string before and after the handwriting A step of correcting any character string in the handwriting, a step of determining whether any of the character strings has been context-corrected, and a case of determining that any of the character strings has been context-corrected. In addition, the character recognition result character string before the context correction is displayed as a first candidate character string around the display position of the character recognition result character string after the context correction. A step that causes the execution.
上述のプログラムによれば、入力された文字列に対する文脈補正が実行されたことを置換判定部において判定し、文脈補正された文字認識結果の文字列の表示位置の周囲に、文脈補正前の文字認識結果の文字列を第一候補の文字列として表示させるので、入力された文字列に対する文脈補正が実行されたことを容易に気付かせ、必要に応じて文脈補正後の文字列に対する修正指示を適時に促すことができる。 According to the above-described program, the replacement determination unit determines that context correction has been performed on the input character string, and the character before the context correction is displayed around the display position of the character string of the character recognition result after context correction. Since the character string of the recognition result is displayed as the first candidate character string, it is easy to notice that the context correction for the input character string has been executed, and if necessary, an instruction to correct the character string after the context correction is given. Can prompt you in a timely manner.
本発明によれば、入力された文字列に対する文脈補正が実行されたことを容易に気付かせ、必要に応じて文脈補正後の文字列に対する修正指示を適時に促すことができる。 According to the present invention, it is possible to easily recognize that context correction has been performed on an input character string, and to prompt a correction instruction for the character string after context correction as needed.
以下、本発明に係る文字認識装置、文字認識方法及びプログラムのうち文字認識装置の実施形態について、図面を参照して説明する。本発明に係る文字認識装置は、データを画面(表示画面)に表示する機能を有する表示部を含む電子機器であり、例えば携帯電話機、スマートフォン、タブレット端末、デジタルスチルカメラ、PDA(personal digital assistant)又は電子書籍端末である。以下、各実施形態の文字認識装置の一例として、文字入力装置(例えばスマートフォン)を用いて説明する。 Hereinafter, embodiments of a character recognition device among character recognition devices, character recognition methods, and programs according to the present invention will be described with reference to the drawings. A character recognition device according to the present invention is an electronic device including a display unit having a function of displaying data on a screen (display screen), for example, a mobile phone, a smartphone, a tablet terminal, a digital still camera, a PDA (personal digital assistant). Or it is an electronic book terminal. Hereinafter, a character input device (for example, a smartphone) will be described as an example of the character recognition device of each embodiment.
なお、本発明は、装置としての文字入力装置、又は文字入力装置をコンピュータとして動作させるためのプログラムとして表現することも可能である。更に、本発明は、文字入力装置により実行される各動作(ステップ)を含む文字認識方法として表現することも可能である。即ち、本発明は、装置、方法及びプログラムのうちいずれのカテゴリーにおいても表現可能である。 The present invention can also be expressed as a character input device as a device or a program for operating the character input device as a computer. Furthermore, the present invention can be expressed as a character recognition method including each operation (step) executed by the character input device. That is, the present invention can be expressed in any category of an apparatus, a method, and a program.
以下の説明において、ユーザの指或いはスタイラスペンの手書き入力操作が開始又は再開する時に、指或いはスタイラスペンが文字入力装置に設けられたタッチパネルに接触するユーザの操作を、「ペンダウン」という。更に、指或いはスタイラスペンの手書き入力操作が終了する時に、指或いはスタイラスペンが文字入力装置に設けられたタッチパネルから離れるユーザの操作を、「ペンアップ」という。 In the following description, when a user's finger or stylus pen handwriting input operation starts or resumes, the user's operation in which the finger or stylus pen contacts a touch panel provided in the character input device is referred to as “pen down”. Furthermore, when the handwriting input operation of the finger or the stylus pen is completed, the user's operation of leaving the finger or the stylus pen from the touch panel provided in the character input device is referred to as “pen-up”.
また、以下の説明において、全角若しくは半角の英字、数字、記号、平仮名、片仮名、又は漢字等の少なくとも1個の文字の順序を表す配列を「文字列」という。 In the following description, an array representing the order of at least one character such as full-width or half-width English letters, numbers, symbols, hiragana, katakana, or kanji is referred to as a “character string”.
また、以下の説明において、指或いはスタイラスペンの手書き入力操作によって手書きされた筆跡の1個の文字列に対する文字認識結果の中で、最も文字認識率が高い文字列を「第一候補の文字列」という。このため、第一候補の文字列は、例えば手書き入力操作において手書きされた1文字分の筆跡が文字認識によって特定された文字列である。 In the following description, the character string having the highest character recognition rate among the character recognition results for one character string of handwriting handwritten by a handwriting input operation with a finger or a stylus pen is referred to as “first candidate character string”. " Therefore, the first candidate character string is, for example, a character string in which a handwriting for one character handwritten in a handwriting input operation is specified by character recognition.
(本実施形態の文字入力装置1の構成)
図1は、本実施形態の文字入力装置1の内部構成を示すブロック図である。文字入力装置1は、座標入力装置11、座標入力処理部12、筆跡表示処理部13、文字認識処理部14、認識文字表示処理部15、認識候補DB(Database)15a、予測変換候補生成部16、辞書DB16a、予測変換候補表示処理部17、文脈補正処理部18、認識文字置換判定部19、認識文字修正部20、第一候補表示処理部21及び表示装置22を含む。
(Configuration of the
FIG. 1 is a block diagram showing the internal configuration of the
本実施形態の文字入力装置1のうち、座標入力処理部12、筆跡表示処理部13、文字認識処理部14、認識文字表示処理部15、予測変換候補生成部16、予測変換候補表示処理部17、文脈補正処理部18、認識文字置換判定部19、認識文字修正部20及び第一候補表示処理部21の各部は、文字入力装置1に内蔵されるプロセッサ(不図示)が本発明に係るプログラムを読み込むことで実行可能となる。
Among the
なお、プロセッサは、例えばCPU(Central Processing Unit)、MPU(Micro Processing Unit)又はDSP(Digital Signal Processor)である。本発明に係るプログラム、即ち、座標入力処理部12、筆跡表示処理部13、文字認識処理部14、認識文字表示処理部15、予測変換候補生成部16、予測変換候補表示処理部17、文脈補正処理部18、認識文字置換判定部19、認識文字修正部20及び第一候補表示処理部21の各部を動作可能にさせるためのプログラムは文字入力装置1に内蔵される不図示のROM(Read Only Memory)に記憶されている。
The processor is, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), or a DSP (Digital Signal Processor). A program according to the present invention, that is, a coordinate
座標入力装置11は、表示装置22の画面(表示画面)に対応して設けられ、ユーザの指FG(図3又は図4参照)或いはスタイラスペンによる手書き入力操作を受け付けるタッチパネルを用いて構成されている。タッチパネルは、例えば指FG或いはスタイラスペンの画面に対する接触位置を検知可能な静電容量方式によって構成されるが、他の方式を用いて構成されても良い。座標入力装置11は、指FG或いはスタイラスペンによる手書き入力操作によって手書きされた筆跡を座標情報として検知して座標入力処理部12に出力する。
The
座標入力処理部12は、文字入力装置1のタイマ機能を含み、文字入力装置1の各部の動作を統括し、座標入力装置11から出力された座標情報をRAM(Random Access Memory)12aに一時的に記憶し、更に、手書き入力操作の開始又は再開時に検知される入力イベントとしてのペンダウン、又は、手書き入力操作の一時中断又は終了時に検知される入力イベントとしてのペンアップを含む各種の入力イベントに応じた処理を行う。例えば、座標入力処理部12は、座標入力装置11から出力された座標情報と、その座標情報に対応する手書き入力操作の筆跡を表示装置22に表示する旨の情報とを筆跡表示処理部13に出力する。
The coordinate
また、座標入力処理部12は、座標入力装置11から出力された座標情報を基に、例えばポップアップの表示形態にて表示された第一候補の文字列38(図2(B)参照)が指FG又はスタイラスペンによって選択された否かを判定する。座標入力処理部12は、ポップアップの表示形態にて表示された第一候補の文字列38が指FG又はスタイラスペンによって選択されたと判定した場合には、その旨の情報を認識文字修正部20に出力する。
In addition, the coordinate
また、座標入力処理部12は、座標入力装置11から出力された座標情報を基に、座標入力装置11がペンアップの入力イベントを検知してから所定時間(例えば1秒)が経過したか否かを判定する。座標入力処理部12は、座標入力装置11がペンアップの入力イベントを検知してから所定時間が経過したと判定した場合には、その旨の情報を第一候補表示処理部21に出力する。
Further, the coordinate
RAM12aは、座標入力処理部12の動作時におけるワークメモリとして設けられ、座標入力処理部12の動作時に必要となるプログラム又はデータを一時的に記憶する。例えば、RAM12aは、座標入力装置11から出力された座標情報を一時的に記憶する。
The
筆跡表示処理部13は、座標入力処理部12から出力された情報を基に、座標入力装置11から出力された座標情報に対応する手書き入力操作の筆跡の画像データ(例えばビットマップ)を、表示装置22の画面の筆跡表示領域34(図2(A)参照)に表示させる。図2(A)は、表示装置の画面に表示される表示内容を示す図である。筆跡表示領域34の縦方向及び横方向の大きさは、筆跡表示処理部13の動作において予め規定され、固定値でも良いし、可変値でも良い。
The handwriting
文字認識処理部14は、座標入力処理部12から出力された座標情報を用いて、手書き入力操作の筆跡を文字認識し、その筆跡に対応する文字コードを特定する。文字認識処理部14における文字認識は、例えば特許文献1に示されているように公知技術であるため、詳細の説明は省略する。文字認識処理部14は、特定された文字認識結果の文字列(文字コード)の情報を、認識文字表示処理部15、予測変換候補生成部16及び文脈補正処理部18にそれぞれ出力する。
The character
認識文字表示処理部15は、文字認識処理部14又は文脈補正処理部18から出力された情報を基に、手書き入力操作の筆跡に対応する文字認識結果の文字列又はその文字列が文脈補正された文字列のテキストデータを、表示装置22の画面の認識文字表示領域33(図2(A)参照)に表示させる。認識文字表示領域33の縦方向及び横方向の大きさは、認識文字表示処理部15の動作において予め規定され、固定値でも良いし、可変値でも良い。
Based on the information output from the character
また、認識文字表示処理部15は、認識文字表示領域33に表示されているいずれかの文字列に対するタッチ操作又はタップ操作があった旨の情報を座標入力処理部12から受けた場合に、タッチ操作又はタップ操作された文字列に対する複数の認識候補の情報を認識候補DB15aから取得し、複数の認識候補の一覧を、表示装置22の画面の認識候補一覧表示領域37(図2(B)参照)に表示させる。図2(B)は、表示装置22の画面に表示される表示内容を示す図である。認識候補一覧表示領域37の縦方向及び横方向の大きさは、認識文字表示処理部15の動作において予め規定され、固定値でも良いし、可変値でも良い。なお、図1の複雑化を避けるために、座標入力処理部12と認識文字表示処理部15との間の矢印の図示を省略している。
In addition, the recognized character
また、認識文字表示処理部15は、認識文字表示領域33に表示されていた文脈補正結果の文字列が第一候補の文字列38に修正された旨の情報を認識文字修正部20から受けた場合に、認識文字表示領域33に表示されていた文脈補正結果の文字列を、第一候補の文字列38に修正して表示させる。
The recognized character
認識候補DB15aは、文字列毎に、文字認識の対象となった文字列の候補のデータを、文字認識率の高い順番に記憶している。例えば図2(B)では、認識候補一覧表示領域37に表示されている文字列「ろ」に対する文字認識結果の文字列の候補として、「3」(半角数字)、「ろ」(全角ひらがな)、「つ」(全角ひらがな)、「っ」(全角ひらがな)、「フ」(全角カタカナ)及び「ア」(全角カタカナ)が示されている。
The
予測変換候補生成部16は、文字認識処理部14又は文脈補正処理部18から出力された情報を基に、辞書DB16aを参照し、文字認識結果の文字列又はその文字列が文脈補正された文字列と前方一致する少なくとも1個の予測変換候補の文字列データを抽出して生成する。
The predictive conversion
また、予測変換候補生成部16は、認識文字表示領域33に表示されていた文脈補正結果の文字列が第一候補の文字列38に修正された旨の情報を認識文字修正部20から受けた場合に、辞書DB16aを参照し、修正後の文字列(第一候補の文字列)を含む少なくとも1個の予測変換候補の文字列データを抽出して生成する。予測変換候補生成部16は、生成された少なくとも1個の予測変換候補の文字列データを予測変換候補表示処理部17に出力する。
Further, the predictive conversion
辞書DB16aは、文字入力装置1に内蔵されるハードディスク又はフラッシュメモリを用いて構成され、検索キーとなる文字列と前方一致する予測変換候補の文字列を記憶している。例えば、辞書DB16aは、検索キーが「3」である場合には、検索キー「3」と前方一致する予測変換候補(例えば「3日」、「3つ」、「3月」等)の文字列データを記憶している。
The
予測変換候補表示処理部17は、予測変換候補生成部16から出力された文字列データを、表示装置22の画面の予測変換候補表示領域32(図2(A)参照)に表示させる。
The predictive conversion candidate
文脈補正処理部18は、手書き入力された筆跡が2文字以上である旨の情報を文字認識処理部14から受けた場合に、手書き入力された筆跡の前後の文字列との文脈を基に、文字認識処理部14における文字認識結果の文字列のうちいずれかの文字列を補正(文脈補正)する。文脈補正処理部18における文脈補正は、例えば特許文献1に示されているように公知技術であるため、詳細の説明は省略する。なお、文脈補正処理部18は、手書き入力された筆跡が第1番目の文字列である旨の情報を文字認識処理部14から受けた場合には、文字認識された第1番目の文字列を文脈補正しない。
When the context
文脈補正処理部18は、文脈補正結果の文字列の文字列データを認識文字表示処理部15及び予測変換候補生成部16にそれぞれ出力し、更に、手書き入力操作された筆跡に対して文脈補正結果を実行した旨の情報を認識文字置換判定部19に出力する。
The context
ここで、文脈補正処理部18の動作の一例を、図2(A)及び(B)を参照して簡単に説明する。手書き入力された第1番目の筆跡が文字列「3」である場合には、認識文字表示処理部15は、文字認識処理部14からの文字認識結果の文字列「3」を、表示装置22の画面の認識文字表示領域33に表示させる(図2(A)参照)。
Here, an example of the operation of the context
手書き入力された第2番目の筆跡が文字列「ば」である場合には、文脈補正処理部18は、文字認識処理部14における文字認識結果の文字列(例えば「ば」)と、その前後(図2(A)及び(B)では直前)の文字列「3」との文脈を基に、文字認識処理部14における文字認識結果の文字列「3」を、文字列「ろ」に補正(文脈補正)する。認識文字表示処理部15は、文脈補正処理部18における文脈補正結果の文字列「ろ」を、表示装置22の画面の認識文字表示領域33の文字列「3」から置換するように表示させる(図2(B)参照)。また、文脈補正処理部18の動作については、図3及び図4を参照して後述する。
When the second handwritten handwritten input is the character string “B”, the context
認識文字置換判定部19は、文脈補正処理部18から出力された情報を基に、手書き入力操作された筆跡に対して文脈補正が実行されたことによって、文字認識処理部14における文字認識結果のいずれかの文字列が他の文字列に置換されたか否かを判定する。認識文字置換判定部19は、文字認識処理部14における文字認識結果のいずれかの文字列が他の文字列に置換された旨の判定結果情報を第一候補表示処理部21に出力する。
Based on the information output from the context
認識文字修正部20は、座標入力処理部12から出力された情報、即ちポップアップの表示形態にて表示された第一候補の文字列38が指FG又はスタイラスペンによって選択されたと判定した旨の情報を基に、認識文字表示領域33において第一候補の文字列38が表示された対象となった文字認識結果の文字列を、第一候補の文字列38に修正する。認識文字修正部20は、第一候補の文字列38に修正した旨の情報を認識文字表示処理部15、予測変換候補生成部16及び第一候補表示処理部21にそれぞれ出力する。
The recognized
第一候補表示処理部21は、認識文字置換判定部19から出力された情報及び座標入力処理部12から出力された情報(ペンアップから所定時間経過した旨の情報)を基に、文脈補正処理部18における文脈補正の対象となった文字列の周囲に、文脈補正前の文字認識結果の文字列である第一候補の文字列38を、ポップアップの表示形態にて表示する。例えば、第一候補表示処理部21は、文脈補正の対象となった文字列の表示位置の上部に、ポップアップの表示形態にて、第一候補の文字列38を表示する。ただし、第一候補の文字列38の表示位置は、文脈補正の対象となった文字列の表示位置の上部に限定されず、他の表示位置でも良い。詳細は図7を参照して後述する。
The first candidate
また、第一候補表示処理部21は、認識文字修正部20から出力された情報、即ち文脈補正された文字認識結果の文字列が第一候補の文字列38に修正された旨の情報を基に、ポップアップの表示形態にて表示されていた第一候補の文字列38を非表示する。
Further, the first candidate
表示装置22は、例えばLCD(Liquid Crystal Display)又は有機EL(Electroluminescence)ディスプレイを用いて構成され、筆跡表示処理部13、認識文字表示処理部15、予測変換候補表示処理部17及び第一候補表示処理部21のうち少なくとも1個の表示処理部からの指示に応じて、図2(A)又は図2(B)に示す表示内容を画面に表示する。
The
図2(A)に示す表示装置22の画面には、確定文字表示領域31、予測変換候補表示領域32(点線参照)、認識文字表示領域33(一点鎖線参照)、筆跡表示領域34(二点鎖線参照)及びキー表示領域35が配置されている。予測変換候補表示領域32は、例えば図2(A)では2段にわたって予測変換候補の文字列が表示されているが、1段或いは3段以上にわたって表示されても良い。
The screen of the
また、図2(B)に示す表示装置22の画面には、認識文字表示領域33に表示されている文字列「ろばんめ」のうち文字列「ろ」がタッチ操作された場合に、文字列「ろ」に対する文字認識の候補の一覧が、認識文字表示処理部15によって認識候補一覧表示領域37に表示されている。更に、図2(B)に示す表示装置22の画面には、認識文字表示領域33に表示されている文字列「ろばんめ」のうち文字列「ろ」の第一候補の文字列38が、ポップアップの表示形態にて表示されている。図2(B)では、第一候補の文字列38の表示位置は、文字列「ろ」の上部(真上)である。
In addition, on the screen of the
(文字入力装置の動作概要)
次に、本実施形態の文字入力装置1の動作概要を、図3及び図4を参照して説明する。図3(A)〜(C)及び図4(A)〜(C)は、本実施形態の文字入力装置1の動作概要を時系列に説明するための画面遷移図である。ここでは、文字入力装置1の動作概要を、図3(A)、図3(B)、図3(C)、図4(A)、図4(B)、図4(C)の順番に沿って、時系列に説明し、手書き入力操作の指示媒体は例えばユーザの指FGとする。
(Overview of character input device operation)
Next, an outline of the operation of the
図3(A)では、手書き入力操作の第1番目の筆跡として、文字列「3」が指FGによって手書き入力されている。筆跡表示処理部13は、座標入力処理部12からの座標情報を基に、文字列「3」の画像データを筆跡表示領域34に表示させる。認識文字表示処理部15は、文字認識処理部14における文字認識結果の文字列「3」を認識文字表示領域33に表示させる。予測変換候補表示処理部17は、予測変換候補生成部16から出力された少なくとも1個の文字列(図3(A)では、「3日」、「3」、「3月」、「3つ」、「31日」、「3D」等)の文字列データを、予測変換候補表示領域32に表示させる。
In FIG. 3A, the character string “3” is input by hand with the finger FG as the first handwriting of the handwriting input operation. The handwriting
図3(B)では、図3(A)に示す文字列「3」の手書きに続けて、手書き入力操作の第2番目の筆跡として、文字列「ば」が指FGによって手書き入力されている。筆跡表示処理部13は、座標入力処理部12からの座標情報を基に、文字列「ば」の画像データを筆跡表示領域34に表示させる。文字認識処理部14は、文字認識結果として、第2番目の筆跡の文字列「ば」を特定する。文脈補正処理部18は、第1番目の筆跡の文字列「3」と第2番目の筆跡の文字列として文字認識処理部14によって特定された文字列「ば」との文脈を基に、第1番目の筆跡の文字列「3」を文字列「ろ」に補正(文脈補正)する。認識文字表示処理部15は、文脈補正処理部18の文脈補正結果を基にして、認識文字表示領域33に表示されていた文字列「3」を文字列「ろ」に置換するように表示させる。
In FIG. 3B, following the handwriting of the character string “3” shown in FIG. 3A, the character string “BA” is input by hand with the finger FG as the second handwriting of the handwriting input operation. . The handwriting
認識文字置換判定部19は、文脈補正処理部18が第1番目の筆跡の文字列「3」を文字列「ろ」に文脈補正した旨の情報を受けて、文字認識処理部14における文字認識結果のいずれかの文字列が他の文字列に置換されたと判定し、その判定結果情報を第一候補表示処理部21に出力する。第一候補表示処理部21は、認識文字置換判定部19及び座標入力処理部12から出力された各情報を基に、ペンアップの入力イベントを検知してから所定時間が経過した場合、文脈補正された文字列「ろ」の周囲(例えば真上)に、その文字列「ろ」に対する文脈補正前の文字認識結果の文字列である第一候補の文字列38(文字列「3」)を、ポップアップの表示形態にて表示する。予測変換候補表示処理部17は、予測変換候補生成部16から出力された少なくとも1個の文字列(図3(B)では、「ロバ」、「ろば」、半角表示の「ロバ」、「路ば」)の文字列データを、予測変換候補表示領域32に表示させる。
The recognized character
図3(C)では、図3(B)に示す文字列「ば」の手書きに続けて、手書き入力操作の第3番目の筆跡として、文字列「ん」が指FGによって手書き入力されている。なお、図3(C)には図示されていないが、第2番目の筆跡の文字列「ば」の手書き入力操作が終わった後に第3番目の筆跡の文字列「ん」の手書き入力操作が開始されると、第一候補表示処理部21は、ポップアップの表示形態にて表示されていた文字列「ろ」に対する第一候補の文字列38(文字列「3」)を非表示する。
In FIG. 3C, following the handwriting of the character string “BA” shown in FIG. 3B, the character string “n” is input by hand with the finger FG as the third handwriting of the handwriting input operation. . Although not shown in FIG. 3C, the handwriting input operation for the third handwritten character string “n” is performed after the handwriting input operation for the second handwritten character string “BA” is completed. When started, the first candidate
第3番目の筆跡として文字列「ん」が指FGによって手書き入力操作が終了してペンアップの入力イベントが検知されてから所定時間が経過した場合には、図3(B)と同様に、第一候補表示処理部21は、文脈補正された文字列「ろ」の周囲(例えば真上)に、その文字列「ろ」に対する文脈補正前の文字認識結果の文字列である第一候補の文字列38(文字列「3」)を、ポップアップの表示形態にて表示する。予測変換候補表示処理部17は、予測変換候補生成部16から出力された少なくとも1個の文字列(図3(C)では、「路盤」、「路判」、「ろばん」、「ロバン」、半角表示の「ロバン」)の文字列データを、予測変換候補表示領域32に表示させる。
When a predetermined time has elapsed since the handwriting input operation was completed with the finger FG and the pen-up input event was detected as the third handwriting, the character string “n” is similar to FIG. The first candidate
図4(A)では、図3(C)に示す文字列「ん」の手書きに続けて、手書き入力操作の第4番目の筆跡として、文字列「め」が指FGによって手書き入力されている。図4(A)に示すように、第4番目の筆跡の文字列「め」の手書き入力操作が開始されると、第一候補表示処理部21は、ポップアップの表示形態にて表示されていた文字列「ろ」に対する第一候補の文字列38(文字列「3」)を非表示する。予測変換候補表示処理部17は、予測変換候補生成部16から出力された少なくとも1個の文字列(図4(A)では、「路盤目」、「路判目」、「ろばんめ」、「ロバンメ」、半角表示の「ロバンメ」)の文字列データを、予測変換候補表示領域32に表示させる。
In FIG. 4A, following the handwriting of the character string “n” shown in FIG. 3C, the character string “Me” is input by hand with the finger FG as the fourth handwriting of the handwriting input operation. . As shown in FIG. 4A, when the handwriting input operation of the fourth handwritten character string “Me” is started, the first candidate
図4(B)では、図4(A)に示す第4番目の筆跡の文字列「め」の指FGによる手書き入力操作が終了した様子が示されている。第4番目の筆跡として文字列「め」が指FGによって手書き入力操作が終了してペンアップの入力イベントが検知されてから所定時間が経過した場合には、図3(B)と同様に、第一候補表示処理部21は、文脈補正された文字列「ろ」の周囲(例えば真上)に、その文字列「ろ」に対する文脈補正前の文字認識結果の文字列である第一候補の文字列38(文字列「3」)を、ポップアップの表示形態にて表示する。
FIG. 4B shows a state in which the handwriting input operation with the finger FG of the character string “M” of the fourth handwriting shown in FIG. When the predetermined time has elapsed since the handwriting input operation was completed with the finger FG and the pen-up input event was detected as the fourth handwriting, the same as in FIG. The first candidate
ここで、指FGがポップアップの表示形態にて表示された第一候補の文字列38(文字列「3」)をタッチ操作又はタップ操作したとする。タッチ操作又はタップ操作に応じて、図4(C)に示すように、認識文字修正部20は、認識文字表示領域33において第一候補の文字列38(文字列「3」)が表示された対象となった文字認識結果の文字列「ろ」を、第一候補の文字列38(文字列「3」)に修正する。第一候補表示処理部21は、タッチ操作又はタップ操作に応じて、ポップアップの表示形態にて表示された第一候補の文字列38(文字列「3」)を非表示する。
Here, it is assumed that the finger FG performs a touch operation or a tap operation on the first candidate character string 38 (character string “3”) displayed in a pop-up display form. In response to the touch operation or the tap operation, as shown in FIG. 4C, the recognized
更に、認識文字表示処理部15は、認識文字表示領域33に表示されていた文脈補正された文字列「ろ」が第一候補の文字列38(文字列「3」)に修正された旨の情報を認識文字修正部20から受けた場合に、認識文字表示領域33に表示されていた文脈補正結果の文字列を、第一候補の文字列38に修正して表示させる。更に、予測変換候補生成部16は、認識文字表示領域33に表示されていた文脈補正された文字列が第一候補の文字列38に修正された旨の情報を認識文字修正部20から受けた場合に、辞書DB16aを参照し、第一候補の文字列38(文字列「3」)を含む少なくとも1個の予測変換候補の文字列データを抽出して生成する。
Further, the recognized character
予測変換候補表示処理部17は、予測変換候補表示領域32に表示されていた文字列(「路盤目」、「路判目」、「ろばんめ」、「ロバンメ」、半角表示の「ロバンメ」)を、予測変換候補生成部16から出力された文字列(「3番目」、「3判目」、「3ばんめ」)の文字列データに更新するように予測変換候補表示領域32に表示させる。
The prediction conversion candidate
(本実施形態の文字入力装置1の動作手順)
次に、本実施形態の文字入力装置1の動作手順について、図5及び図6を参照して説明する。図5及び図6は、本実施形態の文字入力装置1の動作手順を説明するフローチャートである。図5及び図6の説明では、必要に応じて、図3及び図4を参照する。
(Operation procedure of the
Next, the operation procedure of the
先ず、図5において、文字入力装置1は、指FG或いはスタイラスペンからの入力イベント(例えばペンダウン)の有無を座標入力装置11において監視し、入力イベントを検知するまで待機する(S11)。座標入力装置11は、指FG或いはスタイラスペンが筆跡表示領域34に対して入力イベント(例えばペンダウン)を検知した場合に限り(S11、YES)、入力イベントに応じた座標情報を座標入力処理部12に出力する。座標入力処理部12は、入力イベント(例えばペンダウン)に応じた筆跡の座標情報をRAM12aに一時的に記憶する(S12)。座標入力処理部12は、座標入力装置11から出力された座標情報と、その座標情報に対応する手書き入力操作の筆跡を表示装置22に表示する旨の情報とを筆跡表示処理部13に出力する。
First, in FIG. 5, the
筆跡表示処理部13は、座標入力処理部12から出力された各情報を基に、座標入力装置11から出力された座標情報に対応する手書き入力操作の筆跡の画像データ(例えばビットマップ)を、筆跡表示領域34(図3(A)参照)に表示させる。
The handwriting
座標入力処理部12は、座標入力装置11から出力された座標情報を基に、指FG或いはスタイラスペンが手書き入力操作の一時中断又は終了を表すペンアップの入力イベントを検知したか否かを判定する(S14)。座標入力処理部12がペンアップの入力イベントを検知しない場合には(S14、NO)、文字入力装置1の動作はステップS1に戻る。
The coordinate
一方、座標入力処理部12がペンアップの入力イベントを検知した場合には(S14、YES)、文字認識処理部14は、座標入力処理部12から出力された座標情報を用いて、手書き入力操作の筆跡を文字認識し、その筆跡に対応する文字コードを特定する(S15)。文字認識処理部14は、文字認識された文字列が手書き入力操作の筆跡の第1番目の文字列であるか否かを判定する(S16)。
On the other hand, when the coordinate
文字認識処理部14は、文字認識された文字列が手書き入力操作の筆跡の第1番目の文字列ではない、即ち文字認識された文字列が手書き入力操作の筆跡の第2番目以降の文字列であると判定した場合には(S16、NO)、特定された文字認識結果の文字列(文字コード)の情報を認識文字表示処理部15、予測変換候補生成部16及び文脈補正処理部18に出力する。
The character
文脈補正処理部18は、手書き入力された筆跡が2文字以上である旨の情報を文字認識処理部14から受けた場合に、手書き入力された筆跡の前後の文字列との文脈を基に、文字認識処理部14における文字認識結果の文字列のうちいずれかの文字列を補正(文脈補正)する(S17)。文脈補正処理部18は、文脈補正結果の文字列の文字列データを認識文字表示処理部15及び予測変換候補生成部16にそれぞれ出力し、更に、手書き入力操作された筆跡に対して文脈補正結果を実行した旨の情報を認識文字置換判定部19に出力する。
When the context
一方、文字認識処理部14は、文字認識された文字列が手書き入力操作の筆跡の第1番目の文字列であると判定した場合には(S16、YES)、その旨の判定結果を文脈補正処理部18に出力する。この場合、文脈補正処理部18は、文字認識された第1番目の文字列を文脈補正しない。
On the other hand, when the character
ステップS17の後、認識文字表示処理部15は、文字認識処理部14又は文脈補正処理部18から出力された情報を基に、手書き入力操作の筆跡に対応する文字認識結果の文字列又はその文字列が文脈補正された文字列のテキストデータを、認識文字表示領域33(図3(A)参照)に表示させる。
After step S <b> 17, the recognized character
更に、予測変換候補生成部16は、文字認識処理部14又は文脈補正処理部18から出力された情報を基に、辞書DB16aを参照し、文字認識結果の文字列又はその文字列が文脈補正された文字列と前方一致する少なくとも1個の予測変換候補の文字列データを抽出して生成する。予測変換候補生成部16は、生成された少なくとも1個の予測変換候補の文字列データを予測変換候補表示処理部17に出力する。予測変換候補表示処理部17は、予測変換候補生成部16から出力された文字列データを、表示装置22の画面の予測変換候補表示領域32(図3(A)参照)に表示させる(S18)。
Further, the predictive conversion
次に、図6において、認識文字置換判定部19は、文脈補正処理部18から出力された情報を基に、手書き入力操作された筆跡に対して文脈補正が実行されたことによって、文字認識処理部14における文字認識結果のいずれかの文字列が他の文字列に置換されたか否かを判定する(S19)。認識文字置換判定部19は、文字認識処理部14における文字認識結果のいずれかの文字列が他の文字列に置換されたと判定した場合に限り(S19、YES)、文字認識処理部14における文字認識結果のいずれかの文字列が他の文字列に置換された旨の判定結果情報を第一候補表示処理部21に出力する。
Next, in FIG. 6, the recognized character
第一候補表示処理部21は、認識文字置換判定部19から出力された情報及び座標入力処理部12から出力された情報(ペンアップから所定時間経過した旨の情報)を基に(S20、YES)、文脈補正処理部18における文脈補正の対象となった文字列の周囲に、文脈補正前の文字認識結果の文字列である第一候補の文字列38を、ポップアップの表示形態にて表示する(S21)。
The first candidate
ステップS20の所定時間は、ユーザが手書き入力操作によって文字を連続して入力する場合に、手書き入力操作中に第一候補の文字列38(文字列「3」)がポップアップの表示形態にて表示され続けることで煩わしさをユーザに感じさせないようにするために設けられた遅延時間である。 During the predetermined time of step S20, when the user continuously inputs characters by handwriting input operation, the first candidate character string 38 (character string “3”) is displayed in a pop-up display form during the handwriting input operation. This delay time is provided so that the user does not feel bothered by continuing to do so.
これにより、文字入力装置1は、ユーザの手書き入力操作中に文字を連続して手書きする場合に、ペンダウン中は第一候補の文字列を表示し続けることがなく、ペンアップして所定時間経過してから第一候補の文字列を表示するので、第一候補の文字列の表示による煩わしさをユーザに感じさせることなく手書き入力操作を行わせることができる。
Thereby, the
また、ステップS20において所定時間が経過する前に、座標入力処理部12は、座標入力装置11から出力された情報を基にしてペンダウンの入力イベント、即ち次の文字の手書き入力操作を検知した場合には(S21、YES)、タイマの計時を強制的にストップする。この後、文字入力装置1の動作はステップS12に戻る。
When the coordinate
ステップS22の後、座標入力処理部12は、座標入力装置11から出力された座標情報を基に、例えばポップアップの表示形態にて表示された第一候補の文字列38が指FG或いはスタイラスペンによって選択された否かを判定する(S23)。ポップアップ表示された第一候補(図2(B)参照)の文字列38が指FG及びスタイラスペンによって選択されていないと判定された場合には、文字入力装置1の動作は終了する。
After step S22, the coordinate
座標入力処理部12は、ポップアップ表示された第一候補の文字列38が指FG或いはスタイラスペンによって選択されたと判定した場合には(S23、YES)、その旨の情報を認識文字修正部20に出力する。認識文字修正部20は、座標入力処理部12から出力された情報、即ちポップアップの表示形態にて表示された第一候補の文字列38が指FG或いはスタイラスペンによって選択されたと判定した旨の情報を基に、認識文字表示領域33において第一候補の文字列38が表示された対象となった文字認識結果の文字列を、第一候補の文字列38に修正する(S24)。認識文字修正部20は、第一候補の文字列38に修正した旨の情報を認識文字表示処理部15、予測変換候補生成部16及び第一候補表示処理部21にそれぞれ出力する。
When the coordinate
認識文字表示処理部15は、認識文字表示領域33に表示されていた文脈補正後の文字列が第一候補の文字列38に修正された旨の情報を認識文字修正部20から受けた場合に、認識文字表示領域33に表示されていた文脈補正後の文字列を、第一候補の文字列38に修正して表示させる(S25)。
The recognized character
第一候補表示処理部21は、認識文字修正部20から出力された情報、即ち第一候補の文字列38が表示された対象となった文字列が第一候補の文字列38に修正された旨の情報を基に、ポップアップの表示形態にて表示されていた第一候補の文字列38を非表示する(S26)。これにより、文字入力装置1は、表示する必要がなくなった第一候補の文字列38を非表示することで、ユーザの注意を必要以上に惹くことがなくなるので、ユーザの手書き入力操作を簡易化させることができる。
The first candidate
予測変換候補生成部16は、認識文字表示領域33に表示されていた文脈補正後の文字列が第一候補の文字列38に修正された旨の情報を認識文字修正部20から受けた場合に、辞書DB16aを参照し、修正後の文字列(第一候補の文字列)を含む少なくとも1個の予測変換候補の文字列データを抽出して生成する。予測変換候補生成部16は、生成された少なくとも1個の予測変換候補の文字列データを予測変換候補表示処理部17に出力する。
The predictive conversion
予測変換候補表示処理部17は、予測変換候補生成部16から出力された文字列データを、画面の予測変換候補表示領域32に表示させる。例えば、予測変換候補表示処理部17は、予測変換候補表示領域32に表示されていた文字列(「路盤目」、「路判目」、「ろばんめ」、「ロバンメ」、半角表示の「ロバンメ」)を、予測変換候補生成部16から出力された文字列(「3番目」、「3判目」、「3ばんめ」)の文字列データに更新するように予測変換候補表示領域32に表示させる(S27)。これにより、文字入力装置1は、ユーザが第一候補の文字列をタッチ操作又はタップ操作によって選択したことによって、認識文字を修正し、更に、予測変換候補も更新するので、適正な予測変換候補の選択を簡易化させ、修正の手間を軽減し、修正作業を簡単且つ短時間に行わせることができる。
The predictive conversion candidate
以上により、本実施形態の文字入力装置1は、入力された文字列に対する文脈補正が実行されたことを判定し、文脈補正された文字認識結果の文字列の表示位置の周囲に、文脈補正前の文字認識結果の文字列を第一候補の文字列として表示させる。従って、文字入力装置1は、入力された文字列に対する文脈補正が実行されたことをユーザに対して容易に気付かせ、必要に応じて文脈補正後の文字列に対する修正指示をユーザに対して適時に促すことができる。
As described above, the
以上、図面を参照して各種の実施形態について説明したが、本発明はかかる例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種実施の形態の変更例または修正例、更に各種実施の形態の組み合わせ例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 Although various embodiments have been described with reference to the drawings, it goes without saying that the present invention is not limited to such examples. It is obvious for those skilled in the art that variations and modifications of various embodiments, and combinations of various embodiments can be conceived within the scope of the claims. Of course, it is understood that it belongs to the technical scope of the present invention.
例えば、上述した実施形態では、第一候補の文字列38の表示位置は、認識文字表示領域33に表示されていた認識文字の上部(真上)である旨を説明したが、認識文字の周囲であれば、特に限定されない。図7は、第一候補の文字列の表示位置のバリエーションを示す図である。図7(A)は、認識文字列「ろ」の上部に表示される例である。図7(B)は、認識文字列「ろ」の下部に表示される例である。図7(C)は、認識文字列「ろ」の右部に表示される例である。図7(D)は、認識文字列「ろ」の右上部に表示される例である。
For example, in the above-described embodiment, it has been described that the display position of the first
図7(A)では、第一候補表示処理部21は、第一候補の文字列38(文字列「3」)を、認識文字表示領域33に表示されている文脈補正後の文字列の上部であって、予測変換候補表示領域32と重ならないように表示させる。これにより、文字入力装置1は、第一候補の文字列38が予測変換候補表示領域32に表示されている少なくとも1個の予測変換候補の表示を遮らせないようにすることができる。
In FIG. 7A, the first candidate
また、図7(A)では図示されていないが、第一候補表示処理部21は、予測変換候補表示領域32と第一候補の文字列38の表示領域とが重なる状態でも、認識文字表示領域33に表示されている文脈補正後の文字列の上部に表示する場合には、半透明(半透過)の表示形態にて第一候補の文字列38(文字列「3」)を表示させても良い。これにより、文字入力装置1は、同様に第一候補の文字列38が予測変換候補表示領域32に表示されている少なくとも1個の予測変換候補の表示を遮らせないようにすることができる。
Although not shown in FIG. 7A, the first candidate
図7(B)では、第一候補表示処理部21は、第一候補の文字列38(文字列「3」)を、認識文字表示領域33に表示されている文脈補正後の文字認識結果の文字列の下部であって、予測変換候補表示領域32と重ならないように表示させる。これにより、文字入力装置1は、第一候補の文字列38が予測変換候補表示領域32に表示されている少なくとも1個の予測変換候補の表示を遮らせないようにすることができる。
In FIG. 7B, the first candidate
図7(C)では、第一候補表示処理部21は、第一候補の文字列38(文字列「3」)を、認識文字表示領域33に表示されている文脈補正後の文字認識結果の文字列の右側であって、右側に隣接する文字列との間に表示させる。また、図7(C)では図示されていないが、認識文字表示処理部15は、第一候補の文字列が表示される文脈補正結果の文字列が認識文字表示領域33に表示されている文字列の最終文字列(例えば図7(C)では文字列「め」)である場合には、必要に応じて、文字認識結果の文字列を左側にスクロールして表示させる。これにより、文字入力装置1は、第一候補の文字列38が予測変換候補表示領域32に表示されている少なくとも1個の予測変換候補の表示を遮らせないようにすることができる。
In FIG. 7C, the first candidate
図7(D)では、図7(A)と同様に、第一候補表示処理部21は、第一候補の文字列38(文字列「3」)を、認識文字表示領域33に表示されている文脈補正後の文字列の右上部であって、予測変換候補表示領域32と重ならないように表示させる。これにより、文字入力装置1は、第一候補の文字列38が予測変換候補表示領域32に表示されている少なくとも1個の予測変換候補の表示を遮らせないようにすることができる。
In FIG. 7D, as in FIG. 7A, the first candidate
図8は、複数の認識文字列の上部に複数の第一候補の文字列39が表示された例を示す図である。図8では、ユーザが手書き入力操作によって文字列「3」を四回連続して入力た場合に、文字認識処理部14は、手書き入力操作の筆跡の第1番目の文字列を文字列「3」と特定し、続けて第2番目から第4番目までの各文字列を同様に文字列「3」と特定する。ただし、文脈補正処理部18は、上述した実施形態と同様に、第2番目から第4番目までの各文字列「3」を文字列「ろ」に文脈補正する。
FIG. 8 is a diagram illustrating an example in which a plurality of first candidate character strings 39 are displayed above a plurality of recognized character strings. In FIG. 8, when the user inputs the character string “3” four times in succession by the handwriting input operation, the character
この場合、図8の矢印右側に示すように、第一候補表示処理部21は、文脈補正された第2番目から第4番目までの各文字列「ろ」に対し、複数の第一候補の文字列39(文字列「3」)を表示させる。また、図8では、第一候補表示処理部21は、第2番目から第4番目までの各文字列が全て同一である場合に限らず、各文字列が異なる場合でも、各文字列に対する第一候補の文字列を表示させても良い。
In this case, as illustrated on the right side of the arrow in FIG. 8, the first candidate
また、上述した実施形態では、認識文字の周辺に第一候補の文字を表示するタイミングは、認識文字に置換されてから所定時間経過後であったが、例えば文字認識結果の文字列が認識文字表示領域33に表示されている間では常に表示されても良い。これにより、文字入力装置1は、第一候補の文字列に対するユーザの注意を惹き易く、容易に修正を促すことができる。
In the above-described embodiment, the timing of displaying the first candidate character around the recognized character is after a predetermined time since the replacement with the recognized character. For example, the character string of the character recognition result is a recognized character. While displayed in the
また、上述した実施形態では、第一候補の文字列を非表示するタイミングは、認識文字修正部20が文脈補正された文字列を第一候補の文字列に修正して認識文字表示処理部15が文字認識結果の文字列を更新して表示させた時であった。ただし、第一候補の文字列を非表示するタイミングは、例えば、座標入力装置11がペンダウンの入力イベントを検知した時、座標入力装置11が手書きされた文字列を確定する確定操作の入力イベントを検知した時、座標入力装置11が第一候補の文字列が表示された文脈補正結果の文字列の削除操作の入力イベントを検知した時、座標入力装置11が予測変換候補表示領域32に表示されていた予測変換候補の選択操作を検知した時、文字入力装置1において文字入力アプリケーションが非表示された時等が挙げられる。更に、第一候補の文字列を非表示するタイミングは、図2(B)に示す認識候補一覧表示から任意の文字列の候補が選択された時でも良い。これにより、文字入力装置1は、各々のケースに応じた適切なタイミングで、第一候補の表示を非表示でき、ユーザの操作性を向上させることができる。
Further, in the above-described embodiment, the timing at which the first candidate character string is not displayed is the time when the recognized
また、上述した実施形態では、文脈補正処理部18は、第2番目以降の文字列が手書き入力操作によって文字認識された後に、第1番目の文字列と第2番目の文字列との文脈を基にして、第1番目の文字列を文脈補正した。ただし、文脈補正処理部18は、例えば第3番目の文字列が文字認識された後、第3番目の文字列より以前の第1番目及び第2番目の各文字列との文脈を基にして、第3番目の文字列を文脈補正しても良い。
In the above-described embodiment, the context
また、上述した実施形態では、第一候補の文字列38の表示形態は、ポップアップに限定されず、第一候補表示処理部21は、特定のマーク(例えば四角若しくは丸等)を付加して第一候補の文字列を表示又は点滅表示しても良い。また、第一候補表示処理部21は、認識文字修正部20によって置換された認識文字を反転表示したり、特定の色を付して表示したり、その認識文字又はその周囲の背景を変更することで、文脈補正によって文字認識された文字列が他の文字列に置換されたことをユーザに容易に認知させることができる。
In the embodiment described above, the display form of the first
また、上述した実施形態では、ひらがな、漢字等の文字を入力する場合を示したが、図形、記号等の特殊文字を入力する場合にも、同様に適用可能である。 In the above-described embodiment, the case where characters such as hiragana and kanji are input has been described. However, the present invention can be similarly applied when inputting special characters such as graphics and symbols.
本発明は、手書き入力を受け付ける際、入力された文字列に対する文脈補正が実行されたことを容易に気付かせ、必要に応じて文脈補正後の文字列に対する修正指示を適時に促す文字認識装置、文字認識方法及びプログラムとして有用である。 The present invention, when accepting handwritten input, easily recognizes that context correction has been performed on the input character string, and if necessary, a character recognition device that prompts a correction instruction for the character string after context correction, It is useful as a character recognition method and program.
1 文字入力装置
12 座標入力処理部
12a RAM
13 筆跡表示処理部
14 文字認識処理部
15 認識文字表示処理部
15a 認識候補DB
16 予測変換候補抽出部
16a 辞書DB
17 予測変換候補表示処理部
18 文脈補正処理部
19 認識文字置換判定部
20 認識文字修正部
21 第一候補表示処理部
22 表示装置
1
13 Handwriting
16 Predictive conversion
17 Predictive Conversion Candidate
Claims (14)
前記画面に対応して設けられ、手書き入力を受け付けるタッチパネルと、
前記手書き入力された筆跡を文字認識する文字認識処理部と、
前記文字認識された文字認識結果を前記画面に表示させる認識文字表示処理部と、
前記手書き入力された筆跡が2文字以上である場合に、前記筆跡の前後の文字列との文脈を基に、前記筆跡のうちいずれかの文字列を補正する文脈補正処理部と、
前記いずれかの文字列が文脈補正されたか否かを判定する置換判定部と、
前記いずれかの文字列が文脈補正されたと判定された場合に、前記文脈補正された前記文字認識結果の文字列の表示位置の周囲に、前記文脈補正前の前記文字認識結果の文字列を第一候補の文字列として表示させる第一候補表示処理部と、を備える文字認識装置。 A display for displaying data on the screen;
A touch panel that is provided corresponding to the screen and receives handwritten input;
A character recognition processing unit for recognizing the handwritten handwritten character;
A recognized character display processing unit for displaying the character recognition result of the character recognition on the screen;
When the handwritten input handwriting is two or more characters, based on the context with the character string before and after the handwriting, a context correction processing unit that corrects any character string in the handwriting,
A replacement determination unit that determines whether any of the character strings has been context-corrected;
When it is determined that any one of the character strings has been context corrected, the character recognition result character string before the context correction is placed around the display position of the character recognition result character string after the context correction. A character recognition device comprising: a first candidate display processing unit for displaying as one candidate character string.
前記文字認識結果を含む、少なくとも1個の予測変換候補を生成する予測変換候補生成部と、
前記表示された前記第一候補の文字列の選択操作に応じて、前記文脈補正された前記文字認識結果の文字列を、前記第一候補の文字列に修正する認識文字修正部と、を更に備え、
前記予測変換候補生成部は、前記第一候補の文字列への修正を基に、前記生成された前記少なくとも1個の予測変換候補を、前記第一候補の文字列を含む予測変換候補に更新する文字認識装置。 The character recognition device according to claim 1,
A prediction conversion candidate generation unit that generates at least one prediction conversion candidate including the character recognition result;
A recognized character correcting unit that corrects the character string of the character recognition result subjected to the context correction to the first candidate character string in response to the selection operation of the displayed first candidate character string; Prepared,
The prediction conversion candidate generation unit updates the generated at least one prediction conversion candidate to a prediction conversion candidate including the first candidate character string, based on the correction to the character string of the first candidate. Character recognition device.
前記第一候補表示処理部は、前記タッチパネルが前記手書き入力の一時中断又は終了を検知してから所定時間が経過した場合に、前記第一候補の文字列を表示させる文字認識装置。 The character recognition device according to claim 1 or 2,
The first candidate display processing unit is a character recognition device that displays the first candidate character string when a predetermined time has elapsed since the touch panel detected a temporary interruption or termination of the handwriting input.
前記第一候補表示処理部は、前記第一候補の文字列を常時、表示させる文字認識装置。 The character recognition device according to claim 1 or 2,
The first candidate display processing unit is a character recognition device that always displays the first candidate character string.
前記第一候補表示処理部は、前記筆跡のうち複数の文字列が文脈補正されたと判定された場合に、前記文脈補正された前記複数の文字列毎に、各々の文字列に対応する前記第一候補の文字列を表示させる文字認識装置。 The character recognition device according to claim 1 or 2,
When it is determined that a plurality of character strings in the handwriting are context-corrected, the first candidate display processing unit, for each of the plurality of character strings subjected to the context correction, the first corresponding to each character string A character recognition device that displays one candidate character string.
前記第一候補表示処理部は、前記文脈補正された前記文字認識結果の文字列の表示位置の上部又は下部の位置に、前記第一候補の文字を表示させる文字認識装置。 The character recognition device according to any one of claims 3 to 5,
The first candidate display processing unit displays the first candidate character at a position above or below a display position of the character string of the character recognition result subjected to the context correction.
前記第一候補表示処理部は、前記手書き入力された筆跡の中に、前記文脈補正された前記文字認識結果の文字列に連続する他の文字列がある場合に、前記文脈補正された前記文字認識結果の文字列と前記他の文字との間に、前記第一候補の文字列を表示させる文字認識装置。 The character recognition device according to any one of claims 3 to 5,
The first candidate display processing unit, when there is another character string that is continuous with the character string of the character recognition result subjected to the context correction in the handwritten input handwriting, the character subjected to the context correction A character recognition device for displaying the first candidate character string between a character string of a recognition result and the other character.
前記第一候補表示処理部は、前記タッチパネルが前記手書き入力の再開を検知した時、前記画面に表示された前記第一候補の文字列を非表示させる文字認識装置。 The character recognition device according to claim 1 or 2,
The first candidate display processing unit is a character recognition device that hides the first candidate character string displayed on the screen when the touch panel detects resumption of the handwriting input.
前記第一候補表示処理部は、前記タッチパネルが前記文字認識結果の文字列に対する確定操作又は削除操作を検知した時、前記画面に表示された前記第一候補の文字列を非表示させる文字認識装置。 The character recognition device according to claim 1 or 2,
The first candidate display processing unit is configured to hide the first candidate character string displayed on the screen when the touch panel detects a confirmation operation or a deletion operation on the character string of the character recognition result. .
前記第一候補表示処理部は、前記タッチパネルが前記予測候補生成部により生成された予測変換候補のうち、いずれかの予測変換候補の選択操作を検知した時、前記画面に表示された前記第一候補の文字列を非表示させる文字認識装置。 The character recognition device according to claim 2,
The first candidate display processing unit is configured to display the first displayed on the screen when the touch panel detects a selection operation of one of the prediction conversion candidates generated by the prediction candidate generation unit. A character recognition device that hides candidate character strings.
前記第一候補表示処理部は、前記タッチパネルが前記画面に表示された前記第一候補の文字列の選択操作を検知した時、前記画面に表示された前記第一候補の文字列を非表示させる文字認識装置。 The character recognition device according to claim 2,
The first candidate display processing unit hides the first candidate character string displayed on the screen when the touch panel detects a selection operation of the first candidate character string displayed on the screen. Character recognition device.
前記認識文字表示処理部は、前記文字認識結果の文字列の候補の一覧を前記画面に表示させ、
前記第一候補表示処理部は、前記タッチパネルが前記画面に表示された前記文字認識結果の文字列の候補の一覧の中から、いずれかの候補の選択操作を検知した時、前記画面に表示された前記第一候補の文字列を非表示させる文字認識装置。 The character recognition device according to claim 2,
The recognized character display processing unit displays a list of character string candidates of the character recognition result on the screen,
The first candidate display processing unit is displayed on the screen when the touch panel detects a selection operation of any candidate from a list of character string candidates of the character recognition result displayed on the screen. And a character recognition device for hiding the first candidate character string.
前記画面に対応して設けられ、手書き入力を受け付けるステップと、
前記手書き入力された筆跡を文字認識するステップと、
前記文字認識された文字認識結果を前記画面に表示させるステップと、
前記手書き入力された筆跡が2文字以上である場合に、前記筆跡の前後の文字列との文脈を基に、前記筆跡のうちいずれかの文字列を補正するステップと、
前記いずれかの文字列が文脈補正されたか否かを判定するステップと、
前記いずれかの文字列が文脈補正されたと判定された場合に、前記文脈補正された前記文字認識結果の文字列の表示位置の周囲に、前記文脈補正前の前記文字認識結果の文字列を第一候補の文字列として表示させるステップと、を備える文字認識方法。 A character recognition method in a character recognition device having a display unit for displaying data on a screen,
A step corresponding to the screen and receiving a handwriting input;
Recognizing the handwritten handwritten character,
Displaying the character recognition result of the character recognition on the screen;
When the handwritten input handwriting is two or more characters, based on the context with the character string before and after the handwriting, correcting any one of the handwriting,
Determining whether any of the character strings has been context corrected;
When it is determined that any one of the character strings has been context corrected, the character recognition result character string before the context correction is placed around the display position of the character recognition result character string after the context correction. A character recognition method comprising: displaying as a candidate character string.
前記画面に対応して設けられ、手書き入力を受け付けるステップと、
前記手書き入力された筆跡を文字認識するステップと、
前記文字認識された文字認識結果を前記画面に表示させるステップと、
前記手書き入力された筆跡が2文字以上である場合に、前記筆跡の前後の文字列との文脈を基に、前記筆跡のうちいずれかの文字列を補正するステップと、
前記いずれかの文字列が文脈補正されたか否かを判定するステップと、
前記いずれかの文字列が文脈補正されたと判定された場合に、前記文脈補正された前記文字認識結果の文字列の表示位置の周囲に、前記文脈補正前の前記文字認識結果の文字列を第一候補の文字列として表示させるステップと、を実行させるためのプログラム。 In a character recognition device that is a computer having a display unit for displaying data on a screen,
A step corresponding to the screen and receiving a handwriting input;
Recognizing the handwritten handwritten character,
Displaying the character recognition result of the character recognition on the screen;
When the handwritten input handwriting is two or more characters, based on the context with the character string before and after the handwriting, correcting any one of the handwriting,
Determining whether any of the character strings has been context corrected;
When it is determined that any one of the character strings has been context corrected, the character recognition result character string before the context correction is placed around the display position of the character recognition result character string after the context correction. And a step of displaying as a candidate character string.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012200408A JP2014056389A (en) | 2012-09-12 | 2012-09-12 | Character recognition device, character recognition method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012200408A JP2014056389A (en) | 2012-09-12 | 2012-09-12 | Character recognition device, character recognition method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014056389A true JP2014056389A (en) | 2014-03-27 |
Family
ID=50613651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012200408A Pending JP2014056389A (en) | 2012-09-12 | 2012-09-12 | Character recognition device, character recognition method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014056389A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016012196A (en) * | 2014-06-27 | 2016-01-21 | 富士通株式会社 | Conversion device, conversion program, and conversion method |
JP2021064380A (en) * | 2016-06-12 | 2021-04-22 | アップル インコーポレイテッドApple Inc. | Handwriting keyboard for screen |
US11416141B2 (en) | 2007-01-05 | 2022-08-16 | Apple Inc. | Method, system, and graphical user interface for providing word recommendations |
US11620046B2 (en) | 2019-06-01 | 2023-04-04 | Apple Inc. | Keyboard management user interfaces |
US11816326B2 (en) | 2013-06-09 | 2023-11-14 | Apple Inc. | Managing real-time handwriting recognition |
-
2012
- 2012-09-12 JP JP2012200408A patent/JP2014056389A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11416141B2 (en) | 2007-01-05 | 2022-08-16 | Apple Inc. | Method, system, and graphical user interface for providing word recommendations |
US11816326B2 (en) | 2013-06-09 | 2023-11-14 | Apple Inc. | Managing real-time handwriting recognition |
JP2016012196A (en) * | 2014-06-27 | 2016-01-21 | 富士通株式会社 | Conversion device, conversion program, and conversion method |
JP2021064380A (en) * | 2016-06-12 | 2021-04-22 | アップル インコーポレイテッドApple Inc. | Handwriting keyboard for screen |
US11640237B2 (en) | 2016-06-12 | 2023-05-02 | Apple Inc. | Handwriting keyboard for screens |
JP7289820B2 (en) | 2016-06-12 | 2023-06-12 | アップル インコーポレイテッド | handwriting keyboard for screen |
US11941243B2 (en) | 2016-06-12 | 2024-03-26 | Apple Inc. | Handwriting keyboard for screens |
US11620046B2 (en) | 2019-06-01 | 2023-04-04 | Apple Inc. | Keyboard management user interfaces |
US11842044B2 (en) | 2019-06-01 | 2023-12-12 | Apple Inc. | Keyboard management user interfaces |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10140284B2 (en) | Partial gesture text entry | |
CN102999274B (en) | Semantic zoom animation | |
JP5572059B2 (en) | Display device | |
JP5947887B2 (en) | Display control device, control program, and display device control method | |
JP6426417B2 (en) | Electronic device, method and program | |
US20140304655A1 (en) | Information processing apparatus, information processing method, and program | |
CN103218146B (en) | The method and its mancarried device of the different keypads configuration for data input is presented | |
JP2015090670A (en) | Electronic apparatus, method, and program | |
US11112965B2 (en) | Advanced methods and systems for text input error correction | |
JP2004342101A (en) | Data processing device and method | |
JP2014056389A (en) | Character recognition device, character recognition method and program | |
CN102508555A (en) | Pinyin input system and method based on touch screen as well as electronic equipment | |
JP6430198B2 (en) | Electronic device, method and program | |
US9753544B2 (en) | Korean character input apparatus and method using touch screen | |
US9298366B2 (en) | Electronic device, method and computer readable medium | |
JP2014195202A (en) | Symbol inputting device and program | |
TW201423563A (en) | Apparatus and method for processing handwriting input | |
JP2010128666A (en) | Information processor | |
JP5913771B2 (en) | Touch display input system and input panel display method | |
US20150347004A1 (en) | Indic language keyboard interface | |
US20120331383A1 (en) | Apparatus and Method for Input of Korean Characters | |
JPWO2016031016A1 (en) | Electronic device, method and program | |
KR101149892B1 (en) | Mobile device, letter input method thereof and | |
JP2016200896A (en) | Character input method, device and program | |
CN108733227B (en) | Input device and input method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20131225 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20150116 |