JPH0262684A - On-line handwritten character recognizing device - Google Patents

On-line handwritten character recognizing device

Info

Publication number
JPH0262684A
JPH0262684A JP63215573A JP21557388A JPH0262684A JP H0262684 A JPH0262684 A JP H0262684A JP 63215573 A JP63215573 A JP 63215573A JP 21557388 A JP21557388 A JP 21557388A JP H0262684 A JPH0262684 A JP H0262684A
Authority
JP
Japan
Prior art keywords
character
code
comparison test
dictionary
compare
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
JP63215573A
Other languages
Japanese (ja)
Inventor
Akio Sakano
坂野 秋夫
Kimiyoshi Yoshida
吉田 公義
Hirobumi Tamori
寛文 田守
Kimiyuki Chatani
公之 茶谷
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP63215573A priority Critical patent/JPH0262684A/en
Publication of JPH0262684A publication Critical patent/JPH0262684A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To miniaturize the size of a feature dictionary and to recognize a character at a high speed by storing a compare test code in an appropriate character recognizing system in the feature dictionary for each part of one character and recognizing one character in plural character recognizing systems. CONSTITUTION:A compare test register 7 to store the intermediate information of a compare test, namely, the information to indicate which part of the character is currently compare-tested, the number of the inconsistencies between a character in a dictionary 8 and the character to be recognized, namely, a rejection number, etc., from compare test circuits 6 and 12, a buffer 9 for a compare tested result to store the data of the compare tested result from the compare test circuits 6 and 12, and an input character judging circuit 10 to receive the data of the compare tested result from the buffer 9 and judge what the input character is are formed. Here, the compare test code in the character recognizing system appropriate for each part of the character is stored in the feature dictionary 8.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はオンライン手書き文字の認識装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an online handwritten character recognition device.

〔発明の概要〕[Summary of the invention]

この発明は、オンライン手書き文字の認識装置において
、文字の各部分毎に通切な文字認識処理を行うことによ
り、文字認識精度を低下することなく、特徴辞書の小型
化及び文字認識の高速化を図ったものである。
This invention aims to miniaturize the feature dictionary and speed up character recognition without reducing character recognition accuracy by performing continuous character recognition processing for each part of a character in an online handwritten character recognition device. It is something that

〔従来の技術〕[Conventional technology]

オンラインで手書き文字をiM織する場合、手暑き文字
の入力手段から入力された文字の特徴データと、特徴辞
書に記憶されている各文字の特徴データとを順に比較検
定し、記憶されている文字のうち最も@似している文字
を入力された文字と判断している。
When iM-weaving handwritten characters online, the characteristic data of the characters input from the input means for handwritten characters is compared with the characteristic data of each character stored in the characteristic dictionary, and the stored characters are The character that is most similar to @ is determined to be the input character.

この場合、入力された文字と特徴辞書に登録されている
文字との比較検定を行う方法にはいくつかのものがある
が、そのうちの1つとして基本ストローク方式と呼称さ
れているものがある。
In this case, there are several methods for performing a comparison test between the input characters and the characters registered in the feature dictionary, one of which is called the basic stroke method.

この基本ストローク方式は、 1、第4図Aに示すように、1ストローク、っまりペン
をダウンしてからアンプするまでの−続きの線の入力筆
跡を、その筆跡上のサンフBy点P O、P t 、・
・・・、Pnと、その時系列情報とによって折れ線(同
図B)で近似する。
This basic stroke method is as follows: 1. As shown in Fig. 4A, the input handwriting of the continuous line from the point where the pen is down to the point where it is amp is inputted by the point P O on the handwriting. ,Pt,・
..., Pn and its time series information are approximated by a polygonal line (B in the figure).

■、あらかじめ定義しておいたストロークの基本的形状
、すなわち、第5図に示すような[基本ストロークタイ
プ」と1項の折れ線とを比較する「ストローク認識」を
行う。
(2) "Stroke recognition" is performed by comparing the basic shape of a stroke defined in advance, that is, the "basic stroke type" as shown in FIG. 5, with the polygonal line in item 1.

iii、ii項の結果に栽づいて、入力されたストロー
クを、脹も近かった基本ストロークタイプのコード番号
(第4図Bの折れ線の場合はコート番号「6」)に変換
する。
Based on the results of sections iii and ii, the input stroke is converted to the code number of the basic stroke type that has a similar bulge (in the case of the polygonal line in FIG. 4B, the coat number is "6").

iv、1文字分のすべてのストロークについて、i =
 iii項を繰り返し、得られたストローク類のコード
番号の並びを入力された文字の特徴データとする。
iv, for all strokes of one character, i =
Step iii is repeated, and the obtained sequence of code numbers of strokes is used as characteristic data of the input character.

■、特徴辞書には、すべての文字を基本スI・ローフタ
イブのコード番号(比較検定コード)の並びである特徴
データで表わしておき、これと、iv項で得られた特徴
データとを比較検定し、最も類似した文字を入力された
文字とr+1断する。
■In the feature dictionary, all characters are represented by feature data that is a sequence of code numbers (comparison test codes) for basic scripts and loaf types, and this is used for a comparison test with the feature data obtained in section iv. Then, the most similar character is separated by r+1 from the input character.

という方式であり、1ストロークが文字の一画分に対応
することを前提とするものである。
This method is based on the premise that one stroke corresponds to one stroke of a character.

この方式によれば、特徴辞書の基本ストロークタイプの
コード番号を、各文字ごとにストローク類に並べておく
ことにより、これと、入力された文字の基本ストローク
タイプのコード番号の順序とを比較することで入力され
た文字の識別ができるので、辞書を小型化できるととも
に、比較に要する時間、すなわち認識時間を短縮できる
According to this method, by arranging the code numbers of the basic stroke types in the feature dictionary in the stroke class for each character, it is possible to compare this with the order of the code numbers of the basic stroke types of the input characters. Since the characters input can be identified, the dictionary can be made smaller and the time required for comparison, that is, the recognition time, can be shortened.

また、上述した基本ストローク方式とは別の文′−?認
識方式として、直線近似方式がある。
Also, there is a sentence ′-? that is different from the basic stroke method mentioned above. As a recognition method, there is a linear approximation method.

これは、 1、基本ストローク方式と同様に、入力筆跡(第4図へ
)を折れ線(同図B)で近似する。
This is as follows: 1. Similar to the basic stroke method, the input handwriting (see Fig. 4) is approximated by a polygonal line (B in the same figure).

11、この折れ線について、その長さを得るとともに、
その方向を例えば第6図に示すように16ステツプで量
子化する。
11. Obtain the length of this polyline, and
The direction is quantized, for example, in 16 steps as shown in FIG.

iii、ii項の結果に基づいて、折れ線の各直線を最
も近かった方向のコード番号(第4図Bの1)「れ線の
場合は、rOJ、rlOJ)に皮換する。
Based on the results of sections iii and ii, each straight line of the polygonal line is replaced with the code number of the closest direction (1 in FIG. 4B) (for polygonal lines, rOJ, rlOJ).

iv、1文字分のすべてのストロークについて、i =
 iii項を繰り返し、得られた直線方向のコート番号
の並び及びそれぞれのtL線の長さを入力された文字の
特徴データとする。
iv, for all strokes of one character, i =
Step iii is repeated, and the obtained arrangement of coat numbers in the linear direction and the length of each tL line are used as characteristic data of the input character.

■、特徴辞書には、あらかじめ複数の文字を、直線の方
向のコード番号とその直線の長さを不すデータ、つまり
比較検定コードの並びである特徴データで表わしておき
、これとiv頃で得られた特徴データとを比較検定し、
緑も類似した文字を入力された文字と判断する。
■In the feature dictionary, multiple characters are represented in advance by data that excludes the code number of the straight line direction and the length of the straight line, that is, feature data that is a sequence of comparison test codes. Compare and test the obtained characteristic data,
Green also determines similar characters as input characters.

という方式である。This is the method.

この直線近似方式の場合、基本ストローク方式と比較し
て、特徴辞書は大型で認識の速度は遅くなるが、複数の
画が1ストロークで手蒼き入力され易い文字の場合には
、有利である。つまり、例入ば「糸」という文字のうち
「玄」のlHs分は1ス]・ローフで書かれ易く、その
場合、基本スト0−夕方式では認識精度が大幅に低下す
るが、直線近似方式であれば認*精度はあまり低下する
ことは無い。
In the case of this linear approximation method, the feature dictionary is larger and the recognition speed is slower than in the basic stroke method, but it is advantageous in the case of characters that are easy to input because multiple strokes are made in one stroke. In other words, for example, in the character ``Ito'', the lHs of ``Gen'' is likely to be written as 1 s] loaf, and in that case, recognition accuracy will drop significantly in the basic stroke 0 - evening style, but linear approximation If this method is used, the recognition accuracy will not decrease much.

文献:[日経エレクトロニクス41983年12月5日
号 〔発明が解決しようとする課り さて、上述のように、基本ストローク方式のみで文字認
識を行う場合には、辞書は小型化できるが、認識精度が
低下し、一方、直線近似方式のみで文字認識を行う場合
には、認識精度は^いが辞書が大型化してしまうという
問題がある。
Literature: [Nikkei Electronics 4, December 5, 1983 issue] [Issues that the invention aims to solve Now, as mentioned above, when character recognition is performed using only the basic stroke method, the dictionary can be made smaller, but the recognition accuracy On the other hand, when character recognition is performed using only the linear approximation method, there is a problem that the recognition accuracy is high but the dictionary becomes large.

そこで、一つの文字認識装置に基本ストローク方式と直
線近似方式との2つの特徴記述体系を用慈しておき、文
字単位で、それに適した特徴データの記述方式を選択し
て、辞書の小型化及び聰織率の向上を図ることが考えら
れている。
Therefore, two feature description systems, the basic stroke method and the linear approximation method, are used in one character recognition device, and the appropriate feature data description method is selected for each character, thereby reducing the size of the dictionary. It is also considered to improve the weave rate.

しかし、この場合、どちらの特徴記述体系を用いて入力
文字を認識するかは、外部からの指ポ、入力文字のスト
ローク数または辞書のグループごとに決められ、辞書上
の一つの文字を比較検定する間は一つの同じ特徴記述体
系しか用いていない。
However, in this case, which feature description system is used to recognize the input character is determined by the external finger point, the number of strokes of the input character, or each group in the dictionary, and a comparison test is performed using a single character in the dictionary. During this time, only one feature description system was used.

このため、文字の部分ごとに適した特徴記述体系が選択
できないので、辞書作成に多くの労力を必要とした。
For this reason, it was not possible to select an appropriate feature description system for each part of a character, so a lot of effort was required to create a dictionary.

この発明は以上のような問題点を解決しようとするもの
である。
This invention attempts to solve the above problems.

(課題を解決するための手段〕 ところで、一つの文字においても、その部分について考
えてみると、基本ストローク方式で十分認識し得る部分
と、基本ストローク方式では不十分であり、直線近似方
式を通用した方が通切な部分とが混在している場合が多
い。
(Means for solving the problem) By the way, if we think about the parts of a single character, we find that there are parts that can be sufficiently recognized using the basic stroke method, and parts that are insufficient for the basic stroke method, and parts that can be recognized using the linear approximation method. In many cases, it is mixed with parts where it would be more reasonable to do so.

そこで、この発明においては、一つの文字であっても、
その各部分毎に通切な文字認識方式があることに着目し
、一つの文字の各部分毎に適切な文字認識方式の比較検
定コードを、特徴辞書に記憶しておき、一つの文字の認
識を複数の文字認識方式で行うようにしたものである。
Therefore, in this invention, even if it is a single character,
Focusing on the fact that there is a consistent character recognition method for each part, we store the comparison test code of the appropriate character recognition method for each part of a character in a feature dictionary, and recognize one character. This is done using multiple character recognition methods.

〔作用〕[Effect]

一つの文字に対して、その各部分毎に、適切な文字認識
方式が通用され、認識精度を低下することなく、辞書サ
イズの小型化、文字認識の高速化を実現することができ
る。
Appropriate character recognition methods are used for each part of a single character, making it possible to reduce the size of the dictionary and speed up character recognition without reducing recognition accuracy.

〔実施例〕〔Example〕

第1図において、(1)は手書き文字の入力用タブレッ
ト、(2)はタブレット(1)から入力された入力筆跡
から雑音成分を除去し、験子化して折れ線に近似する前
処理回路である。そして、(3)は前処理回路(2)に
よって折れ線にされたデータを記憶する折れ線バッファ
である。
In Fig. 1, (1) is a tablet for inputting handwritten characters, and (2) is a preprocessing circuit that removes noise components from input handwriting input from tablet (1), transforms it into digits, and approximates it to a polygonal line. . And (3) is a polygonal line buffer that stores data converted into polygonal lines by the preprocessing circuit (2).

そして、(4)は折れ線バッファ(3)の折れ線のデー
タを第5図に示すような基本ストロークタイプのコード
番号に変換する変換回路、(5)は変換回路(4)から
のコード番号を記憶するバッファ、(6)は特徴辞書(
8)から比較検定コードを読み込み、バッファ(5)か
らの基本ストロークタイプのコード番号と比較検定する
基本ストローク方式の比較検定回路である。
(4) is a conversion circuit that converts the polyline data in the polyline buffer (3) into a basic stroke type code number as shown in Figure 5, and (5) stores the code number from the conversion circuit (4). buffer, (6) is the feature dictionary (
This is a basic stroke type comparison test circuit which reads the comparison test code from 8) and compares and tests it with the basic stroke type code number from the buffer (5).

また、(10)は折れ線バッファ(3)の折れ線のデー
タを第6図に示すような直線の方向のコード番号とその
直線の長さを示すデータに変換する変換回路、(11)
は変換回路(10)からのコード番号を記憶するバッフ
7、(12)は特徴辞書(8)から比較検定コードを読
み込み、バッファ(11)からの直線の方向のコード番
号と比較検定する直線近似方式の比較検定回路である。
(10) is a conversion circuit that converts the polygonal line data in the polygonal line buffer (3) into data indicating the code number of the straight line direction and the length of the straight line as shown in FIG. 6; (11)
is a buffer 7 that stores the code number from the conversion circuit (10), and (12) is a linear approximation that reads a comparison test code from the feature dictionary (8) and compares and tests it with the code number in the straight line direction from the buffer (11). This is a comparison test circuit of the method.

そして、(7)は、比較検定回路(6)及び(12)か
ら比較検定の途中の情報、つまり現在、文字のどの部分
を比較検定しているかの情報や、辞i) (81の文字
と認識すべき文字との不一致となった数、すなわち不合
格数等を記憶する比較検定レジスタ、(9)は比較検定
回路(6)及び(12)から比較検定結果のされた文字
が何であるかを判断する入力文字判断回路である。
And (7) is the information from the comparison test circuits (6) and (12) during the comparison test, that is, the information about which part of the character is currently being compared, and the information about the character i) (81 characters and A comparison test register that stores the number of characters that do not match with the characters to be recognized, that is, the number of failures, etc. (9) is a character that is the result of the comparison test from the comparison test circuits (6) and (12). This is an input character judgment circuit that judges the input character.

ここで、特徴辞書(8)には、文字の各部分毎に適した
文字認識方式の比較検定コードが記憶されているもので
ある。
Here, the feature dictionary (8) stores comparison test codes for character recognition methods suitable for each part of a character.

つまり、例えば、第2図に示すように、「索」という文
字であれば、この文字のうち「ハ」の部分は基本ストロ
ーク方式で比較検定を行うようにするため、1ppJを
示す基本ストローク方式の比較検定コードの並び、つま
り例えば第5図にネオコード番号の並びrlJ、r4J
、r4J、r6Jが特徴データとして記憶される。続い
て、「ハ」に続く「玄」の部分は直線近似方式で比較検
定をけうようにするため、直線近似方式を示すコードL
が記憶され、続いて「玄」を示す直線近似方式の比較検
定コードの並び、つまり、第6図にボすコード番号の並
びrlOJ、  ri4J、  riot、  rOJ
In other words, for example, as shown in Figure 2, in the case of the character ``Saku'', the ``Ha'' part of this character is compared using the basic stroke method, so the basic stroke method that indicates 1 ppJ is used. In other words, for example, in Figure 5, the neo code number arrangement rlJ, r4J
, r4J, and r6J are stored as feature data. Next, in order to perform the comparison test using the linear approximation method, the “Gen” part that follows “Ha” is code L, which indicates the linear approximation method.
is memorized, followed by the sequence of linear approximation comparison test codes indicating "Gen", that is, the sequence of code numbers shown in Figure 6: rlOJ, ri4J, riot, rOJ
.

114」と直線の長さとを示す特徴データが2也される
。そして、媛後に「玄」に続く「小コの部分は再び基本
ストローク方式で比較検定を行うようにするため、コー
ドSが記憶され、続いて「小」を示す基本ストローク方
式の比較検定コードの並びである特徴データが記憶され
る。なお、文字の最初の部分を直線近似方式で行うよう
にする文字の場合には、直線近似方式を示すコードLが
最初に記憶されている。また、コードS、Lは例えば「
0」又はrlJで表現してもよいものである。
114'' and the length of the straight line. Then, in order to perform the comparison test again using the basic stroke method for the small part that follows "Gen" after Hime, code S is memorized, and then the code S for the comparison test using the basic stroke method that indicates "small" is memorized. Feature data that is a sequence is stored. In addition, in the case of a character for which the first part of the character is to be processed by the linear approximation method, a code L indicating the linear approximation method is stored first. Also, the codes S and L are, for example, “
0'' or rlJ.

さて、次に第1図〜jBa図を参照して、この発明の一
実施例の動作について説明する。なお、以上においては
最初に比較検定される文字を、第2図に示す「索」とい
う文字とした場合を例にして説明する。
Next, the operation of an embodiment of the present invention will be described with reference to FIGS. 1 to 1B. In the above description, an example will be explained in which the first character to be compared and tested is the character "Saku" shown in FIG. 2.

まず、タブレフト(1)に入力された文字が前処理回路
(2)に供給され、折れ線となり、この折れ線を不すデ
ータが折れ線バッファ(3)に供給される。
First, characters input to the tab left (1) are supplied to a preprocessing circuit (2) to form a polygonal line, and data that eliminates the polygonal line are supplied to a polygonal line buffer (3).

すると、第3図に示すフローチャートのステップ(10
0)において、比較検定レジスタ(7)が初朋化される
。そして、ステップ(100)からステップ(101)
に進み、このステップ(101)において、ストローク
方式比較検定回路(6)によって、辞書(8)に登録さ
れた文字のうち最初に比較検定される文字の最初の比f
9.検定コードが読み込まれる。
Then, step (10) of the flowchart shown in FIG.
0), the comparison test register (7) is initialized. And from step (100) to step (101)
In this step (101), the stroke method comparison test circuit (6) calculates the first ratio f of the first character registered in the dictionary (8) to be compared and tested.
9. The verification code will be loaded.

次に、ステップ(101”)からステップ(102)に
進み、このステップ(102)において、読み込まれた
比較検定コードが直線近似方式を示すコードか否かが判
断される。この場合、最初の比較検定コードには、「索
」の第1ストロークである1−一」を示すコード、例え
ば第5図に示す基本ストロークタイプのコード番号rl
Jが記憶されており、これは直線近似方式を示すコード
ではないと判断されステップ(102)から基本ストロ
ーク方式による比較検定が行われるステップ(103)
に進む。そして・、このステップ(103)において、
折れ線バッファ(3)に記憶された第1ストロークのデ
ータが、変換回路(4)、バッファ(5)を介して、ス
トローク方式比較検定回路(6)に供給され、この比較
検定回路(6)において、辞書(8)から読み込んだコ
ード番号「1」と比較検定される。
Next, the process proceeds from step (101'') to step (102), and in this step (102), it is determined whether the read comparison test code is a code indicating a linear approximation method.In this case, the first comparison The verification code includes a code indicating ``1-1'' which is the first stroke of ``rope'', for example, the code number rl of the basic stroke type shown in Figure 5.
J is stored, and it is determined that this is not a code indicating the linear approximation method, and a comparison test using the basic stroke method is performed from step (102) to step (103).
Proceed to. And, in this step (103),
The data of the first stroke stored in the polygonal line buffer (3) is supplied to the stroke method comparison and verification circuit (6) via the conversion circuit (4) and buffer (5), and in this comparison and verification circuit (6), , is compared with the code number "1" read from the dictionary (8).

そして、次に、ステップ(103)からステップ(10
4)に進み、このステップ(104)において、辞書に
次の比較検定コードがあるか否かの判断が行われる。そ
して、この例の場合には、次の比較検定コードとして、
「索」の第2ストロークである「↓」を示すコード番号
「4」が記憶されているので、次の比較検定コードあり
と判断され、ステップ(104)からステップ(101
)に戻り、このコード番号「4」が比較検定回路(6)
によって読み込まれる。そして、上述と同じように、ス
テップ(102)〜(104)が実行され、さらに次の
比較検定コードが読み込まれる。なお、ステップ(10
3)において、それ迄の比較検定の結果の不合格の合計
数が所定の値、例えば3つ以上となった場合には、一つ
の文字の比較検定の途中であっても、その文字は不合格
と判定され、後述するステップ(111)に進む。
Then, from step (103) to step (10
Proceeding to step 4), in this step (104) it is determined whether the dictionary contains the next comparison test code. And in this example, the following comparison test code:
Since the code number "4" indicating "↓" which is the second stroke of "search" is stored, it is determined that the next comparison test code exists, and from step (104) to step (101
), this code number "4" is the comparison test circuit (6)
read by. Then, in the same manner as described above, steps (102) to (104) are executed, and the next comparison test code is read. In addition, step (10
In 3), if the total number of failed comparison test results up to that point reaches a predetermined value, for example, 3 or more, that character will be rejected even if the comparison test for one character is in the middle. It is determined that the test has passed, and the process proceeds to step (111), which will be described later.

こうして、ステップ(103)において、不合格と判定
されなければ、ステップ(101)〜(104)は、基
本ストローク方式の特徴データD1が終了するまで、つ
まり、直線近似方式を示すコードLが読み込まれるまで
、くり返し行われる。
In this way, if step (103) is not determined to be a failure, steps (101) to (104) are continued until the feature data D1 of the basic stroke method is completed, that is, the code L indicating the linear approximation method is read. It is repeated until.

そして、このコードLが比較検定回路(6)に読み込ま
れ、ステップ(102)において、直線近似方式を示す
コードであると判断されるとそれ迄の比較検定結果を示
すデータが比較検定回路(6)から比較検定レジスタ(
7)に供給される。そして、ステップ(102)からス
テップ(105)に進む。
Then, this code L is read into the comparison test circuit (6), and in step (102), when it is determined that the code indicates the linear approximation method, the data indicating the comparison test results up to that point are read into the comparison test circuit (6). ) to the comparison test register (
7). Then, the process proceeds from step (102) to step (105).

すると、直線近似方式の比較検定回路(12)は、ステ
ップ(105)において、辞書(8)からコードLの次
の比較検定コードを読み込むと共に、レジスタ(7)の
内容も読み込む。そして、ステップ(105)からステ
ップ(106)に進み、このステップ(106)におい
て、読み込んだ比較検定コードが基本ストローク方式を
示すコードSか否かが判断される。
Then, in step (105), the linear approximation comparison test circuit (12) reads the next comparison test code after the code L from the dictionary (8), and also reads the contents of the register (7). Then, the process proceeds from step (105) to step (106), and in step (106), it is determined whether the read comparison test code is code S indicating the basic stroke method.

そして、読み込んだ比較検定コードはコードSではない
とステップ(106)で判断されると、このステップ(
106)から、ステップ(107)に進む。
Then, when it is determined in step (106) that the read comparison test code is not code S, this step (
106), the process proceeds to step (107).

すると、直線近似方式の比較検定回路(12)は、認識
レジスタ(7)の内容を、参照して、次に比較検定すべ
き折れ線のデータを折れ線バッファ(3)から、変換回
路(10)、バッファ(11)を介して、取り込む。そ
して、この取り込んだデータと辞書(8)がら読み込ん
だ比較検定コードとが比較検定回路(12)により比較
検定される。そして、このステップ(107)において
、それ迄の比較結果の不合格の合計数が所定の値以上と
なった場合には、ステップ(107>から後述するステ
ップ(111)に進み、所定の値未満であれば、ステッ
プ(107)からステップ(108)に進み、このステ
ップ(108)において、次の比較検定コードがあるか
否かが判断される。こうして、直線近似方式の特徴デー
タD2が終了するまで、つまり、基本ストローク方式を
示すコードSが読み込まれるまで、ステップ(105)
〜(10B)が繰り返し行われる。
Then, the linear approximation type comparison test circuit (12) refers to the contents of the recognition register (7) and transfers the data of the next line to be compared and tested from the line buffer (3) to the conversion circuit (10), Capture via buffer (11). Then, this imported data and the comparison test code read from the dictionary (8) are compared and tested by the comparison test circuit (12). In this step (107), if the total number of failures in the comparison results up to that point is greater than or equal to a predetermined value, the process proceeds from step (107> to step (111), which will be described later). If so, the process proceeds from step (107) to step (108), and in this step (108) it is determined whether there is the next comparison test code.Thus, the feature data D2 of the linear approximation method is completed. Step (105) until the code S indicating the basic stroke method is read.
. . . (10B) are repeated.

そして、ステップ(105)において、コードSが比較
検定回路(12)に読み込まれ、ステップ(106)で
、読み込まれたコードがコードSであると判断されると
、それ迄の認識結果等を示すデータが比較検定回路(1
2)からレジスタ(7)に供給される。そして、ステッ
プ(106)からステップ(101)に進む。
Then, in step (105), code S is read into the comparison test circuit (12), and in step (106), when it is determined that the read code is code S, the recognition results etc. up to that point are displayed. The data is compared to the test circuit (1
2) to the register (7). Then, the process proceeds from step (106) to step (101).

すると、ストローク方式の比較検定回路(6)は辞! 
(81からコードSの次の比較検定コードを続み込むと
共に、レジスタ(7)の内容も読み込む、そして、ステ
ップ(101’)からステップ(102)を介して、ス
テップ(103)に進む。すると、比較検定回路(61
は、このステップ(103)において、レジスタ(7)
の内容を参照して、次に比較検定すべき折れ線のデータ
を折れ線バッファ(3)から、変換回路(4)、バッフ
ァ(5)を介して、取り込む、そして、この取り込んだ
データと辞書(8)から読み込んだ比較検定コードとが
比較検定される。
Then, the stroke method comparison test circuit (6) is rejected!
(Continues from 81 with the next comparison verification code of code S, and also reads the contents of register (7), and proceeds from step (101') to step (102) to step (103). , comparison test circuit (61
In this step (103), register (7)
With reference to the contents of ) is compared with the comparison test code read from ).

ツ降、ステップ(103)において、その文字が不合格
と判定されなければ、基本ストローク方式の特徴データ
D3が終了する迄、ステップ(101)〜(104)が
繰り返し実行される。
If the character is not determined to be rejected in step (103), steps (101) to (104) are repeatedly executed until the basic stroke method feature data D3 is completed.

そして、特徴データD3が終了したことが、ステップ(
104)で判断されると、ステップ(104)からステ
ップ(109)に進み、それ迄の比較検定結果が比$2
検定回路(6)から比較検定結果のバッファ<9)に供
給され、記憶される。すると、次に、ステップ(109
)からステップ(111)に進み、このステップ(11
1)において、辞書に、次に比較検定すべき文字がある
か否かが判断され、あると判断されれば、ステップ(1
11)からステップ(100)に進み、上述と同様にし
て、比較検定が行われる。
Then, it is determined that the feature data D3 has been completed in step (
If the judgment is made in step 104), the process proceeds from step (104) to step (109), and the comparison test results up to that point are compared to
It is supplied from the test circuit (6) to a comparative test result buffer <9) and stored. Then, next step (109
) to step (111), and this step (11
In step 1), it is determined whether or not there is a character to be compared next in the dictionary, and if it is determined that there is, step (1) is performed.
The process proceeds from step (11) to step (100), where a comparison test is performed in the same manner as described above.

さて、以上の説明では、文字の最後の部分が基本ストロ
ーク方式で登録された「索」という文字の例を示したが
、文字の最後の部分が直線近似方式で登録された文字の
場合には、ステップ(10B)において、その文字の最
後の部分の終了が判断されると、ステップ(10B)か
らステップ(110)に進み、それ迄の比較検定結果が
比較検定回路(12)から比較検定結果のバッファ(9
)に供給され、記憶される。すると、次に、ステップ(
110)からステップ(111)に進み、このステップ
(111)において、次に比較検定すべき文字があるか
否かが判断され、無いと判断されると、ステップ(11
1からステップ(112)に進む。そして、このステッ
プ(112)において、バッファ(7)から、それ迄の
比較検定結果が、入力文字判断回路(13)に供給され
る。そして、この入力文字判断回路(13)において、
比較検定結果のうち、最も不合格数の少なかった文字が
入力された文字と判断される。
Now, in the above explanation, we have shown an example of the character ``Saku'' where the last part of the character was registered using the basic stroke method, but if the last part of the character is registered using the linear approximation method, then , When the end of the last part of the character is determined in step (10B), the process proceeds from step (10B) to step (110), and the comparison test results up to that point are sent from the comparison test circuit (12). buffer (9
) and stored. Then, step (
Step (110) proceeds to step (111), and in this step (111) it is determined whether or not there is a character to be compared next.If it is determined that there is no character, step (11
1 to step (112). Then, in this step (112), the comparison test results up to that point are supplied from the buffer (7) to the input character judgment circuit (13). In this input character judgment circuit (13),
Among the comparison test results, the character with the least number of failures is determined to be the input character.

以上のように、この実施例によれば、一つの文字の各部
分毎に、適切な文字認識方式、つまり、基本ストローク
方式あるいは直線近似方式を示すコードを特徴酸IF 
(81に記憶しておき、これに従って、文字の各部分毎
にその部分に適した方式で比較検定を行うようにしたの
で、例えば比較検定コードのビット数が8ピツトであれ
ば、それぞれの文字認識方式毎に、255種類のコード
を設定することが可能で、文字認識方式を一種類しか採
用しない場合に比べ比較検定コードのビット数の増加を
伴なうことなく、かつ、入力文字の認識精度を11下す
ることなく、辞書サイズの小型化及び文字認識の高速化
を行うことができる。
As described above, according to this embodiment, a code indicating an appropriate character recognition method, that is, the basic stroke method or the linear approximation method, is assigned to each part of one character using the characteristic acid IF.
(81), and according to this, the comparison test is performed for each part of the character in a method suitable for that part, so for example, if the number of bits of the comparison test code is 8 pits, each character It is possible to set 255 types of codes for each recognition method, which allows for recognition of input characters without increasing the number of bits of the comparison test code compared to when only one type of character recognition method is used. It is possible to reduce the size of the dictionary and speed up character recognition without reducing accuracy by 11%.

なお、上述した例においては、基本ストローク方式と、
直線近似方式との2つの文字認識方式を採用したが、こ
の2つの方式に限らず、他の文字認識方式を用いること
も可能である。
In addition, in the above example, the basic stroke method and
Although two character recognition methods, a linear approximation method and a linear approximation method, have been adopted, it is not limited to these two methods, and other character recognition methods can also be used.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、特徴辞書に一つの文字
の各部分毎にその部分にとって通切な文字認識方式の比
較検定コードを記憶しておき、これに従って、文字の各
部分毎に比較検定を行うように構成したの、で、文字の
認識精度を低下することなく、辞書サイズの小型化及び
文字認識の高速化を行うことができるという効果がある
As described above, according to the present invention, a comparison test code of a character recognition method that is consistent with each part of a character is stored in the feature dictionary, and a comparison test is performed for each part of the character according to the code. The present invention has the advantage that the dictionary size can be reduced and the character recognition speed can be increased without deteriorating the character recognition accuracy.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例のブロック図、第2図は、
辞書に登録するデータの例を示す図、第3図はフローチ
ャートを示す図、第4図は折れ線近似図、第5図は基本
ストロークタイプを示す図、第6図は直線の方向コード
を示す図である。 (1)は手書き文字の入力用タブレット、(2)は前処
理回路、(3)は折れ線バッファ、(6)は基本ストロ
ーク方式の比較検定回路、(8)は特徴辞書、(12)
は直線近似方式の比較検定回路である。 拵rta泣伝(2) 嬉4図 直J亀の方向コード 第6図 基シL又ドロー99イフ゛のコード 第5図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
Figure 3 shows an example of data to be registered in the dictionary, Figure 3 shows a flowchart, Figure 4 shows a polygonal line approximation diagram, Figure 5 shows basic stroke types, and Figure 6 shows straight line direction codes. It is. (1) is a tablet for inputting handwritten characters, (2) is a preprocessing circuit, (3) is a polyline buffer, (6) is a basic stroke comparison test circuit, (8) is a feature dictionary, (12)
is a comparison test circuit using a linear approximation method. Koshirae rta story (2) Joy 4 diagram straight J turtle direction code Figure 6 base L or draw 99 if code Figure 5

Claims (1)

【特許請求の範囲】 手書き文字の入力手段と、 複数の文字認識方式のうち、文字の各部分毎に、その部
分に適した文字認識方式による比較検定コードが記憶さ
れた特徴辞書と、 上記特徴辞書に登録された比較検定コードにしたがって
、上記入力された文字と、上記特徴辞書に登録された文
字とを比較検討する比較検定回路とを備え、 上記入力された文字の各部分毎に、上記特徴辞書の比較
検定コードに従った文字認識方式により比較検定を実行
するようにしたオンライン手書き文字の認識装置。
[Scope of Claims] A means for inputting handwritten characters; a feature dictionary storing, for each part of a character, a comparison verification code using a character recognition method suitable for that part among a plurality of character recognition methods; A comparison test circuit is provided which compares and examines the input character and the character registered in the feature dictionary according to the comparison test code registered in the dictionary, An online handwritten character recognition device that performs a comparison test using a character recognition method according to a comparison test code of a feature dictionary.
JP63215573A 1988-08-30 1988-08-30 On-line handwritten character recognizing device Pending JPH0262684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63215573A JPH0262684A (en) 1988-08-30 1988-08-30 On-line handwritten character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63215573A JPH0262684A (en) 1988-08-30 1988-08-30 On-line handwritten character recognizing device

Publications (1)

Publication Number Publication Date
JPH0262684A true JPH0262684A (en) 1990-03-02

Family

ID=16674671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63215573A Pending JPH0262684A (en) 1988-08-30 1988-08-30 On-line handwritten character recognizing device

Country Status (1)

Country Link
JP (1) JPH0262684A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225811A (en) * 1991-12-20 1995-08-22 Internatl Business Mach Corp <Ibm> Method and device for recognizing color-coded character

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225811A (en) * 1991-12-20 1995-08-22 Internatl Business Mach Corp <Ibm> Method and device for recognizing color-coded character
JP2574974B2 (en) * 1991-12-20 1997-01-22 インターナショナル・ビジネス・マシーンズ・コーポレイション Color coded character recognition method

Similar Documents

Publication Publication Date Title
JP3155577B2 (en) Character recognition method and device
US5051886A (en) System for character stream search using finite state automaton technique
JPH08194719A (en) Retrieval device and dictionary and text retrieval method
JPH0262684A (en) On-line handwritten character recognizing device
JP2609196B2 (en) Similarity calculator
JPH0269887A (en) On-line handwritten character recognizing device
JPH0619962A (en) Text dividing device
JPS62169273A (en) Registration and reference system for label information in language processing program
JPH0475552B2 (en)
JPS63147287A (en) Optical character recognizing device
JPH01161592A (en) Character recognizing device
JPS61136179A (en) Character recognizer
JPH0337764A (en) Word dictionary retrieving device
JPH0264884A (en) Dictionary retrieval circuit for character recognizing device
JPH01175688A (en) Character recognition device
JPS6029823A (en) Adaptive type symbol string conversion system
JPS59165127A (en) Conversion system of kana to kanji with japanese phonetic syllabary
JPS62198993A (en) Continuous character recognizing device
JPS61278933A (en) Data sorting out system
JPH03219386A (en) Recognizing device for handwritten character
JPH04283853A (en) Japanese syllabary-to-chinese character converting method
JPS5953990A (en) Character recognizing device
JPS59188783A (en) Character discriminating and processing system
JPH0567989B2 (en)
JPS58222386A (en) Correcting system of character recognizer