JPH10143610A - Character recognizing device - Google Patents

Character recognizing device

Info

Publication number
JPH10143610A
JPH10143610A JP8296519A JP29651996A JPH10143610A JP H10143610 A JPH10143610 A JP H10143610A JP 8296519 A JP8296519 A JP 8296519A JP 29651996 A JP29651996 A JP 29651996A JP H10143610 A JPH10143610 A JP H10143610A
Authority
JP
Japan
Prior art keywords
pattern
character
dictionary
vertical
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8296519A
Other languages
Japanese (ja)
Inventor
Toshimi Yokota
登志美 横田
Keiko Gunji
圭子 郡司
Soshiro Kuzunuki
壮四郎 葛貫
Masaki Miura
雅樹 三浦
Akihiro Katsura
晃洋 桂
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8296519A priority Critical patent/JPH10143610A/en
Publication of JPH10143610A publication Critical patent/JPH10143610A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To properly recognize continuously handwritten characters. SOLUTION: The coordinate columns of handwritten input characters are successively fetched (P1) a re-sampling processing (P2) and a normalizing processing (P3) are operated, a character pattern is approximated with a cuneiform character pattern constituted of only vertical lines directed from an upper part to the other directions and horizontal lines directed from the left direction to the right direction(P4), a matching processing is operated between the cuneiform character pattern and a dictionary pattern obtained by approximating the cuneiform character pattern with a standard character pattern (P5), and a character corresponding to the input pattern is recognized.

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 device for recognizing handwritten input characters.

【0002】[0002]

【従来の技術】文字認識装置としては、手書き入力によ
り文字の入力を受け入れる、PDAと呼ばれる携帯型の端
末装置などが知られている。
2. Description of the Related Art As a character recognition device, there is known a portable terminal device called a PDA which accepts input of characters by handwriting input.

【0003】このような装置において、手書き文字の認
識には、文字毎に用意した辞書パターンを手書き文字と
のマッチングの度合いを調べ、その度合いの大きな辞書
パターンに対応する文字を、手書き文字に対応する文字
として認識するマッチングの手法が広く用いられてい
る。
In such an apparatus, in order to recognize handwritten characters, a dictionary pattern prepared for each character is checked for the degree of matching with the handwritten characters, and a character corresponding to the dictionary pattern having a large degree is matched with a handwritten character. A matching method for recognizing a character as a matching character is widely used.

【0004】一方、このような文字認識装置には、続け
書きされた文字や、誤った筆順で手書きされた文字につ
いても、より正しく認識することが望まれる。
[0004] On the other hand, it is desired that such a character recognizing device recognize characters that are continuously written and characters that are handwritten in an incorrect stroke order more correctly.

【0005】そこで、従来、続け書きされた文字や、誤
った筆順で手書きされた文字を認識するための技術とし
て、次の(1)〜(3)の技術が用いられてきた。
Therefore, the following techniques (1) to (3) have conventionally been used as techniques for recognizing continuously written characters or characters handwritten in an incorrect stroke order.

【0006】(1)各文字につき、続け書き、筆順ちが
い、変形を含む複数辞書パターンを辞書に登録し、各辞
書パターンと手書き文字のマッチングを行う。
(1) For each character, a plurality of dictionary patterns including continuous writing, different stroke order, and deformation are registered in a dictionary, and matching between each dictionary pattern and handwritten characters is performed.

【0007】(2)各文字につき1つの辞書パターンか
ら、続け書き、筆順ちがいの辞書パターンを所定のクー
ルに従い発生させ、各辞書パターンと手書き文字のマッ
チングを行う。
(2) From one dictionary pattern for each character, a dictionary pattern of continuous writing and stroke order is generated according to a predetermined cool, and matching between each dictionary pattern and handwritten characters is performed.

【0008】(3)各辞書パターンと入力パターンの画
の対応付けをした後、辞書パターンに余った画があれ
ば、入力パターンは続け書きと考えて、辞書パターンの
余った画を他の画とつないだ続け書き辞書パターンを発
生させ、手書き文字とのマッチングを行う。
(3) After associating each dictionary pattern with an image of the input pattern, if there is a surplus image in the dictionary pattern, it is considered that the input pattern is continuous writing, and the surplus image of the dictionary pattern is replaced with another image. Then, a continuous writing dictionary pattern is generated, and matching with handwritten characters is performed.

【0009】ここで、図17に(2)の技術yの概要を
示す。
Here, FIG. 17 shows an outline of the technique y of (2).

【0010】この技術では、図示するように、あらかじ
め、画毎に画を等分割する複数の点で近似した辞書パタ
ーンを辞書に用意し、手書き文字の認識の過程で、用意
した辞書パターンより、続け字用の辞書パターンを発生
させ、これと入力文字パターンを画(連続した軌跡)毎
に、複数の点で近似した近似パターンとのマッチングを
行う。
In this technique, as shown in the figure, a dictionary pattern that is approximated by a plurality of points for equally dividing an image for each image is prepared in a dictionary in advance, and in the process of recognizing handwritten characters, A dictionary pattern for continuation characters is generated, and the input character pattern is matched with an approximate pattern approximated by a plurality of points for each image (continuous trajectory).

【0011】[0011]

【発明が解決しようとする課題】従来の(1)、(2)
の技術によれば、辞書パターンと入力パターンとのマッ
チングの回数が多くになってしまうしために処理量が増
加する。また、続け書きによる手書き文字パターンの変
形の影響を軽減するために、辞書パターンと手書き文字
パターンとのマッチングには、処理量の多いDPマッチン
グなどを用いる場合には、このようなマッチングの回数
の増加による処理量の増加は膨大なものとなってしま
う。また、さらに、(1)の技術では、予め多数の辞書
パターンを保持する必要があるために、この辞書パター
ンを保持するために記憶容量の大きなメモリを必要とす
ることになる。
SUMMARY OF THE INVENTION Conventional (1) and (2)
According to the technique of (1), the number of times of matching between the dictionary pattern and the input pattern increases, so that the processing amount increases. In addition, in order to reduce the effect of handwritten character pattern deformation due to continuous writing, when using a large amount of processing such as DP matching to match the dictionary pattern and handwritten character pattern, the number of times of such matching is reduced. The increase in the processing amount due to the increase becomes enormous. Furthermore, in the technique (1), since it is necessary to hold a large number of dictionary patterns in advance, a memory having a large storage capacity is required to hold the dictionary patterns.

【0012】このため、これらの技術を利用する場合
は、実際上は、過度の続け書きや筆順違いに対応する辞
書パターンは用いないように制限を設けることが多い。
そして、この場合には、正しく認識できる手書き文字に
制限が生じてしまう。
For this reason, when using these techniques, in practice, restrictions are often provided so as not to use a dictionary pattern corresponding to excessive continuous writing or incorrect stroke order.
In this case, handwritten characters that can be correctly recognized are limited.

【0013】また、(3)の技術では、画数が半分以下
になるくらい続け書きされた手がき文字は、辞書パター
ンと入力パターンの画の対応付けが困難であり、正しい
認識を行うことができない。
Further, in the technique (3), it is difficult to associate a dictionary pattern with an image of an input pattern, and correct recognition cannot be performed for handwritten characters that are continuously written so that the number of strokes is reduced to half or less.

【0014】そこで、本発明は、続け書きされた文字
や、誤った筆順で入力された、変形を含む文字であって
も、さほど大きくない処理量の処理で、より正しく認識
できる文字認識装置を提供することを目的とする。
Therefore, the present invention provides a character recognition device that can more correctly recognize characters that are continuously written or characters that are input in an incorrect stroke order and that include deformation, with a processing amount that is not so large. The purpose is to provide.

【0015】[0015]

【課題を解決するための手段】前記目的達成のために、
本発明は、手書きされた文字を認識する文字認識装置で
あって、手書きされた、認識の対象とする文字の文字パ
ターンを入力する手段と、文字毎に、縦線と横線からな
るパターンである辞書パターンを登録した辞書を記憶し
た記憶手段と、文字パターンと、前記辞書に登録されて
いる各辞書パターンとのを比較し、文字パターンに類似
する辞書パターンに対応する文字を、文字パターンに対
応する文字として認識する認識手段とを有することを特
徴とする文字認識装置を提供する。
To achieve the above object,
The present invention is a character recognition device for recognizing a handwritten character, comprising a means for inputting a handwritten character pattern of a character to be recognized, and a pattern including a vertical line and a horizontal line for each character. A storage unit storing a dictionary in which a dictionary pattern is registered, a character pattern is compared with each dictionary pattern registered in the dictionary, and a character corresponding to a dictionary pattern similar to the character pattern is corresponded to the character pattern. And a recognizing means for recognizing the character as a character to be recognized.

【0016】すなわち、本発明は、文字の特徴が縦線と
横線を基調として形成され、続け書きによる影響は、斜
めの線として表れることが多いという新たな知見に基づ
き成されたものであり、このように続け書きによる影響
が表れ難く、かつ、各文字毎に独自の特徴を持つ縦線、
横線のパターンを辞書パターンとして用いる本発明によ
れば、続け書きされた文字や、誤った筆順で入力され
た、変形を含む文字であっても、さほど大きくない処理
量の処理で、より正しく認識することができる。
That is, the present invention has been made based on a new finding that the characteristics of characters are formed on the basis of vertical lines and horizontal lines, and the effect of continuous writing often appears as oblique lines. In this way, the effect of continuous writing is unlikely to appear, and each character has its own unique vertical line,
According to the present invention in which a horizontal line pattern is used as a dictionary pattern, even a continuously written character or a character that is input in an incorrect stroke order and includes a deformation can be more correctly recognized by processing with a modest amount of processing. can do.

【0017】[0017]

【発明の実施の形態】以下、本発明に係る文字認識装置
の一実施形態について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the character recognition device according to the present invention will be described below.

【0018】図1に、本実施形態に係る文字認識装置の
構成を示す。
FIG. 1 shows a configuration of a character recognition device according to the present embodiment.

【0019】図中、液晶タブレット1は、ユ-ザ-がこの
上に手書きしたパタ-ンを時系列の座標点列として取り
込み、ペンマネ-ジャ2に渡す。ペンマネ-ジャ2は、液晶
タブレット1より時系列の座標点列を受け取り、アプリ
ケ-ション3の定義する液晶タブレット1上の領域に与え
られている属性にしたがって、もし、座標点列が文字認
識すべき領域中にあれば、前処理部4に、これを渡す。
なお、アプリケ-ション3は液晶タブレット1上の領域を
いくつかに分割して領域属性を定める。例えば、画面の
一部を、文字入力領域と定める。
In the figure, the liquid crystal tablet 1 takes in a pattern handwritten by a user thereon as a time series of coordinate points and passes it to a pen manager 2. The pen manager 2 receives the time-series coordinate point sequence from the liquid crystal tablet 1, and if the coordinate point sequence recognizes the character according to the attribute given to the area on the liquid crystal tablet 1 defined by the application 3. If it is in the area to be processed, it is passed to the preprocessing unit 4.
Note that the application 3 divides the area on the liquid crystal tablet 1 into several parts and determines area attributes. For example, a part of the screen is defined as a character input area.

【0020】前処理部4は、ペンマネ-ジャ2より時系列
の座標点列を受け取り、筆速が早かった部分はまばら、
遅かった部分は密になっている座標点列をリサンプル処
理して座標点列の密度を一定にし、さらに、座標点列が
表す文字パタ-ンの位置とサイズを正規化する。正規化
は、例えば、パタ-ンの重心が、原点に重ねるようにパ
タ-ンを平行移動して位置を正規化し、重心=原点から各
座標点までの距離の平均値が一定値になるように拡大ま
たは縮小することにより行う。そして、この処理後の座
標点列を楔形文字近似部5に渡す。
The pre-processing unit 4 receives a time-series coordinate point sequence from the pen manager 2, and
The late part resamples the dense coordinate point sequence to make the density of the coordinate point sequence constant, and further normalizes the position and size of the character pattern represented by the coordinate point sequence. For example, the normalization is performed by normalizing the position by moving the pattern in parallel so that the center of gravity of the pattern is superimposed on the origin, so that the average value of the distance from the center of gravity to each coordinate point becomes a constant value. This is done by enlarging or reducing. Then, the coordinate point sequence after this processing is passed to the wedge-shaped character approximation unit 5.

【0021】ここで、楔形文字近似化部5は、縦横要素
分解部5-1、特徴要素抽出部5-2、要素並べ替え部5-3か
らなる。本楔形文字近似化部5では、文字パタ-ンのスト
ロ-ク方向に着目して、ストロ-ク方向が下方向および右
方向のものを続け書きしていない部分として取り出すこ
とで、前処理部4より渡された座標点列が表す文字パタ-
ンを、続け書きでない文字パタ-ンへと近似する。な
お、楔形文字近似化部5との名称は、このような近似に
よって生成されるパタ-ンが、下方向または右方向のス
トロ-クのみで構成される古代の楔形文字の特徴に一致
するため採用したものである。
Here, the wedge-shaped character approximating unit 5 includes a vertical / horizontal element decomposing unit 5-1, a characteristic element extracting unit 5-2, and an element rearranging unit 5-3. The wedge-shaped character approximation unit 5 pays attention to the stroke direction of the character pattern, and extracts those having the stroke direction of downward and right as non-continuously written portions. Character pattern represented by the coordinate point sequence passed from 4
To a non-continuous character pattern. The name of the wedge-shaped character approximating unit 5 is because the pattern generated by such approximation matches the characteristic of an ancient wedge-shaped character composed of only a downward or rightward stroke. It has been adopted.

【0022】さて、楔形近似部5の、縦横要素分解部5-1
は、文字パタ-ンに含まれる直線に近似できる部分を要
素として、この要素を、上下左右の4方向のストロ-ク方
向に応じて分類して、分類した各要素の列を、特徴要素
抽出部5-2に渡す。
Now, the vertical and horizontal element decomposition section 5-1 of the wedge-shaped approximation section 5
Uses the part that can be approximated to the straight line included in the character pattern as an element, classifies this element according to the four stroke directions (up, down, left, and right), and extracts a sequence of classified elements as feature element extraction Hand over to Part 5-2.

【0023】特徴要素抽出部5-2は、縦横要素分解部5-1
から要素列を受けて、各要素が続け書き文字パタ-ンを
続け書きした部分に対応する要素か、続け書きしていな
い部分に対応する要素かを識別し、続け書きしていない
要素を特徴要素とする。ここでは、各要素に対応する文
字パタ-ンの部分のストロ-ク方向が下または右のものを
続け書きしていない部分を特徴要素とし、上または左の
ものを続け書きした部分とする。そして、要素列と、識
別した特徴要素列の情報を特徴要素情報として要素並べ
替え部5-3に渡す。
The characteristic element extraction unit 5-2 includes a vertical and horizontal element decomposition unit 5-1.
, And identifies whether each element corresponds to the part where the continuous writing character pattern is continuously written or the element corresponding to the part where the continuous writing is not performed. Element. In this case, a portion where the stroke direction of the character pattern portion corresponding to each element is not continuously written down or right is a feature element, and a portion where the upper or left one is continuously written is a feature portion. Then, the element sequence and the information on the identified characteristic element sequence are passed to the element rearranging unit 5-3 as characteristic element information.

【0024】要素並べ替え部5-3は、誤った筆順で書か
かれた文字パタ-ンの要素でも、各要素の位置に応じ
て、辞書パタ-ンの各要素と入力パタ-ンの各要素の対応
を付けられるようにするために、あらかじめ特徴要素抽
出部5-2から受けた特徴要素列を、ストロ-クの方向が下
方向の特徴要素をその位置が上のものから順に並べ、ス
トロ-クが右方向の特徴要素を、その位置が左のものよ
り順に並べ、その順番を特徴要素順情報とする。そし
て、要素列と、特徴要素情報と、特徴要素順情報とをマ
ッチング処理部7のマッチング管理部7-1に、マッチン
グ処理の対象となる入力パタ-ンとして渡す。
The element rearranging section 5-3 can determine whether each element of the dictionary pattern and each element of the input pattern are appropriate for the element of the character pattern written in an incorrect stroke order in accordance with the position of each element. In order to be able to attach the feature elements, the feature element strings received in advance from the feature element extraction unit 5-2 are arranged in order, with the feature elements whose stroke direction is The feature elements arranged in the rightward direction are arranged in order from the leftmost feature element, and the order is used as feature element order information. Then, the element sequence, the characteristic element information, and the characteristic element order information are passed to the matching management section 7-1 of the matching processing section 7 as input patterns to be subjected to the matching processing.

【0025】次に、辞書6には、各文字について、標準
的な文字パタ-ンの座標点列を、前処理部4および楔形近
似部5で処理して得られる特徴要素情報および特徴要素
順情報を、対応する文字コ-ドと対応付けて、辞書パタ-
ンとして保持しておく。このとき文字パタ-ンを続け書
きしないで書くと要素列のほとんどが特徴要素となり、
辞書容量を抑えることができる。ただし、特徴要素順
は、認識処理の度に要素並べ替え部5-3により得るよう
にしても良い。 入力と辞書とのマッチング部7はマッ
チング管理部7-1、距離算出部7-2、辞書のみ特徴要素の
探索部7-3、入力のみ特徴要素の探索部7-4、認識結果出
力部7-5からなる。
Next, the dictionary 6 stores, for each character, the characteristic element information and the characteristic element order obtained by processing the coordinate point sequence of the standard character pattern by the preprocessing unit 4 and the wedge-shaped approximation unit 5. The information is associated with the corresponding character codes and the dictionary pattern
And keep it as At this time, if you write without continuing the character pattern, most of the element sequence will be a characteristic element,
The dictionary capacity can be reduced. However, the feature element order may be obtained by the element rearranging unit 5-3 each time the recognition processing is performed. The input / dictionary matching unit 7 includes a matching management unit 7-1, a distance calculation unit 7-2, a dictionary-only feature element search unit 7-3, an input-only feature element search unit 7-4, and a recognition result output unit 7. Consists of -5.

【0026】マッチング管理部7-1は、辞書6から1つづ
つ辞書パタ-ンを読み出す。距離算出部7-2、辞書のみ特
徴要素の探索部7-3、入力のみ特徴要素の探索部7-4は、
呼び出された辞書パタ-ンの特徴要素列と、入力パタ-ン
の特徴要素列との距離値を算出し、辞書パタ-ンのIDま
たは辞書パタ-ンに対応する文字コ-ドと、その辞書パタ
-ンについて算出した距離値を認識結果出力部7-5に渡
す。
The matching management section 7-1 reads out the dictionary patterns one by one from the dictionary 6. The distance calculation unit 7-2, the dictionary-only feature element search unit 7-3, the input-only feature element search unit 7-4,
Calculate the distance value between the feature element sequence of the called dictionary pattern and the feature element sequence of the input pattern, and determine the ID of the dictionary pattern or the character code corresponding to the dictionary pattern. Dictionary puta
The calculated distance value is passed to the recognition result output unit 7-5.

【0027】より詳細には、距離算出部7-2は、ストロ-
クが下方向(上から下に向かう方向)の特徴要素列と、
ストロ−クが右方向(左から右に向かう方向)の特徴要素
列とについて、それぞれ、辞書パタ-ンの特徴要素列と
入力パタ-ンの特徴要素列を比較し、位置(要素並べ替え
部7-1の並べ替え後の順位)が近い特徴要素同士を対応づ
け、対応づけた特徴要素間の距離値をマッチング管理部
7-1を介して辞書のみ特徴要素の探索部7-3に渡す。ただ
し、対応する特徴要素がなかった、辞書パタ-ンの特徴
要素、入力パタ-ンの特徴要素については、その特徴要
素の長さに応じた値を距離値として与えておく。結果、
入力パタ-ンの特徴要素の全てと、入力パタ-ンの特徴要
素と対応づけられなかった辞書パタ-ンの特徴要素に距
離値が与えられることになる。
More specifically, the distance calculation unit 7-2 outputs
Feature element row in which the bottom is downward (direction from top to bottom),
The characteristic element sequence of the dictionary pattern and the characteristic element sequence of the input pattern are compared for the characteristic element sequence in which the stroke is rightward (from left to right), and the position (element rearranging section) is compared. (The order after the sorting of 7-1) is associated with each other, and the distance value between the associated feature elements is determined by the matching management unit.
Only the dictionary is passed to the feature element search unit 7-3 via 7-1. However, for the feature element of the dictionary pattern and the feature element of the input pattern for which there is no corresponding feature element, a value corresponding to the length of the feature element is given as a distance value. result,
Distance values are given to all of the feature elements of the input pattern and to the feature elements of the dictionary pattern that are not associated with the feature elements of the input pattern.

【0028】なお、距離値の総和(入力パターンと辞書
パターンの距離値)が、所定値より大きくなった時点
で、この辞書パタ-ンについての処理は打ち切って、そ
の旨をマッチング管理部7-1に通知し、次の辞書パタ-ン
についての処理を行わせるようにしてもよい。
When the sum of the distance values (the distance value between the input pattern and the dictionary pattern) becomes larger than a predetermined value, the processing for this dictionary pattern is terminated, and the fact is checked by the matching management unit 7-. Notification may be made to 1 so that processing for the next dictionary pattern is performed.

【0029】次に、辞書のみ特徴要素の探索部7-3は、
距離算出部7-2の処理の結果、辞書パタ-ンの特徴要素で
対応する入力パタ-ンの特徴要素が無いものについて、
(1)まず、縦横要素分解部5-1が分類した要素列中に、入
力パタ-ンの特徴要素以外の要素で、当該辞書パタ-ンの
特徴要素に対応するものが存在するか否かを探索し、存
在すれば、これを当該辞書パタ-ンの特徴要素に対応付
け、当該辞書パタ-ンの特徴要素と対応付けた要素との
距離値を求め、当該辞書パタ-ンの特徴要素の距離値を
求めた距離値に変更する。これは、入力文字パタ-ンの
続け書きの度合いが強い場合には、辞書パタ-ンの特徴
要素に対応する入力文字パタ-ンの部位が、入力文字パ
タ-ンの特徴要素として抽出されない場合があることを
考慮したものである。一方、もし、対応する要素がない
場合には(2)、そのまま、辞書パタ-ンのその特徴要素の
長さに応じた距離値とする。ここで、このように、特徴
要素の長さに応じた距離値を与えるのは、文字を手書き
する際に、大きい要素は省略され難いが、小さい要素は
省略され易いため、対応する要素のない大きな特徴要素
が存在する場合には、この辞書パタ-ンは、入力パタ-ン
に対応する文字についてのものでないと思われる度合い
が強いからである。さて、以上の処理が終了したら、辞
書のみ特徴要素の探索部7-3は、距離算出部7-2と辞書の
み特徴要素の探索部7-3が求めた対応づけと、入力パタ-
ンの特徴要素の全てと入力パタ-ンの特徴要素と対応づ
けられなかった辞書パタ-ンの特徴要素の距離値をマッ
チング管理部7-1を介して入力のみ特徴要素の探索部7-4
に渡す。
Next, the dictionary-only feature element search unit 7-3
As a result of the processing of the distance calculation unit 7-2, for a feature element of the dictionary pattern that does not have a corresponding feature element of the input pattern,
(1) First, in the element sequence classified by the vertical / horizontal element decomposition unit 5-1, whether or not there is an element other than the characteristic element of the input pattern corresponding to the characteristic element of the dictionary pattern Is searched, and if it exists, it is associated with the characteristic element of the dictionary pattern, the distance value between the element associated with the characteristic element of the dictionary pattern is obtained, and the characteristic element of the dictionary pattern is determined. Is changed to the calculated distance value. This is because when the degree of continuous writing of the input character pattern is high, the part of the input character pattern corresponding to the characteristic element of the dictionary pattern is not extracted as the characteristic element of the input character pattern. It takes into account that there is. On the other hand, if there is no corresponding element (2), the distance value is used as it is according to the length of the characteristic element in the dictionary pattern. Here, when giving the distance value according to the length of the characteristic element, when writing a character, a large element is hard to be omitted, but a small element is easy to be omitted, so that there is no corresponding element. This is because, when there is a large feature element, it is highly likely that this dictionary pattern is not related to the character corresponding to the input pattern. By the way, when the above processing is completed, the dictionary-only feature element search unit 7-3 compares the correspondence calculated by the distance calculation unit 7-2 and the dictionary-only feature element search unit 7-3 with the input pattern.
The distance values of the dictionary pattern feature elements that were not associated with all of the feature elements of the input pattern and the feature elements of the input pattern were input through the matching management unit 7-1.
Pass to.

【0030】入力のみ特徴要素の探索部7-4は、辞書パ
タ-ンの特徴要素と対応づけられなかった入力パタ-ンの
特徴要素のうち、続け書きの部位に対応すると思われる
特徴要素に小さな距離値を与える。これは、入力パタ-
ンの特徴要素を特徴要素順情報の示す順番に見たとき、
辞書パタ-ンの特徴要素と対応付けできなかった特徴要
素の前後の特徴要素が、辞書パタ-ンの特徴要素と対応
付けできており、その辞書パタ-ンの特徴要素を連結す
る位置に、当該辞書パタ-ンの特徴要素と対応づけられ
なかった入力パタ-ンの特徴要素が存在するのであれ
ば、当該特徴要素は続け書きの部位に対応するものと考
え、当該特徴要素の距離値を小さな距離値に変更し、他
の場合は、距離地を、そのまま当該特徴要素の長さに応
じた値としておく。そして、以上の処理が終了したら、
入力パタ-ンの特徴要素の全てと入力パタ-ンの特徴要素
と対応づけられなかった辞書パタ-ンの特徴要素の距離
値の総和をマッチング管理部7-1に渡す。
The input-only feature element searching unit 7-4 searches the input pattern feature elements which are not associated with the dictionary pattern feature elements for the feature elements that are considered to correspond to the part of continuous writing. Gives a small distance value. This is the input pattern
When the feature elements of the application are viewed in the order indicated by the feature element order information,
The feature elements before and after the feature element that could not be matched with the feature element of the dictionary pattern can be matched with the feature element of the dictionary pattern, and at the position where the feature element of the dictionary pattern is connected, If there is a characteristic element of the input pattern that is not associated with the characteristic element of the dictionary pattern, it is considered that the characteristic element corresponds to the part of continuous writing, and the distance value of the characteristic element is set. The distance is changed to a small value, and in other cases, the distance is set to a value corresponding to the length of the feature element. And when the above process is completed,
The sum of the distance values of all of the feature elements of the input pattern and the feature elements of the dictionary pattern not associated with the feature elements of the input pattern is passed to the matching management unit 7-1.

【0031】マッチング管理部7-1は、受け取った距離
値の総和と距離値を求めた辞書パタ-ンのIDまたは文字
コ-ドを、認識結果出力部7-5に渡す。
The matching management unit 7-1 transfers the received sum of the distance values and the ID or character code of the dictionary pattern for which the distance values have been obtained to the recognition result output unit 7-5.

【0032】認識結果出力部7-5は、マッチング管理部7
-1から、辞書パタ-ンのIDまたは文字コ-ドと距離値の総
和を受け取ると、距離値の総和の小さいものを選び出
し、総和の順に並べ認識結果とする。そして、その認識
結果をいったん詳細識別部8に渡し、再度、返ってきた
認識結果を得ると、それをペンマネ-ジャ2を介し、液晶
タブレット1に、辞書パタ-ンのIDまたは文字コ-ドに対
応する文字を表示し、利用者より入力文字パタ-ンに対
応する文字の選択を受け、選択された文字コ-ドをアプ
リケ-ション3に渡す。
The recognition result output unit 7-5 includes a matching management unit 7
When the sum of the distance value and the ID or character code of the dictionary pattern is received from -1, the one having the smaller sum of the distance values is selected and arranged in the order of the sum to obtain the recognition result. Once the recognition result is passed to the detailed identification unit 8 and the returned recognition result is obtained again, the ID or the character code of the dictionary pattern is input to the liquid crystal tablet 1 via the pen manager 2. The character corresponding to the input character pattern is displayed, the user selects the character corresponding to the input character pattern, and the selected character code is passed to the application 3.

【0033】ここで、詳細識別部8は、縦横要素分解部5
-1によって要素分けした要素列では失われてしまう入力
パタ-ンの特徴に基づいて、認識結果の順位を入れ換え
る。詳細識別部8は、認識結果出力部7-5から、辞書パタ
-ンのIDまたは文字コ-ドとを得ると、入力文字パタ-ン
の他の特徴について、この他の特徴についての辞書との
マッチングを行い、必要あれば認識結果順位を入れ換え
て、その結果を認識結果出力部7-5に渡す。たとえば、
楔形文字近似化部5の処理によって、カ-ブや角が失われ
るために同形状に近似される複数の文字が認識結果に含
まれている場合に、詳細識別部8において、予めカ-ブや
角を特徴として文字毎に蓄積した辞書を用いて、各文字
と、入力文字パタ-ンとの一致度を調べ、一致度の高い
ものが上位になるように、この同形状に近似される複数
の文字の認識結果順位を変更するようにする。
Here, the detailed identification section 8 is composed of a vertical and horizontal element decomposition section 5.
The order of recognition results is switched based on the characteristics of the input pattern that are lost in the element sequence divided by -1. The detailed identification unit 8 outputs a dictionary pattern from the recognition result output unit 7-5.
After obtaining the ID or character code of the input character pattern, other characteristics of the input character pattern are matched with the dictionary of the other characteristics, and if necessary, the recognition result order is changed, and the result is replaced. Is passed to the recognition result output unit 7-5. For example,
If the recognition result includes a plurality of characters that are approximated to have the same shape due to the loss of curves and corners by the processing of the wedge-shaped character approximation unit 5, the detailed identification Using a dictionary stored for each character with features such as characters and corners, the degree of matching between each character and the input character pattern is examined. Change the recognition result order of multiple characters.

【0034】以下、本実施形態に係る文字認識装置の動
作の詳細について説明する。
Hereinafter, the operation of the character recognition apparatus according to the present embodiment will be described in detail.

【0035】まず、以上で説明した本実施形態に係る文
字認識装置の処理の流れを図2にまとめておく。
First, FIG. 2 summarizes the processing flow of the character recognition device according to the present embodiment described above.

【0036】図示するように、本文字認識装置は、ステ
ップP1で液晶タブレット1によりユ-ザ-が手書きした文
字パタ-ンを時系列の座標点列として受け取ると、前述
したように、前処理部4によりストロ-クを形成する空間
的な座標点列密度を一定し(P2)、位置とサイズを正規化
する(P3)。そして、次に、楔形文字近似化部5により入
力文字パタ-ンのストロ-ク方向に着目した楔形文字近似
化処理を行い(P4)、マッチング部7において、入力パタ-
ンと辞書パタ-ンとの、ストロ-ク方向と特徴要素の並び
を特徴として着目したマッチング処理を行い(P5)、詳細
識別部8により他の特徴についての詳細認識処理を行い
(P6)、結果を認識結果出力部7-5より出力する(P7)。
As shown in the figure, when the character recognition apparatus receives a character pattern handwritten by the user with the liquid crystal tablet 1 as a time-series coordinate point sequence in step P1, as described above, the preprocessing is performed. The spatial coordinate point sequence density forming the stroke is made constant by the part 4 (P2), and the position and size are normalized (P3). Next, a cuneiform character approximation unit 5 performs a cuneiform character approximation process focusing on the stroke direction of the input character pattern (P4).
The matching process is performed by focusing on the stroke direction and the arrangement of the feature elements between the pattern and the dictionary pattern as features (P5), and the detail recognition unit 8 performs the detail recognition process on other features.
(P6) The result is output from the recognition result output unit 7-5 (P7).

【0037】以下、図2に示した個々の処理の詳細につ
いて説明する。
Hereinafter, the details of each processing shown in FIG. 2 will be described.

【0038】まず、図2のステップP4において楔形文字
近似化部5が行う楔形文字近似化処理について説明す
る。
First, the wedge-shaped character approximation process performed by the wedge-shaped character approximation unit 5 in step P4 of FIG. 2 will be described.

【0039】図3に、この楔形文字近似化処理の処理手
順を示す。
FIG. 3 shows a processing procedure of this wedge-shaped character approximation processing.

【0040】図示するようにこの処理では、まず、ステ
ップP4-1で縦横要素分解部5-1において入力文字パタ-ン
を縦横要素分解する。すなわち、入力文字パタ-ンを縦
線、横線で近似する。
As shown in the figure, in this process, first, in step P4-1, the vertical / horizontal element decomposition section 5-1 decomposes the input character pattern into vertical and horizontal elements. That is, the input character pattern is approximated by vertical and horizontal lines.

【0041】具体的には、図4に示す処理によって、こ
の処理を行う。
Specifically, this processing is performed by the processing shown in FIG.

【0042】すなわち、まず、ステップp4-1-1で、ま
ず、入力文字パタ-ンの、x軸およびy軸方向の局部的なM
IN/MAX値を取る点を抽出する。x軸方向の局部的なMIN/M
AX値を取る点としては、ストロ-ク方向のx軸方向の変化
点、および、ストロ-クの始まりの点、終わりの点を抽
出する。また、y軸方向の局部的なMIN/MAX値を取る点と
しては、ストロ-ク方向のy軸方向の変化点、および、ス
トロ-クの始まりの点、終わりの点を抽出するそして、
ステップp4-1-2、p4-1-3において、全てのx軸方向のMIN
/MAX値の点について、その点を通る縦線を生成する。ま
た、p4-1-4、p4-1-5において、全てのy軸方向のMIN/MAX
値の点について、その点を通る縦線を生成する。
That is, first, at step p4-1-1, local M in the x-axis and y-axis directions of the input character pattern
Extract points that take IN / MAX values. Local MIN / M in x direction
As points for taking the AX value, a change point in the x-axis direction in the stroke direction, and a start point and an end point of the stroke are extracted. In addition, as points that take local MIN / MAX values in the y-axis direction, a change point in the y-axis direction in the stroke direction, and a start point and an end point of the stroke are extracted.
In steps p4-1-2 and p4-1-3, all MINs in the x-axis direction
For a point at / MAX value, create a vertical line through that point. In p4-1-4 and p4-1-5, MIN / MAX in all y-axis directions
For a value point, create a vertical line through that point.

【0043】次に、ステップp4-1-6、p4-1-7において、
全ての点について、入力された順序に従った順番で、ス
トロ-ク上、次に隣り合う点の縦横線との関係を調べ、
もし、交わる場合、すなわち、一方が縦線で他方が横線
である場合は、ステップp4-1-8で、交点を求める。
Next, in steps p4-1-6 and p4-1-7,
For all points, examine the relationship with the vertical and horizontal lines of the next point on the stroke in the order according to the input order,
If they intersect, that is, if one is a vertical line and the other is a horizontal line, an intersection is determined in step p4-1-8.

【0044】また、もし、横線同士であれば、ステップ
p4-1-9のS字形縦横要素分解(横)を行い、もし、縦線同
士であれば、ステップp4-1-10のS字形縦横要素分解(縦)
を行い交点を求める。ただし、ストロ-クの始まりの
点、終わりの点は、y軸、x軸方向双方の局部的なMIN/MA
X値を取る点となるので、ステップp4-1-8と、p4-1-9ま
たはp4-1-10の対象となってしまう。そこで、ストロ-ク
の始まりの点、終わりの点については、ステップp4-1-8
と、p4-1-9またはp4-1-10の一方のみが行われるように
する。
If the horizontal lines are adjacent, the step
Performs S-shape vertical and horizontal element decomposition (horizontal) of p4-1-9, and if vertical lines, the S-shape vertical and horizontal element decomposition of step p4-1-10 (vertical)
And find the intersection. However, the start point and end point of the stroke are local MIN / MA in both y-axis and x-axis directions.
Since it is a point that takes the X value, it becomes the target of step p4-1-8 and p4-1-9 or p4-1-10. Therefore, for the starting point and ending point of the stroke, see step p4-1-8
And only one of p4-1-9 or p4-1-10 is performed.

【0045】さて、ステップp4-1-9のS字形縦横要素分
解(横)では、図5(a)に示すように、ステップP4-1-9-1で
隣り合う点Pi-1,Piの平均y値を通る横線Lを生成する。
そして、ステップP4-1-9-2で横線Lと、点Pi-1、Pi間の
元のストロ-クとの交点Qを得る。そして、ステップP4-1
-9-3で交点Qを通る縦線を求めて、この縦線と、点Pi-1
を通る横線との交点を、点Piを通る横線との交点の順に
求める。
Now, in the S-shaped vertical and horizontal element decomposition (horizontal) in step p4-1-9, as shown in FIG. 5A, in step P4-1-9-1, the adjacent points Pi-1, Pi are determined. Generate a horizontal line L passing through the average y value.
Then, in step P4-1-9-2, an intersection Q between the horizontal line L and the original stroke between the points Pi-1 and Pi is obtained. And step P4-1
A vertical line passing through the intersection Q is obtained at -9-3, and this vertical line and the point Pi-1
At the intersection with the horizontal line passing through the point Pi.

【0046】ステップp4-1-10のS字形縦横要素分解(縦)
も、図5(a)の処理の縦横の関係を逆にした処理によって
実現する。
S-shaped vertical and horizontal element decomposition in step p4-1-10 (vertical)
5 is realized by a process in which the vertical and horizontal relationships of the process of FIG. 5A are reversed.

【0047】なお、ステップp4-1-9のS字形縦横要素分
解(横)は、図5(b)に示すように行っても良い。すなわ
ち、隣り合う点Pi-1,Piの平均x値を通る縦線を得て、こ
の縦線と、点Pi-1を通る横線との交点を、点Piを通る横
線との交点の順に得るようにしてもよい。また、ステッ
プp4-1-10のS字形縦横要素分解(縦)も、図5(b)の処理の
縦横の関係を逆にした処理によって実現するようにして
もよい。
The S-shaped vertical and horizontal element decomposition (horizontal) in step p4-1-9 may be performed as shown in FIG. 5 (b). That is, a vertical line passing through the average x value of the adjacent points Pi-1 and Pi is obtained, and the intersection of this vertical line and the horizontal line passing through the point Pi-1 is obtained in the order of the intersection with the horizontal line passing through the point Pi. You may do so. Also, the S-shaped vertical and horizontal element decomposition (vertical) in step p4-1-10 may be realized by processing in which the vertical and horizontal relationships of the processing in FIG. 5B are reversed.

【0048】また、図5(c)に示すように、隣り合う点点
Pi-1,Pi間のストロ-クの重心(平均x値を通る)縦線を得
て、この縦線と、点Pi-1を通る横線との交点を、点Piを
通る横線との交点の順に得るようにしてもよい。また、
ステップp4-1-10のS字形縦横要素分解(縦)も、図5(c)の
処理の縦横の関係を逆にした処理によって実現するよう
にしてもよい。
Further, as shown in FIG.
Obtain the vertical line of the center of gravity (passing the average x value) of the stroke between Pi-1 and Pi, and make the intersection of this vertical line and the horizontal line passing through point Pi-1 with the horizontal line passing through point Pi. May be obtained in this order. Also,
The S-shaped vertical / horizontal element decomposition (vertical) in step p4-1-10 may also be realized by processing in which the vertical / horizontal relationship of the processing in FIG. 5 (c) is reversed.

【0049】図5(a)、(b)、(c)の、どの処理でも新たに
縦線を発生させるが、その位置が少し異なる。図中に示
した例では、図5(a)の場合は、最も元の入力文字パタ-
ンに近い形状となる。
In each of the processes shown in FIGS. 5A, 5B and 5C, a new vertical line is generated, but its position is slightly different. In the example shown in the figure, in the case of FIG.
The shape becomes close to

【0050】さて、図4に戻り、最後のステップp4-1-11
では、ステップp4-1-7~p4-1-10の処理で得られた交点間
を、交点が求まった順につないだ線分列を得る。この線
分列が、縦線、横線で入力文字パタ-ンを近似した要素
列となる。このようにして求めた要素列は、縦線につい
ては図9(a)に示す縦線テ-ブルI.TBに、横線については
図9(d)に示す横線テ-ブルにI.YBに、各線の始点と終点
の座標を、始点から終点に向かう方向が対応するストロ
-クの方向(交点が求まった順)となるように登録する。
ただし、始点と終点の代わりに、線の長さと、線上の代
表点(たとえば始点)の座標を登録するようにしてもよ
い。
Now, returning to FIG. 4, the last step p4-1-11
Then, a line segment sequence is obtained in which the intersections obtained in the processing of steps p4-1-7 to p4-1-10 are connected in the order in which the intersections were obtained. This line segment sequence is an element sequence in which the input character pattern is approximated by vertical and horizontal lines. The element sequence obtained in this way is as follows.For the vertical line, the vertical line table I.TB shown in FIG. 9A, and for the horizontal line, the horizontal line table I.YB shown in FIG. , The coordinates of the start point and end point of each line are
-Register in the direction of the arrow (the order in which the intersections were found).
However, instead of the start point and the end point, the length of the line and the coordinates of a representative point (for example, the start point) on the line may be registered.

【0051】ところで、図4の、縦横要素分解の処理
は、図6に示すように行うようにしてもよい。
The vertical and horizontal element decomposition processing in FIG. 4 may be performed as shown in FIG.

【0052】この処理では、ステップP4-1'-1でストロ-
ク方向を上下左右の4方向に分解し、方向が変動する点
および始終点を抽出した後、ステップP4-1'-4でストロ-
ク方向が上下方向である部分の両端の2点の平均のx値と
両端の2点の一方のy値をもつ点と、両端の2点の平均のx
値と両端の2点の他方のy値をもつ点を結ぶ縦線分を得
る。また、ステップP4-1'-5でストロ-ク方向が左右方向
である部分の両端の2点の平均のy値と両端の2点の一方
のx値をもつ点と、両端の2点の平均のy値と両端の2点の
他方のx値をもつ点を結ぶ縦線分を得る。
In this process, in step P4-1'-1, the flash
After decomposing the stroke direction into four directions (up, down, left and right) and extracting the point where the direction fluctuates and the start and end points,
The point that has the average x value of the two points at both ends of the part whose vertical direction is the vertical direction, the point that has the y value of one of the two points at both ends, and the average x value of the two points at both ends
Obtains a vertical line segment connecting the value and the point with the other y value of the two points at both ends. Also, in Step P4-1'-5, the point having the average y value of the two points at both ends of the portion where the stroke direction is the left and right direction, the x value of one of the two points at the both ends, and the two points at the both ends. Obtain a vertical line segment connecting the average y value and the point with the other x value of the two ends.

【0053】以上、図3のステップp-4-1の縦横要素分解
の処理について説明した。
The vertical and horizontal element decomposition processing at step p-4-1 in FIG. 3 has been described above.

【0054】次に実行する、図3のステップp-4-2の特徴
要素抽出処理では、特徴要素抽出部5-2において、入力
文字パタ-ンを縦線、横線で近似した要素のうち、始点
から終点に向かう方向が下方向のものと、右方向のもの
を抽出する。
In the feature element extraction process of step p-4-2 in FIG. 3 to be executed next, in the feature element extraction unit 5-2, of the elements whose input character patterns are approximated by vertical and horizontal lines, The direction in which the direction from the start point to the end point is downward and the direction in which the direction is rightward are extracted.

【0055】具体的には、図7に示すように、まず、ス
テップP4-2-1で、縦線、横線からなる要素列のうち元に
なるストロ-ク方向が左方向と下方向のものを特徴要素
として抽出する。そして、ステップP4-2-2で、抽出した
特徴要素のうち直交する短い線を間に挟んで連結してい
る同方向の線(縦線同士、もしくは、横線同士)を、一本
の線となるように平行移動して連結し、この短い線を間
に挟んで連結している同方向の線に代えて、連結した線
を特徴要素とする。また、縦線テ-ブルI.TB、横線テ-ブ
ルI.YBに登録されているこの短い線を間に挟んで連結し
ている同方向の線に代えて、連結した線を登録する。そ
して、ステップP4-2-3で、短い線を特徴要素と、縦線テ
-ブルI.TB、横線テ-ブルI.YBから外す。そして、求まっ
た特徴要素を、縦線の特徴要素については、図9(b)の縦
特徴要素テ-ブルi.ktに、横線の特徴要素については図9
(e)の横特徴要素テ-ブルI.KYに登録する。登録は、特徴
要素として抽出された要素に、縦線テ-ブルI.TB、横線
テ-ブルI.YBにおいて与えられているNo.を登録すること
により行う。
More specifically, as shown in FIG. 7, first, in step P4-2-1, the original stroke direction of the element row consisting of the vertical line and the horizontal line is the left direction and the downward direction. Is extracted as a feature element. Then, in step P4-2-2, the lines in the same direction (vertical lines or horizontal lines) connected with a short orthogonal line interposed between the extracted feature elements as one line Thus, instead of the lines in the same direction that are connected by being moved in parallel and connected with the short line interposed therebetween, the connected lines are featured. In addition, instead of the same line connecting the short lines registered in the vertical line table I.TB and the horizontal line table I.YB in the same direction, a connected line is registered. Then, in Step P4-2-3, a short line is used as a feature element and a vertical line
-Remove from I.TB and I.YB. Then, the obtained characteristic elements are shown in the vertical characteristic element table i.kt in FIG. 9B for the vertical line characteristic elements, and in FIG. 9 for the horizontal line characteristic elements.
Register in the horizontal characteristic element table I.KY in (e). The registration is performed by registering the numbers given in the vertical line table I.TB and the horizontal line table I.YB in the elements extracted as the characteristic elements.

【0056】なお、ステップP4-2-2、P4-2-3の処理によ
り、後に詳しく述べる入力と辞書とのマッチングの処理
時間を短縮することができるが、この処理は行わなくて
もよい。
Although the processing of steps P4-2-2 and P4-2-3 can reduce the processing time for matching between the input and the dictionary, which will be described in detail later, this processing need not be performed.

【0057】ところで、ステップp-4-2の特徴要素抽出
処理は、図8に示すように行ってもよい。
Incidentally, the characteristic element extraction processing in step p-4-2 may be performed as shown in FIG.

【0058】すなわち、まず、ステップP4-2'-1で、入
力文字パタ-ンにおいてストロ-ク方向が右方向と下方向
の部分を抽出する。例えば、図8中の例であると、太線
で示す部分l1,l3,l4...が抽出される。
That is, first, in step P4-2'-1, portions of the input character pattern where the stroke direction is rightward and downward are extracted. For example, in the example in FIG. 8, portions l1, l3, l4,... Indicated by thick lines are extracted.

【0059】そして、ステップP4-2'-2で抽出された元
になるストロ-ク全てについて以下の動作を行う。ま
ず、P4-2'-3で右方向かつ下方向なら、このストロ-クを
含む入力文字パタ-ンの部分に対して求められた横線と
縦線を特徴要素として抽出する。図中の例では、ストロ
-クl3に対して横線Y2と縦線T3が特徴要素として抽出す
る。
The following operation is performed for all the original strokes extracted in step P4-2'-2. First, if it is rightward and downward in P4-2'-3, the horizontal and vertical lines obtained for the input character pattern portion including this stroke are extracted as characteristic elements. In the example in the figure,
-The horizontal line Y2 and the vertical line T3 are extracted as feature elements for the mark l3.

【0060】つぎに、ステップP4-2'-4で右方向のスト
ロ-クを含む入力文字パタ-ンの部分に対して求められた
横線とを特徴要素として抽出し、ステップP4-2'-5で下
方向のストロ-クを含む入力文字パタ-ンの部分に対して
求められた横線とを特徴要素として抽出する。例では、
ストロ-クl1、l4に対して、縦線T1、T3が特徴要素とし
て抽出される。そして最後に、ステップP4-2'-6、P4-2'
-7で、図7のP4-2-2、P4-2-3の処理と同じ処理を行う。
Next, in step P4-2'-4, the horizontal line obtained for the portion of the input character pattern including the rightward stroke is extracted as a characteristic element. In step 5, the horizontal line and the horizontal line obtained for the portion of the input character pattern including the downward stroke are extracted as characteristic elements. In the example,
Vertical lines T1 and T3 are extracted as feature elements for the strokes l1 and l4. And finally, steps P4-2'-6, P4-2 '
At -7, the same processing as the processing at P4-2-2 and P4-2-3 in FIG. 7 is performed.

【0061】さて、図3に戻り、次のステップP4-3で
は、要素並べ替え部5-3において要素並べ替えの処理を
行う。すなわち、抽出した縦線の特徴要素をその位置に
従って、位置が上のものから順に並べ、横線の特徴要素
を、その位置に従って、位置が左のものから順に並べ
る。そして、その並び順の情報を縦線の特徴要素につい
ては、図9(c)の縦特徴要素順テ-ブルI.IKTに、横線の特
徴要素については図9(f)の横特徴要素順テ-ブルI.IKYに
登録する。登録は、特徴要素として抽出された要素に、
縦線テ-ブルI.TB、横線テ-ブルI.YBにおいて与えられて
いるNo.を、並びの順に登録することにより行う。この
ように、位置に応じて並びかえることにより、誤まった
筆順で入力された文字パターンについても、後述するDP
マッチングによって適正な特徴要素間の対応づけが可能
となる。
Returning to FIG. 3, in the next step P4-3, the element rearranging section 5-3 performs element rearranging processing. That is, the extracted vertical line feature elements are arranged in order from the top one in accordance with the position, and the horizontal line feature elements are arranged in order from the left side in accordance with the position. Then, the information of the arrangement order is shown in the vertical feature element order table I.IKT in FIG. 9C for the vertical line feature element, and the horizontal feature element order in FIG. 9F for the horizontal line feature element. Register for Table I.IKY. Registration is based on the elements extracted as feature elements,
This is performed by registering the numbers given in the vertical line table I.TB and the horizontal line table I.YB in the order of arrangement. In this way, by rearranging according to the position, the character pattern input in an incorrect stroke order can
Matching makes it possible to properly associate feature elements.

【0062】以上、図2のステップp4の楔形文字近似化
の処理について説明した。
The wedge-shaped character approximation processing in step p4 in FIG. 2 has been described above.

【0063】次に、図2ステップP5の、マッチング処理
について説明する。
Next, the matching process in step P5 in FIG. 2 will be described.

【0064】この処理では、図10に示す辞書パタ-ン
を、図9に示した縦線テ-ブルI.TB、横線テ-ブルI.TY、
縦特徴要素テ-ブルI.KT、横特徴要素テ-ブルI.KY、縦特
徴要素順テ-ブルI.IKT、横特徴要素順テ-ブルI.IKYより
形成される入力パタ-ンとのマッチングに用いる。
In this process, the dictionary pattern shown in FIG. 10 is replaced with the vertical line table I.TB, horizontal line table I.TY,
The input pattern formed from the vertical characteristic element table I.KT, the horizontal characteristic element table I.KY, the vertical characteristic element order table I.IKT, and the horizontal characteristic element order table I.IKY Used for matching.

【0065】辞書パタ-ンは、あらかじめ、標準的な形
状の文字パタ-ンについて求めた図9に示した縦/横線
テ-ブル、縦/横特徴要素テ-ブル、縦/横特徴要素順テ-
ブルである。ここでは、特徴要素に分解しやすいよう
に、続け書きしない文字パタ-ンを用いて辞書パタ-ンを
求めた。図中の縦線テ-ブルD.TB/横線テ-ブルD.TYが図9
(a)、(d)に示した縦線テ-ブルI.TB/横線テ-ブルI.TYに
対応し、縦特徴要素テ-ブルD.KT/横特徴要素テ-ブルD.K
Yが図9(b)、(e)に示した縦特徴要素テ-ブルI.KT/横特徴
要素テ-ブルI.KYに対応し、縦特徴要素順テ-ブルD.IKT/
横特徴要素順テ-ブルD.IKYが図9(c)、(f)に示した縦特
徴要素順テ-ブルI.IKT/横特徴要素順テ-ブルI.IKYに対
応している。
The dictionary patterns are determined in advance by using the vertical / horizontal line table, vertical / horizontal feature element table, and vertical / horizontal feature element table shown in FIG. Te
Bull. Here, a dictionary pattern was obtained using a character pattern that is not written continuously so that it can be easily decomposed into feature elements. The vertical line table D.TB / horizontal table D.TY in the figure is
Corresponds to the vertical line table I.TB / horizontal table I.TY shown in (a) and (d), and the vertical characteristic element table D.KT / horizontal characteristic element table DK
Y corresponds to the vertical characteristic element table I.KT / horizontal characteristic element table I.KY shown in FIGS. 9 (b) and 9 (e), and the vertical characteristic element order table D.IKT /
The horizontal characteristic element order table D.IKY corresponds to the vertical characteristic element order table I.IKT / horizontal element order table I.IKY shown in FIGS. 9 (c) and 9 (f).

【0066】さて、マッチング処理は、図11に示すよう
に、まず、ステップP5-2において距離算出部7-2で、入
力パタ-ンと辞書パタ-ンの距離値を最小とする特徴要素
間の対応と、距離値を算出する。
In the matching process, as shown in FIG. 11, first, in step P5-2, the distance calculation unit 7-2 uses the distance calculation unit 7-2 to determine the distance between the characteristic element that minimizes the distance value between the input pattern and the dictionary pattern. And a distance value are calculated.

【0067】この対応と距離値の算出は、図12に示すよ
うに、縦線の特徴要素(ステップp5-21)、横線の特徴要
素(p5-2-2)、それぞれについて行う。
As shown in FIG. 12, this correspondence and the calculation of the distance value are performed for each of the vertical line characteristic element (step p5-21) and the horizontal line characteristic element (p5-2-2).

【0068】各方向の線についての特徴要素の対応づけ
と、入力パタ-ンと辞書パタ-ンの距離値の算出には、DP
(Direct Patern )マッチングを利用した処理によって行
う。
The association of the characteristic elements with respect to the lines in each direction and the calculation of the distance value between the input pattern and the dictionary pattern are performed using DP.
(Direct Patern) Performed by processing using matching.

【0069】図13は、縦線の特徴要素についての処理を
表したものである。
FIG. 13 shows a process for a vertical characteristic element.

【0070】この処理は、Iを入力パタ-ンの縦線の特徴
要素の総数、Jを辞書パタ-ンの縦線の特徴要素の総数と
してとして行う。また、入力パタ-ンの縦線のi番目の特
徴要素の始点の座標を(Pis.x , Pis.y)、終点の座標を
(Pie.x , Pie.y)とし、辞書パタ-ンのj番目の特徴要素
の始点の座標を(Pjs.x , Pjs.y)、終点の座標を(Pje.x,
Pje.y)として、 d(i,j) = |Pis.x - Pjs.x | + |Pis.y - Pjs.y | + |P
ie.x - Pje.x | + |Pie.y - Pje.y | d(*,j) = |Pjs.x - Pje.x | + |Pjs.y - Pje.y | d(i,*) = |Pis.x - Pie.x | + |Pis.y - Pie.y | と定義する。ここで、 d(i,j)は、特徴要素iと、特徴要
素jの距離値であり、両者の始点、終点の位置のずれを
表し、その値が小さいほど、入力パタ-ンのi番目の特徴
要素と、辞書パタ-ンのj番目の特徴要素とが類似してい
ることを表す。d(*,j)は辞書パタ-ンのj番目の特徴要素
の大きさを、 d(i,*)は入力パタ-ンのi番目の特徴要素
の大きさを表す。ここで、本実施形態では、d(*,j)は辞
書パタ-ンのj番目の特徴要素に対応する特徴要素が無い
らしさの程度、すなわち、無と当該特徴要素との距離値
を表すものとして用い、d(i,*)は入力パタ-ンのi番目の
特徴要素に対応する特徴要素が無いらしさの程度、すな
わち、無と当該特徴要素との距離値を表すものとして用
いている。したがって、d(i,*)、d(*,j)としては、特徴
要素の大きさを表す関数以外の、適当な関数を用いるよ
うにしてもよいし、適当な一定の値としてもよい。ま
た、d(i,j) も、 |Pis.x - Pjs.x | + |Pis.y - Pjs.y
| + |Pie.x - Pje.x | + |Pie.y - Pje.y |以外の、特
徴要素iと、特徴要素jの類似度を表す適当な関数を用い
るようにしてよい。
This processing is performed by setting I as the total number of vertical line feature elements of the input pattern and J as the total number of vertical line feature elements of the dictionary pattern. The coordinates of the start point of the i-th feature element of the vertical line of the input pattern are (Pis.x, Pis.y), and the coordinates of the end point are
(Pie.x, Pie.y), the coordinates of the start point of the jth feature element of the dictionary pattern are (Pjs.x, Pjs.y), and the coordinates of the end point are (Pje.x,
Pje.y), d (i, j) = | Pis.x-Pjs.x | + | Pis.y-Pjs.y | + | P
ie.x-Pje.x | + | Pie.y-Pje.y | d (*, j) = | Pjs.x-Pje.x | + | Pjs.y-Pje.y | d (i, *) = | Pis.x-Pie.x | + | Pis.y-Pie.y | Here, d (i, j) is a distance value between the feature element i and the feature element j, and represents a displacement between the start point and the end point of the two. The smaller the value, the i-th of the input pattern And the j-th feature element of the dictionary pattern are similar. d (*, j) represents the size of the j-th feature element of the dictionary pattern, and d (i, *) represents the size of the i-th feature element of the input pattern. Here, in the present embodiment, d (*, j) represents the degree of the likelihood that there is no feature element corresponding to the j-th feature element in the dictionary pattern, that is, the distance value between nothing and the feature element. And d (i, *) is used to represent the degree of the likelihood that there is no feature element corresponding to the i-th feature element in the input pattern, that is, the distance value between nothing and the feature element. Therefore, as d (i, *) and d (*, j), an appropriate function other than the function representing the size of the feature element may be used, or may be an appropriate constant value. Also, d (i, j) is also | Pis.x-Pjs.x | + | Pis.y-Pjs.y
| + | Pie.x-Pje.x | + | Any function other than | Pie.y-Pje.y | that represents the similarity between feature element i and feature element j may be used.

【0071】さて、図13に示した処理では、まずg(0、
0)=0とし(ステップ1301)、i=1からi=Iの間の各iについ
て、Δ(i 0)=(-1,0)、g(i,0)=g(i-1, 0)+d(i,*)を求め
(ステップ1302から1305)、 j=1からj=Jの間の各jについ
て、Δ(0,j)=(0,-1)、g(0,j)=g(0,j-1)+d(*, j)を求め
る(ステップ1306から1309)。
In the processing shown in FIG. 13, first, g (0,
0) = 0 (step 1301), and for each i from i = 1 to i = I, Δ (i 0) = (-1,0), g (i, 0) = g (i-1, 0) + d (i, *)
(Steps 1302 to 1305), for each j between j = 1 to j = J, Δ (0, j) = (0, -1), g (0, j) = g (0, j-1) + d (*, j) is obtained (steps 1306 to 1309).

【0072】次に、iをi=1からi=Iまで変化させ、その
間に各iについてjを j=1からj=Jのjまで変化させなが
ら、i=1からi=Iの間のiと、 j=1からj=Jのjのすべての
(i, j)の組み合わせについて、Δ(i,j)と、g(i,j)を求
める(ステップ1310から1322)。
Next, while changing i from i = 1 to i = I, while changing j for each i from j = 1 to j = j, j is changed from i = 1 to i = I. i and all j from j = 1 to j = J
For the combination of (i, j), Δ (i, j) and g (i, j) are obtained (steps 1310 to 1322).

【0073】この処理では、その(i, j)の組について、
まず、g1=d(*,j)+g(i-1,j)と、g2=d(i,j)+g(i-1,j-1)
と、g3=d(i,*)+g(i,j-1)を求め(ステップ1312から131
4)、g1,g2、g3のうちの最小の値をとるものをg(i,j)と
する(ステップ1315から1318)。また、g1がg(i,j)として
選ばれたときにはΔ(i,j)=(-1,0)とし、g2がg(i,j)とし
て選ばれたときにはΔ(i,j)=(-1,-1)とし、g3がg(i,j)
として選ばれたときにはΔ(i,j)=(0、1)とする(ステッ
プ1315から1318)。
In this processing, for the set (i, j),
First, g1 = d (*, j) + g (i-1, j) and g2 = d (i, j) + g (i-1, j-1)
And g3 = d (i, *) + g (i, j-1) (from steps 1312 to 131
4) Let g (i, j) take the smallest value among g1, g2, and g3 (steps 1315 to 1318). When g1 is selected as g (i, j), Δ (i, j) = (-1,0), and when g2 is selected as g (i, j), Δ (i, j) = (-1, -1), g3 is g (i, j)
Is set as Δ (i, j) = (0,1) (steps 1315 to 1318).

【0074】そして、すべての(i, j)の組み合わせにつ
いて、Δ(i,j)と、g(i,j)が求まったならば、最後に得
られたg(I,J)を、入力パタ-ンと辞書パタ-ンの距離値D
(i,j)とする(ステップ1323)。
When Δ (i, j) and g (i, j) are obtained for all combinations of (i, j), the finally obtained g (I, J) is input. Distance value D between pattern and dictionary pattern
(i, j) (step 1323).

【0075】そして、最後に入力パタ-ンの特徴要素
と、辞書パタ-ンの特徴要素との対応付けを行う(ステッ
プ1324) この対応付けは、次のように行う。
Finally, the characteristic element of the input pattern is associated with the characteristic element of the dictionary pattern (step 1324). This association is performed as follows.

【0076】まず、P(0)=(I,J)とし、P(1)=ΔP(n)+ΔP
(0)とする。以下、順次、P(*)=(0、0)となるまで、P(k)
=P(k-1)+ΔP(k-1)とする。なお、ここで、P(n)=(nx,n
y)、ΔP(n)=(Δnx,Δny)の時、P(n)+ΔP(n) = (nx + Δ
nx, ny+Δny)となる。
First, P (0) = (I, J), and P (1) = ΔP (n) + ΔP
(0). Hereinafter, P (k) until P (*) = (0, 0)
= P (k-1) + ΔP (k-1). Here, P (n) = (nx, n
y), ΔP (n) = (Δnx, Δny), P (n) + ΔP (n) = (nx + Δ
nx, ny + Δny).

【0077】このようにして、P(0)からP(n)を求めたな
らば、k=0からnの間の各kについて、ΔP(k)を調べる。
そして、ΔP(k)が(-1, -1)であれば、P(k)=(ik, jk)と
して、入力パタ-ンの特徴要素ikと辞書パタ-ンの特徴要
素jkを対応付ける。また、ΔP(k)が(-1,0)であれば、P
(k)=(ik, jk)として、入力パタ-ンの特徴要素ikに対応
する辞書パタ-ンの特徴要素は存在しないとし、ΔP(k)
が(0,-1)であれば、P(k)=(ik, jk)として、辞書パタ-ン
の特徴要素jkに対応する入力パタ-ンの特徴要素は存在
しないとする。
When P (n) is obtained from P (0) in this way, ΔP (k) is checked for each k between k = 0 and n.
If ΔP (k) is (-1, -1), the characteristic element ik of the input pattern is associated with the characteristic element jk of the dictionary pattern as P (k) = (ik, jk). If ΔP (k) is (-1,0), P
Assuming that (k) = (ik, jk), there is no dictionary pattern feature element corresponding to the input pattern feature element ik, and ΔP (k)
Is (0, -1), it is assumed that P (k) = (ik, jk) and there is no input pattern feature element corresponding to the dictionary pattern feature element jk.

【0078】ここで、先に求めた入力パタ-ンと辞書パ
タ-ンの距離値D(i,j)は、P(0)からP(n)について求めら
れた特徴要素間もしくは対応づけられなかった特徴要素
の無に対する距離値の総和となる。たとえば、P(k)=(i
k, jk)であり、特徴要素ikと、特徴要素jkが対応づけら
れたならば、特徴要素ikと特徴要素jkとの距離値は、d
(ik, jk)である。また、P(k)=(ik, jk)であり、入力パ
タ-ンの特徴要素ikが、辞書パタ-ンの特徴要素と対応づ
けられなかったのであれば、特徴要素ikの距離値はd(i
k, *)であり、P(k)=(ik, jk)であり、入力パタ-ンの特
徴要素と、辞書パタ-ンの特徴要素jkが対応づけられな
かったのであれば、特徴要素ikの距離値はd(*,jk)であ
る。
Here, the distance value D (i, j) between the input pattern and the dictionary pattern obtained earlier is associated with the feature elements obtained for P (0) to P (n) or associated with each other. It is the sum of the distance values of the missing feature elements for nothing. For example, P (k) = (i
k, jk), and if the feature element ik is associated with the feature element jk, the distance value between the feature element ik and the feature element jk is d
(ik, jk). Also, if P (k) = (ik, jk) and the characteristic element ik of the input pattern is not associated with the characteristic element of the dictionary pattern, the distance value of the characteristic element ik is d (i
k, *), P (k) = (ik, jk), and if the feature element of the input pattern and the feature element jk of the dictionary pattern were not associated, the feature element ik Is d (*, jk).

【0079】以上、図12のステップ5-2-1の縦線の特徴
要素の処理の詳細について説明したが、ステップ5-2-2
の横線の特徴要素についての処理も同様にして行う。
The details of the processing of the vertical line characteristic element in step 5-2-1 in FIG. 12 have been described above.
The processing for the characteristic element of the horizontal line is performed in the same manner.

【0080】ただし、図12のステップ5-2-1の縦線の特
徴要素の処理と、ステップ5-2-2の横線の特徴要素につ
いての処理は、以上に説明したDPマッチングを利用した
処理ではなく、たとえば、入力パタ-ンの特徴要素と辞
書パタ-ンの特徴要素のすべての組み合わせについて距
離を求め、距離値が最小となる対応を求めるようにして
も良い。また、この際に、処理量を削減するために、す
べての組み合わせについて距離を求めるのではなく、あ
らかじめ、特徴要素の長さと位置の対応により、組み合
わせを、ある程度限定するようにしてから、処理を行う
ようにしても良い。
However, the processing of the vertical line characteristic element in step 5-2-1 in FIG. 12 and the processing of the horizontal line characteristic element in step 5-2-2 are the processing using the DP matching described above. Instead, for example, the distance may be obtained for all combinations of the characteristic element of the input pattern and the characteristic element of the dictionary pattern, and the correspondence that minimizes the distance value may be obtained. Also, at this time, in order to reduce the processing amount, instead of obtaining the distances for all the combinations, the combinations are limited to some extent in advance by the correspondence between the length and the position of the characteristic element, and then the processing is performed. It may be performed.

【0081】さて、以上のような図12、13に示した、図
11のステップ5-2の距離算出処理により、図14に示すよ
うに、入力パタ-ンの特徴要素と辞書パタ-ンの特徴要素
との対応付けが得られる。
Now, the diagrams shown in FIGS.
As shown in FIG. 14, the correspondence between the characteristic elements of the input pattern and the characteristic elements of the dictionary pattern is obtained by the distance calculation processing in step 5-2 of FIG.

【0082】図14は、図示した入力文字パタ-ンと、辞
書パタ-ンが表す文字パタ-ンとの間では、距離算出処理
によって、縦線については、たとえば、入力パターンの
縦特徴要素順テ-ブルI.IKT()と、辞書パタ-ンの縦特徴
要素順テ-ブルD.IKT()との間に太線で示したように対応
付けが行われ、横線の特徴要素については、たとえば、
入力パタ-ンの横特徴要素順テ-ブルI.IKY()と辞書パタ-
ンの横特徴要素順位置順D.IKY()との間で線で示すよう
に対応付けが行われることを表している。
FIG. 14 shows that the distance between the input character pattern shown and the character pattern represented by the dictionary pattern is calculated by the distance calculation process. The correspondence between the table I.IKT () and the vertical characteristic element order table D.IKT () of the dictionary pattern is performed as shown by the thick line, and the characteristic element of the horizontal line is For example,
I.IKY () and dictionary pattern
This indicates that association is performed between the horizontal feature element order and the position order D.IKY () as indicated by a line.

【0083】さて、このようにして、特徴要素の対応づ
けと入力パタ-ンと辞書パタ-ンの距離値が求まったら、
次に、図11のステップP5-3の辞書のみ特徴要素の探索を
行う。
When the correspondence between the characteristic elements and the distance value between the input pattern and the dictionary pattern are obtained in this way,
Next, only the dictionary in step P5-3 in FIG. 11 is searched for characteristic elements.

【0084】この処理を、図15を用いて説明する。This processing will be described with reference to FIG.

【0085】図15は、"古"という文字の口の部分が図15
(a)に示すように、丸状に手書き入力された入力文字パ
タ-ンを対象とした場合を示している。この入力文字パ
タ-ンは、、図15(b)に示すように、楔形文字近似化部で
縦線と横線に要素化され、また、そのうちから特徴要素
が抽出される。図中、太線で示した要素が特徴要素とし
て抽出された要素である。この場合、図15(c)の辞書パ
タ-ンの特徴要素との間で、図13の距離算出処理を施す
と、辞書パタ-ンの特徴要素の縦2と横4が、対応する入
力パタ-ンの特徴要素がない特徴要素となる。
FIG. 15 shows that the mouth portion of the character “old” is
As shown in (a), a case is shown in which an input character pattern input by handwriting in a circular shape is targeted. As shown in FIG. 15 (b), the input character pattern is elementized into vertical and horizontal lines by a wedge-shaped character approximation unit, and characteristic elements are extracted from the elements. In the figure, the elements indicated by thick lines are the elements extracted as characteristic elements. In this case, when the distance calculation process of FIG. 13 is performed between the feature elements of the dictionary pattern of FIG. 15C, the vertical 2 and the horizontal 4 of the feature elements of the dictionary pattern correspond to the corresponding input patterns. This is a feature element without the -n feature element.

【0086】この場合、ステップP5-3辞書のみ特徴要素
の探索処理では、まず、(1)入力パタ-ンの特徴要素以外
の要素に、入力パタ-ンの特徴要素に対応づけられなか
った辞書パタ-ンの特徴要素に対応するものがあるか探
索し、存在すれば、この要素と辞書パタ-ンの特徴要素
との間の距離値を求め、辞書パタ-ンの特徴要素の距離
値を、これに変更する。対応するか否かの判定は、たと
えば、ふたつの特徴要素をi,jとして、 d(i,j) = |Pis.x - Pjs.x | + |Pis.y - Pjs.y | + |P
ie.x - Pje.x | + |Pie.y - Pje.y | d(*,j) = |Pjs.x - Pje.x | + |Pjs.y - Pje.y | d(i,*) = |Pis.x - Pie.x | + |Pis.y - Pie.y | を求め、このうちd(i,j) が最小であるとき対応すると
するようにする。
In this case, in step P5-3, only the dictionary-specific feature element search processing is performed. First, (1) a dictionary that is not associated with an input pattern feature element to an element other than the input pattern feature element. A search is made to see if there is one corresponding to the characteristic element of the pattern, and if there is, a distance value between this element and the characteristic element of the dictionary pattern is obtained, and the distance value of the characteristic element of the dictionary pattern is calculated. , Change to this. The determination as to whether or not they correspond can be made, for example, by setting two feature elements as i and j, and d (i, j) = | Pis.x-Pjs.x | + | Pis.y-Pjs.y | + | P
ie.x-Pje.x | + | Pie.y-Pje.y | d (*, j) = | Pjs.x-Pje.x | + | Pjs.y-Pje.y | d (i, *) = | Pis.x-Pie.x | + | Pis.y-Pie.y | is calculated, and it is assumed that d (i, j) is the minimum value.

【0087】ただし、図15より理解されるように、辞書
パタ-ンの特徴要素と、入力パタ-ンの要素とは、ストロ
-ク方向が逆であることもあるため、入力パタ-ンの要素
について、始点と終点を逆転したものについてもd(i,j)
を求め、逆転したものとしないもののd(i,j)のうち、小
さい方を採用するようにする。
However, as understood from FIG. 15, the characteristic elements of the dictionary pattern and the elements of the input pattern are not
-The direction of the input pattern may be reversed, so for the input pattern elements, d (i, j)
And the smaller one of d (i, j), which is not reversed and which is not, is adopted.

【0088】また、距離値としては、d(i,j)をもちいて
もよいが、d(i,j)をN(>1)倍すしたものもしくは、d(i,
j)に一定値を加算したものを用いるようにすることが好
ましい。
As the distance value, d (i, j) may be used, but d (i, j) multiplied by N (> 1) or d (i, j)
It is preferable to use a value obtained by adding a constant value to j).

【0089】また、図15のような場合は、辞書パタ-ン
の特徴要素、横4は入力パタ-ンの要素の横2または横4と
対応付けできることになるが、このように一つの特徴要
素に対して複数の要素が対応づけられる場合は、複数の
要素のうち、どちらか一方、距離値が小さいほうを特徴
要素の距離値として採用するようにするのがよい。ま
た、要素、横2と横4を連結する横線を生成して、これと
の距離値の方が要素、横2と横4との距離値より小さけれ
ば、その距離値を採用するようにしてもよい。
In the case shown in FIG. 15, the characteristic element of the dictionary pattern, width 4 can be associated with the width 2 or width 4 of the input pattern element. When a plurality of elements are associated with an element, one of the plurality of elements having a smaller distance value is preferably adopted as the distance value of the characteristic element. Also, a horizontal line connecting the element, horizontal 2 and horizontal 4 is generated, and if the distance value with this is smaller than the distance value between the element, horizontal 2 and horizontal 4, the distance value is adopted. Is also good.

【0090】次に、図11のステップP5-4の入力のみ特徴
要素の探索処理では次の処理を行う。
Next, in the input-only feature element search processing in step P5-4 in FIG. 11, the following processing is performed.

【0091】図16(a)が入力パタ-ンの特徴要素であり、
図16(b)が辞書パタ-ンの特徴要素であるとすると、図16
(a)に最太線で示す入力パタ-ンの特徴要素の横1が、辞
書パタ-ンの特徴要素と対応つかず残っている。このよ
うに辞書パタ-ンの特徴要素と対応づけられなかった入
力パタ-ンの特徴要素が存在する場合には、この特徴要
素が、続け書きのために生じたものである可能性があ
る。
FIG. 16A shows the characteristic elements of the input pattern.
Assuming that FIG. 16 (b) is a characteristic element of the dictionary pattern, FIG.
In (a), the horizontal 1 of the characteristic element of the input pattern indicated by the thickest line remains without being associated with the characteristic element of the dictionary pattern. When there is a characteristic element of the input pattern that is not associated with the characteristic element of the dictionary pattern, there is a possibility that this characteristic element is generated due to continuous writing.

【0092】そこで、入力パタ-ンの特徴要素列を入力
の順に見たとき、辞書パタ-ンと対応付けできなかった
特徴要素の前後に、辞書パタ-ンの特徴要素と対応付け
できている特徴要素もしくは要素があり、その前後の特
徴要素もしくは要素を連結する位置に、辞書パタ-ンと
対応付けできなかった特徴要素があれば、この特徴要素
は、続け書きのために生じたものと考え、この特徴要素
に与えていた距離値を小さいものに変更する。
Therefore, when the characteristic element sequence of the input pattern is viewed in the order of input, it can be associated with the characteristic element of the dictionary pattern before and after the characteristic element that could not be associated with the dictionary pattern. If there is a feature element or element, and there is a feature element that could not be matched with the dictionary pattern at the position where the preceding or following feature element or element is linked, this feature element is assumed to have been generated for continuous writing. Considering this, the distance value given to this feature element is changed to a smaller value.

【0093】そうでなければ、逆に、距離値を大きなも
のに変更する。これは、続け書きで生じたのではない、
辞書パタ-ンとマッチしない特徴要素が入力パタ-ンが存
在するからである。
If not, the distance value is changed to a larger value. This was not caused by continuations,
This is because there is an input pattern for a feature element that does not match the dictionary pattern.

【0094】具体的には、たとえば、図16(a)の、辞書
パタ-ンと対応づけられれなかった入力パタ-ンの特徴要
素横1の、前後の縦1の終点と横2の始点を対角線上の頂
点とする四角形、もしくは、この四角形を所定量拡大し
た四角形の中に、この特徴要素横1が含まれれば、この
入力パタ-ンの特徴要素は横1は続け書きの部分と判定す
る。
More specifically, for example, in FIG. 16 (a), the end point of the front and rear 1 and the start point of the horizontal 2 of the characteristic element horizontal 1 of the input pattern that is not associated with the dictionary pattern are set. If this feature element horizontal 1 is included in a rectangle that is a vertex on a diagonal line or a rectangle obtained by expanding this rectangle by a predetermined amount, the horizontal 1 of the feature element of this input pattern is determined to be a continuous writing part I do.

【0095】以上、本実施形態に係る文字認識装置につ
いて説明した。
The character recognition device according to the present embodiment has been described.

【0096】なお、以上の説明では、座標が時系列に入
力する入力文字パタ-ンを対象とする場合について説明
したが、たとえば、オフラインで文字認識処理をする場
合において、対象とする入力文字パタ-ンの座標の入力
順を表す情報が存在しない場合や、画像として文字パタ
-ンが与えられる場合には、文字パターンを折れ線とし
て近似し、特徴要素抽出において、方向が左-右方向ま
たは上-下方向もしくは左上-右下方向に対応する横線、
縦線の部分を特徴要素として抽出するようにすれば、以
上の実施形態を適用して、同様に文字認識を行うことが
できる。
In the above description, the case has been described where the input character pattern whose coordinates are input in time series is the target. For example, in the case where character recognition processing is performed offline, the target input character pattern is input. -If there is no information indicating the input order of the coordinates of the
When a character pattern is given, the character pattern is approximated as a polygonal line, and in the feature element extraction, a horizontal line corresponding to the direction of left-right direction or up-down direction or upper left-lower direction,
If the vertical line portion is extracted as a feature element, character recognition can be similarly performed by applying the above embodiment.

【0097】また、もちろん、漢字のみならず、ハング
ル文字やその他の、縦線、横線を、文字の主要な基本要
素とする各種の文字の認識に適用することができる。
Further, of course, the present invention can be applied to recognition of not only Chinese characters but also Hangul characters and other characters having vertical and horizontal lines as main basic elements of the characters.

【0098】[0098]

【発明の効果】以上のように、本発明によれば、続け書
きされた文字や、誤った筆順で入力された、変形を含む
文字であっても、さほど大きくない処理量の処理で、よ
り正しく認識でる文字認識装置を提供することができ
る。
As described above, according to the present invention, even a character which is continuously written or a character which is input in an incorrect stroke order and includes a deformation can be processed with a processing amount which is not so large. A character recognition device capable of correctly recognizing can be provided.

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

【図1】文字認識装置の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a character recognition device.

【図2】文字認識装置の行う処理の手順を示したフロー
チャートである。
FIG. 2 is a flowchart illustrating a procedure of a process performed by the character recognition device.

【図3】楔形文字近似化処理の処理手順を示したフロー
チャートである。
FIG. 3 is a flowchart illustrating a processing procedure of a wedge-shaped character approximation processing;

【図4】要素分解処理の処理手順を示したフローチャー
トである。
FIG. 4 is a flowchart showing a processing procedure of an element decomposition processing.

【図5】S字形要素分解処理の処理手順を示したフロー
チャートである。
FIG. 5 is a flowchart illustrating a processing procedure of an S-shaped element decomposition process.

【図6】要素分解処理の処理手順を示したフローチャー
トである。
FIG. 6 is a flowchart showing a processing procedure of an element decomposition processing.

【図7】特徴要素抽出処理の処理手順を示したフローチ
ャートである。
FIG. 7 is a flowchart showing a processing procedure of a feature element extraction process.

【図8】特徴要素抽出処理の処理手順を示したフローチ
ャートである。
FIG. 8 is a flowchart showing a processing procedure of a feature element extraction process.

【図9】マッチング処理の入力パターンを構成する各種
テーブルを示した図である。
FIG. 9 is a diagram showing various tables constituting an input pattern of a matching process.

【図10】マッチング処理の辞書パターンを構成する各
種テーブルを示した図である。
FIG. 10 is a diagram showing various tables constituting a dictionary pattern of a matching process.

【図11】マッチング処理の処理手順を示したフローチ
ャートである。
FIG. 11 is a flowchart illustrating a processing procedure of a matching process.

【図12】距離値算出処理の処理手順を示したフローチ
ャートである。
FIG. 12 is a flowchart illustrating a processing procedure of distance value calculation processing.

【図13】DPマッチング処理の処理手順を示したフロ
ーチャートである。
FIG. 13 is a flowchart illustrating a processing procedure of a DP matching process.

【図14】入力パターンの特徴要素と辞書パターンの特
徴要素の対応を示した図である。
FIG. 14 is a diagram illustrating correspondence between characteristic elements of an input pattern and characteristic elements of a dictionary pattern.

【図15】辞書のみ特徴要素の探索処理の概要を示す図
である。
FIG. 15 is a diagram showing an outline of a search process for a dictionary-only feature element.

【図16】入力のみ特徴要素の探索処理の概要を示す図
である。
FIG. 16 is a diagram illustrating an outline of a search process for an input-only feature element.

【図17】従来の文字認識処理の概要を示す図である。FIG. 17 is a diagram showing an outline of a conventional character recognition process.

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

1 液晶タブレット 2 ペンマネ-ジャ 3 アプリケ-ション 4 前処理部 5 楔形文字近似部 5-1 縦横要素分解部 5-2 特徴要素抽出部 5-3 要素並べ替え部 6 辞書 7 マッチング処理部部 7-1 マッチング管理部 7-2 距離算出部 7-3/辞書のみ特徴要素の探索部 7-4 入力のみ特徴要素の探索部 7-5 認識結果出力部 8 詳細識別部 1 LCD tablet 2 Pen manager 3 Application 4 Preprocessing unit 5 Wedge-shaped character approximation unit 5-1 Vertical and horizontal element decomposition unit 5-2 Feature element extraction unit 5-3 Element rearrangement unit 6 Dictionary 7 Matching processing unit 7- 1 Matching management unit 7-2 Distance calculation unit 7-3 / Dictionary-only feature element search unit 7-4 Input-only feature element search unit 7-5 Recognition result output unit 8 Detailed identification unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三浦 雅樹 茨城県日立市大みか町七丁目1番1号 株 式会社日立製作所日立研究所内 (72)発明者 桂 晃洋 茨城県日立市大みか町七丁目1番1号 株 式会社日立製作所日立研究所内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masaki Miura 7-1-1, Omikacho, Hitachi City, Ibaraki Prefecture Inside Hitachi, Ltd. Hitachi Research Laboratory, Ltd. (72) Inventor Akihiro Katsura 7-1 Omikacho, Hitachi City, Ibaraki Prefecture No. 1 Inside the Hitachi Research Laboratory, Hitachi, Ltd.

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】手書きされた文字を認識する文字認識装置
であって、 手書きされた、認識の対象とする文字の文字パターンを
入力する手段と、 文字毎に、縦線と横線からなるパターンである辞書パタ
ーンを登録した辞書を記憶した記憶手段と、 文字パターンと、前記辞書に登録されている各辞書パタ
ーンとのを比較し、文字パターンに類似する辞書パター
ンに対応する文字を、文字パターンに対応する文字とし
て認識する認識手段とを有することを特徴とする文字認
識装置。
1. A character recognition device for recognizing a handwritten character, comprising: means for inputting a character pattern of a handwritten character to be recognized; and a pattern comprising a vertical line and a horizontal line for each character. A storage unit storing a dictionary in which a certain dictionary pattern is registered, a character pattern is compared with each dictionary pattern registered in the dictionary, and a character corresponding to the dictionary pattern similar to the character pattern is converted into a character pattern. A character recognition device comprising: a recognition unit that recognizes a corresponding character.
【請求項2】手書きされた文字を認識する文字認識装置
であって、 手書きされた、認識の対象とする文字の文字パターンを
入力する手段と、 入力した文字パターンを、横線と縦線のみで近似した入
力パターンを生成する入力パターン生成手段手段と、 文字毎に、縦線と横線からなるパターンである辞書パタ
ーンを登録した辞書を記憶した記憶手段と、 入力パターンと、辞書に登録されている各辞書パターン
とのを比較し、入力パターンに類似する辞書パターンに
対応する文字を、入力した文字パターンに対応する文字
として認識する認識手段とを有することを特徴とする文
字認識装置。
2. A character recognition apparatus for recognizing a handwritten character, comprising: means for inputting a character pattern of a handwritten character to be recognized; Input pattern generation means for generating an approximated input pattern; storage means for storing a dictionary in which a dictionary pattern, which is a pattern composed of vertical lines and horizontal lines, is registered for each character; and an input pattern, which is registered in the dictionary. A character recognition device comprising: a recognition unit that compares each of the dictionary patterns with a corresponding one of the dictionary patterns and recognizes a character corresponding to the dictionary pattern similar to the input pattern as a character corresponding to the input character pattern.
【請求項3】請求項2記載の文字認識装置であって、 前記入力パターン生成手段は、 前記入力された文字パターンを形成する各ストローク
を、縦線と、横線で近似する要素分解手段と、 ストロークを近似した縦線のうち、当該縦線に対応する
ストロークの方向が上から下方向に向かう縦線と、スト
ロークを近似した横線のうち、当該横線に対応するスト
ロークの方向が左から右方向に向かう横線とを抽出し、
抽出した縦線と横線で、前記文字パターンを近似する入
力パターンを形成する特徴要素抽出手段とを有すること
を特徴とする文字認識装置。
3. The character recognition device according to claim 2, wherein said input pattern generation means includes: an element decomposition means for approximating each stroke forming the input character pattern with a vertical line and a horizontal line; Among the vertical lines approximating the stroke, the direction of the stroke corresponding to the vertical line is from the top to the bottom, and the horizontal line approximating the stroke is the direction of the stroke corresponding to the horizontal line from the left to the right. Extract the horizontal line toward
A character recognition apparatus comprising: a feature element extracting unit that forms an input pattern that approximates the character pattern using the extracted vertical and horizontal lines.
【請求項4】請求項1、2または3記載の文字認識装置
であって、 前記辞書に登録されている各辞書パターンは、 文字毎に選択した文字パターンを形成する各ストローク
を、縦線と、横線で近似し、ストロークを近似した縦線
のうちから抽出した、当該縦線に対応するストロークの
部分の手書きされた方向が上から下方向に向かう縦線
と、ストロークを近似した横線のうちから抽出した、当
該横線に対応するストロークの部分の手書きされた方向
が左から右方向に向かう横線とで形成されることを特徴
とする文字認識装置。
4. The character recognition device according to claim 1, wherein each of the dictionary patterns registered in the dictionary includes a stroke forming a character pattern selected for each character as a vertical line. , A stroke drawn from a vertical line approximating a horizontal line and approximating a stroke, a handwritten direction of a portion of the stroke corresponding to the vertical line is directed from top to bottom, and a horizontal line approximating the stroke A character recognition apparatus characterized in that a handwritten direction of a portion of a stroke corresponding to the horizontal line extracted from the above is formed by a horizontal line running from left to right.
【請求項5】請求項3記載の文字認識装置であって、 前記要素分解手段は、文字パターンを形成する各ストロ
ークの方向の縦方向の変化点と横方向の変化点を求める
手段と、 縦方向の変化点に対して当該変化点を通る横線と、横方
向の変化点に対して当該変化点を通る縦線を生成する手
段と、 各変化点について、当該変化点と、当該変化点にストロ
ーク上隣りに位置する変化点との2つの変化点に対し
て、縦線と横線が生成されている場合に、当該生成され
た縦線と横線の交点を当該2つの変化点に対して求め、
2つの縦線が生成されている場合に、当該2つの変化点
を対角線の両端とする長方形内の点を通る横線を生成
し、当該長方形内の点を通る横線と前記2つの縦線との
交点を当該2つの変化点に対して求め、2つの横線が生
成されている場合に、当該2つの変化点を対角線の両端
とする長方形内の点を通る縦線を生成し、当該長方形内
の点を通る縦線と前記2つの横線との交点を当該2つの
変化点に対して求める交点算出手段と、 求められた各交点を、当該交点に対応する変化点のスト
ローク上の順番に応じて順番に結んで得られる縦線と横
線を、前記入力された文字パターンを形成する各ストロ
ークを近似する縦線と横線として生成する手段を有する
ことを特徴とする文字認識装置。
5. A character recognition apparatus according to claim 3, wherein said element decomposing means obtains a vertical change point and a horizontal change point in the direction of each stroke forming a character pattern. Means for generating a horizontal line passing through the change point with respect to the change point in the direction, and a vertical line passing through the change point with respect to the change point in the horizontal direction; for each change point, the change point; When a vertical line and a horizontal line are generated with respect to two change points located adjacent to each other on the stroke, an intersection between the generated vertical line and the horizontal line is determined for the two change points. ,
When two vertical lines are generated, a horizontal line passing through a point in a rectangle having the two change points at both ends of a diagonal line is generated, and a horizontal line passing through a point in the rectangle and the two vertical lines are generated. An intersection is obtained for the two change points, and when two horizontal lines are generated, a vertical line passing through a point in a rectangle having the two change points at both ends of a diagonal line is generated, and a vertical line in the rectangle is generated. An intersection calculating means for obtaining an intersection of a vertical line passing through a point and the two horizontal lines with respect to the two change points; and calculating each obtained intersection according to the stroke order of the change point corresponding to the intersection. A character recognition device comprising means for generating a vertical line and a horizontal line obtained by connecting in order as a vertical line and a horizontal line approximating each stroke forming the input character pattern.
【請求項6】請求項5記載の文字認識装置であって、 前記交点算出手段は、 前記2つの変化点に対して2つの縦線が生成されている
場合に、2つの縦線の中間を通る縦線を生成し、当該生
成した縦線と前記2つの変化点の間のストロークとの交
点を求め、求めた交点を通る横線を、前記長方形内の点
を通る横線として生成し、前記2つの変化点に対して2
つの横線が生成されている場合に、2つの横線の中間を
通る横線を生成し、当該生成した横線と前記2つの変化
点の間のストロークとの交点を求め、求めた交点を通る
縦線を、前記長方形内の点を通る縦線として生成するこ
とを特徴とする文字認識装置。
6. The character recognition device according to claim 5, wherein the intersection calculating means determines an intermediate point between the two vertical lines when two vertical lines are generated for the two change points. Generating a vertical line passing therethrough, obtaining an intersection between the generated vertical line and a stroke between the two change points, generating a horizontal line passing through the obtained intersection as a horizontal line passing through a point in the rectangle, 2 for one change point
When two horizontal lines are generated, a horizontal line passing through the middle of the two horizontal lines is generated, an intersection between the generated horizontal line and a stroke between the two change points is obtained, and a vertical line passing through the obtained intersection is obtained. A character recognition device for generating a vertical line passing through a point in the rectangle.
【請求項7】請求項3記載の文字認識装置であって、 前記要素分解手段は、文字パターンを形成するストロー
クの方向を、所定の基準方向と成す角度に応じて、上下
左右方向の4つの方向に分類し、当該4方向に関して、
ストロークの方向が変化する変化点を求め、各変化点間
のストロークを、当該変化点間のストロークの方向が上
方向もしくは下方向である場合に縦線に近似し、変化点
間のストロークの方向が左方向もしくは右方向である場
合に横線に近似することを特徴とする文字認識装置。
7. The character recognizing device according to claim 3, wherein the element disassembling means includes four directions in up, down, left, and right directions according to an angle between a direction of a stroke forming a character pattern and a predetermined reference direction. Categorized into directions, and for the four directions,
A change point at which the direction of the stroke changes is obtained, and the stroke between the change points is approximated to a vertical line when the direction of the stroke between the change points is upward or downward, and the direction of the stroke between the change points A character recognition device that approximates a horizontal line when is leftward or rightward.
【請求項8】請求項2記載の文字認識装置であって、 前記認識手段は、 入力パターンの縦線と辞書パターンの縦線との対応と、
入力パターンの横線と辞書パターンの横線との対応を、
対応づけられた縦線と縦線の位置と長さに関する類似度
と、対応づけられた予選と横線の位置と長さに関する類
似度との総和が最大となるように、当該類似度の総和と
共に求め、かつ前記認識手段は、各辞書パターンについ
て求めた当該類似度の総和に応じて、入力パターンに類
似する辞書パターンを定めることを特徴とする文字認識
装置。
8. The character recognition device according to claim 2, wherein said recognition means comprises: a correspondence between a vertical line of the input pattern and a vertical line of the dictionary pattern;
The correspondence between the horizontal line of the input pattern and the horizontal line of the dictionary pattern,
Along with the sum of the similarity related to the position and length of the associated vertical line and the vertical line, and the similarity related to the position and length of the associated qualifying and horizontal line, together with the sum of the similarity, The character recognition device, wherein the recognition unit determines the dictionary pattern similar to the input pattern according to the sum of the similarities obtained for each dictionary pattern.
【請求項9】請求項2記載の文字認識装置であって前記
入力パターン生成手段は、 前記入力された文字パターンを形成する各ストローク
を、縦線と、横線で近似する要素分解手段と、 前記入力された文字パターンを形成する各ストローク
を、折れ線として近似する折れ線近似手段と、 折れ線の方向が左-右方向の部分と上-下方向の部分と左
上-右下の方向の部分に対応する縦線および横線を抽出
し、 抽出した縦線と横線で、前記文字パターンを近似
する入力パターンを形成する特徴要素抽出手段とを有す
ることを特徴とする文字認識装置。
9. The character recognition device according to claim 2, wherein the input pattern generation means includes: an element decomposition means for approximating each stroke forming the input character pattern with a vertical line and a horizontal line; A polygonal line approximating means for approximating each stroke forming the input character pattern as a polygonal line, and the polygonal line directions correspond to a left-right direction part, an upper-lower part, and an upper left-lower right part. A character recognition apparatus comprising: a vertical line and a horizontal line; and a characteristic element extracting unit configured to form an input pattern that approximates the character pattern using the extracted vertical and horizontal lines.
【請求項10】請求項3または9記載の文字認識装置で
あって、 前記認識手段は、 入力パターンの縦線と辞書パターンの縦線との対応と、
入力パターンの横線と辞書パターンの横線との対応を、
対応づけられた縦線と縦線の位置と長さに関する類似度
と、対応づけられた予選と横線の位置と長さに関する類
似度との総和が最大となるように、当該類似度の総和と
共に求め、かつ前記認識手段は、各辞書パターンについ
て求めた当該類似度の総和に応じて、入力パターンに類
似する辞書パターンを定めることを特徴とする文字認識
装置。
10. The character recognition device according to claim 3, wherein said recognition means comprises: a correspondence between a vertical line of the input pattern and a vertical line of the dictionary pattern;
The correspondence between the horizontal line of the input pattern and the horizontal line of the dictionary pattern,
Along with the sum of the similarity related to the position and length of the associated vertical line and the vertical line, and the similarity related to the position and length of the associated qualifying and horizontal line, together with the sum of the similarity, The character recognition device, wherein the recognition unit determines the dictionary pattern similar to the input pattern according to the sum of the similarities obtained for each dictionary pattern.
【請求項11】請求項10記載の文字認識装置であっ
て、 前記認識手段は、 位置順に並べられた縦線の配列である入力パターンと位
置順に並べられた縦線の配列である辞書パターンとのダ
イレクトパターンマッチングと、位置順並べられた横線
の配列である入力パターンと位置順並べられた横線の配
列である辞書パターンとのダイレクトパターンマッチン
グとを行い、入力パターンの縦線と辞書パターンの縦線
との対応と、入力パターンの横線と辞書パターンの横線
との対応と、対応づけられた縦線と縦線の位置と長さに
関する類似度と対応づけられた予選と横線の位置と長さ
に関する類似度との総和を求めることを特徴とする文字
認識装置。
11. A character recognition apparatus according to claim 10, wherein said recognition means comprises: an input pattern which is an array of vertical lines arranged in position order; and a dictionary pattern which is an array of vertical lines arranged in position order. Direct pattern matching between the input pattern, which is an array of horizontal lines arranged in position order, and a dictionary pattern, which is an array of horizontal lines arranged in position order, and performs the vertical line of the input pattern and the vertical direction of the dictionary pattern. Correspondence with the line, correspondence between the horizontal line of the input pattern and the horizontal line of the dictionary pattern, and the similarity of the associated vertical line and the position and length of the vertical line, and the position and length of the corresponding qualifying and horizontal line A character recognition device for calculating a sum total of similarities with respect to each other.
【請求項12】請求項10または11記載の文字認識装
置であって、 前記認識手段は、 入力パターンの横線と対応づけられなかった辞書パター
ンの横線について、当該辞書パターンの横線との類似度
が所定程度以上大きい横線を、前記要素分解手段がスト
ロークを近似した横線であって入力パターンに含まれて
いない横線の中から探索し、当該辞書パターンの横線と
探索した横線の類似度を前記類似度の総和に加え、入力
パターンの縦線と対応づけられなかった辞書パターンの
縦線について、当該辞書パターンの縦線との類似度が所
定程度以上大きい縦線を、前記要素分解手段がストロー
クを近似した縦線であって入力パターンに含まれていな
い縦線の中から探索し、当該辞書パターンの縦線と探索
した縦線の類似度を前記類似度の総和に加える手段とを
有することを特徴とする文字認識装置。
12. The character recognition device according to claim 10, wherein the recognition unit determines a similarity between a horizontal line of the dictionary pattern and a horizontal line of the dictionary pattern that is not associated with the horizontal line of the input pattern. The element decomposition unit searches for a horizontal line that is larger than a predetermined degree from horizontal lines that are approximate strokes and is not included in the input pattern, and determines the similarity between the horizontal line of the dictionary pattern and the searched horizontal line. In addition to the sum of the vertical lines of the input pattern, the vertical lines of the dictionary pattern that are not associated with the vertical lines of the input pattern are approximated by strokes that are similar to the vertical lines of the dictionary pattern by a predetermined degree or more. Search from among vertical lines that are not included in the input pattern, and calculate the similarity between the vertical line of the dictionary pattern and the searched vertical line to the sum of the similarities. Character recognition apparatus characterized by comprising a obtaining means.
【請求項13】請求項10、11または11記載の文字
認識装置であって、 前記認識手段は、 辞書パターンの横線と対応づけられなかった入力パター
ンの横線および縦線について、当該横線/縦線が文字パ
ターンの続け書きによって生じた部分に対応するもので
あるか否かを、当該横線/縦線に隣接する横線もしくは
縦線と辞書パターンの横線もしくは縦線との対応と、当
該横線と、当該縦線に隣接する横線もしくは縦線との位
置関係とに応じて判定し、続け書きによって生じた部分
に対応するものである場合には類似度の総和を増加させ
る、もしくは、続け書きによって生じた部分に対応しな
いものである場合には類似度の総和を減少させることを
特徴とする文字認識装置。
13. A character recognition apparatus according to claim 10, 11 or 11, wherein said recognition means determines a horizontal line / vertical line of an input pattern which is not associated with a horizontal line of a dictionary pattern. Whether or not corresponds to the portion caused by continuous writing of the character pattern, the correspondence between the horizontal line or vertical line adjacent to the horizontal line / vertical line and the horizontal line or vertical line of the dictionary pattern, and the horizontal line, Judgment is made according to the horizontal line or the vertical line adjacent to the vertical line, and if it corresponds to the portion generated by continuous writing, the total sum of similarities is increased, or it is generated by continuous writing. A character recognition device that reduces the sum of similarities when the portion does not correspond to the part that has been set.
JP8296519A 1996-11-08 1996-11-08 Character recognizing device Pending JPH10143610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8296519A JPH10143610A (en) 1996-11-08 1996-11-08 Character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8296519A JPH10143610A (en) 1996-11-08 1996-11-08 Character recognizing device

Publications (1)

Publication Number Publication Date
JPH10143610A true JPH10143610A (en) 1998-05-29

Family

ID=17834592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8296519A Pending JPH10143610A (en) 1996-11-08 1996-11-08 Character recognizing device

Country Status (1)

Country Link
JP (1) JPH10143610A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7298904B2 (en) 2004-01-14 2007-11-20 International Business Machines Corporation Method and apparatus for scaling handwritten character input for handwriting recognition
US8346533B2 (en) 2005-01-13 2013-01-01 International Business Machines Corporation Compiling word usage frequencies

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7298904B2 (en) 2004-01-14 2007-11-20 International Business Machines Corporation Method and apparatus for scaling handwritten character input for handwriting recognition
US8346533B2 (en) 2005-01-13 2013-01-01 International Business Machines Corporation Compiling word usage frequencies
US8543373B2 (en) 2005-01-13 2013-09-24 International Business Machines Corporation System for compiling word usage frequencies

Similar Documents

Publication Publication Date Title
JP5071914B2 (en) Recognition graph
US5454046A (en) Universal symbolic handwriting recognition system
EP1971957B1 (en) Methods and apparatuses for extending dynamic handwriting recognition to recognize static handwritten and machine generated text
EP1564675B1 (en) Apparatus and method for searching for digital ink query
US7369702B2 (en) Template-based cursive handwriting recognition
JPH0844826A (en) Collating method of handwritten input
JPH0620099A (en) Method and apparatus for establishment of model in on-line handwritten character recognition system
JP2001325564A (en) Retrieval of handwritten comment in chinese character in cursive style based upon radical model
JP4817297B2 (en) Character search device
JP4704601B2 (en) Character recognition method, program, and recording medium
Singh et al. Online handwritten Gurmukhi words recognition: An inclusive study
JPH10143610A (en) Character recognizing device
JPH0610829B2 (en) Handwriting recognition method
Tonouchi et al. An On-line Japanese character recognition method using length-based stroke correspondence algorithm
JPH09319828A (en) On-line character recognition device
JP3657077B2 (en) Online character recognition device
JPH0736433A (en) Character data base preparing device
JPH09330377A (en) Device and method for recognizing handwritten character
JP2882327B2 (en) Line figure matching device
Moon et al. Representation of hand written English characters by a sequence of fuzzy sets
JP2001060250A (en) Method and device for character recognition
JPH09269974A (en) 0n-line character recognition device
JPH07302305A (en) Device for recognizing hand-written character
Kim et al. Matching algorithm for hangul recognition based on PDA
JPH0944599A (en) Information processor and information processing method