JPH1049631A - Online handwritten character recognition method and apparatus - Google Patents
Online handwritten character recognition method and apparatusInfo
- Publication number
- JPH1049631A JPH1049631A JP9132620A JP13262097A JPH1049631A JP H1049631 A JPH1049631 A JP H1049631A JP 9132620 A JP9132620 A JP 9132620A JP 13262097 A JP13262097 A JP 13262097A JP H1049631 A JPH1049631 A JP H1049631A
- Authority
- JP
- Japan
- Prior art keywords
- dictionary
- input
- character
- feature amount
- stroke
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 34
- 238000007796 conventional method Methods 0.000 description 4
- 230000007812 deficiency Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000010485 coping Effects 0.000 description 1
Landscapes
- Character Discrimination (AREA)
Abstract
(57)【要約】
【課題】 筆順誤りや画数の違いがあっても認識可能と
し、しかも、少ない計算量で高速に文字認識する必要が
ある。
【解決手段】 辞書には認識対象の文字を構成するに最
低限必要でしかも他の文字と明確に区別できる特徴量の
みを登録しておく。そして、辞書に登録された或る文字
を構成する前記特徴量を1つずつ読み出して、読み出さ
れた特徴量と入力文字を構成するそれぞれの特徴量とを
照合して類似度を求め、求められた類似度を基に、辞書
の特徴量と入力された文字の特徴量とを対応付けし(ス
テップS2〜S6)、対応付けされずに余った辞書の特
徴量または入力文字の特徴量からその特徴量に応じたエ
ラー値を得て(ステップS7〜S9)、そのエラー値を
考慮して、前記辞書から読み出された文字と入力文字と
の間の合計の類似度を求めて、その類似度をもとに認識
結果を出力する(ステップS10〜S12)。
(57) [Summary] [Problem] It is necessary to be able to recognize even if there is a stroke order error or a difference in the number of strokes, and to recognize characters at high speed with a small amount of calculation. SOLUTION: In a dictionary, only a minimum feature amount necessary for constituting a character to be recognized and which can be clearly distinguished from other characters is registered. Then, the feature amounts constituting a certain character registered in the dictionary are read one by one, and the read feature amount is compared with each feature amount constituting the input character to obtain a similarity. Based on the obtained similarity, the feature amount of the dictionary is associated with the feature amount of the input character (steps S2 to S6). An error value corresponding to the feature amount is obtained (steps S7 to S9), and in consideration of the error value, a total similarity between the character read from the dictionary and the input character is obtained. A recognition result is output based on the similarity (steps S10 to S12).
Description
【0001】[0001]
【発明の属する技術分野】本発明は、入力文字の特徴量
と辞書に登録されている特徴量とを対応付けして、文字
認識を行うオンライン手書き文字認識において、筆順の
誤りやストロークの続け、省略があっても認識可能とし
たオンライン手書き文字認識方法および装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an online handwritten character recognition for recognizing a character by associating a characteristic amount of an input character with a characteristic amount registered in a dictionary. The present invention relates to an on-line handwritten character recognition method and apparatus that can be recognized even if omitted.
【0002】[0002]
【従来の技術】オンライン手書き文字認識は、入力筆跡
情報と辞書に登録された筆跡情報とのマッチングを取
り、類似度の高い辞書パターンを認識結果とすることが
一般に行われている。このようなオンライン手書き文字
認識においては、筆跡の情報として、一般に文字の画数
に対応したストロークや、そのストロークを分割した部
分ストロークの特徴を用い、入力された文字を構成する
ストローク(入力ストロークと呼ぶ)と辞書に登録され
たストローク(辞書ストロークと呼ぶ)との類似度を求
めることで認識することが従来より普通に行われてい
る。2. Description of the Related Art In general, online handwritten character recognition is performed by matching input handwriting information with handwriting information registered in a dictionary, and using a dictionary pattern having a high degree of similarity as a recognition result. In such online handwritten character recognition, strokes (referred to as input strokes) that constitute an input character are generally used as handwriting information, using strokes corresponding to the number of strokes of the character and features of partial strokes obtained by dividing the stroke. ) And a stroke registered in a dictionary (referred to as a dictionary stroke), the recognition is usually performed.
【0003】このような認識方法において、認識を行う
際、筆順情報や入力ストロークがその文字において何画
目かという画数情報を用いて認識を行う方法がある。In such a recognition method, there is a method of performing recognition using stroke order information and stroke number information indicating the number of strokes of the input stroke in the character.
【0004】このような筆順や画数の情報を用いた文字
認識は、類似度を計算する際、入力ストロークと辞書ス
トロークを対応付けて同じ画に絞ってマッチングを行う
ので、類似度の計算量が少なく認識処理を高速に行える
という利点があるが、入力文字の筆順や画数が誤ってい
ると認識できないため、筆順違いに対応するためには、
規則に従って、入力ストロークを並べ替えたり、入力ス
トロークと辞書ストロークを1つ1つ照合して対応づけ
ていく必要がある。さらに、画数間違いに対応するため
には、規則に従って入力ストロークを並べ替えるだけで
は、入力ストロークの過不足により、辞書ストロークと
の対応がずれて正確な対応付けが行えないので、入力ス
トロークと辞書ストロークとを1つ1つ照合して対応付
けするのが一般的である。[0004] In character recognition using such information on the stroke order and the number of strokes, when calculating the similarity, the input stroke and the dictionary stroke are associated with each other to perform matching and narrowing down to the same image. There is an advantage that the recognition process can be performed at a low speed, but it is not possible to recognize that the stroke order and the number of strokes of the input characters are incorrect.
According to the rules, it is necessary to rearrange the input strokes or to collate the input strokes with the dictionary strokes one by one to make correspondence. Furthermore, in order to cope with an incorrect number of strokes, simply rearranging the input strokes in accordance with the rules will cause the correspondence between the dictionary strokes to shift due to excessive or insufficient input strokes, making accurate correspondence impossible. It is a general practice to collate and associate with each other.
【0005】ここで、前記画数違いとは、入力ストロー
クに続けがあって、入力ストロークが省略されているよ
うな場合や、ノイズストロークが入力されている場合な
どが考えられる。このような画数違いが有ると、入力ス
トロークと辞書ストロークとを1つ1つ照合したときに
過不足が生じる。この過不足に対応する従来の方法とし
て、 (イ)入力ストロークまたは辞書ストロークのどちらか
多い方を余らせる方法(特公昭63−62784:以
下、第1の従来技術という)。[0005] Here, the difference in the number of strokes may be the case where the input stroke is continued and the input stroke is omitted, or the case where a noise stroke is input. If there is such a difference in the number of strokes, excess or deficiency occurs when the input stroke and the dictionary stroke are collated one by one. As a conventional method for coping with the excess or deficiency, (a) a method of leaving the larger of an input stroke and a dictionary stroke (Japanese Patent Publication No. 63-62784: hereinafter, referred to as a first conventional technique).
【0006】(ロ)余ったストロークを直前の筆順のス
トロークに結合させる方法(特公平2−11950:以
下、第2の従来技術という)。(B) A method of combining an extra stroke with a stroke in the immediately preceding stroke order (Japanese Patent Publication No. 2-1950: hereinafter referred to as a second prior art).
【0007】(ハ)余ったストロークを前または後の筆
順のいずれかのストロークに結合させる方法(特公平3
−66703:以下、第3の従来技術という)。(C) A method of combining a surplus stroke with a stroke in either the front or rear stroke order (Japanese Patent Publication No.
-66703: hereinafter referred to as a third conventional technique).
【0008】(ニ)余ったストロークを辞書に記されて
いるストロークと照合し、ストローク間の結合し易さに
したがって結合させる方法(特公平4−4633:以
下、第4の従来技術という)。(D) A method in which surplus strokes are collated with strokes described in a dictionary, and the strokes are combined in accordance with the ease with which the strokes can be combined (Japanese Patent Publication No. 4-4633: hereinafter referred to as a fourth prior art).
【0009】がある。[0009] There is.
【0010】[0010]
【発明が解決しようとする課題】前記第1の従来技術
は、入力パターンと辞書パターンとの間に包含関係があ
ると、一方が他方に埋め込まれて誤認識の原因となるこ
と、少ない方の画数分のみのストロークの重ね合わせで
は、誤画数で筆記した際に生ずる特有の手書き変形に対
処できないなどの問題があり、これらの問題点が前記第
2の従来技術で指摘されている。According to the first prior art, when there is an inclusion relationship between an input pattern and a dictionary pattern, one of them is embedded in the other and causes erroneous recognition. There is a problem in that the overlapping of strokes of only the number of strokes cannot cope with a unique handwritten deformation that occurs when writing with the wrong number of strokes. These problems have been pointed out in the second prior art.
【0011】たとえば、図8(a)に示されるように、
「日」という文字の辞書パターンと「目」という文字の
入力パターンを考えると、「日」という文字の辞書パタ
ーンが「目」という文字の入力パターンに包含される関
係にある。このような包含関係にある文字のストローク
同士を第1の従来技術を用いて対応づけようとすると、
同図(b)に示されるように、入力ストロークの方に余
りが生じるが(この例では、3画目の入力ストロークが
余っている)、この場合、他のストローク間の対応付け
の状態により、入力された文字を「日」と誤認識する可
能性がある。For example, as shown in FIG.
Considering the dictionary pattern of the character "day" and the input pattern of the character "eye", the dictionary pattern of the character "day" is included in the input pattern of the character "eye". When trying to associate strokes of characters having such an inclusion relationship with each other using the first conventional technique,
As shown in FIG. 6B, a remainder occurs in the input stroke (in this example, the third stroke is left), but in this case, depending on the state of association between other strokes. , The input character may be erroneously recognized as “day”.
【0012】また、前記第2〜第4の従来技術は、余っ
たストロークをそれぞれの方法で結合する技術である
が、いずれも計算量が多く、処理速度の点で問題があっ
た。The second to fourth prior arts are techniques for combining the remaining strokes by respective methods. However, all of them involve a large amount of calculation and have a problem in processing speed.
【0013】そこで、本発明は、筆順や画数が間違って
いても認識可能で、包含関係にある文字間の認識をも可
能とし、また、楷書、続け字の両方に対応でき、しか
も、マッチングの計算量を少なくし認識速度の高速化を
図れるオンライン手書き文字認識方法および装置を実現
することを目的とする。Accordingly, the present invention is capable of recognizing even if the stroke order and the number of strokes are wrong, enabling recognition between characters having an inclusive relationship, and being able to cope with both square and continuous characters. An object of the present invention is to realize an on-line handwritten character recognition method and apparatus capable of reducing the amount of calculation and increasing the recognition speed.
【0014】[0014]
【課題を解決するための手段】本発明のオンライン手書
き文字認識方法は、ある文字が入力されることによりそ
の文字を構成する特徴量を抽出し、その抽出された特徴
量と、辞書に登録されている特徴量とを照合して対応付
けすることにより、入力文字の認識を行うオンライン手
書き文字認識方法において、前記辞書に登録される認識
対象文字の1つずつの文字を構成するそれぞれの特徴量
は、その文字を構成するに最低限必要でしかも他の文字
と明確に区別できる特徴量とし、入力文字の特徴量との
対応付けを行う際、辞書に登録された或る文字を構成す
る前記特徴量を1つずつ読み出して、読み出された特徴
量と入力文字を構成するそれぞれの特徴量とを照合して
類似度を求め、求められた類似度を基に、辞書の特徴量
と入力された文字の特徴量とを対応付けし、対応付けさ
れずに余った辞書の特徴量(辞書残特徴量)または対応
付けされずに余った入力文字の特徴量(入力残特徴量)
からその特徴量に応じたエラー値を得て、そのエラー値
を考慮して、前記辞書から読み出された文字と入力文字
との間の合計の類似度を求めるものである。According to an on-line handwritten character recognition method of the present invention, when a certain character is inputted, a characteristic amount constituting the character is extracted, and the extracted characteristic amount is registered in a dictionary. In the online handwritten character recognition method for recognizing an input character by collating and associating a feature amount with each other, each feature amount constituting one character of a recognition target character registered in the dictionary Is a feature amount that is minimum necessary to compose the character and can be clearly distinguished from other characters, and when associating with a feature amount of an input character, the character amount constituting a certain character registered in the dictionary is The feature values are read one by one, and the read feature values are compared with the respective feature values constituting the input character to obtain a similarity. Based on the obtained similarity, a dictionary feature value and an input value are input. Characters And associating the feature quantity, the feature quantity dictionary surplus without being correspondence (Dictionary remaining features) or feature amount of correlation is not in excess input character (input remaining features)
, An error value corresponding to the feature value is obtained from the data, and the total similarity between the character read from the dictionary and the input character is obtained in consideration of the error value.
【0015】そして、前記辞書残特徴量に対して設定さ
れるエラー値と入力残特徴量に対して設定されるエラー
値とで、それぞれのエラー値に対する重みを変え、辞書
残特徴量に対して設定されるエラー値を入力残特徴量に
対して設定されるエラー値より大きくするような重み付
けを行うようにする。The weight for each error value is changed between the error value set for the dictionary remaining feature amount and the error value set for the input remaining feature amount. Weighting is performed so that the set error value is larger than the error value set for the remaining input feature amount.
【0016】また、前記辞書残特徴量に対して設定され
るエラー値は、辞書作成時における各文字を構成する特
徴量の出現頻度の大きい特徴量に対してはエラー値を大
きくするような重み付けを行うようにする。The error value set for the dictionary remaining feature amount is weighted so as to increase the error value for a feature amount having a high appearance frequency of the feature amount constituting each character when the dictionary is created. To do.
【0017】また、前記入力残特徴量に対して設定され
るエラー値は、入力文字の特徴量を分割し幾つかの部分
特徴量に分けて照合する場合には、入力残特徴量に関し
ては、孤立した特徴量の場合と、ある特徴量の一部が残
っている部分特徴量の場合とで重みを変え、孤立特徴量
のエラー値を部分特徴量のエラー値より大きくするよう
な重み付けを行うようにする。The error value set with respect to the remaining input feature may be obtained by dividing the feature of the input character into several partial features and collating them. The weight is changed between the case of the isolated feature and the case of the partial feature in which a part of a certain feature remains, and weighting is performed so that the error value of the isolated feature is larger than the error value of the partial feature. To do.
【0018】そして、前記特徴量は、ストロークとす
る。The feature amount is a stroke.
【0019】また、本発明のオンライン手書き文字認識
装置は、ある文字が入力されることによりその文字を構
成する特徴量を抽出し、その抽出された特徴量と、辞書
に登録されている特徴量とを照合して対応付けすること
により、入力文字の認識を行うオンライン手書き文字認
識装置において、入力された文字からその文字を構成す
るそれぞれの特徴量を抽出する特徴量抽出手段と、認識
対象の各文字毎にその文字を構成するそれぞれの特徴量
のうち、その文字を構成するに最低限必要でしかも他の
文字と明確に区別できる特徴量が登録される辞書と、こ
の辞書に登録された特徴量と前記特徴量抽出手段により
抽出された入力文字の特徴量との間の類似度を求める類
似度計算部と、前記類似度計算部で求められた類似度を
基に特徴量同士の対応付けを行うとともに、その対応付
け処理により対応付けされずに余った辞書の特徴量(辞
書残特徴量)または対応付けされずに余った入力文字の
特徴量(入力残特徴量)から、その特徴量に応じたエラ
ー値を得て、そのエラー値を考慮して前記辞書から読み
出された文字と入力文字との間の合計の類似度を求める
対応付け処理部とを有したことを特徴としている。Further, the on-line handwritten character recognition device of the present invention extracts a characteristic amount constituting a character when a certain character is input, and extracts the extracted characteristic amount and the characteristic amount registered in the dictionary. In an online handwritten character recognition device for recognizing input characters, a feature amount extracting means for extracting each feature amount constituting the character from the input character, A dictionary in which, for each character, a feature amount that is minimum necessary to compose the character and that can be clearly distinguished from other characters is registered, and a feature amount that is registered in this dictionary. A similarity calculating unit for calculating a similarity between the characteristic amount and the characteristic amount of the input character extracted by the characteristic amount extracting unit; and a similarity calculating unit that calculates the similarity between the characteristic amounts based on the similarity calculated by the similarity calculating unit. The matching is performed, and the feature amount of the dictionary that has not been matched by the matching process (dictionary remaining feature amount) or the feature amount of the input character that has not been matched (the remaining input feature amount) is An association processing unit that obtains an error value corresponding to the feature amount, and calculates a total similarity between a character read from the dictionary and an input character in consideration of the error value. And
【0020】そして、前記辞書残特徴量に対して設定さ
れるエラー値と入力残特徴量に対して設定されるエラー
値とで、それぞれのエラー値に対する重みを変え、辞書
残特徴量に対して設定されるエラー値を入力残特徴量に
対して設定されるエラー値より大きくするような重み付
けを行うようにしている。The weight for each error value is changed between the error value set for the dictionary remaining feature amount and the error value set for the input remaining feature amount. Weighting is performed so that the set error value is larger than the error value set for the remaining input feature amount.
【0021】また、前記辞書残特徴量に対して設定され
るエラー値は、辞書作成時における各文字を構成する特
徴量の出現頻度の大きい特徴量に対してはエラー値を大
きくするような重み付けを行うようにする。The error value set for the dictionary remaining feature amount is weighted so as to increase the error value for a feature amount having a high frequency of appearance of the feature amount constituting each character when the dictionary is created. To do.
【0022】また、前記入力残特徴量に対して設定され
るエラー値は、入力文字の特徴量を分割し幾つかの部分
特徴量に分けて照合する場合には、入力残特徴量に関し
ては、孤立した特徴量の場合と、ある特徴量の一部が残
っている部分特徴量の場合とで重みを変え、孤立特徴量
のエラー値を部分特徴量のエラー値より大きくするよう
な重み付けを行うようにする。The error value set for the remaining input feature may be obtained by dividing the feature of the input character into several partial features and collating them. The weight is changed between the case of the isolated feature and the case of the partial feature in which a part of a certain feature remains, and weighting is performed so that the error value of the isolated feature is larger than the error value of the partial feature. To do.
【0023】そして、前記特徴量は、ストロークとす
る。The feature quantity is a stroke.
【0024】このような手段を用いることにより、本発
明は、対応付けされない余った特徴量に対してエラー値
を与え、このエラー値を考慮して合計の類似度を求める
ことにより、筆順や画数が間違って入力された文字に対
しても認識可能となり、入力文字パターンと辞書パター
ンとに包含関係のある場合でも誤認識することなく高い
認識率での認識が可能となる。しかも、余った特徴量同
士を結合するといった処理が不要であるので、処理速度
の高速化が図れる。By using such means, the present invention gives an error value to the surplus feature amount that is not associated, and calculates the total similarity in consideration of the error value, thereby obtaining the stroke order and the number of strokes. Can be recognized even if a character is erroneously input, and even if there is an inclusive relationship between the input character pattern and the dictionary pattern, recognition can be performed at a high recognition rate without erroneous recognition. In addition, since there is no need to perform a process of combining the remaining features, the processing speed can be increased.
【0025】また、本発明では、エラー値に対して種々
の条件に応じて重み付けを行っている。まず、辞書残特
徴量に対して設定されるエラー値を入力残特徴量に対し
て設定されるエラー値より大きくするような重み付けを
行うようにする。また、辞書残特徴量に対して設定され
るエラー値は、辞書作成時における各文字を構成する特
徴量の出現頻度の大きい特徴量に対してはエラー値を大
きくするような重み付けを行う。これは、文字を構成す
る上で重要な特徴量が余った場合には、入力文字との対
応が付けにくいということであり、このような場合には
エラー値を大きくして誤認識を防止するようにしてい
る。さらに、前記入力残特徴量に対して設定されるエラ
ー値は、入力文字の特徴量を分割し幾つかの部分特徴量
に分けて照合する場合には、入力残特徴量に関しては、
孤立特徴量のエラー値を部分特徴量のエラー値より大き
くする。これは、孤立特徴量は、本来、書かれるべき入
力特徴量であり、書かれるべき入力特徴量が余る場合
は、エラー値を大きくした方がより正確な対応付けが行
えるからである。In the present invention, the error value is weighted according to various conditions. First, weighting is performed so that the error value set for the dictionary remaining feature amount is larger than the error value set for the input remaining feature amount. The error value set for the dictionary remaining feature value is weighted so that the error value is increased for a feature value having a high frequency of appearance of the feature value constituting each character when the dictionary is created. This means that it is difficult to associate with the input character when there is a surplus of important features in forming the character. In such a case, the error value is increased to prevent erroneous recognition. Like that. Further, the error value set for the input remaining feature amount is, in the case where the feature amount of the input character is divided and divided into several partial feature amounts for collation, regarding the input remaining feature amount,
The error value of the isolated feature is made larger than the error value of the partial feature. This is because the isolated feature is originally an input feature to be written, and when there are remaining input features to be written, a larger error value allows more accurate association.
【0026】このように、それぞれの条件によりエラー
値に重み付けを行うことことで、種々の条件に対応した
的確な認識が可能となる。As described above, by weighting the error value according to each condition, accurate recognition corresponding to various conditions can be performed.
【0027】また、特徴量をストロークとすることで、
特徴量の抽出が容易で、類似度の計算がしやすく、高精
度な認識が可能となる。Further, by making the feature amount a stroke,
The feature amount can be easily extracted, the similarity can be easily calculated, and highly accurate recognition can be performed.
【0028】[0028]
【発明の実施の形態】以下本発明の実施の形態を説明す
る。Embodiments of the present invention will be described below.
【0029】図1は本発明の実施の形態を説明するブロ
ック図であり、タブレット上にペンなどで入力された文
字に対する座標データを時系列データとして出力する文
字入力部1、この文字入力部1から送られてくる時系列
の座標データをもとに、その文字を構成する特徴量とし
てのストロークを抽出するストローク抽出部2、認識対
象の各文字毎にその文字を構成するそれぞれの特徴量と
して、その文字を構成するに最低限必要でしかも他の文
字と明確に区別できるストロークデータが登録される辞
書3、この辞書3から読み出された或る1つの文字を構
成するストロークのうちの1本の辞書ストロークと、入
力された文字を構成するそれぞれの入力ストロークとを
照合し、類似度を計算する類似度計算部4、この類似度
計算部4により求められた類似度に基づいて、辞書から
読み出された辞書ストロークとの対応付けを行うととも
に、その対応付け処理により対応付けされずに余った辞
書のストロークまたは対応付けされずに余った入力文字
のストロークから、そのストロークの特徴量に応じたエ
ラー値、たとえば、始点・終点の位置データから長さを
求めてその長さに応じたエラー値を求めて、そのエラー
値を考慮して前記辞書から読み出された文字と入力文字
との間の合計の類似度を求める対応付け処理部5、この
対応付け処理部5で得られた結果をもとに入力文字の認
識結果を出力する認識結果出力部6などから構成されて
いる。FIG. 1 is a block diagram for explaining an embodiment of the present invention. A character input unit 1 for outputting coordinate data for a character input with a pen or the like on a tablet as time-series data, and this character input unit 1 A stroke extraction unit 2 for extracting a stroke as a feature amount constituting the character based on the time-series coordinate data sent from the A dictionary 3 in which stroke data which is at least necessary to constitute the character and which can be clearly distinguished from other characters is registered; one of strokes constituting a certain character read out from the dictionary 3; A similarity calculation unit 4 that collates the dictionary strokes with the respective input strokes constituting the input characters and calculates the similarity, and calculates the similarity by the similarity calculation unit 4. Based on the obtained similarity, the dictionary strokes associated with the dictionary strokes read from the dictionary are associated with each other. From the stroke, an error value corresponding to the characteristic amount of the stroke, for example, a length is obtained from the position data of the start point / end point, an error value corresponding to the length is obtained, and the error value is taken into consideration from the dictionary. An association processing unit 5 for calculating the total similarity between the read character and the input character, and a recognition result output for outputting a recognition result of the input character based on the result obtained by the association processing unit 5 It is composed of a unit 6 and the like.
【0030】前記辞書3は、前記したように、認識対象
の各文字毎にその文字を構成するそれぞれのストローク
として、その文字を構成するに最低限必要でしかも他の
文字と明確に区別できるストロークデータが登録される
が、そのストロークの一例を図2に示す。As described above, the dictionary 3 includes, for each character to be recognized, a stroke which is at least necessary for composing the character and which can be clearly distinguished from other characters. Data is registered, and an example of the stroke is shown in FIG.
【0031】図2は「海」という文字を構成するに最低
限必要でしかも他の文字と明確に区別できるストローク
L1,L2,・・・,L7を示すもので、「海」という
文字に対してはこのようなストロークL1,L2,・・
・,L7のデータが辞書ストロークとして登録される。
前記文字を構成するに最低限必要なストロークとは、あ
る文字を多数の筆者に筆記させた場合、省略されること
の少ないストロークを指している。そして、さらに、他
の文字との区別を行うに必要なストロークがそれぞれの
文字毎に登録されている。FIG. 2 shows strokes L1, L2,..., L7 which are the minimum necessary to construct the character "sea" and can be clearly distinguished from other characters. Such strokes L1, L2,.
, L7 data is registered as a dictionary stroke.
The minimum necessary stroke for constituting the character refers to a stroke that is rarely omitted when a large number of writers write a certain character. Further, strokes necessary for distinguishing from other characters are registered for each character.
【0032】なお、入力された文字を構成するそれぞれ
の入力ストロークとの照合を行う際、或る1つの文字を
構成する何本かの辞書ストロークの照合順序は、種々考
えられるが、登録された辞書ストロークの中で正しい筆
順に従って1本ずつ読み出すようにしてもよく、また、
照合しやすい順を予め決めておいてもよい。When collating with each input stroke constituting an input character, the collation order of several dictionary strokes constituting a certain character can be variously considered. You may read one by one according to the correct stroke order in the dictionary stroke,
The order in which the matching is easy may be determined in advance.
【0033】たとえば、入力ストロークとの照合を行う
際、それぞれの入力ストロークとの間での対応付け誤り
の少ないと思われる順番に照合を行うように照合順を設
定するようにしてもよい。この対応付けの誤りの少ない
順とは、具体的には、 (1)1つの文字を構成するストロークのうち特徴的な
ストローク(たとえば、長さの長いストローク)から順
に照合を行うように順序を記述しておく。For example, when collation with an input stroke is performed, the collation order may be set such that the collation is performed in an order in which there is little correspondence error with each input stroke. The order in which the number of errors in the association is small includes, specifically, (1) an order in which matching is performed in order from a characteristic stroke (for example, a stroke having a long length) among strokes constituting one character. Write it down.
【0034】(2)1つの文字を構成するストロークの
うち文字の外縁に位置するストロークから順に照合を行
うように順序を記述しておく。(2) The order is described so that the collation is performed in order from the stroke located at the outer edge of the character among the strokes constituting one character.
【0035】(3)1つの文字を構成するストロークの
うち特定の方向に位置するストロークから順に照合を行
うように順序を記述しておく。(3) The order is described so that the matching is performed in order from the stroke located in a specific direction among the strokes constituting one character.
【0036】(4)前記(1)〜(3)を任意に組み合
わせた順序、たとえば前記(1)と(2)を組み合わ
せ、外縁に位置し、しかも特徴的なストローク(たとえ
ば、長さの長いストローク)から順に照合を行うように
順序を記述しておく。(4) An order in which the above (1) to (3) are arbitrarily combined, for example, a combination of the above (1) and (2), which is located at the outer edge and has a characteristic stroke (for example, long The order is described so that the matching is performed in order from the (stroke).
【0037】などが考えられる。And the like.
【0038】ただし、この実施の形態における照合の順
番は、登録された辞書ストロークの中で正しい筆順に従
って1本ずつ読み出されるような順番を辞書に記述して
おくものとする。However, the order of collation in this embodiment is described in a dictionary such that the registered strokes are read out one by one according to the correct stroke order.
【0039】今、図3に示すような入力ストロークi
1,i2,・・・,i7が入って来たとする(その時点
で入力されたストロークを太線で示す)。Now, an input stroke i as shown in FIG.
It is assumed that 1, i2,..., I7 have entered (the stroke input at that time is indicated by a thick line).
【0040】辞書3には認識対象の文字すべてについ
て、それぞれの文字毎の辞書ストロークが登録されてい
るが、図3は認識対象文字のなかの1つの文字として
「海」という文字の辞書ストロークL1,L2,・・
・,L7が予め記述された順番(この場合、正しい筆順
に従った順番)で読み出された例を示している(読み出
された辞書ストロークを太線で示す)。そして、登録さ
れている辞書ストロークL1,L2,・・・,L7は、
前記したように、それぞれの文字毎に、その文字を構成
するに最低限必要でしかも他の文字と明確に区別できる
ストロークが登録されるが、「海」の場合、図2に示す
ようなストロークが辞書ストロークL1,L2,・・
・,L7として登録されている。In the dictionary 3, dictionary strokes for each character are registered for all the characters to be recognized. FIG. 3 shows the dictionary stroke L1 of the character "Umi" as one of the characters to be recognized. , L2, ...
., L7 are read out in the order described in advance (in this case, the order according to the correct stroke order) (the read dictionary strokes are indicated by bold lines). The registered dictionary strokes L1, L2,..., L7 are
As described above, for each character, a stroke that is at least necessary to compose the character and that can be clearly distinguished from other characters is registered. In the case of “sea,” a stroke as shown in FIG. 2 is registered. Are the dictionary strokes L1, L2,.
., L7.
【0041】まず、辞書3から1番目の順番に設定され
た辞書ストロークL1が読み出され、類似度計算部4に
より、読み出された1番目の辞書ストロークL1と、入
力ストロークi1,i2,・・・,i7を、入力ストロ
ークi1から順に照合し、それぞれの類似度を計算す
る。これにより、辞書ストロークL1に対する入力スト
ロークi1,i2,・・・,i7の類似度がそれぞれ求
められるが、ここでは、図を簡略化するために、辞書ス
トロークL1と入力ストロークi1,i2,・・・,i
7の間の類似度のうち、最大の類似度のみを示してい
る。つまり、図3では、辞書ストロークL1に対して
は、入力ストロークi1との間で求められた類似度d1
1が最大類似度であり、辞書ストロークL1と入力スト
ロークi1が対応付けられたことを示している。First, the dictionary strokes L1 set in the first order are read from the dictionary 3, and the similarity calculation unit 4 reads the read first dictionary strokes L1 and the input strokes i1, i2,. .., I7 are collated in order from the input stroke i1, and respective similarities are calculated. By this, the similarity of the input strokes i1, i2,..., I7 to the dictionary stroke L1 is obtained. Here, in order to simplify the drawing, the dictionary stroke L1 and the input strokes i1, i2,.・, I
Among the similarities between 7, only the maximum similarity is shown. That is, in FIG. 3, the similarity d1 obtained between the dictionary stroke L1 and the input stroke i1 is obtained.
1 is the maximum similarity, and indicates that the dictionary stroke L1 and the input stroke i1 are associated with each other.
【0042】次に、辞書3から2番目の順番に設定され
た辞書ストロークL2が読み出され、類似度計算部4に
より、読み出された2番目の辞書ストロークL2と、入
力ストロークi1,i2,・・・,i7を、入力ストロ
ークi1から順に照合し、それぞれの類似度を計算す
る。これにより、辞書ストロークL2に対する入力スト
ロークi1,i2,・・・,i7の類似度がそれぞれ求
められ、この場合、辞書ストロークL2に対しては、入
力ストロークi2との間で求められた類似度d22が最
大類似度であり、辞書ストロークL2に対して入力スト
ロークi2が対応づけられる。Next, the dictionary stroke L2 set in the second order from the dictionary 3 is read out, and the similarity calculation section 4 reads out the read out second dictionary stroke L2 and the input strokes i1, i2, .., I7 are collated in order from the input stroke i1, and the similarity is calculated. Thereby, the similarity of the input strokes i1, i2,..., I7 to the dictionary stroke L2 is obtained. In this case, the similarity d22 obtained from the dictionary stroke L2 to the input stroke i2 is obtained. Is the maximum similarity, and the input stroke i2 is associated with the dictionary stroke L2.
【0043】このようにして、辞書3から辞書ストロー
クを順番に読み出して、読み出された辞書ストローク
と、入力ストロークi1,i2,・・・,i7を照合
し、それぞれの類似度を計算し、求められた類似度を基
に、対応付け処理部5により、辞書ストロークと入力ス
トロークとを対応づける。これにより、1番目の辞書ス
トロークL1に対しては1番目の入力ストロークi1が
対応付けされ、2番目の辞書ストロークL2に対しては
2番目の入力ストロークi2が対応付けされ、3番目の
辞書ストロークL3に対しては3番目の入力ストローク
i3が対応付けされるというようにして、それぞれの辞
書ストロークL1,L2,・・・,L7に対して入力ス
トロークが対応付けられる。Thus, the dictionary strokes are sequentially read from the dictionary 3, the read dictionary strokes are collated with the input strokes i1, i2,..., I7, and the similarities are calculated. Based on the obtained similarity, the association processing unit 5 associates the dictionary stroke with the input stroke. Thereby, the first dictionary stroke L1 is associated with the first input stroke i1, the second dictionary stroke L2 is associated with the second input stroke i2, and the third dictionary stroke L2 is associated with the first dictionary stroke L2. L3 is associated with the third input stroke i3, and the input stroke is associated with each of the dictionary strokes L1, L2,..., L7.
【0044】この例は、辞書ストロークと入力ストロー
クとの間の過不足なく対応付けられた例であるが、以下
に、辞書ストロークあるいは入力ストロークのいずれか
が余る場合について説明する。This example is an example in which the dictionary strokes and the input strokes are associated with each other without excess or deficiency. The case where either the dictionary strokes or the input strokes remain will be described below.
【0045】まず、辞書ストロークが余る場合につい
て、図4を参照しながら説明する。この図4の例は、
「毎」という文字が入力された場合、その「毎」という
文字の入力ストロークと、辞書3に登録されている認識
可能な文字のうち、「海」の辞書ストロークとの照合を
行う例について説明するものである。この場合、「海」
という文字の辞書ストロークは、前記したように、
「海」を構成するに最低限必要でしかも他の文字と明確
に区別できるストロークとして、辞書ストロークL1,
L2,・・・,L7が登録されている。First, the case where there is an extra dictionary stroke will be described with reference to FIG. The example of FIG.
An example will be described in which, when the character “every” is input, the input stroke of the character “every” is compared with the dictionary stroke of “sea” among the recognizable characters registered in the dictionary 3. Is what you do. In this case, "sea"
The dictionary stroke of the character
Dictionary strokes L1 and L2 are minimum strokes required to compose "sea" and can be clearly distinguished from other characters.
L2,..., L7 are registered.
【0046】まず、辞書3から1番目の順番に設定され
た辞書ストロークL1が読み出され、類似度計算部4に
より、読み出された1番目の辞書ストロークL1と、
「毎」を構成する入力ストロークi11,i12,・・
・,i16を、入力ストロークi11から順に照合し、
類似度計算部4によりそれぞれの類似度を計算する。こ
れにより、辞書ストロークL1に対する入力ストローク
i11,i12,・・・,i16の類似度がそれぞれ求
められるが、前記同様、図を簡略化するために、辞書ス
トロークL1に対応づけることのできる最大類似度のみ
を示している。つまり、図4では、辞書ストロークL1
に対しては、入力ストロークi11との間で求められた
類似度d11が最大類似度であり、辞書ストロークL1
と入力ストロークi11が対応付けられたことを示して
いる。First, the dictionary stroke L1 set in the first order is read from the dictionary 3, and the similarity calculation unit 4 reads the first dictionary stroke L1 and
Input strokes i11, i12,.
, I16 are collated in order from the input stroke i11,
The similarity calculator 4 calculates each similarity. Thus, the similarities of the input strokes i11, i12,..., I16 with respect to the dictionary stroke L1 are obtained. In the same manner as described above, the maximum similarity that can be associated with the dictionary stroke L1 to simplify the drawing. Only shows. That is, in FIG. 4, the dictionary stroke L1
, The similarity d11 obtained with the input stroke i11 is the maximum similarity, and the dictionary stroke L1
And the input stroke i11 are associated with each other.
【0047】次に、辞書3から2番目の順番に設定され
た辞書ストロークL2が読み出され、類似度計算部4に
より、読み出された2番目の辞書ストロークL2と、入
力ストロークi11,i12,・・・,i16を、入力
ストロークi11から順に照合し、それぞれの類似度を
計算する。これにより、辞書ストロークL2に対する入
力ストロークi11,i12,・・・,i16の類似度
がそれぞれ求められるが、この場合、どの入力ストロー
クi11,i12,・・・,i16との間においても大
きな値の類似度が得られず、辞書ストロークL2と対応
付けされない。Next, the dictionary stroke L2 set in the second order from the dictionary 3 is read out, and the similarity calculator 4 reads out the read out second dictionary stroke L2 and the input strokes i11, i12,. .., I16 are sequentially collated from the input stroke i11, and their similarities are calculated. Thus, the similarity of the input strokes i11, i12,..., I16 to the dictionary stroke L2 is obtained. In this case, a large value is obtained between any of the input strokes i11, i12,. No similarity is obtained, and it is not associated with the dictionary stroke L2.
【0048】次に、辞書3から3番目の順番に設定され
た辞書ストロークL3が読み出され、類似度計算部4に
より、読み出された3番目の辞書ストロークL3と、入
力ストロークi11,i12,・・・,i16を、入力
ストロークi11から順に照合し、類似度計算部4によ
りそれぞれの類似度を計算する。これにより、辞書スト
ロークL3に対する入力ストロークi11,i12,・
・・,i16の類似度がそれぞれ求められ、この場合、
辞書ストロークL3に対しては、入力ストロークi12
との間で求められた類似度d32が最大類似度であり、
辞書ストロークL3に対して入力ストロークi12が対
応づけられる。Next, the dictionary stroke L3 set in the third order from the dictionary 3 is read out, and the similarity calculation unit 4 reads out the read third dictionary stroke L3 and the input strokes i11, i12,. ,..., I16 are collated in order from the input stroke i11, and the similarity calculating section 4 calculates respective similarities. Thereby, the input strokes i11, i12,.
.., I16 are obtained respectively, and in this case,
For the dictionary stroke L3, the input stroke i12
And the similarity d32 obtained between is the maximum similarity,
The input stroke i12 is associated with the dictionary stroke L3.
【0049】このようにして、辞書3から辞書ストロー
クを順番に読み出して、読み出された辞書ストローク
と、入力ストロークi11,i12,・・・,i16を
照合し、それぞれの類似度を計算する。これにより、辞
書ストロークL1に対しては、入力ストロークi11が
類似度d11で対応付けられ、辞書ストロークL3に対
しては、入力ストロークi12が類似度d32で対応付
けられ、辞書ストロークL4に対しては、入力ストロー
クi13が類似度d43で対応付けられ、辞書ストロー
クL5に対しては、入力ストロークi14が類似度d5
4で対応付けられ、辞書ストロークL6に対しては、入
力ストロークi15が類似度d65で対応付けられ、辞
書ストロークL7に対しては、入力ストロークi16が
類似度d76で対応付けられる。In this way, the dictionary strokes are sequentially read from the dictionary 3, and the read dictionary strokes are compared with the input strokes i11, i12,..., I16, and the similarities are calculated. Thereby, the input stroke i11 is associated with the dictionary stroke L1 with the similarity d11, the input stroke i12 is associated with the dictionary stroke L3 with the similarity d32, and the dictionary stroke L4 is associated with the dictionary stroke L4. , The input stroke i13 is associated with the similarity d43, and for the dictionary stroke L5, the input stroke i14 is associated with the similarity d5.
4, the input stroke i15 is associated with the dictionary stroke L6 with the similarity d65, and the input stroke i16 is associated with the dictionary stroke L7 with the similarity d76.
【0050】図4からもわかるように、この例では、辞
書ストロークL2がどの入力ストロークとも対応付けら
れずに余ることになる。このように、ストロークが余る
場合には、余ったストロークをエラー値として考慮した
合計の類似度Dを求める。この合計の類似度Dは、辞書
ストロークが余る場合は D=d11+d32+d43+d54+d65+d76−(a×Ld2)・・・
(1)により求められる。この(1)式において、Ld
2は、余った辞書ストロークに対して求められたエラー
値であり、aは重み係数である。このように、対応付け
られた辞書ストロークと入力ストローク間の類似度の和
(前述の例では、d11+d32+d43+d54+d65+d76)から
余った辞書ストロークに対して求められたエラー値(前
述の例では、a×Ld2)を引いたものを、入力文字と
辞書から読み出された文字との間の合計の類似度として
いる。As can be seen from FIG. 4, in this example, the dictionary stroke L2 remains without being associated with any input stroke. As described above, when there is a surplus stroke, a total similarity D is determined in consideration of the surplus stroke as an error value. The total similarity D is D = d11 + d32 + d43 + d54 + d65 + d76− (a × Ld2) when the dictionary stroke is left.
It is determined by (1). In this equation (1), Ld
2 is an error value obtained for the extra dictionary stroke, and a is a weight coefficient. As described above, the error value (a × Ld2 in the above-described example) obtained from the sum of the similarities between the associated dictionary strokes and the input strokes (d11 + d32 + d43 + d54 + d65 + d76 in the above-described example). Minus the total similarity between the input character and the character read from the dictionary.
【0051】この図4の例では、合計の類似度Dは、余
った辞書ストロークL2に対して設定されたエラー値に
或る重みを掛けたものを、他のストローク間の類似度の
和から差し引いて求められることになる。このとき、余
った辞書ストロークに対するエラー値が大きければ、合
計の類似度は小さな値となり、「毎」を「海」と誤認識
することはない。なお、このエラー値の設定および重み
の設定については後述する。In the example of FIG. 4, the total similarity D is obtained by multiplying the error value set for the remaining dictionary stroke L2 by a certain weight from the sum of the similarities between the other strokes. It will be required after deduction. At this time, if the error value for the extra dictionary stroke is large, the total similarity becomes a small value, and "every" is not erroneously recognized as "sea". The setting of the error value and the setting of the weight will be described later.
【0052】次に、入力ストロークが余る場合につい
て、図5を参照しながら説明する。この図5の例は、
「海」という文字が9画(ストローク数が9)で入力さ
れた場合、その「海」という文字の9個の入力ストロー
クと、辞書3に登録されている認識可能な文字のうち、
「海」の辞書ストロークとの照合を行う例について説明
するものである。なお、この場合も、「海」という文字
の辞書ストロークは、前記したように、「海」を構成す
るに最低限必要でしかも他の文字と明確に区別できるス
トロークとして、辞書ストロークL1,L2,・・・,
L7が登録されているものとする。Next, a case where the input stroke is excessive will be described with reference to FIG. The example in FIG.
When the character "Umi" is input in nine strokes (the number of strokes is 9), among the nine input strokes of the character "Umi" and the recognizable characters registered in the dictionary 3,
An example will be described in which matching is performed with a dictionary stroke of “sea”. Also in this case, as described above, the dictionary strokes of the characters “sea” are the minimum necessary for constituting the “sea” and can be clearly distinguished from other characters, as the dictionary strokes L1, L2, L2. ...
It is assumed that L7 has been registered.
【0053】まず、辞書3から1番目の順番に設定され
た辞書ストロークL1が読み出され、類似度計算部4に
より、読み出された1番目の辞書ストロークL1と、
「海」を構成する入力ストロークi21,i22,・・
・,i29を、入力ストロークi21から順に照合し、
類似度計算部4によりそれぞれの類似度を計算する。こ
れにより、辞書ストロークL1に対する入力ストローク
i21,i22,・・・,i29の類似度がそれぞれ求
められるが、前記同様、図を簡略化するために、辞書ス
トロークL1に対応づけることのできる最大類似度のみ
を示している。つまり、図5では、辞書ストロークL1
に対しては、入力ストロークi21との間で求められた
類似度d11が最大類似度であり、辞書ストロークL1
と入力ストロークi21が対応付けられたることを示し
ている。First, the dictionary stroke L1 set in the first order is read from the dictionary 3, and the similarity calculation unit 4 reads out the read first dictionary stroke L1.
Input strokes i21, i22,.
, I29 are collated in order from the input stroke i21,
The similarity calculator 4 calculates each similarity. Thus, the similarities of the input strokes i21, i22,..., I29 with respect to the dictionary stroke L1 are obtained. As described above, in order to simplify the figure, the maximum similarity that can be associated with the dictionary stroke L1. Only shows. That is, in FIG. 5, the dictionary stroke L1
, The similarity d11 obtained with the input stroke i21 is the maximum similarity, and the dictionary stroke L1
And the input stroke i21 are associated with each other.
【0054】次に、辞書3から2番目の順番に設定され
た辞書ストロークL2が読み出され、類似度計算部4に
より、読み出された2番目の辞書ストロークL2と、入
力ストロークi21,i22,・・・,i29を、入力
ストロークi21から順に照合し、それぞれの類似度を
計算する。これにより、辞書ストロークL2に対する入
力ストロークi21,i22,・・・,i29の類似度
がそれぞれ求められ、この場合、辞書ストロークL2に
対しては、入力ストロークi23との間で求められた類
似度d23が最大類似度であり、辞書ストロークL2に
対して入力ストロークi23が対応づけられる。Next, the dictionary stroke L2 set in the second order from the dictionary 3 is read out, and the similarity calculation unit 4 reads out the read out second dictionary stroke L2 and the input strokes i21, i22, , I29 are collated in order from the input stroke i21, and the similarity is calculated for each. Thereby, the similarity of the input strokes i21, i22,..., I29 to the dictionary stroke L2 is obtained. In this case, the similarity d23 obtained between the dictionary stroke L2 and the input stroke i23 is obtained. Is the maximum similarity, and the input stroke i23 is associated with the dictionary stroke L2.
【0055】次に、辞書3から3番目の順番に設定され
た辞書ストロークL3が読み出され、類似度計算部4に
より、読み出された3番目の辞書ストロークL3と、入
力ストロークi21,i22,・・・,i29を、入力
ストロークi21から順に照合し、それぞれの類似度を
計算する。これにより、辞書ストロークL3に対する入
力ストロークi21,i22,・・・,i29の類似度
がそれぞれ求められ、この場合、辞書ストロークL3に
対しては、入力ストロークi25との間で求められた類
似度d35が最大類似度であり、辞書ストロークL3に
対して入力ストロークi25が対応づけられる。Next, the dictionary stroke L3 set in the third order is read from the dictionary 3, and the similarity calculation unit 4 reads the read third dictionary stroke L3 and the input strokes i21, i22, , I29 are collated in order from the input stroke i21, and the similarity is calculated for each. Thereby, the similarity of the input strokes i21, i22,..., I29 to the dictionary stroke L3 is obtained. In this case, the similarity d35 obtained between the dictionary stroke L3 and the input stroke i25 is obtained. Is the maximum similarity, and the input stroke i25 is associated with the dictionary stroke L3.
【0056】このようにして、辞書3から、辞書ストロ
ークを順番に読み出して、読み出された辞書ストローク
と、入力ストロークi21,i22,・・・,i29を
照合し、それぞれの類似度を計算する。これにより、辞
書ストロークL1に対しては、入力ストロークi21が
類似度d11で対応付けられ、辞書ストロークL2に対
しては、入力ストロークi23が類似度d23で対応付
けられ、辞書ストロークL3に対しては、入力ストロー
クi25が類似度d35で対応付けられ、辞書ストロー
クL4に対しては、入力ストロークi26が類似度d4
6で対応付けられ、辞書ストロークL5に対しては、入
力ストロークi27が類似度d57で対応付けられ、辞
書ストロークL6に対しては、入力ストロークi28が
類似度d68で対応付けられ、辞書ストロークL7に対
しては、入力ストロークi29が類似度d79で対応付
けられる。In this way, the dictionary strokes are sequentially read from the dictionary 3, the read dictionary strokes are collated with the input strokes i21, i22,..., I29, and the similarities are calculated. . Thereby, the input stroke i21 is associated with the dictionary stroke L1 with the similarity d11, the input stroke i23 is associated with the dictionary stroke L2 with the similarity d23, and the dictionary stroke L3 is associated with the dictionary stroke L3. , The input stroke i25 is associated with the similarity d35, and for the dictionary stroke L4, the input stroke i26 is similar to the similarity d4.
6, for the dictionary stroke L5, the input stroke i27 is associated with the similarity d57, for the dictionary stroke L6, the input stroke i28 is associated with the similarity d68, and for the dictionary stroke L7. On the other hand, the input stroke i29 is associated with the similarity d79.
【0057】図5からもわかるように、この例では、入
力ストロークi22,i24が余ることになる。このよ
うに、入力ストローク側が余る場合には、対応付けを行
うための合計の類似度Dを以下のようにして求める。As can be seen from FIG. 5, in this example, the input strokes i22 and i24 are left. As described above, when the input stroke side is left, the total similarity D for associating is obtained as follows.
【0058】D=d11+d23+d35+d46+d57+d68+d79
−b×(id2+id4)・・・(2)この(2)式におい
て、id2,id4は、余った入力ストロークi22,
i24に対してそれぞれ求められたエラー値であり、b
は重み係数である。このように、対応付けられた辞書ス
トロークと入力ストローク間の類似度の和(前述の例で
は、d11+d23+d35+d46+d57+d68+d79)から余った
入力ストロークに対してそれぞれ求められたエラー値
(前述の例では、b×(id2+id4))を引いたものを、
入力文字と辞書から読み出された文字との間の類似度と
している。D = d11 + d23 + d35 + d46 + d57 + d68 + d79
−b × (id2 + id4) (2) In the equation (2), id2 and id4 are the remaining input strokes i22,
error values determined for i24, b
Is a weight coefficient. As described above, the error values (b × (in the above-described example, b × ( id2 + id4)) minus
It is the similarity between the input character and the character read from the dictionary.
【0059】ところで、前記した余ったストロークに対
応したエラー値、および、その重み係数は次のようにし
て設定する。By the way, the error value corresponding to the above-mentioned surplus stroke and its weight coefficient are set as follows.
【0060】(a)余った辞書ストローク(辞書残スト
ロークと呼ぶ)あるいは入力ストローク(入力残ストロ
ークと呼ぶ)に対応したそれぞれのエラー値は、辞書残
ストローク、入力残ストロークの長さを基にエラー値を
決める。具体的には、余ったストロークの始点・終点の
位置データからストロークの長さを求めて、その長さを
もとにエラー値を決定する。したがって、ストロークの
長さが長いほど大きなエラー値となる。(A) Each error value corresponding to an extra dictionary stroke (referred to as a remaining dictionary stroke) or an input stroke (referred to as a remaining input stroke) is determined based on the length of the remaining dictionary stroke and the remaining input stroke. Determine the value. Specifically, the length of the stroke is obtained from the position data of the start and end points of the remaining stroke, and an error value is determined based on the length. Therefore, the longer the stroke length, the larger the error value.
【0061】(b)辞書残ストロークと入力残ストロー
クは、それらのエラー値に対する重みを変え、辞書残ス
トロークのエラー値に対する重みは、入力残ストローク
のエラー値に対する重みより大きな値とする。つまり、
前記した(1)式における重み係数aおよび(2)式に
おける重み係数bは、a>bとする。(B) The weights of the remaining dictionary strokes and the remaining input strokes with respect to the error values are changed, and the weight of the remaining dictionary strokes with respect to the error value is set to a value larger than the weight of the remaining input strokes with respect to the error value. That is,
The weighting coefficient a in the above equation (1) and the weighting coefficient b in the equation (2) are set to a> b.
【0062】(c)省略されやすい辞書残ストロークの
重みは小さくする。(C) The weight of dictionary remaining strokes that are easily omitted is reduced.
【0063】(d)前記辞書残ストロークの重みは、辞
書作成時におけるストロークの出現頻度を基に決定す
る。つまり、辞書を作成する際に、ある文字を多数の筆
者が筆記したときに、その文字を構成するそれぞれのス
トロークがどの程度の割合で筆記されるかによって決定
する。具体的には、100人の筆者が或る同じ文字を書
いたとき、100人の筆者すべてが筆記するストローク
は、重みを大きく(たとえば、重みを1.0)とし、10
0人のうち、80人程度しか筆記しないストロークに対
しては、重みを小さく(たとえば、重みを0.8)とする
というようにストロークの出現頻度を基に決定する。(D) The weight of the dictionary remaining stroke is determined based on the appearance frequency of the stroke when the dictionary is created. In other words, when a dictionary is created, when a large number of writers write a certain character, the determination is made based on how much each stroke constituting the character is written. Specifically, when 100 writers write a certain character, strokes written by all 100 writers have a large weight (for example, a weight of 1.0) and a stroke of 10
Of the zero strokes, strokes for which only about 80 strokes are written are determined based on the appearance frequency of the strokes such that the weight is made small (for example, the weight is 0.8).
【0064】(e)入力ストロークを分割して(1つの
ストロークを幾つかの部分ストロークに分けて)照合す
る場合には、入力残ストロークに関しては、孤立ストロ
ークの場合と、ストロークの一部が残ったストローク
(部分ストローク)の場合で重みを変える。(E) In the case where the input stroke is divided and collation is performed (one stroke is divided into several partial strokes), the remaining input stroke is the case of the isolated stroke and the case where a part of the stroke remains. The weight is changed in the case of a stroke (partial stroke).
【0065】前記(e)において、孤立ストロークの場
合と、ストロークの一部が残っている場合で重みを変え
るというのは、たとえば、さんずいを例にとって考える
と、図6(a)に示すストロークf1,f2,f3はそ
れぞれ孤立ストロークであり、このような孤立ストロー
クが入力残ストロークとして余った場合と、図6(b)
に示すように続けて筆記されたストロークを幾つかの部
分ストロークf11,f12,・・・,f14に分割し
て、これら部分ストロークf11,f12,・・・,f
14と辞書ストロークとを照合したとき、部分ストロー
クが入力残ストロークとして余った場合とで重みを変え
るということである。In (e), changing the weight between the case of an isolated stroke and the case where a part of the stroke remains, for example, when taking a small size as an example, the stroke f1 shown in FIG. , F2, and f3 are isolated strokes, respectively. A case where such an isolated stroke is left as an input remaining stroke is shown in FIG.
Is divided into several partial strokes f11, f12,..., F14, and these partial strokes f11, f12,.
In other words, when the pattern stroke is compared with the dictionary stroke, the weight is changed depending on whether the partial stroke is left as the remaining input stroke.
【0066】つまり、入力残ストロークに関しては、孤
立ストロークを、孤立ストロークではない入力残ストロ
ークよりも重みを大きくする。この孤立ストロークでは
ない入力残ストロークというのは、たとえば、1つのス
トロークを分割して得られる部分ストロークが余った場
合、その余った部分ストロークを指す。That is, regarding the remaining input stroke, the weight of the isolated stroke is made larger than that of the remaining input stroke which is not the isolated stroke. The remaining input strokes other than the isolated strokes indicate, for example, if there is a partial stroke obtained by dividing one stroke, the remaining partial stroke.
【0067】具体的には、図6(a),(b)のような
入力ストロークにおいて、照合の結果、たとえば、スト
ローク(孤立ストローク)f2が余った場合と、ストロ
ークf13(孤立ストロークではない部分ストローク)
が余った場合には、ストローク13は孤立ストロークで
はないので、孤立ストロークであるストロークf2に対
して重みを大きくする。これは、孤立ストロークは、本
来、書かれるべき入力ストロークであり、書かれるべき
入力ストロークが余る場合は、エラー値を大きくした方
がより正確な対応付けが行えるからである。Specifically, in the input strokes shown in FIGS. 6A and 6B, as a result of the collation, for example, a case where a stroke (isolated stroke) f2 is left, and a case where a stroke f13 (a part which is not an isolated stroke) stroke)
When there is a surplus, since the stroke 13 is not an isolated stroke, the weight is increased for the stroke f2 which is an isolated stroke. This is because an isolated stroke is originally an input stroke to be written, and if there are extra input strokes to be written, a more accurate association can be made by increasing the error value.
【0068】以上のように、ストロークの特徴量に応じ
たエラー値を設定するとともに、そのエラー値に対し、
種々の条件によって重み付けを行い、この重み付けを行
ったエラー値を考慮した類似度を求めることにより、辞
書ストロークが余った場合、あるいは、入力ストローク
が余った場合の処理を簡単に行うことができる。As described above, while setting an error value corresponding to the stroke feature value,
By performing weighting under various conditions and calculating the similarity in consideration of the weighted error value, it is possible to easily perform processing when there is an extra dictionary stroke or input stroke.
【0069】たとえば、図4は、辞書ストロークが余っ
た例であり、辞書ストロークの余りであること、余った
辞書ストロークL2は出現頻度が高い(省略されること
が少ない)ストロークであることという条件から重みa
を大きい値とすることで、(1)式におけるa×Ld2
は大きな値となり、これにより、合計の類似度Dは小さ
な値となって、「毎」を「海」と誤認識されることがな
くなる。For example, FIG. 4 shows an example in which dictionary strokes are left, and the condition is that the dictionary strokes are left, and that the surplus dictionary strokes L2 are strokes with a high appearance frequency (frequently omitted). From weight a
Is a large value, a × Ld2 in the equation (1) is obtained.
Is a large value, so that the total similarity D is a small value, so that "every" is not erroneously recognized as "sea".
【0070】一方、図5は、入力ストロークが余った例
であり、この場合、入力ストロークi22,i24の2
つの入力ストロークが余ることになるが、入力ストロー
クの余りであるから重みbは小さく、しかも、入力スト
ロークi22,i24の長さは短いため、(2)式にお
けるb×(id2+id4)はあまり大きな値とはなら
ない。また、たとえ、b×(id2+id4)が差し引
かれても、他のストローク間で得られた類似度(d11+d
23+d35+d46+d57+d68+d79)が大きい値となってい
るので、合計の類似度Dには余り影響を与えることがな
く、入力文字を「海」と認識できる。FIG. 5 shows an example in which an input stroke is left. In this case, two input strokes i22 and i24 are used.
Although two input strokes are left, the weight b is small because the input strokes are left, and the lengths of the input strokes i22 and i24 are short. Therefore, b × (id2 + id4) in the equation (2) is a very large value. Does not. Further, even if b × (id2 + id4) is subtracted, the similarity (d11 + d) obtained between other strokes is obtained.
23 + d35 + d46 + d57 + d68 + d79) is a large value, so that the input character can be recognized as "sea" without much affecting the total similarity D.
【0071】以上説明したように、余ったストロークの
長さをエラー値とし、前記したような条件でエラー値の
重みを変えることにより、辞書ストロークが余った場
合、入力ストロークが余った場合にも、正確な認識が可
能となり、包含関係にある文字に対しても誤認識するこ
とがなくなる。また、余った入力ストロークに対するエ
ラー値の重み付けを変えることにより、楷書、崩し字の
どちらにも対応できる。すなわち、余った入力ストロー
クに対するエラー値の重みを大きくすれば、楷書に合わ
せた認識エンジンとなり、余った入力ストロークの重み
を小さくすれば、崩し字に合わせた認識エンジンとな
る。これは、入力ストロークを分割して、幾つかの部分
ストロークに分けて照合する場合、崩し字の場合は、部
分ストロークが余る可能性が高く、楷書の場合は、余る
ことが少ないことによるものである。As described above, by setting the length of the surplus stroke as an error value and changing the weight of the error value under the above-described conditions, the surplus of the dictionary stroke and the input stroke can be obtained. Accurate recognition becomes possible, and erroneous recognition of characters having an inclusive relation is prevented. Further, by changing the weight of the error value with respect to the remaining input stroke, it is possible to cope with both the square writing and the broken character. That is, if the weight of the error value with respect to the remaining input stroke is increased, the recognition engine conforms to the square writing, and if the weight of the remaining input stroke is reduced, the recognition engine conforms to the broken character. This is because when input strokes are divided and collated by dividing them into several partial strokes, there is a high possibility that partial strokes will be left in the case of broken characters, and there is little surplus in the case of regular writing. is there.
【0072】図7は以上説明した実施の形態の全体的な
処理を説明するフローチャートである。図7において、
入力された文字のストロークが抽出されると(ステップ
S1)、登録された認識対象文字の中から、或る1つの
文字を読み出し(ステップS2)、読み出された文字を
構成するストロークのうちの1つの辞書ストロークを読
み出す(ステップS3)。FIG. 7 is a flowchart for explaining the overall processing of the embodiment described above. In FIG.
When the stroke of the input character is extracted (step S1), a certain character is read from the registered recognition target characters (step S2), and the stroke of the read character is read. One dictionary stroke is read (step S3).
【0073】次に、読み出された1つの辞書ストローク
と入力文字を構成するストロークのうちの1つのストロ
ークとを照合し(ステップS4)、類似度を計算して
(ステップS5)、求められた類似度を基に対応付け処
理を行う(ステップS6)。Next, one read dictionary stroke is compared with one of the strokes constituting the input character (step S4), and the similarity is calculated (step S5). An association process is performed based on the similarity (step S6).
【0074】そして、入力文字を構成するストロークの
すべてについて処理が終了したか否かを判断して(ステ
ップS7)、終了していなければ、ステップS4に戻
り、ステップS4〜S7を繰り返す。読み出された1つ
の辞書ストロークと入力された文字を構成するすべての
入力ストロークとの照合処理が終了すると、前記読み出
された文字を構成するすべての辞書ストロークについて
処理が終了したか否かを判定し(ステップS8)、終了
していなければ、ステップS3に戻り、次の(この場
合、2番目の)辞書ストロークを読み出し、ステップS
3〜S8を行う。Then, it is determined whether or not the processing has been completed for all the strokes constituting the input character (step S7). If the processing has not been completed, the process returns to step S4 and repeats steps S4 to S7. When the matching process of one read dictionary stroke with all input strokes constituting the input character is completed, it is determined whether or not the process has been completed for all dictionary strokes constituting the read character. It is determined (step S8), and if not completed, the process returns to step S3 to read the next (in this case, the second) dictionary stroke,
Perform steps 3 to S8.
【0075】そして、読み出された文字を構成するすべ
ての辞書ストロークについて照合処理が終了(図3、図
4、図5の状態)すると、それまでの処理により余った
辞書ストロークまたは入力ストロークのエラー値を前記
した重みを考慮して求め(ステップS9)、求められた
エラー値を用いて、前記(1)式または(2)式のよう
にエラー値が考慮された合計の類似度を求める(ステッ
プS10)。When the collation processing is completed for all the dictionary strokes constituting the read character (the state shown in FIGS. 3, 4 and 5), the remaining dictionary strokes or input stroke errors due to the processing up to that point are completed. The value is calculated in consideration of the above-mentioned weight (step S9), and the similarity of the total in which the error value is considered as in the above equation (1) or (2) is calculated using the obtained error value ( Step S10).
【0076】次に、認識対象文字すべてについて処理が
終了したか否かを判断して(ステップS11)、終了し
ていなければ、ステップS2に戻り、次の文字について
の辞書ストロークのうち、辞書ストロークを1つ1つ読
み出して、前記したと同様の処理を行う。このような処
理を繰り返すことにより、入力された文字とすべての認
識対象文字との間の類似度を求め、求められた類似度を
基に、認識結果を出力する(ステップS12)。Next, it is determined whether or not the processing has been completed for all the characters to be recognized (step S11). If the processing has not been completed, the process returns to step S2, and among the dictionary strokes for the next character, the dictionary stroke Are read out one by one, and the same processing as described above is performed. By repeating such processing, the similarity between the input character and all the recognition target characters is obtained, and the recognition result is output based on the obtained similarity (step S12).
【0077】なお、以上説明した実施の形態では、余っ
た辞書ストロークまたは入力ストロークに対し、対応付
け処理部5により、その余ったストロークの始点・終点
位置データから長さを求めて、それをエラー値とするよ
うにしたが、その都度計算で求めるのではなく、それぞ
れのストロークに対するエラー値を予め設定しておき、
それを記憶部に記憶させておくようにしてもよい。要
は、余ったストロークに対して適切なエラー値を得られ
るようにすればよい。In the above-described embodiment, the length of the surplus dictionary stroke or input stroke is obtained from the start point / end point position data of the surplus stroke by the associating processing unit 5, and the length is obtained as an error. Although it was made to be a value, instead of calculating by calculation each time, an error value for each stroke is set in advance,
You may make it memorize | store in the memory | storage part. The point is that an appropriate error value can be obtained for the extra stroke.
【0078】また、前述の実施の形態では、それぞれの
ストローク間で求めた類似度の和からエラー値を引いて
合計の類似度を求めたが、これに限られるものではな
く、たとえば、ストローク間で求めたエラー値の和に、
余ったストロークに設定されたエラー値を足して合計の
エラー値を求めて、その値から類似度を求めるようにし
てもよい。In the above-described embodiment, the total similarity is obtained by subtracting the error value from the sum of the similarities obtained between the strokes. However, the present invention is not limited to this. To the sum of the error values found in
The error value set for the surplus stroke may be added to obtain a total error value, and the similarity may be calculated from the value.
【0079】また、辞書から或る1つの文字の辞書スト
ロークを読み出す際、その順序は、この実施の形態で
は、登録された辞書ストロークの中で正しい筆順に従っ
て読み出すようにしたが、これに限られるものではな
く、たとえば、前述したような照合を行うに都合の良い
順を予め決めておき、その順番にしたがって読み出すよ
うにしてもよい。Further, when reading out a dictionary stroke of a certain character from the dictionary, in this embodiment, the sequence is read out in accordance with the correct stroke order among the registered dictionary strokes, but is limited to this. Instead, for example, a convenient order for performing the above-described collation may be determined in advance, and the data may be read out according to the order.
【0080】また、辞書との対応付けを行う特徴量とし
て文字の画数に対応するストロークを用いたが、この特
徴量は、1本のストロークを幾つかに分割した部分スト
ロークでもよく、さらには、他の特徴量を用いても良
い。要は、辞書に登録された内容とのマッチングが行
え、類似度が求められる特徴量であればよい。In addition, a stroke corresponding to the number of strokes of a character is used as a feature amount for associating with a dictionary. The feature amount may be a partial stroke obtained by dividing one stroke into several strokes. Other features may be used. The point is that any feature amount can be matched with the contents registered in the dictionary and a similarity can be obtained.
【0081】また、本発明の処理を行うプログラムはフ
ロッピィディスクなどの記憶媒体に記憶させておくこと
ができ、本発明は、その記憶媒体をも含むものである。Further, the program for performing the processing of the present invention can be stored in a storage medium such as a floppy disk, and the present invention includes the storage medium.
【0082】[0082]
【発明の効果】以上説明したように、本発明によれば、
辞書には、認識対象文字毎に1つ1つの文字を構成する
に最低限必要でしかも他の文字と明確に区別できる特徴
量のみを登録しておき、ある文字が入力されると、前記
認識対象文字のうちの1つの文字ごとに、その文字につ
いて登録された特徴量と入力された文字の特徴量とを1
つ1つ照合し対応づけて行き、余った特徴量(辞書に登
録された特徴量または入力文字の特徴量)に対応して得
られたエラー値に種々の条件により設定された重み付け
を行い、この重み付けされたエラー値を考慮した類似度
を求めるようにしたので、筆順や画数が間違って入力さ
れた文字に対しても認識可能となり、入力文字パターン
と辞書パターンとに包含関係のある場合でも誤認識する
ことなく高い認識率での認識が可能となる。しかも、余
ったストローク同士を結合するといった処理が不要であ
るので、処理速度の高速化がはかれる。さらに、余った
入力ストロークのエラー値に対して重みを大きくすれ
ば、楷書に合わせた認識処理とすることができ、余った
入力ストロークのエラー値に対して重みを小さくすれ
ば、崩し字に合わせた認識処理とすることができ、楷
書、崩し字のいずれにも対応することができる。As described above, according to the present invention,
In the dictionary, only the minimum amount of features that are required to compose each character for each recognition target character and that can be clearly distinguished from other characters are registered. For each one of the target characters, the characteristic amount registered for the character and the characteristic amount of the input character are set to 1
The error values obtained corresponding to the surplus features (features registered in the dictionary or the features of the input characters) are weighted according to various conditions. Since the similarity is calculated in consideration of the weighted error value, it is possible to recognize even a character input with an incorrect stroke order or stroke number, and even if there is an inclusive relationship between the input character pattern and the dictionary pattern. It is possible to perform recognition at a high recognition rate without erroneous recognition. In addition, since it is not necessary to perform a process of combining the remaining strokes, the processing speed can be increased. Furthermore, if the weight is increased with respect to the error value of the remaining input stroke, the recognition process can be performed in accordance with the standard style. Recognition processing can be performed, and both square writing and broken characters can be handled.
【図1】本発明の実施の形態の構成を説明するブロック
図。FIG. 1 is a block diagram illustrating a configuration of an embodiment of the present invention.
【図2】同実施の形態において辞書に登録される文字の
ストロークの一例を示す図。FIG. 2 is an exemplary view showing an example of a stroke of a character registered in a dictionary in the embodiment.
【図3】同実施の形態における処理の具体例(その1)
を説明する図。FIG. 3 is a specific example of processing according to the embodiment (part 1);
FIG.
【図4】同実施の形態における処理の具体例(その2)
を説明する図。FIG. 4 is a specific example (part 2) of a process according to the embodiment;
FIG.
【図5】同実施の形態における処理の具体例(その3)
を説明する図。FIG. 5 is a specific example of a process according to the embodiment (part 3);
FIG.
【図6】同実施の形態における孤立ストロークとストロ
ークの一部が残っているストロークについて説明する
図。FIG. 6 is an exemplary view for explaining an isolated stroke and a stroke in which a part of the stroke remains in the embodiment;
【図7】同実施の形態における処理の流れを説明するフ
ローチャート。FIG. 7 is an exemplary flowchart illustrating the flow of a process in the embodiment.
【図8】従来技術の処理を説明する図。FIG. 8 is a view for explaining processing of the related art.
1 文字入力部 2 ストローク抽出部 3 辞書 4 類似度計算部 5 対応付け処理部 6 認識結果出力部 d11,d12,・・・ 対応づけられた類似度 L1,L2,・・・,L7 辞書ストローク i1,i2,・・・,i7 入力ストローク i11,i12,・・・,i16 入力ストローク i21,i22,・・・,i29 入力ストローク f1,f2,・・・,f14 ストローク DESCRIPTION OF SYMBOLS 1 Character input part 2 Stroke extraction part 3 Dictionary 4 Similarity calculation part 5 Association processing part 6 Recognition result output part d11, d12, ... Associated similarity L1, L2, ..., L7 Dictionary stroke i1 , I2, ..., i7 Input stroke i11, i12, ..., i16 Input stroke i21, i22, ..., i29 Input stroke f1, f2, ..., f14 stroke
Claims (10)
字を構成する特徴量を抽出し、その抽出された特徴量
と、辞書に登録されている特徴量とを照合して対応付け
することにより、入力文字の認識を行うオンライン手書
き文字認識方法において、 前記辞書に登録される認識対象文字の1つずつの文字を
構成するそれぞれの特徴量は、その文字を構成するに最
低限必要でしかも他の文字と明確に区別できる特徴量と
し、入力文字の特徴量との対応付けを行う際、辞書に登
録された或る文字を構成する前記特徴量を1つずつ読み
出して、読み出された特徴量と入力文字を構成するそれ
ぞれの特徴量とを照合して類似度を求め、求められた類
似度を基に、辞書の特徴量と入力された文字の特徴量と
を対応付けし、対応付けされずに余った辞書の特徴量
(辞書残特徴量)または対応付けされずに余った入力文
字の特徴量(入力残特徴量)からその特徴量に応じたエ
ラー値を得て、そのエラー値を考慮して、前記辞書から
読み出された文字と入力文字との間の合計の類似度を求
めることを特徴とするオンライン手書き文字認識方法。When a certain character is input, a characteristic amount constituting the character is extracted, and the extracted characteristic amount is collated with a characteristic amount registered in a dictionary. In the online handwritten character recognition method for recognizing input characters, each of the feature amounts constituting each of the characters to be recognized registered in the dictionary is at least necessary to constitute the character, and When making a feature amount that can be clearly distinguished from the character of the input character and associating it with the feature amount of the input character, the feature amounts constituting a certain character registered in the dictionary are read out one by one, and the read out feature is read out. The amount is compared with each feature amount constituting the input character to obtain a similarity, and based on the obtained similarity, the dictionary feature amount and the input character feature amount are associated with each other. Unexpected dictionary features An error value corresponding to the feature amount is obtained from the amount (remaining dictionary feature amount) or the feature amount (input remaining feature amount) of the input character that has not been associated, and the error value is taken into consideration. An online handwritten character recognition method, wherein a total similarity between a read character and an input character is obtained.
ラー値と入力残特徴量に対して設定されるエラー値と
で、それぞれのエラー値に対する重みを変え、辞書残特
徴量に対して設定されるエラー値を入力残特徴量に対し
て設定されるエラー値より大きくするような重み付けを
行うことを特徴とする請求項1記載のオンライン手書き
文字認識方法。2. An error value set for the dictionary remaining feature amount and an error value set for the input remaining feature amount, weights for the respective error values are changed, and 2. The online handwritten character recognition method according to claim 1, wherein weighting is performed so that the set error value is larger than the error value set for the remaining input feature amount.
ラー値は、辞書作成時における各文字を構成する特徴量
の出現頻度の大きい特徴量に対してはエラー値を大きく
するような重み付けを行うことを特徴とする請求項1記
載のオンライン手書き文字認識方法。3. An error value set for the dictionary remaining feature amount is weighted such that an error value is increased for a feature amount having a high appearance frequency of a feature amount constituting each character at the time of creating a dictionary. 2. The online handwritten character recognition method according to claim 1, wherein
ラー値は、入力文字の特徴量を分割して幾つかの部分特
徴量に分けて照合する場合には、入力残特徴量に関して
は、孤立した特徴量の場合と、ある特徴量の一部が残っ
た部分特徴量の場合とで重みを変え、孤立特徴量のエラ
ー値を部分特徴量のエラー値より大きくするような重み
付けを行うことを特徴とする請求項1記載のオンライン
手書き文字認識方法。4. An error value set for the input remaining feature amount is obtained by dividing the input character feature amount into several partial feature amounts and collating them. The weight is changed between the case of an isolated feature and the case of a partial feature in which a part of a certain feature remains, and weighting is performed so that the error value of the isolated feature is larger than the error value of the partial feature. The online handwritten character recognition method according to claim 1, wherein:
特徴とする請求項1〜4のいずれかに記載のオンライン
手書き文字認識方法。5. The online handwritten character recognition method according to claim 1, wherein the feature amount is a stroke.
字を構成する特徴量を抽出し、その抽出された特徴量
と、辞書に登録されている特徴量とを照合して対応付け
することにより、入力文字の認識を行うオンライン手書
き文字認識装置において、 入力された文字からその文字を構成するそれぞれの特徴
量を抽出する特徴量抽出手段と、 認識対象の各文字毎にその文字を構成するそれぞれの特
徴量のうち、その文字を構成するに最低限必要でしかも
他の文字と明確に区別できる特徴量が登録される辞書
と、 この辞書に登録された特徴量と前記特徴量抽出手段によ
り抽出された入力文字の特徴量との間の類似度を求める
類似度計算部と、 この類似度計算部で求められた類似度を基に特徴量同士
の対応付けを行うとともに、その対応付け処理により対
応付けされずに余った辞書の特徴量(辞書残特徴量)ま
たは対応付けされずに余った入力文字の特徴量(入力残
特徴量)から、その特徴量に応じたエラー値を得て、そ
のエラー値を考慮して前記辞書から読み出された文字と
入力文字との間の合計の類似度を求める対応付け処理部
と、 を有することを特徴とするオンライン手書き文字認識装
置。6. When a certain character is input, a feature amount constituting the character is extracted, and the extracted feature amount is matched with a feature amount registered in a dictionary by matching. An on-line handwritten character recognition device for recognizing an input character, a feature amount extracting means for extracting each feature amount constituting the character from the input character, and a feature amount extracting unit for forming the character for each character to be recognized. A dictionary in which, at least, a feature amount necessary for constituting the character and clearly distinguishable from other characters is registered, and the feature amount registered in this dictionary and extracted by the feature amount extracting means. A similarity calculating unit for calculating a similarity between the input character and the obtained characteristic, and a method for associating the characteristic with each other based on the similarity obtained by the similarity calculating. An error value corresponding to the feature amount is obtained from the feature amount of the dictionary remaining without being matched (dictionary remaining feature amount) or the feature amount of the input character remaining without being matched (input remaining feature amount). An association processing unit for calculating a total similarity between a character read from the dictionary and an input character in consideration of the error value.
ラー値と入力残特徴量に対して設定されるエラー値と
で、それぞれのエラー値に対する重みを変え、辞書残特
徴量に対して設定されるエラー値を入力残特徴量に対し
て設定されるエラー値より大きくするような重み付けを
行うことを特徴とする請求項6記載のオンライン手書き
文字認識装置。7. An error value set for the dictionary remaining feature amount and an error value set for the input remaining feature amount, the weight for each error value is changed, and 7. The online handwritten character recognition device according to claim 6, wherein weighting is performed such that the set error value is larger than the error value set for the remaining input feature amount.
ラー値は、辞書作成時における各文字を構成する特徴量
の出現頻度の大きい特徴量に対してはエラー値を大きく
するような重み付けを行うことを特徴とする請求項6記
載のオンライン手書き文字認識装置。8. An error value set for the dictionary remaining feature amount is weighted such that an error value is increased for a feature amount having a high appearance frequency of a feature amount constituting each character when a dictionary is created. 7. The online handwritten character recognition device according to claim 6, wherein:
ラー値は、入力文字の特徴量を分割して幾つかの部分特
徴量に分けて照合する場合には、入力残特徴量に関して
は、孤立した特徴量の場合と、ある特徴量の一部が残っ
た部分特徴量の場合とで重みを変え、孤立特徴量のエラ
ー値を部分特徴量のエラー値より大きくするような重み
付けを行うことを特徴とする請求項6記載のオンライン
手書き文字認識装置。9. The error value set for the remaining input feature is determined by dividing the feature of the input character into several partial features and collating them. The weight is changed between the case of an isolated feature and the case of a partial feature in which a part of a certain feature remains, and weighting is performed so that the error value of the isolated feature is larger than the error value of the partial feature. 7. The online handwritten character recognition device according to claim 6, wherein:
を特徴とする請求項6〜9のいずれかに記載のオンライ
ン手書き文字認識装置。10. The online handwritten character recognition device according to claim 6, wherein the feature amount is a stroke.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9132620A JPH1049631A (en) | 1996-05-22 | 1997-05-22 | Online handwritten character recognition method and apparatus |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12754996 | 1996-05-22 | ||
| JP8-127549 | 1996-05-22 | ||
| JP9132620A JPH1049631A (en) | 1996-05-22 | 1997-05-22 | Online handwritten character recognition method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1049631A true JPH1049631A (en) | 1998-02-20 |
Family
ID=26463486
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9132620A Withdrawn JPH1049631A (en) | 1996-05-22 | 1997-05-22 | Online handwritten character recognition method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1049631A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007213433A (en) * | 2006-02-10 | 2007-08-23 | Fujitsu Ltd | Character search device |
| WO2008020557A1 (en) * | 2006-08-14 | 2008-02-21 | Kite Image Technologies Inc. | Hand-written character recognizing method, hand-written character recognizing system, hand-written character recognizing program, and storage medium |
| CN105929977A (en) * | 2016-06-02 | 2016-09-07 | 百度在线网络技术(北京)有限公司 | Fault-tolerant stroke input method and input device |
-
1997
- 1997-05-22 JP JP9132620A patent/JPH1049631A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007213433A (en) * | 2006-02-10 | 2007-08-23 | Fujitsu Ltd | Character search device |
| WO2008020557A1 (en) * | 2006-08-14 | 2008-02-21 | Kite Image Technologies Inc. | Hand-written character recognizing method, hand-written character recognizing system, hand-written character recognizing program, and storage medium |
| CN105929977A (en) * | 2016-06-02 | 2016-09-07 | 百度在线网络技术(北京)有限公司 | Fault-tolerant stroke input method and input device |
| CN105929977B (en) * | 2016-06-02 | 2018-08-07 | 百度在线网络技术(北京)有限公司 | A kind of fault-tolerant input method of stroke and input unit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4787275B2 (en) | Segmentation-based recognition | |
| JP2001283152A (en) | Device and method for discrimination of forms and computer readable recording medium stored with program for allowing computer to execute the same method | |
| JP2000353215A (en) | Character recognition device and recording medium where character recognizing program is recorded | |
| EP2138959A1 (en) | Word recognizing method and word recognizing program | |
| JP2002063548A (en) | Handwritten character recognizing method | |
| JP2998054B2 (en) | Character recognition method and character recognition device | |
| JPS6262388B2 (en) | ||
| JP3374762B2 (en) | Character recognition method and apparatus | |
| JP3198218B2 (en) | Online handwriting recognition method | |
| JP2780654B2 (en) | Address reading device | |
| JPH06103402A (en) | Business card recognition device | |
| JPH10247221A (en) | Online character recognition device | |
| JP3421200B2 (en) | Character recognition method and device | |
| JP3930174B2 (en) | Character recognition method and character recognition device | |
| JP2519782B2 (en) | Character separation method | |
| JPH0766423B2 (en) | Character recognition device | |
| JP2000251017A (en) | Word dictionary creation device and word recognition device | |
| JP2002063547A (en) | Handwritten character recognizing method | |
| JP2918380B2 (en) | Post-processing method of character recognition result | |
| JPS646514B2 (en) | ||
| JP2006072520A (en) | Information processing apparatus and method, and program recording medium | |
| JPS6186881A (en) | Online handwritten character recognition method | |
| JPH11175660A (en) | Character recognition method and apparatus, and storage medium storing character recognition program | |
| JPH0271388A (en) | Post-processing method for character recognition | |
| JPS5866175A (en) | Pattern recognizing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20040803 |