JPH09223186A - On-line character recognizing device - Google Patents

On-line character recognizing device

Info

Publication number
JPH09223186A
JPH09223186A JP8031010A JP3101096A JPH09223186A JP H09223186 A JPH09223186 A JP H09223186A JP 8031010 A JP8031010 A JP 8031010A JP 3101096 A JP3101096 A JP 3101096A JP H09223186 A JPH09223186 A JP H09223186A
Authority
JP
Japan
Prior art keywords
character
unit
recognition result
character recognition
stroke
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP8031010A
Other languages
Japanese (ja)
Inventor
Yuji Hayashi
祐史 林
Tsutomu Tabata
努 田畑
Sayuri Shiozawa
さゆり 塩沢
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP8031010A priority Critical patent/JPH09223186A/en
Publication of JPH09223186A publication Critical patent/JPH09223186A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the recognition rate of the on-line character recognizing device. SOLUTION: A character recognition result in each character block out of characters successively written and inputted to an input part 1 is obtained by a segmentation part 2, a preprocessing part 3 and a recognition part 4 and displayed on an output part 8. At the time of judging the existence of a misrecognized character recognition result due to missegmentation from the display, the number of correct strokes of a written character is inputted to a number-of-strokes setting part 5. A stroke code judging part 6 transfers the misrecognized character recognition result obtained from the recognition part 4 to a stroke pattern dictionary part 7 based upon the inputted number of strokes. The dictionary part 7 corrects the misrecognized character recognition result based upon the number of strokes outputted from the setting part 5. The judging part 6 receives the corrected character recognition result and outputs the received result to the output part 8. The output part 8 displays the corrected character recognition result.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、実時間で筆記文字
を認識するオンライン文字認識装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an on-line character recognition device for recognizing handwritten characters in real time.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば次のような文献に記載されるものがあった。 文献1;特開昭61−29982号公報 文献2;電子通信学会技術研究報告、84[22](1
984.5)、村瀬洋 他著“候補文字ラティス法によ
るオンライン手書文字列の認識”P.67 オンライン文字認識装置には、フリーフォーマット上に
おける文字を切出して文字認識するものがある。フリー
フォーマット上における文字切り出し方式としては以下
の方法がある。筆記入力された各ストローク(ペンオン
からペンオフまでの筆記部分)毎に、x座標の最小値及
び最大値と、y座標の最小値及び最大値とを求め、それ
らに囲まれた枠を作成する。その枠が他の枠に接してい
る場合や他の枠に含まれる場合等には、全体を1つの枠
で括ってブロックにする。各ブロックを一文字として切
り出し、各ブロックを辞書とマッチングしてそれぞれ文
字認識している。また、ブロック間の距離が近い場合に
は、複数のブロックを1文字を表す文字ブロックとして
切出す。この文字ブロックに対し、辞書を用いて文字認
識する。
2. Description of the Related Art Conventionally, techniques in such a field include:
For example, there is one described in the following literature. Reference 1: Japanese Patent Laid-Open No. 61-29982 Reference 2: Technical Report of IEICE, 84 [22] (1
984.5), Hiroshi Murase et al., "Recognition of online handwritten character strings by the candidate character lattice method" P.67 Some online character recognition devices cut out characters in free format and perform character recognition. The following methods are available as character cutting methods on the free format. The minimum and maximum values of the x coordinate and the minimum and maximum values of the y coordinate are obtained for each stroke (writing portion from pen-on to pen-off) input by handwriting, and a frame surrounded by them is created. When the frame is in contact with another frame or included in another frame, the entire frame is enclosed by one frame to form a block. Each block is cut out as one character, and each block is matched with the dictionary for character recognition. Also, when the distance between the blocks is short, a plurality of blocks are cut out as a character block representing one character. Character recognition is performed on this character block using a dictionary.

【0003】図2は、従来の文字切出し処理の説明図で
ある。例えば“沖”という文字があり、そのストローク
を括ると、偏の“さんずい”とつくりの“中”のブロッ
クに分かれる。ブロック間の距離αは図2のようにx座
標上で求められる。ブロック間の距離値αが予め定めら
れた値よりも小さい場合に、“沖”に対応する文字ブロ
ックが切り出される。この他にも、ペンオフから次のペ
ンオン間での距離値の大きさに基づいて切出すものや、
筆記文字の投影パタンを求めてから該各パタン毎の距離
値用いて切出す処理方法等がある。
FIG. 2 is an explanatory diagram of a conventional character cutting process. For example, there is a letter "Oki", and when the strokes are enclosed, it is divided into a partial "Sanzui" block and a Tsukuri "Middle" block. The distance α between the blocks is obtained on the x coordinate as shown in FIG. When the distance value α between blocks is smaller than a predetermined value, the character block corresponding to “Oki” is cut out. Other than this, cutting out based on the size of the distance value from pen off to next pen on,
There is a processing method in which a projection pattern of a handwritten character is obtained and then cut out using a distance value for each pattern.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
オンライン文字認識装置では、次のような課題があっ
た。いずれの文字切出し方法を用いても、ブロック間の
距離値αによって1文字として切出す文字ブロックが異
なる。例えば、図2におけるブロック間の距離αが予め
定められた値よりも大きいとき、偏の“さんずい”とつ
くりの“中”のブロックが別の文字を表す文字ブロック
として切り出される。よって、文字ブロック単位で辞書
とマッチングした場合、本来ユーザーが望んでいるもの
とは異なった認識結果が得られるという問題があった。
However, the conventional online character recognition device has the following problems. Whichever character cutout method is used, the character block cut out as one character differs depending on the distance value α between blocks. For example, when the distance α between the blocks in FIG. 2 is larger than a predetermined value, the uneven “Sanzui” and the created “middle” blocks are cut out as character blocks representing different characters. Therefore, there is a problem that when a character block unit is matched with a dictionary, a recognition result different from what the user originally desires is obtained.

【0005】[0005]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、オンライン文字認識装置において、
次のような構成にしている。即ち、第1の発明のオンラ
イン文字認識装置は、順次入力される筆記文字を座標変
換して筆記データ列を抽出する入力部と、前記筆記デー
タ列を前記筆記文字のストロークに分類し、該ストロー
クの位置関係から該筆記データ列を1文字に相当する文
字ブロックに分割する切出し部と、前記各文字ブロック
の特徴抽出と該特徴に対するマッチングを行い、該各文
字ブロック単位で文字認識する認識部とを備えている。
さらに、このオンライン文字認識装置には、前記文字認
識結果及び修正された文字認識結果を表示する出力部
と、前記認識部における文字認識結果が誤っていた場合
に入力された前記筆記文字の正しいストローク数を設定
するストローク数設定部と、前記文字認識の誤りで生じ
る誤認識結果文字の組合せと該組合せで合成される修正
用文字と該修正用文字のストローク数とを対応させて記
憶した辞書を内蔵し、前記設定されたストローク数と与
えられた誤認識結果文字の組合せとに対応する修正用文
字を該辞書から抽出し、これを修正文字認識結果として
出力するストロークパタン辞書部と、前記設定されたス
トローク数に基づき前記誤認識結果文字の組合せを検出
して前記ストロークパタン辞書部に与え、該ストローク
パタン辞書部から前記修正文字認識結果を受取って前記
出力部に与えるストロークコード判定部とが、設けられ
ている。
In order to solve the above-mentioned problems, the first invention is an online character recognition device,
It has the following configuration. That is, the online character recognition device of the first invention classifies the writing data string into strokes of the writing character, and an input unit for converting the writing characters sequentially input into coordinates to extract the writing data string. A cutout unit that divides the handwriting data string into character blocks corresponding to one character based on the positional relationship between the character blocks, and a recognition unit that performs feature extraction of each of the character blocks and matching of the features, and recognizes the character in each character block Is equipped with.
Furthermore, in this online character recognition device, an output unit for displaying the character recognition result and the corrected character recognition result, and a correct stroke of the written character input when the character recognition result in the recognition unit is incorrect. A stroke number setting unit for setting the number, a dictionary in which a combination of misrecognition result characters caused by the character recognition error, a correction character combined by the combination, and a stroke number of the correction character are stored in association with each other. A stroke pattern dictionary unit that is built-in and that extracts a correction character corresponding to the set number of strokes and a given combination of misrecognition result characters from the dictionary and outputs this as a corrected character recognition result; The combination of the misrecognized result characters is detected on the basis of the number of strokes, and is given to the stroke pattern dictionary unit. A stroke code judging unit which receives the correction character recognition result given to the output section is provided.

【0006】第2の発明は、オンライン文字認識装置に
おいて、次のような構成にしている。即ち、筆記文字の
文字種を示す第1のフラグを予め設定する文字種設定部
と、順次入力される筆記文字を座標変換して筆記データ
列を抽出する入力部と、前記筆記データ列を前記筆記文
字のストロークに分類し、該ストロークの位置関係から
該筆記データ列を1文字に相当する文字ブロックに分割
する切出し部と、前記各文字ブロックの特徴抽出と該特
徴に対するマッチングを行い、該各文字ブロック単位で
文字認識する認識部とを備えている。さらに、このオン
ライン文字認識装置は、内蔵する辞書を検索し、前記文
字認識結果の文字種を示す第2のフラグを設定すると共
に該文字認識結果のうちの誤った文字認識結果を前記第
1のフラグの示す文字種の文字認識結果に修正する文字
種パタン辞書部と、前記第2のフラグと前記第1のフラ
グとを比較して前記認識部の出力した文字認識結果が正
しいか誤っているかを判定し、正しいと判定したときは
この文字認識結果を出力し、誤っていると判定したとき
には該誤った文字認識結果を前記文字種パタン辞書に渡
し、該文字種パタン辞書から修正された文字認識結果を
受取って出力する文字種コード判定部と、前記文字種コ
ード判定部から出力された文字認識結果または修正され
た文字認識結果を表示する出力部とを、備えている。
A second aspect of the present invention is an online character recognition device having the following configuration. That is, a character type setting unit that presets a first flag that indicates the character type of a writing character, an input unit that performs coordinate conversion of sequentially input writing characters to extract a writing data string, and the writing data string as the writing character string. A stroke that divides the handwriting data string into character blocks corresponding to one character based on the positional relationship of the strokes, feature extraction of each of the character blocks, and matching of the features, and each character block. A recognition unit for recognizing characters in units is provided. Further, this online character recognition device searches a built-in dictionary, sets a second flag indicating a character type of the character recognition result, and sets an erroneous character recognition result of the character recognition result as the first flag. The character type pattern dictionary unit that corrects the character recognition result of the character type indicated by is compared with the second flag and the first flag to determine whether the character recognition result output by the recognition unit is correct or incorrect. When it is determined to be correct, this character recognition result is output, and when it is determined to be incorrect, the incorrect character recognition result is passed to the character type pattern dictionary, and the corrected character recognition result is received from the character type pattern dictionary. A character type code determining unit for outputting and an output unit for displaying the character recognition result output from the character type code determining unit or the corrected character recognition result are provided.

【0007】第1の発明によれば、以上のようにオンラ
イン文字認識装置を構成したので、入力部により、順次
入力される筆記文字が筆記データ列に変換され、切出し
部により、この筆記データ列が文字ブロックに分割され
る。認識部によって、各文字ブロック単位での文字認識
が得られる。ここで、出力部は一度この文字認識結果を
表示する。文字認識結果の表示により、切出しミスで誤
認識が発生していることが判断される。文字認識結果が
誤っていた場合、ストローク設定部に認識対象の文字の
正しいストローク数が入力されて設定される。このスト
ローク数がストロークパタン辞書部とストロークコード
判定部とに与えられる。ストロークコード判定部は、与
えられたストローク数から誤認識結果文字の組合せを検
出してストロークパタン辞書部に渡す。ストロークパタ
ン辞書部により、誤認識結果文字の組合せが修正されて
ストロークコード判定部に与えられる。修正文字認識結
果が、ストロークコード判定部から出力部に供給され、
出力部によって、修正された文字認識結果が表示され
る。
According to the first aspect of the present invention, since the online character recognition device is configured as described above, the input unit converts the sequentially input writing characters into a writing data string, and the cutout unit converts this writing data string. Is divided into character blocks. The recognition unit obtains character recognition for each character block. Here, the output unit once displays the character recognition result. From the display of the character recognition result, it is determined that erroneous recognition has occurred due to a cutting error. If the character recognition result is incorrect, the correct stroke number of the character to be recognized is input and set in the stroke setting unit. This stroke number is given to the stroke pattern dictionary unit and the stroke code determination unit. The stroke code determination unit detects a combination of erroneously recognized result characters from the given number of strokes and passes it to the stroke pattern dictionary unit. The stroke pattern dictionary unit corrects the combination of the misrecognized result characters and supplies the corrected combination to the stroke code determination unit. The corrected character recognition result is supplied from the stroke code determination unit to the output unit,
The output unit displays the corrected character recognition result.

【0008】第2の発明によれば、筆記文字の文字種を
示す第1のフラグが文字種設定部によって予め設定され
る。この第1のフラグは、文字種コード判定部と文字種
パタン辞書部とに出力される。一方、入力部によって順
次入力される筆記文字が筆記データ列に変換され、切出
し部により、この筆記データ列が文字ブロックに分割さ
れる。認識部によって、各文字ブロック単位での文字認
識が得られる。文字認識結果は、文字種コード判定部に
供給される。文字認識結果は文字種コード判定部から文
字種パタン辞書部に出力され、文字種パタン辞書部がそ
の文字認識結果の文字の文字種を示す第2のフラグを設
定する。文字種コード判定部は、第1及び第2のフラグ
を比較することで、文字認識結果が誤っているかどうか
検出する。認識部から得た文字認識結果が誤った文字認
識結果であれば、それを文字種パタン辞書部に渡す。誤
った文字認識結果は、文字種パタン辞書部によって修正
され、修正された文字認識結果が文字種コード判定部に
戻される。文字種コード判定部は、その修正された文字
認識結果を出力部に出力し、出力部が修正された文字認
識結果を表示する。従って、前記課題を解決できるので
ある。
According to the second aspect of the invention, the first flag indicating the character type of the written character is preset by the character type setting unit. The first flag is output to the character type code determination unit and the character type pattern dictionary unit. On the other hand, the handwritten characters sequentially input by the input unit are converted into a handwritten data string, and the cutout unit divides the handwritten data string into character blocks. The recognition unit obtains character recognition for each character block. The character recognition result is supplied to the character type code determination unit. The character recognition result is output from the character type code determination unit to the character type pattern dictionary unit, and the character type pattern dictionary unit sets a second flag indicating the character type of the character of the character recognition result. The character type code determination unit detects whether or not the character recognition result is incorrect by comparing the first and second flags. If the character recognition result obtained from the recognition unit is an incorrect character recognition result, it is passed to the character type pattern dictionary unit. The incorrect character recognition result is corrected by the character type pattern dictionary unit, and the corrected character recognition result is returned to the character type code determination unit. The character type code determination unit outputs the corrected character recognition result to the output unit, and the output unit displays the corrected character recognition result. Therefore, the above problem can be solved.

【0009】[0009]

【発明の実施の形態】第1の実施形態 図1は、本発明の第1の実施形態を示すオンライン文字
認識装置の機能ブロック図である。このオンライン文宇
認識装置は、タブレット等の筆記文字を入力する入力部
1を有している。入力部1の出力側は切出し部2に接続
され、この切出し部2の出力側が前処理部3に接続され
ている。前処理3の出力側には認識部4が接続されてい
る。切出し部2と前処理部3と認識部4における処理
は、図示せぬCPU及びメモリ等で実現される。さら
に、このオンライン文字認識装置には、ストローク数設
定部5とストロークコード判定部6とストロークパタン
辞書部7とが設けられている。認識部4の出力側はスト
ロークコード判定部6に接続され、ストローク数設定部
5の出力側が、ストロークコード判定部6とストローク
パタン辞書部7に接続されている。ストロークパタン辞
書部7はストロークコード判定部6に対して入出力する
構成である。そのストロークコード判定部6の出力側
が、ディスプレイ等で形成された出力部8に接続されて
いる。
BEST MODE FOR CARRYING OUT THE INVENTION First Embodiment FIG. 1 is a functional block diagram of an online character recognition device showing a first embodiment of the present invention. This online Bunyu recognition device has an input unit 1 for inputting written characters such as a tablet. The output side of the input unit 1 is connected to the cutout unit 2, and the output side of the cutout unit 2 is connected to the preprocessing unit 3. The recognition unit 4 is connected to the output side of the preprocessing 3. The processes in the cutout unit 2, the preprocessing unit 3, and the recognition unit 4 are realized by a CPU, a memory, and the like not shown. Furthermore, this online character recognition device is provided with a stroke number setting unit 5, a stroke code determination unit 6, and a stroke pattern dictionary unit 7. The output side of the recognition section 4 is connected to the stroke code determination section 6, and the output side of the stroke number setting section 5 is connected to the stroke code determination section 6 and the stroke pattern dictionary section 7. The stroke pattern dictionary unit 7 is configured to input / output to / from the stroke code determination unit 6. The output side of the stroke code determination unit 6 is connected to the output unit 8 formed of a display or the like.

【0010】入力部1は、筆記入力を座標変換し、座標
値で表される筆記データ列を順次抽出するものである。
切出し部2は、筆記データ列に対して一定時間間隔で筆
点の座標値を取り込み、それをストロークに分類した
後、該ストローク間の位置関係に基づいて自動的に筆記
データ列を文字単位に分割、つまり文字ブロックに分割
するものである。前処理部3は、切出し部2の出力する
文字ブロック単位の筆記データ列に対してノイズ除去処
理或いは平滑化処理を行うものである。認識部4は、前
処理部3の出力する筆記データ列に対して特徴点の抽出
処理を行い、一般的なパタンマッチング方式で文字認識
を行うものである。パタンマッチング方式では、抽出し
た特徴点の情報と、予め同一方法で登録しておいた標準
文字パタンとをマッチングする。これにより、文字認識
が行われる。認識部4は、この文字認識結果である文字
コードのシフトJISコードで出力する機能を有してい
る。ストローク設定部5は、認識部4での文字認識結果
が正しくない場合に用いられるものであり、オペレータ
が入力した文字の正しいストローク数を設定するもので
ある。ストロークコード判定部6は、認識部4の出力す
る認識結果の文字コードを1文字ずつ取り込み、それに
対応する文字を出力部8に表示し、その表示をユーザー
が切出しミスによる誤認識と判定した場合、ストローク
設定部5から得られたストローク数を取り込むようにな
っている。誤認識ではないと判断された場合、認識部4
の出力する認識結果を最終的な文字認識結果として出力
部8に再び表示するものである。また、誤認識のために
設定されたストローク数を取り込んだ場合、ストローク
コード判定部6は、次に説明するストロークパタン辞書
部7から、修正文字のシフトJISコードを入力してそ
の文字を出力部8に表示する機能を有している。ストロ
ークパタン辞書部7は、ストロークパタン辞書を備えて
いる。
The input unit 1 transforms coordinates of a handwriting input and sequentially extracts a handwriting data string represented by coordinate values.
The clipping unit 2 takes in the coordinate values of the writing points with respect to the writing data string at regular time intervals, classifies them into strokes, and then automatically writes the writing data string in character units based on the positional relationship between the strokes. Division, that is, division into character blocks. The pre-processing unit 3 performs noise removal processing or smoothing processing on the writing data string in character block units output by the cutout unit 2. The recognition unit 4 performs feature point extraction processing on the writing data string output by the preprocessing unit 3 and performs character recognition by a general pattern matching method. In the pattern matching method, the extracted feature point information is matched with the standard character pattern registered in advance by the same method. Thereby, character recognition is performed. The recognition unit 4 has a function of outputting a shift JIS code of a character code which is the result of character recognition. The stroke setting unit 5 is used when the character recognition result by the recognition unit 4 is incorrect, and sets the correct number of strokes of the character input by the operator. When the stroke code determination unit 6 takes in the character code of the recognition result output by the recognition unit 4 one by one, displays the corresponding character on the output unit 8, and the user determines that the display is erroneous recognition due to a cutting error. The number of strokes obtained from the stroke setting unit 5 is fetched. If it is determined that the recognition is not incorrect, the recognition unit 4
The recognition result output by is displayed again on the output unit 8 as the final character recognition result. When the stroke number set for erroneous recognition is fetched, the stroke code determination unit 6 inputs the shift JIS code of the corrected character from the stroke pattern dictionary unit 7 described below and outputs the character. 8 has the function of displaying. The stroke pattern dictionary unit 7 includes a stroke pattern dictionary.

【0011】図3は、図1中のストロークパタン辞書部
中のストロークパタン辞書を示す図である。ストローク
パタン辞書では、誤認識結果の文字コードの組合わせ
と、その組合わせで合成される修正用文字のシフトJI
Sコードとを、ストローク数に対応させて持っている。
ストロークパタン辞書部7は、ストロークコード判定部
6から与えられた複数の文字コードと設定されたストロ
ーク数とから、ストロークパタン辞書を検索し、誤認識
結果に対する修正用文字のシフトJISコードを求める
機能を有している。図4は、図1のオンライン文字認識
装置の処理手順を示すフローチャートであり、この図4
を参照しつつ、図1の動作を説明する。ステップS1に
おいて、筆記者はストローク単位で入力部1に文字を入
力する。入力部1は、筆記入力を座標に変換して筆記デ
ータ列{(x,y),i=1,2,…,nj}jを
逐次切出し部2へ出力する。ステップS2において、切
出し部2は筆記データ列{(x,y),i=1,
2,…,nj}jから、一定時間間隔での筆点の座標値
を取込んでそれをストローク毎に分類する。さらに、切
出し部2はストローク間の位置関係に基づき、筆記デー
タ列を文字単位に自動的に分割する。つまり、切出し処
理を行う。ステップS3において、前処理部3は、切出
し部から順次出力される文字単位の筆記データ列に対し
て前処理を行い、筆記データ列のノイズ除去或いは平滑
化を施す。前処理部3の出力する文字単位の筆記データ
列は、順に認識部4に転送される。ステップS4におい
て、認識部4は、入力された文字単位の筆記データ列に
対して特徴点の抽出を行い、抽出された特徴点を用いて
マッチングで文字認識を行う。文字認識結果である文字
コードのシフトJISコードが、ストロークコード判定
部6へ出力される。
FIG. 3 is a diagram showing a stroke pattern dictionary in the stroke pattern dictionary unit shown in FIG. In the stroke pattern dictionary, a combination of character codes resulting from erroneous recognition and shift JI of correction characters synthesized by the combination are used.
It has S-codes corresponding to the number of strokes.
The stroke pattern dictionary unit 7 searches the stroke pattern dictionary from the plurality of character codes given from the stroke code determination unit 6 and the set number of strokes, and obtains the shift JIS code of the correction character for the misrecognition result. have. FIG. 4 is a flowchart showing a processing procedure of the online character recognition device of FIG.
The operation of FIG. 1 will be described with reference to FIG. In step S1, the writer inputs characters into the input unit 1 in stroke units. The input unit 1 converts the handwriting input into coordinates and sequentially outputs the handwriting data string {(x i , y i ), i = 1, 2, ..., Nj} j to the cutout unit 2. In step S2, the cutout unit 2 causes the writing data string {(x i , y i ), i = 1,
From 2, 2, ..., Nj} j, the coordinate values of the writing points at a fixed time interval are fetched and classified for each stroke. Further, the cutout unit 2 automatically divides the writing data string in character units based on the positional relationship between strokes. That is, the cutout process is performed. In step S3, the preprocessing unit 3 performs preprocessing on the writing data string in character units sequentially output from the clipping unit to remove noise or smooth the writing data string. The character-based writing data string output by the preprocessing unit 3 is sequentially transferred to the recognition unit 4. In step S4, the recognition unit 4 extracts feature points from the input writing data string in character units, and performs character recognition by matching using the extracted feature points. The shift JIS code of the character code, which is the result of character recognition, is output to the stroke code determination unit 6.

【0012】ステップS5において、ストロークコード
判定部6は、認識部4から得た文字コードに対応する文
字を、最初の認識結果として出力部8に表示する。ステ
ップS6において、出力部8の表示から、筆記者は認識
部4での文字認識結果が正しいか誤認識であったかを判
断する。誤認識の場合(N)、ステップS7において、
筆記者はその誤認識文字の正しいストローク数を入力
し、ストローク数設定部5に正しいストローク数を設定
する。ここで、ストローク数の設定が無い場合には、ス
テップS6に戻る。設定されたストローク数は、ストロ
ークコード判定部6とストロークパタン辞書部7に出力
される。ステップS8において、ストロークコード判定
部6は、設定されたストローク数分に対応する誤った文
字認識結果である文字コードをストロークパタン辞書部
7に出力する。ストロークパタン辞書部7は、図3のス
トロークパタン辞書の設定ストローク数に対応する部分
を抜き出してロードする。ステップS9において、スト
ロークパタン辞書部7は、抜き出されたストロークパタ
ン辞書の部分と、ストロークコード判定部6から与えら
れた文字コードとをマッチングし、誤認識に対する修正
用文字の文字コードを得る。
In step S5, the stroke code determination unit 6 displays the character corresponding to the character code obtained from the recognition unit 4 on the output unit 8 as the first recognition result. In step S6, the writer determines from the display on the output unit 8 whether the character recognition result by the recognition unit 4 is correct or erroneous. In the case of false recognition (N), in step S7,
The writer inputs the correct stroke number of the erroneously recognized character and sets the correct stroke number in the stroke number setting unit 5. Here, if the stroke number is not set, the process returns to step S6. The set number of strokes is output to the stroke code determination unit 6 and the stroke pattern dictionary unit 7. In step S8, the stroke code determination unit 6 outputs to the stroke pattern dictionary unit 7 a character code which is an incorrect character recognition result corresponding to the set number of strokes. The stroke pattern dictionary unit 7 extracts and loads a portion corresponding to the set stroke number in the stroke pattern dictionary of FIG. In step S9, the stroke pattern dictionary unit 7 matches the extracted stroke pattern dictionary portion with the character code given from the stroke code determination unit 6, and obtains the character code of the correction character for erroneous recognition.

【0013】図5は、誤認識文字の例を示す図である。
例えば、入力部1に対して“州”の文字が入力されて
も、誤認識により、認識部4が“り”,“り”,“り”
の文字コード“82e2”,“82e2”,“82e
2”を出力したとする。筆記者は文字“州”の正しいス
トローク数の6を設定し、ストロークコード判定部6
は、ストローク数が2の各文字コード“82e2”,
“82e2”,“82e2”をストロークパタン辞書部
7に渡す。ストロークパタン辞書部7は、ストローク数
が6であると共に渡された文字コード群が“82e2”
かつ“82e2”かつ“82e2”であるので、それに
対応する修正文字を選択する。その結果、文字“州”の
文字コード“8f42”が選択される。“州”の文字コ
ード“8f42”は、修正された文字認識結果としてス
トロークコード判定部6に出力される。ステップS10
において、ストロークコード判定部6は、認識部4から
の文字コードを、ストロークパタン辞書部7から与えら
れた修正文字の文字コードに入れ替える。ステップS1
1において、ストロークコード判定部6は、出力部8に
最終的な文字認識結果を出力する。その結果、ステップ
S6で認識結果が正しいと判定された場合には、認識部
4からの文字コードに対応する文字がそのまま文字が出
力され、誤認識の場合には、ステップS10で得られた
修正文字コードに対応する文字が表示される。以上のよ
うに、この第1の実施形態では、ストローク数設定部5
とストロークコード判定部6とストロークパタン辞書部
7を設け、最初の文字認識結果が誤認識であった場合に
正しいストローク数を設定し、誤認識で生じた文字コー
ドと設定されたストローク数から修正文字の文字コード
を出力する構成にしている。そのため、切出しミスで生
じる誤認識が修正され、オンライン文字認識装置の文字
認識率が向上する。
FIG. 5 is a diagram showing an example of erroneously recognized characters.
For example, even if a character of “state” is input to the input unit 1, the recognition unit 4 causes “ri”, “ri”, “ri” due to misrecognition.
Character codes of "82e2", "82e2", "82e"
2 "is output. The writer sets the correct stroke number of the character" state "to 6, and the stroke code determination unit 6
Is the character code “82e2” for which the number of strokes is 2,
“82e2” and “82e2” are passed to the stroke pattern dictionary unit 7. The stroke pattern dictionary unit 7 has 6 strokes and the passed character code group is “82e2”.
Since they are "82e2" and "82e2", the correction character corresponding to them is selected. As a result, the character code “8f42” of the character “state” is selected. The character code “8f42” of “state” is output to the stroke code determination unit 6 as the corrected character recognition result. Step S10
In, the stroke code determination unit 6 replaces the character code from the recognition unit 4 with the character code of the corrected character given from the stroke pattern dictionary unit 7. Step S1
In 1, the stroke code determination unit 6 outputs the final character recognition result to the output unit 8. As a result, when the recognition result is determined to be correct in step S6, the character corresponding to the character code from the recognition unit 4 is output as it is, and in the case of erroneous recognition, the correction obtained in step S10. The character corresponding to the character code is displayed. As described above, in the first embodiment, the stroke number setting unit 5
A stroke code determination unit 6 and a stroke pattern dictionary unit 7 are provided, a correct stroke number is set when the first character recognition result is erroneous recognition, and the character code generated by the erroneous recognition and the set stroke number are corrected. It is configured to output the character code of the character. Therefore, the erroneous recognition caused by the clipping error is corrected, and the character recognition rate of the online character recognition device is improved.

【0014】第2の実施形態 図6は、本発明の第2の実施形態を示すオンライン文字
認識装置の機能ブロック図である。このオンライン文宇
認識装置は、タブレット等の筆記文字を入力する入力部
11を有している。入力部11の出力側は切出し部12
に接続され、該切出し部12の出力側が前処理部13に
接続されている。前処理13の出力側に認識部14が接
続されている。切出し部12と前処理部13と認識部1
4における処理は、図示せぬCPU及びメモリ等で実現
される。さらに、このオンライン文字認識装置には、文
字種設定部15と文字種コード判定部16と文字種パタ
ン辞書部17とが設けられている。認識部14の出力側
は文字種コード判定部16に接続されている。文字種設
定部15は入力部11に接続され、該文字種設定部15
の出力側が、文字種コード判定部16と文字種パタン辞
書部17とに接続されている。文字種パタン辞書部17
と文字種コード判定部16は、互いに入出力する構成で
ある。文字種コード判定部16の出力側が、ディスプレ
イ等で形成された出力部18に接続されている。
Second Embodiment FIG. 6 is a functional block diagram of an online character recognition device showing a second embodiment of the present invention. This on-line sentence recognition device has an input unit 11 for inputting written characters such as a tablet. The output side of the input unit 11 is the cutout unit 12
The output side of the cutout unit 12 is connected to the preprocessing unit 13. The recognition unit 14 is connected to the output side of the preprocessing 13. Cutout unit 12, preprocessing unit 13, and recognition unit 1
The process in 4 is realized by a CPU, a memory, and the like (not shown). Furthermore, this online character recognition device is provided with a character type setting unit 15, a character type code determination unit 16, and a character type pattern dictionary unit 17. The output side of the recognition unit 14 is connected to the character type code determination unit 16. The character type setting unit 15 is connected to the input unit 11, and the character type setting unit 15
The output side of is connected to the character type code determination unit 16 and the character type pattern dictionary unit 17. Character type pattern dictionary unit 17
The character type code determination unit 16 and the character type code determination unit 16 input and output each other. The output side of the character type code determination unit 16 is connected to the output unit 18 formed of a display or the like.

【0015】入力部11と切出し部12と前処理部13
と認識部14は、第1の実施形態における入力部1と切
出し部2と前処理部3と認識部4とそれぞれ同様の機能
を有している 文字種設定部15は、筆記者が入力したい文字種(AN
K文字、漢字、etc.)を予め第1のフラグとして設定す
るものである。文字種コード判定部16は、認識部14
の出力する文字認識結果の文字コードを1文字ずつ取り
込み、後述する文字コードフラグ辞書を参照して、その
認識結果の文字種が文字種設定部15の設定したフラグ
に一致するかどうかを判断する機能を有している。そし
て、認識結果の文字種が予め設定したフラグに一致する
場合、文字種コード判定部16は認識結果を出力部18
に表示し、認識結果の文字種が予め設定したフラグに一
致しない場合、後述する文字種パタン辞書部17から修
正文字のシフトJISコードを入力してそれを出力部1
8に表示するようになっている。文字種パタン辞書部1
7は、文字種コードフラグ辞書と文字種パタン辞書とを
内蔵している。
Input unit 11, cutout unit 12, and preprocessing unit 13
The recognition unit 14 has the same function as the input unit 1, the cutout unit 2, the preprocessing unit 3, and the recognition unit 4 in the first embodiment. The character type setting unit 15 is a character type that the writer wants to input. (AN
K character, Kanji character, etc.) is set in advance as the first flag. The character type code determination unit 16 includes the recognition unit 14
The function of determining whether the character type of the recognition result matches the flag set by the character type setting unit 15 by referring to the character code flag dictionary described later by capturing the character code of the character recognition result output by Have Then, when the character type of the recognition result matches the preset flag, the character type code determination unit 16 outputs the recognition result to the output unit 18.
When the character type of the recognition result does not match the preset flag, the shift JIS code of the corrected character is input from the character type pattern dictionary unit 17, which will be described later, and is output to the output unit 1.
It is supposed to be displayed on 8. Character type pattern dictionary 1
7 includes a character type code flag dictionary and a character type pattern dictionary.

【0016】図7は、図6中の文字種パタン辞書部17
の内蔵する文字種コードフラグ辞書の構造を示す図であ
り、図8は、図6中の文字種パタン辞書部17の内蔵す
る文字種パタン辞書の構造を示す図である。文字種コー
ドフラグ辞書では、各文字種と、その文字種の文字コー
ドの範囲(シフトJIS範囲)と、各文字種のフラグと
が、それぞれ対応する形で記憶されている。例えば漢字
には文字コード889F〜9872の範囲が与えられ、
それに対応して漢字を表すフラグ“0000”が格納さ
れている。図8の文字種パタン辞書では、誤認識結果の
文字コードの組合わせと、その組合わせで合成される修
正文字のシフトJISコードとを対応させて持ってい
る。文字種パタン辞書部17は、文字種コード判定部1
6から与えられた複数の文字コードと図8の文字種パタ
ン辞書から、修正文字のシフトJISコードを求める機
能を有している。図9は、図6のオンライン文字認識装
置の処理手順を説明するフローチャートであり、この図
を参照しつつ、図6の動作を説明する。ステップS21
において、筆記者は予め筆記入力文字の文字種を選択
し、その文字種を入力部11を介して文字種設定部15
に指示する。文字種設定部15は、筆記入力文字の文字
種に対応するフラグを設定する。ステップS22におい
て、筆記者は、入力部21に対してストローク単位で文
字を入力する。入力部11は、筆記入力を座標に変換し
て筆記データ列{(x,y),i=1,2,…,n
j}jを逐次切出し部12へ出力する。
FIG. 7 shows the character type pattern dictionary unit 17 in FIG.
FIG. 8 is a diagram showing a structure of a character type code flag dictionary incorporated in FIG. 8, and FIG. 8 is a diagram showing a structure of a character type pattern dictionary incorporated in the character type pattern dictionary unit 17 in FIG. In the character type code flag dictionary, each character type, a range of character codes of that character type (shift JIS range), and a flag of each character type are stored in a corresponding form. For example, the range of character codes 889F to 9872 is given to Kanji,
Correspondingly, a flag "0000" representing a Chinese character is stored. The character type pattern dictionary of FIG. 8 has a combination of character codes resulting from erroneous recognition and a shift JIS code of a corrected character synthesized by the combination in association with each other. The character type pattern dictionary unit 17 includes the character type code determination unit 1
It has a function of obtaining a shift JIS code of a corrected character from a plurality of character codes given from No. 6 and the character type pattern dictionary of FIG. FIG. 9 is a flowchart for explaining the processing procedure of the online character recognition device of FIG. 6, and the operation of FIG. 6 will be described with reference to this figure. Step S21
In the above, the writer previously selects the character type of the handwritten input character, and the character type is set to the character type setting unit 15 via the input unit 11.
To instruct. The character type setting unit 15 sets a flag corresponding to the character type of the handwritten input character. In step S22, the writer inputs characters to the input unit 21 in stroke units. The input unit 11 converts a handwriting input into coordinates and writes a handwriting data string {(x i , y i ), i = 1, 2, ..., N.
j} j is sequentially output to the cutout unit 12.

【0017】ステップS23において、切出し部12は
筆記データ列{(x,y),i=1,2,…,n
j}jから、一定時間間隔での筆点の座標値を取込んで
それをストローク毎に分類する。さらに、切出し部12
はストローク間の位置関係に基づき、筆記データ列を文
字単位に自動的に分割する。つまり、切出し処理を行
う。ステップS24において、前処理部13は、切出し
部から順次出力される文字単位の筆記データ列に対して
前処理を行い、筆記データ列のノイズ除去或いは平滑化
を施す。前処理部13の出力する文字単位の筆記データ
列は、順に認識部14に転送される。ステップS25に
おいて、認識部14は、入力された文字ブロック単位の
筆記データ列に対して特徴点の抽出を行い、抽出された
特徴点を用いて文字認識を行う。文字認識の結果である
文字コードのシフトJISコードが、文字種コード判定
部16へ出力される。
In step S23, the clipping unit 12 causes the writing data string {(x i , y i ), i = 1, 2, ..., N.
From j} j, the coordinate values of the writing points at fixed time intervals are fetched and classified for each stroke. Further, the cutting portion 12
Automatically divides the writing data string into character units based on the positional relationship between strokes. That is, the cutout process is performed. In step S24, the preprocessing unit 13 performs preprocessing on the writing data string in character units sequentially output from the cutout unit to remove noise or smooth the writing data string. The character-based writing data string output by the preprocessing unit 13 is sequentially transferred to the recognition unit 14. In step S25, the recognition unit 14 extracts feature points from the input writing data string in character block units, and performs character recognition using the extracted feature points. The shift JIS code of the character code, which is the result of character recognition, is output to the character type code determination unit 16.

【0018】ステップS26において、文字種コード判
定部16は認識部14からの文字認識結果を文字種パタ
ン辞書部17に出力する。文字種パタン辞書部17は、
文字種コードフラグ辞書を参照し、入力した文字認識結
果の文字種に対応する第2のフラグを設定する。文字種
コード判定部16はその第2のフラグと第1のフラグを
比較する。例えば、文字種パタン辞書部17は、文字認
識結果が漢字であればフラグ“0000”、英大文字で
あればフラグ“0001”を設定し、文字種コード判定
部16は、その第2のフラグと第1のフラグと一致して
いるかを判定する。一致していない場合、即ち誤認識が
発生している場合、処理がステップS27に進む。ステ
ップS27において、文字種コード判定部17は誤認識
結果の文字コード群を文字種パタン辞書部17に渡す。
文字種パタン辞書部17は、図7の文字種パタン辞書を
用いて、修正文字の文字コードを得る。
In step S26, the character type code determination unit 16 outputs the character recognition result from the recognition unit 14 to the character type pattern dictionary unit 17. The character type pattern dictionary unit 17
The second flag corresponding to the character type of the input character recognition result is set by referring to the character type code flag dictionary. The character type code determination unit 16 compares the second flag with the first flag. For example, the character type pattern dictionary unit 17 sets a flag "0000" if the character recognition result is a Kanji character, and sets a flag "0001" if the character recognition result is an English capital letter, and the character type code determination unit 16 sets the second flag and the first flag. It is determined whether it matches the flag of. If they do not match, that is, if erroneous recognition occurs, the process proceeds to step S27. In step S27, the character type code determination unit 17 passes the character code group of the erroneous recognition result to the character type pattern dictionary unit 17.
The character type pattern dictionary unit 17 obtains the character code of the corrected character by using the character type pattern dictionary shown in FIG.

【0019】図10は、誤認識文字の例を示す図であ
る。筆記者が英大文字の“A”,“B”,“C”と入力
しても、切出しミスにより、認識部14からは“A”,
“1”,“3”,“C”に対応する文字コードが出力さ
れる場合がある。この場合、“B”が誤認識されて
“1”,“3”になり、文字種が異なる。文字種パタン
辞書部17は、各“1”,“3”にそれぞれ対応する文
字コード“8250”,“8252”から修正文字の文
字コード“8261”を検索する。文字コード“826
1”は、文字“B”に相当する。この修正文字の文字コ
ードは、文字種コード判定部17に出力される。ステッ
プS28において、文字種コード判定部16は、認識部
14からの文字認識結果のうち、誤認識の文字コードを
修正文字の文字コードに入れ替え、これを修正された文
字認識結果として出力部18に出力する。ステップS2
9において、出力部18は、ステップS26での判定で
認識部14からの文字認識結果が正しいと判定された場
合には、その文字認識結果を表示する。また、誤認識が
あった場合には、ステップS28で得られた修正された
文字認識結果を表示する。以上のように、この第2の実
施形態では、文字種設定部15と文字種コード判定部1
6と文字種パタン辞書部17とを設け、予め文字種を限
定し、その限定した文字種以外の文字認識結果が得られ
た場合、該誤った文字認識結果から文字種パタン辞書部
17が修正した文字認識結果を得る構成にしている。全
体としてオンライン文字認識装置の認識率が向上する。
なお、本発明は、上記実施形態に限定されず種々の変形
が可能である。例えば、文字認識結果としてシフトJI
Sコードを用いているが、他の文字コードを使用する装
置でも、本発明は認識率を向上できる。
FIG. 10 is a diagram showing an example of erroneously recognized characters. Even if the writer inputs "A", "B", and "C" in capital letters, the recognition unit 14 causes "A",
Character codes corresponding to "1", "3", and "C" may be output. In this case, "B" is erroneously recognized as "1" and "3", and the character types are different. The character type pattern dictionary unit 17 searches for the character code “8271” of the corrected character from the character codes “8250” and “8252” corresponding to the respective “1” and “3”. Character code "826
1 "corresponds to the character" B ". The character code of this modified character is output to the character type code determination unit 17. In step S28, the character type code determination unit 16 determines the character recognition result from the recognition unit 14. Among them, the character code of the erroneous recognition is replaced with the character code of the corrected character, and this is output to the output unit 18 as the corrected character recognition result.
In 9, if the character recognition result from the recognition unit 14 is determined to be correct in the determination in step S26, the output unit 18 displays the character recognition result. If there is an erroneous recognition, the corrected character recognition result obtained in step S28 is displayed. As described above, in the second embodiment, the character type setting unit 15 and the character type code determining unit 1
6 and the character type pattern dictionary unit 17 are provided, the character type is limited in advance, and when a character recognition result other than the limited character type is obtained, the character recognition result corrected by the character type pattern dictionary unit 17 from the erroneous character recognition result. Is configured to obtain. As a whole, the recognition rate of the online character recognition device is improved.
Note that the present invention is not limited to the above embodiment, and various modifications are possible. For example, as a character recognition result, shift JI
Although the S code is used, the present invention can improve the recognition rate even in a device using another character code.

【0020】[0020]

【発明の効果】以上詳細に説明したように、第1の発明
によれば、ストローク数を設定するストローク数設定部
とストロークコード判定部とストロークパタン辞書部と
を設け、最初の文字認識結果が誤認識であった場合に正
しいストローク数を設定し、誤った文字認識結果とその
設定されたストローク数から誤った文字認識結果を修正
する構成にしている。そのため、切出しミスで生じする
誤認識が修正され、オンライン文字認識装置の文字認識
率が向上できる。第2の発明よれば、文字種設定部と文
字種コード判定部と文字種パタン辞書部とを設け、予め
文字種に対応するフラグを設定し、その設定した文字種
以外の文字認識結果が得られた場合、該誤った文字認識
結果から修正した文字認識結果を得る構成にしているの
で、切出しミスで生じする誤認識が修正され、オンライ
ン文字認識装置の文字認識率を向上できる。
As described above in detail, according to the first invention, the stroke number setting unit for setting the stroke number, the stroke code determination unit, and the stroke pattern dictionary unit are provided, and the first character recognition result is In the case of erroneous recognition, the correct stroke number is set, and the erroneous character recognition result is corrected based on the erroneous character recognition result and the set stroke number. Therefore, the erroneous recognition caused by the clipping error is corrected, and the character recognition rate of the online character recognition device can be improved. According to the second invention, a character type setting unit, a character type code determination unit, and a character type pattern dictionary unit are provided, flags corresponding to the character types are set in advance, and when a character recognition result other than the set character type is obtained, Since the corrected character recognition result is obtained from the erroneous character recognition result, the erroneous recognition caused by the clipping error is corrected, and the character recognition rate of the online character recognition device can be improved.

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

【図1】本発明の第1の実施形態を示すオンライン文字
認識装置の機能ブロック図である。
FIG. 1 is a functional block diagram of an online character recognition device showing a first embodiment of the present invention.

【図2】従来の文字切出し処理の説明図である。FIG. 2 is an explanatory diagram of a conventional character cutout process.

【図3】図1中のストロークパタン辞書部中のストロー
クパタン辞書を示す図である。
3 is a diagram showing a stroke pattern dictionary in a stroke pattern dictionary unit in FIG.

【図4】図1のオンライン文字認識装置の処理手順を示
すフローチャートである。
FIG. 4 is a flowchart showing a processing procedure of the online character recognition device of FIG.

【図5】誤認識文字の例を示す図である。FIG. 5 is a diagram showing an example of erroneously recognized characters.

【図6】本発明の第2の実施形態を示すオンライン文字
認識装置の機能ブロック図である。
FIG. 6 is a functional block diagram of an online character recognition device showing a second embodiment of the present invention.

【図7】図6中の文字種パタン辞書部の内蔵する文字種
コードフラグ辞書の構造を示す図であ。
7 is a diagram showing the structure of a character type code flag dictionary built in the character type pattern dictionary unit in FIG.

【図8】図6中の文字種パタン辞書部の内蔵する文字種
パタン辞書の構造を示す図である。
8 is a diagram showing the structure of a character type pattern dictionary built in the character type pattern dictionary unit in FIG. 6;

【図9】図6のオンライン文字認識装置の処理手順を説
明するフローチャートである。
9 is a flowchart illustrating a processing procedure of the online character recognition device in FIG.

【図10】誤認識文字の例を示す図である。FIG. 10 is a diagram showing an example of erroneously recognized characters.

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

1,11 入力部 2,12 切出し部 3,13 前処理部 4,14 認識部 5 ストローク設定部 6 ストロークコード判定部 7 ストロークパタン辞書部 8,18 出力部 15 文字種設定部 16 文字種コード判定部 17 文字種パタン辞書部 1, 11 Input unit 2, 12 Cutout unit 3, 13 Pre-processing unit 4, 14 Recognition unit 5 Stroke setting unit 6 Stroke code determination unit 7 Stroke pattern dictionary unit 8, 18 Output unit 15 Character type setting unit 16 Character type code determination unit 17 Character type pattern dictionary

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 順次入力される筆記文字を座標変換して
筆記データ列を抽出する入力部と、 前記筆記データ列を前記筆記文字のストロークに分類
し、該ストロークの位置関係から該筆記データ列を1文
字に相当する文字ブロックに分割する切出し部と、 前記各文字ブロックの特徴抽出と該特徴に対するマッチ
ングを行い、該各文字ブロック単位で文字認識する認識
部と、 前記文字認識結果及び修正された文字認識結果を表示す
る出力部と、 前記認識部における文字認識結果が誤っていた場合に入
力された前記筆記文字の正しいストローク数を設定する
ストローク数設定部と、 前記文字認識の誤りで生じる誤認識結果文字の組合せと
該組合せで合成される修正用文字と該修正用文字のスト
ローク数とを対応させて記憶した辞書を内蔵し、前記設
定されたストローク数と与えられた誤認識結果文字の組
合せとに対応する修正用文字を該辞書から抽出し、これ
を修正文字認識結果として出力するストロークパタン辞
書部と、 前記設定されたストローク数に基づき前記誤認識結果文
字の組合せを検出して前記ストロークパタン辞書部に与
え、該ストロークパタン辞書部から前記修正文字認識結
果を受取って前記出力部に与えるストロークコード判定
部とを、 備えたことを特徴とするオンライン文字認識装置。
1. An input unit for converting a sequentially input handwritten character into coordinates to extract a handwritten data string, classifying the handwritten data string into strokes of the handwritten character, and writing the handwritten data string from a positional relationship of the strokes. Is divided into character blocks corresponding to one character, a recognition unit that performs feature extraction of each of the character blocks and matching of the features, and recognizes characters in each of the character blocks; An output unit that displays the character recognition result, a stroke number setting unit that sets the correct stroke number of the written character that is input when the character recognition result in the recognition unit is incorrect, and the character recognition error occurs. A built-in dictionary in which a combination of misrecognition-result characters, a correction character synthesized by the combination, and a stroke number of the correction character are stored in association with each other, A stroke pattern dictionary unit that extracts a correction character corresponding to a predetermined number of strokes and a given combination of misrecognition result characters from the dictionary, and outputs this as a corrected character recognition result, and the set stroke number. A stroke code determination unit which detects a combination of the erroneously recognized result characters based on the above, gives the stroke pattern dictionary unit, receives the corrected character recognition result from the stroke pattern dictionary unit, and gives it to the output unit. An online character recognition device.
【請求項2】 筆記文字の文字種を示す第1のフラグを
予め設定する文字種設定部と、 順次入力される筆記文字を座標変換して筆記データ列を
抽出する入力部と、 前記筆記データ列を前記筆記文字のストロークに分類
し、該ストロークの位置関係から該筆記データ列を1文
字に相当する文字ブロックに分割する切出し部と、 前記各文字ブロックの特徴抽出と該特徴に対するマッチ
ングを行い、該各文字ブロック単位で文字認識する認識
部と、 内蔵する辞書を検索し、前記文字認識結果の文字種を示
す第2のフラグを設定すると共に該文字認識結果のうち
の誤った文字認識結果を前記第1のフラグの示す文字種
の文字認識結果に修正する文字種パタン辞書部と、 前記第2のフラグと前記第1のフラグとを比較して前記
認識部の出力する文字認識結果が正しいか誤っているか
を判定し、正しいと判定したときはこの文字認識結果を
出力し、誤っていると判定したときには該誤った文字認
識結果を前記文字種パタン辞書に渡し、該文字種パタン
辞書から修正された文字認識結果を受取って出力する文
字種コード判定部と、 前記文字種コード判定部から出力された文字認識結果ま
たは修正された文字認識結果を表示する出力部とを、 備えたことを特徴とするオンライン文字認識装置。
2. A character type setting unit for presetting a first flag indicating a character type of a written character, an input unit for coordinate-converting sequentially input written characters to extract a written data string, and the written data string. A cutout unit that classifies the strokes of the written characters and divides the written data string into character blocks corresponding to one character based on the positional relationship of the strokes, performs feature extraction of each of the character blocks, and performs matching to the features, A character recognition unit for each character block and a built-in dictionary are searched, a second flag indicating the character type of the character recognition result is set, and an erroneous character recognition result out of the character recognition result is detected as the first character. The character type pattern dictionary unit that corrects the character recognition result of the character type indicated by the flag 1 and the character recognition output by the recognition unit by comparing the second flag and the first flag. It is determined whether the result is correct or incorrect, and when it is determined to be correct, this character recognition result is output, and when it is determined to be incorrect, the incorrect character recognition result is passed to the character type pattern dictionary, and the character type pattern dictionary is output. A character type code determination unit that receives and outputs a corrected character recognition result from the character type code determination unit; and an output unit that displays the character recognition result output from the character type code determination unit or the corrected character recognition result. Online character recognition device.
JP8031010A 1996-02-19 1996-02-19 On-line character recognizing device Withdrawn JPH09223186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8031010A JPH09223186A (en) 1996-02-19 1996-02-19 On-line character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8031010A JPH09223186A (en) 1996-02-19 1996-02-19 On-line character recognizing device

Publications (1)

Publication Number Publication Date
JPH09223186A true JPH09223186A (en) 1997-08-26

Family

ID=12319597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8031010A Withdrawn JPH09223186A (en) 1996-02-19 1996-02-19 On-line character recognizing device

Country Status (1)

Country Link
JP (1) JPH09223186A (en)

Similar Documents

Publication Publication Date Title
EP1564675B1 (en) Apparatus and method for searching for digital ink query
JP3155616B2 (en) Character recognition method and device
JPH1196301A (en) Character recognizing device
JPH09223186A (en) On-line character recognizing device
JP3274014B2 (en) Character recognition device and character recognition method
JPH0728935A (en) Document image processor
JPH07302306A (en) Character inputting device
JPH06348911A (en) English character recognition device
JPH08161426A (en) Handwritten character stroke segmenting device
JP2687902B2 (en) Document image recognition device
JPH0830717A (en) Character recognition method and device therefor
JPH0714000A (en) Table recognizing device
JP2851865B2 (en) Character recognition device
JPH053631B2 (en)
JPH09190497A (en) Character recognizing device
JP3138665B2 (en) Handwritten character recognition method and recording medium
JPH10247221A (en) On-line character recognizing device
JP2972443B2 (en) Character recognition device
JP3245241B2 (en) Character recognition apparatus and method
JPH06195519A (en) Device and method for character recognition
JPH01277989A (en) Character string pattern reader
JPH08202830A (en) Character recognition system
JP2963474B2 (en) Similar character identification method
JP2824704B2 (en) Character recognition device
JPH0981665A (en) Character input device and method therefor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030506