JP2006323502A - Information processor, and its control method and program - Google Patents
Information processor, and its control method and program Download PDFInfo
- Publication number
- JP2006323502A JP2006323502A JP2005144227A JP2005144227A JP2006323502A JP 2006323502 A JP2006323502 A JP 2006323502A JP 2005144227 A JP2005144227 A JP 2005144227A JP 2005144227 A JP2005144227 A JP 2005144227A JP 2006323502 A JP2006323502 A JP 2006323502A
- Authority
- JP
- Japan
- Prior art keywords
- character
- input
- processing
- post
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、手書き文字の軌跡データを入力して文字認識し、その文字認識結果に対して後処理を実行する情報処理装置及びその制御方法、プログラムに関するものである。 The present invention relates to an information processing apparatus that inputs trajectory data of handwritten characters, recognizes characters, and performs post-processing on the character recognition results, a control method thereof, and a program.
従来より、入力された手書き文字の軌跡(ストローク)を認識する文字認識装置が存在する。この種の文字認識装置(例えば、特許文献1)では、単語の区切りを指定させるために、ユーザに、文字入力枠近傍の特定エリアにストロークを入力させ指定させることで、その区切りの位置を明確に指示させる必要がある。 Conventionally, there is a character recognition device that recognizes a locus (stroke) of an input handwritten character. In this type of character recognition device (for example, Patent Document 1), in order to designate a word break, the user inputs a stroke in a specific area near the character input frame and designates it, thereby clarifying the position of the break. Need to be directed.
また、文字列単位で後処理を実行するオンライン手書き文字認識装置では、認識開始ボタンが押されるまでに入力された手書き文字列を、後処理の対象とする構成としている。
しかしながら、従来の文字認識装置では、ユーザが都度、単語の区切りを入力指示しない限り、装置側は単語の区切りを認識できない。そのため、ユーザは、入力時には、本来意図する文字入力以外の入力作業を強いられ、自然な使い勝手が損なわれていた。 However, in the conventional character recognition device, the device cannot recognize a word break unless the user inputs a word break each time. Therefore, the user is forced to perform input work other than the originally intended character input at the time of input, and natural usability is impaired.
また、文字列単位での後処理を行う場合は、認識開始ボタンが押されるまでに入力された手書き文字列を後処理対象としている。そのため、文字列の入力途中で認識開始ボタンを押してしまった場合、その後に入力された文字は、認識されてしまった文字とは連係されず、認識率の低下あるいは意図する認識結果が得られない場合がある。 When post-processing is performed in units of character strings, handwritten character strings input until the recognition start button is pressed are set as post-processing targets. Therefore, if the recognition start button is pressed during the input of the character string, the characters input after that are not linked to the recognized characters, and the recognition rate is not lowered or the intended recognition result cannot be obtained. There is a case.
本発明は上記の課題を解決するためになされたものであり、効率的にかつ精度良く手書き文字認識を実行することができる情報処理装置及びその制御方法、プログラムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an information processing apparatus that can efficiently and accurately execute handwritten character recognition, a control method therefor, and a program.
上記の目的を達成するための本発明による情報処理装置は以下の構成を備える。即ち、
手書き文字の軌跡データを入力して文字認識し、その文字認識結果に対して後処理を実行する情報処理装置であって、
前記軌跡データを入力する入力手段と、
前記入力手段で入力された軌跡データに対応する文字を認識する文字認識手段と、
前記文字認識手段による文字認識結果の候補文字列を後処理する後処理手段と、
前記入力手段による入力処理、前記文字認識結果の候補に対する処理を含む各種処理の実行を指示するための指示手段と、
前記指示手段によって実行が指示される処理種類に基づいて、該指示手段による指示以降に入力される新たな文字を、前記後処理手段で既に後処理対象となっている後処理文字列に継続させるか否かを判定する判定手段と
を備える。
In order to achieve the above object, an information processing apparatus according to the present invention comprises the following arrangement. That is,
An information processing apparatus that inputs handwritten character trajectory data, recognizes characters, and performs post-processing on the character recognition results,
Input means for inputting the locus data;
Character recognition means for recognizing characters corresponding to the trajectory data input by the input means;
Post-processing means for post-processing candidate character strings of character recognition results by the character recognition means;
Instruction means for instructing execution of various processes including input processing by the input means and processing for the character recognition result candidates;
Based on the processing type instructed to be executed by the instruction means, a new character input after the instruction by the instruction means is continued to the post-processing character string that has already been post-processed by the post-processing means. Determination means for determining whether or not.
また、好ましくは、前記新たに入力される文字として、それに対応する文字コードが確定している文字を挿入する挿入手段とを更に備える。 Preferably, the apparatus further includes insertion means for inserting, as the newly input character, a character whose character code corresponding to the newly input character is fixed.
また、好ましくは、前記判定手段は、前記処理種類が前記入力手段による入力処理である場合には、該入力手段で入力された軌跡データに対する前記文字認識手段による文字認識結果として新たに入力される候補文字を、前記後処理手段で既に後処理対象となっている後処理文字列に継続させる。 Preferably, the determination unit is newly input as a character recognition result by the character recognition unit with respect to trajectory data input by the input unit when the processing type is input processing by the input unit. The candidate character is continued to the post-processing character string that has already been post-processed by the post-processing means.
また、好ましくは、前記入力手段と、前記指示手段と、及び前記文字認識手段による文字認識結果の候補文字を表示する候補表示領域を含む操作画面と、当該情報処理装置上で動作するアプリケーションが生成するアプリケーション画面と、当該情報処理装置上で動作する複数種類のアプリケーションを切替るための切替操作画面を表示する表示手段を更に備える。 Preferably, the input unit, the instruction unit, an operation screen including a candidate display area for displaying candidate characters as a result of character recognition by the character recognition unit, and an application that operates on the information processing apparatus are generated. Display means for displaying an application screen for switching and a switching operation screen for switching between a plurality of types of applications operating on the information processing apparatus.
また、好ましくは、前記入力手段は、前記軌跡データを入力する入力領域を備え、
前記指示手段は、
前記候補表示領域上の候補文字を変更するための変更部と、
前記候補表示領域上の候補文字を仮名漢字変換するための変換部と、
前記候補表示領域上で表示されるカーソルが位置する前の候補文字を削除するための削除部と、
前記候補表示領域上で空白文字を挿入するための空白文字挿入部と、
前記候補表示領域上の候補文字列を確定して前記アプリケーション画面上に、該候補文字列を挿入するための候補文字列確定部と
を備える。
Preferably, the input means includes an input area for inputting the trajectory data,
The instruction means includes
A changing unit for changing candidate characters on the candidate display area;
A conversion unit for converting a candidate character on the candidate display area to a kana-kanji character;
A deletion unit for deleting the candidate character before the cursor displayed on the candidate display area is located;
A blank character insertion portion for inserting a blank character on the candidate display area;
A candidate character string determining unit for determining a candidate character string on the candidate display area and inserting the candidate character string on the application screen.
また、好ましくは、前記判定手段は、前記処理種類が、前記入力領域に対する入力処理、前記入力領域に対する未入力時間が所定時間経過した場合に発生するタイマーイベント処理、前記削除部による削除処理、前記切替操作画面による切替処理のいずれかである場合には、該入力領域に入力された軌跡データに対する前記文字認識手段による文字認識結果として新たに入力される候補文字を、前記後処理手段で既に後処理対象となっている後処理文字列に継続させる。 Preferably, the determination unit is configured such that the processing type is input processing for the input area, timer event processing that occurs when a non-input time for the input area has passed a predetermined time, deletion processing by the deletion unit, If the switching operation screen is one of the switching processes, a candidate character newly input as a character recognition result by the character recognition unit with respect to the trajectory data input to the input area is already updated by the post-processing unit. Continue to the post-processing character string to be processed.
また、好ましくは、当該情報処理装置を制御するオペレーティングシステムが内部メモリに確保する記憶領域に記憶された文字を挿入する挿入手段を更に備え、
前記判定手段は、前記処理手種類が前記挿入手段による挿入処理である場合には、その挿入処理で新たに入力される文字を、前記後処理手段で既に後処理対象となっている後処理文字列に継続させる。
Preferably, the information processing apparatus further includes an insertion unit that inserts characters stored in a storage area secured in the internal memory by the operating system that controls the information processing apparatus,
In the case where the type of processing is insertion processing by the insertion means, the determination means determines a character newly input by the insertion processing as a post-processing character that has already been post-processed by the post-processing means. Continue to the column.
また、好ましくは、前記後処理手段は、前記文字認識結果の候補文字列間の連鎖確率を算出する。 Preferably, the post-processing means calculates a chain probability between candidate character strings of the character recognition result.
上記の目的を達成するための本発明による情報処理装置の制御方法は以下の構成を備える。即ち、
手書き文字の軌跡データを入力して文字認識し、その文字認識結果に対して後処理を実行する情報処理装置の制御方法であって、
前記軌跡データを入力する入力工程と、
前記入力工程で入力された軌跡データに対応する文字を認識する文字認識工程と、
前記文字認識工程による文字認識結果の候補文字列を後処理する後処理工程と、
前記入力工程による入力処理、前記文字認識結果の候補に対する処理を含む各種処理の実行を指示するための指示工程と、
前記指示工程によって実行が指示される処理種類に基づいて、該指示工程による指示以降に入力される新たな文字を、前記後処理工程で既に後処理対象となっている後処理文字列に継続させるか否かを判定する判定工程と
を備える。
In order to achieve the above object, a method for controlling an information processing apparatus according to the present invention comprises the following arrangement. That is,
A method for controlling an information processing apparatus that inputs handwritten character trajectory data, recognizes characters, and performs post-processing on the character recognition results.
An input step for inputting the trajectory data;
A character recognition step for recognizing characters corresponding to the trajectory data input in the input step;
A post-processing step of post-processing the candidate character string of the character recognition result by the character recognition step;
An instruction process for instructing execution of various processes including an input process by the input process and a process for the candidate character recognition result;
Based on the processing type instructed to be executed by the instruction process, new characters input after the instruction by the instruction process are continued to the post-processing character string that has already been post-processed in the post-processing process. A determination step of determining whether or not.
上記の目的を達成するための本発明によるプログラムは以下の構成を備える。即ち、
手書き文字の軌跡データを入力して文字認識し、その文字認識結果に対して後処理を実行する情報処理装置の制御を実現するプログラムであって、
前記軌跡データを入力する入力工程のプログラムコードと、
前記入力工程で入力された軌跡データに対応する文字を認識する文字認識工程のプログラムコードと、
前記文字認識工程による文字認識結果の候補文字列を後処理する後処理工程のプログラムコードと、
前記入力工程による入力処理、前記文字認識結果の候補に対する処理を含む各種処理の実行を指示するための指示工程のプログラムコードと、
前記指示工程によって実行が指示される処理種類に基づいて、該指示工程による指示以降に入力される新たな文字を、前記後処理工程で既に後処理対象となっている後処理文字列に継続させるか否かを判定する判定工程のプログラムコードと
を備える。
In order to achieve the above object, a program according to the present invention comprises the following arrangement. That is,
A program that realizes control of an information processing apparatus that inputs trajectory data of handwritten characters, recognizes characters, and performs post-processing on the character recognition results,
A program code of an input process for inputting the locus data;
A program code of a character recognition step for recognizing characters corresponding to the trajectory data input in the input step;
A program code of a post-processing step of post-processing a candidate character string of a character recognition result by the character recognition step;
A program code of an instruction process for instructing execution of various processes including an input process by the input process and a process for the candidate character recognition result;
Based on the processing type instructed to be executed by the instruction process, new characters input after the instruction by the instruction process are continued to the post-processing character string that has already been post-processed in the post-processing process. And a program code of a determination process for determining whether or not.
本発明によれば、効率的にかつ精度良く手書き文字認識を実行することができる情報処理装置及びその制御方法、プログラムを提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the information processing apparatus which can perform handwritten character recognition efficiently and accurately, its control method, and a program can be provided.
以下、本発明の実施の形態について図面を用いて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本発明では、手書き入力による文字列を、その文字列単位で後処理を実行する情報処理装置において、ユーザの指示入力の種類に応じた後処理継続判定部を設ける。そして、この後処理継続判定部によって、ユーザが文章の終了や継続等の指示入力を、特に意識して指示しなくても、自然にかつ適切な処理単位で後処理を実現する構成について説明する。これにより、本発明では、ユーザが入力する手書き入力に対する認識結果となる文字が、ユーザが意図する認識結果となる確率を高めることが実現できる。 In the present invention, a post-processing continuation determining unit corresponding to the type of user's instruction input is provided in an information processing apparatus that performs post-processing of character strings by handwriting input in units of character strings. The post-processing continuation determination unit will explain a configuration for realizing post-processing in a natural and appropriate processing unit even if the user does not particularly instruct instruction input such as ending or continuation of a sentence. . Thereby, in this invention, it can implement | achieve raising the probability that the character used as the recognition result with respect to the handwritten input which a user inputs will turn into the recognition result which a user intends.
また、文字コードで構成される一般的なテキスト文字列(文字コード列)を、後処理対象の文字列の一部として挿入する挿入部を設ける。そして、この挿入部によって、後処理対象の文字認識結果編集領域にテキスト文字列を挿入した場合でも、正常に後処理を実現する構成について説明する。これにより、手書き文字の認識結果と、一般的なテキスト文字列が混在する場合でも、ユーザの意図する文章の入力効率を向上させることができる。 In addition, an insertion unit is provided for inserting a general text character string (character code string) composed of character codes as a part of the character string to be post-processed. A configuration will be described in which post-processing is normally realized even when a text character string is inserted into the post-processing target character recognition result editing area by the insertion unit. Thereby, even when the recognition result of a handwritten character and a general text character string coexist, the input efficiency of the text which a user intends can be improved.
<実施形態1>
図1は本発明の実施形態1の文字認識装置の使用形態の一例を示す図である。また、図2は本発明の実施形態1の文字認識装置として機能する情報携帯機器のハードウェア構成を示す図である。
<
FIG. 1 is a diagram illustrating an example of a usage pattern of the character recognition device according to the first embodiment of the present invention. FIG. 2 is a diagram illustrating a hardware configuration of the portable information device that functions as the character recognition device according to the first embodiment of the present invention.
1は、PDA(パーソナルデジタルアシスタント)、携帯電話、デジタルカメラ、ノートPC(パーソナルコンピュータ)等の携帯情報機器である。
この携帯情報機器1は、表示部2、指示具3、カメラ部4、座標入力部5、CPU6、RAM7、ROM8、記憶メディア(例えば、スマートメディア、コンパクトフラッシュ(登録商標)等)を差し込むためのスロットを備えるメディアI/F(インタフェース)9、キーボード(表示部2上で表示されるソフトキーボード、あるいは通常のキーボード)10、他の情報機器と接続するための外部I/F(USB、ブルートゥース等)11、ネットワークI/F12を備えている。
This
携帯情報機器1は、カメラ部4での撮影画像を液晶表示部2に表示し、その画像に付加するメモ情報等の付加情報を、座標入力部5によって入力する軌跡データ(ユーザの手書き入力操作による手書き軌跡データ)によって作成することができる。
The
CPU6は、システムバス13を介して、RAM7、ROM8、座標入力部5、表示部2等の携帯情報機器1の各種構成要素と接続している。また、CPU6は、ROM8に記憶されているプログラムによって各種制御を実行する。
The
RAM7は、画像データ、入力された軌跡データ及びその位置情報等の各種データを記憶するとともに、データの作業領域、一時待避領域として機能する。
The
ROM8は、本発明を実現する各種プログラムを含む携帯情報機器の制御プログラムが記憶されている。より詳しくは、ROM8は、後述する、手書き文字入力時の後処理の制御処理プログラムや、カメラ部制御プログラム、表示部制御プログラム、手書き軌跡データの認識プログラム等の各種プログラムに加えて、手書き文字認識用の認識用辞書データ、後処理用辞書データ(連鎖確率算出用辞書データ)、各種テーブル、設定データ等のデータを記憶している。
The
入力された軌跡データは、従来からある手書き文字認識機能によって、対応する文字コードに認識されて、携帯情報機器1に入力することができる。また、入力された軌跡データは、認識されずにそのままの状態の画像(イメージデータ)を付加情報として撮影画像に付加したり、文字認識機能によって得られるテキストデータを付加情報として撮影画像に付加することができる。
The input locus data can be recognized by a corresponding character code by a conventional handwritten character recognition function and input to the
この付加情報が付加された撮影画像の画像データはユーザの指示操作によって、外部I/F11を介して、パーソナルコンピュータ等の外部端末50へ送信することができる。または、その画像データを記憶メディア上に記憶した後、メディアスロットを備える外部端末50やプリンタに装着することで、画像データの保存や印刷を実行することができる。
The image data of the captured image to which the additional information is added can be transmitted to the
更に、携帯情報機器1で実現される電子メール機能によって作成された電子メールに画像データを添付した上で、ネットワークI/F12を介して接続されるローカルネットワークや公衆回線等のネットワークを通じて、ネットワーク上の他の外部端末へ送信することも可能である。
Further, the image data is attached to an e-mail created by the e-mail function realized by the
2は表示部であり、例えば、液晶やLEDで構成される。表示部2が液晶表示部で構成される場合には、液晶表示素子、液晶制御回路、表示メモリを有する。この表示部2は、システムバス13経由でCPU6に接続している。また、CPU6からの指示で、画像データや軌跡データを表示したり、各種操作画面を表示する。
この表示部2の上面に座標入力部5を重ねて配置することで、座標入力を行う一般的な透明抵抗膜デジタイザ(いわゆる、タッチパネル)を実現することができる。ユーザは、座標入力部5の座標入力面(表示部2の表示画面)上を指示具3で押圧することにより、軌跡データを入力することができる。
By arranging the coordinate
より詳しくは、座標入力部5は内部の制御回路(不図示)を介して、システムバス13経由でCPU6に接続している。これにより、指示具3を使って、座標入力部5の座標入力面上を押圧することにより、押圧した位置の位置座標データがCPU6によって通知される。
More specifically, the coordinate
この位置座標データに基づいて、携帯情報機器1は、表示部2上で実現するGUI(グラフィックユーザインタフェース)によるファイル一覧表示画面等の操作画面を、ROM8内の処理手順に従って表示する。また、その入力された位置座標データが示す位置における操作画面上のデータファイルアイコン(データファイルを表す表示)に対応するデータファイルの内容を表示したり、その入力された位置に対応する画像を編集する等の各種処理を実行することができる。
Based on the position coordinate data, the
また、指示具3を用いることで、携帯情報機器1で実現される各種機能の実行指示や画面操作を実現することができ、例えば、上述の電子メール機能も、この指示具3を用いて使用することができる。
Further, by using the
3は指示具であり、手書きの軌跡データや、表示画面上のソフトボタン、ソフトキーボード等の入力に利用される。
An
4はカメラ部であり、一般的なデジタルカメラの構成要素である、レンズ、CCD4a、CCD制御回路(不図示)等の構成要素を備えている。また、このカメラ部4は、携帯情報機器1内のCPU6によって制御され、撮影された画像データはCPU6の制御の下、RAM7に一旦記憶される。このカメラ部4での撮影画像を、電子メールに添付して送信することができるのは、上述した通りである。
A camera unit 4 includes components such as a lens, a
より詳しくは、カメラ部4のCCD制御回路がシステムバス11経由でCPU6に接続されている。そのため、このCPU6によってCCD制御回路を介してCCD6の動作が制御され、CCD6による撮影画像がRAM7に記憶される。
More specifically, the CCD control circuit of the camera unit 4 is connected to the
メディアI/F9は、デジタルカメラ等で一般的な記憶メディア、例えば、コンパクトフラッシュ(登録商標)カードのインタフェース部である。特に、メディアI/F9は、接続されたメディア中のデータの読出/書込を実現し、画像データ等のデータを記憶することができる。
The media I /
キーボード10は、一般的なキーボードであり、キーを押すことにより、英数字等のキーコードが入力される。入力されたキーコードは、システムバス13経由でCPU6が読み取る。
The
外部I/F11は、例えば、USBインタフェース部である。これは、CPU6によって制御され、パーソナルコンピュータ等の外部端末と接続して、軌跡データや画像データ等の各種データのやり取りを行うことができる。
The external I /
ネットワーク1/F12は、例えば、通信カードで構成される。これは、内部にPHS回線等の公衆回線への接続コントローラやアンテナを内蔵している。通信カード内のコントローラに規定のコマンドを渡すことによって、公衆回線へ接続し、電子メールの送受信を実行できる。
The
また、この通信カードを、ローカルエリアネットワークカード等のネットワークカードに変更すれば、ローカルエリアネットワーク接続に対応することも可能である。ここでの電子メールの送受信のプロトコル自体は、従来の方法と同様である。 Further, if this communication card is changed to a network card such as a local area network card, it is possible to support local area network connection. The protocol for sending and receiving e-mail here is the same as the conventional method.
システムバス13は、CPU6とRAM7、ROM8を含む携帯情報機器1の各種構成要素を相互に接続してデータの送受信を可能にする通信経路である。
The
50はパーソナルコンピュータ等の外部端末である。この外部端末50には、汎用コンピュータに搭載される標準的な構成要素(例えば、CPU、RAM、ROM、ハードディスク、外部記憶装置、ネットワークインタフェース、外部インタフェース、ディスプレイ、キーボード、マウス等)を有している。
また、実施形態1では、外部端末50は、一般的なUSB等の外部インタフェースや、ネットワークを介して携帯情報機器1と接続し、画像データ6を送受信することができる。
In the first embodiment, the
次に、実施形態1の携帯情報機器の機能構成について、図3を用いて説明する。 Next, a functional configuration of the portable information device according to the first embodiment will be described with reference to FIG.
図3は本発明の実施形態1の携帯情報機器の機能構成を示す図である。 FIG. 3 is a diagram showing a functional configuration of the portable information device according to the first embodiment of the present invention.
尚、図3では、携帯情報機器の各種機能構成(破線部で囲まれる)に加えて、説明の関係上、ハードウェアである座標入力部5及び表示部2を示している。この機能構成は、例えば、CPU6の制御の下、ROM8に記憶される制御プログラムによって実現されても良いし、その一部/全部が専用のハードウェア回路で実現されても良い。
In addition to the various functional configurations of the portable information device (enclosed by the broken line portion), FIG. 3 shows the coordinate
図3において、31は処理種類判別部であり、座標入力部2から受信する位置座標データの範囲に応じて処理種類の判別を行う。そして、その判別した処理種類に応じて、入力座標データを各処理部に振り分ける処理を行う。
In FIG. 3,
32はテキスト編集処理部であり、手書き文字認識部35によって得られるテキスト文字列に対して、削除や、仮名漢字変換や、アプリケーションの文字入力領域への挿入等の編集処理を実行する。
33は後処理継続判定部であり、処理種類判別部31から受信する各処理種類に応じて、後処理文字列(後処理対象の文字列)の継続及び終了(中止)を判定し、その判定結果を後処理部34に送信する。
34は後処理部である。ここでは、特に、文字列単位の後処理を実行し、そのアルゴリズムとしては、例えば、特開平10−198759号等に記載されるアルゴリズムと同様のアルゴリズムを使用することができる。具体的には、手書き文字認識部35で認識された候補文字列を、その文字同士の連鎖確率と、認識用辞書中の標準文字辞書データとの一致度等を加味して、入力された手書き文字列の認識候補を決定する。
尚、後処理としては、これに限定されず、例えば、形態素解析や、統計処理等の、認識処理によって得られる文字列に対して後処理されるものであれば、どのようなものでも良い。 Note that post-processing is not limited to this, and any post-processing may be used as long as it is post-processed on a character string obtained by recognition processing such as morphological analysis or statistical processing.
35は手書き文字認識部であり、処理種類判別部31から、手書き文字の位置座標データ列を受信して、それと認識用辞書中の標準文字辞書データとのマッチング処理により、候補文字コードを出力する。
36は認識候補表示選択部であり、手書き文字認識候補の選択指示処理を行う。この処理自体は、従来からある一般的な処理で、例えば、ある手書き文字の第1候補の表示を指示具3でタップすると、その文字の第1候補から第5候補までの候補群を候補表示エリアに表示させる。そして、この候補群から、その任意の候補をタップすると、そのタップした候補の文字と表示されている第1候補と入れ替える処理を行う。
A recognition candidate
尚、この機能構成は、携帯情報機器1上で実現される場合を例に挙げて説明しているが、これに限定されるものではない。つまり、この携帯情報機器と同等の機能あるいは、それ以上の機能を有するパーソナルコンピュータ等の汎用端末(情報処理装置)においても、本発明の図3の機能構成を実現できることは言うまでもない。
In addition, although this functional configuration has been described by taking as an example a case where it is realized on the
本発明では、手書き文字認識環境において実現される各種処理において、その処理種類に応じて、特に、文字列単位の後処理における後処理の継続の可否を、後処理継続判定部33において判定する。そして、この判定を、後処理継続判定部33で実現するために、例えば、後処理継続可否判定テーブルをRAM7上に記憶する。
In the present invention, in various processes realized in the handwritten character recognition environment, the post-processing
ここで、この後処理継続可否判定テーブルについて、図4を用いて説明する。 Here, the post-processing continuation determination table will be described with reference to FIG.
図4は本発明の実施形態1の後処理継続可否判定テーブルを示す図である。 FIG. 4 is a diagram showing a post-processing continuability determination table according to the first embodiment of the present invention.
この後処理継続可否判定テーブルは、処理種類と、その後の後処理を継続するか否か(既に得られている文字認識結果の候補文字列に継続する新たな文字を含む文字列全体を、後処理対象の文字列とするか否か)を示す情報とを対応づけて管理している。 This post-processing continuation determination table determines whether to continue the processing type and whether or not to continue the post-processing (the entire character string including new characters that are continued in the candidate character string of the already obtained character recognition result Information indicating whether or not to be a character string to be processed is managed in association with each other.
例えば、処理種類判別部31で判定された処理種類が手書き文字認識候補の候補変更処理である場合は、後処理継続判定部33は、後処理継続可否判定テーブルを参照することで、その時点で、その候補選択指示以前に入力していた文字に対する後処理はその時点で一旦中止(停止)すると判定する。
For example, when the process type determined by the process
また、別の例としては、文字切り時間(ペンアップ時間(指示具3による操作がなされていない時間:未入力時間)が一定時間経過した場合に発生する処理(タイマーイベント))等による1文字の文字データの切り分け操作が行われた場合は、後処理継続判定部33は、後処理継続可否判定テーブルを参照することで、その操作が行われた時点で入力していた文字及びそれ以降に入力される文字に対する後処理を継続すると判定する。
As another example, one character by character cutting time (processing (timer event) that occurs when a pen-up time (time when no operation by the
このように、本発明では、指示具3等による入力操作やイベント発生毎に、その入力操作種類やイベンド種類に基づいて、後処理の継続/中止を決定することで、ユーザにより使いやすい操作環境を提供することができる。
Thus, in the present invention, every time an input operation or event occurs with the
尚、この後処理継続可否判定テーブルは一例であり、用途や目的に応じて、様々な構成を実現することができる。つまり、ユーザの意図や目的に応じて、認識処理によって得られる文字列に対して後処理を適用したい処理種類やイベントに応じて様々な設定内容の後処理継続可否判定テーブルを構成できることは言うまでもない。 This post-processing continuation determination table is merely an example, and various configurations can be realized depending on the application and purpose. That is, it goes without saying that a post-processing continuation determination table for various setting contents can be configured according to the processing type or event for which post-processing is desired to be applied to the character string obtained by the recognition processing according to the user's intention and purpose. .
次に、実施形態1の文字認識処理の具体例について、図5を用いて説明する。 Next, a specific example of character recognition processing according to the first embodiment will be described with reference to FIG.
図5は本発明の実施形態1の文字認識処理の具体例を説明するための図である。 FIG. 5 is a diagram for explaining a specific example of character recognition processing according to the first embodiment of the present invention.
図5では、情報携帯機器1で動作する電子メールアプリケーション上で、本発明の文字認識処理を実現する手書き文字入力ユーティリティプログラムが動作する場合の表示画面例を示している。
FIG. 5 shows an example of a display screen when the handwritten character input utility program that realizes the character recognition processing of the present invention operates on an e-mail application that operates on the
尚、実施形態1では、例として、電子メールアプリケーションが生成するアプリケーション画面上で手書き文字入力ユーティリティプログラムを動作する例を挙げて説明するが、これに限定されるものではない。つまり、本発明は、文字入力が必要な他のアプリケーションプログラム、例えば、ファイルブラウザ、フォトビューワ、スケジューラ、ワープロプログラム等の他のプログラムについても有効であることは言うまでもない。 In the first embodiment, an example in which a handwritten character input utility program is operated on an application screen generated by an e-mail application will be described as an example. However, the present invention is not limited to this. That is, it goes without saying that the present invention is also effective for other application programs that require character input, for example, other programs such as a file browser, a photo viewer, a scheduler, and a word processor program.
図5において、領域51は、電子メールの宛先やサブジェクトを入力するための各種入力フィールドから構成される領域である。例えば、指示具3で、領域51内の任意の位置を押下することにより、対応する入力フィールドに、テキスト入力用のカーソルが表示される。ユーザは、この状態で、手書き文字入力ユーティリティプログラムを使用して、その入力フィール内での文字入力を実行することができる。
In FIG. 5, an
領域52は、電子メールの本文を入力するための領域である。例えば、指示具3で、その領域52の任意の位置を押下することにより、テキスト入力用のカーソルが領域52に表示される。ユーザは、この状態で、手書き文字入力ユーティリティプログラムを使用して、その領域内での文字入力を実行することができる。
The
画面53は、手書き文字入力ユーティリティプログラムによって実現される手書き文字入力用画面である。その詳細については、図6で説明するが、任意のアプリケーションプログラム上で、文字入力が必要な場合は、この手書き文字入力ユーティリティプログラムを起動することで、ユーザは、手書き入力による文字入力を実行することができる。
The
もちろん、手書き文字入力ユーティリティプログラムを必要とするアプリケーションプログラムに予め割り付けておいて、そのアプリケーションプログラムの起動と同時に、手書き文字入力ユーティリティプログラムが起動される構成とすることも可能である。 Of course, it is also possible to assign a handwritten character input utility program in advance to an application program that requires the handwritten character input utility program and start the handwritten character input utility program simultaneously with the activation of the application program.
この手書き文字入力ユーティリティプログラムによる手書き文字入力用画面53に対して、ユーザによって手書き文字入力(軌跡データの入力)がなされると、図3の手書き文字認識部35によってその軌跡データが認識される。そして、認識結果として得られる文字コードに対応する文字フォントが、一旦、手書き文字入力用画面53で表示される。
When the user inputs handwritten characters (trajectory data input) on the handwritten
ユーザは、手書き文字入力用画面53が表示された文字が所望の文字であれば、その文字を確定することにより、現在表示されている文字が、電子メールアプリケーションプログラム上で表示されているカーソル位置に挿入される。
If the character on the handwritten
領域54は、各種アプリケーションプログラムを切り替えるためのコントロール群と、手書き文字入力ユーティリティプログラムの起動を指示するためのコントロール(ボタンやアイコン)が配置されている領域である。
The
領域54内において、ボタン55は、手書き文字入力ユーティリティプログラムの起動ボタンである。このボタン55が、指示具3で押下されると、手書き文字入力ユーティリティプログラムが起動され、その手書き文字入力用画面53が表示される。一方、手書き文字入力ユーティリティプログラムが起動されている状態で、ボタン55が押下された場合は、手書き文字入力ユーティリティプログラムが終了され、手書き文字入力用画面53が消去される。
In the
ボタン56は、ファイルブラウザの起動ボタンである。このボタン56が、指示具3で押下されると、携帯情報機器1で管理されている各種データを閲覧するためのファイルブラウザアプリケーションが起動される。
The
ボタン57は、電子メールアプリケーションの起動ボタンである。このボタン56が、指示具3で押下されると、電子メールアプリケーションが起動される。
The
ボタン58は、フォトビューワの起動ボタンである。このボタン56が、指示具3で押下されると、携帯情報機器1で管理されている画像データを閲覧するためのフォトビューワ(フォト表示アプリケーション)が起動される。
The
ボタン59は、スケジューラ起動ボタンである。このボタン59が、指示具3で押下されると、スケジューラアプリケーションが起動される。
The
次に、手書き文字入力ユーティリティプログラムが生成する手書き文字入力用画面53の詳細について、図6を用いて説明する。
Next, details of the handwritten
図6は本発明の実施形態1の手書き文字入力ユーティリティプログラムが生成する手書き文字入力用画面の一例を示す図である。 FIG. 6 is a diagram showing an example of a handwritten character input screen generated by the handwritten character input utility program according to the first embodiment of the present invention.
図6において、領域61は入力文字バッファ領域であり、手書き文字認識結果の第1候補を表示する。ここでは、手書き文字の1文字の入力が確定し、認識処理が終了すると、その認識結果の第1候補が順次表示される。例えば、手書き入力で「今日は」と入力すると、その軌跡データが認識用辞書に登録されている形状(標準文字辞書データ)と同じ文字であれば、その認識結果として「今日は」が、この領域61に表示される。
In FIG. 6, an
ここで、入力文字バッファ領域61に表示されている文字群の内、意図する候補でない文字が含まれている場合には、ユーザは、その意図する候補でない文字を指示具3で押下して選択することで、その候補を変更することができる。
Here, when characters that are not intended candidates are included in the character group displayed in the input
具体的には、ユーザが、入力文字バッファ領域61中の任意の文字を押下して選択すると、候補表示領域66に、その文字に対する第1位から第4位の候補群がその候補順に表示される。そして、その候補群に、意図する候補がある場合には、ユーザは、その候補を指示具3で押下して選択することにより、入力文字バッファ領域61で選択した文字を、候補表示領域66で選択した文字に、第1候補の文字として入れ替えることができる。
Specifically, when the user presses and selects an arbitrary character in the input
尚、入力文字バッファ領域61に表示される第1候補の文字群は、後処理部34の機能がユーザ指定によって明示的に無効にされている時は、手書き文字認識部35の認識結果の認識候補順位をそのまま反映している。一方、後処理部34の機能がユーザ指定によって明示的に有効にされている時は、手書き文字認識部35の認識結果の認識候補を元に、その文字列の連鎖確率と、認識結果との一致度に基づいて、認識候補の順位を入れ替えて、入力文字バッファ領域61内の文字の表示を制御する。
Note that the first candidate character group displayed in the input
ボタン62は変換ボタンである。このボタン62が、指示具3で押下されると、入力文字バッファ領域61内の平仮名文字の仮名漢字変換を行う。例えば、入力文字バッファ領域61に、「あいが」が入力されている状態で、このボタン62が押下されると、例えば、「愛が」に変換される。この変換候補が意図するものでない場合は、再度、ボタン62を押下することにより、次候補が表示される。
The
ボタン63はBackSpaceキーボタン(削除ボタン)である。このボタン63が、指示具3で押下されると、入力文字バッファ領域61内に文字が表示されている場合は、例えば、その入力文字バッファ領域61内で表示されるカーソルが位置する前の1文字が削除される。一方、入力文字バッファ領域61内に文字が1文字も入力されていない場合は、アプリケーション(例えば、電子メールアプリケーション上の領域52)上で表示されているカーソルの左側の1文字が削除される。
The
ボタン64はSpaceキーボタン(空白文字挿入ボタン)である。このボタン64が、指示具3で押下されると、入力文字バッファ領域61内に文字列が表示されていて、文字列の後ろに挿入位置がある時は、その文字列の後ろに空白文字(空白コード)が挿入される。
The
ボタン65はEnterキーボタン(候補文字列確定/改行入力ボタン)である。このボタン65が指示具3で押下されると、入力文字バッファ領域61内に文字列が表示されている場合は、その文字列を確定して、アプリケーション上で表示されているカーソルの右側に、その文字列が挿入される。一方、入力文字バッファ領域61内に文字が存在しない場合は、アプリケーション上で表示されているカーソルの右側に、改行コードが挿入され、カーソルが改行される。
The
領域66は手書き文字認識の候補表示領域である。ここでは、上述のように、入力文字バッファ領域61内の文字列中の選択された文字に対応する認識候補の第1位から第4位までを表示する。
An
上述したように、候補表示領域66内に表示された文字の中から任意の文字を指示具3で押下して選択すると、入力文字バッファ領域61内で選択した文字との入替が行われる。
As described above, when an arbitrary character is pressed and selected from the characters displayed in the
例えば、入力文字バッファ領域61内に「今日は良り」と言う認識結果の文字列が表示されている場合に、「り」を指示具3で押下して選択すると、候補表示領域66内には、「り」に対する第1候補から第4候補である文字として、その順で「り」、「い」、「ぃ」、「”」等が表示される。ユーザは、その中から任意の文字を選択できる。例えば、「い」を指示具3で押下して選択すると、入力文字バッファ領域61内の「り」が「い」に入れ替えられ、全体の文字列は、「今日は良り」から「今日は良い」に変更されることになる。
For example, when the character string of the recognition result “good today” is displayed in the input
領域67は手書き文字入力領域である。こでは、2つの領域67a及び67bに対して、手書き文字を交互に記入して行くことによって文字入力を行うことができる。
An
例えば、領域67aに、手書きで「い」を記入し、次に、領域67bに手書きで「天」を構成する1筆(ストローク)目を書き出すと、領域67aの「い」の入力を確定し、「い」に対する認識処理を開始する。ここで、「い」の認識が終了した時点で、入力文字バッファ領域61内に「い」の認識結果の第1候補が表示され、その時点で、領域67aに入力された手書き文字のストロークは消去される。
For example, if “I” is entered by handwriting in the
次に、領域67bに対する処理を実行する。これは、「天」を構成する手書きのストロークが入力し終った時点で、次に書く文字が存在する場合は、領域67aに次の文字を書き出すと、「天」の認識処理が開始される。
Next, processing for the
一方、次に入力する文字がない場合は、指示具3からの操作(例えば、押下)時間が一定時間(ペンアップ時間)経過した時点で、「天」に対する入力が終了したと確定して、認識処理を行う。または、手書き文字入力領域67以外の部分を、指示具3で触ると、その時点で、「天」に対する入力が終了したと確定しても良い。
On the other hand, when there is no character to be input next, when the operation (for example, pressing) time from the
そして、「天」の認識処理が終了した時点で、入力文字バッファ領域61の「い」の認識結果の文字の右側に、「天」の認識結果の第1候補が表示され、領域67bの「天」を構成するの手書きのストロークが消去される。
Then, when the recognition process of “heaven” is completed, the first candidate of the recognition result of “heaven” is displayed on the right side of the character of the recognition result of “yes” in the input
尚、これらの手書き文字の入力処理自体は、従来の手書き文字入力処理と同様にして実現することもできる。 It should be noted that these handwritten character input processes themselves can be realized in the same manner as the conventional handwritten character input process.
また、図5及び図6で示される、各種処理の実行を指示するための各種操作(指示)コントロール(ボタン、メニュー等)は、GUI上で実現する例を示しているが、例えば、携帯情報機器上の物理的なボタンやキーによって実現されても良い。 Further, various operations (instructions) controls (buttons, menus, etc.) for instructing execution of various processes shown in FIGS. 5 and 6 are examples implemented on the GUI. It may be realized by a physical button or key on the device.
次に、実施形態1で実行する処理について、図7〜図9を用いて説明する。 Next, processing executed in the first embodiment will be described with reference to FIGS.
図7は本発明の実施形態1の文字列後処理継続判定処理を示すフローチャートである。 FIG. 7 is a flowchart showing the character string post-processing continuation determination process according to the first embodiment of the present invention.
尚、この処理は、主に、後処理継続判定部33によって実行される。この処理の実行にあたっては、この処理が使用するRAM7上のワーク領域等の初期化を行う。
This process is mainly executed by the post-processing
まず、座標入力部22によって、ユーザが、指示具3を使用して入力した文字や、編集操作が位置座標データとして入力される。そして、その位置座標データが示す位置によって、手書き文字の入力であるか、編集操作であるか、候補選択操作であるか、その他の操作であるか等の各種操作内容を判別する。尚、この判別は、上述したように、図3の処理種類判別部31によって実現される。
First, the characters input by the user using the
実施形態1では、この処理種類判別部31による入力種類の判別例として、図6に示した手書き文字入力ユーティリティプログラムで実現する場合を例に挙げて説明する。尚、この手書き文字入力ユーティリティプログラムは、上述したように、図5の手書き文字入力用画面内のボタン55を押下することにより起動される。
In the first embodiment, as an example of determining the input type by the processing
以下、フローチャートについて、具体的に説明する。 The flowchart will be specifically described below.
ステップS702において、入力文字バッファ領域61内の文字列候補の変更を実行する候補変更処理である否かを判定する。この判定は、例えば、図6の入力文字バッファ領域61内の文字列上に対して指示具3が押下されたか否かを判定する。特に、その領域内の位置座標が入力された場合には、候補変更処理であると判定する。そして、候補変更処理である場合(ステップS702でYES)、ステップS703に進む。一方、候補変更処理でない場合(ステップS702でNO)ステップS704に進む。
In step S <b> 702, it is determined whether or not it is a candidate change process for changing a character string candidate in the input
ステップS703において、文字列後処理完了フラグをセットする。この文字列後処理完了フラグは、文字列後処理完了の有無を示すフラグである。 In step S703, a character string post-processing completion flag is set. This character string post-processing completion flag is a flag indicating whether or not character string post-processing is completed.
例えば、ユーザが候補変更処理を行う場合は、その時点で、入力文字バッファ領域61内に表示されている第1候補の文字列が、意図した文字列と異なる時である。そして、候補が変更された場合、変更された後の候補表示文字列が、ユーザが所望する文字列となる。従って、この時点で、今まで入力された文字列の後処理を終了(中止)させるため、文字列後処理完了フラグを、例えば、RAM7にセットする。そして、この文字列後処理完了フラグがセットされると、図3の後処理部34に後処理完了を指示する。
For example, when the user performs the candidate change process, the character string of the first candidate displayed in the input
ステップS704において、手書き文字入力の有無を判定する。この判定は、図6の手書き文字入力領域67内の位置座標の入力の有無に基づいて判定する。手書き文字入力がある場合(ステップS704でYES)、ステップS705に進む。一方、手書き文字入力がない場合(ステップS704でNO)、ステップS706へ進む。
In step S704, the presence / absence of handwritten character input is determined. This determination is based on the presence or absence of input of position coordinates in the handwritten
ステップS705において、後処理文字列に認識候補を追加する処理を行う。図6の手書き文字入力領域67に、入力された手書き文字の軌跡の1文字が確定した後で、図3の手書き文字認識部35に入力された手書き文字の軌跡の位置座標データを渡す。次に、従来からあるオンライン手書き文字認識アルゴリズムを用いて、その位置座標データから、文字の特徴データを抽出する。
In step S705, processing for adding recognition candidates to the post-process character string is performed. After one character of the input handwritten character trajectory is determined in the handwritten
次に、その特徴データと、認識用辞書内の標準文字辞書データ(標準文字特徴データ)とのマッチング処理により、特徴が一致している度合が高い標準文字辞書データの順で、入力された手書き文字に他する第1候補として第4候補までの候補を決定する。そして、決定した第1候補から第4候補それぞれに対応する文字コードと、一致度の評価値を、後処理部34に渡す。
Next, handwritten characters are input in the order of standard character dictionary data having a high degree of matching by the matching process between the feature data and the standard character dictionary data (standard character feature data) in the recognition dictionary. Candidates up to the fourth candidate are determined as first candidates other than characters. Then, the character codes corresponding to the determined first to fourth candidates and the evaluation value of the matching degree are passed to the
後処理部34は、この認識候補の文字コードと評価値からなる文字候補列から、その文字列同士の連鎖確率の高い組み合わせを決定して、その高い組み合わせを第1候補として、入力文字バッファ領域61内の表示を変更する。
The
例えば、入力文字バッファ領域61内の表示が最初は、手書き文字認識部35によって、「12ろ4」であった場合で説明する。
For example, the case where the display in the input
ここで、「ろ」に注目すると、「ろ」に対し、その第1候補が「ろ」、第2候補が「3」、第3候補が「了」。第4候補が「る」であったとする。この場合、文字列の組み合わせとしては、「12ろ4」、「1234」、「12了4」、「12る4」の組み合わせがある。 Here, paying attention to “RO”, for “RO”, the first candidate is “RO”, the second candidate is “3”, and the third candidate is “END”. Assume that the fourth candidate is “ru”. In this case, combinations of character strings include “12 4”, “1234”, “12 end 4”, and “12 ru 4”.
この場合、連鎖確率では、「1234」の組み合わせが高い評価値となり、第1候補の「ろ」と第2候補の「3」の評価値間の差が少なければ、「1234」の組み合わせが選ばれる。その結果、入力文字バッファ領域61内の表示が、「12ろ4」から「1234」に切り替わる。
In this case, in the chain probability, the combination of “1234” becomes a high evaluation value, and the combination of “1234” is selected if there is little difference between the evaluation values of the first candidate “RO” and the second candidate “3”. It is. As a result, the display in the input
次に、ステップS706において、文字切り時間タイムアップの有無を判定する。 Next, in step S706, it is determined whether or not the character cut time is up.
図6の手書き文字入力領域67で、1つの文字を構成する軌跡の内、最後の軌跡が入力された後で、指示具3での入力がある設定時間(所定時間)以上経過した場合、文字切り時間タイムアップイベントを発生させる。尚、この構成は、従来からのオンライン手書き文字認識で採用される一般的な処理でもある。
In the handwritten
そこで、文字切り時間が経過すると、この文字切り時間タイムアップイベントが発生する、つまり、文字切り時間タイムアップである場合(ステップS706でYES)、ステップS707に進む。 Therefore, when the character cut time elapses, this character cut time time-up event occurs, that is, when the character cut time time-up occurs (YES in step S706), the process proceeds to step S707.
一方、それ以外のイベントや、それ以外の位置座標入力である場合(ステップS706でNO)、ステップS708に進む。 On the other hand, if it is another event or other position coordinate input (NO in step S706), the process proceeds to step S708.
ステップS707において、後処理文字列に認識候補を追加した後処理部34に対しては、継続指示を行う処理を行う。尚、従来の後処理を行う文字認識処理では、連続入力が終了したと判定される時点(例えば、文字切り時間タイムアップ時点)で、後処理を終了している。
In step S707, the
これに対し、実施形態1では、文字切り時間タイムアップイベントによって、ユーザが意図する手書き文字の軌跡群の最後の軌跡の入力が確定した場合に、一旦、手書き文字入力領域67内の軌跡データを手書き文字認識部35に渡す。そして、この手書き文字認識部35から出力される候補文字とその評価値を後処理部34に渡し、後処理部34に後処理継続指示を出して入力待ちとする。
On the other hand, in the first embodiment, when the input of the last locus of the locus group of the handwritten characters intended by the user is confirmed by the character cut time time-up event, the locus data in the handwritten
これにより、本発明では、文字切り時間タイムアップが発生しても、それ以降の入力に対しても、後処理を継続することができる。 As a result, in the present invention, even if the character cut time is increased, post-processing can be continued for subsequent input.
ステップS708において、認識開始領域が押下されたか否かを判定する。実施形態1では、認識開始領域は、図6の手書き文字入力領域67外の領域を定義しており、この領域に対する位置座標が入力された場合には、まず、認識開始イベントが発生する。
In step S708, it is determined whether or not the recognition start area has been pressed. In the first embodiment, the recognition start area defines an area outside the handwritten
具体的には、図6の手書き文字入力領域67外の座標が入力された時に、手書き文字入力領域67内に未処理の軌跡データが存在する場合は、まず、認識開始イベントが発生する。この認識開始イベントが発生した場合(ステップS708でYES)、ステップS709に進み、その位置座標入力のデータはそのまま保持され、その位置における処理を、次のイベントとして実行する。
Specifically, when unprocessed trajectory data exists in the handwritten
例えば、手書き文字入力領域67内に、「気」の手書き文字の軌跡が入力されている状態で、ボタン65が指示具3で押下されると、まず、手書き文字入力領域67外の領域(認識開始領域)が押されたことによる認識開始イベントが発生して、手書き文字認識が行われる。次に、その認識結果が入力文字バッファ領域61に表示された後で、ボタン65の押下に対する処理が実行される。一方、それ以外のイベントの場合(ステップS708でNO)、ステップS710に進む。
For example, when the
ステップS710において、1文字消去処理が指示されたか否かを判定する。これは、ボタン63上の位置座標が入力された場合(ステップS710でYES)、1文字消去処理と判定して、ステップS711に進む。一方、それ以外の位置座標入力である場合(ステップS710でNO)、ステップS712に進む。
In step S710, it is determined whether a one-character erasing process has been instructed. When the position coordinates on the
ステップS711において、1文字削除処理を実行する。これは、入力文字バッファ領域61内に文字がある場合は、その入力文字バッファ領域61内の右端の1文字を消去する。次に、その消去した文字に対応する、後処理部34内の後処理文字列内の認識候補を削除する処理を実行する。一方、入力文字バッファ領域61内に文字がない場合は、アプリケーション上のカーソル位置左側の文字を消去し、後処理部34内には処理対象のデータが存在しないため、何もしないでこの処理を終了する。
In step S711, a one-character deletion process is executed. When there is a character in the input
ステップS712において、アプリケーションの切替処理の有無を判定する。アプリケーション切替指示となる、図5のボタン56や59等上の位置座標が入力された場合(ステップS712でYES)、アプリケーション切替動作であると判定して、ステップS713に進む。一方、それ以外の位置座標入力である場合(ステップS712でNO)、ステップS714に進む。
In step S712, it is determined whether or not there is application switching processing. When the position coordinates on the
ステップS713において、後処理文字列を継続する。実施形態1では、アプリケーションの切替を行っても、手書き文字入力ユーティリティプログラムの入力が継続する構成となっている。これは、入力途中でアプリケーションを変更する要求が発生する場合もあることを想定したものである。そのため、後処理部34に対して後処理継続指示を出して入力待ちとする。
In step S713, the post-processing character string is continued. In the first embodiment, the input of the handwritten character input utility program is continued even when the application is switched. This assumes that a request for changing an application may occur during input. Therefore, a post-processing continuation instruction is issued to the
ステップS714において、仮名漢字変換処理の指示の有無を判定する。 In step S714, it is determined whether or not there is an instruction for kana-kanji conversion processing.
これは、図6のボタン62の位置座標が入力された場合(ステップS714でYES)、仮名漢字変換処理であると判定して、ステップS715へ進む。それ以外の位置座標入力である場合(ステップS714でNO)、ステップS716へ進む。
If the position coordinates of the
ステップS715において、仮名漢字変換処理を実行する。仮名漢字変換処理自体は、従来から行われている各種仮名漢字変換処理で構わないので、その詳細な説明は省略する。簡単に説明すると、入力文字バッファ領域61内に文字が入力されている場合で、例えば、「てんき」の平仮名が入力されている場合は、その文字列の仮名漢字変換を行い、「天気」等に変換する。この仮名漢字変換処理が実行される場合、入力文字列から、異なる文字コードの文字列に変換される処理がなされる。そのため、ここでは、後処理を継続しても意味をなさないので、後処理部34に対する文字列後処理完了フラグをセットする。
In step S715, kana-kanji conversion processing is executed. Since the kana-kanji conversion process itself may be various kana-kanji conversion processes conventionally performed, detailed description thereof will be omitted. Briefly, when a character is input in the input
ステップS716において、文字列挿入が指示されたか否かを判定する。文字列挿入のコマンド等がユーザ指示により発生した場合(ステップS7164でYES)、ステップS717に進む。このステップS717は、ステップS715と同様の処理を実行する。一方、それ以外の位置座標入力やそれ以外のイベントである場合(ステップS716でNO)、処理を終了する。 In step S716, it is determined whether a character string insertion is instructed. If a character string insertion command or the like is generated by a user instruction (YES in step S7164), the process advances to step S717. In step S717, processing similar to that in step S715 is executed. On the other hand, if it is any other position coordinate input or other event (NO in step S716), the process ends.
ここまで説明した処理により、各手書き文字入力の入力処理や編集処理に応じて、手書き文字の文字列単位の処理である後処理の継続や中止を制御することができる。 With the processing described so far, it is possible to control continuation or cancellation of post-processing that is processing in units of character strings of handwritten characters in accordance with input processing and editing processing of each handwritten character input.
尚、図7で示される各種判定(ステップS702、ステップS704、ステップS706、ステップS708、ステップS710、ステップS712、ステップS714、ステップS716)の順序は、図7で示される順序に限定されるものではなく、用途や目的に応じて、その順序を変更することができる。 7 is not limited to the order shown in FIG. 7 (step S702, step S704, step S706, step S708, step S710, step S712, step S714, step S716). The order can be changed according to the use and purpose.
次に、手書き文字認識処理について、図8を用いて説明する。 Next, the handwritten character recognition process will be described with reference to FIG.
図8は本発明の実施形態1の手書き文字認識処理を示すフローチャートである。 FIG. 8 is a flowchart showing handwritten character recognition processing according to the first embodiment of the present invention.
尚、手書き文字認識処理を開始する場合には、まず、この処理が使用するRAM7上のワーク領域等の初期化を行う。また、この処理は、主に、手書き文字認識部35によって実行される。認識対象とする1文字分の軌跡の位置座標データは、図6の手書き文字入力領域67上の領域67a及び67bによって、それぞれの領域に入力された軌跡データが1文字分の軌跡データとして入力される。
When the handwritten character recognition process is started, the work area on the
ステップS902において、1文字分の軌跡データをワーク領域に読み込む。例えば、1文字分の軌跡データは、1画の文字であれば、1筆の軌跡データで構成されている。また、2画以上の文字であれば、複数の1筆の軌跡データから構成されている。1筆の軌跡データは、その位置を規定する、例えば、始点のXY位置座標データからはじまり、軌跡の形状に沿ったXY位置座標データが終点のXY位置座標まで続く。そして、従来からあるアルゴリズムにより、位置座標データの正規化を行い、特徴点(特徴データ)を抽出する。 In step S902, trajectory data for one character is read into the work area. For example, the trajectory data for one character is composed of trajectory data for one stroke if it is a character of one stroke. Moreover, if it is a character of 2 strokes or more, it is composed of a plurality of stroke data of one stroke. The trajectory data of one stroke starts with the XY position coordinate data of the start point, for example, and the XY position coordinate data along the shape of the trajectory continues to the XY position coordinate of the end point. Then, the position coordinate data is normalized by a conventional algorithm, and feature points (feature data) are extracted.
ステップS903において、得られる軌跡データに対して、認識処理を実行し、その認識結果である候補文字(文字コード)をRAM7に記憶する。ここでは、ステップS902において抽出した軌跡データの特徴データと、認識用辞書の標準文字辞書データとのマッチング処理を行う。そして、一番一致度が高い標準文字辞書データに対応する文字コードと一致度のスコア(評価値)を認識結果として記憶し、順次一致度の高い順に標準文字辞書データに対応する文字コードを認識結果候補として記憶する。
In step S903, recognition processing is executed on the obtained trajectory data, and candidate characters (character codes) as the recognition results are stored in the
ステップS904において、認識結果候補を後処理部34に登録する。つまり、ステップS903において記憶した認識結果の文字コードとその評価値を、後処理部34に登録する。後処理部34は、順次認識された認識結果である文字コードとその評価値を記憶して行くことになる。
In step S904, recognition result candidates are registered in the
ここで、例えば、「工場」という手書き文字が入力された場合について説明する。まず、手書き文字認識部35によって、「工」に対する認識結果の第1候補の文字が「工」でその評価値が100であり、第2候補の文字が「エ」でその評価値が100であり、第3候補の文字が「ェ」でその評価値が90であるとする。
Here, for example, a case where a handwritten character “factory” is input will be described. First, by the handwritten
次に、「場」に対する認識結果の第1候補の文字が「揚」でその評価値が98で、第2候補の文字が「場」で一致度の評価値が96であるとする。 Next, it is assumed that the first candidate character of the recognition result for “place” is “lift” and its evaluation value is 98, the second candidate character is “place”, and the coincidence evaluation value is 96.
この場合、後処理部34では、その候補の組み合わせ文字列の連鎖確率を後処理用辞書によって算出する。組み合わせは、「工揚」、「工場」、「エ揚」、「エ場」、「ェ揚」、「ェ場」等になる。そして、後処理部34は、これらの組み合わせの中で、一番連鎖確率が高い候補文字列を決定する。
In this case, the
ステップS905において、後処理部34から候補文字列を読み出す。
In step S905, the candidate character string is read from the
上述のように、例えば、手書き文字として「工場」を入力した際の手書き文字認識処理部35での認識結果が「工揚」である場合でも、ステップS904の後処理部34の処理によって、一番連鎖確率が高い候補文字列「工場」として決定されると、手書き文字の候補文字列として、「工場」が読み出されることになる。この場合、手書き文字認識処理部35での認識結果が「工揚」が「工場」に置き換えることができる。
As described above, for example, even when the recognition result in the handwritten character
ステップS906において、認識結果を表示する。例えば、図6の入力文字バッファ領域61において、当初の認識結果として得られた「工場」が、ステップS905の処理によって「工場」に置き換わって表示されることになる。
In step S906, the recognition result is displayed. For example, in the input
この一連の処理を、時系列で説明すると、最初に「工」が入力され、次の文字「場」の1筆目が入力されると、その時点で、入力された「工」に対する手書き文字認識部35による認識結果の「工」が、入力文字バッファ領域61に表示される。
This series of processes will be described in time series. When “Kaku” is input first and the first stroke of the next character “K” is input, at that time, the handwritten character corresponding to the input “K” is input. The “result” of the recognition result by the
次に、「場」の文字の入力が、例えば、文字切り時間で確定すると、「場」に対する手書き文字認識部35よる認識が開始され、その認識結果の1位が「揚」であれば、入力文字バッファ領域61には、その認識結果として「工揚」が表示されることになる。
Next, when the input of the character of “place” is confirmed by, for example, the character cutting time, recognition by the handwritten
次に、後処理部34によって、手書き文字認識部35による認識候補内の組み合わせで一番連鎖確率が高い候補文字列を決定し、その候補文字列が「工場」であれば、入力文字バッファ領域61の表示を「工揚」から「工場」に置き換える。
Next, the
更に、次に入力されるユーザ指示が手書き文字、例えば、「が」であれば、入力文字列としては、「工場が」後処理対象となって後処理が実行される。 Furthermore, if the user instruction to be input next is a handwritten character, for example, “GA”, the input character string is “factory is” post-processing target and post-processing is executed.
一方、後処理結果の「工場」が意図した認識結果でなく、他の候補への候補変更処理や、1文字消去処理等の指示がなされる場合は、その時点までの文字列を確定文字列として取り扱い、後処理の継続を中止する(つまり、一旦、この時点で、文字列後処理完了フラグがセットされる)。その後、次に、入力される手書き文字は、後処理対象の先頭の文字として取り扱うことになる(この場合、文字列後処理完了フラグがリセットされる)。 On the other hand, if the post-processing result “factory” is not the intended recognition result but an instruction such as candidate change processing to another candidate or single character deletion processing is given, the character string up to that point is determined And the continuation of the post-processing is stopped (that is, the character string post-processing completion flag is set once at this time). Thereafter, the input handwritten character is handled as the first character to be post-processed (in this case, the character string post-processing completion flag is reset).
その後、手書き文字認識処理を終了する。ここで、記憶した一文字分の軌跡データを消去し、ワーク領域等を開放する。 Thereafter, the handwritten character recognition process is terminated. Here, the stored trajectory data for one character is deleted, and the work area or the like is released.
以上説明したように、実施形態1によれば、ユーザの指示入力によって規定される処理種類に応じて、入力された文字列に対する後処理の継続の有無を判定する後処理継続判定部を設ける。これによって、ユーザが、入力した文字列に対する後処理の継続や、確定を意識することなく(つまり、後処理単位の区切りを指定する操作を実行することなく)、文字入力や編集操作を自然に行える手書き文字認識環境を実現することができる。これにより、ユーザが意図する文字の入力が容易な手書き文字認識環境を実現することができる。 As described above, according to the first embodiment, the post-processing continuation determination unit that determines whether or not to continue the post-processing for the input character string is provided according to the processing type defined by the user's instruction input. This makes it possible for the user to input and edit characters naturally without having to worry about continuation or confirmation of the input character string (ie, without performing an operation to specify a post-processing unit delimiter). An environment for recognizing handwritten characters can be realized. Thereby, the handwritten character recognition environment where the input of the character which a user intends is easy is realizable.
<実施形態2>
実施形態1では、後処理対象の文字列は、手書き文字の認識結果を取り扱う例で説明を行っているが、通常の携帯情報機器では、手書き文字入力以外にも他のアプリケーションからコピーしたテキスト文字列を挿入して使う場合も多く存在する。このような場合は、1つの文の中に手書き文字の認識結果の文字と、挿入されたテキスト文字列とが混在することになる。この場合、今までの手書き文字認識装置では、このような状況での後処理を実現することはできない。
<
In the first embodiment, the character string to be post-processed is described as an example of handling the recognition result of handwritten characters. However, in a normal portable information device, text characters copied from other applications in addition to handwritten character input There are many cases where a column is inserted and used. In such a case, the character of the recognition result of the handwritten character and the inserted text character string are mixed in one sentence. In this case, the conventional handwritten character recognition apparatus cannot realize post-processing in such a situation.
そこで、実施形態2では、実施形態1の構成に加えて、テキスト挿入文字列を後処理部34へ挿入するための挿入部101(図9)を追加する。これにより、1つの文の中に手書き文字の認識結果の文字と、挿入されたテキスト文字列とが混在する状態での、後処理を効率良く実現することができる。
Therefore, in the second embodiment, in addition to the configuration of the first embodiment, an insertion unit 101 (FIG. 9) for inserting a text insertion character string into the
尚、挿入されたテキスト文字列とは、例えば、任意のアプリケーション上でコピーされた文字列や、過去に入力された文字列や、手書き認識された平仮名を仮名漢字変換した文字列がある。 The inserted text character string includes, for example, a character string copied on an arbitrary application, a character string input in the past, and a character string obtained by converting a handwritten recognized hiragana to kana / kanji.
まず、実施形態2の携帯情報機器の機能構成について、図9を用いて説明する。 First, the functional configuration of the portable information device according to the second embodiment will be described with reference to FIG.
図9は本発明の実施形態2の携帯情報機器の機能構成を示す図である。 FIG. 9 is a diagram showing a functional configuration of the portable information device according to the second embodiment of the present invention.
尚、実施形態1の図3と同一の構成については、同一の参照番号を付加して、その詳細説明については省略する。
In addition, about the structure same as FIG. 3 of
実施形態2では、上述したように、テキスト挿入文字列を後処理部34へ挿入するための挿入部101を有している。この挿入部101は、図6の手書き文字入力ユーティリティプログラム内の入力文字バッファ領域61に、他のアプリケーションプログラムや過去に保存したテキスト文字列を挿入する時に呼ばれる処理部である。
In the second embodiment, as described above, the
この挿入部101では、入力文字バッファ領域61に入力されている手書き文字の認識結果である候補文字列と、挿入されたテキスト文字列を後処理の対象文字列として取り扱うための処理を実行する。そして、この処理された候補文字列を、後処理部34に送信する。
The
次に、実施形態2の文字認識処理の具体例について、図10〜図12を用いて説明する。 Next, a specific example of character recognition processing according to the second embodiment will be described with reference to FIGS.
図10〜図12は本発明の実施形態2の文字認識処理の具体例を説明するための図である。 10 to 12 are diagrams for explaining a specific example of character recognition processing according to the second embodiment of the present invention.
図10〜図12は、ワープロアプリケーション上で、手書き文字入力ユーティリティプログラムが動作する場合の表示画面例を示している。 10 to 12 show examples of display screens when a handwritten character input utility program operates on a word processor application.
図10において、111は、ワープロアプリケーションのテキスト入力領域を示している。112は、後処理部34に挿入されるテキスト文字列を概念的に表している表示である。「都市」というテキストが、そのワープロアプリケーションが動作するOS(オペレーティングシステム)の機能であるテキスト用のカットバッファ領域(クリップボード領域:OSが内部メモリに確保する記憶領域)に記憶されている状態を示している。
In FIG. 10,
図11は、図10の状態から、「都市」のテキスト文字列が入力文字列バッファ領域61に挿入された状態を示している。また、図12は、図11の入力文字列バッファ領域61中の「失われた都市の記憶を」の文字列の後ろに、手書きの「思い」を入力しようとする状態を示している。
FIG. 11 shows a state where the text character string “city” is inserted into the input character
次に、挿入部101による、挿入された文字列を後処理部34へ挿入する(追加する)挿入処理について、図13を用いて説明する。
Next, an insertion process for inserting (adding) the inserted character string into the
図13は本発明の実施形態2の挿入処理を示すフローチャートである。 FIG. 13 is a flowchart showing insertion processing according to the second embodiment of the present invention.
尚、このフローチャートに沿って、図10〜図12の状態遷移についても説明する。 In addition, the state transition of FIGS. 10-12 is also demonstrated along this flowchart.
他のアプリケーション等で、メニューや、操作キー等による従来からある操作によって文字列を選択し、特定記憶領域(システム文字列記憶領域)にコピーする。 In another application or the like, a character string is selected by a conventional operation using a menu, an operation key, or the like, and copied to a specific storage area (system character string storage area).
次に、その特定記憶領域(システム文字列記憶領域)に記憶された文字列を、テキストカーソルが表示している場所にコマンドやメニュー等の指示により挿入する。 Next, the character string stored in the specific storage area (system character string storage area) is inserted into the place where the text cursor is displayed by an instruction such as a command or a menu.
ここまでの処理は、一般的なコンピュータや携帯情報機器での一般的な処理なので詳細な説明は行わない。 Since the process so far is a general process in a general computer or portable information device, a detailed description thereof will not be given.
図10の入力文字列バッファ領域61の「失われたの記憶を」の文字列の「失われた」の後ろにカーソルを移動させ、そこで、システム文字列記憶領域に記憶している「都市」の挿入が指示される。
The cursor is moved after “lost” in the character string “lost memory” in the input character
挿入が指示されると、画面上は、図11の入力文字列バッファ領域61の「失われた都市の記憶を」の文字列になる。尚、テキストの挿入処理自体は、従来の携帯情報機器と同一の処理である。
When the insertion is instructed, the character string “store lost city” in the input character
この処理は、主に、挿入部101によって実行される。この処理の実行にあたっては、この処理が使用するRAM7上のワーク領域等の初期化を行う。
This process is mainly executed by the
次に、ステップS142において、システム文字列記憶領域に、記憶された挿入対象のテキスト文字列(挿入テキスト文字列)を読み込む。例えば、図10で表している、挿入テキスト文字列「都市」の文字コードをRAM7内に記憶する。また、挿入が指示された時のカーソルの位置の位置情報を記憶する。
Next, in step S142, the stored text character string to be inserted (inserted text character string) is read into the system character string storage area. For example, the character code of the insertion text character string “city” shown in FIG. 10 is stored in the
ステップS143において、その挿入テキスト文字列を確定文字列として後処理部34に挿入するために、その文字列データを、後処理部34で処理する文字データと同じ構造(フォーマット)に加工する加工処理を実行する。後処理部34で処理する文字列データ(後処理用文字列データ)は、文字コードとその評価値で構成されている。そこで、この挿入テキスト文字列は、もともと文字コードで規定されているので、加工処理では、その文字コードに対して、その評価値を最高点である100に設定した後処理用文字列データを作成する。
In step S143, in order to insert the inserted text character string into the
例えば、「都市」の例で説明すると、(「都」の文字コードとその評価値100、「市」の文字コードとその評価値100)の後処理用文字列データを作成し、カーソルの位置のデータと一緒に、後処理部34に出力する。
For example, in the case of “city”, post-processing character string data is created (character code of “city” and its evaluation value 100, character code of “city” and its evaluation value 100), and the position of the cursor Are output to the
その後、この処理が使用したワーク領域等を開放する処理を実行して、処理を終了する。 Thereafter, a process for releasing the work area used by the process is executed, and the process is terminated.
後処理部34は、挿入カーソル位置を示す位置情報に基づいて、挿入テキスト文字列に対応する後処理用文字列データの挿入位置を判定する。そして、その判定結果に基づいて、その後処理用文字列データを、後処理部34の後処理文字列記憶領内のカーソル位置に対応するデータ位置に挿入する。
The
例えば、図10及び図11の例で説明すると、文字列「失われたの記憶を」において、「た」の右の位置にカーソルが存在する。そのため、カーソル位置は、4文字目の右となり、挿入カーソル位置のデータは4文字目を示す4というデータになる。 For example, in the example of FIG. 10 and FIG. 11, the cursor exists at a position to the right of “ta” in the character string “memory of lost”. Therefore, the cursor position is to the right of the fourth character, and the data at the insertion cursor position is data of 4 indicating the fourth character.
図10の文字列「失われたの記憶を」が、手書き文字入力における認識結果であれば、後処理の1文字目の「失」のデータは、第1候補「失」とその評価値98、第2候補「矢」とその評価値90で構成されている。以降、同様にして、例えば、4文字目の「た」は、第1候補「た」とその評価値97、第2候補「E」とその評価値60、第3候補「太」とその評価値59である。また、5文字目の「の」は、第1候補「の」とその評価値97、第2候補「0」とその評価値80、第3候補「o」とその評価値78である。 If the character string “memory of lost” in FIG. 10 is a recognition result in handwritten character input, the data of “lost” of the first character of post-processing is the first candidate “lost” and its evaluation value 98. The second candidate “arrow” and its evaluation value 90 are included. Thereafter, in the same manner, for example, “ta” of the fourth character is the first candidate “ta” and its evaluation value 97, the second candidate “E” and its evaluation value 60, and the third candidate “thick” and its evaluation. The value is 59. The fifth character “NO” is the first candidate “NO” and its evaluation value 97, the second candidate “0” and its evaluation value 80, and the third candidate “O” and its evaluation value 78.
この状態の後処理用文字列データに対して、「都」の文字コードとその評価値100、「市」の文字コードとその評価値100を挿入する。ここで、挿入位置は、4文字目のデータの後ろであるから、4文字目の「た」の最後のデータである第3候補「太」の後ろに挿入され、5文字目が「都」となり、そのデータは第1候補「都」とその評価値100となる。 In this state, the character code “Me” and its evaluation value 100, and the character code “City” and its evaluation value 100 are inserted into the post-processing character string data. Here, since the insertion position is after the fourth character data, it is inserted after the third candidate “thick” which is the last data of “ta” of the fourth character, and the fifth character is “Miyako”. The data is the first candidate “Miyako” and its evaluation value 100.
続いて、6文字目が「市」となり、そのデータは第1候補「市」とその評価値100となる。7文字目は「の」となり、そのデータは第1候補「の」とその評価値97、第2候補「0」とその評価値80、第3候補「o」とその評価値78になる。以下のデータは、順次後ろにずれることになる。 Subsequently, the sixth character is “city”, and the data is the first candidate “city” and its evaluation value 100. The seventh character is “NO”, and the data is the first candidate “NO” and its evaluation value 97, the second candidate “0” and its evaluation value 80, and the third candidate “O” and its evaluation value 78. The following data will be sequentially shifted backward.
以上のようにして、後処理部34で処理する後処理用文字列データの内容が更新される。つまり、ここでは、1つの文の中に手書き文字の認識結果の文字と、挿入テキスト文字列とが混在する状態の後処理用文字列データが生成されることになる。
As described above, the content of the post-processing character string data processed by the
次に、その後処理文字列データが更新された後に、手書き文字が入力される例を、図12を用いて説明する。 Next, an example in which handwritten characters are input after the processed character string data is updated will be described with reference to FIG.
図12において、手書き文字入力67の領域67a及び67bとにおいて、手書き文字「思い」が入力されると、実施形態1で説明した処理と同様に、まず、手書き文字認識処理が実行される。この場合、例えば、「思」に対する認識結果の第1候補「思」とその評価値98、第2候補「恵」とその評価値67と、「い」の認識結果の第1候補「い」とその評価値95、第2候補「ぃ」とその評価値90が得られるとする。
In FIG. 12, when a handwritten character “thought” is input in the
この手書きの「思い」が入力される時に、後処理部34における後処理用文字列データは「失われた都市の記憶を」であり、また、手書き文字の認識結果を挿入するカーソル位置は「を」の後ろに存在する。
When this handwritten “thought” is input, the post-processing character string data in the
この場合、後処理用文字列データの10文字目の「を」の第1候補「を」(評価値96)、第2候補「あ」(評価値77)の後ろに、「思」に対する認識結果の第1候補「思」(評価値98)、第2候補「恵」(評価値67)と、「い」の認識結果の第1候補「い」(評価値95)と、第2候補「ぃ」(評価値90)のデータを挿入する。 In this case, the first candidate “O” (evaluation value 96) and the second candidate “A” (evaluation value 77) of the tenth character of the post-processing character string data are recognized for “think”. The first candidate “thought” (evaluation value 98), the second candidate “Megumi” (evaluation value 67), the first candidate “i” (evaluation value 95) of the recognition result of “i”, and the second candidate The data of “i” (evaluation value 90) is inserted.
このように処理された、後処理用文字列データ(「失われた都市の記憶を思い」)を元に、実施形態1で説明した後処理を行い、認識候補の表示候補を変更し、入力文字バッファ領域61に表示する。
Based on the post-processing character string data processed in this way ("Lost memory of a lost city"), the post-processing described in the first embodiment is performed, the recognition candidate display candidates are changed, and input Displayed in the
この後処理用文字列データでの後処理を簡単に説明すると、後処理用文字列データ「失われた都市の記憶を思い」の内、「失われた」、「記憶を」、「思い」は手書き入力に対する認識結果であるので、その処理対象としてはそれぞれ複数の候補からなる文字コード群が存在し、「都市」は挿入テキスト文字列データとして入力されたので、1つの文字に対して1文字コードしか存在しない。 The post-processing with the post-processing character string data will be briefly explained. Among the post-processing character string data “I want to remember the lost city”, “Lost”, “Memory”, “Thought” Is a recognition result for handwritten input, and there are character code groups each consisting of a plurality of candidates as processing targets, and “city” is input as inserted text character string data. Only character codes exist.
即ち、後処理用文字列データは、図14に示すような文字列(文字コード)候補列の組み合わせが得られることになる。そして、後処理部34は、一番連鎖確率が高い候補文字列を連鎖確率用の後処理用辞書を元に決定する。尚、連鎖確率の算出方法については、従来より周知の方法を用いれば良いので、ここでは、その説明は省略する。
That is, as the post-processing character string data, a combination of character string (character code) candidate strings as shown in FIG. 14 is obtained. Then, the
以上説明したように、実施形態2によれば、テキスト文字を手書き文字入力に対する文字認識結果編集(確認)領域(入力文字バッファ領域)に挿入する構成を設けると、手書き文字列の入力過程で、別のアプリケーションで生成されたテキスト文字列やシステム文字列記憶領域に記憶されたテキスト文字列を挿入することができる。 As described above, according to the second embodiment, when a configuration for inserting a text character into a character recognition result editing (confirmation) region (input character buffer region) for handwritten character input is provided, A text character string generated by another application or a text character string stored in the system character string storage area can be inserted.
これにより、手書き文字入力に対する認識結果からなる文字列と、別途挿入されたテキスト文字列とが混在する文字列に対する後処理を問題無く機能させることができる手書き文字認識機能を搭載する情報処理装置を実現することができる。 Accordingly, an information processing apparatus equipped with a handwritten character recognition function capable of functioning a post-processing for a character string in which a character string including a recognition result for handwritten character input and a separately inserted text character string functions without any problem. Can be realized.
より具体的には、手書き入力による文字列を入力した後に、例えば、ワープロアプリケーションで作成した平仮名漢字変換による漢字文字列を入力し、更に、手書き入力による文字列を入力した場合でも、これらの入力した文字列を1つの処理対象として後処理(実施形態2では、例えば、連鎖確率算出処理)を実行することができる。これにより、ユーザが意図する文字列を、効率的にかつ適切な処理単位で後処理を実現することができ、より認識率の高い文字認識環境を提供することができる。 More specifically, after inputting a character string by handwriting input, for example, inputting a kanji character string by hiragana-kanji conversion created by a word processing application, and further inputting these characters even when inputting a character string by handwriting input Post-processing (for example, chain probability calculation processing in the second embodiment) can be executed with the processed character string as one processing target. As a result, it is possible to efficiently post-process the character string intended by the user in an appropriate processing unit, and to provide a character recognition environment with a higher recognition rate.
以上、実施形態例を詳述したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。 Although the embodiments have been described in detail above, the present invention can take an embodiment as, for example, a system, an apparatus, a method, a program, or a storage medium, and specifically includes a plurality of devices. The present invention may be applied to a system that is configured, or may be applied to an apparatus that includes a single device.
尚、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図に示すフローチャートに対応したプログラム)を、システムあるいは装置に直接あるいは遠隔から供給し、そのシステムあるいは装置のコンピュータが該供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。 In the present invention, a software program (in the embodiment, a program corresponding to the flowchart shown in the figure) that realizes the functions of the above-described embodiment is directly or remotely supplied to the system or apparatus, and the computer of the system or apparatus Is also achieved by reading and executing the supplied program code.
従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。 Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。 In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.
プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などがある。 As a recording medium for supplying the program, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card ROM, DVD (DVD-ROM, DVD-R) and the like.
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 As another program supply method, a client computer browser is used to connect to an Internet homepage, and the computer program of the present invention itself or a compressed file including an automatic installation function is downloaded from the homepage to a recording medium such as a hard disk. Can also be supplied. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.
また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現され得る。 In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS running on the computer based on an instruction of the program is a part of the actual processing. Alternatively, the functions of the above-described embodiment can be realized by performing all of them and performing the processing.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現される。 Furthermore, after the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or The CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
1 携帯情報機器
2 表示部
3 指示具
4 カメラ部
4a CCD
5 座標入力部
6 CPU
7 RAM
8 ROM
9 メディアI/F
10 キーボード
11 外部I/F
12 ネットワークI/F
13 システムバス
DESCRIPTION OF
5 Coordinate
7 RAM
8 ROM
9 Media I / F
10
12 Network I / F
13 System bus
Claims (10)
前記軌跡データを入力する入力手段と、
前記入力手段で入力された軌跡データに対応する文字を認識する文字認識手段と、
前記文字認識手段による文字認識結果の候補文字列を後処理する後処理手段と、
前記入力手段による入力処理、前記文字認識結果の候補に対する処理を含む各種処理の実行を指示するための指示手段と、
前記指示手段によって実行が指示される処理種類に基づいて、該指示手段による指示以降に入力される新たな文字を、前記後処理手段で既に後処理対象となっている後処理文字列に継続させるか否かを判定する判定手段と
を備えることを特徴とする情報処理装置。 An information processing apparatus that inputs handwritten character trajectory data, recognizes characters, and performs post-processing on the character recognition results,
Input means for inputting the locus data;
Character recognition means for recognizing characters corresponding to the trajectory data input by the input means;
Post-processing means for post-processing candidate character strings of character recognition results by the character recognition means;
Instruction means for instructing execution of various processes including input processing by the input means and processing for the character recognition result candidates;
Based on the processing type instructed to be executed by the instruction means, a new character input after the instruction by the instruction means is continued to the post-processing character string that has already been post-processed by the post-processing means. An information processing apparatus comprising: determination means for determining whether or not.
ことを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, further comprising: an inserting unit that inserts a character whose character code corresponding to the newly input character is determined.
ことを特徴とする請求項1に記載の情報処理装置。 When the processing type is an input process by the input unit, the determination unit determines a candidate character newly input as a character recognition result by the character recognition unit with respect to trajectory data input by the input unit. The information processing apparatus according to claim 1, wherein the post-processing means continues the post-processing character string that has already been subjected to post-processing.
ことを特徴とする請求項1に記載の情報処理装置。 An operation screen including a candidate display area for displaying candidate characters as a result of character recognition by the input means, the instruction means, and the character recognition means; an application screen generated by an application operating on the information processing apparatus; The information processing apparatus according to claim 1, further comprising display means for displaying a switching operation screen for switching a plurality of types of applications operating on the information processing apparatus.
前記指示手段は、
前記候補表示領域上の候補文字を変更するための変更部と、
前記候補表示領域上の候補文字を仮名漢字変換するための変換部と、
前記候補表示領域上で表示されるカーソルが位置する前の候補文字を削除するための削除部と、
前記候補表示領域上で空白文字を挿入するための空白文字挿入部と、
前記候補表示領域上の候補文字列を確定して前記アプリケーション画面上に、該候補文字列を挿入するための候補文字列確定部と
を備えることを特徴とする請求項4に記載の情報処理装置。 The input means includes an input area for inputting the trajectory data,
The instruction means includes
A changing unit for changing candidate characters on the candidate display area;
A conversion unit for converting a candidate character on the candidate display area to a kana-kanji character;
A deletion unit for deleting the candidate character before the cursor displayed on the candidate display area is located;
A blank character insertion portion for inserting a blank character on the candidate display area;
5. The information processing apparatus according to claim 4, further comprising: a candidate character string determination unit that determines a candidate character string on the candidate display area and inserts the candidate character string on the application screen. .
ことを特徴とする請求項5に記載の情報処理装置。 The determination means includes an input process for the input area, a timer event process that occurs when a non-input time for the input area has elapsed for a predetermined time, a deletion process by the deletion unit, and a switching by the switching operation screen. In the case of any of the processes, a candidate character newly input as a character recognition result by the character recognition unit for the trajectory data input to the input area is already subjected to post-processing by the post-processing unit. The information processing apparatus according to claim 5, wherein the post-processing character string is continued.
前記判定手段は、前記処理手種類が前記挿入手段による挿入処理である場合には、その挿入処理で新たに入力される文字を、前記後処理手段で既に後処理対象となっている後処理文字列に継続させる
ことを特徴とする請求項1に記載の情報処理装置。 An operating unit that controls the information processing apparatus further includes an insertion unit that inserts characters stored in a storage area secured in the internal memory;
In the case where the type of processing is insertion processing by the insertion means, the determination means determines a character newly input by the insertion processing as a post-processing character that has already been post-processed by the post-processing means. The information processing apparatus according to claim 1, wherein the information processing apparatus is continued in a row.
ことを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the post-processing unit calculates a chain probability between candidate character strings of the character recognition result.
前記軌跡データを入力する入力工程と、
前記入力工程で入力された軌跡データに対応する文字を認識する文字認識工程と、
前記文字認識工程による文字認識結果の候補文字列を後処理する後処理工程と、
前記入力工程による入力処理、前記文字認識結果の候補に対する処理を含む各種処理の実行を指示するための指示工程と、
前記指示工程によって実行が指示される処理種類に基づいて、該指示工程による指示以降に入力される新たな文字を、前記後処理工程で既に後処理対象となっている後処理文字列に継続させるか否かを判定する判定工程と
を備えることを特徴とする情報処理装置の制御方法。 A method for controlling an information processing apparatus that inputs handwritten character trajectory data, recognizes characters, and performs post-processing on the character recognition results.
An input step for inputting the trajectory data;
A character recognition step for recognizing characters corresponding to the trajectory data input in the input step;
A post-processing step of post-processing the candidate character string of the character recognition result by the character recognition step;
An instruction process for instructing execution of various processes including an input process by the input process and a process for the candidate character recognition result;
Based on the processing type instructed to be executed by the instruction process, new characters input after the instruction by the instruction process are continued to the post-processing character string that has already been post-processed in the post-processing process. And a determination step of determining whether or not the information processing apparatus is controlled.
前記軌跡データを入力する入力工程のプログラムコードと、
前記入力工程で入力された軌跡データに対応する文字を認識する文字認識工程のプログラムコードと、
前記文字認識工程による文字認識結果の候補文字列を後処理する後処理工程のプログラムコードと、
前記入力工程による入力処理、前記文字認識結果の候補に対する処理を含む各種処理の実行を指示するための指示工程のプログラムコードと、
前記指示工程によって実行が指示される処理種類に基づいて、該指示工程による指示以降に入力される新たな文字を、前記後処理工程で既に後処理対象となっている後処理文字列に継続させるか否かを判定する判定工程のプログラムコードと
を備えることを特徴とするプログラム。 A program that realizes control of an information processing apparatus that inputs trajectory data of handwritten characters, recognizes characters, and performs post-processing on the character recognition results,
A program code of an input process for inputting the locus data;
A program code of a character recognition step for recognizing characters corresponding to the trajectory data input in the input step;
A program code of a post-processing step of post-processing a candidate character string of a character recognition result by the character recognition step;
A program code of an instruction process for instructing execution of various processes including an input process by the input process and a process for the candidate character recognition result;
Based on the processing type instructed to be executed by the instruction process, new characters input after the instruction by the instruction process are continued to the post-processing character string that has already been post-processed in the post-processing process. And a program code of a determination step for determining whether or not.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005144227A JP2006323502A (en) | 2005-05-17 | 2005-05-17 | Information processor, and its control method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005144227A JP2006323502A (en) | 2005-05-17 | 2005-05-17 | Information processor, and its control method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006323502A true JP2006323502A (en) | 2006-11-30 |
Family
ID=37543153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005144227A Withdrawn JP2006323502A (en) | 2005-05-17 | 2005-05-17 | Information processor, and its control method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006323502A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009116529A (en) * | 2007-11-05 | 2009-05-28 | Alps Electric Co Ltd | Input processing device |
JPWO2017042981A1 (en) * | 2015-09-11 | 2018-05-31 | 富士通株式会社 | INPUT PROCESSING METHOD, INPUT PROCESSING DEVICE, INPUT PROCESSING PROGRAM, AND INPUT PROCESSING SYSTEM |
JP2022062064A (en) * | 2013-06-09 | 2022-04-19 | アップル インコーポレイテッド | Real-time handwriting recognition management |
US11620046B2 (en) | 2019-06-01 | 2023-04-04 | Apple Inc. | Keyboard management user interfaces |
US11640237B2 (en) | 2016-06-12 | 2023-05-02 | Apple Inc. | Handwriting keyboard for screens |
US11816326B2 (en) | 2013-06-09 | 2023-11-14 | Apple Inc. | Managing real-time handwriting recognition |
-
2005
- 2005-05-17 JP JP2005144227A patent/JP2006323502A/en not_active Withdrawn
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009116529A (en) * | 2007-11-05 | 2009-05-28 | Alps Electric Co Ltd | Input processing device |
JP2022062064A (en) * | 2013-06-09 | 2022-04-19 | アップル インコーポレイテッド | Real-time handwriting recognition management |
JP7078808B2 (en) | 2013-06-09 | 2022-05-31 | アップル インコーポレイテッド | Real-time handwriting recognition management |
US11816326B2 (en) | 2013-06-09 | 2023-11-14 | Apple Inc. | Managing real-time handwriting recognition |
JPWO2017042981A1 (en) * | 2015-09-11 | 2018-05-31 | 富士通株式会社 | INPUT PROCESSING METHOD, INPUT PROCESSING DEVICE, INPUT PROCESSING PROGRAM, AND INPUT PROCESSING SYSTEM |
US11640237B2 (en) | 2016-06-12 | 2023-05-02 | Apple Inc. | Handwriting keyboard for screens |
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 |
---|---|---|
US9703474B2 (en) | Gesture based document editor | |
CN102667753B (en) | The method and apparatus being easy to text editing | |
JP6902234B2 (en) | Methods for inserting characters into strings and corresponding digital devices | |
JP6725828B2 (en) | Information processing apparatus, control method, and program | |
WO2015083290A1 (en) | Electronic device and method for processing handwritten document information | |
WO2014147722A1 (en) | Electronic apparatus, method, and program | |
JP2019514096A (en) | Method and system for inserting characters in a string | |
JPH1115914A (en) | Character data input device and its method | |
JP2006323502A (en) | Information processor, and its control method and program | |
JP2013238918A (en) | Electronic apparatus, handwritten document display method and display program | |
JP2020064625A (en) | Input device, input method, program, and input system | |
JP6430198B2 (en) | Electronic device, method and program | |
US20200379639A1 (en) | Display apparatus, recording medium, and display method | |
JP2003044214A (en) | Handwritten character input device and program for realizing the same | |
JPH10124505A (en) | Character input device | |
JP2000099223A (en) | Data processor with handwritten character input interface and storage medium | |
JP2989084B2 (en) | Information processing device | |
JPH1063408A (en) | Portable information terminal equipment | |
JP5213794B2 (en) | Information processing apparatus and information processing method | |
JP4535186B2 (en) | Electronic device and program with dictionary function | |
JP6202997B2 (en) | Electronic device, method and program | |
JP2013077231A (en) | Display method of document data, display device of portable terminal | |
JP7248279B2 (en) | Computer system, program and method | |
JP6940625B2 (en) | Input information correction method and information terminal | |
JP2003015807A (en) | Method and program for controlling input |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080805 |