JP2012108893A - Hand-written entry method - Google Patents
Hand-written entry method Download PDFInfo
- Publication number
- JP2012108893A JP2012108893A JP2011232948A JP2011232948A JP2012108893A JP 2012108893 A JP2012108893 A JP 2012108893A JP 2011232948 A JP2011232948 A JP 2011232948A JP 2011232948 A JP2011232948 A JP 2011232948A JP 2012108893 A JP2012108893 A JP 2012108893A
- Authority
- JP
- Japan
- Prior art keywords
- hand
- drawn
- character
- kanji
- kana
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本件は、手描き文字入力の技術に関する。 This case relates to hand-drawn character input technology.
紙にペンで文字を手描きする際に、ペンの位置座標を検出器で検出してコンピュータに入力し、このコンピュータが入力された位置座標に基づき、手描きされた文字を表示装置に表示するシステムが知られている(特許文献1)。
また、電子ホワイトボードの手描き入力を行う場合に、入力済の文字に基づいて次の文字候補を示し、この候補から入力する文字を選択することで、手描き入力をより簡易にするシステムも提案されている(特許文献2)。
When a hand-drawn character is hand-drawn on paper with a pen, there is a system in which the position coordinate of the pen is detected by a detector and input to a computer, and the computer displays the hand-drawn character on a display device based on the input position coordinate. Known (Patent Document 1).
In addition, when performing hand-drawn input on an electronic whiteboard, a system has also been proposed that simplifies hand-drawn input by indicating the next character candidate based on the entered character and selecting the character to be entered from this candidate. (Patent Document 2).
上述のように手描き入力を行うシステムでは、入力された文字が図形(ベクトルデータ)やイメージとして扱われるので、テキストデータのようには自由に編集出来ないという問題点があった。例えば、手描き文字の字詰めを変更して並べ変えることや、一部の文字を削除し、以降の文字を繰り上げるといった編集を行うことはできない。
このため、入力された手描き文字を文字認識処理によりテキストデータに変換し、編集を可能にするシステムも知られている。
しかし、文字認識を行うシステムでは、手描き入力した際に複数の抽出される変換候補を逐次選択する必要があり、紙にメモをとるようにスムーズに入力を行うことはできなかった。
また、文字認識後は、各文字の文字コードに対応するフォントが表示されるため、手描きで入力したユーザの筆跡を残すことができなかった。
そこで、本発明は、手描き文字の編集を容易に可能とする技術の提供を目的とする。
As described above, in the system for performing hand-drawn input, since the input characters are handled as graphics (vector data) and images, there is a problem that editing cannot be performed freely like text data. For example, it is not possible to perform editing such as changing the arrangement of hand-drawn characters and rearranging them, or deleting some characters and moving up subsequent characters.
For this reason, a system that converts input hand-drawn characters into text data by character recognition processing and enables editing is also known.
However, in a system that performs character recognition, it is necessary to sequentially select a plurality of conversion candidates to be extracted when handwritten input is performed, and it has not been possible to input smoothly such as taking notes on paper.
In addition, after character recognition, since the font corresponding to the character code of each character is displayed, it is impossible to leave the handwriting of the user input by hand drawing.
Therefore, an object of the present invention is to provide a technique that enables easy editing of hand-drawn characters.
上記の課題を解決するため、本発明の手描き入力方法は、
ユーザによって入力される文字の軌跡を一連の座標データとして検出するステップと、
前記ステップで検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとするステップと、
前記手描き文字データに基づき表示領域に手描き文字を表示させるステップと、
をコンピュータが実行する。
In order to solve the above problems, the hand-drawn input method of the present invention is:
Detecting a trajectory of a character input by a user as a series of coordinate data;
Delimiting the series of coordinate data detected in the step based on a predetermined condition, and setting each delimited coordinate data as hand-drawn character data;
Displaying hand-drawn characters in a display area based on the hand-drawn character data;
Is executed by the computer.
また、本発明の手描き入力装置は、
ユーザによって入力される文字の軌跡を一連の座標データとして検出する入力検出部と、
前記入力検出部で検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとする文字区切り認識部と、
前記手描き文字データに基づき表示領域に手描き文字を表示させる表示制御部とを備えた。
The hand-drawn input device of the present invention is
An input detection unit for detecting a locus of characters input by the user as a series of coordinate data;
A character delimiter recognition unit that delimits a series of coordinate data detected by the input detection unit based on a predetermined condition, and sets each delimited coordinate data as hand-drawn character data;
A display control unit for displaying hand-drawn characters in a display area based on the hand-drawn character data.
また、上記課題を解決するため、本発明は上記手描き入力方法をコンピュータに実行させるための手描き入力プログラムであつても良い。更に、この手描き入力プログラムをコンピュータが読み取り可能な記録媒体に記録しても良い。コンピュータに、この記録媒体のプログラムを読み込ませて実行させることにより、その機能を提供させることができる。 In order to solve the above-mentioned problem, the present invention may be a hand-drawn input program for causing a computer to execute the hand-drawn input method. Furthermore, the hand-drawn input program may be recorded on a computer-readable recording medium. The function can be provided by causing the computer to read and execute the program of the recording medium.
ここで、コンピュータが読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータから読み取ることができる記録媒体をいう。このような記録媒体の内コンピュータから取り外し可能なものとしては、例えばフレキシブルディスク、光磁気ディスク、CD-ROM、CD-R/W、DVD、DAT、8mmテープ、メモリカード等がある。 Here, the computer-readable recording medium refers to a recording medium that accumulates information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from the computer. . Examples of such a recording medium that can be removed from the computer include a flexible disk, a magneto-optical disk, a CD-ROM, a CD-R / W, a DVD, a DAT, an 8 mm tape, and a memory card.
また、コンピュータに固定された記録媒体としてハードディスクやROM(リードオンリーメモリ)等がある。 Further, there are a hard disk, a ROM (read only memory), and the like as a recording medium fixed to the computer.
本発明は、手描き文字の編集を容易にする技術を提供できる。 The present invention can provide a technique that facilitates editing of hand-drawn characters.
以下、図面を参照して本発明を実施するための最良の形態について説明する。以下の実施の形態の構成は例示であり、本発明は実施の形態の構成に限定されない。 The best mode for carrying out the present invention will be described below with reference to the drawings. The configuration of the following embodiment is an exemplification, and the present invention is not limited to the configuration of the embodiment.
〈実施形態1〉
1.手描き文字入力の概要
図1において、1は本発明の手描き入力方法を採用したコンピュータ(手描き入力装置)であり、ディスプレイ10の表面にタッチパネルを備え、タッチパネルの手描き入力欄11に対してユーザが手描き入力を行うと、その軌跡を検出して表示欄(表示領域)12に手描き文字列を表示する。この手描き文字列は、従来、そのページ毎にベクトルデータやイメージデータで示していた為、文字単位での編集を行うことができなかった。
<
1. 1 is a computer (hand-drawing input device) that employs the hand-drawing input method of the present invention, and includes a touch panel on the surface of the
例えば、表示欄12を狭く変更する場合、そのページを縮小して幅を狭めることになるので、手描き文字も同率で縮小されて読み難くなってしまうことがあった。また、従来の手描き文字列は、行の途中で折り返して字詰めを変えたり、一部の文字を削除して以降の文字を繰り上げるように、文字の並びを変更したりといった編集ができなかった。
For example, when the
これに対し、本実施形態の手描き入力方法では、一文字毎に文字の区切りを認識し、文字毎のストロークデータ或いはイメージデータで表しているので、図2のように表示欄12の幅を変えて、文字の折り返し位置を変更するような編集を可能にしている。
On the other hand, in the hand-drawn input method according to the present embodiment, character breaks are recognized for each character and represented by stroke data or image data for each character. Therefore, the width of the
2.手描き入力装置の構成
図3は、本実施形態における手描き入力装置1の概略構成図である。図3に示すように、手描き入力装置1は、本体内にCPU(central processing unit)やメインメモリ等
よりなる演算処理部16、演算処理の為のデータやソフトウェアを記憶した記憶部(フラッシュメモリ)13、入出力ポート14、通信制御部(CCU:Communication Control Unit)15等を備えたコンピュータである。
2. Configuration of Hand-Drawing Input Device FIG. 3 is a schematic configuration diagram of the hand-
該入出力ポート14には、キーボード(操作ボタン等)やポインティングデバイス、記憶媒体(メモリカード等)の読み取り装置、タッチパネル等の入力デバイス、そしてディスプレイ10や記憶媒体の書き込み装置、スピーカ等の出力デバイスが適宜接続される。
CCU15は、ネットワークを介して他のコンピュータと通信を行うものである。
The input /
The CCU 15 communicates with other computers via a network.
記憶部13には、オペレーティングシステム(OS)やアプリケーションソフト(手描き入力プログラム)、辞書データ等がインストールされている。
An operating system (OS), application software (hand-drawn input program), dictionary data, and the like are installed in the
演算処理部16は、前記OSやアプリケーションプログラムを記憶部13から適宜読み出して実行し、入出力ポート14やCCU15から入力された情報、及び記憶部13から読み出した情報を演算処理することにより、入力検出部や、文字区切り認識部、文字整形部、文字属性認識部、表示制御部としても機能する。
The
この入力検出部としては、ユーザによってタッチパッドの入力欄11に入力される文字の軌跡を一連の座標データとして検出する。
The input detection unit detects a locus of characters input by the user into the
文字区切り認識部としては、入力検出部で検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとする。 The character delimiter recognition unit delimits a series of coordinate data detected by the input detection unit based on a predetermined condition, and sets each delimited coordinate data as hand-drawn character data.
文字整形部は、文字区切り認識部で区切られた手描き文字データをストロークデータ等の所定フォーマットに整形する。 The character shaping unit shapes the hand-drawn character data delimited by the character delimiter recognition unit into a predetermined format such as stroke data.
文字属性認識部としては、前記手描き文字データの書き順や文字の形等の特徴に基づいて対応する文字コードを求める。例えば、手描き文字データの書き順や文字の形等の特徴と文字コードとを対応付けた文字コードデータベースを記憶部13に記憶させておき、ユーザによって入力された手描き文字データの特徴と類似する特徴と対応する文字コードを辞書データベースから抽出する。抽出した文字コードは、当該手描き文字データの属性情報としてメモリ或いは記憶部13に記憶する。
The character attribute recognizing unit obtains a corresponding character code based on characteristics such as the writing order and character shape of the hand-drawn character data. For example, a character code database in which features such as handwriting character data writing order and character shape are associated with character codes is stored in the
表示制御部としては、前記手描き文字データに基づきディスプレイ10の表示領域12に手描き文字を表示させる。
The display control unit displays hand-drawn characters in the
3.手描き入力方法
図4は、上記構成の手描き入力装置が、手描き入力プログラムに従って実行する手描き入力方法の説明図である。
先ず、ユーザによってタッチパネルの入力欄11に対して手描き入力が行われると、入力検出部は、この入力された文字の軌跡を一連の座標データとして検出する(ステップS1)。
3. Handwritten Input Method FIG. 4 is an explanatory diagram of a handwritten input method executed by the handwritten input device configured as described above according to a handwritten input program.
First, when a user performs hand-drawn input on the
次に文字区切り認識部は、ステップS1で検出した一連の座標データを所定条件に基づいて一文字毎のデータに区切り、区切られた各座標データを手描き文字データとする(ステップS2)。 Next, the character delimiter recognition unit delimits the series of coordinate data detected in step S1 into data for each character based on a predetermined condition, and sets each delimited coordinate data as hand-drawn character data (step S2).
文字属性認識部は、ステップS2で求めた手描き文字データの書き順や文字の形等の特徴に基づき、文字コードデータベースを参照して対応する文字コードを求め、当該手描き文字データの属性情報とする(ステップS3)。なお、この文字コードの候補が複数抽出された場合には、この複数の文字コードを全て或いは所定数を属性情報としても良い。更に文字コードを抽出する際、手描き文字データの特徴の類似度が高い順に優先度を付しても良い。 The character attribute recognizing unit obtains a corresponding character code by referring to the character code database based on the characteristics of the handwritten character data obtained in step S2, such as the writing order and the character shape, and uses it as attribute information of the handwritten character data. (Step S3). When a plurality of character code candidates are extracted, all or a predetermined number of the plurality of character codes may be used as attribute information. Furthermore, when extracting character codes, priorities may be given in descending order of the similarity of features of hand-drawn character data.
また、文字属性認識部は、前記文字コードを辞書データと比較して、仮名漢字変換を行う(ステップS4)。 The character attribute recognition unit compares the character code with dictionary data and performs kana-kanji conversion (step S4).
また、文字属性認識部は、前記文字コードを辞書データと比較する際、単語又は文節の区切りの情報を求めても良い。 The character attribute recognizing unit may obtain word or phrase delimiter information when the character code is compared with dictionary data.
そして、表示制御部は、前記手描き文字データに基づきディスプレイ10の表示欄12に所定の書式で手描き文字を表示させる(ステップS5)。ここで、所定の書式とは、文字の大きさ、1行の文字数、文字間隔、行間隔、左寄せ、禁則処理などである。所定の書式は、予め設定しておくものでも良いし、入力時に選択するものでも良い。
And a display control part displays a hand-drawn character with the predetermined format on the
以上のように、本実施形態によれば、手描き文字データを区切り、一文字毎に管理できるので、入力した手描き文字データの編集が容易となる。 As described above, according to the present embodiment, handwritten character data can be divided and managed for each character, so that input handwritten character data can be easily edited.
4.文字区切り処理
図5は、入力された手描き文字の区切りを判定する処理の説明図である。
先ず、ユーザが入力欄11に対してタッチペンで図5(A)のように文字を手描きすると、タッチパネルは、このタッチペンの接触箇所(ポイント)を検出し、その座標を逐次演算処理部16に入力する。即ち、文字を描いた際の接触ポイントの移動軌跡を次のような一連の座標データとする。
(54 , 58) (56 , 58) (58 , 58) ・・・・(247 , 68)
(249 , 68) (251 , 68) (253 , 68) ・・・(147 , 10)
(54 , 58) (56 , 58) (58 , 58) ・・・・(247 , 68)
(249 , 68) (251 , 68) (253 , 68) ・・・(147 , 10)
(54 , 58) (56 , 58) (58 , 58) ・・・・(247 , 68)
(249 , 68) (251 , 68) (253 , 68) ・・・(147 , 10)
:
:
4). Character Separation Processing FIG. 5 is an explanatory diagram of processing for determining the separation of input hand-drawn characters.
First, when the user draws characters on the
(54, 58) (56, 58) (58, 58) ... (247, 68)
(249, 68) (251, 68) (253, 68) ・ ・ ・ (147, 10)
(54, 58) (56, 58) (58, 58) ... (247, 68)
(249, 68) (251, 68) (253, 68) ・ ・ ・ (147, 10)
(54, 58) (56, 58) (58, 58) ... (247, 68)
(249, 68) (251, 68) (253, 68) ・ ・ ・ (147, 10)
:
:
そして、文字区切り認識部は、この座標データに基づき、図5(B)に示すように手描き文字を囲む矩形31を設定する。ここで矩形31の高さは前記座標データが収まる高さとし、矩形31の幅は、幅方向に連続する座標が途切れ、所定以上の距離が空いたことを条件に、ここを文字の区切りと判定し、この区切りまでの座標が収まる幅に設定する。
Based on the coordinate data, the character delimiter recognition unit sets a
また、矩形31の高さに対する幅の比率が所定値より小さい場合、即ち矩形31の幅が狭い縦長の形状であった場合、1やI、!など、縦長の文字とのパターンマッチングを行
い、一致した場合には文字区切りを確定し、そうでない場合には隣接する矩形内の座標データと合わせて漢字とのパターンマッチングを行い、一致したことを条件に、この合わせた座標データを一文字の漢字として矩形を設定し、区切りを変更する。
Further, when the ratio of the width to the height of the
文字整形部は、上記手描き文字データとしての一連の座標データをストロークデータ等の所定フォーマットに整形する。
例えば、以下のフォーマットで各ストロークの通過点や方向を示す。
(character
(value 文字コード)
(width 矩形幅)
(height 矩形高さ)
(strokes
((1画1点目のx y) (1画2点目のx y) ... (1画n点目のx y))
((2画1点目のx y) (2画2点目のx y) ... (2画n点目のx y))
((3画1点目のx y) (3画2点目のx y) ... (3画n点目のx y))
...))
The character shaping unit shapes the series of coordinate data as the hand-drawn character data into a predetermined format such as stroke data.
For example, the passing point and direction of each stroke are shown in the following format.
(character
(value character code)
(width rectangle width)
(height rectangle height)
(strokes
((1st drawing 1st xy) (1st drawing 2nd xy) ... (1st drawing nth xy))
((2nd stroke 1st xy) (2nd stroke 2nd xy) ... (2nd stroke nth xy))
((3-screen 1-point xy) (3-screen 2-point xy) ... (3-screen n-th xy))
...))
このように、strokesに続く()で綴じられているデータが一つのストロークを示し、
各ストロークを示す()内の各xy座標が各ストロークの通過点を示す。なお、各ストロークの通過点を示すxy座標は、width,heightで定義した各文字の矩形の左上を原点と
した当該矩形内の座標を示す。
In this way, the data bound by () following strokes indicates one stroke,
Each xy coordinate in parentheses indicating each stroke indicates a passing point of each stroke. Note that the xy coordinates indicating the passing point of each stroke indicate the coordinates in the rectangle with the upper left corner of each character rectangle defined by width and height as the origin.
具体的には、例えば以下のようなデータとする。
(character (value あ) (width 300) (height 300) (strokes ((54 58)(249 68)) ((147 10)(145 201)(182 252)) ((224 103)(149 230)(82 240)(53 204)(86 149)(182 139)(240 172)(248 224)(228 250))))
このxy座標で示される通過点を通るように各ストロークをスプライン曲線で描画することで、文字を表示する。
Specifically, for example, the following data is used.
(character (value a) (width 300) (height 300) (strokes ((54 58) (249 68)) ((147 10) (145 201) (182 252)) ((224 103) (149 230) ( 82 240) (53 204) (86 149) (182 139) (240 172) (248 224) (228 250))))
Characters are displayed by drawing each stroke with a spline curve so as to pass through the passing point indicated by the xy coordinates.
5.修飾処理
上記のように、本実施形態では、手描き文字を文字単位で区切ったデータとしたため、この各文字の手描き文字データに属性情報を付加することで、文字毎に修飾することができる。図6は手描き文字の修飾処理の説明図である。
5. Modification Processing As described above, in the present embodiment, since hand-drawn characters are divided into character units, it is possible to modify each character by adding attribute information to the hand-drawn character data of each character. FIG. 6 is an explanatory diagram of handwritten character modification processing.
例えば、図6(A)に示すようにユーザがディスプレイ10に表示されている文字を範囲指定して修飾を指定した場合、この範囲指定32された文字列の前後に当該修飾を示すタグを挿入する。
For example, as shown in FIG. 6A, when a user designates a modification by designating a range of characters displayed on the
図6(B)では、文字列「あいうえお」のうち、範囲指定した文字「いうえ」にアンダーライン33を付加した場合の表示例を示している。この場合、次のようにアンダーラインを示すタグ(<u>〜</u>)を挿入する。
(character (value あ) (width 300) (height 300) (strokes ((54 58)(249 68)) ((147 10)(145 201)(182 252)) ((224 103)(149 230)(82 240)(53 204)(86 149)(182 139)(240 172)(248 224)(228 250))))
<u>
(character (value い) (width 300) (height 300) (strokes ((56 63)(43 213)(67 259)(94 243)) ((213 66)(231 171)(208 217))))
(character (value う) (width 300) (height 300) (strokes ((102 35)(187 45)) ((73 121)(167 105)(206 139)(198 211)(135 275))))
(character (value え) (width 300) (height 300) (strokes ((140 19)(162 38)) ((62 105)(208 100)(51 263)(128 205)(188 268)(260 252))))
</u>
(character (value お) (width 300) (height 300) (strokes ((64 94)(240 98)) ((148
35)(159 129)(140 199)(105 247)(64 228)(101 161)(192 161)(222 223)(189 257)) ((223 49)(253 89))))
FIG. 6B shows a display example when the
(character (value a) (width 300) (height 300) (strokes ((54 58) (249 68)) ((147 10) (145 201) (182 252)) ((224 103) (149 230) ( 82 240) (53 204) (86 149) (182 139) (240 172) (248 224) (228 250))))
<u>
(character (value) (width 300) (height 300) (strokes ((56 63) (43 213) (67 259) (94 243)) ((213 66) (231 171) (208 217))))
(character (value) (width 300) (height 300) (strokes ((102 35) (187 45)) ((73 121) (167 105) (206 139) (198 211) (135 275))))
(character (value e) (width 300) (height 300) (strokes ((140 19) (162 38)) ((62 105) (208 100) (51 263) (128 205) (188 268) (260 252 ))))
</ u>
(character (value O) (width 300) (height 300) (strokes ((64 94) (240 98)) ((148
35) (159 129) (140 199) (105 247) (64 228) (101 161) (192 161) (222 223) (189 257)) ((223 49) (253 89))))
なお、アンダーラインに限らず、取り消し線、罫線、網掛け、太字、イタリック体、右寄せ、左寄せ、センターリング、色指定などの修飾も同様に行うことができる。 In addition to the underline, modifications such as strikethrough, ruled line, shading, bold, italic, right justification, left justification, centering, and color designation can be performed in the same manner.
また、図6(B)に示すように複数の文字にアンダーラインを付す場合、各文字だけでなく、文字間についても連続して設けるように表示するのが良い。この文字間についても連続して修飾することは、取り消し線や罫線、網掛けなどについても同じである。 In addition, when an underline is added to a plurality of characters as shown in FIG. 6B, it is preferable to display not only each character but also a space between characters. The continuous modification between the characters is the same for the strikethrough, ruled line, and shading.
6.仮名漢字混じりの単語の変換処理
文字属性認識部は、入力された文字が仮名であった場合、図4のステップS4に示したように、漢字に変換することができる。
6). Conversion Process of Words Mixed with Kana-Kanji Character attribute recognition unit can convert to kanji as shown in step S4 of FIG. 4 when the input character is a kana.
なお、キーボードを用いた入力では、必ず仮名を入力し、これを漢字に変換する処理であるため、単語の読み仮名と漢字とを対応付けた辞書を参照し、単語の読み仮名をインデックスとして対応する漢字を抽出することで変換を行っている。 It should be noted that input using the keyboard is a process that always inputs kana and converts it to kanji, so refer to the dictionary that associates kana and kanji for words and uses kana for words as indexes. The conversion is done by extracting the kanji to be.
これに対し、本実施形態では、手書きで文字を入力するため、漢字で入力することができ、漢字と仮名が混在した入力が行われることがある。 On the other hand, in this embodiment, since characters are input by handwriting, they can be input in kanji, and input in which kanji and kana are mixed may be performed.
例えば、「議事録」と入力する場合に「ぎ事録」や「ぎ事ろく」「ぎじ録」と入力されることがある。この場合、読み仮名が単語の一部分しかなく、従来のように単語の読み仮名と漢字を対応させた辞書ではインデックスが一致せず、単語としては検索できないため、効率良く変換を行うことができない。 For example, in the case of inputting “minutes”, there may be input of “giki minutes”, “gioki roku”, and “jiji memo”. In this case, the reading kana is only a part of the word, and in the conventional dictionary in which the reading kana and the kanji of the word correspond to each other, the index does not match and the word cannot be searched, so that the conversion cannot be performed efficiently.
そこで、本実施形態では、仮名漢字混じりの単語が入力された場合に効率良く変換するために以下の処理を採用した。なお、この変換処理を行う場合の変換単位は、入力欄11に入力された手描き文字を所定時間間隔で変換する構成であっても良いし、ユーザが変換ボタン(不図示)を選択する等の操作によって変換指示を受けた際に入力欄11に入力されている手描き文字を変換する構成であっても良い。
Therefore, in the present embodiment, the following processing is adopted in order to efficiently convert a word mixed with kana / kanji characters. The conversion unit in the case of performing this conversion process may be a configuration in which hand-drawn characters input in the
(6−1)変換例1
図7は仮名漢字混じりの変換例1の説明図である。
図4のステップS3で求めた文字コードに漢字が含まれているか否かを判定し(ステップS21)、漢字が含まれていれば、漢字読み辞書を参照して逆変換し、当該漢字の読み仮名を求める(ステップS22)。なお、漢字読み辞書は、漢字とその読みとを対応付けた辞書データであり、記憶部13に格納しておく。
(6-1) Conversion example 1
FIG. 7 is an explanatory diagram of a conversion example 1 in which kana / kanji characters are mixed.
It is determined whether or not the Chinese character is included in the character code obtained in step S3 of FIG. 4 (step S21). If the Chinese character is included, the character code is reverse-converted with reference to the Chinese character reading dictionary, and the character code is read. A pseudonym is obtained (step S22). The kanji reading dictionary is dictionary data in which kanji and their readings are associated with each other, and is stored in the
次にステップS22で求めた漢字の読みのうち、前後の文字との組み合わせが妥当なものを選択する(ステップS23)。 Next, of the kanji readings obtained in step S22, an appropriate combination with the preceding and following characters is selected (step S23).
例えば入力された文字が「ぎ事ろく」であった場合、ステップS21で漢字「事」が含まれていると判定し、この漢字「事」の読み仮名として「じ」「こと」が抽出され、この組み合わせは、「ぎじ」「ぎこと」「じろく」「ことろく」となる。 For example, if the input character is “gijiroku”, it is determined in step S21 that the kanji “thing” is included, and “ji” “ko” is extracted as the reading kana of this kanji “thing”. This combination becomes “giji”, “gikoto”, “jirok”, and “kotoroku”.
文字属性認識部は、この読み仮名の組み合わせのうち、仮名漢字変換辞書のインデックスと一致するものを選択する。即ち、単語として意味をなす「ぎじ」を選択する。 The character attribute recognition unit selects a combination of the reading kana that matches the index of the kana-kanji conversion dictionary. That is, “Gigi” that makes sense as a word is selected.
そして文字属性認識部は、ステップS23で選択した読み仮名を用いて「ぎじろく」を
仮名漢字変換する(ステップS24)。
Then, the character attribute recognition unit converts “gijiroku” into kana-kanji using the reading kana selected in step S23 (step S24).
このように本例によれば、仮名漢字混じりの単語が入力されても漢字を仮名に逆変換してから、単語単位で仮名漢字変換を行うので、適切な変換を行うことができる。 As described above, according to this example, even if a mixed word of kana / kanji is input, kana / kanji conversion is performed in units of words after reverse conversion of kanji into kana, so that appropriate conversion can be performed.
なお、前記漢字読み辞書は、仮名漢字変換辞書の単漢字変換用のデータを利用しても良い。この単漢字変換用のデータは、単漢字の読み仮名をインデックスとして単漢字を索出するものであるので、本例では、これを逆に利用し、単漢字をインデックスとして読み仮名を索出すれば良い。但し、本例の逆変換を行うためには、「六本木」のように「六」を「ろっ」、「本」を「ぽん」「木」を「ぎ」のように、本来の読み仮名とは違う読み仮名となるものがあるため、このような逆変換用の読み仮名も単漢字変換用のデータに追加して漢字読み辞書として利用しても良い。この場合、単漢字の仮名漢字変換の際には、単漢字変換用のデータを用いて変換を行い、逆変換の際には、単漢字変換用のデータ及び逆変換用の読み仮名を用いて変換を行うように、切り換えても良い。これにより、仮名漢字変換時に逆変換用の読み仮名がノイズとなるのを防止できる。 The kanji reading dictionary may use data for single kanji conversion of the kana-kanji conversion dictionary. Since this single kanji conversion data is for searching for a single kanji character using the reading of a single kanji character as an index, in this example, this is used in reverse to search for a reading kana character using a single kanji character as an index. It ’s fine. However, in order to perform the inverse transformation of this example, “Roku” like “Roppongi”, “Rotto” as “Roku”, “Pon” as “Pon”, “Tree” as “gi”, etc. Since there are some which become different kana readings, such reading kana for reverse conversion may be added to the data for single kanji conversion and used as a kanji reading dictionary. In this case, when converting kana-kanji to single kanji, conversion is performed using data for single-kanji conversion, and for reverse conversion, data for single-kanji conversion and reading kana for reverse conversion are used. Switching may be performed to perform conversion. Thereby, it is possible to prevent the reading kana for reverse conversion from becoming noise during kana-kanji conversion.
(6−2)変換例2
変換例2としては、先ず仮名漢字混じりの単語を変換するため、仮名漢字混じりの単語と変換後の漢字とを対応付けた仮名漢字混在辞書を予め作成して記憶部13に記憶させておく。
(6-2) Conversion example 2
As a conversion example 2, first, in order to convert words mixed with kana-kanji, a kana-kanji mixed dictionary in which kana-kanji mixed words are associated with converted kanji is created in advance and stored in the
例えば「ぎ事ろく」「ぎじ録」「議じろく」「議事ろく」等の仮名漢字混じりの単語と、変換後の漢字「議事録」とを対応付けて仮名漢字混在辞書とする。 For example, kana-kanji mixed dictionaries are created by associating kanji-kanji mixed words such as “gijiroku”, “gijiroku”, “geijiroku”, and “meeting roku” with the converted kanji “minutes”.
そして、仮名漢字混じりの単語が入力された場合には、この仮名漢字混在辞書を参照して対応する漢字を抽出する。 Then, when a kana-kanji mixed word is input, the corresponding kanji is extracted with reference to the kana-kanji mixed dictionary.
(6−3)変換例3
本例では、仮名漢字変換用の辞書を仮名漢字混じりの単語の変換に利用できるようにした例を示している。
(6-3) Conversion example 3
This example shows an example in which a dictionary for kana-kanji conversion can be used for conversion of words mixed with kana-kanji.
先ず、仮名漢字変換用の辞書の読み仮名に漢字一文字毎の区切り情報を与えた「区切り付き辞書」を予め作成し、記憶部13に記憶させておく。
例えば、次のような辞書を作成する。
読み仮名 変換候補
-------------------------
へん▲かん → 変換
がく▲しゅう → 学習
ろっ▲ぽん▲ぎ → 六本木
-------------------------
First, a “delimited dictionary” in which delimiter information for each kanji character is given to the reading kana in the dictionary for kana-kanji conversion is created in advance and stored in the
For example, the following dictionary is created.
Candidate conversion candidate
-------------------------
→ Gap → Conversion → Learning Roppongi → Roppongi
-------------------------
なお、読み仮名部分のインデックスは、各文字の切れ目を先頭として検索できるようにする。即ち、上記の例では、「かん」、「しゅう」、「ぽんぎ」で検索した場合でも変換、学習、六本木を索出できる。 It should be noted that the index of the reading kana part can be searched with the break of each character as the head. That is, in the above example, conversion, learning, and Roppongi can be searched even when searching for “kan”, “shu”, and “pongi”.
図8は仮名漢字混じりの変換例3の説明図である。
図4のステップS3で求めた文字コードに漢字が含まれているか否かを判定し(ステップS31)、漢字が含まれていれば、区切り付き辞書を参照して当該単語の読み仮名と部分一致する単語を検索する(ステップS32)。
FIG. 8 is an explanatory diagram of a conversion example 3 in which kana / kanji characters are mixed.
It is determined whether or not the character code obtained in step S3 of FIG. 4 includes kanji (step S31). If kanji is included, the delimited dictionary is referred to and the partial kana matches the reading kana of the word. A word to be searched is searched (step S32).
次にステップS32で求めた単語と、前記仮名漢字混じりの単語の漢字部分が一致するか否かを判定し(ステップS33)、一致する単語を変換候補として表示し、ユーザに選択を促す(ステップS34)。 Next, it is determined whether or not the word obtained in step S32 matches the kanji part of the mixed word of kana and kanji (step S33), the matching word is displayed as a conversion candidate, and the user is prompted to select (step). S34).
そして、ユーザに選択された単語を変換後の単語として確定する(ステップS35)。
例えば、"変かんする"と入力された場合、
1-a) 1文字目の漢字をスキップして2文字目以降のひらがな"かんする"を検索対象と
する。
1-b) 辞書の2文字目以降の読みに対して検索をかける。
1-c) よみが一致した場合には、1文字目の漢字が一致するかどうかをチェックし、一
致するものだけを変換候補として表示する。
1-d) ユーザによって選択された単語を変換結果として確定する。
Then, the word selected by the user is determined as the converted word (step S35).
For example, if you enter "Change",
1-a) The first kanji character is skipped, and the second and subsequent hiragana characters are searched.
1-b) Search for the second and subsequent characters in the dictionary.
1-c) If the readings match, it is checked whether the first Kanji character matches, and only those that match are displayed as conversion candidates.
1-d) Confirm the word selected by the user as the conversion result.
2) "へん換する"と入力された場合、
2-a) 通常の仮名漢字変換の流れで"へん"に対応する検索をかける。
2-b) よみが一致した場合には、2文字目の漢字が一致するかどうかをチェックし、一
致するものだけを変換候補として表示する。
2-c) ユーザによって選択された単語を変換結果として確定する。
2) If "Change" is entered,
2-a) Perform a search corresponding to "hen" in the normal Kana-Kanji conversion process.
2-b) If the readings match, it is checked whether the second Kanji character matches, and only those that match are displayed as conversion candidates.
2-c) Confirm the word selected by the user as the conversion result.
本例によれば、仮名漢字混じりの単語を適切に変換できると共に、仮名漢字変換用の辞書と、仮名漢字混じりの単語を変換する辞書とを兼用でき、構成が簡素化される。 According to this example, a kana-kanji mixed word can be appropriately converted, and a dictionary for kana-kanji conversion and a dictionary for converting a kana-kanji mixed word can be used together, thereby simplifying the configuration.
なお、上記変換処理は、適宜組み合わせて利用しても良い。例えば変換例2の変換処理を行い、この処理で変換できなかった単語について変換例1或いは変換例3の変換処理を行っても良い。 The above conversion processes may be used in combination as appropriate. For example, the conversion process of the conversion example 2 may be performed, and the conversion process of the conversion example 1 or the conversion example 3 may be performed on a word that cannot be converted by this process.
仮名で手描き入力された文字が、上記変換処理によって漢字に変換された場合、文字属性認識部は、変換後の漢字の文字コードを演算処理部16にわたし(入力し)、表示制御部がこの文字コードに応じた文字をディスプレイ10に表示させる。ここで、表示制御部は、この漢字を手描きで再入力するようにメッセージを表示する等してユーザに入力を促し、ユーザがディスプレイ10上の漢字を手描き入力すると、表示制御部は、この漢字の手描き文字データを前記仮名の手描き文字データと代えて表示領域12に表示させる。
When a character hand-drawn in kana is converted into kanji by the above conversion processing, the character attribute recognition unit me (inputs) the character code of the converted kanji to the
また、表示制御部は、上記のようにユーザに再入力を促すのではなく、前記文字コードに応じて明朝体やゴシック体等の既存のフォントを用いて当該文字を表示領域12に表示させても良いし、予め手描き文字データを手書き文字辞書として登録しておき、当該文字コードと対応する漢字の手描き文字データを読み出して前記仮名の手描き文字データと代えて表示領域12に表示させても良い。
In addition, the display control unit does not prompt the user to input again as described above, and causes the
7.表計算ソフトへの適用
図9は、本実施形態の手描き入力を表計算ソフトに適用した例である。
図9に示すように、本例では、各セルの入力を手描きで行う。各セルの表示は、入力された手描き文字で行い、表計算については、属性情報の文字コードに従って行う。即ち、集計するセルの手描き文字データには、数字の文字コードを属性情報として付加しておく。
これにより表の数値を手描き文字とした場合でも表計算を行うことができる。
また、手描き入力を表計算ソフトに適用した場合、表示モードを変更することにより、手描き文字と、各文字コードが示す文字とを切り換えて表示しても良い。また、図10の例では、各セルに手描き文字と各文字コードが示す文字とを両方同時に表示させた例を示している。これにより手描き文字と文字コードとの対応をユーザが容易に視認できるよう
にしている。
7). Application to Spreadsheet Software FIG. 9 is an example in which the hand-drawn input of the present embodiment is applied to spreadsheet software.
As shown in FIG. 9, in this example, each cell is input by hand drawing. Each cell is displayed with the input hand-drawn character, and the spreadsheet is performed according to the character code of the attribute information. That is, a numeric character code is added as attribute information to the hand-drawn character data of the cells to be aggregated.
This makes it possible to perform spreadsheets even when the numerical values in the table are hand-drawn characters.
When hand-drawn input is applied to spreadsheet software, the display mode may be changed to switch between hand-drawn characters and characters indicated by each character code. In the example of FIG. 10, an example is shown in which both hand-drawn characters and characters indicated by the character codes are displayed simultaneously in each cell. This makes it easy for the user to visually recognize the correspondence between hand-drawn characters and character codes.
〈実施形態2〉
本実施形態2では、メインメモリや記憶部13等の記憶媒体上に記憶された一連の手描き文字データを一括して仮名漢字変換する処理例を示す。なお、この処理以外の構成は前述の実施形態1と同じであるので、同一の要素には同符号を付すなどして再度の説明を省略している。
<
In the second embodiment, a processing example in which a series of hand-drawn character data stored on a storage medium such as the main memory or the
図11,図12は、本実施形態2の処理例を示すフローチャート、図13は、変換例を示す図である。
先ず、図11に示すように、ユーザによってタッチパネルの入力欄11に対して手描き入力が行われると、入力検出部は、この入力された文字の軌跡を一連の座標データとして検出する(ステップS41)。
11 and 12 are flowcharts showing a processing example of the second embodiment, and FIG. 13 is a diagram showing a conversion example.
First, as shown in FIG. 11, when the user performs hand-drawn input on the
次に文字区切り認識部は、ステップS1で検出した一連の座標データを所定条件に基づいて一文字毎のデータに区切り、区切られた各座標データを手描き文字データとし(ステップS42)、メインメモリや記憶部13等の記憶媒体に記録させる(ステップS43)。 Next, the character delimiter recognition unit delimits the series of coordinate data detected in step S1 into data for each character based on a predetermined condition, and sets each delimited coordinate data as hand-drawn character data (step S42). The data is recorded on a storage medium such as the unit 13 (step S43).
このように、本実施形態2では、手書き入力された文字を逐次変換せずに入力を行い、手書き文字データを記録してゆくことで、入力作業を漢字変換のために中断することなく手描き入力を続ける、即ち書き続けることができる。以下これを書き流しとも称す。 As described above, in the second embodiment, handwritten input characters are input without being sequentially converted, and handwritten character data is recorded, so that the input operation can be input without interruption for kanji conversion. Can continue, i.e. continue to write. Hereinafter, this is also referred to as writing.
図13の入力データ41は、この書き流しモードで手書き入力したデータである。図13に示すように、書き流しモードで入力した場合、漢字も平仮名も入力したまま手書き文字データとして記録される。
会議や打ち合わせでメモをとる場合、入力した文字を逐一変換していては、会議や打ち合わせに支障を来すため、書き流しモードで入力するのが望ましい。 When taking a memo at a meeting or a meeting, it is desirable to input in the writing-in mode, because if the input characters are converted one by one, it will interfere with the meeting or the meeting.
そして、会議や打ち合わせの後、漢字変換の時間がとれる時に一括して変換すれば良い。図12は、後から変換を行う処理のフローチャートである。 Then, after a meeting or a meeting, conversion may be performed in a lump when Kanji conversion time is available. FIG. 12 is a flowchart of a process for performing conversion later.
この後から変換をユーザが選択すると、コンピュータ1は、先ず図11の書き流しモードで記録した手描き文字データを記録媒体から取得する(ステップS51)。この手描き文字データの取得とは、例えばメインメモリから手描き文字データをCPUが読み出す処理、またする処理は、メインメモリを介して記憶部13から手描き文字データをCPUが読み出す処理である。
Thereafter, when the user selects conversion, the
次に文字属性認識部は、ステップS51で取得した手描き文字データの書き順や文字の形等の特徴に基づき、文字コードデータベースを参照して対応する文字コードを求め、当該手描き文字データの属性情報とする(ステップS52)。 Next, the character attribute recognition unit obtains a corresponding character code by referring to the character code database based on the characteristics of the handwritten character data acquired in step S51, such as the writing order and the character shape, and attribute information of the handwritten character data. (Step S52).
また、文字属性認識部は、手描き文字データを仮名漢字変換するための変換単位に区切り、最先の変換単位となるデータを求める(ステップS53)。例えば、先頭から所定の文字数のデータを抽出して辞書と比較する。また、手描き文字データを括弧や句読点、疑問符等の約物や助詞で区切り、変換単位とする。更に、手描き文字データの文字コードに基づいて形態素解析を行い、文節単位に区切り、各文節を変換単位としても良い。 Further, the character attribute recognition unit divides the hand-drawn character data into conversion units for converting kana-kanji characters, and obtains data that is the earliest conversion unit (step S53). For example, data of a predetermined number of characters is extracted from the beginning and compared with a dictionary. In addition, hand-drawn character data is delimited by punctuation marks such as parentheses, punctuation marks, question marks, and particles, and is used as a conversion unit. Furthermore, morphological analysis may be performed based on the character code of the hand-drawn character data, and divided into clause units, and each clause may be used as a conversion unit.
更に、文字属性認識部は、変換単位の手描き文字データを辞書データと比較する等して
仮名漢字変換を行う(ステップS54)。当該ステップS54の仮名漢字変換は、前述の実施形態1におけるステップS4と同じである。即ち、仮名漢字混じりの手描き文字データを漢字変換する。そして、変換単位の判定と仮名漢字変換の処理(ステップS53−S54)を繰り返し、最後の変換単位の仮名漢字変換が完了した場合に処理を終了する(ステップS55)。
Further, the character attribute recognition unit performs kana-kanji conversion by comparing handwritten character data in conversion units with dictionary data (step S54). The kana-kanji conversion in step S54 is the same as step S4 in the first embodiment. That is, handwritten character data mixed with kana and kanji is converted to kanji. Then, the determination of the conversion unit and the kana-kanji conversion process (steps S53 to S54) are repeated, and the process ends when the last conversion unit kana-kanji conversion is completed (step S55).
図12の42は、変換後のデータの例を示す。例えば、前述の変換例1によれば、入力データ41の「変かんせいどの」を変換単位とし、この変換単位に含まれる漢字「変」の読みを辞書から「へん」と求め、「へんかんせいど」を検索対象として仮名漢字変換辞書を検索し、「変換精度」と変換する。ここで「変換精度」が熟語として登録されていなけば、「変換」と「精度」に分けて変換しても良い。また、前述の変換例1に限らず、変換例2や変換例3、或いはこれらの組み合わせによって変換しても良い。
このように本実施形態2によれば、書き流しモードで入力した手描き文字データを後から変換することができる。従って、会議や打ち合わせ等において、紙にメモをとるように手描き入力が行え、且つ手描き入力したデータを時間のある時に後から仮名漢字変換して清書するといったことができ、手描き入力の利便性が向上する。 As described above, according to the second embodiment, handwritten character data input in the writing mode can be converted later. Therefore, handwritten input can be made like taking notes on paper at meetings and meetings, and handwritten input data can be converted to kana-kanji after a certain amount of time and printed, making it convenient for handwritten input. improves.
〈その他〉
本発明は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。
例えば、以下に付記した構成であっても上述の実施形態と同様の効果が得られる。また、これらの構成要素は可能な限り組み合わせることができる。
<Others>
The present invention is not limited to the illustrated examples described above, and various modifications can be made without departing from the scope of the present invention.
For example, the same effects as those of the above-described embodiment can be obtained even with the configurations described below. These components can be combined as much as possible.
(付記1)
ユーザによって入力された文字の軌跡を一連の座標データとして検出するステップと、
前記ステップで検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとするステップと、
前記手描き文字データに基づき表示領域に手描き文字を表示させるステップと、
をコンピュータが実行する手描き入力方法。
(Appendix 1)
Detecting a trajectory of a character input by a user as a series of coordinate data;
Delimiting the series of coordinate data detected in the step based on a predetermined condition, and setting each delimited coordinate data as hand-drawn character data;
Displaying hand-drawn characters in a display area based on the hand-drawn character data;
A computer-implemented hand-drawn input method.
(付記2)
前記手描き文字をそれぞれ、所定の書式情報に基づいて前記表示領域に配列させる付記1に記載の手描き入力方法。
(Appendix 2)
The handwriting input method according to
(付記3)
前記手描き文字データの文字認識を行い、当該手描き文字データの文字コードを特定し、各手描き文字データと文字コードを対応付けて記憶部に記憶させるステップを実行する付記1又は2に記載の手描き入力方法。
(Appendix 3)
The hand-drawn input according to
(付記4)
連続する前記文字コードを辞書データと比較して、単語又は文節の区切りの情報を求め、前記書式情報に追加するステップを実行する付記3に記載の手描き入力方法。
(Appendix 4)
The handwritten input method according to
(付記5)
文字コードが入力された場合に、前記当該文字コードと対応する手描き文字データを記憶部から読み出して出力するステップを実行する付記4に記載の手描き入力方法。
(Appendix 5)
The handwriting input method according to
(付記6)
アンダーライン、取り消し線、罫線、網掛け、太字、イタリック体、右寄せ、左寄せ、
センターリングの少なくとも一つの修飾を行うための属性情報を前記手描き文字に付加する付記1乃至5の何れか1項に記載の手描き入力方法。
(Appendix 6)
Underline, strikethrough, ruled line, shaded, bold, italic, right justified, left justified,
The hand-drawn input method according to any one of
(付記7)
前記表示領域が、表形式の入力欄である付記1乃至6の何れか1項に記載の手描き入力方法。
(Appendix 7)
The handwriting input method according to any one of
(付記8)
前記手描き文字データに仮名及び漢字が含まれているか否かを判定するステップと、
前記手描き文字データに仮名及び漢字が含まれている場合に、当該仮名と当該漢字を逆変換した仮名との組み合わせを仮名漢字変換辞書を参照して漢字に変換するステップと、を実行する付記1乃至7の何れか1項に記載の手描き入力方法。
(Appendix 8)
Determining whether the hand-drawn character data includes kana and kanji; and
A
(付記9)
前記手描き文字データに仮名漢字混じりの単語が含まれているか否かを判定するステップと、
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、仮名漢字混じりの単語と当該仮名を漢字とした単語とを対応付けた仮名漢字混在辞書を参照して、仮名漢字混じりの単語を対応する漢字の単語に変換するステップを実行する付記1乃至8の何れか1項に記載の手描き入力方法。
(Appendix 9)
Determining whether the hand-drawn character data includes words mixed with kana and kanji; and
If the hand-drawn character data includes words mixed with kana and kanji, refer to the kana-kanji mixed dictionary that associates kana-kanji mixed words and words with kana as kanji, and mixes kana-kanji mixed words 9. The hand-drawn input method according to any one of
(付記10)
前記手描き文字データに仮名漢字混じりの単語が含まれているか否かを判定するステップと、
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、変換結果としての漢字の単語と、当該単語の読み仮名を当該漢字の一文字毎に区切ったインデックスとを対応付けた区切り付き辞書を参照して、仮名漢字混じりの単語を、当該単語の仮名部分と前記インデックスとが一致する単語に変換するステップを実行する付記1乃至9の何れか1項に記載の手描き入力方法。
(Appendix 10)
Determining whether the hand-drawn character data includes words mixed with kana and kanji; and
When the hand-drawn character data includes words mixed with kana-kanji characters, a delimited dictionary that associates kanji words as a conversion result with an index that divides the reading kana of the words for each character of the kanji The handwritten input method according to any one of
(付記11)
ユーザによって入力された文字の軌跡を一連の座標データとして検出するステップと、
前記ステップで検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとするステップと、
前記手描き文字データに基づき表示領域に手描き文字を表示させるステップと、
をコンピュータに実行させるための手描き入力プログラム。
(Appendix 11)
Detecting a trajectory of a character input by a user as a series of coordinate data;
Delimiting the series of coordinate data detected in the step based on a predetermined condition, and setting each delimited coordinate data as hand-drawn character data;
Displaying hand-drawn characters in a display area based on the hand-drawn character data;
Hand-drawn input program to make a computer execute.
(付記12)
前記手描き文字をそれぞれ、所定の書式情報に基づいて前記表示領域に配列させる付記11に記載の手描き入力プログラム。
(Appendix 12)
The hand-drawn input program according to
(付記13)
前記手描き文字データの文字認識を行い、当該手描き文字データの文字コードを特定し、各手描き文字データと文字コードを対応付けて記憶部に記憶させるステップを実行する付記11又は12に記載の手描き入力プログラム。
(Appendix 13)
The hand-drawn input according to
(付記14)
連続する前記文字コードを辞書データと比較して、単語又は文節の区切りの情報を求め、前記書式情報に追加するステップを実行する付記13に記載の手描き入力プログラム。
(Appendix 14)
14. The handwritten input program according to
(付記15)
文字コードが入力された場合に、前記当該文字コードと対応する手描き文字データを記憶部から読み出して出力するステップを実行する付記14に記載の手描き入力プログラム。
(Appendix 15)
15. The handwriting input program according to
(付記16)
アンダーライン、取り消し線、罫線、網掛け、太字、イタリック体、右寄せ、左寄せ、センターリングの少なくとも一つの修飾を行うための属性情報を前記手描き文字に付加する付記11乃至15の何れか1項に記載の手描き入力プログラム。
(Appendix 16)
Any one of
(付記17)
前記表示領域が、表形式の入力欄である付記11乃至16の何れか1項に記載の手描き入力プログラム。
(Appendix 17)
The handwritten input program according to any one of
(付記18)
前記手描き文字データに仮名及び漢字が含まれているか否かを判定するステップと、
前記手描き文字データに仮名及び漢字が含まれている場合に、当該仮名と当該漢字を逆変換した仮名との組み合わせを仮名漢字変換辞書を参照して漢字に変換するステップと、を実行する付記11乃至17の何れか1項に記載の手描き入力プログラム。
(Appendix 18)
Determining whether the hand-drawn character data includes kana and kanji; and
And a step of converting a combination of the kana and the kana obtained by inversely converting the kanji into kanji with reference to the kana-kanji conversion dictionary when the hand-drawn character data includes kana and kanji. 18. The hand-drawn input program according to any one of items 17 to 17.
(付記19)
前記手描き文字データに仮名漢字混じりの単語が含まれているか否かを判定するステップと、
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、仮名漢字混じりの単語と当該仮名を漢字とした単語とを対応付けた仮名漢字混在辞書を参照して、仮名漢字混じりの単語を対応する漢字の単語に変換するステップを実行する付記11乃至18の何れか1項に記載の手描き入力プログラム。
(Appendix 19)
Determining whether the hand-drawn character data includes words mixed with kana and kanji; and
If the hand-drawn character data includes words mixed with kana and kanji, refer to the kana-kanji mixed dictionary that associates kana-kanji mixed words and words with kana as kanji, and mixes kana-kanji mixed words 19. The hand-drawn input program according to any one of
(付記20)
前記手描き文字データに仮名漢字混じりの単語が含まれているか否かを判定するステップと、
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、変換結果としての漢字の単語と、当該単語の読み仮名を当該漢字の一文字毎に区切ったインデックスとを対応付けた区切り付き辞書を参照して、仮名漢字混じりの単語を、当該単語の仮名部分と前記インデックスとが一致する単語に変換するステップを実行する付記11乃至19の何れか1項に記載の手描き入力プログラム。
(Appendix 20)
Determining whether the hand-drawn character data includes words mixed with kana and kanji; and
When the hand-drawn character data includes words mixed with kana-kanji characters, a delimited dictionary that associates kanji words as a conversion result with an index that divides the reading kana of the words for each character of the kanji The hand-drawn input program according to any one of
(付記21)
ユーザによって入力された文字の軌跡を一連の座標データとして検出する入力検出部と、
前記入力検出部で検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとする文字区切り認識部と、
前記手描き文字データに基づき表示領域に手描き文字を表示させる表示制御部と、
を備えた手描き入力装置。
(Appendix 21)
An input detection unit for detecting a locus of characters input by the user as a series of coordinate data;
A character delimiter recognition unit that delimits a series of coordinate data detected by the input detection unit based on a predetermined condition, and sets each delimited coordinate data as hand-drawn character data;
A display control unit for displaying hand-drawn characters in a display area based on the hand-drawn character data;
Hand-drawn input device equipped with.
(付記22)
前記手描き文字をそれぞれ、所定の書式情報に基づいて前記表示領域に配列させる付記21に記載の手描き入力装置。
(Appendix 22)
The hand-drawn input device according to
(付記23)
前記手描き文字データの文字認識を行い、当該手描き文字データの文字コードを特定し、各手描き文字データと文字コードを対応付けて記憶部に記憶させる文字属性認識部を備える付記21又は22に記載の手描き入力装置。
(Appendix 23)
The
(付記24)
前記文字属性認識部が、連続する前記文字コードを辞書データと比較して、単語又は文節の区切りの情報を求め、前記書式情報に追加する付記23に記載の手描き入力装置。
(Appendix 24)
24. The handwritten input device according to appendix 23, wherein the character attribute recognition unit compares the continuous character code with dictionary data to obtain word or phrase break information and adds it to the format information.
(付記25)
前記表示制御部が、文字コードが入力された場合に、前記当該文字コードと対応する手描き文字データを記憶部から読み出して出力する付記24に記載の手描き入力装置。
(Appendix 25)
25. The handwriting input device according to appendix 24, wherein, when a character code is input, the display control unit reads out and outputs handwritten character data corresponding to the character code from a storage unit.
(付記26)
前記文字属性認識部が、アンダーライン、取り消し線、罫線、網掛け、太字、イタリック体、右寄せ、左寄せ、センターリングの少なくとも一つの修飾を行うための属性情報を前記手描き文字に付加する付記21乃至25の何れか1項に記載の手描き入力装置。
(Appendix 26)
(付記27)
前記表示領域が、表形式の入力欄である付記21乃至26の何れか1項に記載の手描き入力装置。
(Appendix 27)
27. The handwritten input device according to any one of
(付記28)
前記文字属性認識部が、
前記手描き文字データに仮名及び漢字が含まれているか否かを判定し、
前記手描き文字データに仮名及び漢字が含まれている場合に、当該仮名と当該漢字を逆変換した仮名との組み合わせを仮名漢字変換辞書を参照して漢字に変換する
付記21乃至27の何れか1項に記載の手描き入力装置。
(Appendix 28)
The character attribute recognition unit
Determine whether the hand-drawn character data includes kana and kanji,
Any one of
(付記29)
前記文字属性認識部が、
前記手描き文字データに仮名漢字混じりの単語が含まれているか否かを判定し、
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、仮名漢字混じりの単語と当該仮名を漢字とした単語とを対応付けた仮名漢字混在辞書を参照して、仮名漢字混じりの単語を対応する漢字の単語に変換する
付記21乃至28の何れか1項に記載の手描き入力装置。
(Appendix 29)
The character attribute recognition unit
It is determined whether the hand-drawn character data includes words mixed with kana and kanji,
If the hand-drawn character data includes words mixed with kana and kanji, refer to the kana-kanji mixed dictionary that associates kana-kanji mixed words and words with kana as kanji, and mixes kana-kanji mixed words 29. The hand-drawn input device according to any one of
(付記30)
前記文字属性認識部が、
前記手描き文字データに仮名漢字混じりの単語が含まれているか否かを判定し、
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、変換結果としての漢字の単語と、当該単語の読み仮名を当該漢字の一文字毎に区切ったインデックスとを対応付けた区切り付き辞書を参照して、仮名漢字混じりの単語を、当該単語の仮名部分と前記インデックスとが一致する単語に変換する
付記21乃至29の何れか1項に記載の手描き入力装置。
(Appendix 30)
The character attribute recognition unit
It is determined whether the hand-drawn character data includes words mixed with kana and kanji,
When the hand-drawn character data includes words mixed with kana-kanji characters, a delimited dictionary that associates kanji words as a conversion result with an index that divides the reading kana of the words for each character of the kanji The handwritten input device according to any one of
1 手描き入力装置
16 演算処理部
13 記憶部(ハードディスク)
14 入出力ポート
15 通信制御部
1 Hand-drawn
14 I /
Claims (12)
前記ステップで検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとするステップと、
前記手描き文字データに基づき表示領域に手描き文字を表示させるステップと、
をコンピュータが実行する手描き入力方法。 Detecting a trajectory of a character input by a user as a series of coordinate data;
Delimiting the series of coordinate data detected in the step based on a predetermined condition, and setting each delimited coordinate data as hand-drawn character data;
Displaying hand-drawn characters in a display area based on the hand-drawn character data;
A computer-implemented hand-drawn input method.
前記手描き文字データに仮名及び漢字が含まれている場合に、当該仮名と当該漢字を逆変換した仮名との組み合わせを仮名漢字変換辞書を参照して漢字に変換するステップと、を実行する請求項1乃至7の何れか1項に記載の手描き入力方法。 Determining whether the hand-drawn character data includes kana and kanji; and
A step of converting a combination of the kana and the kana obtained by reversely converting the kanji into a kanji by referring to the kana-kanji conversion dictionary when the hand-drawn character data includes kana and kanji. 8. The hand-drawn input method according to any one of 1 to 7.
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、仮名漢字混じりの単語と当該仮名を漢字とした単語とを対応付けた仮名漢字混在辞書を参照して、仮名漢字混じりの単語を対応する漢字の単語に変換するステップを実行する請求項1乃至8の何れか1項に記載の手描き入力方法。 Determining whether the hand-drawn character data includes words mixed with kana and kanji; and
If the hand-drawn character data includes words mixed with kana and kanji, refer to the kana-kanji mixed dictionary that associates kana-kanji mixed words and words with kana as kanji, and mixes kana-kanji mixed words The hand-drawing input method according to claim 1, wherein a step of converting the word into a corresponding kanji word is executed.
前記手描き文字データに仮名漢字混じりの単語が含まれている場合に、変換結果としての漢字の単語と、当該単語の読み仮名を当該漢字の一文字毎に区切ったインデックスとを対応付けた区切り付き辞書を参照して、仮名漢字混じりの単語を、当該単語の仮名部分と前記インデックスとが一致する単語に変換するステップを実行する請求項1乃至9の何れか1項に記載の手描き入力方法。 Determining whether the hand-drawn character data includes words mixed with kana and kanji; and
When the hand-drawn character data includes words mixed with kana-kanji characters, a delimited dictionary that associates kanji words as a conversion result with an index that divides the reading kana of the words for each character of the kanji The handwritten input method according to any one of claims 1 to 9, wherein a step of converting a kana-kanji mixed word into a word in which the kana part of the word matches the index is executed.
前記ステップで検出した一連の座標データを所定条件に基づいて区切り、区切られた各
座標データを手描き文字データとするステップと、
前記手描き文字データに基づき表示領域に手描き文字を表示させるステップと、
をコンピュータに実行させるための手描き入力プログラム。 Detecting a trajectory of a character input by a user as a series of coordinate data;
Delimiting the series of coordinate data detected in the step based on a predetermined condition, and setting each delimited coordinate data as hand-drawn character data;
Displaying hand-drawn characters in a display area based on the hand-drawn character data;
Hand-drawn input program to make a computer execute.
前記入力検出部で検出した一連の座標データを所定条件に基づいて区切り、区切られた各座標データを手描き文字データとする文字区切り認識部と、
前記手描き文字データに基づき表示領域に手描き文字を表示させる表示制御部と、
を備えた手描き入力装置。 An input detection unit for detecting a locus of characters input by the user as a series of coordinate data;
A character delimiter recognition unit that delimits a series of coordinate data detected by the input detection unit based on a predetermined condition, and sets each delimited coordinate data as hand-drawn character data;
A display control unit for displaying hand-drawn characters in a display area based on the hand-drawn character data;
Hand-drawn input device equipped with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011232948A JP2012108893A (en) | 2010-10-22 | 2011-10-24 | Hand-written entry method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010238035 | 2010-10-22 | ||
JP2010238035 | 2010-10-22 | ||
JP2011232948A JP2012108893A (en) | 2010-10-22 | 2011-10-24 | Hand-written entry method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012108893A true JP2012108893A (en) | 2012-06-07 |
Family
ID=46494397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011232948A Pending JP2012108893A (en) | 2010-10-22 | 2011-10-24 | Hand-written entry method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012108893A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015521775A (en) * | 2012-06-27 | 2015-07-30 | ゼットティーイー コーポレーションZte Corporation | Intelligent terminal text input display method and apparatus |
KR20180048774A (en) * | 2015-08-25 | 2018-05-10 | 마이스크립트 | System and method of digital note taking |
CN114241090A (en) * | 2021-12-31 | 2022-03-25 | 广州朗国电子科技股份有限公司 | OCR-based electronic whiteboard straight line drawing method, system, equipment and medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57161894A (en) * | 1981-03-31 | 1982-10-05 | Fujitsu Ltd | Character string input system |
JPH06119321A (en) * | 1992-10-02 | 1994-04-28 | Toshiba Corp | Document preparing device |
JPH06223054A (en) * | 1993-01-21 | 1994-08-12 | Sharp Corp | Character processor with handwriting input function |
JPH06231308A (en) * | 1993-02-05 | 1994-08-19 | Matsushita Electric Ind Co Ltd | Method and device for processing handwritten document |
JPH07182449A (en) * | 1993-12-22 | 1995-07-21 | Matsushita Electric Ind Co Ltd | Handwritten input data processor |
JPH09146944A (en) * | 1995-11-20 | 1997-06-06 | Ee I Soft Kk | Japanese syllabary and chinese character converting device |
JPH09259225A (en) * | 1996-03-21 | 1997-10-03 | Sanyo Electric Co Ltd | Character recognizing and converting method and character data processor |
JPH11110572A (en) * | 1997-09-30 | 1999-04-23 | Nec Corp | Handwritten input display and machine-readable record medium recorded with program |
JP2003058526A (en) * | 2001-08-21 | 2003-02-28 | Jes:Kk | Method and device for outputting handwritten character |
JP2009025420A (en) * | 2007-07-17 | 2009-02-05 | Canon Inc | Display control device and method |
-
2011
- 2011-10-24 JP JP2011232948A patent/JP2012108893A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57161894A (en) * | 1981-03-31 | 1982-10-05 | Fujitsu Ltd | Character string input system |
JPH06119321A (en) * | 1992-10-02 | 1994-04-28 | Toshiba Corp | Document preparing device |
JPH06223054A (en) * | 1993-01-21 | 1994-08-12 | Sharp Corp | Character processor with handwriting input function |
JPH06231308A (en) * | 1993-02-05 | 1994-08-19 | Matsushita Electric Ind Co Ltd | Method and device for processing handwritten document |
JPH07182449A (en) * | 1993-12-22 | 1995-07-21 | Matsushita Electric Ind Co Ltd | Handwritten input data processor |
JPH09146944A (en) * | 1995-11-20 | 1997-06-06 | Ee I Soft Kk | Japanese syllabary and chinese character converting device |
JPH09259225A (en) * | 1996-03-21 | 1997-10-03 | Sanyo Electric Co Ltd | Character recognizing and converting method and character data processor |
JPH11110572A (en) * | 1997-09-30 | 1999-04-23 | Nec Corp | Handwritten input display and machine-readable record medium recorded with program |
JP2003058526A (en) * | 2001-08-21 | 2003-02-28 | Jes:Kk | Method and device for outputting handwritten character |
JP2009025420A (en) * | 2007-07-17 | 2009-02-05 | Canon Inc | Display control device and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015521775A (en) * | 2012-06-27 | 2015-07-30 | ゼットティーイー コーポレーションZte Corporation | Intelligent terminal text input display method and apparatus |
KR20180048774A (en) * | 2015-08-25 | 2018-05-10 | 마이스크립트 | System and method of digital note taking |
KR102382899B1 (en) | 2015-08-25 | 2022-04-04 | 마이스크립트 | Systems and methods of digital note taking |
CN114241090A (en) * | 2021-12-31 | 2022-03-25 | 广州朗国电子科技股份有限公司 | OCR-based electronic whiteboard straight line drawing method, system, equipment and medium |
CN114241090B (en) * | 2021-12-31 | 2022-11-04 | 广州朗国电子科技股份有限公司 | OCR-based electronic whiteboard straight line drawing method, system, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5734749A (en) | Character string input system for completing an input character string with an incomplete input indicative sign | |
EP1564675B1 (en) | Apparatus and method for searching for digital ink query | |
KR102473543B1 (en) | Systems and methods for digital ink interaction | |
JP2007317022A (en) | Handwritten character processor and method for processing handwritten character | |
JP2001005599A (en) | Information processor and information processing method an d recording medium recording information processing program | |
JPH06332610A (en) | Handwritten information input processing system | |
JP2003162687A (en) | Handwritten character-inputting apparatus and handwritten character-recognizing program | |
US8073258B2 (en) | Using handwriting recognition in computer algebra | |
JP5037491B2 (en) | Omitted handwriting of ideographic language phrases by supplying less than the total number of given (one or more) characters, or fewer than the total number of strokes of the character, or both input | |
US20170322913A1 (en) | Stylizing text by replacing glyph with alternate glyph | |
US8849034B2 (en) | System, method, and apparatus for triggering recognition of a handwritten shape | |
JP2012108893A (en) | Hand-written entry method | |
US11727005B2 (en) | Fill in the blanks word completion system | |
US10127478B2 (en) | Electronic apparatus and method | |
US20160283446A1 (en) | Input assistance device, input assistance method and storage medium | |
KR20090035409A (en) | Character input device | |
JP2010026718A (en) | Character input device and method | |
KR101159323B1 (en) | Handwritten input for asian languages | |
JP4466241B2 (en) | Document processing method and document processing apparatus | |
JP2013025390A (en) | Handwriting input method | |
WO2016031016A1 (en) | Electronic device, method, and program | |
JP5233424B2 (en) | Search device and program | |
JPH0677252B2 (en) | Japanese data input processor | |
WO2006090404A1 (en) | System, method, and apparatus for accomodating variability in chunking the sub-word units of online handwriting | |
JP2020013460A (en) | Information processing device, character recognition method, and character recognition program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20130329 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140901 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150611 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150623 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20151020 |