[go: up one dir, main page]

JPH0381186B2 - - Google Patents

Info

Publication number
JPH0381186B2
JPH0381186B2 JP57026940A JP2694082A JPH0381186B2 JP H0381186 B2 JPH0381186 B2 JP H0381186B2 JP 57026940 A JP57026940 A JP 57026940A JP 2694082 A JP2694082 A JP 2694082A JP H0381186 B2 JPH0381186 B2 JP H0381186B2
Authority
JP
Japan
Prior art keywords
stroke
input
character
coordinate
key
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 - Lifetime
Application number
JP57026940A
Other languages
Japanese (ja)
Other versions
JPS58144249A (en
Inventor
Masayuki Hakata
Susumu Takashima
Naoki Inagaki
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP57026940A priority Critical patent/JPS58144249A/en
Publication of JPS58144249A publication Critical patent/JPS58144249A/en
Publication of JPH0381186B2 publication Critical patent/JPH0381186B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Calculators And Similar Devices (AREA)
  • Character Discrimination (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は文字を書くようにしてキーボード上を
指でなぞることにより文字を入力するキー入力装
置に関する。 近年、例えばトランスレータや電子メモ、
BASICプログラムの組める小型電子式計算機な
ど、アルフアベツト文字の入力を可能とした電子
機器が商品化されている。しかし、この種電子機
器は文字数分のキーを必要とするため、キーの数
が増え、キーボードの面積を多く占有すると共
に、所望の文字のキーを見付けるまでに時間がか
かり、操作性が悪いという問題があつた。 一方、手書き入力装置というものも一般に存在
する。しかし、これらは、電磁結合型タブレツ
ト、感圧ゴムなどを用いた座標入力となつてお
り、入力装置の構造が複雑となり、コストが高く
なると共に情報量が多く(例えばX座標、Y座標
共に0〜500など)、メモリを大量に必要とし、処
理も複雑になるという問題があつた。 本発明は上記の点に鑑みてなされたもので、普
通の計算に使われるテンキー,フアンクシヨンキ
ーなどを利用して少ないキーで手書き入力を行な
うことができるキー入力装置を提供することを目
的とする。 以下図面を参照して本発明を小型電子式計算機
に実施した場合について詳細に説明する。第1図
は外観構成を示すもので、ケース本体1の上面に
表示部2及びキーボード3が設けられている。上
記表示部2は、例えば液晶表示素子を用いて上下
2段の表示部2a,2bを構成しており、5×7
のドツトにより0〜9の数字、A〜Zのアルフア
ベツト、+,−,×,÷の演算記号等が所定の桁数分
だけ表示できるようになつている。また、キーボ
ード3は、例えばテンキー,フアンクシヨンキー
等を5×6のマトリクス状に配列し、手書き入力
部4を構成している。さらに、キーボード3に
は、電源をオン,オフする「NO」,「OFF」キ
ー、「AC」(オールクリア)キー、「C」(クリア)
キー、電子メモ用に「MEMO」キー、電子メモ
の記憶内容を読出す「↑」「↓」キー及びモード
1とモード2とを切換える「モード」キー5を備
えている。上記モード1は計算モードであり、各
キーは各キー本来の機能を持ち、また、モード2
はマトリクス入力モードで、手書き入力部4から
手書き文字の入力が可能となる。 しかして、このマトリクス入力モードにおい
て、手書き入力部4の5×6個のキー上を指でな
ぞることにより0〜9の数字、A〜Zのアルフア
ベツト、+,−,×,÷の演算記号等を入力し表示さ
せることができる。そして上記「MEMO」キー
を押すことにより表示中の文字データが電子メモ
に記憶される。また、手書きで入力した文字は内
部回路で認識されるため、たとえば「5+2=」
のように入力すればこの数字及び演算記号を認識
して計算も行なうことができるようになつてい
る。 次に上記ケース本体1内に設けられた電子回路
の構成について第2図により説明する。なお、第
2図は上記マトリクス入力モードにおける認識機
能を説明するための機能ブロツク図であり、演算
機能、電子メモ機能等に関連する部分は省略して
ある。第2図において、11はキー入力部で、第
1図におけるキーボード3のキー操作に応じてキ
ー入力データを発生する。すなわち、キー入力部
11は、計算モードにおいては各キー本来の機能
に対するコードを発生し、マトリクス入力モード
では、手書き入力部4における操作キーの座標デ
ータを発生する。勿論、押されたキーからは通常
のキーコードが発生するが、そのキーコードを変
換処理して座標データを作成し出力するものであ
る。そして、キー入力部11からの座標データ
は、入力パターンメモリ12へ送られてパターン
データとして記憶される。この入力パターンメモ
リ12に記憶されたパターンデータは、画数抽出
ブロツク13へ送られて画数が抽出され、画数メ
モリ14に記憶されると共に、さらに、ストロー
ク特徴抽出ブロツク15によりストローク特徴が
抽出されてストローク特徴メモリ16に記憶され
る。上記画数メモリ14及びストローク特徴メモ
リ16に記憶された入力文字の画数及びストロー
ク特徴はマツチングブロツク17へ送られ、標準
パターンメモリ18から順次読出される標準パタ
ーンと比較される。上記標準パターンメモリ18
には、画数順に文字キヤラクタと、その標準パタ
ーンに対するストローク特徴、と標準パターンが
同じ文字に対してはその方向特徴が記憶されてい
る。マツチングブロツク17は、画数メモリ14
に書込まれている画数と同じ画数を持つ標準パタ
ーンのストローク特徴を標準パターンメモリ18
から順次読出し、入力パターンのストローク特徴
と比較して文字認識を行なう。なお、同じストロ
ーク特徴を有する複数の文字が存在する場合に
は、上記ストローク特徴抽出ブロツク15で入力
パターンの方向特徴が抽出されてストローク特徴
メモリ16に記憶され、この方向特徴と標準パタ
ーンメモリ18から読出された標準パターンの方
向特徴とをマツチングブロツク17が再び比較し
て文字認識を行なう。そして、マツチングブロツ
ク17は、認識された文字に従つてキヤラクタジ
エネレータ19をアクセスし、ドツトパターンを
発生させて表示部1に表示させる。 上記ストローク特徴とは、文字入力のストロー
クの方向と時間順序について示したものである。
すなわち、ストロークの方向を第3図に示すよう
にX−Y座標の+X方向を「1」、−X方向を
「3」、+Y方向を「2」、−Y方向を「4」の方向
と規定する。そして、上記のストローク特徴を各
文字毎に画数に応じて設定し、標準パターンとし
て標準パターンメモリ18に予め記憶しておく。
例えばアルフアベツトのAの文字であれば、第4
図aに示すように2画で書く場合と、第4図bに
示すように3画で書く場合が考えられるので、そ
れぞれの場合について標準パターンを設定する。
2画でAを書く場合、標準パターンメモリ18に
は、第4図aに示すように画数記憶部18aにア
ルフアベツト文字Aの画数として「2」を書込む
と共に、ストローク特徴をX,Yの方向とその方
向変化についてストローク特徴記憶部8bに書込
む。このストローク特徴記憶部18bは、各スト
ローク毎に2桁のデータを記憶できるもので、上
記桁にX,Yの方向を示すデータ、下位桁にその
方向変化を示すデータを記憶するようになつてい
る。そして、2画のAにおいては、第1ストロー
クの前半つまり下端から上端に向かう間では、X
座標が「1」方向、Y座標が「2」方向となるの
で、その値を上位桁に書込む。また、この第1ス
トロークの前半では、方向の変化が無いので、数
値としては「1」を下位桁に書込む。そして、第
1ストロークの後半、つまり上端から下端に向か
う間では、X座標では方向はストローク前半と同
じで変化がないので追加データはない。しかし、
Y座標では方向が「4」方向に変化するので、
「2」のデータに続いて1桁目に「4」を書込む
と共に、2桁目に方向の変化を示す「2」のデー
タを書込む。ここで第1ストロークを終了するの
で、次にストロークエンドマークを書込む。そし
て、第2ストロークでは、Y座標の変化が無いの
で、X座標についてのみ方向「1」、方向変化
「1」のデータを書込む。以上で2画のAに対す
るストローク特徴が終了するので、第2ストロー
クデータに続いてキヤラクタエンドマークを書込
む。 また、3画のAの場合には、第4図bに示すよ
うに画数記憶部18aに画数「3」を書込むと共
に、ストローク特徴記憶部18bに上記の場合と
同様にしてストローク特徴を設定する。すなわ
ち、第1ストロークはX座標が「3」方向、Y座
標が「4」方向であり、方向の変化はないのでそ
の値は共に「1」である。第2ストロークはX座
標が「1」方向、Y座標が「4」方向であり、方
向の変化値は「1」である。第3ストロークはX
座標が「1」方向で、方向の変化値は「1」であ
る。なお、第3ストロークではY座標の偏位はな
い。以下同様にして他のアルフアベツト文字、数
字、+,−,×,÷等の記号についても特徴及びスト
ローク特徴を標準パターンメモリ18に予め記憶
しておく。なお、上記標準パターンは、文字によ
つては全く同じパターンとなるものがある。例え
ば第4図cに示すようにアルフアベツトの「D」
と「P」の文字の場合は、画数とストローク特徴
が全く同じになる。従つてこのような文字に対し
ては、各ストロークと次のストロークとの始点同
士、終点同士の距離を比較してその差が「2」以
上の場合に方向特徴を付け、標準パターンメモリ
18の方向特徴記憶部18cに予め記憶してお
く。例えば「D」の場合は第4図dに示すよう
に、第1ストロークと第2ストロークは始点,終
点がそれぞれ同じ位置にあるので、方向特徴はX
座標及びY座標において全て「0」である。ま
た、「P」の場合は第4図eに示すように第1ス
トロークと第2ストロークは、始点は同じ位置で
あるが、終点が異なつた位置となつている。すな
わわち、第2ストロークの終点は第1ストローク
の終点よりY座標においてのみ「2」方向に離れ
ているので、第2ストロークのY座標にのみ方向
特徴として「2」を設定する。その他の第1スト
ロークのX,Y座標及び第2ストロークのX座標
は「0」である。また、文字が1画の場合は、そ
のストロークの始点と終端の距離から方向特徴を
設定する。さらに、標準パターンメモリ18に
は、各文字キヤラクタ毎にフラグメモリが設けら
れており、入力データと画数が一致している標準
パターンのフラグメモリに“1”を記憶するよう
になつている。 なお、キーの上を指でなぞるわけであるから、
1度に複数のキーを押してしまうことになる。そ
こで、本実施例では、X方向あるいはY方向に3
個以上のキーが押されたとき、はじめて方向特徴
を検出するようにしている。 次に上記実施例の動作を説明する。計算を行な
う場合は「モード」キー5によりモード1を指定
するが、この場合のキー入力処理は従来と同様で
あるので、その動作については説明を省略する。
手書き入力を行なう場合は、「モード」キー5に
よりモード2を指定し、マトリクス入力モードと
する。そして、手書き入力部4に設けられている
キー、つまり、5×6のマトリクス配置されてい
るキーの上を指でなぞつて文字を入力する。今例
えばAの文字を〓〓のように3画で入力したもの
とする。第5図aは上記Aの文字を指でなぞつて
入力した時の第1ストロークにおけるキー操作順
位、同図bは第2ストロークにおけるキー操作順
位、同図cは第3ストロークにおけるキー操作順
位の一例を示したものである。上記のキー操作に
よつて第2図のキー入力部11から座標データが
出力され、入力パターンメモリ12に書込まれ
る。例えば第5図aに示す第1ストロークにおい
て、のキーには座標データ〔1,3〕、のキ
ーには座標データ〔2,3〕、のキーには座標
データ〔2,2〕、のキーには座標データ〔3,
2〕が出力される。上記の座標データは各ストロ
ークの最後のストロークエンドマークと最終のス
トロークの最後のキヤラクタエンドマークと共に
1ストローク単位で入力パターンメモリ12に書
込まれる。しかして、この場合の入力パターンメ
モリ12に書込まれたパターンデータを次の表1
に示す。
The present invention relates to a key input device for inputting characters by tracing a keyboard with a finger as if writing a character. In recent years, for example, translators and electronic memos,
Electronic devices that can input alphabetic characters, such as small electronic calculators that can be programmed with BASIC programs, have been commercialized. However, since this type of electronic device requires keys for each character, the number of keys increases, taking up a large amount of keyboard space, and it takes time to find the key with the desired character, making it difficult to operate. There was a problem. On the other hand, handwriting input devices also generally exist. However, these input coordinates using electromagnetic coupling tablets, pressure-sensitive rubber, etc., which complicates the structure of the input device, increases cost, and requires a large amount of information (for example, both the X and Y coordinates are 0). ~500, etc.), it required a large amount of memory and the processing was complicated. The present invention has been made in view of the above points, and an object of the present invention is to provide a key input device that can perform handwritten input with a small number of keys using a numeric keypad, function keys, etc. used for ordinary calculations. do. DESCRIPTION OF THE PREFERRED EMBODIMENTS A case in which the present invention is implemented in a small electronic calculator will be described in detail below with reference to the drawings. FIG. 1 shows the external configuration, in which a display section 2 and a keyboard 3 are provided on the upper surface of a case body 1. The display section 2 has two upper and lower display sections 2a and 2b using, for example, a liquid crystal display element, and has a size of 5×7.
The dots allow a predetermined number of digits to be displayed such as numbers 0 to 9, alphanumeric characters A to Z, and operation symbols such as +, -, x, and ÷. Further, the keyboard 3 has, for example, a numeric keypad, function keys, etc. arranged in a 5×6 matrix, and constitutes a handwriting input section 4. Furthermore, the keyboard 3 includes "NO" and "OFF" keys for turning the power on and off, an "AC" (all clear) key, and a "C" (clear) key.
key, a ``MEMO'' key for electronic memos, ``↑'' and ``↓'' keys for reading out the stored contents of electronic memos, and a ``mode'' key 5 for switching between mode 1 and mode 2. Mode 1 above is a calculation mode, each key has its original function, and mode 2
In the matrix input mode, handwritten characters can be input from the handwriting input section 4. In this matrix input mode, by tracing the 5 x 6 keys of the handwriting input unit 4 with your finger, you can input numbers 0 to 9, alphanumeric characters A to Z, operation symbols +, -, ×, ÷, etc. can be entered and displayed. Then, by pressing the "MEMO" key, the character data being displayed is stored in the electronic memo. Also, characters entered by hand are recognized by the internal circuit, so for example "5+2="
If you input something like this, you can recognize these numbers and operation symbols and perform calculations. Next, the configuration of the electronic circuit provided in the case body 1 will be explained with reference to FIG. 2. Note that FIG. 2 is a functional block diagram for explaining the recognition function in the matrix input mode, and parts related to the calculation function, electronic memo function, etc. are omitted. In FIG. 2, a key input section 11 generates key input data in response to key operations on the keyboard 3 in FIG. That is, the key input unit 11 generates a code for each key's original function in the calculation mode, and generates coordinate data of the operation keys in the handwriting input unit 4 in the matrix input mode. Of course, a normal key code is generated from the pressed key, but the key code is converted and coordinate data is created and output. The coordinate data from the key input unit 11 is then sent to the input pattern memory 12 and stored as pattern data. The pattern data stored in the input pattern memory 12 is sent to a stroke number extraction block 13, where the number of strokes is extracted, and stored in the stroke number memory 14. Furthermore, the stroke feature extraction block 15 extracts stroke features, and the stroke number is extracted. It is stored in the feature memory 16. The number of strokes and stroke characteristics of the input character stored in the stroke number memory 14 and stroke feature memory 16 are sent to a matching block 17 and compared with a standard pattern sequentially read out from a standard pattern memory 18. Standard pattern memory 18 above
stores character characters in order of the number of strokes, stroke characteristics for their standard patterns, and direction characteristics for characters with the same standard pattern. The matching block 17 is connected to the stroke number memory 14.
The stroke characteristics of the standard pattern having the same number of strokes as the number of strokes written in the standard pattern memory 18
The characters are sequentially read out from the input pattern and compared with the stroke characteristics of the input pattern to perform character recognition. If there are multiple characters having the same stroke feature, the stroke feature extraction block 15 extracts the direction feature of the input pattern and stores it in the stroke feature memory 16, and the direction feature is extracted from the standard pattern memory 18. The matching block 17 again compares the directional characteristics of the read standard pattern to perform character recognition. The matching block 17 then accesses the character generator 19 in accordance with the recognized characters to generate a dot pattern and display it on the display section 1. The above-mentioned stroke characteristics indicate the direction and time order of strokes in character input.
In other words, as shown in Figure 3, the stroke direction of the X-Y coordinates is "1" for the +X direction, "3" for the -X direction, "2" for the +Y direction, and "4" for the -Y direction. stipulate. Then, the above-mentioned stroke characteristics are set for each character according to the number of strokes, and are stored in advance in the standard pattern memory 18 as a standard pattern.
For example, if it is the letter A of Alphabet, the fourth
Since it is possible to write with two strokes as shown in Figure a, and with three strokes as shown in Figure 4B, standard patterns are set for each case.
When writing A with two strokes, in the standard pattern memory 18, as shown in FIG. and its direction change are written into the stroke characteristic storage section 8b. The stroke characteristic storage section 18b is capable of storing two-digit data for each stroke, and the above-mentioned digits store data indicating the X and Y directions, and the lower-order digits store data indicating changes in the direction. There is. In the two-stroke A, in the first half of the first stroke, that is, from the bottom to the top,
Since the coordinate is in the "1" direction and the Y coordinate is in the "2" direction, write that value in the upper digit. Also, in the first half of this first stroke, there is no change in direction, so as a numerical value, "1" is written in the lower digit. Then, in the second half of the first stroke, that is, from the top end to the bottom end, the direction in the X coordinate is the same as the first half of the stroke and there is no change, so there is no additional data. but,
In the Y coordinate, the direction changes to the "4" direction, so
Following the data "2", "4" is written in the first digit, and data "2" indicating a change in direction is written in the second digit. Since the first stroke ends here, a stroke end mark is written next. In the second stroke, since there is no change in the Y coordinate, data for direction "1" and direction change "1" is written only for the X coordinate. Since the stroke characteristics for the two strokes A are completed above, a character end mark is written following the second stroke data. In the case of A with three strokes, the number of strokes "3" is written in the stroke number storage section 18a as shown in FIG. 4b, and the stroke characteristics are set in the stroke characteristic storage section 18b in the same manner as in the above case. do. That is, in the first stroke, the X coordinate is in the "3" direction and the Y coordinate is in the "4" direction, and since there is no change in direction, their values are both "1". In the second stroke, the X coordinate is in the "1" direction, the Y coordinate is in the "4" direction, and the direction change value is "1". The third stroke is X
The coordinate is in the "1" direction, and the change value in the direction is "1". Note that there is no deviation of the Y coordinate in the third stroke. In the same manner, the characteristics and stroke characteristics of other alphanumeric characters, numbers, and symbols such as +, -, x, ÷, etc. are stored in advance in the standard pattern memory 18. Note that some of the above standard patterns have exactly the same pattern depending on the characters. For example, as shown in Figure 4c, the alpha alphabet “D”
In the case of the characters "P" and "P", the number of strokes and stroke characteristics are exactly the same. Therefore, for such characters, the distances between the starting points and ending points of each stroke and the next stroke are compared, and if the difference is "2" or more, a direction feature is added, and the distance is added to the standard pattern memory 18. It is stored in advance in the direction feature storage section 18c. For example, in the case of "D", as shown in Figure 4d, the starting point and ending point of the first stroke and the second stroke are at the same position, so the direction feature is
The coordinates and Y coordinates are all "0". Further, in the case of "P", as shown in FIG. 4e, the first stroke and the second stroke have starting points at the same position, but end points at different positions. That is, since the end point of the second stroke is separated from the end point of the first stroke in the direction of "2" only in the Y coordinate, "2" is set as the direction feature only in the Y coordinate of the second stroke. The other X, Y coordinates of the first stroke and the X coordinate of the second stroke are "0". Furthermore, if the character is one stroke, the direction feature is set from the distance between the starting point and the ending point of the stroke. Further, the standard pattern memory 18 is provided with a flag memory for each character character, and "1" is stored in the flag memory of the standard pattern whose number of strokes matches the input data. In addition, since you are tracing the top of the key with your finger,
You end up pressing multiple keys at once. Therefore, in this embodiment, three
The direction feature is detected only when more than 1 keys are pressed. Next, the operation of the above embodiment will be explained. When performing calculations, mode 1 is designated using the "mode" key 5, but since the key input process in this case is the same as the conventional one, a description of its operation will be omitted.
When handwriting input is to be performed, mode 2 is designated using the "mode" key 5 to set the matrix input mode. Then, the user inputs characters by tracing the keys provided in the handwriting input unit 4, that is, the keys arranged in a 5×6 matrix, with a finger. For example, suppose that the character A is input using three strokes like 〓〓. Figure 5a shows the order of key operations in the first stroke when the letter A is traced with a finger, b shows the order of key operations in the second stroke, and c shows the order of key operations in the third stroke. This is an example. By the above key operations, coordinate data is output from the key input section 11 in FIG. 2 and written into the input pattern memory 12. For example, in the first stroke shown in FIG. has coordinate data [3,
2] is output. The above coordinate data is written into the input pattern memory 12 on a stroke-by-stroke basis together with the last stroke end mark of each stroke and the last character end mark of the final stroke. Therefore, the pattern data written in the input pattern memory 12 in this case is shown in Table 1 below.
Shown below.

【表】【table】

【表】 なお、上記ストロークエンドマークは連続した
キー入力が途切れた際に書込まれ、キヤラクタエ
ンドマークは所定時間次のキー入力がない場合に
その文字の入力が終了したとして書込まれるもの
で、その後第6図に示すフローに従つて入力文字
の認識処理を行なわれる。 まず、第6図のステツプS1に示すように入力パ
ターンメモリ12に保持されている入力パターン
が画数抽出ブロツク13へ送られ、そのストロー
クエンドマークとキヤラクタエンドマークをカウ
ントすることにより画数が抽出され、画数メモリ
14に書込まれる。また、画数抽出ブロツク13
に与えられた入力パターンは、更にストローク特
徴抽出ブロツク15へ送られ、第6図のステツプ
S2に示すようにX方向ストローク特徴抽出が行な
われると共に、ステツプS3においてY方向ストロ
ーク特徴抽出が行なわれる。上記ステツプS2のX
方向ストローク特徴抽出については詳明を後述す
る。上記ステツプS2,S3に示すX方向及びY方向
のストローク特徴抽出は、夫々入力文字のストロ
ーク数だけ繰返して行なわれ、その抽出結果がス
トローク特徴メモリ16に書込まれる。その後、
ステツプS4に進み、画数マツチングをとる。すな
わち、画数メモリ14に保持している入力文字の
画数と、標準パターンメモリ18に記憶されてい
る各文字の画数との一致比較をマツチングブロツ
ク17で行ない、一致した文字に対し、標準パタ
ーンメモリ18内のフラグメモリにフラグ“1”
を立てる。次いでステツプS5に進み、フラグメモ
リにフラグ“1”が立つている文字について標準
パターンメモリ18からストローク特徴を順次読
出し、ストローク特徴メモリ16の保持内容と比
較してストローク特徴の一致する文字を探し出
す。上記ステツプS5のストローク特徴マツチング
については、詳細を後述する。そして、上記のマ
ツチング処理終了後、ステツプS6に進み、ステツ
プS5においてマツチングした文字の数が1文字か
あるいは2文字以上かを判断する。1文字であれ
ばその文字が入力文字として定まるので、文字認
識処理を終了するが、2文字以上の場合は、さら
にステツプS7に進んで始点,終点の方向特徴抽出
を行なうと共に、ステツプS8で始点,終点の特徴
マツチングを行なつて最終的に入力文字を決定す
る。上記ステツプS7については詳細を後述する。
以上のようにして入力文字の認識を行なつた後、
その認識結果に基づいてキヤラクタジエネレータ
19をアクセスし、ドツトパターンを発生させて
表示部1に表示する。 次に上記ステツプS2のX方向ストローク特徴抽
出の詳細について、第7図のフローチヤートによ
り説明する。マツチングブロツク17は、X方向
のストローク特徴抽出を行なう場合、まず、スト
ローク数Sを「1」として入力パターンの第1ス
トロークのデータを指定した後、第7図のステツ
プX1に示す初期値の設定を行なう。すなわち、
ステツプX1では各ストロークにおけるストロー
ク特徴抽出フローの中でインクリメントされるキ
ー操作順位カウンタN、及びストローク特徴抽出
ブロツク15内に設けられた座標差値レジスタ群
D′Lを指定するカウンタLの値が夫々「2」に設
定され、また、各ストローク毎のストローク特徴
を計数するカウンタMが「1」に設定される。 ステツプX2は、キー操作順位カウンタの値に
対応するX座標データKNから1回前に押された
キーのX座標データKN-1を減算し、その差値を
レジスタDNに記憶させ、ステツプX3は、このDN
の値をカウンタLが指定する座標差値レジスタ
D′Lに記憶させるステツプである。 ステツプX4は、1つ前の座標差値レジスタ
D′L-1の値が「0」か否か判断するステツプで、
「0」の場合はステツプX5に進み、カウンタLが
デクリメントされる。そしてLが「1」でなけれ
ばステツプX4に戻る。Lが「1」のときは、ス
テツプX15に進み、Nが+1され、ステツプX16
で、Nの値をLに入力し、次の座標データがスト
ロークエンド、キヤラクターエンドでなければス
テツプX17,18からステツプX2に戻り同様の処理を
実行することになる。 一方、ステツプX4で、座標差値レジスタD′L-1
の値が「0」でないときは、ステツプX7に進み、
今の差値DNと同じか否かが判断される。ここで
同じと判断された場合、同一方向に3個のスイツ
チ分の移動量を得たことになり、ストローク特徴
を抽出するためステツプX8に進む。そうでなけ
ればステツプX15に進み、次の座標データの処理
に移行する。 今、例として表1のパターンデータの第1スト
ロークについてN=7となつたときの動作を考え
てみる。このとき座標差値レジスタ群D′L(L=2
〜6)には、「0,−1,0,0,0」が記憶され
ている。 まず、ステツプX2,3で、DN(=K7−K6=−1)
が座標差値レジスタD′L(L=7)に記憶される。
次にステツプX4でD′L-1が判断されるが、D′6
「0」であるから、ステツプX5に進み、Lが−1
される。従つてD′L-1が「0」でないものを探し
出すまでステツプX5,6,4が繰返される。この場合、
L=4となつたときD′3が「−1」であるからス
テツプX7に進む。 そして、ステツプX7でDNとD′L-1が同じか判断
され、YESとなるとステツプX8に進み、DN
「0」より小さいか否かを判断する。ここでDN
0であればX座標が「3」方向に変化した場合で
あるから、ステツプX9でストローク特徴を一時
保持するレジスタC′に「3」を書込み、またDN
>0であればX座標が「1」方向に変化した場合
であり、ステツプX10でC′に「1」を書込む。上
記ステツプX9あるいはX10の処理実行後ステツプ
X11に進んで、現在のストロークのパターンデー
タにおけるストローク特徴抽出が最初か否かを判
断する。すなわち、各ストロークにおける特徴数
を計数するカウンタMの値が「1」か否かを判断
し、NOであればステツプX12において前回のス
トローク特徴CSM-1と今回のストローク特徴C′が
同じかどうかを判断する。そして、ストローク特
徴C′とCSM-1が等しくなかつた場合、あるいはス
テツプX11でM=1と判断された場合には、ステ
ツプX13に進んで今回のC′をストローク特徴とし
て、S番目のストロークにおけるストローク特徴
を記憶するレジスタCSのM番目の位置に記憶させ
る。そして、ステツプX14で上記Mの値を「+
1」した後、ステツプX15に進み、上記Nの値を
「+1」する。なお、ステツプX6,X12の判断結
果がYESであつた場合及びステツプX7の判断結
果がNOであつた場合もステツプX15に進む。そ
して、このステツプX15の処理を終了するとステ
ツプX16でNの値をLに記憶させ、ステツプX17
に進み、KNがストロークエンドか否かを判断し、
ストロークエンドでなければステツプX18に進
み、KNがキヤラクタエンドか否かを判断する。
このステツプX18でキヤラクタエンドでないと判
断された場合には、ステツプX2に戻つて同様の
処理を繰返す。また、上記ステツプX17でKNがス
トロークエンドであると判断された際にはステツ
プX19に進み、次のS+1番目のストロークのパ
ターンデータを指定した後、ステツプX1に戻つ
て次のストロークについて同様の処理を繰返す。
これらの処理を繰返して最終ストロークの最後の
座標データを読出してストローク特徴を抽出する
と、ステツプX18でKNがキヤラクタエンドと判断
されて、X方向のストローク特徴の抽出動作を終
了し、第6図のステツプS3に進む。 なお、この第6図ステツプS3におけるY方向ス
トローク特徴抽出については詳細を示していない
が、第7図に示したX方向の場合とほぼ同様であ
つて、KNとしてはY方向の座標データが読出さ
れる他、第7図ステツプX9及びX10に対応するス
テツプではY方向のストローク特徴として夫々
「2」及び「4」が書込まれるものである。 次に上記第6図のステツプS5に示すストローク
特徴マツチング処理について第8図のフローチヤ
ートにより説明する。まず、ステツプY1に示す
ように、標準パターンメモリ18をアクセスし、
フラグメモリの記憶フラグFNが“1”であるか
否かをチエツクする。上記FNは、標準パターン
のN番目のキヤラクターの画数判定結果フラグで
ある。上記Nの値は最初「1」となつており、メ
モリ18の1番地に記憶されている標準パターン
からチエツクされる。そして、フラグFNに「1」
が立つていた場合はステツプY2に進み、ストロ
ーク特徴メモリ16に保持している入力文字のス
トローク特徴をマツチングブロツク17に入力
し、標準パターンメモリ18から読出したストロ
ーク特徴とステツプY3において比較する。そし
て、上記両ストローク特徴が一致しているか否か
をステツプY4で判断し、不一致であればステツ
プY5に示すようにフラグFNに「0」を書込み、
その後ステツプY6へ進む。また、ステツプY4
ストローク特徴が一致していると判断された場
合、あるいはステツプY1でフラグFNが「1」で
ないと判断された場合もステツプY6へ進む。こ
のステツプY6ではNの値に「+1」し、続いて
ステツプY7へ進んでNの値が標準パターンのキ
ヤラクタ数Mより大きくなつたか否かを判断す
る。Nの値がMより大きくなつていなければステ
ツプY1に戻り、同様の処理を繰返す。すなわ
ち、、標準パターンメモリ18に画数フラグFN
“1”が立つているキヤラクタのストローク特徴
についてのみ、入力文字のストローク特徴と比較
し、不一致の場合にはフラグFNを“0”にする。
そして、標準パターンメモリ18に書込まれてい
る全キヤラクタに対するアクセスを終了すると、
ステツプY7の判断結果がYESとなり、ストロー
ク特徴のマツチング処理を終了する。 次に第6図のステツプS7における始点,終点の
方向特徴抽出の詳細について第9図のフローチヤ
ートを参照して説明する。上記ステツプS7は、ス
トローク特徴のマツチングによつて文字認識が1
文字に定まらない場合に実行されるもので、ま
ず、第9図aのステツプZ1に示すように認識した
文字の画数が1画であるか否かを判断する。画数
が2画以上の場合には、第9図bに示す処理フロ
ーに進むが、1画の場合には第9図aに示すフロ
ーにおいて次のステツプZ2に進む。このステツプ
Z2では、入力文字のストローク終点のX座標KE X
からストローク始点のX座標KS Xを減算し、その
減算結果が「−2」以下か「2」以上か、「−1,
0,1」であるかを判断する。減算結果が「−
2」以下の場合は、ストロークの始端と終端との
間で第3図に示す座標上のX座標「3」方向に距
離が「3」以上偏位したことを示しているので、
ステツプZ3に示すように方向特徴「3」を決定す
る。また、上記減算結果が「2」以上の場合は、
ストロークの方向がX座標「1」方向であること
を示しているので、ステツプZ4に示すように方向
特徴「1」を決定する。また、上記減算結果が
「−1,0,1」であれば、ストロークのX座標
上の移動距離が「2」以下であるので、この場合
にはステツプZ5に示すように方向特徴「0」を決
定する。そして、上記X座標の方向特徴を決定し
た後、ステツプZ6に進み、ストローク終点のY座
標KE Yからストローク始点のY座標KS Yを減算し、
その減算結果が「−2」以下か、「2」以上か、
「−1,0,1」であるかを判断し、X座標の場
合と同様にしてY座標の方向特徴を決定する。す
なわち、上記減算結果が「−2」以下の場合はス
テツプZ7において方向特徴「4」、減算結果が
「2」以上の場合はステツプZ8において方向特徴
「2」、減算結果が「−1,0,1」の場合はステ
ツプZ9において方向特徴「0」を決定する。以上
で入力文字が1画の場合の始点,終点の方向特徴
抽出を終了するが、2画以上の場合はステツプZ1
から第9図bに示すフローに従つて処理が行なわ
れる。 まず、ステツプZ11において、入力文字の第N
ストローク始点のX座標KSN Xからその前のストロ
ーク始点のX座標KSN-1 Xを減算し、その減算結果
が「−2」以下か、「2」以上か、「−1,0,
1」かを判断する。すなわち、上記ステツプZ11
により1画めと2画めのスタートの位置の差を求
める。そして、上記減算結果が「−2」以下であ
ればステツプZ12により方向特徴「3」、減算結果
が「2」以上の場合はステツプZ13において方向
特徴「1」,「−1,0,1」の場合はステツプ
Z14において方向特徴「0」を決定する。次いで
ステツプZ15に進み、第Nストローク終点のX座
標KEN Xからその前のストローク終点のX座標
EEN-1 Xを減算し、その減算結果が「−2」以下か、
「2」以上か、「−1,0,1」かを判断する。す
なわち、1画めと2画めの終点の位置の差を求め
る。そして、上記の減算結果が「−2」以下の場
合はステツプZ16において方向特徴「3」、減算結
果が「2」以上の場合はステツプZ17において方
向特徴「1」、減算結果が「−1,0,1」の場
合は方向特徴「0」の決定を行なう。その後ステ
ツプZ19へ進み、Y座標(KSN Y,KSN-1 Y),(KEN Y
KEN-1 Y)について、上記X座標と同様にして方向
特徴の決定を行なう。そして、上記Y座標の方向
特徴決定後、ステツプZ20に進んで最終ストロー
クまでの処理を終了したか否かを判断し、終了し
ていなければステツプZ11へ戻り、終了していれ
ば2画以上の場合の始点,終点の方向特徴抽出を
終了する。その後は第6図におけるステツプS8
進んで始点,終点の方向特徴マツチングを行な
う。 なお、入力文字に対する認識方法は、上記実施
例に限定されるものでなく、他の方法であつても
良い。 また、上記実施例では手書き入力部4に設けら
れているキーを指で直接なぞつて文字を入力する
ようにしたが、手書き入力部4の上にシートをか
ぶせその上に指やペンで文字を書くようにしても
よい。 更に、上記実施例では、普通の計算に使用され
るキーと手書き入力用のキーを兼用したが、手書
き入力専用のキーとしても良いことは勿論であ
る。 以上述べたように本発明によれば、少ないキー
で数多くのデータを入力することができ、しかも
手書き入力のための特別の入力装置を設ける必要
がなく、普通のテンキー、フアンクシヨンキー等
のキーとまつたく同じキーを用いればよいから、
きわめて安いコストで実現できるとともに、文字
認識において文字ストロークの方向を抽出するに
あたり、キー座標データの差を算出することでス
トローク方向のX,Y方向成分を決定するように
したので、ストローク方向の決定が容易となり認
識処理も簡単になるという効果を奏するものであ
る。
[Table] The above stroke end mark is written when continuous key input is interrupted, and the character end mark is written when there is no next key input for a predetermined period of time, indicating that the input of that character has ended. Thereafter, input character recognition processing is performed according to the flow shown in FIG. First, as shown in step S1 in FIG. 6, the input pattern held in the input pattern memory 12 is sent to the stroke number extraction block 13, and the number of strokes is extracted by counting the stroke end mark and character end mark. and written into the stroke number memory 14. In addition, the number of strokes extraction block 13
The input pattern given to is further sent to the stroke feature extraction block 15, and the step shown in FIG.
As shown in step S2 , X-direction stroke feature extraction is performed, and Y-direction stroke feature extraction is performed in step S3 . X in step S2 above
Details of directional stroke feature extraction will be described later. The X-direction and Y-direction stroke feature extraction shown in steps S 2 and S 3 is repeated by the number of strokes of the input character, and the extraction results are written into the stroke feature memory 16. after that,
Proceed to step S4 and perform stroke number matching. That is, the matching block 17 compares the number of strokes of the input character held in the number of strokes memory 14 with the number of strokes of each character stored in the standard pattern memory 18, and the matched characters are stored in the standard pattern memory. Flag “1” in flag memory in 18
stand up. Next, the process proceeds to step S5 , where the stroke features of the characters for which the flag "1" is set in the flag memory are sequentially read out from the standard pattern memory 18, and are compared with the contents held in the stroke feature memory 16 to find characters with matching stroke features. . The details of the stroke feature matching in step S5 will be described later. After the above matching process is completed, the process proceeds to step S6 , and it is determined whether the number of characters matched in step S5 is one or two or more. If there is only one character, that character is determined as the input character, and the character recognition process ends; however, if there are two or more characters, the process proceeds to step S7 to extract the directional features of the starting point and end point, and then to step S8 . The input character is finally determined by performing feature matching on the starting point and ending point. The details of step S7 will be described later.
After recognizing input characters as described above,
Based on the recognition result, the character generator 19 is accessed to generate a dot pattern and display it on the display section 1. Next, details of the X-direction stroke feature extraction in step S2 will be explained with reference to the flowchart of FIG. When performing stroke feature extraction in the X direction, the matching block 17 first specifies the data of the first stroke of the input pattern by setting the stroke number S to "1", and then sets the initial value shown in step X1 in FIG. Configure settings. That is,
In step
The values of counters L that designate D' L are each set to "2", and counters M that count the stroke characteristics of each stroke are set to "1". Step X2 subtracts the X coordinate data KN-1 of the previously pressed key from the X coordinate data KN corresponding to the value of the key operation order counter, and stores the difference value in the register DN . , step x 3 is this D N
Coordinate difference value register where counter L specifies the value of
This is the step to store it in D' L . Step X 4 is the previous coordinate difference value register
In the step of determining whether the value of D′ L-1 is “0” or not,
If it is "0", the process proceeds to step X5 , where the counter L is decremented. If L is not "1", the process returns to step X4 . When L is "1", proceed to step X 15 , N is increased by +1, and step X 16
Then, the value of N is input into L, and if the next coordinate data is not a stroke end or a character end, the process returns from steps X17 and X18 to step X2 and executes the same process. On the other hand, at step X 4 , the coordinate difference value register D′ L-1
If the value of is not "0", proceed to step
It is determined whether or not it is the same as the current difference value D N. If it is determined that they are the same, this means that the amount of movement for three switches in the same direction has been obtained, and the process proceeds to step X8 to extract the stroke feature. If not, proceed to step X15 and proceed to processing the next coordinate data. Now, as an example, consider the operation when N=7 for the first stroke of the pattern data in Table 1. At this time, coordinate difference value register group D′ L (L=2
~6) stores "0, -1, 0, 0, 0". First, at step X 2,3 , D N (=K 7 −K 6 = −1)
is stored in the coordinate difference value register D' L (L=7).
Next , D' L -1 is determined at step
be done. Therefore, steps X5 , 6, and 4 are repeated until D' L-1 is found that is not "0". in this case,
When L=4, D' 3 is "-1", so the process proceeds to step X7 . Then, in step X7 , it is determined whether D N and D' L-1 are the same, and if YES, the process proceeds to step X8 , where it is determined whether D N is smaller than "0". Here D N <
If it is 0, it means that the X coordinate has changed in the direction of "3", so in step
If >0, it means that the X coordinate has changed in the "1" direction, and "1" is written in C' at step X10 . Step after execution of step X 9 or X 10 above
Proceeding to X11 , it is determined whether or not the stroke feature extraction in the current stroke pattern data is the first. That is, it is determined whether the value of the counter M that counts the number of features in each stroke is "1" or not, and if NO, it is determined in step X12 that the previous stroke feature C SM-1 and the current stroke feature C' are the same. Decide whether or not. If the stroke feature C' and C SM-1 are not equal, or if it is determined that M= 1 at step The stroke characteristics of the stroke are stored in the Mth position of the register C S . Then, in step X14 , change the value of M above to “+
1", the process proceeds to step X15 , where the value of N is increased by "+1". It should be noted that the process also proceeds to step X15 when the determination results at steps X6 and X12 are YES and when the determination result at step X7 is NO. When the process of step X15 is completed, the value of N is stored in L in step
Proceed to , determine whether K N is the stroke end,
If it is not the stroke end, proceed to step X18 and judge whether KN is the character end.
If it is determined at step X18 that the character is not at the end, the process returns to step X2 and the same process is repeated. In addition, when it is determined that K N is the stroke end in step X17 above, proceed to step Repeat the same process for .
When these processes are repeated to read the last coordinate data of the final stroke and extract the stroke feature, KN is determined to be the character end at step X18 , and the extraction operation of the stroke feature in the Proceed to step S3 in Figure 6. Although the details of the Y-direction stroke feature extraction in step S3 of FIG. 6 are not shown, it is almost the same as the case of the X-direction shown in FIG . In addition, "2" and "4" are written as stroke characteristics in the Y direction at steps corresponding to steps X9 and X10 in FIG. 7, respectively. Next, the stroke feature matching process shown in step S5 of FIG. 6 will be explained with reference to the flowchart of FIG. First, as shown in step Y1 , the standard pattern memory 18 is accessed,
Check whether the storage flag F N of the flag memory is "1". The above F N is a stroke number determination result flag of the Nth character of the standard pattern. The value of N is initially set to "1" and is checked from the standard pattern stored at address 1 in the memory 18. And "1" in flag F N
If it is, the process proceeds to step Y 2 , where the stroke features of the input character held in the stroke feature memory 16 are input to the matching block 17, and compared with the stroke features read from the standard pattern memory 18 in step Y 3 . do. Then, it is determined in step Y4 whether or not the above two stroke characteristics match, and if they do not match, "0" is written in the flag FN as shown in step Y5 .
Then proceed to step Y6 . Further, if it is determined in step Y4 that the stroke characteristics match, or if it is determined in step Y1 that the flag FN is not "1", the process proceeds to step Y6 . At step Y6 , the value of N is incremented by "+1", and the process then proceeds to step Y7 , where it is determined whether the value of N has become larger than the number of characters M of the standard pattern. If the value of N is not greater than M, the process returns to step Y1 and the same process is repeated. That is, only the stroke features of the character whose stroke count flag F N is set to "1" in the standard pattern memory 18 are compared with the stroke features of the input character, and if they do not match, the flag F N is set to "0". .
Then, when access to all characters written in the standard pattern memory 18 is finished,
The determination result in step Y7 is YES, and the stroke feature matching process ends. Next, details of extraction of the direction feature of the start point and end point in step S7 of FIG. 6 will be explained with reference to the flowchart of FIG. In step S7 above, character recognition is achieved by matching stroke features.
This is executed when the character is not determined, and first, as shown in step Z1 of FIG. 9a, it is determined whether the number of strokes of the recognized character is one. If the number of strokes is two or more, the process proceeds to the process flow shown in FIG. 9b, but if it is one stroke, the process proceeds to the next step Z2 in the flow shown in FIG. 9a. This step
For Z 2 , the X coordinate of the stroke end point of the input character K E
Subtract the X coordinate of the stroke start point K S
0, 1". The subtraction result is “-
2" or less indicates that the distance between the start and end of the stroke has deviated by more than "3" in the direction of the X coordinate "3" on the coordinates shown in Figure 3.
Direction feature "3" is determined as shown in step Z3 . Also, if the above subtraction result is "2" or more,
Since the direction of the stroke is shown to be in the direction of the X coordinate "1", the direction feature "1" is determined as shown in step Z4 . Furthermore, if the above subtraction result is "-1, 0, 1", the moving distance on the X coordinate of the stroke is "2" or less, so in this case, as shown in step Z5 , the direction feature "0" is used. ” to be determined. After determining the directional characteristics of the X coordinate, proceed to step Z6 , and subtract the Y coordinate KSY of the stroke start point from the Y coordinate KEY of the stroke end point,
Whether the subtraction result is “-2” or less or “2” or more,
It is determined whether it is "-1, 0, 1", and the direction feature of the Y coordinate is determined in the same manner as in the case of the X coordinate. That is, if the above subtraction result is less than or equal to "-2", the direction feature is set to "4" at step Z7 ; if the subtraction result is greater than or equal to "2", the direction feature is set to "2" at step Z8 , and the subtraction result is set to "-1". , 0, 1'', the direction feature ``0'' is determined in step Z9 . This completes the extraction of the direction feature of the start point and end point when the input character is one stroke, but if it is two or more strokes, step Z 1 is completed.
From then on, processing is performed according to the flow shown in FIG. 9b. First, in step Z11 , the Nth character of the input character is
Subtract the X coordinate K SN -1 X of the previous stroke start point from the X coordinate K SN
1”. That is, step Z 11 above
Find the difference between the start positions of the first and second strokes. If the subtraction result is less than or equal to "-2", the direction feature is set to "3" in step Z12 , and if the subtraction result is greater than or equal to "2", the direction feature is set to " 1 ", "-1, 0," 1”, step
Determine the direction feature "0" at Z14 . Next, proceed to step Z 15 and change from the X coordinate of the Nth stroke end point K EN X to the X coordinate of the previous stroke end point.
E EN-1 Subtract X and check if the subtraction result is “-2” or less,
Determine whether it is "2" or more or "-1, 0, 1". That is, the difference between the positions of the end points of the first stroke and the second stroke is determined. If the above subtraction result is "-2" or less, the direction feature is "3" in step Z16 , and if the subtraction result is "2" or more, the direction feature is "1" in step Z17 , and the subtraction result is "-". In the case of ``1, 0, 1'', the direction feature ``0'' is determined. After that, proceed to step Z 19 and set the Y coordinates (K SN Y , K SN-1 Y ), (K EN Y ,
For K EN-1 Y ), the directional characteristics are determined in the same manner as for the above X coordinate. After determining the direction characteristic of the Y coordinate, the process proceeds to step Z20 , where it is determined whether or not the process up to the final stroke has been completed.If the process has not been completed, the process returns to step Z11 ; The direction feature extraction of the starting point and ending point in the above case is completed. Thereafter, the process proceeds to step S8 in FIG. 6, where directional feature matching of the starting point and ending point is performed. Note that the method for recognizing input characters is not limited to the above embodiment, and other methods may be used. Furthermore, in the above embodiment, characters are entered by directly tracing the keys provided on the handwriting input section 4 with a finger, but a sheet is placed over the handwriting input section 4 and characters are entered on the sheet with a finger or a pen. You can also write it down. Further, in the above embodiment, keys used for ordinary calculations and keys for handwriting input are used, but it is of course possible to use keys exclusively for handwriting input. As described above, according to the present invention, it is possible to input a large amount of data with a small number of keys, and there is no need to provide a special input device for handwritten input. All you have to do is use the same key,
This can be realized at an extremely low cost, and when extracting the direction of a character stroke during character recognition, the X and Y direction components of the stroke direction are determined by calculating the difference in key coordinate data, making it easy to determine the stroke direction. This has the effect that the recognition process becomes easier.

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

図面は本発明の一実施例を示すもので、第1図
は外観正面図、第2図は機能ブロツク図、第3図
は座標上のストローク方向を示す図、第4図a〜
eは標準パターンメモリに記憶する標準パターン
例を示す図、第5図a〜cはキー入力を行なつた
場合の各ストロークのキー入力順序例を示す図、
第6図は入力文字の認識動作を示すフローチヤー
ト、第7図は第6図におけるX方向特徴抽出ステ
ツプの詳細を示すフローチヤート、第8図は第6
図におけるストローク特徴マツチングステツプの
詳細を示すフローチヤート、第9図a,bは第6
図における始点,終点の方向特徴抽出ステツプの
詳細を示すフローチヤートである。 1……ケース本体、2……表示部、3……キー
ボード、4……手書き入力部、11……キー入力
部、12……入力パターンメモリ、13……画数
抽出ブロツク、15……ストローク特徴抽出ブロ
ツク、17……マツチングブロツク、18……標
準パターンメモリ。
The drawings show one embodiment of the present invention; FIG. 1 is an external front view, FIG. 2 is a functional block diagram, FIG. 3 is a diagram showing stroke directions on coordinates, and FIGS.
5e is a diagram showing an example of a standard pattern stored in the standard pattern memory; FIGS.
FIG. 6 is a flowchart showing the input character recognition operation, FIG. 7 is a flowchart showing details of the X-direction feature extraction step in FIG. 6, and FIG.
A flow chart showing the details of the stroke feature matching step in Figure 9, Figures 9a and 9b are
2 is a flowchart showing details of the step of extracting directional features of the starting point and ending point in the figure. 1...Case body, 2...Display section, 3...Keyboard, 4...Handwriting input section, 11...Key input section, 12...Input pattern memory, 13...Number of strokes extraction block, 15...Stroke characteristics Extraction block, 17... Matching block, 18... Standard pattern memory.

Claims (1)

【特許請求の範囲】 1 マトリクス状にキーが配列された入力手段
と、 この入力手段のキーマトリクス上で文字が手書
入力される際に発生するキー座標データを発生順
に記憶する入力データ記憶手段と、 上記入力手段における文字入力のストロークが
途切れた場合にストローク終了と判定し、区切コ
ードを上記入力データ記憶手段の所定位置に書込
む終了コード書込手段と、 上記文字入力終了後、上記入力データ記憶手段
から座標データを取出し区切コードで区切られた
1ストロークの開始座標データから終了座標デー
タまでの相前後するデータのX座標データおよび
Y座標データの差を算出する算出手段と、 この算出手段により算出された各座標データ間
の差値により、当該ストロークのX方向およびY
方向の方向成分を決定するストローク方向決定手
段と、 上記入力データ記憶手段に記憶された区切コー
ドの数に基いて当該入力文字の画数を決定する画
数決定手段と、 複数の文字について、文字を構成する各ストロ
ークの方向成分と画数を予め記憶している標準パ
ターン記憶手段と、 上記ストローク方向決定手段で決定されたスト
ロークの方向成分及び上記画数決定手段で決定さ
れた画数を有する文字を上記標準パターン記憶手
段から選出する文字選出手段とを 具備したことを特徴とするキー入力装置。
[Scope of Claims] 1. An input means in which keys are arranged in a matrix, and an input data storage means for storing key coordinate data generated when characters are input by hand on the key matrix of the input means in the order of occurrence. and an end code writing means for determining that the stroke has ended when the stroke of character input in the input means is interrupted, and writing a delimiter code in a predetermined position of the input data storage means; a calculating means for extracting coordinate data from the data storage means and calculating the difference between the X coordinate data and the Y coordinate data of successive data from the start coordinate data to the end coordinate data of one stroke separated by a delimiter code; Based on the difference value between each coordinate data calculated by , the X direction and Y direction of the stroke
stroke direction determining means for determining the direction component of the direction; stroke number determining means for determining the number of strokes of the input character based on the number of delimiter codes stored in the input data storage means; a standard pattern storage means that stores in advance the directional component and number of strokes of each stroke; A key input device comprising character selection means for selecting characters from storage means.
JP57026940A 1982-02-22 1982-02-22 key input device Granted JPS58144249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57026940A JPS58144249A (en) 1982-02-22 1982-02-22 key input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57026940A JPS58144249A (en) 1982-02-22 1982-02-22 key input device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP57116849A Division JPS58144282A (en) 1982-07-07 1982-07-07 Input data recognition method

Publications (2)

Publication Number Publication Date
JPS58144249A JPS58144249A (en) 1983-08-27
JPH0381186B2 true JPH0381186B2 (en) 1991-12-27

Family

ID=12207142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57026940A Granted JPS58144249A (en) 1982-02-22 1982-02-22 key input device

Country Status (1)

Country Link
JP (1) JPS58144249A (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5472919A (en) * 1977-11-22 1979-06-11 Sharp Corp Input display unit
JPS56155474A (en) * 1980-04-30 1981-12-01 Citizen Watch Co Ltd Pattern recognizing device

Also Published As

Publication number Publication date
JPS58144249A (en) 1983-08-27

Similar Documents

Publication Publication Date Title
Masui POBox: An efficient text input method for handheld and ubiquitous computers
KR0163178B1 (en) Method and apparatus for encoding and decoding chinese characters
US6657560B1 (en) Rounded keypad
US6104317A (en) Data entry device and method
CN1358299A (en) Data entry device recording input in two dimensions
US20030099398A1 (en) Character recognition apparatus and character recognition method
US20030169240A1 (en) Character input apparatus and method
KR20050048758A (en) Inputting method and appartus of character using virtual button on touch screen or touch pad
WO2022095308A1 (en) Finger numeric code based input method
JPS6152492B2 (en)
KR100374339B1 (en) Character recognition apparatus and method for use in a communication terminal having touch-sensitive screen
JPH0381186B2 (en)
JPH0312351B2 (en)
JPH11143608A (en) Method and device for character input
KR100538248B1 (en) Apparatus and method of inputting Korean vowels
CN107831918B (en) A Handwritten Chinese Character Input Method Based on Semi-square Braille Numeric Encoding
JP3153704B2 (en) Character recognition device
JP2015136077A (en) Information selection input display method
JP6605288B2 (en) Data input device
JPH08147096A (en) Handwriting input method and device
JPH02300918A (en) Small electronic equipment
JP4348590B2 (en) Character input device for electronic equipment
KR0162163B1 (en) Electronic hand book with key-input device and hand-written character
KR100601355B1 (en) Hangul input device
KR100935338B1 (en) Hangul input device using touch sensor