JPH01130291A - Data recognizing device - Google Patents
Data recognizing deviceInfo
- Publication number
- JPH01130291A JPH01130291A JP62289169A JP28916987A JPH01130291A JP H01130291 A JPH01130291 A JP H01130291A JP 62289169 A JP62289169 A JP 62289169A JP 28916987 A JP28916987 A JP 28916987A JP H01130291 A JPH01130291 A JP H01130291A
- Authority
- JP
- Japan
- Prior art keywords
- character
- coordinate
- formula
- recognized
- displayed
- 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.)
- Granted
Links
- 239000004973 liquid crystal related substance Substances 0.000 abstract description 11
- 238000000034 method Methods 0.000 description 29
- 238000010586 diagram Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Landscapes
- Character Discrimination (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、データを手書きで入力し、これを認識して表
示することのできるデータ認識装置。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is a data recognition device that can input data by hand, recognize it, and display it.
従来、この種のデータ認識装置は手書きでデータを入力
していくと、入力されたデータを取り込んで、そのデー
タの特徴を抽出して、対応するデータを検索し、検索さ
れたデータを認識したデータとして表示していた。例え
ば、本出願人の出願に係る特願昭62−194311号
に記載されている。Conventionally, this type of data recognition device inputs data by hand, captures the input data, extracts the characteristics of that data, searches for corresponding data, and recognizes the retrieved data. It was displayed as data. For example, it is described in Japanese Patent Application No. 194311/1983 filed by the present applicant.
しかしながら、この場合、手書き入力されたデータが不
明確で、誤認識の呉れがある場合がある。例えば“b”
と手書きしたデータが“6”と誤認識されることがある
。この場合、装置は最も確からしいデータを認識データ
として表示し、次の手書きデータの認識作業を行うので
、誤認識されたデータはそのまま処理されてしまうとい
う問題点があった。However, in this case, the handwritten input data may be unclear and there may be gaps due to erroneous recognition. For example “b”
Handwritten data may be mistakenly recognized as "6". In this case, the device displays the most probable data as recognition data and then performs the recognition work on the next handwritten data, so there is a problem in that erroneously recognized data is processed as is.
この問題点を解決する為に本発明は、誤認識の呉れがあ
る場合、装置の方から操作者に対して、認識結果はこれ
でよいのかを尋ねる質問メツセージを表示するメツセー
ジ表示手段を備えてなる。In order to solve this problem, the present invention includes a message display means for displaying a question message from the device to the operator asking if the recognition result is correct when there is a recognition error. Become.
以下、本発明の実施例を図面を参照しながら説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図は該装置のブロック図である。第1図において、
1は入出カ一体の手書き座標入力装置であり、ペン11
とタブレット12及び液晶デイスプレィ13とで構成さ
れる。タブレット12及び液晶デイスプレィ13は、画
面左上を原点とし、X座標がO〜255、X座標が0〜
127の範囲をもつ座標平面であり、ペン11でタブレ
ット12上の任意の位置に触れるとその座標値が外部に
出力される。また外部から任意の座標値を入力すると液
晶デイスプレィ13のその位置にドツトが表示される。FIG. 1 is a block diagram of the device. In Figure 1,
1 is a handwriting coordinate input device with integrated input and output ports;
It is composed of a tablet 12 and a liquid crystal display 13. The tablet 12 and the liquid crystal display 13 have an origin at the top left of the screen, an X coordinate of 0 to 255, and an X coordinate of 0 to 255.
It is a coordinate plane with a range of 127, and when an arbitrary position on the tablet 12 is touched with the pen 11, the coordinate value is outputted to the outside. Furthermore, when arbitrary coordinate values are input from the outside, a dot is displayed at that position on the liquid crystal display 13.
2はマイクロコンピュータであり、手書き文字認識手段
21と、数式認識手段22と、演算手段23、及び表示
制御手段24とから構成される。Reference numeral 2 denotes a microcomputer, which includes handwritten character recognition means 21, mathematical expression recognition means 22, calculation means 23, and display control means 24.
第2図はマイクロコンピュータ2のハードウェア゛ 構
成の一例を示す。座標入力装置1からの入力を受ける入
力部25と、プログラムに従って処理をするCPU26
と、文字認識及び数式認識のための辞書とプログラムと
を格納するROM27と、文字の認識、数式の認識及び
演算に使用される補助記憶用のRAM28と、座標入力
装置1の液晶デイスプレィ13ヘデータを出力する出力
部29とから成る。FIG. 2 shows an example of the hardware configuration of the microcomputer 2. An input unit 25 that receives input from the coordinate input device 1, and a CPU 26 that performs processing according to a program.
, a ROM 27 that stores dictionaries and programs for character recognition and mathematical expression recognition, a RAM 28 for auxiliary storage used for character recognition, mathematical expression recognition, and calculations, and data to the liquid crystal display 13 of the coordinate input device 1. and an output section 29 for outputting.
まず、手書き文字認識手段21の機能について説明する
。ペン11によってタブレット12上に文字(数字、記
号を含む)が書かれると文字を構成する各点の座標値が
順次マイクロコンピュータ2内のRAM28へたくわえ
られる。ペン11がタブレット12上から離れ一定時間
が経過すると一文字の入力が終了したとみなし文字の認
識を開始する。First, the functions of the handwritten character recognition means 21 will be explained. When characters (including numbers and symbols) are written on the tablet 12 with the pen 11, the coordinate values of each point making up the character are stored in the RAM 28 in the microcomputer 2 in sequence. When the pen 11 is removed from the tablet 12 and a certain period of time has elapsed, it is assumed that input of one character has been completed, and character recognition is started.
まず、RAM28内にだ(わえられた前述の座標値の集
合に基づき文字のコードを認識する。認識の方法は公知
である。本従来例においては第3図Jこ示す文字につい
て認識を行う。各文字はサイズ決定文字またはサイズ不
定文字のいずれかに分類される。サイズ決定文字は数字
“0”〜“9”、加算記号“+“、乗算記号“×”、除
算記号“÷”、及び等号“=”であり、それぞれ縦横1
6ドツトずつで構成されるフォント(以下16ドツトフ
オントと呼ぶ)及び縦横8ドツトずつで構成されるフォ
ント(以下8ドツトフオントと呼ぶ)がROM27に記
憶されている。認識された文字がサイズ決定文字であれ
ば以下の処理を行なう。First, the code of the character is recognized based on the set of coordinate values stored in the RAM 28. The recognition method is publicly known. In this conventional example, the character shown in Fig. 3J is recognized. .Each character is classified as either a size-determining character or an indeterminate size character.The size-determining characters are the numbers “0” to “9”, the addition sign “+”, the multiplication sign “×”, the division sign “÷”, and the equal sign “=”, each with a length of 1 and a width of 1
A font consisting of 6 dots each (hereinafter referred to as a 16-dot font) and a font consisting of 8 dots in each vertical and horizontal direction (hereinafter referred to as an 8-dot font) are stored in the ROM 27. If the recognized character is a size determining character, the following processing is performed.
前述の手書きによって得られた座標値の集合のうちでX
座標の最小値をX min、X′座標の最大値をX m
ax syX座標最小値をyminsY座標の最大値を
7 maxとする0ここでX max X minの
値とym@x 7 minの値のうち少なくとも一方
が12ドツト以上であれば16ドツトフオントを選択し
、そうでなければ8ドツトフオントを選択する。ただし
、等号“=”は常に16ドツトフオントが選択される。Among the set of coordinate values obtained by handwriting mentioned above,
The minimum value of the coordinate is X min, the maximum value of the X' coordinate is X m
ax sy The minimum value of the X coordinate is y mins The maximum value of the Y coordinate is 7 max 0 Here, if at least one of the values of X max Otherwise, select 8 dot font. However, for the equal sign "=", 16 dot fonts are always selected.
8ドツトフオントはべき乗における指数を表わす際に用
いる。The 8-dot font is used to represent an exponent in a power.
次にフォントの中心のX座標、X座標がそれぞれントを
表示する座標を決定し、表示制御手段24によってRO
M27内の選択されたフォントを液晶デイスプレィ13
に表示する。一方、サイズ不安文字は小数点“、”、横
線“−”、根号′f”及びかっこ“(”と“)”であり
定まった大きさをもたない。なお横線“−”は負符号、
減算記号及び分数線として兼用される。認識された文字
がサイズ不定文字であれば以下の処理を行なう。前述の
手書きによって得られた座標の集合のうちでX座標の最
小値をXm1nsX座標の最大値をx entry、X
座標の最小値をylT11nSy座標の最大値をyma
tとする。サイズ不定文字はROM27内にフォントの
がわりにベクトルが記憶されており、表示制御手段24
は表示される文字の左端、右端、上端、゛下端の座標が
それぞれX min 、 X max + ymin
、 7 mm!に一致するようにベクトルによって文
字を構成し液晶デイスプレィ13に表示する。こうして
サイズ決定文字又はサイズ不定文字において表示される
文字のコード、位置、大きさが決定すると文字のコード
code (i)、文字の左端のX座標x (i)、文
字の上端のy座標y (i)、文字のX方向のドツト数
dx (1)、及び文字のy方向のドツト数dy (i
)をRAM2Bに記憶する。以上の動作を繰り返しタブ
レット12から1文字ずつ入力されるごとに、認識され
た文字を液晶デイスプレィ13に表示するとともに、R
AM28にcode (i)、 x (i)、 y (
i)、 dx (i)、 dy (i)の各値をx (
i)の値が小さい文字すなわち左に書かれた文字のデー
タから順に並ぶように並びかえながら第4図に示す形式
で記憶してい(。そして最後に等号“=”が入力される
と処理が数式認識手段22へ移行する。続いて数式認識
手段22の処理について述べる。本実施例では数字、正
負符号及び小数点によって表現される整数を数として扱
う。Next, the X coordinate and X coordinate of the center of the font determine the coordinates at which the font is displayed, and the display control means
The selected font in M27 is displayed on the LCD display 13.
to be displayed. On the other hand, size-unstable characters are the decimal point ",", the horizontal line "-", the radical 'f', and the parentheses "(" and ")", and do not have a fixed size.The horizontal line "-" is a negative sign,
It is also used as a subtraction symbol and a fraction line. If the recognized character is an undefined size character, the following processing is performed. Among the set of coordinates obtained by handwriting, the minimum value of the X coordinate is Xm1ns, and the maximum value of the X coordinate is x entry,
The minimum value of the coordinates is ylT11nThe maximum value of the Sy coordinates is yma
Let it be t. For characters of undefined size, vectors are stored in the ROM 27 instead of fonts, and the display control means 24
The coordinates of the left edge, right edge, top edge, and bottom edge of the displayed character are X min and X max + ymin, respectively.
, 7mm! A character is constructed by vectors so as to match the character and displayed on the liquid crystal display 13. In this way, when the code, position, and size of the character to be displayed in the size-determined character or the undefined size character are determined, the character code code (i), the X coordinate of the left end of the character i), the number of dots in the X direction of the character dx (1), and the number of dots in the y direction of the character dy (i
) is stored in RAM2B. Each time the above operation is repeated and each character is input from the tablet 12, the recognized character is displayed on the liquid crystal display 13, and the R
AM28 with code (i), x (i), y (
i), dx (i), and dy (i) as x (
The data is stored in the format shown in Figure 4 while rearranging the data of the characters with the smallest value of i), that is, the characters written on the left. moves to the formula recognition means 22.Next, the processing of the formula recognition means 22 will be described.In this embodiment, an integer expressed by a number, a plus/minus sign, and a decimal point is treated as a number.
また第5図に示すとおり、加算、減算、乗算、除算、分
数、べき乗及び平方根の演算について通常数学で用いら
れる表記に従うて扱う。その他に演算の順序をかえるた
めに括弧を用いることができる。Further, as shown in FIG. 5, addition, subtraction, multiplication, division, fraction, exponentiation, and square root operations are handled according to the notation normally used in mathematics. Parentheses can also be used to change the order of operations.
まず加算、減算、乗算、除算について述べる。手書きに
よって整数及び小数の加算、減算、乗算、除算及びこれ
らの混合計算を表記するときは通常1行で書(。演算に
は優先順位があり、括弧の中、乗除算、加減算の順に計
算される。優先順位が同じ場合は左から計算される。こ
のような1行で書かれる数式において左の文字から順に
演算手段23へ入力することによって、演算手段23が
優先順位を判定して計算を行なう方法は、例えばコンピ
ュータ言語のBASICインタプリタ等で公知である。First, we will discuss addition, subtraction, multiplication, and division. Addition, subtraction, multiplication, division, and mixed calculations of integers and decimals are usually written on one line when written by hand. If the priorities are the same, calculations are made from the left.In such a formula written in one line, by inputting the letters to the calculation means 23 in order from the left, the calculation means 23 determines the priority and performs the calculation. This method is known, for example, using a computer language BASIC interpreter.
従って加減乗除の混合計算においては手書きによって書
かれた文字を左から順に並べて出力するだけでよい。手
書き文字認識手段21によってRAM28に記憶された
code (i)はX・(i)が小さい順に並んでいる
のでcode (i)を順に取り出してコード列として
出力すればよい。ただしく前述のサイズ決定文字におい
てdx (i)及びdy (i)の値が8であるどきは
8ドツトフオントであり指数を表わすので後述の処理に
よってべき乗の計算をしなければならない。また負符号
及び減算記号は分数線と兼用なので後述の処理によって
負符号または減算記号であることを確認しなければなら
ない。なお正符号と加算記号、負符号と減算記号は区別
せずに出力する。Therefore, in mixed calculations such as addition, subtraction, multiplication, and division, it is only necessary to line up the handwritten characters in order from the left and output them. Since the code (i) stored in the RAM 28 by the handwritten character recognition means 21 is arranged in descending order of X·(i), the code (i) can be taken out in order and output as a code string. However, when the values of dx (i) and dy (i) in the size determining character described above are 8, it is an 8 dot font and represents an exponent, so the exponentiation must be calculated by the processing described later. Further, since the minus sign and subtraction symbol are also used as a fraction line, it must be confirmed that they are minus signs or subtraction symbols through the processing described later. Note that the plus sign and addition sign, and the minus sign and subtraction sign are output without distinction.
次に分数について述べる。分数は除算の別の表記法であ
り、下記の変換を行うことができる。Next, let's talk about fractions. Fractions are another notation for division, and the following conversions can be performed.
一→(A′)÷(D′)
ここでA、 Bはそれぞれ任意の手書き数式であり、A
’ 、 B’ はぞれぞれA、 Bから生成されたコ
ード列である。1 → (A') ÷ (D') Here, A and B are arbitrary handwritten mathematical formulas, and A
' and B' are code strings generated from A and B, respectively.
まず、分子の位置、すなわち分数線の上方に存在する文
字のみを抽出して数式Aを構成する。数式Aが加減乗除
の混合計算である場合、数式Aからコード列A′ を生
成する方法についてはすでに述べた。また数式Aが分数
を含む場合は分数に関する処理を再帰的に実行する。次
に同様に、分母の位置、すなわち分数線の下方に存在す
る文字のみを抽出して数式Bを構成し、コード列B′
を生成する。そしてコード列A′ とコード列B′ を
それぞれ括弧で(くり除算記号“÷”で結合することに
より分数を表わすコード列を生成することができる。な
お、横線に対して分子及び分母の位置に文字が存在しな
いときはその横線は分数線でな(負符号又は減算記号と
判別する。続いてべき乗について述べる。本従来例では
指数部における数字及び演算子に8ドツトフオントを用
い、その他の数字及び演算子に16ドツトフオントを用
いる。前 −述のように手書きで文字を書く際に大きな
文字を書くと16ドツトフオントが表示され、小さな文
字を書くと8ドツトフオントが表示される。16ドツト
フオントの文字はdx (i) =dy (i) =1
6であり、8ドツトフオントの文字はdx (i) =
dy (i)=8である。また′サイズ不定文字につい
ては下記の規則に従う。すなわち右括弧“)”以外のサ
イズ不定文字については、以後最初に取り出されるサイ
ズ決定文字が8ドツトフオントであればそのサイズ不定
文字は指数部に属し、16ドツトフオントであればその
サイズ不定文字は指数部外に属する。また右括弧“)”
については対になる左括弧と同じ属性を持つ。さて本従
来例ではべき乗をコード列で表わすためにべき乗演算子
“△“を導入し下記の変換を行なう。First, formula A is constructed by extracting only the characters that exist at the position of the numerator, that is, above the fraction line. The method for generating the code string A' from the formula A when the formula A is a mixed calculation of addition, subtraction, multiplication, and division has already been described. Further, if the formula A includes a fraction, processing related to the fraction is executed recursively. Next, in the same way, only the characters that exist in the denominator position, that is, below the fraction line, are extracted to form formula B, and the code string B'
generate. A code string representing a fraction can be generated by combining code string A' and code string B' in parentheses (with the division symbol "÷"). Note that the numerator and denominator positions relative to the horizontal line are If there is no character, the horizontal line is a fraction line (distinguished as a negative sign or subtraction sign).Next, we will discuss exponentiation.In this conventional example, 8-dot font is used for numbers and operators in the exponent part, and other numbers and 16-dot font is used for the operator.As mentioned above, when writing large letters by hand, 16-dot font is displayed, and when writing small letters, 8-dot font is displayed.16-dot font characters are dx (i) =dy (i) =1
6, and the 8 dot font character is dx (i) =
dy (i)=8. In addition, the following rules apply to characters of undefined size. In other words, for characters of indefinite size other than the right parenthesis ")", if the first size-determining character extracted from now on is an 8-dot font, that character belongs to the exponent part, and if it is a 16-dot font, that character belongs to the exponent part. Belongs outside. Also the right parenthesis “)”
has the same attributes as its left parenthesis. In this conventional example, a power operator "△" is introduced to express the power as a code string, and the following conversion is performed.
cD → C′ △(D′)
ここで、Cは任意の数式であり、Dはべき乗を含まない
任意の数式である。C’ 、 D’ はそれぞれC9
Dから生成されたコード列である。cD → C'Δ(D') Here, C is an arbitrary mathematical expression, and D is an arbitrary mathematical expression that does not include exponentiation. C' and D' are each C9
This is a code string generated from D.
コード列を生成している際に指数部外に属する文字の次
に指数部に属する文字がきたときに、べき乗記号“△”
及び左括弧“(nを挿入する。また指数部に属する文字
の次に指数部外に属する文字がきたときに、右括弧“)
″を挿入する。演算手段23において、このべき乗記号
“△”を他の演算子と同様に用いて加減乗除算との混合
計算を行なう方法は公知である。この際の演算の優先順
位は括弧の中、べき乗、乗除算、加減算の順であり、優
先順位が同じ場合は左から計算される。When a character belonging to the exponent part comes next to a character belonging to outside the exponent part while generating a code string, the power symbol "△"
and left parenthesis "(n is inserted. Also, when a character belonging to the exponent part is followed by a character belonging to outside the exponent part, a right parenthesis ")
'' is inserted. In the arithmetic means 23, there is a known method for performing mixed calculations with addition, subtraction, multiplication, and division by using this exponentiation symbol "△" in the same way as other operators. In this case, the priority of operations is shown in parentheses. The order is middle, exponentiation, multiplication/division, addition/subtraction, and if the priorities are the same, they are calculated from the left.
次に平方根について述べる。本従来例では平方根をコー
ド列で表わすために下記の変換を行なう。Next, let's talk about square roots. In this conventional example, the following conversion is performed to represent the square root as a code string.
旅 → 4(E’)
ここで、Eは任意の数式であり、E′ はEから生成
されたコード列である。根号の内部の位置に存在する文
字のみを抽出して数式Eを構成し、数式Eから前述の方
法によりコード列E′ を生成する。Journey → 4(E') Here, E is an arbitrary mathematical expression, and E' is a code string generated from E. Formula E is constructed by extracting only the characters existing in the internal position of the radical, and code string E' is generated from formula E by the method described above.
数式Eが平方根を含む場合は、平方根に関する処理を再
帰的に実行する。そしてコード列E′ を括弧で((す
、根号“f”の後に結合することにより平方根を表わす
コード列を生成することができる。演算手段23におい
て、平方根演算と加減乗除算やべき乗との混合計算を行
なう方法は公知である。この際の演算の優先順位は括弧
の中、平方根。If the formula E includes a square root, processing regarding the square root is executed recursively. By combining the code string E' in parentheses (() after the radical "f", a code string representing a square root can be generated. Methods for performing mixed calculations are well known.The priority of operations in this case is the square root in parentheses.
べき乗1乗除算、加減算の順で、優先順位が同じ場合は
左から計算される。If the priorities are the same, calculations are performed from the left in the order of exponentiation, division, addition, and subtraction.
以上述べたように、ペン11によってタブレット12へ
手書きによって数式が書かれると、手書き文字認識手段
21によって第4図に示す形式のデータが得られる。こ
れをもとに数式認識手段22は第5図に示す変換によっ
て得られるコード列をRAM28に出力する。演算手段
23は前記コード列を入力し、演算の優先順位を判定し
ながら計算を行ない、解を出力する。そして表示制御手
段によって解が液晶デイスプレィ13に表示されること
によって計算機としての機能が果たされる。As described above, when a mathematical formula is written by hand on the tablet 12 using the pen 11, the handwritten character recognition means 21 obtains data in the format shown in FIG. Based on this, the mathematical expression recognition means 22 outputs a code string obtained by the conversion shown in FIG. 5 to the RAM 28. The calculation means 23 inputs the code string, performs calculations while determining the priority order of calculations, and outputs a solution. The solution is displayed on the liquid crystal display 13 by the display control means, thereby functioning as a computer.
ここで、数式認識手段22の処理についてより詳しく述
べる。数式認識手段22は更に前記コード列と1対lに
対応し、かつ通常数学で用いられる書式の数式を出力す
る機能をもつ。Here, the processing of the formula recognition means 22 will be described in more detail. The formula recognition means 22 further has a function of outputting a formula in a one-to-one correspondence with the code string and in a format commonly used in mathematics.
数式を構成する各文字のコード、文字の位置、及び文字
の大きさに基づいて、数式を認識し、コード列として出
力する機能は、前述の従来例とほぼ同様である。異なる
点は、本実施例においては、手書きによって入力された
括弧“(”及び“)“に対して、分数、べき乗、平方根
の認識の際に数式認識手段によって挿入された括弧を区
別する必要があるので、後者の括弧は中括弧“(”及び
“)”で表わす。本実施例において扱う演算は第5図と
同様である。The function of recognizing a mathematical formula based on the code of each character constituting the mathematical formula, the position of the character, and the size of the character and outputting it as a code string is almost the same as that of the conventional example described above. The difference is that in this embodiment, it is necessary to distinguish parentheses inserted by the mathematical formula recognition means when recognizing fractions, powers, and square roots from parentheses "(" and ")" input by hand. Therefore, the latter parentheses are represented by curly braces “(” and “)”. The calculations handled in this embodiment are the same as those shown in FIG.
本実施例では数式認識によって得られたコード列に基づ
いて、通常数学で用いられる書式の数式を出力する。こ
の数式は前記コード列とl対lに対応させるために以下
の条件を満たす。In this embodiment, a formula in a format normally used in mathematics is output based on a code string obtained by formula recognition. This formula satisfies the following conditions in order to correspond to the code string and l to l.
1、整数及び小数の加減乗除算を表わす各文字のX座標
は等間隔であり、X座標はすべて等しい。The X coordinates of each character representing addition, subtraction, multiplication, and division of 1, integers, and decimal numbers are equally spaced, and the X coordinates are all equal.
2、分数線の左端は、分子及び分母の左端より、左側で
ある。また、分数線の右端は、分子及び分母の右端より
、右側である。2. The left end of the fraction line is to the left of the left ends of the numerator and denominator. Furthermore, the right end of the fraction line is to the right of the right ends of the numerator and denominator.
3、根号の右端は、根号内の右端にそろえる。また、根
号の下端は根号内の下端にそろえる。3. Align the right end of the radical with the right end within the radical. Also, align the bottom of the radical with the bottom of the radical.
4、指数部外の数字、演算子、小数点、括弧は16ドツ
トフオントで表わし、指数部内の数字、演算子、小数点
、括弧は8ドツトフオントで表わす。4. Numbers, operators, decimal points, and parentheses outside the exponent part are represented in 16-dot fonts, and numbers, operators, decimal points, and parentheses inside the exponent part are represented in 8-dot fonts.
以上の条件を満たす書式の数式を生成する方法について
、第6図から第13図のフローチャートによって詳細に
説明する。A method for generating a mathematical expression in a format that satisfies the above conditions will be explained in detail with reference to flowcharts shown in FIGS. 6 to 13.
第6図はメインルーチンであり、まずステップ5101
において、k、 I、 X、 Y、 DX、 DY
の各変数に値を代入する。ここで、kはコード列S (
1)。FIG. 6 shows the main routine, starting with step 5101.
In, k, I, X, Y, DX, DY
Assign values to each variable. Here, k is the code string S (
1).
S (2)、・・・において現在処理している文字を指
すポインタである。S (k)はコード列における1つ
の文字コードを表わす。またIは生成中の数式データに
新たな文字のデータが加わる位置を指すポインタである
。また、X、 Y、 DX、 DYはそれぞれ、次に(
る文字のX座標、X座標、X方向のドツト数、y方向の
ドツト数を表わす。尚、X(1)及びy(1)はそれぞ
れ手書き数式の最初の文字のX座標及びX座標である。S (2), . . . is a pointer pointing to the character currently being processed. S (k) represents one character code in the code string. Further, I is a pointer pointing to the position where new character data is added to the mathematical formula data being generated. Also, X, Y, DX, and DY are each next (
represents the X coordinate, X coordinate, number of dots in the X direction, and number of dots in the y direction of the character. Note that X(1) and y(1) are the X coordinate and the X coordinate of the first character of the handwritten mathematical formula, respectively.
次にステップ5102において領域内に存在する数式の
生成を行なう。メインルーチンにおいては領域内に数式
全体が含まれるので、本ステップによって数式全体の生
成がおこなわれる。Next, in step 5102, a mathematical expression existing within the area is generated. In the main routine, the entire mathematical formula is included in the area, so the entire mathematical formula is generated in this step.
第7図は領域内生成の処理ルーチンを示したものである
b領域内生成ルーチンはメインルーチンで呼び出される
他、分子、分母、根号内、べき乗の数式の生成について
も呼び出される。FIG. 7 shows a processing routine for intra-area generation.b The intra-area generation routine is called in the main routine, and is also called for the generation of formulas for numerators, denominators, radicals, and powers.
まずステップS201においてS (k)が右中括弧“
ばてあれば領域は終了であり、領域内生成を終了する。First, in step S201, S (k) is a right curly brace "
If it is, the area is finished, and the generation within the area ends.
一方、ステップ5202からステップ5204において
、S (k)を左中括弧“ (”、根号“f”べき乗演
算子“△”、その他の文字のいずれかに分類し、それぞ
れステップ5207.ステップ3208゜ステップ52
1)9.ステップ8206へ分岐する。ステップ520
7.ステップ3208.ステップ5209においてはそ
れぞれの処理の終了後、5201に戻り次の文字の処理
を行なう。ステップ5205においてはS (k)は数
字“0”〜“9″、演算子“+”、“。On the other hand, in steps 5202 to 5204, S (k) is classified into the left curly brace "(", the radical "f", the power operator "△", and other characters, respectively, in steps 5207 and 3208). Step 52
1)9. The process branches to step 8206. Step 520
7. Step 3208. After completing each process in step 5209, the process returns to 5201 to process the next character. In step 5205, S (k) is the number "0" to "9" and the operators "+" and ".
“×”、“−”、小数点“、”、括弧“(”、“)”の
いずれかである。これらの文字については、ここで生成
する数式中における文字コードC0DE (I)、文字
のX座標x (■)、y座標Y (I)、X方向のドツ
ト数DX (I)、y方向のドツト数DY (I)がそ
れぞれ決定される。すなわちC0DE (I) =S
(k)。It is either "x", "-", decimal point ",", or parentheses "(", ")". For these characters, the character code C0DE (I) in the formula generated here, the X coordinate of the character x (■), the y coordinate Y (I), the number of dots in the X direction DX (I), the dot in the y direction The numbers DY (I) are respectively determined. That is, C0DE (I) =S
(k).
X (I) =X、 Y (1) =Y、 DX
(I) =DX、 DY(1)=DYである。そして
、ステップ8206においてS (k) =“=“であ
れば領域内生成を終了する。S (k) =“=”でな
ければステップ5210へ進む。ステップ5210にお
いては次の文字の処理を行なうための準備を行なう。す
なわちkを1増し、■も1増し、XをDX増す。そして
ステップ5201へ戻る。これによってXは1文字ごと
にDXずつ増していき、Yは変わらないので、前述の条
件1が満たされる。X (I) =X, Y (1) =Y, DX
(I)=DX, DY(1)=DY. Then, in step 8206, if S (k) = "=", the intra-region generation ends. If S (k) is not “=”, the process advances to step 5210. In step 5210, preparations are made for processing the next character. That is, k is increased by 1, ■ is also increased by 1, and X is increased by DX. Then, the process returns to step 5201. As a result, X increases by DX for each character, and Y remains unchanged, so the above-mentioned condition 1 is satisfied.
第8図は第7図のステップ5207の分数のルーチンを
示す。ステップ5301において、最初のIの値を変数
1oに保存しておく。IOは分数線を指すポインタとな
る。次にステップ5302において、分数線の文字コー
ドC0DE (Io)、x座標X (Io)。FIG. 8 shows the fraction routine of step 5207 in FIG. In step 5301, the first value of I is stored in variable 1o. IO becomes a pointer pointing to the fraction line. Next, in step 5302, the character code C0DE (Io) of the fraction line and the x coordinate X (Io).
y座標Y (Io)、 y方向のドツト数DY (Io
)をそれぞれ決定する。X方向のドツト数DX (Io
)は後に決定する。次にステップ5303において、次
の文字の処理を行なうため、kを1増し、S (k)
=“(”をスキップする。■も1増す。そしてステップ
5304において、分子の処理を行なう。分子の処理ル
ーチンを第9図に示す。ステップ5401において、X
をX (Io) +8とすることにより、分子の左端の
X座標を分数線の左端より8ビツト右に決定する。そし
てステップ5402において、領域内生成を行なう。右
中括弧“)”が見つかると領域内生成は終了である。次
にステップ5403において、分子の下端のX座標を分
数線に合わせるために分子を構成する全文字のX座標を
一定量ずつ減らす。y coordinate Y (Io), number of dots in y direction DY (Io
) are determined respectively. Number of dots in the X direction DX (Io
) will be determined later. Next, in step 5303, in order to process the next character, k is incremented by 1 and S (k)
="(" is skipped. ■ is also incremented by 1. Then, in step 5304, the molecule is processed. The molecule processing routine is shown in FIG. 9. In step 5401,
By setting X (Io) +8, the X coordinate of the left end of the molecule is determined to be 8 bits to the right of the left end of the fraction line. Then, in step 5402, intra-area generation is performed. When the right curly brace ")" is found, the intra-region generation ends. Next, in step 5403, in order to align the X coordinate of the lower end of the molecule with the fractional line, the X coordinates of all characters constituting the molecule are decreased by a fixed amount.
そして、ステップ5404によって、次の文字の処理を
行なうため、kを3増し、S (k) =“)”。Then, in step 5404, in order to process the next character, k is increased by 3 and S (k) = ")".
S (k+1) =“÷”、 S (k+2) =“(
”の3文字をスキップする。さらに、分子の右端のX座
標を変数X1に保存しておく。これで分子の処理ルーチ
は終了である。次に第8図のステップ5305において
、分母の処理を行なう。分母の処理ルーチンを第10図
に示す。ステップ5501において、XをX (Io)
+8とすることにより、分母の左端のX座標を分数線
の左端より8ドツト右に決定する。そしてステップ55
02において領域内生成を行う。右中括弧“)”が見つ
かると領域内生成は終了である。S (k+1) = “÷”, S (k+2) = “(
”. Furthermore, save the X coordinate of the right end of the numerator in the variable X1. This completes the numerator processing routine. Next, in step 5305 of FIG. The denominator processing routine is shown in FIG. 10. In step 5501,
By setting it to +8, the X coordinate of the left end of the denominator is determined to be 8 dots to the right of the left end of the fraction line. and step 55
In step 02, intra-area generation is performed. When the right curly brace ")" is found, the intra-region generation ends.
次に、ステップ503において、分母の上端のX座標を
分数線に合わせるために分母を構成する全文字のX座標
を一定量ずつ増す。そしてステップ5504によって次
の文字の処理を行なうため、kを1増し、S (k)
=“)”の1文字をスキップする。さらに分母の右端の
X座標を変数X2に保存しておく。これで分母の処理ル
ーチンは終了である。次に第8図のステップ5306に
おいてxl〉x2であれば分子の右端より右にあること
を示し、ステップ5307へ進む。ステップ5307に
おいては分母の中心のX座標を分子の中心に合わせるた
めに分母を構成する全文字のX座標を一定量ずつ増す。Next, in step 503, the X coordinates of all characters forming the denominator are increased by a fixed amount in order to align the X coordinate of the upper end of the denominator with the fraction line. Then, in step 5504, in order to process the next character, k is incremented by 1 and S (k)
= Skip one character “)”. Furthermore, the X coordinate of the right end of the denominator is stored in variable X2. This completes the denominator processing routine. Next, in step 5306 of FIG. 8, if xl>x2, it indicates that the molecule is to the right of the right end, and the process proceeds to step 5307. In step 5307, in order to align the X coordinate of the center of the denominator with the center of the numerator, the X coordinates of all characters constituting the denominator are increased by a fixed amount.
そして、ステップ5308において、XをX1+8とす
ることにより、分数線の右端のX座標を分子の右端より
8ドツト右に決定する。するとステップ5309におい
て分数線のX方向のドツト数DX (Io)がX−X(
Io)に決定する。一方、ステップ5306においてX
lくX2であれば分母の右端が分子の右端より右にある
ことを示し、ステップ5310へ進む。ステップ531
0においては分子の中心のX座標を分母の中心に合わせ
るために分子を構成する全文字のX座標を一定量ずつ増
す。そしてステップ5311において、XをX2+8と
することにより、分数線の右端のX座標を分母の右端よ
り8ドツト右に決定する。するとステップ5309にお
いて分数線のX方向のドツト数DX (Io)がX7X
(Io) ニ決定する。以上の分数の処理によって前
述の条件2が満たされる。Then, in step 5308, by setting X to X1+8, the X coordinate of the right end of the fraction line is determined to be 8 dots to the right of the right end of the numerator. Then, in step 5309, the number of dots DX (Io) in the X direction of the fraction line is
Io). On the other hand, in step 5306
If X2, this indicates that the right end of the denominator is to the right of the right end of the numerator, and the process advances to step 5310. Step 531
0, the X coordinates of all the characters constituting the numerator are increased by a fixed amount in order to align the X coordinate of the center of the numerator with the center of the denominator. Then, in step 5311, by setting X to X2+8, the X coordinate of the right end of the fraction line is determined to be 8 dots to the right of the right end of the denominator. Then, in step 5309, the number of dots DX (Io) in the X direction of the fraction line is
(Io) Decide. The above-mentioned processing of fractions satisfies the above-mentioned condition 2.
第11図は第7図のステップ8208の平方根のルーチ
ンを示す。ステップ5601において、最初のIの値を
変数■0に保存しておく。Ioは根号を指すポインタと
なる。次にステップ5602において、根号の文字コー
ドCO’DE (Io)、 x座標X (Io)をそ
れぞれ決定する。y座標Y、(Io)、X方向のドツト
数DX (Io)、y方向のドツト数DY (Io)は
それぞれ後に決定する。次にステップ5603において
、次の文字の処理を行なうため、kを2増し、S (k
)=“△”、S (k+1)=“(“の2文字をスキッ
プする。Iはl増す。そして、ステップ5604におい
て根号内の処理を行なう。根号内の処理ルーチンを第1
2図に示す。ステップ57Q1において、XをX (I
o) +16とすることにより、根号内の左端のX座標
を根号の左端より1・6ドツト右に決定する。FIG. 11 shows the square root routine of step 8208 in FIG. In step 5601, the first value of I is stored in the variable ■0. Io becomes a pointer pointing to a radical. Next, in step 5602, the radical character code CO'DE (Io) and the x coordinate X (Io) are determined. The y coordinate Y, (Io), the number of dots in the X direction DX (Io), and the number of dots DY (Io) in the y direction are determined later. Next, in step 5603, in order to process the next character, k is incremented by 2, and S (k
) = "△", S (k+1) = "(" skips the two characters. I increases by l. Then, in step 5604, processing within the radical is performed. The processing routine within the radical is the first
Shown in Figure 2. In step 57Q1, convert X to
o) By setting it to +16, the X coordinate of the left end within the radical is determined to be 1.6 dots to the right of the left end of the radical.
そしてステップ5702において、領域内生成を行なう
。右中括弧“)”が見つかると領域内生成は終了である
。次にステップ5703において次の文字の処理を行な
うため、kを1増しS (k) =“)”の1文字をス
キップする。さらに根号内の上端のX座標を変数Y、に
、根号内の下端のX座標を変数Y2にそれぞれ保存して
おく。これで根号内の処理ルーチンは終了である。次に
第11図のステップ5605において根号のy座標Y
(Io)を根号内の上端より4ドツト上に決定する。ま
た、根号のX方向のドツト数DX (Io)は根号内の
右端Xから根号の左端のX座標X (Io)を引いた値
に決定する。また、根号のy方向のドツト数DY (I
o)は根号内の下端Y2から根号の上端のy座標Y (
Io)を引いた値に決定する。以上の平方根の処理によ
って前述の条件3が満たされる。Then, in step 5702, intra-area generation is performed. When the right curly brace ")" is found, the intra-region generation ends. Next, in step 5703, in order to process the next character, k is increased by 1 and one character of S (k) = ")" is skipped. Furthermore, the X coordinate of the upper end of the radical symbol is stored in a variable Y, and the X coordinate of the lower end of the radical symbol is stored in a variable Y2. This completes the processing routine within the radical. Next, in step 5605 of FIG. 11, the y coordinate Y of the radical
(Io) is determined to be 4 dots above the upper end in the radical. Further, the number of dots DX (Io) in the X direction of the radical is determined to be the value obtained by subtracting the X coordinate X (Io) of the left end of the radical from the right end X within the radical. Also, the number of dots in the y direction of the radical DY (I
o) is the y-coordinate Y (
The value obtained by subtracting Io) is determined. The above-mentioned condition 3 is satisfied by the above square root processing.
第13図は第7図のステップ5209のべき乗のルーチ
ンを示す。ステップ5801において次の文字の処理を
行なうため、kを2増し、S (k)=“△”。FIG. 13 shows the exponentiation routine of step 5209 in FIG. In step 5801, in order to process the next character, k is incremented by 2 and S (k)=“△”.
S (k+1)=“(”の2文字をスキップする。次に
ステップ5802において、DX=8及びDY=8とす
ることによって次の領域内の数字、演算子、小数点、括
弧を8ドツトフオントにする。そしてステップ5803
において、領域内生成を行なう。右中括弧“)”が見つ
かると領域内生成は終了である。Skip the two characters S (k+1)=“(”. Next, in step 5802, set DX=8 and DY=8 to make numbers, operators, decimal points, and parentheses in the next area 8 dot fonts. .And step 5803
In-region generation is performed in . When the right curly brace ")" is found, the intra-region generation ends.
次にステップ5804において次の文字の処理を行なう
ため、kを1増し、S (k) =“)”の1文字をス
キップする。そしてステップ5805においてDX=1
6及びDY=16とすることによって以降の数字、演算
子、小数点、括弧を16ドツトフオントにする。以上の
べき乗の処理によって前述の条件4が満たされる。Next, in step 5804, in order to process the next character, k is incremented by 1 and one character of S (k) = ")" is skipped. Then, in step 5805, DX=1
By setting 6 and DY=16, the following numbers, operators, decimal points, and parentheses are set to 16 dot fonts. The above-described exponentiation process satisfies the above-mentioned condition 4.
以上述べた方法によって、コード列5(t)。By the method described above, code string 5(t) is generated.
S (2)、・・・と1対lに対応した数式が生成され
る。A mathematical expression corresponding to S (2), . . . on a one-to-l basis is generated.
この数式全構成する各文字の文字コードC0DE(I)
、 x座標X(I)、y座標Y(I)、X方向のドツ
ト数DX (I)、 Y方向のドツト数DY (I)
の各データに基づき、表示制御手段24によって液晶デ
イスプレィ13に数式を表示する。また、演算手段23
によって得られた解も同時に表示する。Character code C0DE(I) for each character that makes up this entire formula
, x coordinate X (I), y coordinate Y (I), number of dots in the X direction DX (I), number of dots in the Y direction DY (I)
Based on each data, a mathematical formula is displayed on the liquid crystal display 13 by the display control means 24. In addition, the calculation means 23
The solution obtained by is also displayed at the same time.
以上述べたように数式認識によって得られるコード列と
1対1に対応する数式を表示することによって、手書き
入力した数式が正しく認識されたかどうか操作者が確認
することができるで、確実に数式の入力を行なうことが
できる。また、表示される数式は、手書き入力した数式
と同様に、通常数学で用いられる表記法によって表示さ
れるので大変わかりやすく、しかも手書きによる各文字
の位置のバラツキがなくなるので見た目に美しい数式を
表示することができる。As mentioned above, by displaying a formula that corresponds one-to-one with the code string obtained by formula recognition, the operator can check whether the handwritten formula has been recognized correctly, and can ensure that the formula is correct. input can be made. In addition, the displayed mathematical formulas are displayed using the notation normally used in mathematics, just like handwritten formulas, so they are very easy to understand, and because there are no variations in the position of each character due to handwriting, the displayed mathematical formulas are visually appealing. can do.
第14図は本発明の第2の実施例の処理を示すフローチ
ャートである。前述の第1の実施例においては入力した
数式が正しく認識されたかどうか確認することができた
。第2の実施例においては第1の実施例を発展させ、正
しく認識されていない恐れがあるときは、自動的に入力
した数式が正しく認識されたかどうか操作者に尋ねるよ
うにしたものである。。そして操作者が、正しく認識さ
れたと答えたときは演算を行ない、解を表示する。一方
、正しく認識されなかったと答えたときは、認識を取り
消し、手書き数式を再編集させる。また正しく認識され
ていない恐れがないときは、操作者の手間を省(ために
操作者に尋ねずに演算を行ない、解を表示する。FIG. 14 is a flowchart showing the processing of the second embodiment of the present invention. In the first embodiment described above, it was possible to check whether the input formula was correctly recognized. The second embodiment is a development of the first embodiment, in which the operator is asked whether the automatically input formula has been correctly recognized if there is a possibility that it has not been correctly recognized. . If the operator answers that the recognition is correct, the calculation is performed and the solution is displayed. On the other hand, if the answer is that it was not recognized correctly, the recognition is canceled and the handwritten formula is re-edited. In addition, when there is no risk of incorrect recognition, the calculation is performed without asking the operator and the solution is displayed to save the operator's time and effort.
数式が正しく認識されないことは、次の場合に起こりつ
る。すなわち、ある文字が分子の領域、分母の領域、根
号内の領域等に一部分だけかかつているために、その文
字が領域内の文字であるか、領域外の文字であるかの判
断が、操作者と数式認識手段とで異なった場合に数式が
正しく認識されな(なる。Mathematical formulas may not be recognized correctly in the following cases: In other words, since a certain character only partially overlaps the numerator area, denominator area, radical area, etc., it is difficult to determine whether the character is within the area or outside the area. If there is a difference between the operator and the formula recognition means, the formula may not be recognized correctly.
言いかえると、次の4つの条件を満たせば、分子、分母
、根号内の文字は確定することができ、正しく認識を行
なうことができる。In other words, if the following four conditions are met, the characters in the numerator, denominator, and radical can be determined and recognized correctly.
■1分分数線左端のX座標が分子及び分母の左端より左
にある。■The X coordinate of the left end of the 1-minute fraction line is to the left of the left end of the numerator and denominator.
2、分数線の右端のX座−が分子及び分母の右端より右
にある。2. The X locus at the right end of the fraction line is to the right of the right ends of the numerator and denominator.
3、根号の右端のX座標が根号内の右端より右にある。3. The X coordinate of the right end of the radical is to the right of the right end within the radical.
4、根号の下端のy座標が根号内の下端より下にある。4. The y-coordinate of the lower end of the radical is below the lower end within the radical.
以上の条件を満たすかどうかを判定し、処理を決定する
方法について、第15図のフローチャートによって詳細
に説明する。A method for determining whether the above conditions are satisfied and determining processing will be explained in detail with reference to the flowchart in FIG. 15.
ステップ5901.5902.5903.5904にお
いて、入力された数式が前記4つの条件を満たすかどう
か調べ、正しく認識されない恐れがあるかどうか判定す
る。In steps 5901, 5902, 5903, and 5904, it is checked whether the input formula satisfies the four conditions described above, and it is determined whether there is a risk that it will not be recognized correctly.
ステップ5901においては分数線の左端のX座標が、
分子の左側より左にあるかどうか調べる。In step 5901, the X coordinate of the left end of the fraction line is
Check whether it is to the left of the left side of the molecule.
ステップ5902においては、分数線の右端のX座標が
分子及び分母の右端より右にあるかどうか調べる。ステ
ップ5903においては根号の右端のX座標が根号内の
右端より右にあるかどうか、調べる。In step 5902, it is checked whether the X coordinate of the right end of the fraction line is to the right of the right ends of the numerator and denominator. In step 5903, it is checked whether the X coordinate of the right end of the radical is to the right of the right end within the radical.
ステップ5904においては根号の下端のy座標が根号
内の下端より下にあるかどうか調べる。ステップ590
1.5902.5903.5904のすべての条件を満
たした数式は、正しく認識されていない恐れがないとみ
なし、ステップ5905へ進み、認識したコード列によ
って演算を行ない、さらにステップ8906において解
を表示する。一方、ステップ5901,5902.59
03,5904のうちいずれかの条件を満たさない数式
は、正しく認識されていない恐れがあるとみなし、ステ
ップ5906へ進み、入力した数式が正しく認識された
かどうか操作者に質問する為に、認識した数式を表示し
、これで良いかどうかを質問するメツセージを表示する
。操作者は、第1の実施例によって表示される認識され
た数式を見て、正しく認識されたかどうか答える。ステ
ップ5907において正しく認識されたとの答えを得た
場合は、ステップ5905へ進み、認識したコード列に
よって演算を行ない、さらにステップ5906において
解を表示する。一方、正しく認識されなかったどの答え
を得た場合は、ステップ8908へ進み、認識された数
式の表示を消し、手書きの数式を再表示して、操作者に
再編集させる。In step 5904, it is checked whether the y-coordinate of the lower end of the radical is below the lower end of the radical. Step 590
A formula that satisfies all the conditions of 1.5902.5903.5904 is considered to be safe from being recognized correctly, proceeds to step 5905, performs calculations using the recognized code string, and displays the solution in step 8906. . Meanwhile, steps 5901, 5902.59
A formula that does not satisfy any of the conditions of 03 and 5904 is considered to be at risk of not being recognized correctly, and the process proceeds to step 5906. Displays the formula and displays a message asking if this is correct. The operator looks at the recognized mathematical formula displayed by the first embodiment and answers whether it has been correctly recognized. If the answer is that the code has been recognized correctly in step 5907, the process proceeds to step 5905, where calculations are performed using the recognized code string, and the solution is displayed in step 5906. On the other hand, if any answer that was not correctly recognized is obtained, the process advances to step 8908, the display of the recognized mathematical formula is erased, the handwritten mathematical formula is redisplayed, and the operator is asked to edit it again.
以上述べたように、入力した数式が正しく認識されてい
ない恐れがあるときは、自動的に入力した数式が正しく
認識されたかどうか操作者に尋ねることによって、正し
く認識されたときのみ解が表示されるので、さらに確実
に数式の入力を行なうことができる。また正しく認識さ
れていない恐れがないときにいちいち尋ねてこないので
、操作の手間が省ける。As mentioned above, if there is a possibility that the input formula is not recognized correctly, the solution can be displayed only when it is recognized correctly by automatically asking the operator whether the input formula was recognized correctly. This allows you to input formulas more reliably. In addition, since it does not ask you every time there is no possibility that it is not recognized correctly, it saves you time and effort.
以上説明したように、認識した数式を、出力するコード
列と1対1に対応する書式によって表示する手段を備え
ることにより、入力した数式が正しく認識されたかどう
か操作者が確認することができるので、確実に数式の入
力を行なうことができる効果がある。As explained above, by providing a means for displaying the recognized formula in a format that corresponds one-to-one with the code string to be output, the operator can confirm whether the input formula has been correctly recognized. This has the effect of making it possible to input formulas reliably.
第1図は、本発明の構成を示す図。
第2図は、本発明の実施例の構成を示す図。
第3図は、本発明の実施例で扱う文字を示す図。
第4図は、記憶手段の内容を示す図。
第5図は、本発明の実施例で扱う計算式を示す図。
第6図〜第14図は、本発明の実施例の制御手順を示す
フローチャート。FIG. 1 is a diagram showing the configuration of the present invention. FIG. 2 is a diagram showing the configuration of an embodiment of the present invention. FIG. 3 is a diagram showing characters handled in the embodiment of the present invention. FIG. 4 is a diagram showing the contents of the storage means. FIG. 5 is a diagram showing calculation formulas used in the embodiment of the present invention. FIGS. 6 to 14 are flowcharts showing control procedures in an embodiment of the present invention.
Claims (1)
入力手段からの座標データから手書きデータを認識する
認識手段と、 前記認識手段によって認識された手書きデータを表示す
る表示手段と、 前記認識手段によって誤認識の呉れがある場合、前記表
示手段に、誤認識か否かの質問メッセージを表示するメ
ッセージ表示手段と、 前記メッセージ表示手段によって表示された質問メッセ
ージに対する操作者の回答に従って、前記認識手段によ
って認識されたデータの処理を行う制御手段と、 を有することを特徴とするデータ認識装置。[Scope of Claims] A means for inputting handwritten data as coordinate data, a recognition means for recognizing the handwritten data from the coordinate data from the input means, a display means for displaying the handwritten data recognized by the recognition means, If there is a misrecognition by the recognition means, a message display means for displaying a question message as to whether or not there is a misrecognition on the display means, and according to the operator's answer to the question message displayed by the message display means, A data recognition device comprising: control means for processing data recognized by the recognition means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62289169A JP2974320B2 (en) | 1987-11-16 | 1987-11-16 | Character processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62289169A JP2974320B2 (en) | 1987-11-16 | 1987-11-16 | Character processing method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01130291A true JPH01130291A (en) | 1989-05-23 |
JP2974320B2 JP2974320B2 (en) | 1999-11-10 |
Family
ID=17739655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62289169A Expired - Fee Related JP2974320B2 (en) | 1987-11-16 | 1987-11-16 | Character processing method and apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2974320B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5390281A (en) * | 1992-05-27 | 1995-02-14 | Apple Computer, Inc. | Method and apparatus for deducing user intent and providing computer implemented services |
US5477447A (en) * | 1992-05-27 | 1995-12-19 | Apple Computer, Incorporated | Method and apparatus for providing computer-implemented assistance |
JP2014099182A (en) * | 2013-12-10 | 2014-05-29 | Toshiba Corp | Electronic apparatus and handwritten document processing method |
US9025879B2 (en) | 2012-10-26 | 2015-05-05 | Kabushiki Kaisha Toshiba | Electronic apparatus and handwritten document processing method |
CN111639155A (en) * | 2020-05-11 | 2020-09-08 | 广东小天才科技有限公司 | Mathematical oral calculation type question analysis method, device, electronic equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60217483A (en) * | 1984-04-12 | 1985-10-31 | Toshiba Corp | Recognizer of character |
-
1987
- 1987-11-16 JP JP62289169A patent/JP2974320B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60217483A (en) * | 1984-04-12 | 1985-10-31 | Toshiba Corp | Recognizer of character |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5390281A (en) * | 1992-05-27 | 1995-02-14 | Apple Computer, Inc. | Method and apparatus for deducing user intent and providing computer implemented services |
US5477447A (en) * | 1992-05-27 | 1995-12-19 | Apple Computer, Incorporated | Method and apparatus for providing computer-implemented assistance |
US5621903A (en) * | 1992-05-27 | 1997-04-15 | Apple Computer, Inc. | Method and apparatus for deducing user intent and providing computer implemented services |
US5644735A (en) * | 1992-05-27 | 1997-07-01 | Apple Computer, Inc. | Method and apparatus for providing implicit computer-implemented assistance |
US9025879B2 (en) | 2012-10-26 | 2015-05-05 | Kabushiki Kaisha Toshiba | Electronic apparatus and handwritten document processing method |
JP2014099182A (en) * | 2013-12-10 | 2014-05-29 | Toshiba Corp | Electronic apparatus and handwritten document processing method |
CN111639155A (en) * | 2020-05-11 | 2020-09-08 | 广东小天才科技有限公司 | Mathematical oral calculation type question analysis method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP2974320B2 (en) | 1999-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3046027B2 (en) | Character processing method | |
US5212769A (en) | Method and apparatus for encoding and decoding chinese characters | |
JPH06102985A (en) | Virtual keyboard | |
JPH01130291A (en) | Data recognizing device | |
JP2740575B2 (en) | Character processor | |
JPH08329004A (en) | Method for improving terminal operability of application program use | |
JP2984275B2 (en) | Information processing method and apparatus | |
JPS61240361A (en) | Document creation device using handwritten characters | |
JPH0296823A (en) | Information processing device with an advice function based on usage history | |
JPH1049624A (en) | Handwritten character recognition method and apparatus | |
JP2851852B2 (en) | Information processing device | |
JPH0651900A (en) | On-line character input device | |
JP2989609B2 (en) | Information processing method and apparatus | |
JP2640134B2 (en) | Keyboard for outline font development device | |
JPS59142630A (en) | Character processing device | |
JPS6334684A (en) | Character recognizing device | |
JPH0250505B2 (en) | ||
JPH0844333A (en) | Graphic input device | |
JPH04130571A (en) | Numerical calculation method | |
JPH02122378A (en) | Image operation | |
JPH0695642A (en) | Character / symbol pattern generator | |
JPS60140461A (en) | Japanese word input device | |
JPH0934890A (en) | Handwritten character input device and kana/kanji conversion method | |
JPH01250165A (en) | Processor for handwritten numerical formula | |
JPH07287633A (en) | Document preparing device and graphic preparing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |