JPH0926748A - Handwriting learning method - Google Patents
Handwriting learning methodInfo
- Publication number
- JPH0926748A JPH0926748A JP7177643A JP17764395A JPH0926748A JP H0926748 A JPH0926748 A JP H0926748A JP 7177643 A JP7177643 A JP 7177643A JP 17764395 A JP17764395 A JP 17764395A JP H0926748 A JPH0926748 A JP H0926748A
- Authority
- JP
- Japan
- Prior art keywords
- handwritten character
- character
- handwritten
- information
- dictionary
- 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
Links
Landscapes
- Character Discrimination (AREA)
Abstract
(57)【要約】
【課題】 手書き文字認識システムにより、手書き文字
の正しい書き順、正しい文字パターンの学習を可能にす
る。
【解決手段】 学習者はキーボード10より学習対象の
文字コードを入力する。CPU50では、当該文字コー
ドに対応する正しい書き順の手書き文字情報を二次記憶
70の辞書から読み込むと共に、対応する読みを音声出
力装置20等に出力して、学習者に手書き文字の入力を
うながす。手書き文字入出力共用表示装置30より学習
者が手書き文字を入力すると、その手書き文字情報と辞
書の正しい書き順の手書き文字情報を比較し、一致ある
いは不一致のメッセージを音声出力装置20等から出力
する。さらに、不一致の場合には、書き順等の誤った箇
所、正しい書き順、正しい文字パターンを装置30に出
力する。
(57) [Abstract] [PROBLEMS] A handwritten character recognition system enables learning of a correct writing order of handwritten characters and a correct character pattern. A learner inputs a character code to be learned from a keyboard. The CPU 50 reads the handwritten character information in the correct writing order corresponding to the character code from the dictionary of the secondary storage 70 and outputs the corresponding reading to the voice output device 20 or the like to prompt the learner to input the handwritten character. . When a learner inputs a handwritten character from the handwritten character input / output shared display device 30, the handwritten character information is compared with the handwritten character information in the correct writing order in the dictionary, and a matching or non-matching message is output from the voice output device 20 or the like. . Further, if they do not match, an incorrect portion such as a writing order, a correct writing order, and a correct character pattern are output to the device 30.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、入力された手書き
文字を認識し、コンピュータ等で使用する文字コードに
変換する手書き文字認識システムを利用した手書き文字
学習方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwritten character learning method utilizing a handwritten character recognition system for recognizing input handwritten characters and converting them into character codes used in computers and the like.
【0002】[0002]
【従来の技術】手書き文字認識の手法として、一つの手
書き文字をストローク情報と相対位置情報によって表わ
す手法がある。即ち、手書き文字を構成する線分を複数
の点の集合と考え、書き始めの出発点を原点として個々
の点の座標を表し、その座標情報の順序と座標情報の集
合を線分の長さ情報とし、これをストローク情報とす
る。さらに、線分の各点が他の線分の連続する2つの点
とで構成する角度を全ての点について求め、その角度情
報の集合を相対位置情報とする。2. Description of the Related Art As a method of recognizing handwritten characters, there is a method of expressing one handwritten character by stroke information and relative position information. That is, the line segment that constitutes a handwritten character is considered as a set of multiple points, the coordinates of each point are expressed with the starting point at the beginning of writing as the origin, and the order of the coordinate information and the set of coordinate information are the length of the line segment. Information, and this is stroke information. Further, the angle formed by each point of the line segment and two consecutive points of the other line segment is obtained for all the points, and the set of the angle information is set as the relative position information.
【0003】通常、正しい書き順に対して、このストロ
ーク情報と相対位置情報からなる手書き文字情報とコー
ドの対応表を必要な文字に関して記憶する辞書を予め用
意する。そして、手書き文字に対応する文字コードを見
つける場合、入力された手書き文字についてストローク
情報と相対位置情報の手書き文字情報を得て、辞書内の
手書き文字情報と照合をとり、一致するもの、或いは比
較的一致するものを該当の文字とし、対応する文字コー
ドを得る。Usually, for a correct writing order, a dictionary is preliminarily prepared which stores a correspondence table of handwritten character information consisting of this stroke information and relative position information and codes for necessary characters. When finding the character code corresponding to the handwritten character, obtain the handwritten character information of the stroke information and the relative position information for the input handwritten character, collate it with the handwritten character information in the dictionary, and match or compare. The corresponding character is set as the corresponding character, and the corresponding character code is obtained.
【0004】[0004]
【発明が解決しようとする課題】文字の学習には、文字
パターンに加えて正しい書き順の習得が必修であり、一
般に多くの時間を要するのが普通である。また、すべて
の文字を規則通りの順序で書けるように記憶している人
は、大人でもまれである。In order to learn characters, it is necessary to acquire a correct writing order in addition to the character pattern, and it usually takes a lot of time. In addition, it is rare for adults to memorize all characters so that they can be written in a regular order.
【0005】一方、手書き文字認識システムでは、一般
に入力された手書き文字が規則通りの順序で書かれてい
ない場合、対応する文字コードに変換できない。On the other hand, in the handwritten character recognition system, in general, if the input handwritten characters are not written in a regular order, it cannot be converted into a corresponding character code.
【0006】本発明の目的は、この種の手書き文字認識
システムを利用して、学習者に文字パターン及び正しい
書き順を効率よく教える手書き文字学習方法を提供する
ことにある。It is an object of the present invention to provide a handwritten character learning method which efficiently teaches a learner a character pattern and a correct writing order by using this type of handwritten character recognition system.
【0007】[0007]
【課題を解決するための手段】本発明は、個々の文字に
ついて、その手書き文字情報と文字コードの対応を記憶
した辞書を持ち、入力された手書き文字情報に対して辞
書の手書き文字情報と照合し、一致あるいは比較的一致
するものに対応する文字コードを出力する手書き文字認
識システムにおいて、学習対象の手書き文字の読みを出
力し、学習者が該読みに対応する手書き文字を入力する
と、該入力された文字情報と辞書に記憶された該当手書
き文字情報とを比較し、一致あるいは一致の度合が高い
場合には、正しく学習できたことを出力し、さもなけれ
ば、書き順等の誤った部分、正しい書き順、正しい文字
パターンなどを出力することを特徴とする。SUMMARY OF THE INVENTION The present invention has a dictionary that stores correspondence between handwritten character information and character codes of individual characters, and collates the input handwritten character information with the handwritten character information in the dictionary. Then, in the handwritten character recognition system that outputs a character code corresponding to a match or a relatively matching one, when the reading of the handwritten character to be learned is output and the learner inputs the handwritten character corresponding to the reading, the input Compare the written character information with the corresponding handwritten character information stored in the dictionary, and if the degree of matching or the degree of matching is high, output that learning was done correctly. , The correct writing order, the correct character pattern, etc. are output.
【0008】[0008]
【作用】辞書には、あらかじめ正規の書き順の手書き文
字情報が文字コード対応に格納されている。学習者がキ
ーボードなどで学習対象の文字コードを入力すると、そ
の読みを出力して、学習者に手書き文字の入力をうなが
すと共に、該文字コードに対応する正しい書き順の手書
き文字情報を辞書から読み出して保持する。学習者から
入力された手書き文字情報と該辞書の手書き文字情報を
照合することで、文字パターンの誤りは勿論のこと、書
き順の誤りも見つけることができ、正しい書き順、正し
い文字パターンを学習者に教えることが可能になる。In the dictionary, handwritten character information in a regular stroke order is stored in advance in correspondence with the character code. When a learner inputs a character code to be learned with a keyboard etc., the reading is output to prompt the learner to input handwritten characters, and handwritten character information in the correct writing order corresponding to the character code is read from the dictionary. Hold. By collating the handwritten character information input by the learner with the handwritten character information of the dictionary, not only the error of the character pattern but also the error of the writing order can be found, and the correct writing order and the correct character pattern are learned. It becomes possible to teach people.
【0009】[0009]
【実施例】以下、本発明の一実施例について図面を用い
て説明する。An embodiment of the present invention will be described below with reference to the drawings.
【0010】図1は、本発明が実施される手書き文字認
識システムの構成図であって、文字コードや各種のコマ
ンド等を入力するキーボード入力装置10、手書き文字
の読みやガイダンスを音声で出力するのに用いる音声出
力装置20、手書き文字入力のための入力画面と手書き
文字パターンを表示する表示画面が同一画面上に構成さ
れた手書き文字入出力共用表示装置30、学習結果など
をプリントアウトするのに用いる印刷装置40、手書き
文字の認識処理や学習処理を実行する中央処理装置(C
PU)50、CPU50で実行するプログラムを保持す
るとともにCPU50の作業用メモリとして用いられる
メモリ(RAM)60、及び、個々の文字について、あ
らかじめその正規の書き順の手書き文字情報と文字コー
ドの対応を記憶した辞書を保持する二次記憶70からな
る。FIG. 1 is a block diagram of a handwritten character recognition system in which the present invention is implemented. A keyboard input device 10 for inputting character codes and various commands, a handwritten character reading and guidance are output by voice. A voice output device 20 used for the input, a handwritten character input / output shared display device 30 in which an input screen for inputting a handwritten character and a display screen for displaying a handwritten character pattern are configured on the same screen, a learning result, etc. are printed out. 40, a central processing unit that executes recognition processing and learning processing of handwritten characters (C
PU) 50, a memory (RAM) 60 that holds a program to be executed by the CPU 50 and is used as a work memory of the CPU 50, and the correspondence between handwritten character information and character codes in the regular stroke order in advance for each character. The secondary storage 70 holds the stored dictionary.
【0011】図2は、本発明による手書き文字学習処理
の概念及びそれに関係するCPU50の機能構成を示し
たものである。学習者はキーボード入力装置10より学
習対象の文字コードCiを入力する。CPU50では、
学習対象の文字コードCiを入力すると、手書き文字学
習機構51は音声合成機構52を起動し、音声合成機構
52で文字コードCiに該当する文字の読みを生成して
音声出力装置20より音声出力する。また、手書き文字
学習機構51は、入力された文字コードCiをキーに二
次記憶70の辞書を検索し、対応する手書き文字情報I
(Ci)を読み出して保持する。学習者は、音声出力装
置20から流れる読みを聴きながら、該当する手書き文
字IP(Ci)′を手書き文字入出力共用表示装置30か
ら入力する。この入力された手書き文字IP(Ci)′を
もとに、手書き文字情報作成機構53において対応する
手書き文字情報I(Ci)′を作成し、手書き文字学習
機構51に渡す。手書き文字学習機構51は、学習者の
手書き文字情報I(Ci)′と辞書から読み出した手書
き文字情報I(Ci)を比較し、一致あるいは比較的一
致していれば、音声合成機構52を通して、その旨のメ
ッセージを音声出力装置20より出力し、一方、一致し
ていない場合は、同様にその旨のメッセージを出力し、
また、不一致の箇所、書き順の誤った部分を手書き文字
入出力共用表示装置30へ出力する。さらに、手書き文
字学習機構51は、一致していない場合には手書き文字
パターン生成機構54を起動し、該手書き文字パターン
生成機構54において、辞書の手書き文字I(Ci)を
もとに正しい書き順で手書き文字パターンIP(Ci)を
作成し、これを手書き文字入出力共用表示装置30へ出
力することで、正しい書き順及び文字パターンを学習者
に教える。FIG. 2 shows the concept of the handwritten character learning process according to the present invention and the functional configuration of the CPU 50 related thereto. The learner inputs the character code C i to be learned from the keyboard input device 10. In CPU50,
When the character code C i to be learned is input, the handwritten character learning mechanism 51 activates the voice synthesizing mechanism 52, the voice synthesizing mechanism 52 generates a reading of the character corresponding to the character code C i , and the voice output device 20 outputs a voice. Output. Further, the handwritten character learning mechanism 51 searches the dictionary of the secondary storage 70 using the input character code C i as a key, and outputs the corresponding handwritten character information I.
(C i ) is read and held. The learner inputs the corresponding handwritten character I P (C i ) ′ from the handwritten character input / output shared display device 30 while listening to the reading read from the voice output device 20. Based on the input handwritten character I P (C i ) ′, the handwritten character information creation mechanism 53 creates corresponding handwritten character information I (C i ) ′ and passes it to the handwritten character learning mechanism 51. The handwritten character learning mechanism 51 compares the learner's handwritten character information I (C i ) ′ with the handwritten character information I (C i ) read from the dictionary, and if they match or relatively match, the voice synthesis mechanism 52. Through, the voice output device 20 outputs a message to that effect. On the other hand, if they do not match, a message to that effect is also output,
In addition, the mismatched portion and the portion in which the stroke order is incorrect are output to the handwritten character input / output shared display device 30. Further, the handwritten character learning mechanism 51 activates the handwritten character pattern generation mechanism 54 when they do not match, and the handwritten character pattern generation mechanism 54 corrects the handwritten character based on the handwritten character I (C i ) of the dictionary. By creating handwritten character patterns I P (C i ) in order and outputting them to the handwritten character input / output shared display device 30, the correct writing order and character patterns are taught to the learner.
【0012】図3は、本発明で用いられる手書き文字情
報の表現例を示す。Ii(Ci)は、i番目の手書き文字
情報で、Ciという文字コードを持つことを意味する。FIG. 3 shows an example of representation of handwritten character information used in the present invention. I i (C i ) is the i-th handwritten character information, which means that it has a character code of C i .
【0013】(Si-1,Si-2,・・・Si-n)はストロ
ーク情報であり、利用者が線分を書き始めてペンを上げ
るまでを一つの線分(ストローク)として、一つの手書
き文字を構成するn個の線分について、個々の線分の長
さ情報(長さベクトル)を1番目から順に並べたもので
ある。即ち、要素Si-j(j=1,2,・・・n)はj
番目の線分の長さ情報を示している。(Pi-1・2,P
i-2・3,・・・Pi-(n-1)・n)は相対位置情報で、一つの
手書き文字を構成するn個の線分の各相対位置関係を、
隣り合う線分、(j−1)番目の線分とj番目の線分の
位置情報(角度情報)を要素Pi-(j-1)・jとして、これ
を1番目から(n−1)番目まで順に並べて表わしたも
のである。このように、手書き文字情報を構成するスト
ローク情報と相対位置情報は、書き順と密接な関係があ
り、同一文字コードであっても書き順が異なれば、対応
する手書き文字情報の要素配列やその値は異ったものと
なる。(S i-1 , S i-2 , ..., S in ) is stroke information, and one line segment (stroke) is a period from when the user starts writing the line segment to when he lifts the pen. For n line segments that constitute a handwritten character, length information (length vector) of each line segment is arranged in order from the first. That is, the element S ij (j = 1, 2, ... N) is j
The length information of the th line segment is shown. (P i-1 ・ 2 , P
i−2 · 3 , ... P i− (n−1) · n ) is relative position information, which indicates the relative positional relationship of n line segments that make up one handwritten character.
Position information (angle information) of adjacent line segments, the (j-1) th line segment and the jth line segment, is set as an element P i- (j-1) · j , and the first to (n-1) ) Are arranged in order up to. As described above, the stroke information and the relative position information that constitute the handwritten character information are closely related to the writing order, and even if the same character code has a different writing order, the element array of the corresponding handwritten character information and its The values will be different.
【0014】図4は辞書の構成例を示す。辞書は、多く
の手書き文字について、一般に正規の書き順の手書き文
字情報Ii(Ci)と文字コードCiの対応を付けたもの
で、1番地から順に2次記憶60にあらかじめ格納され
ているものである。手書き文字情報を構成するストロー
ク情報Si-j及び相対位置情報Pi-(j-1)・jの表現形式は
図3と同じである。2次記憶には、検索に便利なよう
に、例えば手書き文字の線分数の少ない順に格納してお
く。FIG. 4 shows an example of the structure of the dictionary. The dictionary generally associates the handwritten character information I i (C i ) in the normal writing order with the character code C i for many handwritten characters, and is stored in advance in the secondary storage 60 from the first address. There is something. The expression format of the stroke information S ij and the relative position information P i- (j-1) · j forming the handwritten character information is the same as that in FIG. In the secondary storage, for convenience of retrieval, for example, the handwritten characters are stored in the order of the smallest number of line segments.
【0015】次に、図5に基づいて、本発明による手書
き文字学習の処理フローの一例を詳述する。Next, an example of the processing flow of handwritten character learning according to the present invention will be described in detail with reference to FIG.
【0016】学習者がキーボード入力装置10より学習
対象文字コードCiを入力すると(ステップ101)、
CPU50の手書き文字学習機構51は、音声合成機構
52を起動して該入力された文字コードCiを渡す。音
声合成機構52は、文字コードCiに該当する文字の読
みを生成し、音声出力装置20より音声出力する(ステ
ップ102)。なお、読みは、ひらがなで手書き文字入
出力共用表示装置30の表示面の所定領域に表示して出
力することでもよい。一方、手書き文字学習機構51
は、入力された文字コードCiに対応する正規の書き順
(基本)の手書き文字情報I(Ci)を二次記憶70の
辞書から読み出して保持しておく(ステップ103)。When the learner inputs the learning target character code C i from the keyboard input device 10 (step 101),
The handwritten character learning mechanism 51 of the CPU 50 activates the voice synthesizing mechanism 52 and passes the input character code C i . The voice synthesizing mechanism 52 generates a reading of a character corresponding to the character code C i and outputs the voice from the voice output device 20 (step 102). In addition, the reading may be displayed in a predetermined area on the display surface of the handwritten character input / output shared display device 30 in hiragana and output. On the other hand, the handwriting learning mechanism 51
Reads the handwritten character information I (C i ) in the regular writing order (basic) corresponding to the input character code C i from the dictionary of the secondary storage 70 and holds it (step 103).
【0017】学習者は、音声出力装置20から出力され
る読みを聴くか、あるいは、手書き文字入出力共用表示
装置30に表示されるひらがなを見ながら、該当する手
書き文字IP(Ci)′を手書き文字入出力共用表示装置
30から入力する(ステップ104)。CPU50の手
書き文字情報作成機構53は、手書き文字入出力共用表
示装置30から入力された手書き文字IP(Ci)′の座
標情報をもとに、学習者の書き順を反映したストローク
情報と相対位置情報からなる手書き文字情報I
(Ci)′を作成し、手書き文字学習機構51に渡す
(ステップ105)。手書き文字学習機構51は、学習
者の手書き文字情報I(Ci)′と辞書の手書き文字情報
I(Ci)を比較して距離を計算し(ステップ106)、
一致或いは一致に近いか判定する(ステップ107)。
ここで、距離計算は、学習者の手書き文字情報I
(Ci)′を構成するストローク情報(Si-1,Si-2,
Si-n)′と相対位置情報(Pi-1・2,Pi-2・3,…P
i-(n-1)・n)′、及び、辞書の手書き文字情報I(Ci)
を構成するストローク情報(Si-1,Si-2,Si-n)と
相対位置情報(Pi-1・2,Pi-2・3,…Pi-(n-1)・n)の各
要素について、各々|Si-j~S′i-j|,|P
i-(j-1)・j~P′i-(j-1)・j|を順に求め(j=1,2,
…n)、その総和(類似度と称す)を求めることで計算
する。The learner listens to the reading output from the voice output device 20 or while looking at the hiragana displayed on the handwritten character input / output shared display device 30, the corresponding handwritten character I P (C i ) ′. Is input from the handwritten character input / output shared display device 30 (step 104). Based on the coordinate information of the handwritten character I P (C i ) ′ input from the handwritten character input / output shared display device 30, the handwritten character information creation mechanism 53 of the CPU 50 determines stroke information that reflects the stroke order of the learner. Handwritten character information I consisting of relative position information
(C i ) ′ is created and passed to the handwritten character learning mechanism 51 (step 105). Handwriting learning mechanism 51 calculates the distance by comparing the learner handwriting information I (C i) 'a dictionary of handwritten character information I (C i) (step 106),
It is determined whether or not they match or close to each other (step 107).
Here, the distance calculation is performed by the learner's handwritten character information I.
Stroke information (S i-1 , S i-2 , which composes (C i ) ′,
S in ) ′ and relative position information (P i− 1,2 , P i− 2,3, ... P)
i- (n-1) n ) ', and dictionary handwritten character information I (C i )
Stroke information (S i-1 , S i-2 , S in ) and relative position information (P i-1 ・ 2 , P i-2 ・ 3 , ... P i- (n-1) ・ n ) For each element of | S ij to S ′ ij |, | P
i- (j-1) · j to P ′ i- (j-1) · j | are sequentially obtained (j = 1, 2,
... n), and the total sum (referred to as similarity) is calculated.
【0018】手書き文字学習機構51は、学習者の手書
き文字情報I(Ci)′が辞書の手書き文字情報I
(Ci)と一致あるいはそれに近い場合、音声合成機構
52に指示し、音声合成機構52において一致した旨の
メッセージを生成して、音声出力装置20より出力す
る。同時に、必要なら手書き文字パターン生成機構54
を起動し、該手書き文字パターン生成機構54で辞書の
手書き文字情報I(Ci)をもとに基本の手書き文字パ
ターンを生成し、学習者の手書き文字と対比して手書き
文字入出力共用表示装置30に表示する(ステップ10
8)。一方、一致しない場合には、手書き文字学習機構
51は同様に音声合成機構52に指示し、音声合成機構
52において不一致のメッセージを生成して音声出力装
置20から出力し、同時に、距離計算結果に基づき、不
一致と判断されたストローク(これには書き順が誤った
部分も含める)を強調して手書き文字入出力共用表示装
置30に学習者の手書き文字を表示する(ステップ10
9)。さらに、手書き文字学習機構51は、手書き文字
パターン生成機構54を起動し、該手書き文字パターン
生成機構54において、辞書の手書き文字情報I
(Ci)をもとに正しい手書き文字パターンを作成し、
正しい書き順で各ストロークを手書き文字入出力共用表
示装置30に表示する。In the handwritten character learning mechanism 51, the handwritten character information I (C i ) 'of the learner is the handwritten character information I of the dictionary.
If it matches or is close to (C i ), the voice synthesizing mechanism 52 is instructed, and the voice synthesizing mechanism 52 generates a message to the effect and outputs it from the voice output device 20. At the same time, if necessary, the handwritten character pattern generation mechanism 54
Is started, a basic handwritten character pattern is generated by the handwritten character pattern generation mechanism 54 based on the handwritten character information I (C i ) of the dictionary, and the handwritten character input / output shared display is compared with the handwritten character of the learner. Display on device 30 (step 10)
8). On the other hand, if they do not match, the handwritten character learning mechanism 51 similarly instructs the voice synthesis mechanism 52 to generate a mismatch message and output it from the voice output device 20. Based on this, the strokes determined to be inconsistent (this includes the portion in which the stroke order is incorrect) are emphasized to display the handwritten characters of the learner on the handwritten character input / output shared display device 30 (step 10).
9). Further, the handwritten character learning mechanism 51 activates the handwritten character pattern generation mechanism 54, and in the handwritten character pattern generation mechanism 54, the handwritten character information I of the dictionary.
Create a correct handwritten character pattern based on (C i ),
The strokes are displayed on the handwritten character input / output shared display device 30 in the correct stroke order.
【0019】なお、上記説明で、一致あるいは不一致の
メッセージは、手書き文字入出力共用表示装置30に表
示することでもよい。また、学習は、学習者のキーボー
ド入力装置10からの学習対象文字コードの入力を待た
ずに、システムが自動的に学習対象文字の読み出力し
て、学習者に該当手書き文字の入力をうながすことでも
よい。In the above description, the matching or non-matching message may be displayed on the handwritten character input / output shared display device 30. In learning, the system automatically prompts the learner to input the relevant handwritten character by waiting for the learner's keyboard input device 10 to input the learning target character code, and automatically reading and outputting the learning target character. But it is okay.
【0020】次に、図6から図9により、手書き文字情
報を構成するストローク情報と相対位置情報の作成法の
一例を説明する。Next, an example of a method of creating stroke information and relative position information which constitute handwritten character information will be described with reference to FIGS. 6 to 9.
【0021】一般に手書き文字は複数の線分から構成さ
れる。便宜上、ここでは平がなの「い」を例にとる。平
がなの「い」の場合、例えば図6に示すように、線分数
は2である。まず、手書き文字情報を作成するために、
個々の線分が書かれている領域を一定の大きさに変換す
る。図6は、これを示したので、ここでは縮小の例を示
したが、入力された手書き文字が小さい場合には逆に拡
大する。続いて、図7に示すように、個々の線分を、複
数の点の集合として表わす。その際、全体の個数は一定
とし、線分の長さに比例して点の個数を振り分ける。こ
のようにして得られた点情報からストローク情報及び相
対位置情報を求める。Generally, handwritten characters are composed of a plurality of line segments. For the sake of convenience, the hiragana "i" is taken as an example here. When the hiragana is “i”, the number of line segments is 2, as shown in FIG. 6, for example. First, in order to create handwritten character information,
The area where each line segment is written is converted to a certain size. Since this is shown in FIG. 6, an example of reduction is shown here, but when the input handwritten character is small, it is enlarged. Then, as shown in FIG. 7, each line segment is represented as a set of a plurality of points. At that time, the total number is fixed, and the number of points is distributed in proportion to the length of the line segment. Stroke information and relative position information are obtained from the point information thus obtained.
【0022】図8はストローク情報の求め方を示した図
である。まず、文字の出発点を原点とするXY座標系を
仮定し、個々の点の座標を求める(図8(A))。次
に、線分を構成する隣り合う2点を始点・終点とするベ
クトルを想定し、線分を構成する全ベクトルを並べたも
のを、その線分の複合ベクトルとする。これを各線分に
ついて求める(図8(B))。FIG. 8 is a diagram showing how to obtain stroke information. First, assuming the XY coordinate system with the starting point of the character as the origin, the coordinates of each point are obtained (FIG. 8A). Next, assuming a vector having two adjacent points forming a line segment as the start point and the end point, a line-up of all the vectors forming the line segment is set as the composite vector of the line segment. This is obtained for each line segment (FIG. 8 (B)).
【0023】図8(B)では、平がな「い」を構成する
左側の線分(線分1とする)に関しては、 111=(x11,y11),(x12,y12) 112=(x12,y12),(x13,y13) ・ ・ ・ 11j=(x1j-1,y1j-1),(x1j,y1j) を並べた S1={111,112,・・・11j} が複合ベクトルである。但し(x11,y11)=(0,
0)である。同様に、右側の線分(線分2とする)に関
しては、 S2={121,122,・・・12j} が複合ベクトルである。In FIG. 8 (B), with respect to the left line segment (defined as line segment 1) that constitutes the hiragana “i”, 1 11 = (x 11 , y 11 ), (x 12 , y 12 ) 1 12 = (x 12 , y 12 ), (x 13 , y 13 ) ··· 1 1j = (x 1j-1 , y 1j-1 ), (x 1j , y 1j ) S 1 = { 1 11 , 1 12 , ... 1 1j } are composite vectors. However, (x 11 , y 11 ) = (0,
0). Similarly, for the right side of the line segment (a line segment 2), S2 = {1 21 , 1 22, ··· 1 2j} is a complex vector.
【0024】ストローク情報は、複合ベクトルを並べた
もので、図8の場合、 S=(S1,S2) で表わされる。一般的に文字コードCiを持つ文字のス
トローク情報は Si(Ci)=(Si-1,Si-1,・・・Si-s(i)) =[Si-j] (j=1,・・・S(i)) と表現される。ここで、s(i)は文字Ciの線分の数
である。The stroke information is an array of composite vectors, and is represented by S = (S1, S2) in the case of FIG. Generally, the stroke information of a character having a character code Ci is Si (Ci) = (S i-1 , S i-1 , ... S is (i) ) = [S ij ] (j = 1, ... -It is expressed as S (i)). Here, s (i) is the number of line segments of the character C i .
【0025】図9は相対位置情報の求め方を示した図で
ある。相対位置情報を求めるには、ストローク情報を求
める場合と同様に、最終的に得られた点情報を用いる
(図9(A))。この点情報を用い、一つの線分上の点か
ら他の線分上の隣り合う2点とを結ぶ線がなす角度を求
める(図9(B))。この角度は余弦定理などを用いて
求められ、余弦値として記憶する。例えば、図9(B)
において、平がら「い」を構成する左側の線分(線分
1)の出発点1と右側の線分(線分2)の最初の2点が
ない角度は、FIG. 9 is a diagram showing how to obtain the relative position information. To obtain the relative position information, the point information finally obtained is used as in the case of obtaining the stroke information (FIG. 9 (A)). Using this point information, the angle formed by a line connecting a point on one line segment and two adjacent points on another line segment is obtained (FIG. 9B). This angle is obtained by using the cosine theorem or the like and is stored as a cosine value. For example, FIG. 9 (B)
In, the angle without the starting point 1 of the left line segment (line segment 1) and the first two points of the right line segment (line segment 2) that make up the flat “i” is
【0026】[0026]
【数1】 [Equation 1]
【0027】で求まる。これを、線分1(1番目の線
分)の全ての点と、線分2(2番目の線分)の全ての隣
合う2点の間で求める。この余弦値を線分1に関して並
べてベクトル P1・2=(cosθ11,cosθ12,・・・cos
θ1k,cosθ21,cosθ22,・・・cosθjk) を作る。これが線分1から線分2を見たときの角度情報
である。平がな「い」は線分数が2であるため、この角
度情報P1・2をそのまま相対位置情報とする。It can be obtained by This is calculated between all the points of the line segment 1 (first line segment) and all the two adjacent points of the line segment 2 (second line segment). The cosine values are arranged with respect to the line segment 1 and the vector P 1 · 2 = (cos θ 11 , cos θ 12 , ... Cos
θ 1k , cos θ 21 , cos θ 22 , ... Cos θ jk ) are created . This is the angle information when line segment 1 to line segment 2 are viewed. Since the number of line segments is 2 for a flat kana "i", the angle information P 1 .2 is directly used as relative position information.
【0028】一般的に、一つの手書き文字がn個の線分
で構成されているとすると、その書き順に、1番目の線
分1から線分2を見たときの角度情報P1・2、線分2か
ら線分3を見たときの角度情報P2・3・・・ と求め、最
後は線分n−1から線分nを見たときの角度情報P
n-1・nを求める。このとき、相対位置情報は、 P=(P1・2,P2・3,・・・Pn-1・n) となる。文字コードCiを持つ文字の相対位置情報は、 Pi(Ci)=(Pi-1・2,Pi-2・3,・・・P
i-(s(i)-1)・s(i)) と表現される。ここで、s(i)は文字Ciの線分の数
である。Generally, assuming that one handwritten character is composed of n line segments, the angle information P 1 .2 when the line segment 1 to the line segment 2 is first viewed in the writing order. , Angle information P 2 when line segment 2 to line 3 is viewed, and finally, angle information P when line segment n is viewed from line segment n-1
Find n-1 · n . At this time, the relative position information is P = (P 1 .2 , P 2 .3 , ... P n-1 .n ). The relative position information of the character having the character code C i is P i (C i ) = (P i−1 · 2 , P i−2 · 3 , ... P
It is expressed as i- (s (i) -1) ・ s (i) ). Here, s (i) is the number of line segments of the character C i .
【0029】相対位置情報を、上記のように1番目と2
番目の線分の角度情報、2番目の線分と3番目の線分の
角度情報、・・・の集合とすることにより、従来の各線
分について他の線分全てに関して求めていたのに比べ
て、処理時間が短縮でき、また、辞書容量の軽減、作業
エリアの縮小が可能になる。The relative position information is converted into the first and second positions as described above.
By setting the angle information of the 2nd line segment, the angle information of the 2nd line segment and the angle information of the 3rd line segment, ... As a result, the processing time can be shortened, and the dictionary capacity and work area can be reduced.
【0030】なお、手書き文字情報を構成するストロー
ク情報と相対位置情報は、これまで説明したものに限定
される必要はない。例えば、相対位置情報は、各線分ご
とに、自分と他の線分の相対位置関係の組み合せをすべ
て求め、その集合とすることでもよい。The stroke information and the relative position information that constitute the handwritten character information need not be limited to those described above. For example, the relative position information may be obtained as a set of all combinations of relative positional relationships between itself and other line segments for each line segment.
【0031】[0031]
【発明の効果】以上説明したように、本発明では、学習
者に手書き文字を入力させ、既に辞書に登録された正し
い書き順やパターン情報と比較して、誤り部分や正しい
書き順、正しい文字パターンを出力することにより、正
しい手書き文字の効率のよい学習が可能になる。As described above, according to the present invention, the learner inputs the handwritten characters and compares them with the correct stroke order and pattern information already registered in the dictionary to compare the error portion, the correct stroke order, and the correct characters. Outputting the pattern enables efficient learning of correct handwritten characters.
【図1】本発明が実施される手書き文字認識システムの
一例の構成図である。FIG. 1 is a configuration diagram of an example of a handwritten character recognition system in which the present invention is implemented.
【図2】本発明による手書き文字学習処理の概念とそれ
に関係するCPUの機能構成を示す図である。FIG. 2 is a diagram showing a concept of a handwritten character learning process according to the present invention and a functional configuration of a CPU related thereto.
【図3】手書き文字情報の構成例を示す図である。FIG. 3 is a diagram showing a configuration example of handwritten character information.
【図4】辞書の構成例を示す図である。FIG. 4 is a diagram showing a configuration example of a dictionary.
【図5】本発明による手書き文字学習処理を説明するた
めのフローチャートである。FIG. 5 is a flowchart for explaining a handwritten character learning process according to the present invention.
【図6】手書き文字の具体例とその縮小例を示す図であ
る。FIG. 6 is a diagram showing a specific example of handwritten characters and a reduction example thereof.
【図7】手書き文字の線分から点の列への変換を示す図
である。FIG. 7 is a diagram showing conversion of a line segment of a handwritten character into a sequence of dots.
【図8】ストローク情報の作成を説明する図である。FIG. 8 is a diagram illustrating generation of stroke information.
【図9】相対位置情報の作成を説明する図である。FIG. 9 is a diagram illustrating generation of relative position information.
10 キーボード入力装置 20 音声出力装置 30 手書き文字入出力共用表示装置 40 印刷装置 50 処理装置(CPU) 51 手書き文字学習機構 52 音声合成機構 53 手書き文字情報作成機構 54 手書き文字パターン生成機構 60 メモリ(RAM) 70 辞書格納用二次記憶 10 keyboard input device 20 voice output device 30 handwritten character input / output shared display device 40 printing device 50 processing device (CPU) 51 handwritten character learning mechanism 52 voice synthesis mechanism 53 handwritten character information generation mechanism 54 handwritten character pattern generation mechanism 60 memory (RAM ) 70 Secondary storage for dictionary storage
───────────────────────────────────────────────────── フロントページの続き (72)発明者 曽根原 登 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内 (72)発明者 伊藤 剛 東京都港区新橋6丁目1番11号 株式会社 エヌ・ティ・ティ・ピー・シーコミュニケ ーションズ内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Noboru Sonehara No. 1-6 Uchisaiwai-cho, Chiyoda-ku, Tokyo Japan Telegraph and Telephone Corporation (72) Go Ito 6-11-11 Shimbashi, Minato-ku, Tokyo NTT PC Communications Co., Ltd.
Claims (2)
報と文字コードの対応を記憶した辞書を持ち、入力され
た手書き文字情報に対して辞書の手書き文字情報と照合
し、一致あるいは比較的一致するものに対応する文字コ
ードを出力する手書き文字認識システムによる手書き文
字学習方法であって、 学習対象の手書き文字の読みを出力し、学習者が該読み
に対応する手書き文字を入力すると、該入力された手書
き文字情報と辞書に記憶された該当手書き文字情報とを
比較し、一致あるいは一致の度合が高い場合には、正し
く学習できたことを出力し、さもなければ、誤った部分
を出力することを特徴とする手書き文字学習方法。1. A dictionary that stores the correspondence between handwritten character information and character codes for each character, and collates the input handwritten character information with the handwritten character information in the dictionary, and matches or relatively matches. A method for learning handwritten characters by a handwritten character recognition system that outputs a character code corresponding to an object, comprising outputting a reading of a handwritten character to be learned and inputting a handwritten character corresponding to the reading when the learner inputs the reading. Compare the handwritten character information that was stored in the dictionary with the corresponding handwritten character information that is stored in the dictionary, and if the match or degree of match is high, output that learning was successful, otherwise output the incorrect part. A learning method for handwritten characters.
いて、正しく学習できない場合、辞書の手書き文字情報
にもとづいて、正しい書き順、正しい文字パターンを出
力することを特徴とする手書き文字学習方法。2. The handwritten character learning method according to claim 1, wherein when the learning cannot be performed correctly, a correct writing order and a correct character pattern are output based on the handwritten character information in the dictionary.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7177643A JPH0926748A (en) | 1995-07-13 | 1995-07-13 | Handwriting learning method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7177643A JPH0926748A (en) | 1995-07-13 | 1995-07-13 | Handwriting learning method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0926748A true JPH0926748A (en) | 1997-01-28 |
Family
ID=16034585
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7177643A Pending JPH0926748A (en) | 1995-07-13 | 1995-07-13 | Handwriting learning method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0926748A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6741742B1 (en) | 1999-10-22 | 2004-05-25 | Sony Computer Entertainment Inc. | Entertainment system, entertainment apparatus, recording medium, and program |
| JP2005221576A (en) * | 2004-02-03 | 2005-08-18 | Hitachi Ltd | Stroke order learning system, stroke order determination program, and stroke order learning method |
| CN103606316A (en) * | 2013-11-29 | 2014-02-26 | 西安辉盛科技发展有限责任公司 | Chinese character multimedia-learning method |
| JP2014219819A (en) * | 2013-05-08 | 2014-11-20 | 日立オムロンターミナルソリューションズ株式会社 | Character recognition device and method therefor |
| CN108922311A (en) * | 2018-07-20 | 2018-11-30 | 亳州学院 | A kind of Chinese character calligraphy training system |
| CN111199664A (en) * | 2020-03-13 | 2020-05-26 | 安徽理工大学 | A learning data acquisition system based on big data control chip |
-
1995
- 1995-07-13 JP JP7177643A patent/JPH0926748A/en active Pending
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6741742B1 (en) | 1999-10-22 | 2004-05-25 | Sony Computer Entertainment Inc. | Entertainment system, entertainment apparatus, recording medium, and program |
| JP2005221576A (en) * | 2004-02-03 | 2005-08-18 | Hitachi Ltd | Stroke order learning system, stroke order determination program, and stroke order learning method |
| JP2014219819A (en) * | 2013-05-08 | 2014-11-20 | 日立オムロンターミナルソリューションズ株式会社 | Character recognition device and method therefor |
| CN103606316A (en) * | 2013-11-29 | 2014-02-26 | 西安辉盛科技发展有限责任公司 | Chinese character multimedia-learning method |
| CN108922311A (en) * | 2018-07-20 | 2018-11-30 | 亳州学院 | A kind of Chinese character calligraphy training system |
| CN111199664A (en) * | 2020-03-13 | 2020-05-26 | 安徽理工大学 | A learning data acquisition system based on big data control chip |
| CN111199664B (en) * | 2020-03-13 | 2022-03-25 | 安徽理工大学 | Learning data acquisition system based on big data control chip |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5533147A (en) | Segmentation of handwritten patterns using stroke and jump vectors | |
| JP3155616B2 (en) | Character recognition method and device | |
| US8229225B2 (en) | Candidate selection method for handwriting input | |
| JP3418053B2 (en) | Handwritten character input display device | |
| JP3271646B2 (en) | Handwritten character recognition method | |
| JPH0927013A (en) | Handwritten character information registration method | |
| Tonouchi et al. | An on-line Japanese character recognition method using length-based stroke correspondence algorithm | |
| JPH0927011A (en) | Handwriting recognition method | |
| JPH053631B2 (en) | ||
| JPS62117060A (en) | Character/voice input conversion system | |
| JPH09231310A (en) | Information processing device | |
| JPH01316889A (en) | Handwritten character recognizing system | |
| JPS6224382A (en) | Method for recognizing handwritten character | |
| JPH10247221A (en) | Online character recognition device | |
| JP2865443B2 (en) | Kanji conversion device for Kana name or Kana corporation name | |
| JPH0634258B2 (en) | Handwritten character recognition device with personal dictionary creation function | |
| JPH01292587A (en) | Image processing method | |
| JP2905334B2 (en) | Online handwritten character recognition dictionary creation method and online handwritten character recognition dictionary creation device | |
| JPH0573027A (en) | Individual penmanship dictionary generation device and character output processor using individual penmanship dictionary | |
| JPS62171086A (en) | On-line hand-written character recognizing and processing system | |
| JPH06208657A (en) | Method and device for recognizing character | |
| JPS61139828A (en) | Language input device | |
| JPS6120176A (en) | Roman character/chinese character converter | |
| JPS63777A (en) | Recognizing device for handwritten character | |
| JPH0766418B2 (en) | Handwriting recognition device |