JPS638886A - On-line continuous character recognizing device - Google Patents

On-line continuous character recognizing device

Info

Publication number
JPS638886A
JPS638886A JP61152336A JP15233686A JPS638886A JP S638886 A JPS638886 A JP S638886A JP 61152336 A JP61152336 A JP 61152336A JP 15233686 A JP15233686 A JP 15233686A JP S638886 A JPS638886 A JP S638886A
Authority
JP
Japan
Prior art keywords
pattern
character
time
input
end point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61152336A
Other languages
Japanese (ja)
Other versions
JPH0533434B2 (en
Inventor
Hiroshi Shimizu
洋 清水
Masao Watari
誠夫 亘理
Kazunaga Yoshida
吉田 和永
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61152336A priority Critical patent/JPS638886A/en
Publication of JPS638886A publication Critical patent/JPS638886A/en
Publication of JPH0533434B2 publication Critical patent/JPH0533434B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To use position information and to recognize a character which cannot be recognized at a direction angle by making a border value into a position origin at the time of matching an input character string and a standard pattern. CONSTITUTION:The device is composed of a normalizing part 270 to execute the normalization of the position information of an input pattern with the border between characters, a standard pattern memory part 130 to store a standard pattern to link a stroke between the characters from the terminal point of the character to the starting point of a next character to an isolated character pattern, a terminal point table 200 to store the terminal point of the isolated character pattern and a recognizing part to recognize the input pattern based upon a character string standard pattern with the position information. At the time of matching the input character string and the standard pattern, the border value when the optimum channel is obtained, in short, the border between the characters of the input pattern is preserved. By making the border value into the origin, the position is normalized concerning one character in the input character string and the position information is used as the distance between points at the time of matching.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はオンラインで入力された文字の筆跡より、1個
以上連続して書かれた文字を認識するオンライン連続文
字認識装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an online continuous character recognition device that recognizes one or more consecutively written characters from the handwriting of characters input online.

(従来の技術) 従来、連続して書かれた文字列中から使用者が1文字の
終わりを指示することなしにその文字列を認識する装置
には例えば、「特願昭60−173421号J  CV
下、文献(1)と称す)記載のオンライン連続文字認識
装置があった。以下、この装置を例にとって従来のオン
ライン連続文字認識装置を説明する。
(Prior Art) Conventionally, a device that recognizes a string of characters written in succession without the user instructing the end of one character includes, for example, "Japanese Patent Application No. 173421/1983 CV
There was an online continuous character recognition device described in Reference (1) below. Hereinafter, a conventional online continuous character recognition device will be explained using this device as an example.

この装置では、切れ目なく書かれた文字をも含む連続し
て書かれた文字を入力パターンとし、このパターンと予
め認識装置内に保持されている標準パターンとパターン
マツチングすることにより文字を認識する。
This device uses continuously written characters, including characters written without breaks, as an input pattern, and recognizes the characters by pattern matching this pattern with a standard pattern stored in the recognition device in advance. .

入力された文字列は文字を構成する線分の方向角aiの
時系列パターン に交換される。この時系列パターンを入力パターンAと
する。同様にして各文字ごとの標準パターンは方向角b
jの時系列パターン BC= として装置内に保持されている。ここでnは文字名を表
す。この時系列パターンを連続文字パターンBCとする
。連続文字パターンBGは一文字の書き始めから書き終
わりまでのパターンを表す孤立文字パターンBI と文字の書き終わりから書き始めからまでの文字間スト
ロークを表す83 とからなる。
The input character string is exchanged into a time-series pattern of directional angles ai of line segments constituting the character. Let this time-series pattern be input pattern A. Similarly, the standard pattern for each character is direction angle b
It is held in the device as the time series pattern BC= of j. Here, n represents a character name. This time-series pattern is referred to as a continuous character pattern BC. The continuous character pattern BG consists of an isolated character pattern BI representing a pattern from the beginning to the end of one character and an inter-character stroke 83 representing the inter-character stroke from the end of writing to the beginning of writing.

この連続文字パターンBCの中に含まれる孤立文字パタ
ーンBIの終点S を記憶した終点テーブル Ej (n) =sn(5) が連続文字パターンBGと同様に装置内に保持されてい
る。
An end point table Ej (n) = sn (5) storing the end point S of the isolated character pattern BI included in the continuous character pattern BC is held in the device in the same way as the continuous character pattern BG.

この連続文字パターンBCを1個以上連結し、入力パタ
ーンとマツチングするための文字列標準パターンを合成
する。しかし、最後に連結される1個のパターンだけは
終点テーブルEjに記載されている終点までの孤立文字
パターンBIとする。
One or more of these continuous character patterns BC are connected to synthesize a character string standard pattern for matching with the input pattern. However, only one pattern to be connected at the end is an isolated character pattern BI up to the end point listed in the end point table Ej.

ここで、入力パターンAの1番目のデータと、標準パタ
ーンBCの3番目のデータの間の距離を、方向色町とb
jの間のなす角度で表す。この距離をポイント間距離 とする。入力パターンAと文字列標準パターンのパータ
ン間距離りは、このポイント間距離do(i、j)を時
間方向に累積した値が最小となるように、入力パターン
へと文字列標準パターンを時間軸について整合させた時
のポイント間距離d、(i、j)の累積値とする。この
ようにして合成した文字列標準パターンと入力パターン
Aとのパターン間距離りが最小となる連続文字パターン
BCの組み合わせを認識結果とする。
Here, the distance between the first data of input pattern A and the third data of standard pattern BC is determined by the direction b
It is expressed as the angle formed between j. This distance is defined as the point-to-point distance. The inter-pattern distance between the input pattern A and the character string standard pattern is calculated by changing the character string standard pattern to the input pattern on the time axis so that the cumulative value of this point-to-point distance do (i, j) in the time direction is the minimum. Let this be the cumulative value of the inter-point distance d, (i, j) when matched. The combination of consecutive character patterns BC that minimizes the inter-pattern distance between the character string standard pattern synthesized in this way and the input pattern A is taken as a recognition result.

この時間軸についての整合は、文献(1)中に述べられ
ているDPマツチング法により行うことができる。入力
パターンへの時刻iにおいて連続文字パターンBCとの
DPマツチングは漸化式%式%) をj・1,2.・・・jに対して計算することにより時
刻iまでの最小累積距離が得られる。ただし、初期値と
してg、 (0,0) =O,gn(0,j) = o
o (j=1.2゜・・・jo)を与える。
This matching on the time axis can be performed by the DP matching method described in document (1). DP matching with the continuous character pattern BC at time i to the input pattern is the recurrence formula %) j・1,2. ... By calculating for j, the minimum cumulative distance up to time i can be obtained. However, the initial value is g, (0,0) =O, gn(0,j) = o
o (j=1.2°...jo) is given.

この漸化式演算と同時に、後に最小のパターン間距離を
与える標準パターンの組み合せをたどるるために必要な
経路値り。(i、j)についてり、 (i、j) = なる代入演算を行う。ただし、初期値としてり、 (0
,0)=0とする。経路値り。(i、j)には、時刻i
、jにおいて(7)式の漸化式演算を行う時、その境界
距離がどこで与えられたか、つまり標準パターンの始端
が入力パターンのどこに対応しているかという境界値が
保存されている。
At the same time as this recurrence formula calculation, the path value required to trace the combination of standard patterns that later gives the minimum distance between patterns. Regarding (i, j), perform the assignment operation such that (i, j) =. However, the initial value is (0
,0)=0. Route value. (i, j) has time i
, j, when performing the recurrence formula calculation of equation (7), the boundary value where the boundary distance is given, that is, where the starting end of the standard pattern corresponds to the input pattern is stored.

文字名n2時刻iまでの最小累積距離 にJ、 (i、+  )の中でnについて最小なものT
=m、i、n Qn(i、J>       (9)が
次の時刻i+1における漸化式演算の境界距離となる。
Character name n2 The minimum cumulative distance to time i is J, and the minimum value T for n among (i, +)
=m, i, n Qn(i, J> (9) becomes the boundary distance of the recurrence formula calculation at the next time i+1.

すなわち、 Qn (i、O) =T          (10)
となる。また、その時の経路の境界値はhn(i、O)
 = i            (11)で与えられ
る。
That is, Qn (i, O) = T (10)
becomes. Also, the boundary value of the route at that time is hn(i, O)
= i (11).

また、(9)式を満足する文字名ntとその時の・nt 経路値り。t(i、、+  )をそれぞれ境界文字名N
 (i)と境界経路L(i)に次のように代入しておく
Also, the character name nt that satisfies equation (9) and the nt route value at that time. t(i,,+) respectively as boundary character name N
(i) and the boundary route L(i) as follows.

n(i) =nt             (12)
L(i) =h  (i、Jn[)        (
13)nt 境界文字名n(1)と境界経路L(i)には、標準パタ
ーンの終端J においてその累積距離が最小となる標準
パターンの文字名ntとその標準パターンの始端の位置
が記憶される。つまり、文字名n(i)の標準パターン
が時刻L (i)からiまでの部分に整合したことがわ
かる。
n(i) = nt (12)
L(i) = h (i, Jn[) (
13) In the nt boundary character name n(1) and the boundary route L(i), the character name nt of the standard pattern whose cumulative distance is the minimum at the end J of the standard pattern and the position of the starting edge of the standard pattern are stored. Ru. In other words, it can be seen that the standard pattern of the character name n(i) matches the portion from time L (i) to i.

一方、入力パターンAの最後の部分は孤立文字パターン
BIに対する最小パターン間距離を求めなければならな
い。そこで、入力パターンAの終点i=1においては終
点テーブルEj (n)より孤立文字パターンBIの終
点 5n=Ej (n)            (14)
を求め(7) 、 (&)式の漸化式演算と代入演算を
j=1.2.・・・Soの孤立文字パターンBIの部分
に対してのみ行う。これにより、パターン間距離りがの
ごとく求まる。
On the other hand, for the last part of the input pattern A, the minimum inter-pattern distance with respect to the isolated character pattern BI must be determined. Therefore, at the end point i=1 of the input pattern A, the end point 5n of the isolated character pattern BI is determined from the end point table Ej (n) = Ej (n) (14)
Find (7) and perform the recurrence formula operation and assignment operation of the (&) expression as j=1.2. ...This is carried out only for the isolated character pattern BI part of So. As a result, the distance between patterns can be determined as follows.

以上から認識結果は次のように得られる。前述の境界文
字名N (i)には時刻iにおいて累積距離が最小とな
った標準パターンの文字名nが保存されている。また、
境界経路L u)にはその境界値が保存されている。i
=Iにおいて、境界文字名N (i)の値 nr=N(i)              (16)
が時刻L(i)からIまでの部分に整合した標準パター
ンの文字名nrとなる。続いてiの値をL(1)と買き
換えて同様にN(i)の値を求める。
From the above, the recognition results are obtained as follows. The above-mentioned boundary character name N (i) stores the character name n of the standard pattern whose cumulative distance is the minimum at time i. Also,
The boundary value is stored in the boundary route L u). i
=I, value of boundary character name N (i) nr=N(i) (16)
becomes the character name nr of the standard pattern that matches the portion from time L(i) to I. Next, the value of i is replaced with L(1) and the value of N(i) is found in the same way.

L(i)=0となるまでL(1)をたどることによって
認識結果が時刻と逆順に得られる。
By tracing L(1) until L(i)=0, recognition results are obtained in reverse order of time.

(発明が解決しようとする問題点) 従来、入力パターンと標準パターンのポイント間距離d
、(i、j)は位置情報を使わずに、方向角などを用い
ていた。これは、入力パターンの文字間の境界が分らず
、入力文字列の位置情報と、−文字ごとに分離された標
準パターンの位置情報の比較ができなかったためである
。しかし、カタカナの「コ」と「ユ」を認識する場合な
ど、違いは最終ストロークの終点の横方向の位置だけで
あり、方向角などでは判別ができなかった。
(Problem to be solved by the invention) Conventionally, the distance d between the points of the input pattern and the standard pattern
, (i, j) did not use position information, but instead used direction angle, etc. This is because the boundaries between characters in the input pattern were not known, and the positional information of the input character string could not be compared with the positional information of the standard pattern separated for each - character. However, when recognizing the katakana letters ``ko'' and ``yu,'' the only difference is the lateral position of the end point of the final stroke, and it is not possible to distinguish based on the direction angle.

このように従来、文字の位置情報が使用できないために
認識できない文字が存在した。本発明の目的はその問題
点を解決したオンライン文字認識装置を提供することに
ある。
As described above, conventionally, there were characters that could not be recognized because character position information could not be used. An object of the present invention is to provide an online character recognition device that solves this problem.

(問題点を解決するための手段) 本発明によるオンライン連続文字認識装置は、筆記され
る文字の筆跡を時系列の人カバターンとして読み込む入
力部と:前記入力パターンの位置情報の正規化を文字間
の境界を用いて行なう行なう正規化部と;1文字を表す
孤立文字パターンに、文字の終点から次の文字の始点ま
での文字間ストロークを連結した標準パターンを記憶す
る為の標準パターン記憶部と;前記孤立文字パターンの
終点を記憶する終点テーブルと;前記標準パターンを0
個以上連結したパターンの最後に、終点を前記終点テー
ブル中に記憶された終点とした孤立文字パターンを連結
した文字列標準パターンをもとに、前記入力パターンを
位置情報を用いて認識する認識部とにより構成される。
(Means for Solving the Problems) The online continuous character recognition device according to the present invention includes an input unit that reads the handwriting of written characters as a time-series human cover pattern; and a normalization of position information of the input pattern between characters. a standard pattern storage unit for storing a standard pattern in which inter-character strokes from the end point of a character to the start point of the next character are connected to an isolated character pattern representing one character; ; An end point table that stores the end point of the isolated character pattern;
A recognition unit that recognizes the input pattern using positional information based on a character string standard pattern in which an isolated character pattern whose end point is the end point stored in the end point table is concatenated at the end of a pattern in which two or more connected characters are connected. It is composed of

(作用) 本発明のオンライン文字認識装置においては、入力され
た文字列と標準パターンのマツチング時において、時刻
i−1において最適となる経路を取る時の境界値、つま
り入力パターンの文字間の境界(以後、文字境界と称す
)を保存する。そして、その境界値を原点とすることで
、入力文字列中の一文字について位置の正規化を行い、
その位置情報をマツチング時のポイント間距離として用
いる。
(Function) In the online character recognition device of the present invention, when matching an input character string with a standard pattern, the boundary value when taking the optimal route at time i-1, that is, the boundary between characters of the input pattern. (hereinafter referred to as character boundaries). Then, by using that boundary value as the origin, the position of one character in the input string is normalized,
The position information is used as the distance between points during matching.

本装置では入力された文字列は文字を構成する入力点の
位置座標(aXH、aye )の時系列パターン A=((ax・、 a”yH) l i=1.2. ・
、 I )に変換される。この時系列パターンを入力パ
ターンAとする。同様にして各文字ごとの標準パターン
は位置座標(bx・、by、) として装置内に保持されている。この時系列パターンを
連続文字パターンBCとする。これらのパターンの位置
座標の原点(以下、位置原点と称す)は文字列または、
文字の書き始めの点とする。連続文字パターンBCは一
文字の書き始めから書き終わりまでのパターンを表す孤
立文字パターンI と文字の書き終わりから書き始めからまでの文字間スト
ロークを表すBS この連続文字パターンBCの中に含まれる孤立文字パタ
ーンBIの終点S0を記憶した終点テーブル Ej(n)=80           (21)が連
続文字パターンBCと同様に装置内に保持されている。
In this device, the input character string is a time series pattern of the position coordinates (aXH, aye) of the input points that make up the character A=((ax・, a”yH) l i=1.2.・
, I). Let this time-series pattern be input pattern A. Similarly, the standard pattern for each character is held in the device as position coordinates (bx., by,). This time-series pattern is referred to as a continuous character pattern BC. The origin of the position coordinates of these patterns (hereinafter referred to as the position origin) is a character string or
This is the starting point for writing a letter. Continuous character pattern BC includes isolated character pattern I, which represents the pattern from the beginning of writing to the end of one character, and BS, which represents the inter-character stroke from the end of writing to the beginning of writing.Isolated characters included in this continuous character pattern BC. An end point table Ej(n)=80 (21) storing the end point S0 of the pattern BI is held in the device in the same way as the continuous character pattern BC.

この連続文字パターンBCを1個以上連結し、入力パタ
ーンとマツチングするための文字列標準パターンを合成
する。しかし、最後に連結される1個のパターンだけは
終点テーブルEjに記載されている終点までの孤立文字
パターン81とする。
One or more of these continuous character patterns BC are connected to synthesize a character string standard pattern for matching with the input pattern. However, only one pattern to be connected at the end is an isolated character pattern 81 up to the end point listed in the end point table Ej.

ここで、入力パターンAの時刻iにおける位置座標(a
X・、aye )の正規化を次のように行なう。入力パ
ターンAの時刻Kにおける位置座標と、標準パターンB
Cの時刻しにおける位置座標とが最適に対応付けられた
時、つまり時刻(k、 L)までの累積距離が最小とな
る時tlXQlX−ンBGの始端である文字境界と対応
づけられた入力パターンの時刻Hを求める。入力パター
ンAの時刻iにおける位置座標より時刻りにおける位置
座標を減算することにより正規化が行われる。すなりち
時刻(k、 L)までにマツチングされた最小累積距離
を与える文字境界を h=h  (k、L)            (22
)とすれば、時刻りにおける位置原点で正規化した位置
座標(以下、正規他人カバターンと称す)は(ax・−
aXh、ayHayh)となる。
Here, position coordinates (a
X・, aye ) is normalized as follows. Position coordinates of input pattern A at time K and standard pattern B
When the position coordinates of C at time are optimally correlated, that is, when the cumulative distance to time (k, L) is the minimum, the input pattern associated with the character boundary that is the start of tlXQlX-nBG Find the time H. Normalization is performed by subtracting the position coordinates of input pattern A at time i from the position coordinates at time i. The character boundary that gives the minimum cumulative distance matched up to the end time (k, L) is h = h (k, L) (22
), the position coordinates normalized by the position origin at the time (hereinafter referred to as the normal cover turn) are (ax・−
aXh, ayHayh).

この時刻iにおける正規他人カバターンと時刻jにおけ
る文字名Nの標準パターン (bx、、by’! )とのポイント間距離をJ d n (+、j、に、L) = とする。
Let J d n (+, j, ni, L) = be the point-to-point distance between the regular cover turn for others at time i and the standard pattern of character name N (bx,, by'!) at time j.

入力パターンAと文字列標準パターンのパターン間距離
りは、このポイント間距離d、 (i、j、に、L)を
時間方向に累積した値が最小となるように、入力パター
ンAと文字列標準パターンを時間軸について整合させた
時のポイント間距離dn (i、J、に、L)の累積値
とする。このようにして合成した文字列標準パターンと
入力パターンAとのパターン間距離りが最小となる連続
文字パターンBCの組み合わせを認識結果とする。
The distance between the input pattern A and the character string standard pattern is such that the distance between the points d, (i, j, to, L) is minimized in the time direction. Let this be the cumulative value of the point-to-point distance dn (i, J, to, L) when the standard patterns are aligned on the time axis. The combination of consecutive character patterns BC that minimizes the inter-pattern distance between the character string standard pattern synthesized in this way and the input pattern A is taken as a recognition result.

この時間軸についての整合は、DPマツチング法により
行う。入力パターンAの時刻iにおいて連続文字パター
ンBGとのDPマツチングは漸化ただし、 にJ、(0,0)=O、go(0,j)=oo (j=
1.2.・、J” )をj=1,2.・・・、J に対
して計算することにより時刻iまでの最小累積距離が得
られる。
This matching on the time axis is performed by the DP matching method. At time i of input pattern A, DP matching with continuous character pattern BG is repeated. However, J, (0, 0) = O, go (0, j) = oo (j =
1.2. , J") for j=1, 2, . . . , J, the minimum cumulative distance up to time i can be obtained.

この漸化式演算と同時に、後に最小のパターン間距離を
与える標準パターンの組み合わせをたどるために必要な
経路値り、 (i、j)については従来技術と同様に(
8)式のような代入演算が行われる。
At the same time as this recurrence formula calculation, the path value (i, j) required to trace the combination of standard patterns that gives the minimum inter-pattern distance is calculated as in the prior art (
8) An assignment operation such as the expression is performed.

また、ho(i、j)は次の時刻1+1において入力パ
ターンAを正規化するための境界値りとしても用いられ
る。
Further, ho(i, j) is also used as a boundary value for normalizing the input pattern A at the next time 1+1.

以後の認識処理は従来技術の(9)〜(16)式と全く
同様にして行われ、最後に認識結果が得られて終了する
The subsequent recognition processing is performed in exactly the same manner as in formulas (9) to (16) of the prior art, and finally, the recognition result is obtained and the process ends.

以上のように、入力文字列と標準パターンのマツチング
時における、境界値を位置原点とすることによって、位
置情報の使用が可能となり、従来、方向角では認識でき
なかった文字も認識することができる。
As described above, by using the boundary value as the positional origin when matching an input character string with a standard pattern, it becomes possible to use positional information, and it is possible to recognize characters that could not be recognized using direction angles in the past. .

ざらに本発明で用いるポイント間距離は他にもなど様々
な位置情報が使用できる。
In other words, various positional information can be used as the point-to-point distance used in the present invention.

また、標準パターンとして「特願昭60−110743
号」記載の連続文字パターンと孤立文字パターンや、「
特願昭61−53397号」に記載の孤立文字パターン
と文字間パターンを使用する場合などについても全く同
様に本発明が使用できる。
In addition, as a standard pattern “Patent Application 1986-110743
Continuous character patterns and isolated character patterns described in "No." and "
The present invention can be used in exactly the same manner when using the isolated character pattern and the character spacing pattern described in Japanese Patent Application No. 53397/1983.

DPマツチングに用いる漸化式も(24)式の他に、日
経エレクトロニクス誌、昭和58年11月7日号P、1
71〜P、208に[連続発声した単語音声を効率的に
認識する2段DPマツチング] (迫江)と題して発表
された文献中に述べられた様々な漸化式が使用できる。
In addition to equation (24), the recurrence formula used for DP matching is also found in Nikkei Electronics Magazine, November 7, 1981, issue P, 1.
71-P, 208, various recurrence formulas described in the literature published under the title [Two-stage DP matching for efficiently recognizing continuously uttered word sounds] (Sakoe) can be used.

(実施例) 以下に本発明の一実施例について図面を用いて説明する
。第1図は本発明の一実施例を示す構成図である。
(Example) An example of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.

標準パターン記憶部130には(18)式に対応した連
続文字パターンBGが、また、終点テーブルEj200
には、(21)式に対応する終点S0が、それぞれ文字
名n (n=1.2.・・・、N)について記憶されて
いる。
The standard pattern storage unit 130 contains a continuous character pattern BG corresponding to equation (18), and an end point table Ej200.
, the end point S0 corresponding to equation (21) is stored for each character name n (n=1.2...,N).

漸化式値q。(i、j)と経路値り、 (i、j)を記
憶し、時刻jおよび文字名nによって番地指定されるG
メモリ170とNメモリ180とを用意する。
Recurrence formula value q. (i, j) and the route value.
A memory 170 and an N memory 180 are prepared.

同様に(9)、(12)、(13)式に対応して境界距
離、境界文字名、境界経路を記憶し時刻iによって番地
指定されるTメモリ210. Nメモリ230としメモ
リ220をそれぞれ用意する。
Similarly, the T memory 210 stores boundary distances, boundary character names, and boundary routes corresponding to equations (9), (12), and (13), and is addressed by time i. N memories 230 and 220 are prepared respectively.

タブレット100より入力された文字列データは前処理
部110において位置座標の時系列データに変換される
。この時系列データは入力パターンバッファ120に送
られ、入力パターン(aXi 、ayi )として保持
される。これと同時にGメモリ170にj=t、2.−
、 Jとrl=1.2゜・・・、NについてOo(メモ
リが許す最大の数値)がセットされる。同様にTメモリ
210にはT (0)=0 、 T (i)=oo (
i=1.2.・、 I)がセットされ、Nメモリ180
は仝てOでクリアされる。また、入力パターンの終点I
は前処理部110がら終点検出部260に送られ、保持
される。
Character string data input from the tablet 100 is converted into time series data of position coordinates in the preprocessing section 110. This time series data is sent to the input pattern buffer 120 and held as an input pattern (aXi, ayi). At the same time, j=t, 2. −
, J and rl=1.2°..., Oo (the maximum value allowed by the memory) is set for N. Similarly, the T memory 210 has T (0)=0, T (i)=oo (
i=1.2.・, I) is set, N memory 180
is cleared by O. Also, the end point I of the input pattern
is sent from the preprocessing section 110 to the end point detection section 260 and held there.

以上の初期化が終了すると、制御部250より時刻信号
iが1,2.・・・、■と出力ざヤ、これに同期して処
理が行われる。この時刻iにおいて、制御部250より
の文字指定信号nは1,2.・・・、Nのごとく変化す
る。時刻信号iによって入力パターンバッファ120か
ら入力パターン(aXH。
When the above initialization is completed, the control unit 250 changes the time signal i to 1, 2, . . . . , ■ and the output beam, and processing is performed in synchronization with this. At this time i, the character designation signal n from the control unit 250 is 1, 2, . ..., changes like N. The input pattern (aXH) is sent from the input pattern buffer 120 according to the time signal i.

a’i/H)が正規化部270に送られる。正規化部2
70では後に述べるDPマツチング部160からの境界
値信号hl 、h2により(23)式のごとく入力パタ
ーンの正規化を行なう。モしてhl、h2に対応した正
規化部カバターンa1・、a2iを距離計算部140に
出力する。同時に、文字指定信号nと標準パターン時刻
信号jにより前記標準パターン記憶部130より読みだ
される標準パターンbr!も距離計算部140に送られ
る。距離計算部140では正規化部カバターンa1・。
a'i/H) is sent to the normalization section 270. Normalization section 2
At 70, the input pattern is normalized as shown in equation (23) using boundary value signals hl and h2 from the DP matching section 160, which will be described later. Then, the normalization unit cover turns a1·, a2i corresponding to hl and h2 are output to the distance calculation unit 140. At the same time, the standard pattern br! is read out from the standard pattern storage section 130 using the character designation signal n and the standard pattern time signal j! is also sent to the distance calculation section 140. In the distance calculation section 140, the normalization section cover turn a1.

a 2 HtR’JR9、/ b、 &(D+ tvf
n(D;tcインド間距離d1 、d2が(24)式の
ごとく計算される。このポイント間距離di 、d2は
DPマツチング部160に送られ、文字名nについてそ
の最小累積距離が計算される。
a 2 HtR'JR9, / b, &(D+ tvf
n(D; tc The inter-point distances d1 and d2 are calculated as in equation (24). These inter-point distances di and d2 are sent to the DP matching section 160, and the minimum cumulative distance is calculated for the character name n. .

次にnについての1サイクル内の動作を説明する。DP
マツチング部160の詳細構成例を第2図に示す。文字
指定信号nが指定されるとTメモリ210よりT (i
−1)が信号線T2に読みだされgl ・レジスタ16
01に記入され、hl ・レジスタ1606にはi−1
なる数値が書き込まれる。
Next, the operation within one cycle for n will be explained. DP
A detailed configuration example of the matching section 160 is shown in FIG. When the character designation signal n is designated, T (i
-1) is read out to the signal line T2 and gl ・Register 16
01, and i-1 is written in the hl register 1606.
A numerical value will be written.

続いて標準パターン時刻信号jが1にセットされると、
ql ・レジスタ1601の内容はq2 ・レジスタ1
602に転送され、また、hl ・レジスタ1606の
内容はh2・レジスタ1607に転送される。同時にG
メモリ170よりG(n、1)が読み出されQl ・レ
ジスタ1601に記入され、Hメモリ180よりH(n
、1)が読みだされhl ・レジスタ1606に記入さ
れる。この時点でg2・レジスタ1602とh2・レジ
スタ1607の中に保持される値はそれぞれ漸化式(2
4)、 (8)の境界条件g(i−1,0)とh  (
i−1,0)に対応している。また、ql ・レジスタ
ー601とhトレジスタ1606の中に保持される値は
それぞれg  (i−1,1)とり。(i−1,1)と
なっている。
Next, when the standard pattern time signal j is set to 1,
ql ・The contents of register 1601 are q2 ・Register 1
The contents of the hl register 1606 are transferred to the h2 register 1607. G at the same time
G(n, 1) is read from the memory 170 and written to the Ql register 1601, and H(n, 1) is read from the H memory 180.
, 1) are read out and written into the hl register 1606. At this point, the values held in g2 register 1602 and h2 register 1607 are the recurrence formula (2
4), (8) boundary conditions g(i-1,0) and h (
i-1,0). Further, the values held in the ql register 601 and the h register 1606 are each g (i-1, 1). (i-1, 1).

以後は順次、標準パターン時刻信号jが増加されながら
(24)、 (8)式の計算が繰り返し実行される。標
準パターン時刻信号が一般的にjなる値をとる時の動作
を以下に説明する。この時点ではql ・レジスター6
01.q2  ・レジスター602にはそれぞれCll
 =CI  (i−1,j) 、 Q2 =C]o(i
−t、j−1)が、またhl ・レジスター606.h
2・レジスター607にはそれぞれ境界値[11=h、
 (i−1,j) 、 h2 =hn (i−1,j−
1)が保持されている。このhl 、h2の値が前述の
正規化部270に送られ、時刻i =hlにおける入力
パターンの位置座標(aXhl、ayh2)を入力パタ
ーンバッファ120から求め、(23)式のこと<al
 1(aX・ aXhl、ayi aVhl)とし入力
パターンの正規化を行なう。h2についても同様にa2
 (aX・−aXh2.aV;−aVh2)とし正規化
を行なう。これらの正規化部カバターンal  。
Thereafter, the calculations of equations (24) and (8) are repeatedly executed while the standard pattern time signal j is sequentially increased. The operation when the standard pattern time signal generally takes the value j will be described below. At this point, ql register 6
01. q2 ・Cll in each register 602
=CI (i-1,j), Q2 =C]o(i
-t, j-1) is also hl register 606. h
2. The registers 607 each have boundary values [11=h,
(i-1,j), h2 =hn (i-1,j-
1) is maintained. The values of hl and h2 are sent to the normalization unit 270 described above, and the position coordinates (aXhl, ayh2) of the input pattern at time i = hl are obtained from the input pattern buffer 120, and the equation (23) is
1 (aX・aXhl, ayi aVhl) and normalizes the input pattern. Similarly for h2, a2
Normalization is performed as (aX·-aXh2.aV;-aVh2). These normalization part cover turns al.

a2iは前述のように距離計算部140に送られ、それ
ぞれ標準パターンbr!とのポイント間距離dl 、d
2が計算される。
a2i is sent to the distance calculation unit 140 as described above, and each standard pattern br! The distance between points dl, d
2 is calculated.

DPマツチング部160に送られたdi 、 d2はそ
れぞれ加算器1603.1604によって、gl ・レ
ジス1601.q2  ・レジスター602に保持され
ている01 、 C12との和g1 +d1 。
di and d2 sent to the DP matching unit 160 are added to gl and register 1601. by adders 1603 and 1604, respectively. q2 - The sum g1 + d1 of 01 and C12 held in the register 602.

Q2 +d2が計算され、最小値検出部1608に送ら
れる。最小値検出部1604では信号Ω1+d1とg2
 +d2の最小値が決定され最小値信号gmとして出力
される。同時にこの最小値がg1+d1 、(72+d
2のいずれであったかに対応して、それぞれ1,2の値
をとるスイッチ信号Cが出力される。
Q2 +d2 is calculated and sent to minimum value detection section 1608. The minimum value detection section 1604 detects the signals Ω1+d1 and g2.
The minimum value of +d2 is determined and output as the minimum value signal gm. At the same time, this minimum value is g1+d1, (72+d
2, a switch signal C having a value of 1 or 2 is output, respectively.

こうして得られる最小値信号gmは信号5(12として
漸化式(24)の計算結果q。(i、j)となる。また
信号5(12は新たなG(n、j)としてGメモリー7
0に記入される。マルチプレクサ1605では前記のス
イッチ信号Cに制御されてhl ・レジスタ1606、
h2・レジスター607よりの信号hl、h2が選択さ
れる。すなわち、C=1に対してhlが、C=2に対し
てh2が選ばれる。この結果、出力される信号sh2は
(8)式の計算結果ho(i、j)となっている。この
信号sh2はNメモリ180に新たなH(n、j)の値
として書き込まれる。
The minimum value signal gm obtained in this way becomes the calculation result q.(i, j) of the recurrence formula (24) as the signal 5 (12).The signal 5 (12 is also stored in the G memory 7 as a new G(n, j)).
Filled with 0. The multiplexer 1605 is controlled by the switch signal C, and the hl register 1606,
Signals hl and h2 from the h2 register 607 are selected. That is, hl is selected for C=1 and h2 is selected for C=2. As a result, the output signal sh2 is the calculation result ho(i, j) of equation (8). This signal sh2 is written into the N memory 180 as a new value of H(n,j).

以上の過程がj=Jnまで繰り返された時点でC1(i
、J)とり。(i、J)とが得られる。
When the above process is repeated until j=Jn, C1(i
, J) Tori. (i, J) is obtained.

これらの信号はそれぞれ信号T1、hとして出力される
。かくしてDPマツチング部160の動作が1回終了す
る。
These signals are output as signals T1 and h, respectively. Thus, the operation of the DP matching section 160 is completed once.

DPマツチング部160からの信号T1とTメモリ21
0からの信号T2は比較回路190に送られ比較される
。TI <72なる時は比較回路190より書き込みパ
ルスWpが出力される。これによって、Tメモリ210
には信号 T1=C]、(i、Jn)が、Lメt−’J
220にはh=h  (i、Jo)が、そして、Nメモ
リ230には文字指定信号nがそれぞれT(i) 、 
L(i) 、 n(i)として記入される。これに対し
てTI >T2なる時はこれらの記入処理はなされない
Signal T1 from DP matching section 160 and T memory 21
Signal T2 from 0 is sent to comparison circuit 190 and compared. When TI<72, the comparison circuit 190 outputs a write pulse Wp. As a result, the T memory 210
The signal T1=C], (i, Jn) is Lmet-'J
220 has h=h (i, Jo), and N memory 230 has a character designation signal n T(i), respectively.
It is written as L(i), n(i). On the other hand, when TI>T2, these entry processes are not performed.

文字指定信号nが1,2.・・・、Nと変化される間に
上記と同様な処理が繰り返されて時刻iにおける処理が
終了する。この結果、Tメモリ210には(9)式のご
と<g (i、J’)のnについての最小値が保持され
る。ざらに、この過程が時刻iについて1,2.・・・
、■と繰り返されてるが、終点Iにおける処理はこれま
でとは異なる。
Character designation signal n is 1, 2, . ..., N, the same process as above is repeated, and the process at time i ends. As a result, the T memory 210 holds the minimum value for n of <g (i, J') as shown in equation (9). Roughly speaking, this process is repeated at time 1, 2, . ...
, ■ are repeated, but the processing at the end point I is different from the previous one.

終点検出部260では時刻信号iを終点■と比較し、i
=Iとなった時点で終点テーブルEj200に終点信@
eを送る。終点テーブルEj200は終点信号eを受は
取ると、標準パターン記憶部130に対して文字指定信
号nに対応した終点$0を送る。標準パターン記憶部1
30は送られてきたこの1直を用いて、距離計算部14
0に出力する標準パターンの終点をS とする。つまり
、標準パターンのjについてのデータはb 、 (j=
1.2゜・−、S)となる。この後の距離計算や漸化式
計算はj=1.2.・・・、S について行う。以後の
処理は今までと同様であり、文字指定信号nについて1
.2.・・・、Nと変化させることにより時刻Iにおけ
る処理が終了する。以上でパターン開花11tDがT(
1)の値として求まったことになる。
The end point detection unit 260 compares the time signal i with the end point ■, and
= I, the end point signal @ is sent to the end point table Ej200.
Send e. When the end point table Ej200 receives the end point signal e, it sends the end point $0 corresponding to the character designation signal n to the standard pattern storage section 130. Standard pattern storage section 1
30 uses this sent one shift to calculate the distance to the distance calculation unit 14.
Let S be the end point of the standard pattern output at 0. In other words, the data for j in the standard pattern are b, (j=
1.2°・-, S). The subsequent distance calculations and recurrence formula calculations are based on j=1.2. ..., S is performed. The subsequent processing is the same as before, and 1 for character designation signal n.
.. 2. . . , N, the processing at time I ends. With the above pattern flowering 11tD is T(
This means that it was found as the value of 1).

続いて認識結果を得るための判定処理が開始される。判
定部240はLメモリとNメモリからLmとN(i)を
参照して(16)式におけるように認識結果nrを出力
する。i=■の値をNメモリに与え、その時のN(i)
の値を結果として出力し、続いてiの値をしメモリに出
力しL(i)の値を1qる。
Subsequently, a determination process for obtaining a recognition result is started. The determination unit 240 refers to Lm and N(i) from the L memory and the N memory and outputs the recognition result nr as in equation (16). Give the value of i=■ to N memory, then N(i)
The value of is outputted as a result, and then the value of i is calculated and outputted to the memory, and the value of L(i) is 1q.

新たに、シ(i)の値をiとしてNメモリに与え、同様
に′してN(i)の値を結果として出力する。この処理
をL(i)−〇となるまで繰り返すことによって認識結
果nrが時刻iと逆順に出力される。
The value of si(i) is newly given as i to the N memory, and the value of N(i) is output as a result in the same manner. By repeating this process until L(i)-0, the recognition results nr are output in the reverse order of time i.

(発明の効果) 本発明によれば、従来のオンライン連続文字認識装置に
おいて、不可能であった位置座標の違いによる文字の判
別を可能とし、より認識率の高いオンライン文字認識装
置が得られる。
(Effects of the Invention) According to the present invention, it is possible to discriminate characters based on differences in position coordinates, which was impossible in conventional online continuous character recognition devices, and an online character recognition device with a higher recognition rate can be obtained.

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

第1図は本発明の一実施例を示すブロック図、第2図は
その実施例におけるDPマツチング部の詳細構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a detailed configuration diagram of a DP matching section in the embodiment.

Claims (1)

【特許請求の範囲】[Claims] 筆記される文字の筆跡を時系列の入力パターンとして読
み込む入力部と;前記入力パターンの位置情報の正規化
を文字間の境界を用いて行なう正規化部と;1文字を表
す孤立文字パターンに、文字の終点から次の文字の始点
までの文字間ストロークを連結した標準パターンを記憶
する標準パターン記憶部と;前記孤立文字パターンの終
点を記憶する終点テーブルと;前記標準パターンを0個
以上連結したパターンの最後に、終点を前記終点テーブ
ル中に記憶された終点とした孤立文字パターンを連結し
た文字列標準パターンをもとに、前記入力パターンを位
置情報を用いて認識する認識部とを有するオンライン連
続文字認識装置。
an input unit that reads handwriting of written characters as a time-series input pattern; a normalization unit that normalizes positional information of the input pattern using boundaries between characters; an isolated character pattern representing one character; a standard pattern storage unit that stores a standard pattern that connects intercharacter strokes from the end point of a character to the start point of the next character; an end point table that stores the end point of the isolated character pattern; and a standard pattern that stores the end point of the isolated character pattern; an online recognition unit that recognizes the input pattern using positional information based on a character string standard pattern in which isolated character patterns whose end point is the end point stored in the end point table are concatenated at the end of the pattern; Continuous character recognizer.
JP61152336A 1986-06-29 1986-06-29 On-line continuous character recognizing device Granted JPS638886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61152336A JPS638886A (en) 1986-06-29 1986-06-29 On-line continuous character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61152336A JPS638886A (en) 1986-06-29 1986-06-29 On-line continuous character recognizing device

Publications (2)

Publication Number Publication Date
JPS638886A true JPS638886A (en) 1988-01-14
JPH0533434B2 JPH0533434B2 (en) 1993-05-19

Family

ID=15538310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61152336A Granted JPS638886A (en) 1986-06-29 1986-06-29 On-line continuous character recognizing device

Country Status (1)

Country Link
JP (1) JPS638886A (en)

Also Published As

Publication number Publication date
JPH0533434B2 (en) 1993-05-19

Similar Documents

Publication Publication Date Title
EP0459746B1 (en) Pattern recognition method, and apparatus therefor
JPS6223320B2 (en)
JPS5822782B2 (en) Pattern similarity calculation device
EP0378212B1 (en) Continuous speech recognition apparatus
EP0947980A1 (en) Noise-rejecting speech recognition system and method
JPH0296800A (en) Continuous voice recognizing device
JPH08115408A (en) Finger language recognition device
JPS638886A (en) On-line continuous character recognizing device
CN113168271A (en) Input display control device, input display control method, and input display system
US4670850A (en) Pattern matching apparatus
JPH0527917B2 (en)
JPS5969878A (en) On-line character recognizing method
JPS62208190A (en) Handwritten character recognizing system based upon sort adopting the number of strokes
JPH01191199A (en) Voice input device
JPH0291785A (en) Character recognizing device
KR930012140B1 (en) Recogntion method of on-line writing down character using stroke automata
JP2905334B2 (en) Online handwritten character recognition dictionary creation method and online handwritten character recognition dictionary creation device
JPS62161200A (en) Continuous voice recognition equipment
KR20010026560A (en) Korean Stroke Recognition Method with Unrestricted Writing Pattern
JPS6015996B2 (en) Series pattern matching device
JPS63265299A (en) Voice recognition equipment
JPH0271388A (en) After-processing system for recognition of character
JPH0556518B2 (en)
JPH0577078B2 (en)
JPH01169588A (en) On-line character recognizing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees