JPH09190501A - Device for recognizing character and its method - Google Patents

Device for recognizing character and its method

Info

Publication number
JPH09190501A
JPH09190501A JP8003842A JP384296A JPH09190501A JP H09190501 A JPH09190501 A JP H09190501A JP 8003842 A JP8003842 A JP 8003842A JP 384296 A JP384296 A JP 384296A JP H09190501 A JPH09190501 A JP H09190501A
Authority
JP
Japan
Prior art keywords
character
pattern
frame
recognition
stored
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.)
Granted
Application number
JP8003842A
Other languages
Japanese (ja)
Other versions
JP3780023B2 (en
Inventor
Eiji Takasu
英司 高須
Hiroto Yoshii
裕人 吉井
Tsuneichi Arai
常一 新井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP00384296A priority Critical patent/JP3780023B2/en
Publication of JPH09190501A publication Critical patent/JPH09190501A/en
Application granted granted Critical
Publication of JP3780023B2 publication Critical patent/JP3780023B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To respectively recognize plural characters even if the plural characters are entered in the character frame of a character frame plate composed of the plural character frames. SOLUTION: At least one specified character is stored in an external memory 208 and it is judged whether or not the specified character stored in the external memory 208 is contained in a pattern inputted in the character frame of the character input plate 203a. When it is judged that the pattern stored in the external memory 208 is contained, the pattern is extracted. Then, the character is recognized from the pattern which is obtained by removing the pattern extracted from the pattern inputted in the character frame.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字入力領域の文
字枠に入力される文字を認識する文字認識装置及びその
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition apparatus and method for recognizing a character input in a character frame of a character input area.

【0002】[0002]

【従来の技術】従来のオンライン手書き文字認識装置
は、ユーザが入力する手書き文字の文字パターンを予め
装置内に認識辞書として用意されている標準文字の文字
パターンと比較し、類似度の高い標準文字の文字パター
ンの文字コードを認識結果として出力するものである。
通常、文字を入力する際には、文字入力板と呼ばれる記
入エリアが設けられており、ユーザが入力する手書き文
字を装置に取り込むためのインタフェースアプリケーシ
ョンが備えられている。
2. Description of the Related Art A conventional on-line handwritten character recognition device compares a character pattern of a handwritten character input by a user with a character pattern of a standard character prepared in advance as a recognition dictionary in the device to compare a standard character with a high degree of similarity. The character code of the character pattern of is output as the recognition result.
Usually, when inputting a character, a writing area called a character input plate is provided, and an interface application for capturing handwritten characters input by the user into the device is provided.

【0003】手書きオンライン手書き文字認識装置内で
の文字認識処理は、1文字毎にユーザが入力する文字を
認識し、その認識結果を出力する方式で構成されている
ことが多いが、一方で、書き手となるユーザには文章等
の複数の文字を入力したい場合が生じる。この場合、装
置では、これらの複数の文字を構成する文字ストローク
から文字の区切りを検出し、1文字分の文字ストローク
を確定させた後、認識処理を行っていた。また、全く自
由に(大きさ、位置の制限によらない)書かれた複数の
文字から、それぞれの文字を検出するための文字の区切
り方法がいくつか提案されているが、いずれの方法も実
用レベルには至っておらず、その認識精度は低いもので
あった。
In many cases, the character recognition processing in the handwritten online handwritten character recognition apparatus is configured by recognizing a character input by the user for each character and outputting the recognition result. A user who is a writer may want to input a plurality of characters such as a sentence. In this case, in the device, the character delimiter is detected from the character strokes forming these plural characters, the character stroke for one character is confirmed, and then the recognition processing is performed. In addition, some character delimiter methods have been proposed to detect each character from multiple characters written completely freely (regardless of size and position restrictions), but either method is practical. It did not reach the level, and its recognition accuracy was low.

【0004】上述の認識精度を向上させるために、既に
市販されているMicrosoft社のWindows for Pens(商
標)、Go社のPenPoint(商標)等の入力ペンを用いて文
字を入力するOSに用いられる文字入力板では、各文字
の区切りをガイドする複数の文字枠(長方形矩形)を設
け、文字枠毎に1つの文字を記入するものであった。こ
の場合、文字枠毎に文字を認識すれば良いので、複数の
文字が入力されても精度良く文字認識をすることができ
た。更に、この複数の文字枠を用いた文字入力板は、文
字の区切り方法を容易にするだけでなく、同形状異字種
における大文字小文字判別にも応用されていた。
In order to improve the above-mentioned recognition accuracy, it is used in an OS for inputting characters using an input pen such as Windows for Pens (trademark) of Microsoft Corp. or PenPoint (trademark) of Go Corp. which is already on the market. In the character input plate, a plurality of character frames (rectangular rectangles) for guiding the separation of each character are provided, and one character is entered in each character frame. In this case, since it is sufficient to recognize the character for each character frame, it is possible to accurately recognize the character even if a plurality of characters are input. Further, the character input board using the plurality of character frames has been applied not only to facilitate the method of separating characters but also to distinguish uppercase and lowercase letters in the same shape and different character type.

【0005】また、このような文字枠付き文字入力板で
は、文字が入力された文字枠内に認識結果の文字を表示
した。更には、文字入力板において、認識対象文字種の
設定や、出力モードの設定を行うことで、ユーザの要求
に従って、認識処理の制御が可能となっていた。例え
ば、全角文字/半角文字のいずれかで文字を出力する指
定を行うことにより、認識結果の文字フォントを全角文
字、あるいは半角文字で出力することができた。
Further, in such a character input plate with a character frame, the recognition result character is displayed in the character frame in which the character is input. Further, by setting the recognition target character type and the output mode on the character input plate, the recognition process can be controlled according to the user's request. For example, the character font of the recognition result can be output as full-width characters or half-width characters by designating that the characters are output as either full-width characters / half-width characters.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来のオンライン手書き文字認識装置文字では、以下のよ
うな問題点があった。つまり、例えば、「10」のよう
な複数の数字の文字群や、「(図」のように括弧等と他
の文字を一緒にした文字群を、ユーザは1つの文字枠に
一緒にして記入してしまう場合がある。この場合、1つ
の文字枠に記入されたすべての文字の文字ストローク
は、1つの文字として認識を行うため誤った文字認識を
行ってしまうという問題点があった。このような例は他
にも存在し、特に数字や記号等を含む文字に多く見られ
る。
However, the above-mentioned conventional online handwritten character recognition device characters have the following problems. In other words, for example, a user can enter a character group of a plurality of numbers such as “10” or a character group including parentheses and other characters such as “(Figure) together in one character frame. In this case, there is a problem in that character strokes of all the characters written in one character frame are recognized as one character, resulting in incorrect character recognition. There are other such examples, especially in letters including numbers and symbols.

【0007】また、我々が日常、文章を書く際の日本文
書特有の書式によっても、同様の問題点が生じていた。
例えば、句読点等の記号を行頭に出現させない習慣があ
る。そのため、行頭に出現しそうな場合は行末に他の文
字と連結して記入するというものであり、学校教育等に
おいても指導されている。更には、文字入力板に関し、
1つの文字枠に記入できる文字数が1文字のみという制
限が、文章を記入するユーザには一般的な習慣や、ある
いは個人特有の書式といった日常の記入方法とは異なる
作法を強いられ、文字を入力する操作の操作性を低下さ
せるという問題点があった。
[0007] Further, the same problem has occurred due to the format peculiar to Japanese documents when we write sentences on a daily basis.
For example, there is a custom that a symbol such as a punctuation mark does not appear at the beginning of a line. Therefore, if it appears at the beginning of a line, it will be entered at the end of the line linked with other characters, and it is also taught in school education. Furthermore, regarding the character input board,
The limitation that the number of characters that can be entered in one character frame is only one character, the user who writes the text is forced to use a custom that is different from the usual writing method such as a custom or a personalized format, and the character is input. There is a problem that the operability of the operation to be performed is deteriorated.

【0008】本発明は上記の問題点に鑑みてなされたも
のであり、複数の文字枠からなる文字入力板の文字枠に
複数の文字を記入しても、これら複数の文字をそれぞれ
認識することができる文字認識装置及びその方法を提供
することを目的としている。また、複数の文字枠からな
る文字入力板の文字枠に1文字を記入する制限をなく
し、文字を入力する操作の操作性を向上することができ
る文字認識装置及びその方法を提供することを目的とし
ている。
The present invention has been made in view of the above problems. Even when a plurality of characters are entered in a character box of a character input plate having a plurality of character boxes, the plurality of characters can be recognized respectively. It is an object of the present invention to provide a character recognition device and a method therefor capable of performing. Another object of the present invention is to provide a character recognition device and a method thereof which can improve the operability of the operation of inputting a character by eliminating the restriction of writing one character in the character frame of a character input plate composed of a plurality of character frames. I am trying.

【0009】[0009]

【発明が解決しようとする課題】上記の目的を達成する
ための本発明による文字認識装置は以下の構成を備え
る。即ち、文字入力領域の文字枠に入力される文字を認
識する文字認識装置であって、少なくとも1つ以上のパ
ターンを記憶する記憶手段と、前記文字枠に入力された
パターンの中に、前記記憶手段に記憶されているパター
ンが含まれているか否かを判定する判定手段と、前記判
定手段によって前記記憶手段に記憶されているパターン
が含まれていると判定された場合、該パターンを抽出す
る抽出手段と、前記文字枠に入力されたパターンより、
前記抽出手段で抽出したパターンを除外して得られるパ
ターンから文字を認識する認識手段とを備える。
The character recognition device according to the present invention for achieving the above object has the following configuration. That is, a character recognition device for recognizing a character input in a character box of a character input area, a storage unit for storing at least one or more patterns, and the storage in the pattern input in the character box. Determining means for determining whether or not the pattern stored in the means is included, and when the determining means determines that the pattern stored in the storage means is included, the pattern is extracted. From the extraction means and the pattern entered in the character frame,
And a recognition unit that recognizes a character from a pattern obtained by excluding the pattern extracted by the extraction unit.

【0010】また、好ましくは、前記記憶手段は、パタ
ーンを構成する文字コードと該パターンを構成するスト
ロークの許容ストローク数と該パターンが記入されるべ
き位置を示す情報を記憶する。また、好ましくは、前記
判定手段は、前記記憶手段に記憶されるパターンを構成
するストロークの許容ストローク数と該パターンが記入
されるべき位置を示す情報に基づいて、前記文字枠に入
力されたパターンを構成するストロークの一部を獲得す
る獲得手段と、前記獲得手段で獲得されるストロークに
よって構成されるパターンと前記記憶手段に記憶される
パターンとを比較する比較手段とを備え、前記比較手段
による比較結果に基づいて、前記獲得手段で獲得される
ストロークによって構成されるパターンを、前記記憶手
段に記憶されるパターンとして判定する。
Further, preferably, the storage means stores information indicating a character code forming a pattern, an allowable stroke number of strokes forming the pattern, and a position where the pattern should be written. Further, preferably, the determination means is a pattern input to the character frame based on information indicating an allowable stroke number of strokes forming a pattern stored in the storage means and a position at which the pattern is to be written. And a comparison means for comparing a pattern formed by the strokes acquired by the acquisition means with a pattern stored in the storage means. Based on the comparison result, the pattern formed by the strokes acquired by the acquisition means is determined as the pattern stored in the storage means.

【0011】また、好ましくは、前記文字入力領域は複
数の文字枠を有し、前記判定手段による判定を、前記複
数の文字枠の所定の文字枠に対して実行されるよう該所
定の文字枠を指定する指定手段とを更に備える。所定の
文字枠を指定することによって、所望の文字枠に対する
文字認識を行うことができる。
Also, preferably, the character input area has a plurality of character frames, and the predetermined character frames are set so that the judgment by the judging means is executed for a predetermined character frame of the plurality of character frames. And a specifying means for specifying. By specifying a predetermined character frame, character recognition for a desired character frame can be performed.

【0012】また、好ましくは、前記認識手段は、文字
を構成する部分パターン単位で文字を認識する。また、
好ましくは、前記所定の文字は、少なくとも記号や句読
点を含む。上記の目的を達成するための本発明による文
字認識方法は以下の構成を備える。即ち、文字入力領域
の文字枠に入力される文字を認識する文字認識方法であ
って、少なくとも1つ以上のパターンを記憶媒体に記憶
する記憶工程と、前記文字枠に入力されたパターンの中
に、前記記憶工程で記憶媒体に記憶されているパターン
が含まれているか否かを判定する判定工程と、前記判定
工程によって前記記憶工程で記憶媒体に記憶されている
パターンが含まれていると判定された場合、該パターン
を抽出する抽出工程と、前記文字枠に入力されたパター
ンより、前記抽出工程で抽出したパターンを除外して得
られるパターンから文字を認識する認識工程とを備える
ことを特徴とする文字認識方法。
Further, preferably, the recognition means recognizes a character in units of partial patterns constituting the character. Also,
Preferably, the predetermined characters include at least symbols and punctuation marks. A character recognition method according to the present invention for achieving the above object has the following configuration. That is, a character recognition method for recognizing a character input in a character box of a character input area, comprising a storage step of storing at least one or more patterns in a storage medium, and a pattern input in the character box. And a determining step of determining whether or not a pattern stored in the storage medium in the storing step is included, and determining that the pattern stored in the storage medium in the storing step is included in the determining step. And a recognition step of recognizing a character from a pattern obtained by excluding the pattern extracted in the extraction step from the pattern input in the character frame. Character recognition method.

【0013】また、好ましくは、前記記憶工程は、パタ
ーンを構成する文字コードと該パターンを構成するスト
ロークの許容ストローク数と該パターンが記入されるべ
き位置を示す情報を記憶媒体に記憶する。また、好まし
くは、前記判定工程は、前記記憶工程で記憶媒体に記憶
されるパターンを構成するストロークの許容ストローク
数と該パターンが記入されるべき位置を示す情報に基づ
いて、前記文字枠に入力されたパターンを構成するスト
ロークの一部を獲得する獲得工程と、前記獲得工程で獲
得されるストロークによって構成されるパターンと前記
記憶工程で記憶媒体に記憶されるパターンとを比較する
比較工程とを備え、前記比較工程による比較結果に基づ
いて、前記獲得工程で獲得されるストロークによって構
成されるパターンを、前記記憶工程で記憶される記憶媒
体に記憶されるパターンとして判定する。
Further, preferably, in the storing step, information indicating a character code forming a pattern, an allowable stroke number of strokes forming the pattern, and a position where the pattern is to be written is stored in a storage medium. Further, preferably, the determining step inputs in the character frame based on information indicating an allowable stroke number of strokes forming a pattern stored in the storage medium in the storing step and a position at which the pattern is to be written. An acquisition step of acquiring a part of the strokes forming the acquired pattern, and a comparison step of comparing the pattern composed of the strokes acquired in the acquisition step with the pattern stored in the storage medium in the storage step. Based on the comparison result of the comparison step, the pattern constituted by the strokes acquired in the acquisition step is determined as the pattern stored in the storage medium stored in the storage step.

【0014】また、好ましくは、前記文字入力領域は複
数の文字枠を有し、前記判定工程による判定を、前記複
数の文字枠の所定の文字枠に対して実行されるよう該所
定の文字枠を指定する指定工程とを更に備える。また、
好ましくは、前記認識工程は、文字を構成する部分パタ
ーン単位で文字を認識する。
Also, preferably, the character input area has a plurality of character frames, and the predetermined character frames are set so that the determination in the determination step is executed for a predetermined character frame of the plurality of character frames. And a specifying step for specifying. Also,
Preferably, the recognition step recognizes a character in units of partial patterns forming the character.

【0015】また、好ましくは、前記所定の文字は、少
なくとも記号や句読点を含む。上記の目的を達成するた
めの本発明によるコンピュータ可読メモリは以下の構成
を備える。即ち、文字認識のプログラムコードが格納さ
れたコンピュータ可読メモリであって、少なくとも1つ
以上のパターンを記憶媒体に記憶する記憶工程のコード
と、前記文字枠に入力されたパターンの中に、前記記憶
工程で記憶媒体に記憶されているパターンが含まれてい
るか否かを判定する判定工程のコードと、前記判定工程
によって前記記憶工程で記憶媒体に記憶されているパタ
ーンが含まれていると判定された場合、該パターンを抽
出する抽出工程のコードと、前記文字枠に入力されたパ
ターンより、前記抽出工程で抽出したパターンを除外し
て得られるパターンから文字を認識する認識工程のコー
ドとを備える。
Also, preferably, the predetermined character includes at least a symbol and a punctuation mark. A computer-readable memory according to the present invention for achieving the above object has the following configuration. That is, a computer-readable memory in which a program code for character recognition is stored, wherein a code of a storage step of storing at least one or more patterns in a storage medium and a pattern input in the character frame are stored in the memory. The code of the determination step for determining whether or not the pattern stored in the storage medium in the step is included, and the determination step determines that the pattern stored in the storage medium in the storage step is included. In the case where the pattern is extracted, the code of the extraction step for extracting the pattern and the code of the recognition step for recognizing the character from the pattern obtained by excluding the pattern extracted in the extraction step from the pattern input in the character frame are provided. .

【0016】[0016]

【発明の実施の形態】以下、図面を参照して本発明の好
適な実施の形態を詳細に説明する。 <実施の形態1>図1は実施の形態1のオンライン手書
き文字認識装置の概略構成を示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the drawings. <First Embodiment> FIG. 1 is a block diagram showing a schematic configuration of an online handwritten character recognition device according to a first embodiment.

【0017】図1において、200はCPUであり、R
OM201に記憶された制御プログラム(文字認識処理
等)やデータ等に従って装置全体を制御する。また、後
述するフローチャートの制御プログラムもROM201
に格納される。202はRAMであり、CPU200の
ワークエリアとして使用されると共に、入力された文字
ストロークデータ等を記憶する。203はディジタイザ
等の座標入力部で、この座標入力部203上で入力ペン
204等の入力手段を用いて描かれた文字パターン等の
座標データが、入力データとしてRAM202に格納さ
れる。また、座標入力部203には、文字を入力するた
めの複数の文字枠からなる文字入力板203a(図3参
照)を有している。205は表示部を制御するための表
示コントローラ、206はCRTや液晶等で構成される
表示部である。207はフロッピーディスクやハードデ
ィスク等とのインターフェイスを制御するDC(ドライ
ブコントローラ)であり、208はフロッピーディスク
やハードディスク等の外部メモリである。
In FIG. 1, 200 is a CPU, and R
The entire apparatus is controlled according to a control program (character recognition processing, etc.) and data stored in the OM 201. In addition, the control program of the flowchart described later is also ROM201.
Stored in. A RAM 202 is used as a work area for the CPU 200 and stores input character stroke data and the like. Reference numeral 203 denotes a coordinate input unit such as a digitizer. Coordinate data such as a character pattern drawn on the coordinate input unit 203 using an input means such as an input pen 204 is stored in the RAM 202 as input data. Further, the coordinate input unit 203 has a character input plate 203a (see FIG. 3) including a plurality of character frames for inputting characters. Reference numeral 205 denotes a display controller for controlling the display unit, and 206 denotes a display unit including a CRT, liquid crystal, or the like. Reference numeral 207 is a DC (drive controller) that controls an interface with a floppy disk, a hard disk, etc., and 208 is an external memory such as a floppy disk, a hard disk, etc.

【0018】尚、座標入力部203は、例えば、透明電
極で構成されており、表示部206と重ね合わせた構成
となっている。そして、CPU200は、入力ペン20
4が座標入力部203を指示している(以下、ペンドラ
ッグと呼ぶ)期間内に入力される座標位置を検出する。
そして、その検出された座標位置に対応して表示部20
6上にドットを表示する。これによって、あたかも、ペ
ンで紙に文字や図形を書いたような動作が、表示部20
6上で実行される。209は装置を構成する各要素を接
続するためのシステムバスである。
The coordinate input section 203 is composed of a transparent electrode, for example, and is superposed on the display section 206. The CPU 200 then uses the input pen 20.
4 detects the coordinate position input within the period in which the coordinate input unit 203 is instructed (hereinafter referred to as pen drag).
Then, the display unit 20 corresponds to the detected coordinate position.
Display dots on 6. This allows the display unit 20 to behave as if a character or figure was written on paper with a pen.
6 run on. Reference numeral 209 is a system bus for connecting the respective elements constituting the device.

【0019】次に、実施の形態1で実行される処理の機
能構成について、図2を用いて説明する。尚、CPU2
00の制御によって、ROM201に格納された実施の
形態1で説明される処理を実行するための制御プログラ
ムをRAM202に読み込むことで、その処理が実行さ
れる。
Next, the functional configuration of the processing executed in the first embodiment will be described with reference to FIG. CPU2
Under the control of 00, the processing is executed by loading the control program stored in the ROM 201 for executing the processing described in the first embodiment into the RAM 202.

【0020】図2は実施の形態1のオンライン文字認識
装置の機能構成を示すブロック図である。以下、各機能
構成と、各機能によって実行される処理について説明す
る。まず、文字入力部100(CPU200、座標入力
部203、文字入力板203a、入力ペン204、表示
部206に対応する)より入力された各文字枠に記入さ
れる複数の文字ストロークは、文字ストローク記憶部1
03に記憶される。この文字ストロークは、座標入力部
203から送られるペンダウン(入力ペン204の入力
開始を示す)信号からペンアップ(入力ペン204の入
力終了を示す)信号までの間に送られた複数の座標群か
ら成っている。そして、文字ストローク記憶部103に
格納されている複数の文字ストロークを用いて、文字枠
位置検出部106では、入力された文字ストロークが、
文字入力板203aのどの文字枠に記入されたかを検出
する。
FIG. 2 is a block diagram showing the functional arrangement of the online character recognition device in the first embodiment. Hereinafter, each functional configuration and processing executed by each function will be described. First, a plurality of character strokes entered in each character frame input from the character input unit 100 (corresponding to the CPU 200, the coordinate input unit 203, the character input plate 203a, the input pen 204, and the display unit 206) are stored in the character stroke memory. Part 1
It is stored in 03. This character stroke is obtained from a plurality of coordinate groups sent from the pen-down (indicating the start of input of the input pen 204) signal to the pen-up (indicating the end of input of the input pen 204) signal sent from the coordinate input unit 203. Made of Then, using the plurality of character strokes stored in the character stroke storage unit 103, the character frame position detection unit 106 determines that the input character stroke is
The character frame on the character input plate 203a is detected.

【0021】尚、この文字枠位置検出方法は、文字スト
ロークの始点座標が含まれる文字枠位置としてもよく、
また、文字枠をはずれて記入された場合を想定して、文
字ストローク全体の重心座標が含まれる文字枠としても
よい。いずれの場合も文字枠を構成する矩形の頂点座標
が、装置内に記憶されていれば検出可能である。文字抽
出部104では、複数の文字ストロークの中に特定文字
情報テーブル105に設定されている特定文字の文字ス
トロークが含まれているかどうかを判断する。また、文
字抽出部104には、文字枠に記入された文字ストロー
クのストローク数j(jは正の整数)をカウントするカ
ウンタ104a、後述する文字ストロークの最小ストロ
ーク数kをカウントするカウンタ104bが構成され
る。
The character frame position detecting method may be a character frame position including the start point coordinates of a character stroke,
In addition, assuming that the data is written out of the character frame, the character frame may include the barycentric coordinates of the entire character stroke. In either case, the coordinates of the vertices of the rectangle forming the character frame can be detected if they are stored in the device. The character extraction unit 104 determines whether or not the character stroke of the specific character set in the specific character information table 105 is included in the plurality of character strokes. Further, the character extraction unit 104 includes a counter 104a that counts the stroke number j (j is a positive integer) of the character strokes written in the character frame, and a counter 104b that counts the minimum stroke number k of the character strokes described later. To be done.

【0022】尚、文字抽出部104において、文字枠内
に特定文字が存在しないと判断された場合は、その文字
枠に記入されているすべての文字ストロークを1文字と
してして認識する。認識された文字ストロークを、認識
部101に送り、文字認識処理を実行させる。一方、文
字枠内に特定文字が存在すると判断された場合は、その
文字枠に記入されている特定文字の文字ストロークと特
定文字以外の文字ストロークとして認識する。認識され
たそれぞれの文字ストロークを、認識部101に送り、
文字認識処理を実行させる。
When the character extraction unit 104 determines that the specific character does not exist in the character frame, all character strokes written in the character frame are recognized as one character. The recognized character stroke is sent to the recognition unit 101 and the character recognition process is executed. On the other hand, when it is determined that the specific character exists in the character frame, the character stroke of the specific character entered in the character frame and the character stroke other than the specific character are recognized. Send each recognized character stroke to the recognition unit 101,
Executes character recognition processing.

【0023】尚、特定文字とは、括弧や句読点等の他の
文字と一緒になって、1つの文字枠に記入されることが
ある文字(以下、特定文字と呼ぶ)のことである。特定
文字情報テーブル105には、特定文字の文字コードや
その他の付加情報が格納されており、外部メモリ208
にファイルとして存在している。このファイルの内容
は、変更可能であり、ファイルの読込/書込が許可され
ている。
The specific character is a character (hereinafter referred to as a specific character) which may be written in one character frame together with other characters such as parentheses and punctuation marks. The specific character information table 105 stores character codes of specific characters and other additional information, and is stored in the external memory 208.
Exists as a file in. The contents of this file can be changed, and reading / writing of the file is permitted.

【0024】認識部101において、得られた認識結果
は結果出力部102のバッファメモリ102aに転送さ
れる。転送された認識結果は、認識結果として適当であ
ると判断された複数の文字コードと、その文字コードの
付加情報として認識処理で生成された演算値が認識候補
として含まれている。結果出力部102は、第一位の認
識候補の文字コードが表す文字フォントを表示部206
に表示する。
In the recognition unit 101, the obtained recognition result is transferred to the buffer memory 102a of the result output unit 102. The transferred recognition result includes, as recognition candidates, a plurality of character codes determined to be appropriate as the recognition result and an operation value generated by the recognition process as additional information of the character code. The result output unit 102 displays the character font represented by the character code of the first recognition candidate on the display unit 206.
To be displayed.

【0025】尚、文字フォントの表示はユーザが筆跡入
力した文字枠に表示することが可能で、その際には、入
力された文字筆跡を消去して表示すれば良い。また、第
一位の認識候補結果に限らず、下位の認識候補を表示す
る構成にしても良い。次に、上述の文字抽出部104が
起動されるまでの処理について、図3と図4のフローチ
ャートを用いて詳細に説明する。
The display of the character font can be displayed in the character frame input by the user's handwriting. At that time, the input character handwriting may be erased and displayed. Further, not only the first-ranked recognition candidate result but also the lower-ranked recognition candidate may be displayed. Next, the process until the above-mentioned character extraction unit 104 is activated will be described in detail with reference to the flowcharts of FIGS. 3 and 4.

【0026】図3は実施の形態1のオンライン文字認識
装置の文字入力板を示す図である。図3に示される文字
入力板203aは、座標入力部203の一部または全部
に構成され、複数の文字を入力するための文字枠が備え
られている。図3では、文字枠の中に「説明する(図
8」が、手書きで記入されている様子を示している。ま
た、各文字枠左上に記載されている数字は文字枠位置番
号である。
FIG. 3 is a diagram showing a character input plate of the online character recognition device according to the first embodiment. The character input plate 203a shown in FIG. 3 is configured in a part or the whole of the coordinate input unit 203, and is provided with a character frame for inputting a plurality of characters. 3 shows a state in which “explain (FIG. 8)” is written by hand in the character frame, and the number written in the upper left of each character frame is the character frame position number.

【0027】図4は実施の形態1の文字抽出部104が
起動されるまでの処理フロー示すフローチャートであ
る。ステップS400で、文字ストローク記憶部103
に記憶されている文字ストロークを読み出し、文字枠位
置検出部106に送る。ステップS401で、文字枠位
置検出部106によって、文字ストロークと対応する文
字入力板203aの文字枠位置を決定し、その位置番号
を文字ストロークの付加情報として対応付ける。
FIG. 4 is a flowchart showing a processing flow until the character extraction unit 104 of the first embodiment is activated. In step S400, the character stroke storage unit 103
The character stroke stored in is read and sent to the character frame position detection unit 106. In step S401, the character frame position detection unit 106 determines the character frame position of the character input plate 203a corresponding to the character stroke, and associates the position number as additional information of the character stroke.

【0028】ステップS402で、読み出した文字スト
ロークに付加されている文字枠位置番号が、直前に読み
出された文字ストロークの文字枠位置番号と異なるかど
うかを判定する。同じである場合(ステップS402で
NO)、ステップS400に戻り、引き続き、次のスト
ロークを読み出す。異なっている場合(ステップS40
2でYES)、ステップS403に進む。
In step S402, it is determined whether the character frame position number added to the read character stroke is different from the character frame position number of the character stroke read immediately before. If they are the same (NO in step S402), the process returns to step S400 to read the next stroke. If they are different (step S40)
If YES, the process proceeds to step S403.

【0029】ステップS403で、直前に読み出された
文字ストロークの文字枠位置番号に該当する複数の文字
ストロークを、文字ストローク記憶部103から読み出
し文字抽出部104に送る。上述の図4のフローチャー
トで説明した処理が実行された後、文字抽出部104が
起動され、以下、図5のフローチャートに示すような処
理が実行される。
In step S403, a plurality of character strokes corresponding to the character frame position numbers of the character strokes read immediately before are sent from the character stroke storage unit 103 to the read character extraction unit 104. After the processing described in the flow chart of FIG. 4 is executed, the character extracting unit 104 is activated, and the processing shown in the flow chart of FIG. 5 is executed.

【0030】図5は実施の形態1の文字抽出部104で
実行される処理フローを示すフローチャートである。ス
テップS500で、外部メモリ208に格納されている
特定文字情報テーブル105をオープンする。図8を用
いて、特定文字情報テーブル105の構成を説明する。
FIG. 5 is a flow chart showing a processing flow executed by the character extraction unit 104 of the first embodiment. In step S500, the specific character information table 105 stored in the external memory 208 is opened. The configuration of the specific character information table 105 will be described with reference to FIG.

【0031】図8は実施の形態1の特定文字情報テーブ
ル105の構成を示す図である。例えば、図に示すよう
に特定文字情報テーブル105には、特定文字の文字コ
ードの文字コード情報を複数格納する「文字コード」欄
が構成される。また、「文字コード」欄に格納される特
定文字の文字コードに対し、実際に書かれる画数の許容
範囲のストローク数の最小と最大を格納する「最大スト
ローク数」欄と、「最小ストローク数」欄からなる「許
容範囲ストローク数」欄が構成される。更に、「文字コ
ード」欄に格納される特定文字の文字コードに対し、そ
の文字コードが他の文字の前に書かれるか、後ろに書か
れるかを示す情報を格納する「場所」欄が構成される
(図に示すように、前の場合「前」、後ろの場合「後」
と記述される)。
FIG. 8 is a diagram showing the structure of the specific character information table 105 according to the first embodiment. For example, as shown in the figure, the specific character information table 105 includes a "character code" column for storing a plurality of character code information of character codes of specific characters. Also, for the character code of the specific character stored in the "character code" column, the "maximum stroke number" column that stores the minimum and maximum number of strokes within the allowable range of the number of strokes actually written, and the "minimum stroke number" The "allowable range stroke count" column is configured. Furthermore, for the character code of a specific character stored in the "character code" field, a "location" field is configured to store information indicating whether the character code is written before other characters or after it. (As shown in the figure, "front" in the front, "rear" in the back
Is described).

【0032】ステップS501で、文字抽出部104に
送られてきた文字ストロークのストローク数jをカウン
タ104aにセットする。ステップS502で、特定文
字情報テーブル105から任意の文字コード情報を読み
出す。ステップS503で、特定文字情報テーブル10
5より読み出されていない特定文字の文字コード情報が
あるか否かを判定する。読み出されていない特定文字の
文字コード情報がある場合(ステップS503でYE
S)、ステップS504に進む。一方、読み出されてい
ない特定文字の文字コード情報がない場合(ステップS
504でNO)、ステップS510に進む。
In step S501, the stroke number j of the character stroke sent to the character extraction unit 104 is set in the counter 104a. In step S502, arbitrary character code information is read from the specific character information table 105. In step S503, the specific character information table 10
5, it is determined whether or not there is character code information of a specific character that has not been read. If there is character code information of a specific character that has not been read (YES in step S503)
S), and proceed to step S504. On the other hand, if there is no character code information of the specific character that has not been read (step S
(No in 504), the process proceeds to step S510.

【0033】ステップS504で、読み出された文字コ
ード情報に対応する最小ストローク数kがカウンタ10
4bにセットされる。ステップS505で、カウンタ1
04bにセットされた値kが読み出された文字コード情
報に対応する最大ストローク数よりも大きい否かを判定
する。カウンタ104bにセットされた値kが読み出さ
れた文字コード情報に対応する最大ストローク数よりも
大きい場合(ステップS505でYES)、ステップS
501に戻る。一方、カウンタ104bにセットされた
値kが読み出された文字コード情報に対応する最大スト
ローク数よりも小さい場合(ステップS505でN
O)、ステップS506に進む。
In step S504, the minimum stroke number k corresponding to the read character code information is the counter 10
4b is set. In step S505, the counter 1
It is determined whether the value k set in 04b is larger than the maximum stroke number corresponding to the read character code information. If the value k set in the counter 104b is larger than the maximum stroke number corresponding to the read character code information (YES in step S505), step S
Return to 501. On the other hand, when the value k set in the counter 104b is smaller than the maximum number of strokes corresponding to the read character code information (N in step S505).
O), and proceeds to step S506.

【0034】ステップS506で、カウンタ104bに
セットされた値kがカウンタ104aにセットされた値
jよりも大きい否かを判定する。カウンタ104bにセ
ットされた値kがカウンタ104aにセットされた値j
よりも大きい場合(ステップS506でYES)、ステ
ップS501に戻る。一方、カウンタ104bにセット
された値kがカウンタ104aにセットされた値jより
も小さい場合(ステップS506でNO)、ステップS
507に進む。
In step S506, it is determined whether the value k set in the counter 104b is larger than the value j set in the counter 104a. The value k set in the counter 104b is the value j set in the counter 104a
If it is greater than (YES in step S506), the process returns to step S501. On the other hand, when the value k set in the counter 104b is smaller than the value j set in the counter 104a (NO in step S506), step S
Proceed to 507.

【0035】ステップS507で、読み出された文字コ
ード情報に対応する「場所」欄に記載されている内容に
応じて特殊認識処理を行う。以下、特殊認識処理の詳細
を図6のフローチャートを用いて説明する。図6は実施
の形態1の特殊認識処理の処理フローを示すフローチャ
ートである。
In step S507, special recognition processing is performed according to the contents described in the "place" column corresponding to the read character code information. The details of the special recognition process will be described below with reference to the flowchart of FIG. FIG. 6 is a flowchart showing the processing flow of the special recognition processing according to the first embodiment.

【0036】ステップS600で、読み出された文字コ
ード情報に対応する特定文字情報テーブル105に記載
されている「場所」欄を参照し、その文字コード情報に
対応する特定文字の書かれる場所が、「前」であるか
「後」であるかを判定する。他の文字より「後」の場
合、ステップS601に進む。一方、他の文字より
「前」の場合、ステップS602に進む。
In step S600, the "place" column described in the specific character information table 105 corresponding to the read character code information is referred to, and the place where the specific character corresponding to the character code information is written is It is determined whether it is “before” or “after”. If the character is “after” the other characters, the process proceeds to step S601. On the other hand, if it is “before” other characters, the process proceeds to step S602.

【0037】ステップS601で、送られてきたストロ
ークに対し、j−k+1番目の文字ストロークからj番
目までの文字ストロークによって特定文字が構成される
ものとして、認識部101に送り、特定文字の文字認識
処理を行う。ステップS602で、送られてきたストロ
ークに対し、1番目の文字ストロークからk番目の文字
ストロークによって特定文字が構成されるものとして、
認識部101に送り、文字認識処理を行う。
In step S601, with respect to the strokes sent, it is sent to the recognition unit 101 as a specific character composed of jk + 1th character stroke to jth character stroke, and character recognition of the specific character is performed. Perform processing. In step S602, it is assumed that a specific character is composed of the first character stroke to the kth character stroke with respect to the sent stroke.
It is sent to the recognition unit 101 to perform character recognition processing.

【0038】尚、特定文字が構成されるものとした複数
の文字ストロークを認識部101に送る際、文字枠のサ
イズ情報も合わせて送る。このようにすることで、例え
ば、「(」の特定文字のように「<」や「{」等の類似
する特定文字が存在して、その特定文字「(」の文字ス
トロークのみでは詳細に特定文字を判別できない場合で
も、その文字枠のサイズ情報によって与えられる文字枠
の位置と文字ストロークの位置の相対的な位置によっ
て、類似文字間の識別の精度を向上させることができ
る。
Incidentally, when a plurality of character strokes that constitute a specific character are sent to the recognition unit 101, the size information of the character frame is also sent. By doing so, for example, there are similar specific characters such as “<” and “{” such as the specific character of “(”, and the specific stroke of the specific character “(” can be used to specify in detail. Even when a character cannot be discriminated, the accuracy of discrimination between similar characters can be improved by the relative position of the position of the character frame and the position of the character stroke given by the size information of the character frame.

【0039】再び、図5のフローチャートの説明に戻
る。ステップS507で、特殊認識処理が実行された
後、ステップS508で、認識部101から得られる文
字認識結果は、図9に示すような構成でバッファメモリ
102aに保存格納される。図9は実施の形態1のバッ
ファメモリ102aに格納される文字認識結果の構成を
示す図である。
Returning to the explanation of the flow chart of FIG. After the special recognition process is executed in step S507, the character recognition result obtained from the recognition unit 101 is stored and stored in the buffer memory 102a in the configuration shown in FIG. 9 in step S508. FIG. 9 is a diagram showing a structure of a character recognition result stored in the buffer memory 102a according to the first embodiment.

【0040】図9の「文字コード」欄は、図8に示され
る同文字種の文字コード情報が記載されている。「使用
ストローク数」欄には、記載されている数値をnとする
と、最初のn本、あるいは最後のn本の文字ストローク
を用いて認識処理した結果が「認識結果コード」欄と
「認識結果スコア」欄に記載される。「認識スコア」欄
の数値は、認識結果の信頼度を示す数値であり、数値が
大きいほど認識結果の信頼性が高いことを表している。
また、「認識結果コード」欄には、認識された文字コー
ド情報が格納される。更に、図8に示されるように「最
小ストローク数」と「最大ストローク数」が異なる場合
の文字コード情報に対しては、その「最小ストローク
数」と「最大ストローク数」間の各ストローク数毎にお
いて実行された文字認識の認識結果が格納されることに
なる(例えば、図9の文字コード情報「(0x215
6)等である)。
In the "character code" column of FIG. 9, the character code information of the same character type shown in FIG. 8 is described. In the "Number of strokes used" column, if the entered number is n, the results of recognition processing using the first n character strokes or the last n character strokes are the "recognition result code" column and "recognition result". It is described in the “Score” column. The numerical value in the “recognition score” column is a numerical value indicating the reliability of the recognition result, and the larger the numerical value, the higher the reliability of the recognition result.
Further, the recognized character code information is stored in the “recognition result code” column. Further, as shown in FIG. 8, for the character code information when the "minimum stroke number" and the "maximum stroke number" are different, for each stroke number between the "minimum stroke number" and the "maximum stroke number" The recognition result of the character recognition executed in is stored (for example, the character code information “(0x215
6) etc.).

【0041】ステップS509で、カウンタ104aの
値kを+1インクリメントする。以上の処理を、特定文
字情報テーブル105に格納されているすべての文字コ
ード情報について実行すると、ステップS510に進
む。ステップS510で、バッファメモリ102aに格
納された認識結果に対し、結果出力処理を行う。以下、
結果出力処理の詳細を図7のフローチャートを用いて説
明する。
In step S509, the value k of the counter 104a is incremented by +1. When the above processing is executed for all the character code information stored in the specific character information table 105, the process proceeds to step S510. In step S510, result output processing is performed on the recognition result stored in the buffer memory 102a. Less than,
Details of the result output process will be described with reference to the flowchart of FIG. 7.

【0042】図7は実施の形態1の結果出力処理の処理
フローを示すフローチャートである。まず、ステップS
700で、文字枠に記入された文字の中に特定文字が存
在しているか否かを判定する。文字枠に記入された文字
の中に特定文字が存在する場合(ステップS700でY
ES)、ステップS703に進む。一方、文字枠に記入
された文字の中に特定文字が存在しない場合(ステップ
S700でNO)、ステップS701に進む。
FIG. 7 is a flow chart showing the processing flow of the result output processing of the first embodiment. First, step S
At 700, it is determined whether a specific character exists in the characters entered in the character box. When a specific character exists in the characters entered in the character frame (Y in step S700
ES), and proceeds to step S703. On the other hand, when the specific character does not exist among the characters entered in the character box (NO in step S700), the process proceeds to step S701.

【0043】尚、特定文字が存在しているか否かの判定
方法は、例えば、図9の認識結果の「文字コード」欄と
「認識結果コード」欄に格納されている文字コード情報
が等しく、かつ「認識結果スコア」欄が設定された所定
の閾値以上である場合に、特定文字が存在するものとす
る。また、閾値の値は予め実験システム等を用いて、認
識処理における認識スコアと正解率の関係を用いて統計
的に算出される。
A method of determining whether or not a specific character exists is, for example, that the character code information stored in the “character code” column of the recognition result and the character code information stored in the “recognition result code” column of FIG. In addition, when the “recognition result score” column is equal to or larger than the set predetermined threshold value, it is assumed that the specific character exists. Further, the threshold value is statistically calculated in advance using an experimental system or the like, using the relationship between the recognition score and the correct answer rate in the recognition process.

【0044】例えば、図9に示される認識結果によれ
ば、上記の条件に該当するのは「(」であり、文字枠に
記入された文字には、「(」が他の文字と共に書かれて
いたことになる。ステップS703で、文字枠に記入さ
れた文字によって構成されるすべての文字ストロークの
中から、特定文字の文字ストロークとして書かれたもの
を除き(図3の例では、最初の文字ストロークを取り除
く)残りの文字ストロークを1文字として認識部101
にて、文字認識処理を行う。この際、文字枠に特定文字
のみが記入されていた場合には、残りの文字ストローク
は無いので認識処理させる必要性は当然ない。
For example, according to the recognition result shown in FIG. 9, it is "(" that meets the above condition, and "(" is written together with other characters in the character entered in the character box. In step S703, all the character strokes formed by the characters entered in the character frame are excluded from those written as the character stroke of the specific character (in the example of FIG. (Removing character strokes) Recognizing unit 101 with remaining character strokes as one character
At, character recognition processing is performed. At this time, when only the specific character is written in the character frame, there is no remaining character stroke, and thus it is not necessary to perform the recognition processing.

【0045】ステップS704で、認識結果を表示部2
06に表示する順番を決定するために、特定文字の文字
コード情報に対応する特定文字情報テーブル105に記
載されている「場所」欄を参照し、その文字コード情報
に対応する特定文字の書かれる場所が、「前」であるか
「後」であるかを判定する。他の文字より「後」の場
合、ステップS705に進む。一方、他の文字より
「前」の場合、ステップS707に進む。
In step S704, the recognition result is displayed on the display unit 2.
In order to determine the display order in 06, the "place" column described in the specific character information table 105 corresponding to the character code information of the specific character is referred to, and the specific character corresponding to the character code information is written. It is determined whether the place is “before” or “after”. If it is “after” the other characters, the process proceeds to step S705. On the other hand, if it is “before” the other characters, the process proceeds to step S707.

【0046】ステップS705で、ステップS703に
て得られた文字の認識結果を最初に結果表示部102に
送り、ステップS706で、続いてステップS700に
て得られた特定文字を送る。ステップS707で、ステ
ップS700にて得られた特定文字を結果表示部102
に送り、ステップS708で、続いてステップS703
にて得られた文字の認識結果を送る。
In step S705, the character recognition result obtained in step S703 is first sent to the result display unit 102, and in step S706, the specific character obtained in step S700 is sent. In step S707, the result display unit 102 displays the specific character obtained in step S700.
To step S708, and then step S703.
Send the recognition result of the character obtained in.

【0047】一方、ステップS701で、文字枠に記入
された文字を構成するすべての文字ストロークを認識部
101にて、文字認識処理を行う。ステップS702
で、その認識結果を結果出力部102に送る。以上の処
理をすべての文字枠に対して行うことで処理が完了す
る。図3に示される記入例の場合、ステップS700よ
り、ステップS703へ進むのは、文字枠位置番号4の
文字枠であり、記入されている文字からは、「(」が特
定文字、その他の文字として「図」が得られる。そし
て、図3に示される手書きの「説明する(図8」は、図
10に示すような認識結果として、表示部206に表示
される。
On the other hand, in step S701, the recognition unit 101 performs character recognition processing on all the character strokes forming the character entered in the character frame. Step S702
Then, the recognition result is sent to the result output unit 102. The process is completed by performing the above process for all the character frames. In the case of the entry example shown in FIG. 3, it is the character box of character box position number 4 that advances from step S700 to step S703. From the entered characters, “(” indicates a specific character and other characters. Then, the handwritten “explain (FIG. 8)” shown in FIG. 3 is displayed on the display unit 206 as a recognition result as shown in FIG.

【0048】尚、実施の形態1で用いた特定文字情報テ
ーブル105の内容は、図8に示される内容に限定され
ない。例えば、ユーザが数字等の追加の変更を行えるよ
うな構成にすることも容易に可能である。また、GUI
等のインタフェース画面を表示部206に表示して、特
定文字情報テーブル105内の各欄を設定する構成にす
ることもできる。
The contents of the specific character information table 105 used in the first embodiment are not limited to the contents shown in FIG. For example, a configuration that allows the user to make additional changes such as numbers is also possible. Also, GUI
It is also possible to display an interface screen such as the above on the display unit 206 and set each column in the specific character information table 105.

【0049】以上説明したように、実施の形態1によれ
ば、文字入力板203aに構成される文字枠毎に、特定
文字と文字の識別処理を行うので、1つの文字枠に特定
文字と文字の文字群が記入された場合でも、それぞれを
認識しその認識結果を出力することができる。また、ユ
ーザは、1つの文字枠に記入できる文字数が1文字であ
るという絶対的な制限を考慮することなく、1つの文字
枠に特定文字と文字が組み合わさる複数の文字群を記入
することが可能となる。その結果、文字を記入する操作
が容易になる。
As described above, according to the first embodiment, the specific character and the character are identified for each character frame formed on the character input plate 203a. Even when the character group of is entered, each can be recognized and the recognition result can be output. In addition, the user may enter a plurality of character groups in which a specific character and characters are combined in one character frame, without considering the absolute limitation that the number of characters that can be entered in one character frame is one character. It will be possible. As a result, the operation of entering characters becomes easy.

【0050】更に、文字枠内に複数の文字を記入して
も、これらの文字を分離して認識、結果表示することが
でき、ユーザは文章などを文字入力板に記入する際に、
日常習慣に即した記入法で入力できるようになる。 <実施の形態2>実施の形態1では、文字入力板のすべ
ての文字枠に関して、文字と特定文字の識別処理を実行
していたが、実施の形態2では、文字入力板の所定の文
字枠に対して文字抽出部による文字と特定文字の識別処
理を行う。ここでは、所定の文字枠として、行末の文字
枠に記入される文字と禁則文字の識別処理を例に挙げて
説明する。
Furthermore, even if a plurality of characters are entered in the character frame, these characters can be separated and recognized, and the result can be displayed. When the user writes a sentence on the character input plate,
You will be able to fill in the entry method according to your daily routine. <Second Embodiment> In the first embodiment, the character and the specific character identification process is executed for all the character frames of the character input plate. However, in the second embodiment, a predetermined character frame of the character input plate is used. The character extraction unit performs a process of identifying a character from a specific character. Here, as a predetermined character frame, a description will be given of an example of a process of identifying a character entered in a character frame at the end of a line and a prohibited character.

【0051】尚、実施の形態2のオンライン手書き文字
認識装置の概略構成は、実施の形態1の図1と同様の構
成を有するものとし、その詳細な説明は省略する。ま
た、文字入力板の構成も実施の形態1と同様の構成を有
するものとし、その詳細な説明は省略する。実施の形態
2で実行される処理の機能構成について、図11を用い
て説明する。
The online handwritten character recognition apparatus of the second embodiment has the same schematic configuration as that of the first embodiment shown in FIG. 1, and detailed description thereof will be omitted. The character input plate has the same structure as that of the first embodiment, and the detailed description thereof will be omitted. The functional configuration of the processing executed in the second embodiment will be described with reference to FIG.

【0052】尚、CPU200の制御によって、ROM
201に格納された実施の形態2で説明される処理を実
行するための制御プログラムをRAM202に読み込む
ことで、その処理が実行される。図11は実施の形態2
のオンライン文字認識装置の機能構成を示すブロック図
である。
The ROM is controlled by the CPU 200.
By loading the control program for executing the process described in the second embodiment, which is stored in 201, into the RAM 202, the process is executed. FIG. 11 shows the second embodiment.
3 is a block diagram showing a functional configuration of the online character recognition device of FIG.

【0053】以下、各機能構成と、各機能によって実行
される処理について説明する。まず、文字入力部110
0(CPU200、座標入力部203、文字入力板20
3a、入力ペン204、表示部206に対応する)より
入力された各文字枠に記入される複数の文字ストローク
は、文字ストローク記憶部1103に記憶される。この
文字ストロークは、座標入力部203から送られるペン
ダウン(入力ペン204の入力開始を示す)信号からペ
ンアップ(入力ペン204の入力終了を示す)信号まで
の間に送られた複数の座標群から成っている。そして、
文字ストローク記憶部1103に格納されている複数の
文字ストロークを用いて、文字枠位置検出部1106で
は、入力された文字ストロークが、文字入力板203a
のどの文字枠に記入されたかを検出する。また、文字枠
位置検出部1106で検出された文字枠の位置が、文字
抽出部起動文字枠1107(例えば、文字入力板の文字
枠の位置が行頭文字枠、行末文字枠等の所定の文字枠)
である場合は、文字ストローク記憶部1103に格納さ
れている複数の文字ストロークの中から、該当する文字
枠の文字ストロークをすべて文字抽出部1104に送
る。
Each functional configuration and processing executed by each function will be described below. First, the character input unit 110
0 (CPU 200, coordinate input unit 203, character input plate 20
3a, the input pen 204, and the display unit 206 (corresponding to the display unit 206), a plurality of character strokes entered in each character frame are stored in the character stroke storage unit 1103. This character stroke is obtained from a plurality of coordinate groups sent from the pen-down (indicating the start of input of the input pen 204) signal to the pen-up (indicating the end of input of the input pen 204) signal sent from the coordinate input unit 203. Made of And
Using the plurality of character strokes stored in the character stroke storage unit 1103, the character frame position detection unit 1106 determines that the input character stroke is the character input plate 203a.
Detect which character box in the box is filled. In addition, the position of the character frame detected by the character frame position detection unit 1106 is the character extraction unit activation character frame 1107 (for example, the position of the character frame of the character input plate is a predetermined character frame such as an initial character frame or an end character frame). )
If it is, all the character strokes of the corresponding character frame from the plurality of character strokes stored in the character stroke storage unit 1103 are sent to the character extraction unit 1104.

【0054】尚、この文字枠位置検出方法は、文字スト
ロークの始点座標が含まれる文字枠位置としてもよく、
また、文字枠をはずれて記入された場合を想定して、文
字ストローク全体の重心座標が含まれる文字枠としても
よい。いずれの場合も文字枠を構成する矩形の頂点座標
が、装置内に記憶されていれば検出可能である。文字抽
出部1104では、複数の文字ストロークの中に禁則文
字情報テーブル1105に設定されている禁則文字の文
字ストロークが含まれているかどうかを判断する。ま
た、文字抽出部1104には、文字枠に記入された文字
ストロークのストローク数j(jは正の整数)をカウン
トするカウンタ1104a、後述する文字ストロークの
最小ストローク数kをカウントするカウンタ1104b
が構成される。
Note that this character frame position detection method may be a character frame position that includes the starting point coordinates of a character stroke,
In addition, assuming that the data is written out of the character frame, the character frame may include the barycentric coordinates of the entire character stroke. In either case, the coordinates of the vertices of the rectangle forming the character frame can be detected if they are stored in the device. The character extraction unit 1104 determines whether or not the character stroke of the prohibited character set in the prohibited character information table 1105 is included in the plurality of character strokes. Further, the character extraction unit 1104 includes a counter 1104a that counts the stroke number j (j is a positive integer) of the character strokes written in the character frame, and a counter 1104b that counts the minimum stroke number k of the character strokes described later.
Is configured.

【0055】尚、文字抽出部1104において、文字枠
内に禁則文字が存在しないと判断された場合は、その文
字枠に記入されているすべての文字ストロークを1文字
としてして認識する。認識された文字ストロークを、認
識部1101に送り、文字認識処理を実行させる。一
方、文字枠内に禁則文字が存在すると判断された場合
は、その文字枠に記入されている禁則文字の文字ストロ
ークと禁則文字以外の文字ストロークとして認識する。
認識されたそれぞれの文字ストロークを、認識部110
1に送り、文字認識処理を実行させる。
If the character extraction unit 1104 determines that there is no prohibited character in the character frame, all character strokes written in the character frame are recognized as one character. The recognized character stroke is sent to the recognition unit 1101 and the character recognition process is executed. On the other hand, when it is determined that the prohibited character exists in the character frame, the character stroke of the prohibited character entered in the character frame and the character stroke other than the prohibited character are recognized.
The recognition unit 110 recognizes each recognized character stroke.
1 to execute the character recognition process.

【0056】尚、禁則文字とは、実施の形態1で説明し
た特定文字の中で、特に、行頭あるいは行末に文法上記
入することがない句読点等の文字(以下、禁則文字と呼
ぶ)のことである。禁則文字情報テーブル1105に
は、禁則文字の文字コードやその他の付加情報が格納さ
れており、外部メモリ208にファイルとして存在して
いる。このファイルの内容は、変更可能であり、ファイ
ルの読込/書込が許可されている。
The kinsoku character means a character such as a punctuation mark (hereinafter referred to as a kinsoku character) which does not enter the grammar at the beginning or end of the line among the specific characters described in the first embodiment. Is. The prohibited character information table 1105 stores character codes of prohibited characters and other additional information, and exists in the external memory 208 as a file. The contents of this file can be changed, and reading / writing of the file is permitted.

【0057】認識部1101において、得られた認識結
果は結果出力部1102のバッファメモリ1102aに
転送される。転送された認識結果は、認識結果として適
当であると判断された複数の文字コードと、その文字コ
ードの付加情報として認識処理で生成された演算値が認
識候補として含まれている。結果出力部1102は、第
一位の認識候補の文字コードが表す文字フォントを表示
部206に表示する。
The recognition result obtained by the recognition unit 1101 is transferred to the buffer memory 1102a of the result output unit 1102. The transferred recognition result includes, as recognition candidates, a plurality of character codes determined to be appropriate as the recognition result and an operation value generated by the recognition process as additional information of the character code. The result output unit 1102 displays the character font represented by the character code of the first-ranked recognition candidate on the display unit 206.

【0058】尚、文字フォントの表示はユーザが筆跡入
力した文字枠に表示することが可能で、その際には、入
力された文字筆跡を消去して表示すれば良い。また、第
一位の認識候補結果に限らず、下位の認識候補を表示す
る構成にしても良い。次に、上述の文字抽出部起動文字
枠1107が「行末文字枠」と設定された場合(つま
り、行頭に記入されることがない禁則文字が記入された
場合)に、文字抽出部1104が起動されるまでの処理
について、図12と図13のフローチャートを用いて詳
細に説明する。
The display of the character font can be displayed in the character frame input by the user's handwriting. At that time, the input character handwriting may be erased and displayed. Further, not only the first-ranked recognition candidate result but also the lower-ranked recognition candidate may be displayed. Next, when the above-described character extraction unit activation character frame 1107 is set to “end-of-line character frame” (that is, when a prohibition character that is not entered at the beginning of a line is entered), the character extraction unit 1104 is activated. The processing up to that will be described in detail with reference to the flowcharts of FIGS. 12 and 13.

【0059】図12は実施の形態1のオンライン文字認
識装置の文字入力板を示す図である。図12では、文字
枠の中に「サンプルです。」が、手書きで記入されてい
る様子を示している。また、各文字枠左上に記載されて
いる数字は文字枠位置番号である。
FIG. 12 is a diagram showing a character input plate of the online character recognition device in the first embodiment. In FIG. 12, “Sample.” Is handwritten in the character frame. In addition, the number written on the upper left of each character frame is the character frame position number.

【0060】図13は実施の形態2の文字抽出部110
4が起動されるまでの処理フロー示すフローチャートで
ある。ステップS1300で、文字ストローク記憶部1
103に記憶されている文字ストロークを読み出し、文
字枠位置検出部1106に送る。ステップS1301
で、文字枠位置検出部1106によって、文字ストロー
クと対応する文字入力板203aの文字枠位置を決定
し、その位置番号を文字ストロークの付加情報として対
応付ける。
FIG. 13 shows the character extraction unit 110 of the second embodiment.
4 is a flowchart showing a processing flow until 4 is activated. In step S1300, the character stroke storage unit 1
The character stroke stored in 103 is read out and sent to the character frame position detection unit 1106. Step S1301
Then, the character frame position detection unit 1106 determines the character frame position of the character input plate 203a corresponding to the character stroke, and associates the position number as additional information of the character stroke.

【0061】ステップS1302で、読み出した文字ス
トロークに付加されている文字枠位置番号が、直前に読
み出された文字ストロークの文字枠位置番号と異なるか
どうかを判定する。同じである場合(ステップS130
2でNO)、ステップS1300に戻り、引き続き、次
のストロークを読み出す。異なっている場合(ステップ
S1302でYES)、ステップS1303に進む。
In step S1302, it is determined whether the character frame position number added to the read character stroke is different from the character frame position number of the character stroke read immediately before. If they are the same (step S130)
If NO in step 2), the process returns to step S1300 to read the next stroke. If they are different (YES in step S1302), the process advances to step S1303.

【0062】ステップS1303で、直前に読み出され
た文字ストロークの文字枠位置番号に該当する複数の文
字ストロークを、文字ストローク記憶部103から読み
出す。ステップS1304で、その文字枠位置番号が行
末文字枠(図12の文字入力板203aの場合、5、1
1、17、また、文字入力板の行数が3行以上ある場合
は、6n+5(nは正の整数)で表せられる文字枠位置
番号の文字枠)であるか否かを判定する。行末文字枠で
あると判定されない場合(ステップS1304でN
O)、ステップS1305に進む。一方、行末文字枠で
あると判定さらた場合(ステップS1304でYE
S)、ステップS1306に進む。ステップS1305
で、複数の文字ストロークを1文字を構成する文字スト
ロークとして認識部1101に送出する。ステップS1
306で、複数の文字ストロークを文字抽出部1104
に送出する。
In step S1303, a plurality of character strokes corresponding to the character frame position numbers of the character strokes read immediately before are read from the character stroke storage unit 103. In step S1304, the character frame position number is the end-of-line character frame (in the case of the character input plate 203a in FIG.
If the number of lines of the character input board is 3 or more, it is determined whether or not it is 6n + 5 (n is a character frame of the character frame position number represented by a positive integer). If it is not determined to be the end-of-line character frame (N in step S1304)
O), and proceeds to step S1305. On the other hand, if it is determined that it is the end-of-line character frame (YES in step S1304).
S), and proceeds to step S1306. Step S1305
Then, the plurality of character strokes are sent to the recognition unit 1101 as character strokes that form one character. Step S1
At 306, a plurality of character strokes are extracted by the character extraction unit 1104.
To send to.

【0063】上述の図13のフローチャートで説明した
ステップS1306の処理が実行された後、文字抽出部
1104が起動され、以下、図14のフローチャートに
示すような処理が実行される。図14は実施の形態2の
文字抽出部1104で実行される処理フローを示すフロ
ーチャートである。
After the processing of step S1306 described with reference to the flow chart of FIG. 13 is executed, the character extracting unit 1104 is activated and the processing shown in the flow chart of FIG. 14 is executed. FIG. 14 is a flowchart showing a processing flow executed by the character extraction unit 1104 of the second embodiment.

【0064】ステップS1400で、外部メモリ208
に格納されている禁則文字情報テーブル1105をオー
プンする。図15を用いて、禁則文字情報テーブル10
5の構成を説明する。図15は実施の形態2の禁則文字
情報テーブル1105の構成を示す図である。
In step S1400, the external memory 208
Open the prohibited character information table 1105 stored in. Using FIG. 15, the prohibited character information table 10
The configuration of No. 5 will be described. FIG. 15 is a diagram showing the structure of the prohibited character information table 1105 according to the second embodiment.

【0065】例えば、図に示すように禁則文字情報テー
ブル1105には、禁則文字の文字コードの文字コード
情報を複数格納する「文字コード」欄が構成される。ま
た、「文字コード」欄に格納される禁則文字の文字コー
ドに対し、実際に書かれる画数の許容範囲のストローク
数の最小と最大を格納する「最大ストローク数」欄と、
「最小ストローク数」欄からなる「許容範囲ストローク
数」欄が構成される。
For example, as shown in the figure, the prohibited character information table 1105 has a "character code" column for storing a plurality of character code information of character codes of prohibited characters. Also, for the character code of the prohibited characters stored in the "character code" column, a "maximum stroke number" column that stores the minimum and maximum number of strokes within the allowable range of the number of strokes actually written,
An "allowable range stroke number" column including a "minimum stroke number" column is configured.

【0066】ステップS1401で、文字抽出部110
4に送られてきた文字ストロークのストローク数jをカ
ウンタ1104aにセットする。ステップS1402
で、禁則文字情報テーブル1105から任意の文字コー
ド情報を読み出す。ステップS1403で、禁則文字情
報テーブル1105より読み出されていない禁則文字の
文字コード情報があるか否かを判定する。読み出されて
いない禁則文字の文字コード情報がある場合(ステップ
S1403でYES)、ステップS1404に進む。一
方、読み出されていない禁則文字の文字コード情報がな
い場合(ステップS1404でNO)、ステップS14
10に進む。
In step S1401, the character extraction unit 110
The stroke number j of the character stroke sent to the No. 4 is set in the counter 1104a. Step S1402
Then, arbitrary character code information is read from the prohibited character information table 1105. In step S1403, it is determined whether or not there is character code information of the prohibited character that has not been read from the prohibited character information table 1105. If there is character code information of prohibited characters that have not been read (YES in step S1403), the flow advances to step S1404. On the other hand, if there is no character code information of the prohibited character that has not been read (NO in step S1404), step S14
Go to 10.

【0067】ステップS1404で、読み出された文字
コード情報に対応する最小ストローク数kがカウンタ1
104bにセットされる。ステップS1405で、カウ
ンタ1104bにセットされた値kが読み出された文字
コード情報に対応する最大ストローク数よりも大きい否
かを判定する。カウンタ1104bにセットされた値k
が読み出された文字コード情報に対応する最大ストロー
ク数よりも大きい場合(ステップS1405でYE
S)、ステップS1401に戻る。一方、カウンタ11
04bにセットされた値kが読み出された文字コード情
報に対応する最大ストローク数よりも小さい場合(ステ
ップS1405でNO)、ステップS1406に進む。
In step S1404, the minimum stroke number k corresponding to the read character code information is the counter 1
It is set to 104b. In step S1405, it is determined whether the value k set in the counter 1104b is larger than the maximum stroke number corresponding to the read character code information. The value k set in the counter 1104b
Is larger than the maximum number of strokes corresponding to the read character code information (YES in step S1405).
S), and returns to step S1401. On the other hand, the counter 11
If the value k set in 04b is smaller than the maximum stroke number corresponding to the read character code information (NO in step S1405), the process advances to step S1406.

【0068】ステップS1406で、カウンタ1104
bにセットされた値kがカウンタ1104aにセットさ
れた値jよりも大きい否かを判定する。カウンタ110
4bにセットされた値kがカウンタ1104aにセット
された値jよりも大きい場合(ステップS1406でY
ES)、ステップS1401に戻る。一方、カウンタ1
104bにセットされた値kがカウンタ1104aにセ
ットされた値jよりも小さい場合(ステップS1406
でNO)、ステップS1407に進む。
In step S1406, the counter 1104
It is determined whether the value k set in b is larger than the value j set in the counter 1104a. Counter 110
When the value k set in 4b is larger than the value j set in the counter 1104a (Y in step S1406).
ES), and returns to step S1401. On the other hand, counter 1
When the value k set in 104b is smaller than the value j set in the counter 1104a (step S1406).
NO), the process proceeds to step S1407.

【0069】ステップS1407で、送られてきたスト
ロークに対し、j−k+1番目の文字ストロークからj
番目までの文字ストロークによって禁則文字が構成され
るものとして、認識部1101に送り、禁則文字の文字
認識処理を行う。尚、禁則文字が構成されるものとした
複数の文字ストロークを認識部1101に送る際、文字
枠のサイズ情報も合わせて送る。このようにすること
で、例えば、「。」の禁則文字のように「O」や「o」
等の類似する文字が存在して、その禁則文字「。」の文
字ストロークのみでは詳細に禁則文字を判別できない場
合でも、その文字枠のサイズ情報によって与えられる文
字枠の位置と文字ストロークの位置の相対的な位置によ
って、類似文字間の識別の精度を向上させることができ
る。
In step S1407, j is calculated from the j-k + 1th character stroke to the sent stroke.
Assuming that the character strokes up to the th character constitute a prohibited character, the character stroke is sent to the recognition unit 1101 to perform character recognition processing for the prohibited character. When sending a plurality of character strokes that constitute a prohibited character to the recognition unit 1101, the size information of the character frame is also sent. By doing this, for example, like "."
Even if there is a similar character such as, and it is not possible to distinguish the prohibited character in detail only by the character stroke of the prohibited character ".", The position of the character frame and the position of the character stroke given by the size information of the character frame The relative position can improve the accuracy of discrimination between similar characters.

【0070】ステップS1408で、認識部1101か
ら得られる文字認識結果は、図16に示すような構成で
バッファメモリ1102aに保存格納される。図16は
実施の形態2のバッファメモリ1102aに格納される
文字認識結果の構成を示す図である。図16の「文字コ
ード」欄は、図15に示される同文字種の文字コード情
報が記載されている。「使用ストローク数」欄には、記
載されている数値をnとすると、最初のn本、あるいは
最後のn本の文字ストロークを用いて認識処理した結果
が「認識結果コード」欄と「認識結果スコア」欄に記載
される。「認識スコア」欄の数値は、認識結果の信頼度
を示す数値であり、数値が大きいほど認識結果の信頼性
が高いことを表している。また、「認識結果コード」欄
には、認識された文字コード情報が格納される。更に、
図15に示されるように「最小ストローク数」と「最大
ストローク数」が異なる場合の文字コード情報に対して
は、その「最小ストローク数」と「最大ストローク数」
間の各ストローク数毎において実行された文字認識の認
識結果が格納されることになる(例えば、図15の文字
コード情報」(0x2157)等である)。
In step S1408, the character recognition result obtained from the recognition unit 1101 is stored and stored in the buffer memory 1102a with the configuration shown in FIG. FIG. 16 is a diagram showing a structure of a character recognition result stored in the buffer memory 1102a according to the second embodiment. The "character code" column of FIG. 16 describes the character code information of the same character type shown in FIG. In the "Number of strokes used" column, if the entered number is n, the results of recognition processing using the first n character strokes or the last n character strokes are the "recognition result code" column and "recognition result". It is described in the “Score” column. The numerical value in the “recognition score” column is a numerical value indicating the reliability of the recognition result, and the larger the numerical value, the higher the reliability of the recognition result. Further, the recognized character code information is stored in the “recognition result code” column. Furthermore,
As shown in FIG. 15, for the character code information when the "minimum stroke number" and the "maximum stroke number" are different, the "minimum stroke number" and the "maximum stroke number"
The recognition result of the character recognition executed for each number of strokes in between is stored (for example, "character code information of FIG. 15" (0x2157) or the like).

【0071】ステップS1409で、カウンタ1104
aの値kを+1インクリメントする。以上の処理を、禁
則文字情報テーブル1105に格納されているすべての
文字コード情報について実行すると、ステップS141
0に進む。ステップS1410で、文字枠に記入された
文字の中に禁則文字が存在しているか否かを判定する。
文字枠に記入された文字の中に禁則文字が存在する場合
(ステップS1410でYES)、ステップS1403
に進む。一方、文字枠に記入された文字の中に禁則文字
が存在しない場合(ステップS1410でNO)、ステ
ップS1411に進む。
In step S1409, the counter 1104
The value k of a is incremented by +1. When the above processing is executed for all the character code information stored in the prohibited character information table 1105, step S141
Go to 0. In step S1410, it is determined whether or not there are prohibited characters in the characters entered in the character box.
When the prohibited characters are present in the characters entered in the character frame (YES in step S1410), step S1403.
Proceed to. On the other hand, if there is no prohibited character in the characters entered in the character box (NO in step S1410), the process advances to step S1411.

【0072】尚、禁則文字が存在しているか否かの判定
方法は、例えば、図16の認識結果の「文字コード」欄
と「認識結果コード」欄に格納されている文字コード情
報が等しく、かつ「認識結果スコア」欄が設定された所
定の閾値以上である場合に、特定文字が存在するものと
する。また、閾値の値は予め実験システム等を用いて、
認識処理における認識スコアと正解率の関係を用いて統
計的に算出される。
A method of determining whether or not there is a prohibited character is, for example, that the character code information stored in the “character code” column of the recognition result and the character code information stored in the “recognition result code” column of FIG. In addition, when the “recognition result score” column is equal to or larger than the set predetermined threshold value, it is assumed that the specific character exists. In addition, the value of the threshold is set in advance using an experimental system, etc.
It is statistically calculated using the relationship between the recognition score and the correct answer rate in the recognition process.

【0073】例えば、図16に示される認識結果によれ
ば、上記の条件に該当するのは「。」であり、文字枠に
記入された文字には、「。」が他の文字と共に書かれて
いたことになる。ステップS1413で、文字枠に記入
された文字によって構成されるすべての文字ストローク
の中から、禁則文字の文字ストロークとして書かれたも
のを除き(図12の例では、最後の文字ストロークを取
り除く)残りの文字ストロークを1文字として認識部1
101にて、文字認識処理を行う。この際、文字枠に禁
則文字のみが記入されていた場合には、残りの文字スト
ロークは無いので認識処理させる必要性は当然ない。
For example, according to the recognition result shown in FIG. 16, "." Corresponds to the above condition, and "." Is written together with other characters in the characters entered in the character box. I was there. In step S1413, all the character strokes formed by the characters entered in the character frame, except those written as character strokes of prohibited characters (removing the last character stroke in the example of FIG. 12) are left. Recognizer 1 with each character stroke as one character
At 101, character recognition processing is performed. At this time, when only the prohibited characters are entered in the character frame, there is no remaining character stroke, and thus there is no need for recognition processing.

【0074】ステップS1414で、得られた文字の認
識結果を最初に結果出力部1102に送り、ステップS
1415で、続いて得られた禁則文字を送る。一方、ス
テップS1411で、文字枠に記入された文字を構成す
るすべての文字ストロークを認識部1101にて、文字
認識処理を行う。ステップS1412で、その認識結果
を結果出力部1102に送る。
In step S1414, the obtained character recognition result is first sent to the result output unit 1102, and in step S14
At 1415, the subsequently obtained prohibited character is sent. On the other hand, in step S1411, the recognition unit 1101 performs a character recognition process on all the character strokes that form the character entered in the character frame. In step S1412, the recognition result is sent to the result output unit 1102.

【0075】以上の処理をすべての文字枠に対して行う
ことで処理が完了する。図12に示される記入例の場
合、ステップS1410より、ステップS1413へ進
むのは、文字枠位置番号5の文字枠であり、記入されて
いる文字からは、「。」が禁則文字、その他の文字とし
て「す」が得られる。そして、図12に示される手書き
の「サンプルです。」は、図17に示すような認識結果
として、表示部206に表示される。
The process is completed by performing the above process for all the character frames. In the case of the entry example shown in FIG. 12, the process proceeds from step S1410 to step S1413 in the character box of character box position number 5, and from the entered characters, “.” Is a prohibited character or other characters. Is obtained as. Then, the handwritten “Sample” shown in FIG. 12 is displayed on the display unit 206 as a recognition result as shown in FIG.

【0076】尚、図14のフローチャートに示される文
字抽出部1104の処理動作手順は、これに限らない。
最終的に、禁則文字に使われている文字ストローク数と
その文字コードが判断できれば、いかなる処理手順で実
行することができる。また、実施の形態2では、禁則文
字の例として行頭に記入されることがないない禁則文字
の場合の処理について説明したが、行末に記入されるこ
とがない禁則文字であっても良い。また、所定の位置の
文字枠に依存した禁則文字が存在するのであれば、どの
場所においても同様の処理手順によって、処理を実行す
ることができることは明らかである。
The processing operation procedure of the character extraction unit 1104 shown in the flowchart of FIG. 14 is not limited to this.
Finally, if the number of character strokes used for prohibited characters and the character code thereof can be determined, the processing can be performed by any processing procedure. Further, in the second embodiment, as an example of the prohibited character, the processing in the case of the prohibited character that is not written at the beginning of the line has been described, but the prohibited character may not be written at the end of the line. Further, if there is a prohibited character depending on the character frame at a predetermined position, it is obvious that the processing can be executed at any place by the same processing procedure.

【0077】更に、禁則文字情報テーブル1105の内
容は、図15に示される内容に限定されない。例えば、
ユーザが数字等の追加の変更を行えるような構成にする
ことも容易に可能である。また、GUI等のインタフェ
ース画面を表示部206に表示して、禁則文字情報テー
ブル1105内の各欄を設定する構成にすることもでき
る。
Further, the content of the prohibited character information table 1105 is not limited to the content shown in FIG. For example,
A configuration that allows the user to make additional changes such as numbers is also possible. It is also possible to display an interface screen such as GUI on the display unit 206 and set each column in the prohibited text information table 1105.

【0078】以上説明したように、実施の形態2によれ
ば、文字入力板203aに構成される行末の文字枠に、
禁則文字と文字の識別処理を行うので、行末の文字枠に
禁則文字と文字の文字群が記入された場合でも、それぞ
れを認識しその認識結果を出力することができる。ま
た、ユーザは、1つの文字枠に記入できる文字数が1文
字であるという絶対的な制限を考慮することなく、1つ
の行末の文字枠に禁則文字と文字が組み合わさる複数の
文字群を記入することが可能となる。その結果、文字を
記入する操作が容易になる。
As described above, according to the second embodiment, in the character frame at the end of the line formed on the character input plate 203a,
Since the prohibition character and the character are distinguished, even if the prohibition character and the character group of the character are entered in the character frame at the end of the line, they can be recognized and the recognition result can be output. In addition, the user writes a plurality of character groups in which prohibited characters and characters are combined in a character frame at the end of a line without considering the absolute limitation that the number of characters that can be entered in one character frame is one character. It becomes possible. As a result, the operation of entering characters becomes easy.

【0079】また、行頭に記入されることがない禁則文
字を行末の文字と共に記入するような一般的な日本文章
書式においても、文字枠を有する文字入力板203aを
使用することが可能であり、原稿用紙書式のような文字
入力板の実現が可能となる。更に、行末等の特定の文字
枠のみに処理が成されるので、処理負荷も軽減され、実
用的となる。
Further, the character input plate 203a having a character frame can be used also in a general Japanese sentence format in which prohibited characters which are not entered at the beginning of a line are entered together with characters at the end of a line. It is possible to realize a character input board such as a manuscript paper format. Further, since the processing is performed only on a specific character frame such as the end of a line, the processing load is reduced and it becomes practical.

【0080】<実施の形態3>実施の形態1では特定文
字情報テーブルに、その特定文字の文字コードと画数許
容範囲の欄を設けることにより、1つの文字枠内に記入
された特定文字と文字の識別を実現し、1つの文字枠内
に記入された特定文字と文字の文字認識を可能とした。
また、実施の形態2では禁則文字情報テーブルに、その
禁則文字の文字コードと画数許容範囲の欄を設けること
により、1つの文字枠内に記入された禁則文字と文字の
識別を実現し、1つの文字枠内に記入された禁則文字と
文字の文字認識を可能とした。
<Third Embodiment> In the first embodiment, the specific character information table is provided with columns of the character code of the specific character and the allowable range of the number of strokes. It is possible to recognize the specific character and the character entered in one character frame.
Further, in the second embodiment, the prohibited character information table is provided with columns for the character code of the prohibited character and the allowable number of strokes, so that the prohibited character and the character entered in one character frame can be identified. Character recognition of prohibited characters and characters entered in one character frame is enabled.

【0081】実施の形態3では、特に、1つの文字枠内
に記入された禁則文字と文字の文字認識の方法として、
1つの文字を構成する複数の文字ストロークをいくつか
の部分パターンに分類し、その分類パターンの組み合わ
せで文字認識を行う部分パターン認識処理を用いて文字
認識を行う。尚、実施の形態3のオンライン手書き文字
認識装置の概略構成は、実施の形態1の図1と同様の構
成を有するものとし、その詳細な説明は省略する。ま
た、文字入力板の構成も実施の形態1と同様の構成を有
するものとし、その詳細な説明は省略する。
In the third embodiment, in particular, as a method of character recognition of prohibited characters and characters entered in one character frame,
A plurality of character strokes forming one character are classified into some partial patterns, and character recognition is performed using partial pattern recognition processing that performs character recognition based on the combination of the classified patterns. The schematic configuration of the online handwritten character recognition device according to the third embodiment has the same configuration as that of the first embodiment shown in FIG. 1, and the detailed description thereof will be omitted. The character input plate has the same structure as that of the first embodiment, and the detailed description thereof will be omitted.

【0082】実施の形態3で実行される処理の機能構成
について、図18を用いて説明する。尚、CPU200
の制御によって、ROM201に格納された実施の形態
3で説明される処理を実行するための制御プログラムを
RAM202に読み込むことで、その処理が実行され
る。
The functional configuration of the processing executed in the third embodiment will be described with reference to FIG. The CPU 200
Under the control of 1, the control program stored in the ROM 201 for executing the process described in the third embodiment is read into the RAM 202, thereby executing the process.

【0083】図18は実施の形態3のオンライン文字認
識装置の機能構成を示すブロック図である。以下、各機
能構成と、各機能によって実行される処理について説明
する。まず、文字入力部1800(CPU200、座標
入力部203、文字入力板203a、入力ペン204、
表示部206に対応する)より入力された各文字枠に記
入される複数の文字ストロークは、文字ストローク記憶
部1803に記憶される。この文字ストロークは、座標
入力部203から送られるペンダウン(入力ペン204
の入力開始を示す)信号からペンアップ(入力ペン20
4の入力終了を示す)信号までの間に送られた複数の座
標群から成っている。そして、文字ストローク記憶部1
803に格納されている複数の文字ストロークを用い
て、文字枠位置検出部1806では、入力された文字ス
トロークが、文字入力板203aのどの文字枠に記入さ
れたかを検出する。
FIG. 18 is a block diagram showing the functional configuration of the online character recognition device in the third embodiment. Hereinafter, each functional configuration and processing executed by each function will be described. First, the character input unit 1800 (CPU 200, coordinate input unit 203, character input plate 203a, input pen 204,
A plurality of character strokes entered in each character frame input from the display unit 206 (corresponding to the display unit 206) are stored in the character stroke storage unit 1803. This character stroke is a pen-down (input pen 204) sent from the coordinate input unit 203.
From the signal indicating the start of input of the
4 indicating the end of input) and a plurality of coordinate groups transmitted until the signal. Then, the character stroke storage unit 1
Using the plurality of character strokes stored in 803, the character frame position detection unit 1806 detects in which character frame of the character input plate 203a the input character stroke is written.

【0084】尚、この文字枠位置検出方法は、文字スト
ロークの始点座標が含まれる文字枠位置としてもよく、
また、文字枠をはずれて記入された場合を想定して、文
字ストローク全体の重心座標が含まれる文字枠としても
よい。いずれの場合も文字枠を構成する矩形の頂点座標
が、装置内に記憶されていれば検出可能である。部分パ
ターン認識部1801では、複数の文字ストロークから
なる文字に関し、その一部を構成するいくつかの文字ス
トロークの部分パターンに分類し、この部分パターンの
組み合わせによって認識結果を得る。一般に、部分パタ
ーン認識では外部メモリ208、あるいはROM201
に部分パターン辞書と呼ばれる文字の一部を構成する文
字ストロークの部分パターンコードと文字を構成するた
めの部分パターンコード集合と、文字がどの部分パター
ンから構成されているかを示す構成辞書を所有してい
る。
Note that this character frame position detection method may be a character frame position including the start point coordinates of a character stroke,
In addition, assuming that the data is written out of the character frame, the character frame may include the barycentric coordinates of the entire character stroke. In either case, the coordinates of the vertices of the rectangle forming the character frame can be detected if they are stored in the device. The partial pattern recognition unit 1801 classifies a character composed of a plurality of character strokes into partial patterns of some character strokes forming a part of the character stroke, and obtains a recognition result by combining the partial patterns. Generally, in the partial pattern recognition, the external memory 208 or the ROM 201 is used.
Owns a partial pattern code that is called a partial pattern dictionary, a partial pattern code of a character stroke that forms a part of a character, a partial pattern code set that forms a character, and a partial dictionary that indicates which partial pattern a character consists of. There is.

【0085】禁則文字情報テーブル1805には、禁則
文字の文字コードやその他の付加情報が格納されてお
り、外部メモリ208にファイルとして存在している。
このファイルの内容は、変更可能であり、ファイルの読
込/書込が許可されている。尚、禁則文字とは、実施の
形態1で説明した特定文字の中で、特に、行頭あるいは
行末に文法上記入することがない句読点等の文字(以
下、禁則文字と呼ぶ)のことである。また、禁則文字情
報テーブル1805の構成は図15に示される禁則情報
テーブルと同様の構成であるとする。
The prohibited character information table 1805 stores character codes of prohibited characters and other additional information, and exists in the external memory 208 as a file.
The contents of this file can be changed, and reading / writing of the file is permitted. The prohibited characters are characters, such as punctuation marks (hereinafter referred to as prohibited characters), which do not enter the grammar at the beginning or the end of the line, among the specific characters described in the first embodiment. The prohibited character information table 1805 is assumed to have the same structure as the prohibited information table shown in FIG.

【0086】認識結果制御部1804は、部分パターン
認識部1801より得られる認識結果を考慮し、禁則文
字情報テーブル1805と照らし合わせて、結果出力部
1802に送る認識結果文字の個数を制御する。また、
得られた認識結果は結果出力部1102のバッファメモ
リ1102aに転送される。転送された認識結果は、認
識結果として適当であると判断された複数の文字コード
と、文字コードの付加情報として認識処理にて生成され
た演算値が認識候補として含まれている。結果出力部1
802は、第一位の認識候補の文字コードが表す文字フ
ォントを文字認識装置の表示部206に表示する。
The recognition result control unit 1804 controls the number of recognition result characters to be sent to the result output unit 1802 by considering the recognition result obtained from the partial pattern recognition unit 1801 and checking it against the prohibited character information table 1805. Also,
The obtained recognition result is transferred to the buffer memory 1102a of the result output unit 1102. The transferred recognition result includes, as recognition candidates, a plurality of character codes determined to be appropriate as the recognition result, and an operation value generated by the recognition process as additional information of the character code. Result output part 1
802 displays the character font represented by the character code of the first-ranked recognition candidate on the display unit 206 of the character recognition device.

【0087】尚、文字フォントの表示はユーザが筆跡入
力した文字枠に表示することが可能で、その際には、入
力された文字筆跡を消去して表示すれば良い。また、第
一位の認識候補結果に限らず、下位の認識候補を表示す
る構成にしても良い。次に、実施の形態2と同様に、文
字入力板203aの行末の文字枠に行頭にされることが
ない禁則文字を含んで文字が記入された場合、例えば、
図12に示される文字入力板の文字枠位置番号5の行末
文字枠に「す。」が記入された場合に実施の形態3で実
行される動作手順を図19のフローチャートを用いて詳
細に説明する。
The display of the character font can be displayed in the character frame input by the user's handwriting. At that time, the input character handwriting may be deleted and displayed. Further, not only the first-ranked recognition candidate result but also the lower-ranked recognition candidate may be displayed. Next, as in the case of the second embodiment, when a character is entered in the character frame at the end of the line of the character input plate 203a including a prohibited character that is not set at the beginning of the line, for example,
The operation procedure executed in the third embodiment when "" is entered in the line end character box of the character box position number 5 of the character input plate shown in FIG. 12 will be described in detail with reference to the flowchart of FIG. To do.

【0088】図19は実施の形態3の処理フローを示す
フローチャートである。尚、ステップS1903、ステ
ップS1904で条件に合わなかった場合は、ステップ
S1902における処理が不適であり、行末には1文字
の筆跡しか存在していなかったと判断されるため、ステ
ップS1905へと進む。ここで、ステップS1900
〜ステップS1902、ステップS1906は部分パタ
ーン認識部1801で処理し、ステップS1903〜1
905、ステップS1907は認識結果制御部1804
で処理する。
FIG. 19 is a flowchart showing the processing flow of the third embodiment. If the conditions are not met in steps S1903 and S1904, it is determined that the process in step S1902 is unsuitable, and there is only one character handwriting at the end of the line, and the process proceeds to step S1905. Here, step S1900
~ Steps S1902 and S1906 are processed by the partial pattern recognition unit 1801, and steps S1903 to 1
905 and step S1907 are the recognition result control unit 1804.
To process.

【0089】ステップS1900で、読み出された文字
ストロークを用いて複数の部分パターンを抽出する。こ
の抽出方法は、部分パターン辞書に収められている標準
的な文字ストロークの部分パターンの書き方と文字枠に
記入された文字の文字ストロークとの間で、ユークリッ
ド距離比較演算する。そして、標準的な文字ストローク
の部分パターン毎に演算値が算出され、演算値が少ない
(標準的の文字の文字ストロークの位置と文字枠に記入
された文字の文字ストロークの位置の相対的な位置の距
離が短い)程、該当する部分パターンが記入された文字
に含まれている可能性が高いと判断する。まず、1回目
の処理によって、第一の部分パターン候補群が得られ
る。また、第一の部分パターン候補群それぞれは、文字
の一部である。更に、第1の部分パターンに用いられた
文字ストロークを除いた残りの文字ストロークを用い
て、再度、上述の処理によって部分パターンを抽出し、
繰り返し処理することで第2、第3、…、第n(nは正
の整数)の部分パターン候補群の探索を行う。
In step S1900, a plurality of partial patterns are extracted using the read character strokes. In this extraction method, the Euclidean distance comparison calculation is performed between the writing method of the standard partial pattern of character strokes stored in the partial pattern dictionary and the character stroke of the character written in the character frame. Then, the calculated value is calculated for each partial pattern of the standard character stroke, and the calculated value is small (the relative position of the character stroke position of the standard character and the character stroke position of the character entered in the character frame). The shorter the distance is, the more likely it is that the corresponding partial pattern is included in the written characters. First, a first partial pattern candidate group is obtained by the first processing. Further, each of the first partial pattern candidate groups is a part of a character. Further, using the remaining character strokes excluding the character strokes used for the first partial pattern, the partial pattern is extracted again by the above-mentioned processing,
Iterative processing is performed to search for the second, third, ..., Nth (n is a positive integer) partial pattern candidate group.

【0090】ステップS1901で、記入された文字の
文字枠の位置が行末であるか否かを判定する。行末でな
い場合(ステップS1901でNO)、ステップS19
06に進む。一方、行末である場合(ステップS190
1でYES)、ステップS1902に進む。ステップS
1906で、抽出した第1〜第nまでの部分パターンす
べてが構成パターンとなるような文字を探索を構成辞書
を用いて行い、探索によって得られる結果を文字認識結
果として文字を作成する。ステップS1907で、文字
認識結果を結果出力部1802へ送る。
In step S1901, it is determined whether or not the position of the character frame of the entered character is at the end of the line. If it is not the end of line (NO in step S1901), step S19
Proceed to 06. On the other hand, if it is the end of line (step S190)
If YES, the process proceeds to step S1902. Step S
In 1906, a search is performed using a composition dictionary for a character such that all of the extracted first to nth partial patterns are composition patterns, and a character obtained by the search is used as a character recognition result. In step S1907, the character recognition result is sent to the result output unit 1802.

【0091】一方、ステップS1902では、第1〜第
nの部分パターンすべてを用い、それぞれの部分パター
ンが重複しないようにして部分パターンを組み合わせ、
2文字を作成する。尚、この組み合わせ方法は、入力さ
れた文字ストロークの順番を考慮して、連続した部分パ
ターンから組み合わせるように作成する。例えば、3つ
の部分パターンが抽出されたとすると、(第1の部分パ
ターン+第2の部分パターン)から成る文字と(第3の
部分パターン)からなる文字に分け、(第1の部分パタ
ーン+第3の部分パターン)から成る文字と(第2の部
分パターン)から成る文字の組み合わせは作成しな。ま
た、この2文字の組み合わせが複数できる場合は、各2
文字の組み合わせ認識スコア(すなわち、構成する部分
パターンの距離比較演算値)の合計が最小となる組を選
択する。
On the other hand, in step S1902, all the first to n-th partial patterns are used, and the partial patterns are combined so as not to overlap each other,
Create two characters. In this combination method, the order of input character strokes is taken into consideration to create a combination of continuous partial patterns. For example, if three partial patterns are extracted, it is divided into a character composed of (first partial pattern + second partial pattern) and a character composed of (third partial pattern), and (first partial pattern + second partial pattern) Do not create a combination of a character consisting of (3 partial patterns) and a character consisting of (second partial patterns). If there are multiple combinations of these two characters, each two
A set having the smallest sum of the character combination recognition scores (that is, the distance comparison calculation values of the constituent partial patterns) is selected.

【0092】ステップS1903で、この2文字のそれ
ぞれの認識スコアが予め定められた所定の閾値以上であ
るか否かを判定する。所定の閾値でない場合(ステップ
S1903でNO)、ステップS1906に進む。一
方、所定の閾値である場合(ステップS1903でYE
S)、ステップS1904に進む。ステップS1904
で、2文字のうちいずれかが、禁則文字情報テーブル1
805に格納されている禁則文字の文字コード情報であ
るか否かを判定する。禁則文字の文字コード情報がない
場合(ステップS1904でNO)、ステップS190
6に進む。一方、禁則文字の文字コード情報がある場合
(ステップS1904でYES)、ステップS1905
に進む。
In step S1903, it is determined whether the recognition score of each of these two characters is equal to or greater than a predetermined threshold value. If it is not the predetermined threshold value (NO in step S1903), the process advances to step S1906. On the other hand, if it is a predetermined threshold value (YES in step S1903).
S), and the process proceeds to step S1904. Step S1904
And one of the two characters is prohibited character information table 1
It is determined whether or not it is the character code information of the prohibited character stored in 805. When there is no character code information of prohibited characters (NO in step S1904), step S190
Proceed to 6. On the other hand, if there is character code information of prohibited characters (YES in step S1904), step S1905.
Proceed to.

【0093】ステップS1905で、認識結果として得
られた2文字を結果出力部1802へ送る。尚、実施の
形態3では、実施の形態2と同様に、行末の文字枠に記
入された禁則文字と文字の識別における処理について説
明したが、これに限らない。例えば、実施の形態1のよ
うに、特定文字の文字コードをもつ特定文字情報テーブ
ルを用意し、すべての文字枠について部分パターン認識
による特定文字抽出も行えることは明らかである。
In step S1905, the two characters obtained as the recognition result are sent to the result output unit 1802. Incidentally, in the third embodiment, as in the second embodiment, the process of identifying the prohibited characters and the characters entered in the character frame at the end of the line has been described, but the present invention is not limited to this. For example, as in the first embodiment, it is obvious that the specific character information table having the character code of the specific character is prepared and the specific character can be extracted by the partial pattern recognition for all the character frames.

【0094】以上説明したように、実施の形態3によれ
ば、文字認識の認識方法として、文字を構成する文字ス
トロークの一部の部分パターンを組み合わせて文字認識
を行うパターン認識処理を用いることで、標準文字を構
成する文字ストロークの一部の部分パターン群を外部メ
モリ208に記憶させるだけで、文字認識を行うことが
できる。その結果、標準文字を構成する各文字の文字ス
トロークをすべて外部メモリ208に記憶させる必要が
なくなるため、外部メモリ208の記憶容量を節約する
ことができる。
As described above, according to the third embodiment, as the recognition method for character recognition, the pattern recognition processing for performing character recognition by combining partial patterns of a part of character strokes forming a character is used. Character recognition can be performed only by storing a partial pattern group of a part of character strokes forming a standard character in the external memory 208. As a result, it is not necessary to store all the character strokes of each character that forms a standard character in the external memory 208, so that the storage capacity of the external memory 208 can be saved.

【0095】尚、本発明は、複数の機器(例えばホスト
コンピュータ、インタフェース機器、リーダ、プリンタ
等)から構成されるシステムに適用しても、一つの機器
からなる装置(例えば、複写機、ファクシミリ装置等)
に適用してもよい。また、本発明の目的は、前述した実
施形態の機能を実現するソフトウェアのプログラムコー
ドを記録した記憶媒体を、システムあるいは装置に供給
し、そのシステムあるいは装置のコンピュータ(または
CPUやMPU)が記憶媒体に格納されたプログラムコ
ードを読出し実行することによっても、達成されること
は言うまでもない。
Even if the present invention is applied to a system composed of a plurality of devices (eg, host computer, interface device, reader, printer, etc.), a device composed of one device (eg, copying machine, facsimile device) etc)
May be applied. Further, an object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus to store the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in the program.

【0096】この場合、記憶媒体から読出されたプログ
ラムコード自体が上述した実施の形態の機能を実現する
ことになり、そのプログラムコードを記憶した記憶媒体
は本発明を構成することになる。プログラムコードを供
給するための記憶媒体としては、例えば、フロッピディ
スク、ハードディスク、光ディスク、光磁気ディスク、
CD−ROM、CD−R、磁気テープ、不揮発性のメモ
リカード、ROMなどを用いることができる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk,
A CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM or the like can be used.

【0097】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施の形態の機能
が実現される場合も含まれることは言うまでもない。
Further, not only the functions of the above-described embodiments are realized by executing the program code read by the computer, but also the OS (operating system) running on the computer based on the instructions of the program code. It is needless to say that this also includes the case where the above) performs a part or all of the actual processing and the processing realizes the functions of the above-described embodiments.

【0098】更に、記憶媒体から読出されたプログラム
コードが、コンピュータに挿入された機能拡張ボードや
コンピュータに接続された機能拡張ユニットに備わるメ
モリに書込まれた後、そのプログラムコードの指示に基
づき、その機能拡張ボードや機能拡張ユニットに備わる
CPUなどが実際の処理の一部または全部を行い、その
処理によって前述した実施形態の機能が実現される場合
も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, based on the instruction of the program code, It goes without saying that a case where the CPU or the like included in the function expansion board or the function expansion unit performs some or all of the actual processing and the processing realizes the functions of the above-described embodiments is also included.

【0099】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを格納することになるが、簡単に説
明すると、図20のメモリマップ例に示す各モジュール
を記憶媒体に格納することになる。すなわち、少なくと
も「記憶モジュール」、「判定モジュール」、「抽出モ
ジュール」および「認識モジュール」の各モジュールの
プログラムコードを記憶媒体に格納すればよい。
When the present invention is applied to the above-mentioned storage medium, the storage medium stores the program code corresponding to the above-mentioned flowchart. Briefly, the memory map example of FIG. Each module shown will be stored in the storage medium. That is, at least the program code of each of the “storage module”, the “determination module”, the “extraction module”, and the “recognition module” may be stored in the storage medium.

【0100】尚、「記憶モジュール」は、少なくとも1
つ以上のパターンを記憶媒体に記憶する。「判定モジュ
ール」は、文字枠に入力されたパターンの中に、記憶媒
体に記憶されているパターンが含まれているか否かを判
定する。「抽出モジュール」は、記憶媒体に記憶されて
いるパターンが含まれていると判定された場合、該パタ
ーンを抽出する。「認識モジュール」は、文字枠に入力
されたパターンより、抽出したパターンを除外して得ら
れるパターンから文字を認識する。
The "memory module" is at least 1
One or more patterns are stored on the storage medium. The "determination module" determines whether or not the pattern input to the character frame includes the pattern stored in the storage medium. When it is determined that the pattern stored in the storage medium is included, the “extraction module” extracts the pattern. The “recognition module” recognizes a character from a pattern obtained by excluding the extracted pattern from the pattern input in the character frame.

【0101】[0101]

【発明の効果】以上の説明からも明らかなように、本発
明によれば、複数の文字枠からなる文字入力板の文字枠
に複数の文字を記入しても、これら複数の文字をそれぞ
れ認識することができる文字認識装置及びその方法を提
供できる。また、複数の文字枠からなる文字入力板の文
字枠に1文字を記入する制限をなくし、文字を入力する
操作の操作性を向上することができる文字認識装置及び
その方法を提供できる。
As is apparent from the above description, according to the present invention, even if a plurality of characters are entered in a character box of a character input plate composed of a plurality of character boxes, each of the plurality of characters is recognized. It is possible to provide a character recognition device and a method therefor. Further, it is possible to provide a character recognition device and a method thereof which can improve the operability of the operation of inputting a character by eliminating the restriction of writing one character in the character frame of the character input plate composed of a plurality of character frames.

【0102】更に、既存の文字入力板のGUI部分は変
更することなく上述の効果を得ることができるので、特
殊な文字入力板を別途用意する必要性がない。
Further, since the above-mentioned effect can be obtained without changing the GUI part of the existing character input board, there is no need to separately prepare a special character input board.

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

【図1】実施の形態1のオンライン手書き文字認識装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an online handwritten character recognition device according to a first embodiment.

【図2】実施の形態1のオンライン手書き文字認識装置
の機能構成を示すブロック図である。
FIG. 2 is a block diagram showing a functional configuration of the online handwritten character recognition device according to the first embodiment.

【図3】実施の形態1のオンライン手書き文字認識装置
の文字入力板を示す図である。
FIG. 3 is a diagram showing a character input plate of the online handwritten character recognition device in the first embodiment.

【図4】実施の形態1の文字抽出部104が起動される
までの処理フロー示すフローチャートである。
FIG. 4 is a flowchart showing a processing flow until the character extraction unit 104 according to the first embodiment is activated.

【図5】実施の形態1の文字抽出部104で実行される
処理フローを示すフローチャートである。
FIG. 5 is a flowchart showing a processing flow executed by the character extracting unit 104 according to the first embodiment.

【図6】実施の形態1の特殊認識処理の処理フローを示
すフローチャートである。
FIG. 6 is a flowchart showing a processing flow of special recognition processing according to the first embodiment.

【図7】実施の形態1の結果出力処理の処理フローを示
すフローチャートである。
FIG. 7 is a flowchart showing a processing flow of result output processing according to the first embodiment.

【図8】実施の形態1の特定文字情報テーブル105の
構成を示す図である。
FIG. 8 is a diagram showing a configuration of a specific character information table 105 according to the first embodiment.

【図9】実施の形態1のバッファメモリ102aに格納
される文字認識結果の構成を示す図である。
FIG. 9 is a diagram showing a configuration of a character recognition result stored in a buffer memory 102a according to the first embodiment.

【図10】実施の形態1の図3に示される手書き文字の
認識処理結果を示す図である。
FIG. 10 is a diagram showing a recognition processing result of the handwritten character shown in FIG. 3 of the first embodiment.

【図11】実施の形態2のオンライン手書き文字認識装
置の機能構成を示すブロック図である。
FIG. 11 is a block diagram showing a functional configuration of an online handwritten character recognition device according to a second embodiment.

【図12】実施の形態2のオンライン手書き文字認識装
置の文字入力板を示す図である。
FIG. 12 is a diagram showing a character input plate of the online handwritten character recognition device according to the second embodiment.

【図13】実施の形態2の文字抽出部1104が起動さ
れるまでの処理フロー示すフローチャートである。
FIG. 13 is a flowchart showing a processing flow until the character extraction unit 1104 of the second embodiment is activated.

【図14】実施の形態2の文字抽出部1104で実行さ
れる処理フローを示すフローチャートである。
FIG. 14 is a flowchart showing a processing flow executed by a character extracting unit 1104 according to the second embodiment.

【図15】実施の形態2の禁則文字情報テーブル110
5の構成を示す図である。
FIG. 15 is a prohibited character information table 110 according to the second embodiment.
5 is a diagram showing a configuration of FIG.

【図16】実施の形態2のバッファメモリ1102aに
格納される文字認識結果の構成を示す図である。
FIG. 16 is a diagram showing a structure of a character recognition result stored in a buffer memory 1102a according to the second embodiment.

【図17】実施の形態2の図12に示される手書き文字
の認識処理結果を示す図である。
FIG. 17 is a diagram showing a recognition processing result of the handwritten character shown in FIG. 12 of the second embodiment.

【図18】実施の形態3のオンライン手書き文字認識装
置の機能構成を示すブロック図である。
FIG. 18 is a block diagram showing a functional configuration of an online handwritten character recognition device according to a third embodiment.

【図19】実施の形態3のの処理フローを示すフローチ
ャートである。
FIG. 19 is a flowchart showing a processing flow of the third embodiment.

【図20】本発明で実行される処理フローのプログラム
を記憶させたFDのメモリマップの構造を示す図であ
る。
FIG. 20 is a diagram showing a structure of a memory map of an FD in which a program of a processing flow executed in the present invention is stored.

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

200 CPU 201 ROM 202 RAM 203 座標入力部 203a 文字入力板 204 入力ペン 205 表示コントローラ 206 表示部 207 DC 208 外部メモリ 200 CPU 201 ROM 202 RAM 203 Coordinate input unit 203a Character input plate 204 Input pen 205 Display controller 206 Display unit 207 DC 208 External memory

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 文字入力領域の文字枠に入力される文字
を認識する文字認識装置であって、 少なくとも1つ以上のパターンを記憶する記憶手段と、 前記文字枠に入力されたパターンの中に、前記記憶手段
に記憶されているパターンが含まれているか否かを判定
する判定手段と、 前記判定手段によって前記記憶手段に記憶されているパ
ターンが含まれていると判定された場合、該パターンを
抽出する抽出手段と、 前記文字枠に入力されたパターンより、前記抽出手段で
抽出したパターンを除外して得られるパターンから文字
を認識する認識手段とを備えることを特徴とする文字認
識装置。
1. A character recognition device for recognizing a character input in a character frame of a character input area, comprising: a storage unit for storing at least one or more patterns; and a pattern input in the character frame. A determination unit that determines whether or not a pattern stored in the storage unit is included, and if the determination unit determines that the pattern stored in the storage unit is included, the pattern And a recognition unit that recognizes a character from a pattern obtained by excluding the pattern extracted by the extraction unit from the pattern input in the character frame.
【請求項2】 前記記憶手段は、パターンを構成する文
字コードと該パターンを構成するストロークの許容スト
ローク数と該パターンが記入されるべき位置を示す情報
を記憶することを特徴とする請求項1に記載の文字認識
装置。
2. The storage means stores information indicating a character code forming a pattern, an allowable stroke number of strokes forming the pattern, and a position at which the pattern should be written. Character recognition device described in.
【請求項3】 前記判定手段は、前記記憶手段に記憶さ
れるパターンを構成するストロークの許容ストローク数
と該パターンが記入されるべき位置を示す情報に基づい
て、前記文字枠に入力されたパターンを構成するストロ
ークの一部を獲得する獲得手段と、 前記獲得手段で獲得されるストロークによって構成され
るパターンと前記記憶手段に記憶されるパターンとを比
較する比較手段とを備え、 前記比較手段による比較結果に基づいて、前記獲得手段
で獲得されるストロークによって構成されるパターン
を、前記記憶手段に記憶されるパターンとして判定する
ことを特徴とする請求項2に記載の文字認識装置。
3. The pattern input to the character frame based on information indicating an allowable stroke number of strokes forming a pattern and a position at which the pattern is to be written, which is stored in the storage unit. And a comparing means for comparing a pattern formed by the strokes acquired by the acquiring means with a pattern stored in the storage means. The character recognition device according to claim 2, wherein a pattern formed by the strokes acquired by the acquisition means is determined as a pattern stored in the storage means based on a comparison result.
【請求項4】 前記文字入力領域は複数の文字枠を有
し、 前記判定手段による判定を、前記複数の文字枠の所定の
文字枠に対して実行されるよう該所定の文字枠を指定す
る指定手段とを更に備えることを特徴とする請求項1に
記載の文字認識装置。
4. The character input area has a plurality of character frames, and the predetermined character frame is designated so that the determination by the determination unit is executed for a predetermined character frame of the plurality of character frames. The character recognition device according to claim 1, further comprising a designating unit.
【請求項5】 前記認識手段は、文字を構成する部分パ
ターン単位で文字を認識することを特徴とする請求項1
に記載の文字認識装置。
5. The recognizing means recognizes a character in units of partial patterns forming the character.
The character recognition device according to 1.
【請求項6】 前記所定の文字は、少なくとも記号や句
読点を含むことを特徴とする請求項1に記載の文字認識
装置。
6. The character recognition device according to claim 1, wherein the predetermined character includes at least a symbol and a punctuation mark.
【請求項7】 文字入力領域の文字枠に入力される文字
を認識する文字認識方法であって、 少なくとも1つ以上のパターンを記憶媒体に記憶する記
憶工程と、 前記文字枠に入力されたパターンの中に、前記記憶工程
で記憶媒体に記憶されているパターンが含まれているか
否かを判定する判定工程と、 前記判定工程によって前記記憶工程で記憶媒体に記憶さ
れているパターンが含まれていると判定された場合、該
パターンを抽出する抽出工程と、 前記文字枠に入力されたパターンより、前記抽出工程で
抽出したパターンを除外して得られるパターンから文字
を認識する認識工程とを備えることを特徴とする文字認
識方法。
7. A character recognition method for recognizing a character input in a character box of a character input area, comprising a storage step of storing at least one pattern in a storage medium, and a pattern input in the character box. Include a determination step of determining whether or not a pattern stored in the storage medium in the storage step is included, and a pattern stored in the storage medium in the storage step by the determination step. When it is determined that the pattern is extracted, an extraction step of extracting the pattern and a recognition step of recognizing a character from a pattern obtained by excluding the pattern extracted in the extraction step from the pattern input in the character frame are included. A character recognition method characterized by the above.
【請求項8】 前記記憶工程は、パターンを構成する文
字コードと該パターンを構成するストロークの許容スト
ローク数と該パターンが記入されるべき位置を示す情報
を記憶媒体に記憶することを特徴とする請求項7に記載
の文字認識方法。
8. The storage step stores in a storage medium information indicating a character code forming a pattern, an allowable number of strokes forming the pattern, and a position at which the pattern should be written. The character recognition method according to claim 7.
【請求項9】 前記判定工程は、前記記憶工程で記憶媒
体に記憶されるパターンを構成するストロークの許容ス
トローク数と該パターンが記入されるべき位置を示す情
報に基づいて、前記文字枠に入力されたパターンを構成
するストロークの一部を獲得する獲得工程と、 前記獲得工程で獲得されるストロークによって構成され
るパターンと前記記憶工程で記憶媒体に記憶されるパタ
ーンとを比較する比較工程とを備え、 前記比較工程による比較結果に基づいて、前記獲得工程
で獲得されるストロークによって構成されるパターン
を、前記記憶工程で記憶される記憶媒体に記憶されるパ
ターンとして判定することを特徴とする請求項8に記載
の文字認識方法。
9. The determination step inputs in the character frame on the basis of information indicating an allowable stroke number of strokes forming a pattern stored in the storage medium in the storage step and a position at which the pattern should be written. An acquisition step of acquiring a part of the strokes forming the acquired pattern, and a comparison step of comparing the pattern composed of the strokes acquired in the acquisition step with the pattern stored in the storage medium in the storage step. And a pattern formed by strokes acquired in the acquisition step is determined as a pattern stored in a storage medium stored in the storage step, based on a comparison result of the comparison step. Item 8. The character recognition method according to Item 8.
【請求項10】 前記文字入力領域は複数の文字枠を有
し、 前記判定工程による判定を、前記複数の文字枠の所定の
文字枠に対して実行されるよう該所定の文字枠を指定す
る指定工程とを更に備えることを特徴とする請求項7に
記載の文字認識方法。
10. The character input area has a plurality of character frames, and the predetermined character frame is designated so that the determination in the determination step is performed on a predetermined character frame of the plurality of character frames. The character recognition method according to claim 7, further comprising a designating step.
【請求項11】 前記認識工程は、文字を構成する部分
パターン単位で文字を認識することを特徴とする請求項
7に記載の文字認識方法。
11. The character recognizing method according to claim 7, wherein the recognizing step recognizes the character in units of partial patterns forming the character.
【請求項12】 前記所定の文字は、少なくとも記号や
句読点を含むことを特徴とする請求項7に記載の文字認
識方法。
12. The character recognition method according to claim 7, wherein the predetermined character includes at least a symbol and a punctuation mark.
【請求項13】 文字認識のプログラムコードが格納さ
れたコンピュータ可読メモリであって、 少なくとも1つ以上のパターンを記憶媒体に記憶する記
憶工程のコードと、 前記文字枠に入力されたパターンの中に、前記記憶工程
で記憶媒体に記憶されているパターンが含まれているか
否かを判定する判定工程のコードと、 前記判定工程によって前記記憶工程で記憶媒体に記憶さ
れているパターンが含まれていると判定された場合、該
パターンを抽出する抽出工程のコードと、 前記文字枠に入力されたパターンより、前記抽出工程で
抽出したパターンを除外して得られるパターンから文字
を認識する認識工程のコードとを備えることを特徴とす
るコンピュータ可読メモリ。
13. A computer-readable memory in which a program code for character recognition is stored, wherein a code of a storage step of storing at least one or more patterns in a storage medium, and a pattern input in the character frame. , A code of a determination step of determining whether or not the pattern stored in the storage medium in the storage step is included, and a pattern stored in the storage medium in the storage step by the determination step are included. If it is determined, the code of the extraction step of extracting the pattern and the code of the recognition step of recognizing the character from the pattern obtained by excluding the pattern extracted in the extraction step from the pattern input in the character frame A computer readable memory comprising:
JP00384296A 1996-01-12 1996-01-12 Character recognition apparatus and method Expired - Fee Related JP3780023B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00384296A JP3780023B2 (en) 1996-01-12 1996-01-12 Character recognition apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00384296A JP3780023B2 (en) 1996-01-12 1996-01-12 Character recognition apparatus and method

Publications (2)

Publication Number Publication Date
JPH09190501A true JPH09190501A (en) 1997-07-22
JP3780023B2 JP3780023B2 (en) 2006-05-31

Family

ID=11568449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00384296A Expired - Fee Related JP3780023B2 (en) 1996-01-12 1996-01-12 Character recognition apparatus and method

Country Status (1)

Country Link
JP (1) JP3780023B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013051257A1 (en) * 2011-10-07 2013-04-11 パナソニック株式会社 Character input device, character input method, and character input program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013051257A1 (en) * 2011-10-07 2013-04-11 パナソニック株式会社 Character input device, character input method, and character input program
JP2013084101A (en) * 2011-10-07 2013-05-09 Panasonic Corp Character input device, character input method, and character input program

Also Published As

Publication number Publication date
JP3780023B2 (en) 2006-05-31

Similar Documents

Publication Publication Date Title
US6600834B1 (en) Handwriting information processing system with character segmentation user interface
JP3744997B2 (en) Character recognition apparatus and method
KR100412317B1 (en) Character recognizing/correcting system
CN110674814A (en) Picture identification and translation method, terminal and medium
JP2002352191A (en) Printing control interface system and method having handwriting discrimination capability
US6035062A (en) Character recognition method and apparatus
US8428358B2 (en) Radical-base classification of East Asian handwriting
JP5455364B2 (en) Information processing apparatus and locus data recognition method
JP3780023B2 (en) Character recognition apparatus and method
US20190220096A1 (en) System and method for natural content editing with gestures
US7133556B1 (en) Character recognition device and method for detecting erroneously read characters, and computer readable medium to implement character recognition
JP3187913B2 (en) Document processing device
JPH08263587A (en) Method and device for document input
US20160034569A1 (en) Search device
JP2004534312A (en) Recognition display of handwritten patterns
CN100386774C (en) Presenting recognised handwritten symbols
US6636636B1 (en) Character recognizing apparatus, method, and storage medium
JP3167799B2 (en) Online handwritten character recognition device
JP3075808B2 (en) Document processing device
JPS6111891A (en) Recognizing device of hand-written character/picture
JPH10134141A (en) Device and method for document collation
JP2991909B2 (en) Document processing apparatus and document processing method
JPS62190565A (en) Device for making fair copy of hand-written pattern
JP3507720B2 (en) Online handwritten character recognition device and computer-readable recording medium
JP2804660B2 (en) Document processing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050902

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060306

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130310

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140310

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees