JP3167799B2 - Online handwritten character recognition device - Google Patents

Online handwritten character recognition device

Info

Publication number
JP3167799B2
JP3167799B2 JP20236992A JP20236992A JP3167799B2 JP 3167799 B2 JP3167799 B2 JP 3167799B2 JP 20236992 A JP20236992 A JP 20236992A JP 20236992 A JP20236992 A JP 20236992A JP 3167799 B2 JP3167799 B2 JP 3167799B2
Authority
JP
Japan
Prior art keywords
character
character string
input
coordinate
handwriting
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.)
Expired - Fee Related
Application number
JP20236992A
Other languages
Japanese (ja)
Other versions
JPH0652364A (en
Inventor
達也 羽山
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP20236992A priority Critical patent/JP3167799B2/en
Publication of JPH0652364A publication Critical patent/JPH0652364A/en
Application granted granted Critical
Publication of JP3167799B2 publication Critical patent/JP3167799B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 handwritten character recognition apparatus for recognizing characters input by handwriting and supporting work such as document creation.

【0002】[0002]

【従来の技術】近年、タブレット等の座標入力装置を介
して手書き入力された文字を認識し、認識結果を文書作
成等に供するオンライン手書き文字認識装置が注目され
ている。このオンライン手書き文字認識装置では、既に
入力済みの文に後から新たな文字列を挿入する場合に以
下の手続きが必要である。
2. Description of the Related Art In recent years, an online handwritten character recognition device that recognizes a character input by handwriting via a coordinate input device such as a tablet and provides the recognition result to a document or the like has attracted attention. In this online handwritten character recognition device, the following procedure is required when a new character string is inserted later into an already input sentence.

【0003】(1)ボタン操作等により装置の機能を挿
入モードに設定する。 (2)文字列の挿入位置をボタン操作等により指定す
る。 (3)挿入する文字列を座標入力装置上で手書き入力す
る。
(1) The function of the apparatus is set to the insertion mode by button operation or the like. (2) The insertion position of the character string is specified by button operation or the like. (3) The character string to be inserted is handwritten on the coordinate input device.

【0004】このように、文字列の挿入を行うための手
続きにおいては、本来の筆記作業とは直接関係の無い
(1)と(2)の各ボタン操作を必要とし、この余計な
操作が筆記者にとっては大きな負担となって筆記者の思
考の妨げとなると言う問題がある。
As described above, in the procedure for inserting a character string, the button operations (1) and (2), which are not directly related to the original writing operation, are required. Is a burden on the writer and hinders the scribe's thinking.

【0005】[0005]

【発明が解決しようとする課題】本発明はこのような課
題を解決するためのもので、文字列の挿入操作において
挿入モードへの切替および挿入位置指定のためのボタン
操作等を排除して、筆記者の思考を妨げること無しに文
字あるいは文字列の挿入を行うことのできるオンライン
手書き文字認識装置の提供を目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and eliminates a button operation for switching to an insertion mode and designating an insertion position in a character string insertion operation. It is an object of the present invention to provide an online handwritten character recognition device capable of inserting a character or a character string without disturbing a writer's thinking.

【0006】[0006]

【課題を解決するための手段】本発明の手書き文字認識
装置は上記した目的を達成するために、表示装置の画面
上にペン状指示装置により指示された座標を検出するた
めの座標入力装置を重ねて構成され、前記座標入力装置
に対して手書き入力された文字を認識して手書き位置に
対応する前記画面上の位置に認識結果である文字を表示
するオンライン手書き文字認識装置において、認識結果
として得た文字列を複数の文節に区切る文節区切り手段
と、この文節区切り手段によって区切られた文節間の位
置を記憶する記憶手段と、手書き入力された文字または
文字列と認識結果として既に表示されている文字列との
位置関係から、前記手書き入力された文字または文字列
が前記認識結果として既に表示されている文字列に対す
る挿入文字または挿入文字列であるか否かを判定する手
段と、前記手書き入力された文字または文字列が前記挿
入文字または挿入文字列であることが判定された場合、
この挿入文字または挿入文字列において定められた特定
の位置と前記記憶手段に記憶された文節間の位置とを比
較して前記特定位置と最も近い文節間の位置を検出し、
この位置を挟んで区切られた文節間に前記挿入文字また
は挿入文字列を挿入する手段とを具備している。
In order to achieve the above object, a handwritten character recognition apparatus according to the present invention includes a coordinate input device for detecting coordinates indicated by a pen-shaped pointing device on a screen of a display device. In an online handwritten character recognition device configured to overlap and recognize a character input by handwriting on the coordinate input device and displaying a character as a recognition result at a position on the screen corresponding to a handwritten position, Phrase separating means for dividing the obtained character string into a plurality of phrases; storage means for storing the positions between the phrases separated by the phrase separating means; and a character or character string input by handwriting and already displayed as a recognition result. From the positional relationship with the character string, the character or the character string input by handwriting is the insertion character or the character inserted into the character string already displayed as the recognition result. If the unit determines whether the input string, that the handwriting input character or character string is the insertion character or insertion string is determined,
Comparing a specific position defined in the inserted character or the inserted character string with a position between phrases stored in the storage means to detect a position between the specific position and the closest phrase,
Means for inserting the insertion character or the insertion character string between the segments separated by this position.

【0007】[0007]

【作用】本発明では、文節区切り手段にて、認識結果と
して得た文字列を複数の文節に区切り、区切った文節間
の位置を記憶手段にて記憶する。そして、手書き入力さ
れた文字または文字列と認識結果として既に表示されて
いる文字列との位置関係から、手書き入力された文字ま
たは文字列が認識結果として既に表示されている文字列
に対する挿入文字または挿入文字列であるか否かを判定
する。この結果、挿入文字または挿入文字列であること
が判断された場合は、この挿入文字または挿入文字列に
おいて定められた例えば先頭文字の中心X座標等の特定
位置と記憶手段に記憶された文節間の位置とを比較し、
挿入文字または挿入文字列の特定位置と最も近い文節間
の位置を検出し、この位置を挟んで区切られた文節間に
挿入文字または挿入文字列を挿入する。
According to the present invention, the character string obtained as a recognition result is divided into a plurality of phrases by the phrase separating means, and the positions between the separated phrases are stored in the storage means. Then, based on the positional relationship between the character or the character string input by handwriting and the character string already displayed as the recognition result, the character or the character string input by handwriting is inserted into the character string already displayed as the recognition result or It is determined whether or not it is an insertion character string. As a result, when it is determined that the character is an insertion character or an insertion character string, the position between the specific position defined in the insertion character or the insertion character string such as the center X coordinate of the first character and the phrase stored in the storage means is determined. With the position of
A position between a specific position of the insertion character or the insertion character string and the nearest clause is detected, and the insertion character or the insertion character string is inserted between the phrases separated by this position.

【0008】したがって、本発明により、文字列の挿入
操作において、これまで必要とされていた挿入モードへ
の切替および挿入位置指定のためのボタン操作等を排除
でき、筆記者の思考を妨げること無しに文字あるいは文
字列の挿入を行うことができるようになる。
Therefore, according to the present invention, in the character string insertion operation, the switching to the insertion mode and the button operation for specifying the insertion position, which have been required so far, can be eliminated, and the writer's thinking is not hindered. To insert characters or character strings into

【0009】[0009]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明に係る一実施例のオンライン手書き
文字認識装置の構成を説明するためのブロック図であ
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram for explaining a configuration of an online handwritten character recognition device according to one embodiment of the present invention.

【0010】同図において、1は表示一体型座標入力装
置である。この表示一体型座標入力装置1は、例えば液
晶表示装置等の表示装置1aの画面上に透明タブレット
等の座標入力装置1bを重ねて構成されている。この表
示一体型座標入力装置1への入力は、ペン状指示装置で
あるスタイラスペン1cのペン先を座標入力装置1bの
入力面に当接させることによって行われる。
In FIG. 1, reference numeral 1 denotes a display-integrated coordinate input device. The display-integrated coordinate input device 1 is configured by overlaying a coordinate input device 1b such as a transparent tablet on a screen of a display device 1a such as a liquid crystal display device. The input to the display-integrated coordinate input device 1 is performed by bringing the tip of a stylus pen 1c, which is a pen-shaped pointing device, into contact with the input surface of the coordinate input device 1b.

【0011】2は、座標入力装置1bより送られてきた
座標値の系列を手書き文字のイメージデータとして入力
する文字入力部である。この文字入力部2は入力した手
書き文字のイメージデータを認識対象として後段のデー
タ処理系に送ると共に表示一体型座標入力装置1の表示
装置1aに送って手書き文字の筆跡をそのまま表示装置
1aの画面上に表示する。
Reference numeral 2 denotes a character input unit for inputting a series of coordinate values sent from the coordinate input device 1b as image data of handwritten characters. The character input unit 2 sends the input handwritten character image data to the subsequent data processing system as a recognition target, and also sends the input handwritten character image data to the display device 1a of the display-integrated coordinate input device 1 so that the handwriting of the handwritten character is directly displayed on the screen of the display device 1a. Display above.

【0012】3は、手書き入力された文字または文字列
と既に表示されている文字列との位置関係に基づき、通
常の文字入力モードと文字挿入モードとの間でモード判
定を行うモード判定部である。すなわち、このモード判
定部3は文字入力部2を通して入力した文字または文字
列に対して基本文字サイズを基準に外枠を設定し、当該
外枠のX座標の範囲内に同一行の他の文字または文字列
が存在するかどうかを判断する。そして存在しない場合
は通常の文字入力モードを、存在する場合は文字挿入モ
ードをそれぞれ判定する。
Reference numeral 3 denotes a mode determination unit for determining a mode between a normal character input mode and a character insertion mode based on a positional relationship between a character or a character string input by handwriting and a character string already displayed. is there. That is, the mode determination unit 3 sets an outer frame for the character or character string input through the character input unit 2 based on the basic character size, and sets another character within the range of the X coordinate of the outer frame. Or, determine whether the character string exists. If it does not exist, the normal character input mode is determined, and if it exists, the character insertion mode is determined.

【0013】4は、モード判定部3を通して入力した文
字列のイメージデータから1文字ずつイメージデータの
切り出しを行う文字切り出し部である。
Reference numeral 4 denotes a character cutout unit that cuts out image data one character at a time from the character string image data input through the mode determination unit 3.

【0014】5は、文字切り出し部4より切り出された
1文字分のイメージデータと基準文字パターン記憶部6
に予め記憶された各基準文字パターンとを照合して文字
認識を行う文字認識部である。
Reference numeral 5 denotes image data of one character cut out by the character cutout unit 4 and a reference character pattern storage unit 6.
Is a character recognition unit that performs character recognition by collating with reference character patterns stored in advance.

【0015】7は、文字認識部5で得た文字コードデー
タの系列を複数の文節に区切り、文節間のそれぞれのX
座標を求める文節区切り部である。文節間のX座標はモ
ード判定部3で設定した文字列の外枠のX座標を基準に
して求められる。
Reference numeral 7 designates a sequence of character code data obtained by the character recognizing unit 5 divided into a plurality of clauses, and each X-interval between the clauses.
This is a phrase separator for obtaining coordinates. The X coordinate between phrases is obtained based on the X coordinate of the outer frame of the character string set by the mode determination unit 3.

【0016】8は、文節区切り部7で求めた文節間のX
座標を行ごとに記憶する文節間X座標記憶部である。
8 is the X between the phrases obtained by the phrase separating unit 7.
This is a phrase X-coordinate storage unit that stores coordinates for each line.

【0017】9は、文字挿入モード時、挿入文字または
挿入文字列の先頭文字の中心X座標と文節間X座標記憶
部8に記憶された文節間のX座標とを比較して、最も近
似する文節間のX座標によって区切られた文節間に挿入
文字または挿入文字列を挿入する文字列挿入処理部であ
る。
Reference numeral 9 denotes the closest approximation by comparing the center X coordinate of the inserted character or the first character of the inserted character string with the X coordinate between phrases stored in the inter-phrase X coordinate storage unit 8 in the character insertion mode. A character string insertion processing unit that inserts an insertion character or an insertion character string between phrases separated by the X coordinate between phrases.

【0018】そして10は認識結果である文字コードデ
ータに基づき表示装置1aの画面に文字を表示する制御
を行う表示制御部である。
Reference numeral 10 denotes a display control unit for controlling the display of characters on the screen of the display device 1a based on the character code data as the recognition result.

【0019】次に本実施例のオンライン手書き文字認識
装置の動作を説明する。
Next, the operation of the online handwritten character recognition device of this embodiment will be described.

【0020】図2は文字入力前の表示装置1aの初期画
面を示している。このように初期画面Wには始めから複
数の線L1、L2、L3が文字を筆記する行のアンダー
ラインとして表示されている。
FIG. 2 shows an initial screen of the display device 1a before character input. As described above, on the initial screen W, a plurality of lines L1, L2, and L3 are displayed as underlines of lines on which characters are written from the beginning.

【0021】まずユーザはこの初期画面Wに対して、例
えば図3に示すように、スタイラスペン1cを用いて文
字列を手書きする。このときスタイラスペン1cの指示
する各座標が座標入力装置1bによって検出され、これ
により得た座標値の系列が文字入力部2を通じて表示一
体型座標入力装置1の表示装置1aに送られる。これに
より表示装置1aの画面に手書きした文字列がそのまま
筆跡として表示される。 また同時に、座標値の系列は
文字入力部2を通してモード判定部3に入力される。モ
ード判定部3は入手した座標値の系列を基に次のような
処理を行う。図4はこのモード判定部3の処理手順を示
すフローチャートである。
First, the user writes a character string on the initial screen W using the stylus pen 1c as shown in FIG. 3, for example. At this time, each coordinate pointed by the stylus pen 1c is detected by the coordinate input device 1b, and a series of coordinate values thus obtained is sent to the display device 1a of the display integrated coordinate input device 1 through the character input unit 2. Thereby, the character string handwritten on the screen of the display device 1a is displayed as handwriting as it is. At the same time, a series of coordinate values is input to the mode determination unit 3 through the character input unit 2. The mode determination unit 3 performs the following processing based on the obtained series of coordinate values. FIG. 4 is a flowchart showing a processing procedure of the mode determination unit 3.

【0022】モード判定部3は筆記行カウンタを有して
おり、入力した座標値の系列から文字列が筆記された行
を検出してこの行の番号を現在行番号として筆記行カウ
ンタにセットする(ステップ401)。なお、この時点
でモードフラグは通常の文字入力モードを示す“0”に
セットされている。次にモード判定部3は入力した座標
値の系列から入力文字列の外枠を設定する(ステップ4
02)。ここで文字列の外枠は予め定義された基準文字
サイズを単位として設定される。続いてモード判定部3
は設定した外枠のX座標の最小値Xmax と最大値Xmin
をそれぞれ求める(ステップ403)。そして現在、筆
記行カウンタにセットされている行番号が既に入力を終
えた文字列に対して記憶済みの行番号と一致するかどう
かを調べる(ステップ404)。この結果、一致しない
場合は今回の入力文字列の外枠のX座標の最小値Xmax
と最大値Xmin 並びに現在筆記行カウンタにセットされ
ている行番号を記憶する(ステップ406)。もし一致
する場合は今回の入力文字列の外枠のX座標と、同じ行
に既に存在している文字列の外枠のX座標との間に重な
りがあるかどうかを調べる(ステップ405)。この結
果、重なりが無い場合、今回の入力文字列の外枠のX座
標の最小値Xmax と最大値Xmin 並びに現在筆記行カウ
ンタにセットされている行番号を記憶する(ステップ4
06)。またもし重なりがある場合はモードフラグを
“1”にセットする(ステップ407)。 なお、今回
の入力文字列は初期画面のある行に対して最初に入力さ
れた文字列であるため、ここではステップ406が実行
されたものとして以降の動作を説明する。
The mode determination section 3 has a writing line counter, detects a line on which a character string is written from a sequence of input coordinate values, and sets the number of this line as a current line number in the writing line counter. (Step 401). At this point, the mode flag is set to "0" indicating the normal character input mode. Next, the mode determination unit 3 sets the outer frame of the input character string from the input coordinate value series (step 4).
02). Here, the outer frame of the character string is set in units of a predefined reference character size. Subsequently, the mode determination unit 3
Is the minimum value Xmax and maximum value Xmin of the X coordinate of the set outer frame
Are obtained (step 403). Then, it is checked whether or not the line number currently set in the writing line counter matches the stored line number for the character string that has already been input (step 404). As a result, if they do not match, the minimum value Xmax of the X coordinate of the outer frame of the current input character string
And the maximum value Xmin and the line number currently set in the writing line counter are stored (step 406). If they match, it is checked whether or not there is an overlap between the X coordinate of the outer frame of the current input character string and the X coordinate of the outer frame of the character string already existing on the same line (step 405). As a result, if there is no overlap, the minimum value Xmax and the maximum value Xmin of the X coordinate of the outer frame of the current input character string and the line number currently set in the writing line counter are stored (step 4).
06). If there is an overlap, the mode flag is set to "1" (step 407). Since the input character string this time is the character string first input for a certain line on the initial screen, the subsequent operation will be described here assuming that step 406 has been executed.

【0023】次に文字切り出し部4はモード判定部3を
通して入力した座標値の系列から、1文字ずつイメージ
データを切り出して文字認識部5に送る。文字認識部5
は入力した1文字分のイメージデータと基準文字パター
ン記憶部6に記憶された基準文字パターンとを照合して
文字認識を行い、認識結果である文字コードデータの系
列を文節区切り部7に送る。
Next, the character cutout unit 4 cuts out image data one character at a time from the series of coordinate values input through the mode determination unit 3 and sends the image data to the character recognition unit 5. Character recognition unit 5
Performs character recognition by comparing the input image data of one character with the reference character pattern stored in the reference character pattern storage unit 6, and sends a series of character code data as a recognition result to the phrase separation unit 7.

【0024】なお、1行に手書きされた文字列を分離し
認識を行う手法としては、例えば“候補文字ラティス法
による枠無し筆記文字列のオンライン文字認識(電子通
信学会論文誌史 Vol.J68-D No.4,p765/772,1985)”等を
用いる。
As a method of separating and recognizing a character string handwritten on one line, for example, an on-line character recognition of a frameless handwritten character string by the candidate character lattice method (Transactions of the Institute of Electronics, Communication and Communication Engineers, Vol. J68-) D No.4, p765 / 772, 1985) ”.

【0025】文字コードデータの系列を入手した文節区
切り部7は、例えば単語情報を記憶した単語辞書(図示
せず)を参照するなどして、入手した文字列を複数の文
節に区切り、かつモード判定部3にて設定した外枠のX
座標から最小のX座標と文節間の各区切り位置のX座標
を求め、これらを文節間X座標記憶部8に記憶する。例
えば、図3における“現在入力をしています。”と言う
文字列を例にとると、図5に示すように、この文字列C
は“現在”“入力を”“しています。”と言う3つの文
節に区切られ、P1、P2、P3のX座標が文節間X座
標記憶部8に記憶される。なお、この文節間X座標記憶
部8において各X座標は行単位で検索できるよう行ごと
に別けて記憶される。
The phrase separating unit 7 that has obtained the character code data series divides the obtained character string into a plurality of phrases, for example, by referring to a word dictionary (not shown) that stores the word information. X of outer frame set by judgment unit 3
From the coordinates, the minimum X coordinate and the X coordinate of each break position between phrases are obtained, and these are stored in the inter-phrase X coordinate storage unit 8. For example, taking the character string "Currently inputting" in FIG. 3 as an example, as shown in FIG.
Is divided into three phrases "current", "input", and "input". The X coordinates of P1, P2, and P3 are stored in the inter-phrase X coordinate storage unit 8. In the inter-segment X-coordinate storage unit 8, each X-coordinate is stored separately for each row so that it can be searched for each row.

【0026】この後、文字認識部5で得た文字コードデ
ータの系列は文字列挿入処理部9を介して表示制御部1
0に送られ、これにより表示装置1aの画面上に文字コ
ードデータに対応した文字パターンが筆跡と入れ代わっ
て表示される。なお、このとき文字列挿入処理部9はモ
ードフラグが“0”つまり通常の文字入力モードが現在
設定されているため何も実行しない。
Thereafter, the series of character code data obtained by the character recognition unit 5 is sent to the display control unit 1 via the character string insertion processing unit 9.
0, whereby the character pattern corresponding to the character code data is displayed on the screen of the display device 1a in place of the handwriting. At this time, the character string insertion processing unit 9 does nothing because the mode flag is “0”, that is, the normal character input mode is currently set.

【0027】ここまでが通常の文字入力モード時の動作
である。次に文字列を挿入する場合の動作を説明する。
The above is the operation in the normal character input mode. Next, the operation for inserting a character string will be described.

【0028】図6は挿入文字列を手書きした様子を示し
ている。いまユーザは“現在入力をしています。”と言
う文字列Cの“現在”と“入力を”の各文節の間に“手
書き”なる文字列C1を挿入しようとしてる。このとき
ユーザは、挿入文字列C1の先頭文字の位置が挿入先の
文節間の区切り位置(本例ではP1)とX座標において
重なるよう挿入文字列C1の手書き入力を行う。
FIG. 6 shows a state in which the inserted character string is handwritten. Now, the user is trying to insert a character string C1 of "handwriting" between each of the clauses of "current" and "input" of the character string C saying "I am currently inputting." At this time, the user performs the handwriting input of the insertion character string C1 such that the position of the first character of the insertion character string C1 overlaps the break position (P1 in this example) between the clauses at the insertion destination in the X coordinate.

【0029】こうして手書き入力された挿入文字列をな
す座標値の系列は文字入力部2を通じて表示一体型座標
入力装置1の表示装置1aに送られる。これにより表示
装置1aの画面に手書きした挿入文字列がそのまま筆跡
として表示される。
The series of coordinate values forming the inserted character string thus input by hand is sent to the display device 1a of the display-integrated coordinate input device 1 through the character input unit 2. Thereby, the inserted character string handwritten on the screen of the display device 1a is displayed as handwriting as it is.

【0030】また同時に、このときの座標値の系列はモ
ード判定部3に入力される。モード判定部3は、図4に
示したように、入力した座標値の系列から文字列が筆記
された行を検出してこの行の番号を現在行番号として筆
記行カウンタにセットする(ステップ401)。次にモ
ード判定部3はこの挿入文字列の外枠を設定し(ステッ
プ402)、設定した外枠のX座標の最小値Xmax と最
大値Xmin をそれぞれ求める(ステップ403)。そし
て現在、筆記行カウンタにセットされている行番号が既
に入力を終えた文字列に対して記憶済みの行番号と一致
するかどうかを調べる(ステップ404)。この場合、
一致することが判断されるため、続いてモード判定部3
は挿入文字列の外枠のX座標と同じ行に既に存在してい
る文字列の外枠のX座標との間に重なりがあるかどうか
を調べる(ステップ405)。この結果、重なりがある
ことが判断され、モードフラグは“1”にセットされる
(ステップ407)。
At the same time, the series of coordinate values at this time is input to the mode determination unit 3. As shown in FIG. 4, the mode determination unit 3 detects a line on which a character string is written from a sequence of input coordinate values, and sets the number of this line as a current line number in a writing line counter (step 401). ). Next, the mode determination unit 3 sets the outer frame of the inserted character string (step 402), and obtains the minimum value Xmax and the maximum value Xmin of the X coordinate of the set outer frame (step 403). Then, it is checked whether or not the line number currently set in the writing line counter matches the stored line number for the character string that has already been input (step 404). in this case,
Since it is determined that they match, the mode determination unit 3
Checks whether there is an overlap between the X coordinate of the outer frame of the inserted character string and the X coordinate of the outer frame of the character string already existing on the same line (step 405). As a result, it is determined that there is an overlap, and the mode flag is set to "1" (step 407).

【0031】この後、文字切り出し部4はモード判定部
3を通して入力した座標値の系列から、1文字ずつイメ
ージデータを切り出してこれらを文字認識部5に送る。
文字認識部5は入力した文字イメージデータに対して文
字認識を行い、認識結果である文字コードデータの系列
を文字区切り部7を介して文字列挿入処理部9に送る。
なお、このとき文字区切り部7はモードフラグが“1”
であることを知ることで何も実行しない。
Thereafter, the character cutout unit 4 cuts out image data one character at a time from the series of coordinate values input through the mode determination unit 3 and sends them to the character recognition unit 5.
The character recognition unit 5 performs character recognition on the input character image data, and sends a series of character code data as a recognition result to the character string insertion processing unit 9 via the character separation unit 7.
At this time, the character delimiter 7 sets the mode flag to “1”.
Do nothing by knowing that

【0032】図7は文字列挿入処理部9の処理の手順を
示すフローチャートである。まず文字列挿入処理部9は
モードフラグの状態を調べる(ステップ701)。モー
ドフラグが“1”にセットされていることを判断する
と、図6に示した挿入文字列C1の先頭文字C2の中心
X座標(Xins)を求める(ステップ702)。続いて現
在の筆記行カウンタが示す行番号を調べ、既に入力済み
の文字列の中で行番号が等しい文字列を挿入対象の文字
列として選択する(ステップ703)。次に文字列挿入
処理部9は、選択した既入力文字列中の文節区切り位置
P0、P1、P2の各X座標を文節間X座標記憶部8よ
りそれぞれ読み出す(ステップ704)。この後、読み
出した各文節区切り位置P0、P1、P2のX座標と、
挿入文字列の先頭文字の中心X座標とをそれぞれ比較
し、当該中心X座標との距離が最小の文節区切り位置
(本例ではP1)のX座標を判断する(ステップ70
5)。そして、図8に示すように、該当する文節区切り
位置で区切られた文節間に挿入文字列“手書き”C1を
挿入する(ステップ706)。この後、モードフラグを
“0”にリセットして通常の文字入力モードに切り替え
る(ステップ707)。
FIG. 7 is a flowchart showing the procedure of the process performed by the character string insertion processing section 9. First, the character string insertion processing unit 9 checks the state of the mode flag (step 701). When it is determined that the mode flag is set to "1", the center X coordinate (Xins) of the first character C2 of the insertion character string C1 shown in FIG. 6 is obtained (step 702). Next, the line number indicated by the current writing line counter is checked, and a character string having the same line number among the already input character strings is selected as a character string to be inserted (step 703). Next, the character string insertion processing unit 9 reads out the respective X coordinates of the phrase separation positions P0, P1, and P2 in the selected input character string from the inter-phrase X coordinate storage unit 8 (step 704). Thereafter, the X-coordinate of each of the read segment break positions P0, P1, and P2,
The center X coordinate of the first character of the inserted character string is compared with the center X coordinate, and the X coordinate of the segment break position (P1 in this example) having the minimum distance from the center X coordinate is determined (step 70).
5). Then, as shown in FIG. 8, the inserted character string "handwriting" C1 is inserted between the segments separated at the corresponding segment break positions (step 706). Thereafter, the mode flag is reset to "0" to switch to the normal character input mode (step 707).

【0033】なお、ここでは文字サイズがすべて共通の
場合を説明したが、図9に示すように、1行に文字サイ
ズが異なる文字が存在しても挿入処理を行うことは可能
である。同図は“現在”の文節のみが文字基本サイズに
対して横倍角とされた例を示している。この場合、モー
ド判定部3と文字列挿入処理部9は該当する文字に対し
て付加された横倍角指定の属性情報を基に“現在”の2
つの文字がX座標軸方向に2倍の長さを持つことを判断
した上でそれぞれの処理を行う。その他、一部の文字が
半角やその他のサイズとされている場合も同様である。
Although the case where the character sizes are all the same has been described here, insertion processing can be performed even if characters having different character sizes exist in one line as shown in FIG. This figure shows an example in which only the “current” phrase is set to a double width relative to the basic character size. In this case, the mode determination unit 3 and the character string insertion processing unit 9 determine whether the “current”
After determining that one character has twice the length in the X coordinate axis direction, each process is performed. In addition, the same applies to the case where some characters are half-width or other size.

【0034】かくしてこの実施例のオンライン手書き文
字認識装置によれば、挿入文字または挿入文字列の先頭
文字が既入力文字列中の挿入先の文節間の区切り位置と
X座標において位置的に重なるよう挿入文字または挿入
文字列を手書き入力するだけで挿入処理を行うことがで
きる。したがって、これまで挿入モードへの切り換えや
挿入位置指定を行う場合に必要とされていたボタン操作
等の筆記作業とは直接関係の無い操作を排除でき、筆記
者の思考を妨げること無しに文字あるいは文字列の挿入
を行うことが可能になる。
Thus, according to the on-line handwritten character recognition apparatus of this embodiment, the insertion character or the first character of the insertion character string is positioned so as to be overlapped in the X coordinate with the delimiter between the inserted phrases in the input character string. The insertion process can be performed only by inputting the insertion character or the insertion character string by handwriting. Therefore, it is possible to eliminate operations that are not directly related to the writing operation such as button operation, which has been required in the case of switching to the insertion mode or specifying the insertion position, so that characters or characters can be written without disturbing the writer's thinking. Character strings can be inserted.

【0035】なお、本発明の他の実施例として、文字列
を挿入した後の文字列を再び文節区切り部7にて複数の
文節に区切って各文節間のX座標を求め、これらのX座
標で文節間X座標記憶部8の該当する行のX座標を更新
するよう構成してもよい。このようにすることで、一つ
の行の文字列に対して何回も文字列の挿入を行えるよう
になる。
As another embodiment of the present invention, the character string after inserting the character string is again divided into a plurality of phrases by the phrase separating section 7, and the X coordinates between the respective phrases are obtained. , The X-coordinate of the corresponding row in the inter-phrase X-coordinate storage unit 8 may be updated. In this way, a character string can be inserted many times into a character string in one line.

【0036】また本実施例では、挿入文字列の先頭文字
の中心X座標と文節間のX座標とを比較するようにした
が、例えば先頭文字の最小のX座標を比較の対象とする
等、文節間のX座標に対して挿入文字列のどの位置を比
較対象とするかはある程度自由に選択できる。
In the present embodiment, the center X coordinate of the first character of the inserted character string is compared with the X coordinate between segments. For example, the minimum X coordinate of the first character is set as a comparison target. Which position of the inserted character string is to be compared with the X coordinate between phrases can be freely selected to some extent.

【0037】さらに本実施例では、同じ行内で既入力文
字列の上方に挿入文字列を筆記した場合にこれが挿入文
字列であるか否かを判定するようにしたが、既入力文字
列の下方に挿入文字列が筆記された場合にこの判定を行
うよう構成してもよい。
Further, in this embodiment, when an inserted character string is written above an already-input character string in the same line, it is determined whether or not this is an inserted character string. This determination may be made when an insertion character string is written in the.

【0038】[0038]

【発明の効果】以上説明したように本発明のオンライン
手書き文字認識装置によれば、手書き入力された文字ま
たは文字列が、認識結果として既に表示されている文字
列に対する挿入文字または挿入文字列であるか否かを自
動的に判定することができる。また挿入文字または挿入
文字列であることが判定された場合、この挿入文字また
は挿入文字列において定められた例えば先頭文字の中心
X座標等の特定位置と記憶手段に記憶された文節間の位
置とを比較し、挿入文字または挿入文字列の特定位置と
最も近い文節間の位置を検出し、この位置を挟んで区切
られた文節間に挿入文字または挿入文字列を自動的に挿
入することができる。したがって、本発明により、文字
列の挿入操作においてこれまで必要とされていた挿入モ
ードへの切替および挿入位置指定のためのボタン操作等
を排除でき、筆記者の思考を妨げること無しに文字ある
いは文字列の挿入を行うことができるようになる。
As described above, according to the online handwritten character recognition apparatus of the present invention, a character or character string input by handwriting is replaced by an inserted character or inserted character string with respect to a character string already displayed as a recognition result. It can be automatically determined whether or not there is. If it is determined that the character is an insertion character or an insertion character string, the position between the specific position defined in the insertion character or the insertion character string, for example, the center X coordinate of the first character, and the phrase between the phrases stored in the storage means is determined. Can be compared to detect the position between the specific position of the inserted character or the inserted character string and the closest clause, and the inserted character or the inserted character string can be automatically inserted between the clauses separated by this position . Therefore, according to the present invention, it is possible to eliminate the switching to the insertion mode and the button operation for specifying the insertion position, which have been required in the insertion operation of the character string, so that the character or the character can be written without disturbing the writer's thinking. You can insert columns.

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

【図1】本発明に係る一実施例のオンライン手書き文字
認識装置の構成を説明するためのブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an online handwritten character recognition device according to an embodiment of the present invention.

【図2】文字入力前の表示装置の初期画面を示す図であ
る。
FIG. 2 is a diagram showing an initial screen of a display device before character input.

【図3】初期画面に対して文字列を手書き入力した例を
示す図である。
FIG. 3 is a diagram illustrating an example in which a character string is input by handwriting on an initial screen.

【図4】図1におけるモード判定部の処理手順を示すフ
ローチャートである。
FIG. 4 is a flowchart illustrating a processing procedure of a mode determination unit in FIG. 1;

【図5】文字列を複数の文節に区切った様子を示す図で
ある。
FIG. 5 is a diagram showing a state where a character string is divided into a plurality of phrases.

【図6】既存の文字列に対して挿入文字列を手書き入力
した様子を示す図である。
FIG. 6 is a diagram illustrating a state in which an insertion character string is input by handwriting with respect to an existing character string.

【図7】図1における文字列挿入処理部の処理の手順を
示すフローチャートである。
FIG. 7 is a flowchart illustrating a procedure of processing of a character string insertion processing unit in FIG. 1;

【図8】文字列の挿入処理を終えた様子を示す図であ
る。
FIG. 8 is a diagram showing a state in which a character string insertion process has been completed.

【図9】本実施例における他の動作例を説明するための
図である。
FIG. 9 is a diagram for explaining another operation example in the present embodiment.

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

1…表示一体型座標入力装置、1a…表示装置、1b…
座標入力装置、1c…スタイラスペン、2…文字入力
部、3…モード判定部、4…文字切り出し部、5…文字
認識部、6…基準文字パターン記憶部、7…文節区切り
部、8…文節間X座標記憶部、9…文字列挿入処理部、
10…表示制御部。
DESCRIPTION OF SYMBOLS 1 ... Display integrated type coordinate input device, 1a ... Display device, 1b ...
Coordinate input device, 1c stylus pen, 2 character input unit, 3 mode determination unit, 4 character extraction unit, 5 character recognition unit, 6 reference character pattern storage unit, 7 phrase separation unit, 8 phrase Inter-X coordinate storage unit, 9 ... character string insertion processing unit,
10. Display control unit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06K 9/62 G06F 3/03 G06F 17/22 - 17/24 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06K 9/62 G06F 3/03 G06F 17/22-17/24 JICST file (JOIS)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 表示装置の画面上にペン状指示装置によ
り指示された座標を検出するための座標入力装置を重ね
て構成され、前記座標入力装置に対して手書き入力され
た文字を認識して手書き位置に対応する前記画面上の位
置に認識結果である文字を表示するオンライン手書き文
字認識装置において、 認識結果として得た文字列を複数の文節に区切る文節区
切り手段と、 この文節区切り手段によって区切られた文節間の位置を
記憶する記憶手段と、 手書き入力された文字または文字列と認識結果として既
に表示されている文字列との位置関係から、前記手書き
入力された文字または文字列が前記認識結果として既に
表示されている文字列に対する挿入文字または挿入文字
列であるか否かを判定する手段と、 前記手書き入力された文字または文字列が前記挿入文字
または挿入文字列であることが判定された場合、この挿
入文字または挿入文字列において定められた特定の位置
と前記記憶手段に記憶された文節間の位置とを比較して
前記特定位置と最も近い文節間の位置を検出し、この位
置を挟んで区切られた文節間に前記挿入文字または挿入
文字列を挿入する手段とを具備することを特徴とするオ
ンライン手書き文字認識装置。
1. A coordinate input device for detecting coordinates designated by a pen-like pointing device is superimposed on a screen of a display device, and a character input by handwriting input to the coordinate input device is recognized. In an online handwritten character recognition device for displaying a character as a recognition result at a position on the screen corresponding to a handwriting position, a phrase separating means for partitioning a character string obtained as a recognition result into a plurality of phrases; Storage means for storing the position between the sentence segments, and the character or character string input by handwriting is recognized from the positional relationship between the character or character string input by handwriting and the character string already displayed as the recognition result. Means for determining whether the result is an inserted character or an inserted character string for a character string already displayed, and the handwritten input character or When it is determined that the character string is the insertion character or the insertion character string, a specific position determined in the insertion character or the insertion character string is compared with the position between the phrases stored in the storage means. Means for detecting a position between phrases that is closest to the specific position and inserting the inserted character or character string between phrases separated by sandwiching this position. .
JP20236992A 1992-07-29 1992-07-29 Online handwritten character recognition device Expired - Fee Related JP3167799B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20236992A JP3167799B2 (en) 1992-07-29 1992-07-29 Online handwritten character recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20236992A JP3167799B2 (en) 1992-07-29 1992-07-29 Online handwritten character recognition device

Publications (2)

Publication Number Publication Date
JPH0652364A JPH0652364A (en) 1994-02-25
JP3167799B2 true JP3167799B2 (en) 2001-05-21

Family

ID=16456366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20236992A Expired - Fee Related JP3167799B2 (en) 1992-07-29 1992-07-29 Online handwritten character recognition device

Country Status (1)

Country Link
JP (1) JP3167799B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6899786B2 (en) 2000-05-17 2005-05-31 Tokyo Electron Limited Processing device and method of maintaining the device, mechanism and method for assembling processing device part, and lock mechanism and method for locking the lock mechanism
US7277845B2 (en) 2001-11-22 2007-10-02 Kabushiki Kaisha Toshiba Communication support apparatus and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5289526B2 (en) * 2011-09-01 2013-09-11 ヤフー株式会社 Article insertion position presentation device, article insertion position presentation method, and article insertion position presentation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6899786B2 (en) 2000-05-17 2005-05-31 Tokyo Electron Limited Processing device and method of maintaining the device, mechanism and method for assembling processing device part, and lock mechanism and method for locking the lock mechanism
US7277845B2 (en) 2001-11-22 2007-10-02 Kabushiki Kaisha Toshiba Communication support apparatus and method
US8676562B2 (en) 2001-11-22 2014-03-18 Kabushiki Kaisha Toshiba Communication support apparatus and method

Also Published As

Publication number Publication date
JPH0652364A (en) 1994-02-25

Similar Documents

Publication Publication Date Title
US6687876B1 (en) Method and system for maintaining freeform ink annotations on changing views
US5455901A (en) Input device with deferred translation
AU2009227934A1 (en) Method and tool for recognizing a hand-drawn table
JPH06332610A (en) Handwritten information input processing system
US20140297276A1 (en) Editing apparatus, editing method, and computer program product
KR19990006650A (en) Online character input device and character input method
US7170503B2 (en) Layer editing method and apparatus in a pen computing system
JP3167799B2 (en) Online handwritten character recognition device
JP3187913B2 (en) Document processing device
JP3217084B2 (en) Handwritten character recognition device
JPH10307675A (en) Method and device for recognizing handwritten character
JP2001351065A (en) Method for recognizing character, computer readable recording medium recording character recognition program and character recognition device
JP3177045B2 (en) Online character recognition device
JPH1049624A (en) Method and device for handwritten character recognition
JP3780023B2 (en) Character recognition apparatus and method
JP3469816B2 (en) Gesture processing device and gesture processing method
JPH0442316A (en) Electronic computer
JP2804660B2 (en) Document processing device
JP2991909B2 (en) Document processing apparatus and document processing method
JPS62190565A (en) Device for making fair copy of hand-written pattern
JPH09185679A (en) Method and device for character recognition
JP3075808B2 (en) Document processing device
JPH06251198A (en) Character input device
JPH11143868A (en) Character recognition device, input control method and storage medium
JP2595399B2 (en) Document processing method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010227

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080309

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090309

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100309

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees