JP5053538B2 - Handwriting learning support program and handwritten character recognition program - Google Patents

Handwriting learning support program and handwritten character recognition program Download PDF

Info

Publication number
JP5053538B2
JP5053538B2 JP2005336865A JP2005336865A JP5053538B2 JP 5053538 B2 JP5053538 B2 JP 5053538B2 JP 2005336865 A JP2005336865 A JP 2005336865A JP 2005336865 A JP2005336865 A JP 2005336865A JP 5053538 B2 JP5053538 B2 JP 5053538B2
Authority
JP
Japan
Prior art keywords
character
strokes
recognition
correct
result
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.)
Active
Application number
JP2005336865A
Other languages
Japanese (ja)
Other versions
JP2007140345A (en
Inventor
裕一朗 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nintendo Co Ltd
Original Assignee
Nintendo 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 Nintendo Co Ltd filed Critical Nintendo Co Ltd
Priority to JP2005336865A priority Critical patent/JP5053538B2/en
Publication of JP2007140345A publication Critical patent/JP2007140345A/en
Application granted granted Critical
Publication of JP5053538B2 publication Critical patent/JP5053538B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrically Operated Instructional Devices (AREA)
  • Character Discrimination (AREA)

Description

この発明は、手書き学習支援プログラムおよび手書き文字認識プログラムに関し、特にたとえば、正解が予め判明している問題を表示し、表示問題に関連する手書き文字入力操作をタッチパネルを通して受け付け、受け付けられた入力操作に対応する手書き文字を認識し、認識された文字が正解か否かを判別し、そして判別結果を通知することによってユーザの学習を支援する、学習支援プログラムに関し、また、手書き文字入力操作をタッチパネルを通して受け付け、受け付けられた入力操作に対応する手書き文字を認識し、認識された文字が特定文字か否かを判別する、文字認識プログラムに関する。   The present invention relates to a handwriting learning support program and a handwritten character recognition program, and in particular, for example, displays a problem whose correct answer is known in advance, accepts a handwritten character input operation related to a display problem through a touch panel, and accepts the accepted input operation. The present invention relates to a learning support program that recognizes corresponding handwritten characters, determines whether or not the recognized characters are correct, and notifies the determination result, and also supports handwriting input operations through a touch panel. The present invention relates to a character recognition program that recognizes a handwritten character corresponding to an accepted input operation and determines whether or not the recognized character is a specific character.

従来の学習支援装置としては、特許文献1に開示されたものが知られている。この従来技術では、問題表示から正誤通知に至る一連の処理は一定の周期で行われる。この周期を学習者の習熟度に応じて調整することで、学習効果を高めようとしている。   As a conventional learning support apparatus, the one disclosed in Patent Document 1 is known. In this prior art, a series of processing from problem display to correct / incorrect notification is performed at a constant cycle. By adjusting this period according to the proficiency level of the learner, the learning effect is improved.

一方、従来の手書き文字認識装置としては、特許文献2に開示されたものが知られている。この従来技術は、手書き数字入力操作をストローク単位で受け付け、受け付けの度に数字認識処理を行う。入力される数字は、最大で2桁であり、数字認識処理は、現時点までに受け付けられた全てのストロークに基づいて行われる。こうすることで、より自然な入力操作を実現し、また認識速度を向上させようとしている。
特開2004−309627号公報 特許第3560361号公報
On the other hand, what was disclosed by patent document 2 is known as a conventional handwritten character recognition apparatus. In this prior art, a handwritten numeral input operation is accepted in units of strokes, and a numeral recognition process is performed each time it is accepted. The number to be input is two digits at the maximum, and the number recognition process is performed based on all strokes received up to the present time. In this way, a more natural input operation is realized and the recognition speed is improved.
JP 2004-309627 A Japanese Patent No. 3560361

しかし、特許文献1の従来技術は、入力が不正解である場合に、一定時間が経過するまで不正解を知ることができない。このため、待ち時間が長く、効果的な学習が行えなかった。   However, the prior art of Patent Document 1 cannot know an incorrect answer until a predetermined time elapses when the input is an incorrect answer. For this reason, the waiting time is long and effective learning cannot be performed.

一方、特許文献2の従来技術は、2桁以下の数字を主な認識対象としており、特に英大文字,英小文字等も含む任意の文字列について、高い認識精度が得られるとは限らない。   On the other hand, the prior art of Patent Document 2 mainly uses numbers of two digits or less, and high recognition accuracy is not always obtained for arbitrary character strings including uppercase letters, lowercase letters, and the like.

それゆえに、この発明の第1の目的は、早いタイミングで不正解を知ることができる、手書き学習支援プログラムを提供することである。   Therefore, a first object of the present invention is to provide a handwriting learning support program capable of knowing an incorrect answer at an early timing.

この発明の第2の目的は、文字認識の精度を高めることができる、手書き文字認識プログラムを提供することである。   A second object of the present invention is to provide a handwritten character recognition program capable of improving the accuracy of character recognition.

請求項1の発明に従う手書き学習支援プログラムは、タッチパネル(20:実施例で相当する参照符号。以下同じ)と、文字毎のストローク数を記憶した記憶手段(104a)とを有するコンピュータ装置(10)のプロセサ(42)を、問題を出力する問題出力手段(S1)、問題出力手段によって出力された問題に関連する手書き文字入力操作をタッチパネルを通してストローク単位で受け付ける受付手段(S7,S31)、受付手段による受け付けの度に認識処理を行う認識手段(S15,S47,S57)、認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段(S17,S49,S59)、正解判別手段の判別結果が否定的であるとき受付手段によって受け付けられた手書き文字入力操作のストローク数が正解文字のストローク数以上か否かを判別するストローク数判別手段(S19,S53,S55)、およびストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段(S21,S37)として機能させる。 The handwriting learning support program according to the invention of claim 1 is a computer device (10) having a touch panel (20: reference numeral corresponding to the embodiment; the same applies hereinafter) and storage means (104a) storing the number of strokes for each character. The processor (42) includes a problem output means (S1) for outputting a problem, a reception means (S7, S31) for receiving a handwritten character input operation related to the problem output by the problem output means in a stroke unit through the touch panel , and a reception means. Recognition means (S15, S47, S57) that performs a recognition process each time it is received, and correct answer determination means (S17, S49, S59) that determine whether the result of the recognition process performed by the recognition means matches the correct character. ), Handwritten character input operation accepted by the accepting means when the correct answer discriminating result is negative Number of strokes discriminating means number of strokes it is determined whether or the number of strokes of the correct character (S19, S53, S55), and the determination result of the number of strokes determining means incorrect notification means for notifying an incorrect answer is affirmative manner It functions as (S21, S37).

請求項1の発明では、問題は、問題出力手段によって出力される。出力された問題に関連する手書き文字入力操作は、受付手段によって、タッチパネルを通してストローク単位で受け付けられる。認識手段は、受付手段による受け付けの度に認識処理を行う。認識手段によって行われた認識処理の結果が正解文字と一致するか否かは、正解判別手段によって判別される。ストローク数判別手段は、正解判別手段の判別結果が否定的であるとき受付手段によって受け付けられた手書き文字入力操作のストローク数が、正解文字のストローク数以上か否かを判別する。不正解通知手段は、ストローク数判別手段の判別結果が肯定的であるとき、不正解を通知する。 In the invention of claim 1, the problem is output by the problem output means. The handwritten character input operation related to the output problem is accepted by the accepting unit in units of strokes through the touch panel . The recognizing unit performs a recognition process each time it is received by the receiving unit. Whether or not the result of the recognition processing performed by the recognition unit matches the correct character is determined by the correct determination unit. The stroke number determining means determines whether or not the number of strokes of the handwritten character input operation received by the receiving means when the determination result of the correct answer determining means is negative is greater than or equal to the number of strokes of the correct character. The incorrect answer notifying means notifies the incorrect answer when the determination result of the stroke number determining means is affirmative.

請求項1の発明によれば、手書き文字入力操作をストローク単位で受け付け、受け付けの度に認識処理を行い、認識処理の結果が正解文字と一致しないとき、受け付けられた手書き文字入力操作のストローク数が正解文字のストローク数以上か否かを判別して、かかる判別結果が肯定的であるとき不正解を通知するので、早いタイミングで不正解を通知できる。 According to the first aspect of the present invention, a handwritten character input operation is accepted in units of strokes, a recognition process is performed each time it is accepted, and the number of strokes of the accepted handwritten character input operation when the result of the recognition process does not match the correct character. There it is determined whether or not more than the number of strokes of the correct character, since such determination result to notify incorrect when it is affirmative, it notifies incorrect at an earlier timing.

請求項2の発明に従う手書き学習支援プログラムは、請求項1に従属し、正解文字は第1正解文字および当該第1正解文字に後続する第2正解文字を含む。正解判別手段は、認識手段によって行われた認識処理の結果が第1正解文字と一致するか否かを判別する第1正解判別手段(S17)、および第1正解判別手段の判別結果が肯定的となった後に認識手段によって行われた認識処理の結果が第2正解文字と一致するか否かを判別する第2正解判別手段(S49)を含む。第1正解判別手段は、第2正解判別手段の判別結果が否定的であり、かつ受付手段によって受け付けられた手書き文字入力操作のストローク数が第1正解文字のストローク数未満であるとき、すでに第1正解文字と一致すると判別されたストロークの全てと当該第2正解判別手段によって判別されたストロークとを含めたストロークを認識手段によって認識させ、当該認識処理の結果が第1正解文字と一致するか否かを判別する第3正解判別手段(S59)を含む。 The handwriting learning support program according to the invention of claim 2 is dependent on claim 1, and the correct character includes a first correct character and a second correct character that follows the first correct character. The correct answer discriminating means includes a first correct answer discriminating means (S17) for discriminating whether or not the result of the recognition process performed by the recognizing means matches the first correct character, and the discrimination result of the first correct answer discriminating means is positive. The second correct answer discriminating means (S49) for discriminating whether or not the result of the recognition processing performed by the recognition means after the coincidence coincides with the second correct character. First correct answer determination means, the determination result of the second correct answer determination means is negative, and can the number of strokes of the handwritten character input operation accepted by the accepting means is less than the number of strokes of the first correct character, already The recognition unit recognizes a stroke including all the strokes determined to match the first correct character and the stroke determined by the second correct answer determination unit, and the result of the recognition process matches the first correct character. Third correct answer discriminating means (S59) for discriminating whether or not.

請求項2の発明に従えば、正解文字に第1正解文字および当該第1正解文字に後続する第2正解文字が含まれる場合の判別処理では、まず認識処理の結果が第1正解文字と一致するか否かを判別し、続いてこの第1判別処理の結果が肯定的となった後に行われた認識処理の結果が第2正解文字と一致するか否かを判別する。そして、この第2判別処理の結果が否定的であり、かつ受け付けられた手書き文字入力操作のストローク数が第1正解文字のストローク数未満であれば、第1判別処理ですでに第1正解文字と一致すると判別されたストロークの全てと、第2判別処理の対象となったストロークとを含めたストロークを認識し、この認識処理の結果が第1正解文字と一致するか否かをさらに判別する(第3判別処理)。 According to the invention of claim 2, in the discrimination process when the correct character includes the first correct character and the second correct character that follows the first correct character, the recognition processing result first matches the first correct character. It is then determined whether or not the result of the recognition process performed after the result of the first determination process is affirmative matches the second correct character. Then, the result of the second determination process is negative, and if the number of strokes of the accepted handwriting input operation is less than the number of strokes of the first correct character, already the first correct character in the first determination process Are recognized, and the stroke including the stroke that is the target of the second determination process is recognized, and it is further determined whether or not the result of this recognition process matches the first correct character. (Third discrimination process).

このように、第1および第2判別処理を実行した後、受け付けられた手書き文字入力操作のストローク数が第1正解文字のストローク数未満であれば第3判別処理をさらに実行するので、第2判別処理の対象となったストロークが第1正解文字の一部であればそれがわかる。この結果、手書き入力文字が正解文字と一致するか否かの判別精度が高まり、ひいては不正解の通知タイミングが早まる。 As described above, after the first and second discrimination processes are executed, if the number of strokes of the accepted handwritten character input operation is less than the number of strokes of the first correct character, the third discrimination process is further executed. If the stroke subjected to the discrimination process is a part of the first correct character, it is known. As a result, the accuracy of determining whether or not the handwritten input character matches the correct character is increased, and accordingly, the incorrect answer notification timing is advanced.

請求項3の発明に従う手書き学習支援プログラムは、請求項2に従属し、第2正解判別手段は、第3正解判別手段の判別が行われたとき、第1正解判別手段で第1正解文字と一致すると判別されたストロークの少なくとも一部と当該第1正解判別手段で第1正解文字と一致すると判別されたストロークの後に入力されたストロークとを含めたストロークを認識手段によって認識させ、当該認識処理の結果が第2正解文字と一致するか否かを判別することを特徴とする。 Handwritten learning support program according the invention of claim 3 depends on claim 2, the second correct answer determination means, when the determination of the third correct answer determination means has been performed, the first correct character in the first correct answer determination means The recognition unit recognizes a stroke including at least a part of the stroke determined to match and the stroke input after the stroke determined to match the first correct character by the first correct determination unit . It is characterized in that it is determined whether or not the result of the above matches the second correct character.

請求項3の発明では、第3判別処理が実行されたとき、第1正解文字と一致すると判別されたストロークの少なくとも一部と、第1正解文字と一致すると判別されたストロークの後に入力されたストロークとを含むストロークを認識手段によって認識させ、当該認識処理の結果が第2正解文字と一致するか否かをさらに判別する(第4判別処理)。 In the invention of claim 3, when the third determination process is executed, at least a part of the stroke determined to match the first correct character and the stroke determined to match the first correct character are input. A stroke including the stroke is recognized by the recognition means , and it is further determined whether or not the result of the recognition processing matches the second correct character (fourth determination processing).

このように、第3判別処理と共に第4判別処理をさらに行うので、第1正解文字の一部とされたストロークが第2正解文字の一部であればそれがわかる。この結果、手書き入力文字が正解文字と一致するか否かの判別精度が一層高まり、ひいては不正解の通知タイミングがさらに早まる。   As described above, the fourth determination process is further performed together with the third determination process. Therefore, if the stroke that is a part of the first correct character is a part of the second correct character, it is known. As a result, the accuracy of determining whether or not the handwritten input character matches the correct character is further increased, and thus the notification timing of the incorrect answer is further advanced.

請求項4の発明に従う手書き学習支援プログラムは、請求項2または3に従属し、ストローク数判別手段は、第2正解判別手段の判別結果が否定的であるとき受付手段によって受け付けられた手書き文字入力操作のストローク数が第1正解文字および第2正解文字の合計ストローク数以上か否かを判別する合計ストローク数判別手段(S53)を含み、不正解通知手段は合計ストローク数判別手段の判別結果が肯定的であるとき通知処理を実行する。 The handwriting learning support program according to the invention of claim 4 is dependent on claim 2 or 3, and the stroke number discriminating means accepts the handwritten character input accepted by the accepting means when the discrimination result of the second correct answer discriminating means is negative. A total stroke number determining means (S53) for determining whether or not the number of strokes of the operation is equal to or greater than the total number of strokes of the first correct character and the second correct character; When it is positive, the notification process is executed.

請求項4の発明では、認識処理の結果が第2特定文字と一致しないとき、受け付けられた手書き文字入力操作のストローク数が第1正解文字および第2正解文字の合計ストローク数以上か否かを判別して、かかる判別結果が肯定的であるとき不一致を通知するので、より早いタイミングで不一致を通知できる。 In the invention of claim 4, when the result of the recognition process does not match the second specific character, it is determined whether or not the number of strokes of the accepted handwritten character input operation is equal to or greater than the total number of strokes of the first correct character and the second correct character. When the determination result is affirmative, a mismatch is notified when the determination result is affirmative, so that the mismatch can be notified at an earlier timing.

請求項5の発明に従う手書き学習支援プログラムは、請求項2ないし4のいずれかに従属し、第1正解判別手段の判別結果が肯定的であり、かつ第2正解判別手段の判別結果が肯定的であった後に、次の手書き文字入力操作が行われた場合、第1正解判別手段は、第2正解文字を第1正解文字として、認識手段によって行われた認識処理の結果を判別し、第2正解判別手段は、新たな正解文字を第2正解文字として、認識手段によって行われた認識処理の結果を判別する。 The handwriting learning support program according to the invention of claim 5 is dependent on any one of claims 2 to 4, wherein the determination result of the first correct answer determination means is affirmative and the determination result of the second correct answer determination means is affirmative When the next handwritten character input operation is performed, the first correct answer discriminating means discriminates the result of the recognition processing performed by the recognizing means using the second correct answer character as the first correct character, The two correct answer discriminating means discriminates the result of the recognition processing performed by the recognizing means using the new correct answer character as the second correct answer character.

請求項5の発明によれば、任意の文字列を2文字単位で1文字ずつシフトしつつ認識することができる。   According to the invention of claim 5, an arbitrary character string can be recognized while being shifted one character at a time in units of two characters.

請求項6の発明に従う手書き学習支援プログラムは、請求項1ないし5のいずれかに従属し、プロセサ、受付手段によって最後に受付処理が実行されてからの経過時間が所定時間を超えたか否かを判別する経過時間判別手段(S9,S33)としてさらに機能させる。不正解通知手段は、経過時間判別手段の判別結果が肯定的であるときさらに通知処理を実行する。 Handwritten learning support program according the invention of claim 6 is according to any one of claims 1 to 5, the processor, whether the elapsed time since the last reception processing is performed by the receiving means exceeds a predetermined time Is further functioned as elapsed time discriminating means (S9, S33). The incorrect answer notification means further executes notification processing when the determination result of the elapsed time determination means is affirmative.

請求項6の発明では、受付手段によって最後に受付処理が実行されてからの経過時間が所定時間を超えたか否かは、経過時間判別手段によって判別される。通知処理は、経過時間判別手段の判別結果が肯定的であるときにも実行される。 In the invention of claim 6, the elapsed time discriminating means determines whether or not the elapsed time since the reception processing was last executed by the accepting means exceeded a predetermined time. The notification process is also executed when the determination result of the elapsed time determination means is affirmative.

請求項6の発明によれば、不慣れな学習者は、一文字ずつ正誤を確認しながら入力できる。   According to the sixth aspect of the present invention, an unfamiliar learner can input while checking correctness one by one.

請求項7の発明に従う手書き文字認識プログラムは、タッチパネル(20)を有するコンピュータ装置(10)のプロセサ(42)を、手書き文字入力操作をタッチパネルを通してストローク単位で受け付ける受付手段(S7,S31)、受付手段による受け付けの度に認識処理を行う認識手段(S15,S47,S57)、および認識手段によって行われた認識処理の結果が特定文字と一致するか否かを判別する一致判別手段(S17,S49,S59)として機能させる。特定文字は、第1特定文字および当該第1特定文字に後続する第2特定文字を含む。一致判別手段は、認識手段によって行われた認識処理の結果が第1特定文字と一致するか否かを判別する第1一致判別手段(S17)、および第1一致判別手段の判別結果が肯定的となった後に認識手段によって行われた認識処理の結果が第2特定文字と一致するか否かを判別する第2一致判別手段(S49)を含む。第1一致判別手段は、第2一致判別手段の判別結果が否定的であり、かつ前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記第1特定文字のストローク数未満であるとき、すでに前記第1特定文字と一致すると判別されたストロークの全てと当該第2一致判別手段によって判別されたストロークとを含めたストロークを前記認識手段によって認識させ、当該認識処理の結果が第1特定文字と一致するか否かを判別する第3一致判別手段(S59)を含む。 A handwritten character recognition program according to a seventh aspect of the invention is a receiving means (S7, S31) for receiving a processor (42) of a computer device (10) having a touch panel (20) in units of strokes through a touch panel. Recognizing means (S15, S47, S57) that performs a recognition process each time it is received by the means, and a coincidence determining means (S17, S49) that determines whether or not the result of the recognition processing performed by the recognizing means matches a specific character. , S59). The specific character includes a first specific character and a second specific character that follows the first specific character. The match determination means includes a first match determination means (S17) for determining whether or not the result of the recognition processing performed by the recognition means matches the first specific character, and the determination result of the first match determination means is affirmative And a second match determining means (S49) for determining whether or not the result of the recognition processing performed by the recognition means after that is the same as the second specific character. First matching determination means, can the determination result of the second match determining means is negative, and the number of strokes of the handwritten character input operation accepted by the accepting means is less than the number of strokes of the first specific character The recognizing unit recognizes a stroke including all of the strokes already determined to match the first specific character and the stroke determined by the second match determining unit, and the result of the recognition process is the first specific character. Third matching determining means (S59) for determining whether or not the character matches is included.

請求項7の発明では、手書き文字入力操作は、受付手段によって、タッチパネルを通してストローク単位で受け付けられる。認識手段は、受付手段による受け付けの度に認識処理を行う。認識手段によって行われた認識処理の結果が特定文字と一致するか否かは、一致判別手段によって判別される。 In the invention of claim 7, the handwritten character input operation is accepted by the accepting means in units of strokes through the touch panel . The recognizing unit performs a recognition process each time it is received by the receiving unit. Whether or not the result of the recognition process performed by the recognition unit matches the specific character is determined by the match determination unit.

特定文字には、第1特定文字および当該第1特定文字に後続する第2特定文字が含まれる。一致判別手段の判別処理では、認識手段によって行われた認識処理の結果が第1特定文字と一致するか否かが第1一致判別手段によって判別され、第1一致判別手段の判別結果が肯定的となった後に認識手段によって行われた認識処理の結果が第2特定文字と一致するか否かは、第2一致判別手段によって判別される。この第2一致判別手段の判別結果が否定的であり、かつ受け付けられた手書き文字入力操作のストローク数が第1特定文字のストローク数未満であれば、第1判別処理ですでに第1特定文字と一致すると判別されたストロークの全てと、第2判別処理の対象となったストロークとを含めたストロークを認識し、この認識処理の結果が第1特定文字と一致するか否かをさらに判別する(第3判別処理)。 The specific character includes a first specific character and a second specific character subsequent to the first specific character. In the determination process of the match determination unit, the first match determination unit determines whether the result of the recognition process performed by the recognition unit matches the first specific character, and the determination result of the first match determination unit is positive Whether or not the result of the recognition processing performed by the recognition means after the coincidence matches the second specific character is determined by the second match determination means. If the determination result of the second match determination means it is negative, and the number of strokes of the accepted handwriting input operation is less than the number of strokes of the first particular character, already the first specific character in the first determination process Are recognized, and strokes including the strokes that are the targets of the second determination process are recognized, and it is further determined whether or not the result of the recognition process matches the first specific character. (Third discrimination process).

このように、第1および第2判別処理を実行した後、受け付けられた手書き文字入力操作のストローク数が第1特定文字のストローク数未満であれば第3判別処理をさらに実行するので、第2判別処理の対象となったストロークが第1正解文字の一部であればそれがわかる。この結果、手書き入力文字が特定文字と一致するか否かの判別精度が高まる。 As described above, after the first and second determination processes are performed, the third determination process is further performed if the number of strokes of the accepted handwritten character input operation is less than the number of strokes of the first specific character. If the stroke subjected to the discrimination process is a part of the first correct character, it is known. As a result, the accuracy of determining whether or not the handwritten input character matches the specific character is increased.

請求項8の発明に従う手書き文字認識プログラムは、請求項7に従属し、第2一致判別手段は、第3一致判別手段の判別が行われたとき、第1一致判別手段で第1特定文字と一致すると判別されたストロークの少なくとも一部と当該第1一致判別手段で第1特定文字と一致すると判別されたストロークの後に入力されたストロークとを含めたストロークを認識手段によって認識させ、当該認識処理の結果が第2特定文字と一致するか否かを判別することを特徴とする。 The handwritten character recognition program according to the invention of claim 8 is dependent on claim 7, and the second match determining means determines that the first match determining means determines the first specific character when the third match determining means is determined. The recognition unit recognizes a stroke including at least a part of the stroke determined to match and the stroke input after the stroke determined to match the first specific character by the first match determination unit , and the recognition process It is characterized by discriminating whether or not the result of the above matches the second specific character.

請求項8の発明では、第3判別処理が実行されたとき、第1特定文字と一致すると判別されたストロークの少なくとも一部と、第1特定文字と一致すると判別されたストロークの後に入力されたストロークとを含むストロークを認識手段によって認識させ、当該認識処理の結果が第2特定文字と一致するか否かをさらに判別する(第4判別処理)。 In the invention of claim 8, when the third determination processing is executed, at least a part of the stroke determined to match the first specific character and the stroke determined to match the first specific character are input. A stroke including the stroke is recognized by the recognition means , and it is further determined whether or not the result of the recognition processing matches the second specific character (fourth determination processing).

このように、第3判別処理と共に第4判別処理をさらに行うので、第1特定文字の一部とされたストロークが第2特定文字の一部であればそれがわかり、この結果、手書き入力文字が特定文字と一致するか否かの判別精度が一層高まる。   As described above, the fourth determination process is further performed together with the third determination process. Therefore, if the stroke that is a part of the first specific character is a part of the second specific character, it can be recognized. The accuracy of determining whether or not matches a specific character is further increased.

請求項9の発明に従う手書き文字認識プログラムは、請求項8に従属し、コンピュータ装置は文字毎のストローク数を記憶した記憶手段(104a)をさらに有する。このプログラムは、プロセサを、問題を出力する問題出力手段(S1)、問題出力手段によって出力される問題に関連して実行される第2一致判別手段の判別結果が否定的であるとき、受付手段によって受け付けられた手書き文字入力操作のストローク数が第1特定文字および第2特定文字の合計ストローク数以上か否かを判別するストローク数判別手段(S53)、およびストローク数判別手段の判別結果が肯定的であるとき不一致を通知する不一致通知手段(S37)としてさらに機能させる。 The handwritten character recognition program according to the invention of claim 9 is dependent on claim 8, and the computer apparatus further includes storage means (104a) for storing the number of strokes for each character. This program receives the processor when the determination result of the problem output means (S1) for outputting the problem and the second match determination means executed in relation to the problem output by the problem output means is negative. The stroke number determination means (S53) for determining whether or not the number of strokes of the handwritten character input operation accepted by the step is equal to or greater than the total number of strokes of the first specific character and the second specific character, and the determination result of the stroke number determination means is positive It further functions as a mismatch notification means (S37) for notifying a mismatch when it is the target.

請求項9の発明では、問題は、問題出力手段によって出力される。こうして出力される問題に関連して実行される第2一致判別手段の判別結果が否定的であるとき、受付手段によって受け付けられた手書き文字入力操作のストローク数が第1特定文字および第2特定文字の合計ストローク数以上か否かが、ストローク数判別手段によって判別される。不一致通知手段は、ストローク数判別手段の判別結果が肯定的であるとき不一致を通知する。 In the invention of claim 9, the problem is outputted by the problem output means. When the determination result of the second coincidence determination unit executed in relation to the problem thus output is negative, the number of strokes of the handwritten character input operation received by the reception unit is the first specific character and the second specific character. whether the total number of strokes or more is determined by the stroke number determination means. The mismatch notification means notifies the mismatch when the determination result of the stroke number determination means is affirmative.

請求項9の発明によれば、認識処理の結果が第2特定文字と一致しないとき、受け付けられた手書き文字入力操作のストローク数が第1特定文字および第2特定文字の合計ストローク数以上か否かを判別して、かかる判別結果が肯定的であるとき不一致を通知するので、より早いタイミングで不一致を通知できる。 According to the invention of claim 9, when the result of the recognition process does not match the second specific character, the number of strokes of the accepted handwritten character input operation is greater than or equal to the total number of strokes of the first specific character and the second specific character. Since the discrepancy is notified when the discrimination result is affirmative, the discrepancy can be notified at an earlier timing.

請求項10の発明に従う手書き文字認識プログラムは、請求項7または8に従属し、プロセサを、受付手段によって最後に受付処理が実行されてからの経過時間が所定時間を超えたか否かを判別する経過時間判別手段(S9,S33)、および前記経過時間判別手段の判別結果が肯定的であるとき不一致を通知する不一致通知手段としてさらに機能させる。 A handwritten character recognition program according to the invention of claim 10 is dependent on claim 7 or 8 , and the processor determines whether or not the elapsed time since the reception process was last executed by the reception means exceeded a predetermined time. It further functions as an elapsed time discriminating means (S9, S33) and a discrepancy notifying means for notifying an inconsistency when the discrimination result of the elapsed time discriminating means is affirmative.

請求項10の発明によれば、請求項6の発明と同様、不慣れな学習者は、一文字ずつ正誤を確認しながら入力できる。   According to the invention of claim 10, as in the invention of claim 6, an unfamiliar learner can input while checking correctness one by one.

請求項11の発明に従う手書き学習支援装置は、タッチパネル(20)、文字毎のストローク数を記憶した記憶手段(104a)、問題を出力する問題出力手段(22a,22b,S1)、問題出力手段によって出力された問題に関連する手書き文字入力操作をタッチパネルを通してストローク単位で受け付ける受付手段(S7,S31)、受付手段による受け付けの度に認識処理を行う認識手段(S15,S47,S57)、認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段(S17,S49,S59)、正解判別手段の判別結果が否定的であるとき受付手段によって受け付けられた手書き文字入力操作のストローク数が正解文字のストローク数以上か否かを判別するストローク数判別手段(S19,S53,S55)、およびストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段(12,S21,S37)を備える。 The handwriting learning support device according to the invention of claim 11 includes a touch panel (20), a storage means (104a) storing the number of strokes for each character, a problem output means (22a, 22b, S1) for outputting a problem, and a problem output means. Accepting means (S7, S31) for accepting handwritten character input operations related to the output problem in units of strokes through the touch panel , recognizing means (S15, S47, S57) for performing recognition processing each time acceptance is received by the accepting means, Correct answer discriminating means (S17, S49, S59) for discriminating whether or not the result of the recognition processing performed matches the correct answer character, and the handwritten character accepted by the accepting means when the discrimination result of the correct answer discriminating means is negative number of strokes discriminating means number of strokes of the input operation is determined whether or the number of strokes of the correct character ( 19, S53, S55), and the determination result of the number of strokes discrimination means comprises an incorrect answer notification means for notifying an incorrect answer is affirmative manner (12, S21, S37).

請求項11の発明でも、請求項1の発明と同様に、早いタイミングで不一致を通知できる。   In the invention of claim 11, as in the invention of claim 1, a mismatch can be notified at an early timing.

請求項12の発明に従う手書き文字認識装置は、タッチパネル(20)、手書き文字入力操作をタッチパネルを通してストローク単位で受け付ける受付手段(S7,S31)、受付手段による受け付けの度に認識処理を行う認識手段(S15,S47,S57)、および認識手段によって行われた認識処理の結果が特定文字と一致するか否かを判別する一致判別手段(S17,S49,S59)を備える。特定文字は、第1特定文字および当該第1特定文字に後続する第2特定文字を含む。一致判別手段は、認識手段によって行われた認識処理の結果が第1特定文字と一致するか否かを判別する第1一致判別手段(S17)、および第1一致判別手段の判別結果が肯定的となった後に認識手段によって行われた認識処理の結果が第2特定文字と一致するか否かを判別する第2一致判別手段(S49)を含む。第1一致判別手段は、第2一致判別手段の判別結果が否定的であり、かつ受付手段によって受け付けられた手書き文字入力操作のストローク数が第1特定文字のストローク数未満であるとき、すでに第1特定文字と一致すると判別されたストロークの全てと当該第2一致判別手段によって判別されたストロークとを含めたストロークを認識手段によって認識させ、当該認識処理の結果が第1特定文字と一致するか否かを判別する第3一致判別手段(S59)を含む。
請求項12の発明でも、請求項7の発明と同様に、手書き入力文字が特定文字と一致するか否かの判別精度が高まる。
The handwritten character recognition device according to the invention of claim 12 includes a touch panel (20), accepting means (S7, S31) for accepting handwritten character input operations in units of strokes through the touch panel , and recognizing means for performing recognition processing every time the accepting means accepts ( S15, S47, S57), and a coincidence determining means (S17, S49, S59) for determining whether or not the result of the recognition processing performed by the recognizing means matches a specific character. The specific character includes a first specific character and a second specific character that follows the first specific character. The match determination means includes a first match determination means (S17) for determining whether or not the result of the recognition processing performed by the recognition means matches the first specific character, and the determination result of the first match determination means is affirmative And a second match determining means (S49) for determining whether or not the result of the recognition processing performed by the recognition means after that is the same as the second specific character. First matching determination means, the determination result of the second match determination means is negative, and can the number of strokes of the handwritten character input operation accepted by the accepting means is less than the number of strokes of the first particular character, already A stroke including all strokes determined to match the first specific character and the stroke determined by the second match determination unit is recognized by the recognition unit, and the result of the recognition process matches the first specific character. A third coincidence judging means (S59) for judging whether or not.
In the invention of claim 12, as in the invention of claim 7, the determination accuracy of whether or not the handwritten input character matches the specific character is increased.

請求項13の発明に従う手書き学習支援プログラムは、タッチパネル(20)と、文字毎のストローク数を記憶した記憶手段(104a)とを有するコンピュータ装置(10)のプロセサ(42)を、問題を出力する問題出力手段(S1)、問題出力手段によって出力された問題に関連する手書き文字入力操作をタッチパネルを通してストローク単位で受け付ける受付手段(S7,S31)、受付手段による受け付けの度に認識処理を行う認識手段(S15,S47,S57)、認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段(S17,S49,S59)、正解判別手段の判別結果が肯定的であるとき、正解を通知する正解通知手段(S23)、受付手段によって受け付けられた手書き文字入力操作のストローク数が正解文字のストローク数より大きいか否かを判別するストローク数判別手段(S19,S53,S55)、およびストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段(S21,S37)として機能させる。
このように、手書き文字入力操作をストローク単位で受け付け、受け付けの度に認識処理を行い、認識処理の結果が正解文字と一致するとき正解を通知する一方、受け付けられた手書き文字入力操作のストローク数が正解文字のストローク数を上回るか否かを判別して、かかる判別結果が肯定的であるとき不正解を通知するので、早いタイミングで正解または不正解を通知できる。
請求項14の発明に従う手書き学習支援装置(10)は、タッチパネル(20)、文字毎のストローク数を記憶した記憶手段、問題を出力する問題出力手段(S1)、問題出力手段によって出力された問題に関連する手書き文字入力操作をタッチパネルを通してストローク単位で受け付ける受付手段(S7,S31)、受付手段による受け付けの度に認識処理を行う認識手段(S15,S47,S57)、認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段(S17,S49,S59)、正解判別手段の判別結果が肯定的であるとき、正解を通知する正解通知手段(S23)、受付手段によって受け付けられた手書き文字入力操作のストローク数が正解文字のストローク数より大きいか否かを判別するストローク数判別手段(S19,S53,S55)、およびストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段(S21,S37)を備える。
請求項14の発明でも、請求項13の発明と同様に、早いタイミングで正解または不正解を通知できる。
The handwriting learning support program according to the invention of claim 13 outputs a problem to the processor (42) of the computer device (10) having the touch panel (20) and the storage means (104a) storing the number of strokes for each character. A problem output means (S1), a reception means (S7, S31) for accepting handwritten character input operations related to the problem output by the problem output means in units of strokes through the touch panel , and a recognition means for performing a recognition process each time the acceptance means accepts (S15, S47, S57), correct answer discriminating means (S17, S49, S59) for discriminating whether or not the result of the recognition processing performed by the recognizing means matches the correct character, the discrimination result of the correct answer discriminating means being positive Correct answer notifying means for notifying correct answer (S23), handwritten character input accepted by accepting means The number of strokes discriminating means (S19, S53, S55) for discriminating whether or not the number of strokes of the operation is larger than the number of strokes of the correct character, and an incorrect answer when the discrimination result of the stroke number discriminating means is affirmative. It functions as correct answer notifying means (S21, S37).
In this way, handwritten character input operations are accepted in units of strokes, recognition processing is performed each time they are received, and when the result of the recognition processing matches the correct characters, the correct answer is notified, while the number of accepted handwritten character input operation strokes It is determined whether or not the number of strokes of the correct character exceeds the correct number, and an incorrect answer is notified when the determination result is affirmative, so that the correct answer or the incorrect answer can be notified at an early timing.
The handwriting learning support device (10) according to the invention of claim 14 includes a touch panel (20), a storage means for storing the number of strokes for each character, a problem output means (S1) for outputting a problem, and a problem output by the problem output means. Receiving means (S7, S31) for accepting handwritten character input operations related to the character in units of strokes through the touch panel , recognizing means (S15, S47, S57) for performing recognition processing every time the acceptance means accepts, and recognition performed by the recognizing means Correct answer discriminating means (S17, S49, S59) for discriminating whether or not the result of processing matches the correct character; correct answer notifying means (S23) for notifying the correct answer when the correct answer discriminating result is positive; Determine whether the number of strokes of the handwritten character input operation accepted by the accepting means is greater than the number of strokes of the correct character That the stroke number determination means (S19, S53, S55), and the determination result of the number of strokes discrimination means comprises an incorrect answer notification means for notifying an incorrect answer is affirmative manner (S21, S37).
In the invention of claim 14, as in the invention of claim 13, a correct answer or an incorrect answer can be notified at an early timing.

この発明によれば、文字認識の精度が高まり、また、より早いタイミングで不正解を通知できる。   According to the present invention, the accuracy of character recognition is improved, and an incorrect answer can be notified at an earlier timing.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1を参照して、この発明の一実施例であるゲーム装置10は、第1の液晶表示器(LCD)12および第2のLCD14を含む。このLCD12およびLCD14は、所定の配置位置となるようにハウジング16に収納される。この実施例では、ハウジング16は、上側ハウジング16aと下側ハウジング16bとによって構成され、LCD12は上側ハウジング16aに収納され、LCD14は下側ハウジング16bに収納される。したがって、LCD12とLCD14とは縦(上下)に並ぶように近接して配置される。   Referring to FIG. 1, game device 10 according to one embodiment of the present invention includes a first liquid crystal display (LCD) 12 and a second LCD 14. The LCD 12 and the LCD 14 are accommodated in the housing 16 so as to be in a predetermined arrangement position. In this embodiment, the housing 16 includes an upper housing 16a and a lower housing 16b. The LCD 12 is stored in the upper housing 16a, and the LCD 14 is stored in the lower housing 16b. Therefore, the LCD 12 and the LCD 14 are arranged close to each other so as to be arranged vertically (up and down).

なお、この実施例では、表示器としてLCDを用いるようにしてあるが、LCDに代えて、EL(Electronic Luminescence)ディスプレイなどを用いるようにしてもよい。   In this embodiment, an LCD is used as the display, but an EL (Electronic Luminescence) display or the like may be used instead of the LCD.

図1からも分かるように、上側ハウジング16aは、LCD12の平面形状よりも大きな平面形状を有し、一方主面からLCD12の表示面を露出するように開口部が形成される。一方、下側ハウジング16bは、その平面形状が上側ハウジング16aと同程度に形成され、横方向の略中央部にLCD14の表示面を露出するように開口部が形成される。また、上側ハウジング16aには、LCD12を挟むように、右側に音抜き孔22aが、左側に音抜き孔22bが、左右対称に形成される。またハウジング16には操作スイッチ18(18a,18b,18c,18d,18e,18f,18h,18g,18Lおよび18R)が配置される。   As can be seen from FIG. 1, the upper housing 16 a has a planar shape larger than the planar shape of the LCD 12, and an opening is formed so as to expose the display surface of the LCD 12 from the main surface. On the other hand, the lower housing 16b is formed to have the same planar shape as the upper housing 16a, and an opening is formed so as to expose the display surface of the LCD 14 at a substantially central portion in the horizontal direction. Further, the upper housing 16a is formed with a sound release hole 22a on the right side and a sound release hole 22b on the left side symmetrically so as to sandwich the LCD 12. The housing 16 is provided with operation switches 18 (18a, 18b, 18c, 18d, 18e, 18f, 18h, 18g, 18L and 18R).

また、上側ハウジング16aと下側ハウジング16bとは、上側ハウジング16aの下辺(下端)と下側ハウジング16bの上辺(上端)の一部とが回動可能に連結されている。したがって、たとえば、ゲームをプレイしない場合には、LCD12の表示面とLCD14の表示面とが対面するように、上側ハウジング16aを回動させて折りたたんでおけば、LCD12の表示面およびLCD14の表示面に傷がつくなどの破損を防止することができる。ただし、上側ハウジング16aと下側ハウジング16bとは、回動可能に連結せずに、それらを一体的(固定的)に設けたハウジング16を形成するようにしてもよい。   The upper housing 16a and the lower housing 16b are rotatably connected to the lower side (lower end) of the upper housing 16a and a part of the upper side (upper end) of the lower housing 16b. Therefore, for example, when the game is not played, if the upper housing 16a is rotated and folded so that the display surface of the LCD 12 and the display surface of the LCD 14 face each other, the display surface of the LCD 12 and the display surface of the LCD 14 are displayed. Damage such as scratches can be prevented. However, the upper housing 16a and the lower housing 16b may be formed as a housing 16 in which they are integrally (fixed) provided without being rotatably connected.

操作スイッチ18は、方向指示スイッチ(十字スイッチ)18a,スタートスイッチ18b,セレクトスイッチ18c,動作スイッチ(Aボタン)18d,動作スイッチ(Bボタン)18e,動作スイッチ(Xボタン)18f,動作スイッチ(Yボタン)18g,電源スイッチ18h,動作スイッチ(Lボタン)18Lおよび動作スイッチ(Rボタン)18Rを含む。スイッチ18aおよび18hは、下側ハウジング16bの一方主面において、LCD14の左側に配置される。また、スイッチ18bないし18gは、下側ハウジング16bの一方主面において、LCD14の右側に配置される。さらに、スイッチ18Lおよびスイッチ18Rは、それぞれ、下側ハウジング16bの上端(天面)の一部において、上側ハウジング16aとの連結部以外に当該連結部を挟むように、左右に配置される。   The operation switch 18 includes a direction switch (cross switch) 18a, a start switch 18b, a select switch 18c, an operation switch (A button) 18d, an operation switch (B button) 18e, an operation switch (X button) 18f, and an operation switch (Y Button) 18g, power switch 18h, operation switch (L button) 18L, and operation switch (R button) 18R. The switches 18a and 18h are arranged on the left side of the LCD 14 on one main surface of the lower housing 16b. The switches 18b to 18g are disposed on the right side of the LCD 14 on one main surface of the lower housing 16b. Further, the switch 18L and the switch 18R are respectively disposed on the left and right sides of the upper housing 16b so as to sandwich the connecting portion in addition to the connecting portion with the upper housing 16a.

方向指示スイッチ18aは、ディジタルジョイスティックとして機能し、4つの押圧部の1つを操作することによって、プレイヤによって操作可能なプレイヤキャラクタ(またはプレイヤオブジェクト)の移動方向を指示したり、カーソルの移動方向を指示したりする等に用いられる。スタートスイッチ18bは、プッシュボタンで構成され、ゲームを開始(再開)したり、一時停止(Pause)したりする等に用いられる。セレクトスイッチ18cは、プッシュボタンで構成され、ゲームモードの選択等に用いられる。   The direction indicating switch 18a functions as a digital joystick, and operates one of the four pressing portions to instruct the moving direction of the player character (or player object) that can be operated by the player, or to change the moving direction of the cursor. It is used to give instructions. The start switch 18b includes a push button, and is used to start (resume) a game, pause (pause), or the like. The select switch 18c includes a push button and is used for selecting a game mode.

動作スイッチ18dすなわちAボタンは、プッシュボタンで構成され、方向指示以外の動作、すなわち、プレイヤキャラクタに打つ(パンチ)、投げる、つかむ(取得)、乗る、ジャンプするなどの任意のアクションをさせることができる。たとえば、アクションゲームにおいては、ジャンプ、パンチ、武器を動かす等を指示することができる。また、ロールプレイングゲーム(RPG)やシミュレーションRPGにおいては、アイテムの取得、武器またはコマンドの選択および決定等を指示することができる。動作スイッチ18eすなわちBボタンは、プッシュボタンで構成され、セレクトスイッチ18cで選択したゲームモードの変更やAボタン18dで決定したアクションの取り消し等のために用いられる。   The motion switch 18d, that is, the A button is configured by a push button, and allows the player character to perform an arbitrary action such as hitting (punching), throwing, grabbing (acquiring), riding, jumping, etc. other than the direction instruction. it can. For example, in an action game, it is possible to instruct to jump, punch, move a weapon, and the like. In a role playing game (RPG) or simulation RPG, it is possible to instruct acquisition of items, selection or determination of weapons or commands, and the like. The operation switch 18e, that is, the B button is constituted by a push button, and is used for changing the game mode selected by the select switch 18c, canceling the action determined by the A button 18d, or the like.

動作スイッチ18eすなわちXボタン、および動作スイッチ18fすなわちYボタンは、プッシュボタンで構成され、プッシュボタンAとプッシュボタンBだけでは、ゲーム進行ができないときに、補助的な操作ボタンとして用いられる。もちろん、ゲームプレイにおいてXボタンとYボタンを必ずしも使用しなくてよい。電源スイッチ18hは、ゲーム装置10の電源をオンオフするためのスイッチである。   The operation switch 18e, that is, the X button, and the operation switch 18f, that is, the Y button are configured as push buttons, and are used as auxiliary operation buttons when the game cannot be progressed by only the push button A and the push button B. Of course, the X button and the Y button are not necessarily used in the game play. The power switch 18 h is a switch for turning on / off the power of the game apparatus 10.

動作スイッチ18L(左押しボタン)および動作スイッチ18R(右押しボタン)は、プッシュボタンで構成され、左押しボタン(Lボタン)18Lおよび右押しボタン(Rボタン)18Rは、Aボタン18dおよびBボタン18eと同様の操作に用いることができ、また、Aボタン18dおよびBボタン18eの補助的な操作に用いることができる。   The operation switch 18L (left push button) and the operation switch 18R (right push button) are configured by push buttons, and the left push button (L button) 18L and the right push button (R button) 18R are an A button 18d and a B button. It can be used for the same operation as 18e, and can be used for an auxiliary operation of the A button 18d and the B button 18e.

また、このゲーム装置10はタッチパネルを用いたゲーム装置であり、LCD14の上面には、タッチパネル20が装着される。タッチパネル20としては、たとえば、抵抗膜方式、光学式(赤外線方式)および静電容量結合式のいずれかの種類のものを用いることができる。また、タッチパネル20は、その上面をスティック24ないしはペン(スタイラスペン)或いは指(以下、これらを「スティック24等」という場合がある。)で、押圧したり撫でたり(触れたり)することにより操作すると、スティック24等の座標位置を検出して座標データを出力する。   The game apparatus 10 is a game apparatus using a touch panel, and a touch panel 20 is mounted on the upper surface of the LCD 14. As the touch panel 20, for example, any one of a resistive film type, an optical type (infrared type), and a capacitive coupling type can be used. The touch panel 20 is operated by pressing or stroking (touching) the upper surface thereof with a stick 24 or a pen (stylus pen) or a finger (hereinafter sometimes referred to as “stick 24 etc.”). Then, the coordinate position of the stick 24 or the like is detected and coordinate data is output.

なお、この実施例では、LCD14(LCD12も同じ、または略同じ。)の表示面の解像度は228dot×192dotであり、タッチパネル20の検出精度も表示画面に対応して228dot×192dotとしてあるが、タッチパネル20の検出精度は表示画面の解像度よりも低くてもよく、高くてもよい。   In this embodiment, the resolution of the display surface of the LCD 14 (the LCD 12 is the same or substantially the same) is 228 dots × 192 dots, and the detection accuracy of the touch panel 20 is 228 dots × 192 dots corresponding to the display screen. The detection accuracy of 20 may be lower or higher than the resolution of the display screen.

この実施例では、たとえばタッチパネル20の設けられるLCD14には、プレイヤに見せかつ操作させるためのゲーム画面が表示され、LCD12にはプレイヤに見せるためのゲーム画面が表示される。具体的には、LCD12には横線と縦線で形成されたアミダくじのような軌道上をオブジェクトが移動してくる画像が表示される。LCD14に表示されるゲーム画面には、未完成のアミダくじのように、縦線のみが表示されており、プレイヤはLCD14に表示された縦線に対して、スティック24等で直接触れるようにしてタッチパネル20上に横線を描くような操作をする。こうして、LCD12に表示される軌道の続きをLCD14に描いて、移動してくるオブジェクトを所定位置に導くための軌道を作るのである。なお、LCD14は、ゲームの種類に応じてその他各種の入力指示を行うようにしてもよく、たとえばLCD14の表示画面に文字情報やアイコン等を表示してコマンドを選択させたりすることができる。   In this embodiment, for example, the LCD 14 provided with the touch panel 20 displays a game screen for showing and operating the player, and the LCD 12 displays a game screen for showing to the player. Specifically, the LCD 12 displays an image of an object moving on a trajectory such as an amid lot formed by horizontal and vertical lines. Only a vertical line is displayed on the game screen displayed on the LCD 14 like an incomplete Amid lottery, and the player touches the vertical line displayed on the LCD 14 directly with the stick 24 or the like. An operation for drawing a horizontal line on the touch panel 20 is performed. Thus, the continuation of the trajectory displayed on the LCD 12 is drawn on the LCD 14 to create a trajectory for guiding the moving object to a predetermined position. The LCD 14 may issue various other input instructions according to the type of game. For example, character information, icons, etc. can be displayed on the display screen of the LCD 14 to select a command.

このように、ゲーム装置10は、2画面分の表示部となるLCD12およびLCD14を有し、いずれか一方(この実施例では、LCD14)の表示画面上にタッチパネル20が設けられるので、2画面(LCD12,14)と2系統の操作部(18,20)を有する構成となるのである。   As described above, the game apparatus 10 includes the LCD 12 and the LCD 14 serving as a display unit for two screens, and the touch panel 20 is provided on the display screen of one of them (in this embodiment, the LCD 14). The LCD 12 and 14) and the two operation units (18 and 20) are configured.

また、この実施例では、スティック24は、たとえば上側ハウジング16aの中央より側面寄(右寄)に設けられる収納部(収納穴)(図示せず)に収納することができ、必要に応じて取り出される。ただし、スティック24を設けない場合には、収納部を設ける必要もない。   In this embodiment, the stick 24 can be stored in a storage portion (storage hole) (not shown) provided on the side surface (right side) from the center of the upper housing 16a, for example, and taken out as necessary. It is. However, when the stick 24 is not provided, it is not necessary to provide a storage portion.

さらに、ゲーム装置10はメモリカード(またはゲームカートリッジ)26を含み、このメモリカード26は着脱自在であり、下側ハウジング16bの裏面ないしは上端(側面)に設けられる挿入口(図示せず)から挿入される。図1では省略するが、挿入口の奥部には、メモリカード26の挿入方向先端部に設けられるコネクタ(図示せず)と接合するためのコネクタ46(図2参照)が設けられており、したがって、メモリカード26が挿入口に挿入されると、コネクタ同士が接合され、ゲーム装置10のCPUコア42(図2参照)がメモリカード26にアクセス可能となる。   Further, the game apparatus 10 includes a memory card (or game cartridge) 26, which is detachable and inserted from an insertion port (not shown) provided on the back surface or upper end (side surface) of the lower housing 16b. Is done. Although omitted in FIG. 1, a connector 46 (see FIG. 2) for joining with a connector (not shown) provided at the distal end of the memory card 26 in the insertion direction is provided at the back of the insertion slot. Therefore, when the memory card 26 is inserted into the insertion slot, the connectors are joined, and the CPU core 42 (see FIG. 2) of the game apparatus 10 can access the memory card 26.

なお、図1では表現できないが、下側ハウジング16bの内部において、この下側ハウジング16bの音抜き孔22aと対応する位置には、右スピーカ30aおよび音抜き孔22bと対応する位置には、左スピーカ30b(図2参照)が設けられる。   Although not expressed in FIG. 1, in the lower housing 16b, the position corresponding to the sound release hole 22a of the lower housing 16b is left at the position corresponding to the right speaker 30a and the sound release hole 22b. A speaker 30b (see FIG. 2) is provided.

また、図1では省略するが、たとえば、下側ハウジング16bの裏面側には、電池収容ボックスが設けられ、また、下側ハウジング16bの底面側には、音量調節つまみ、外部拡張コネクタおよびイヤフォンジャックなどが設けられる。   Although not shown in FIG. 1, for example, a battery housing box is provided on the back surface side of the lower housing 16b, and a volume control knob, an external extension connector, and an earphone jack are provided on the bottom surface side of the lower housing 16b. Etc. are provided.

図2は、ゲーム装置10の電気的な構成を示すブロック図である。図2を参照して、ゲーム装置10は電子回路基板40を含み、この電子回路基板40にはCPUコア42等の回路コンポーネントが実装される。CPUコア42は、バス44を介して、コネクタ46,RAM48,第1のGPU(Graphic Processing Unit)52,第2のGPU54,I/F回路50,LCDコントローラ60およびワイヤレス通信ユニット64と接続される。   FIG. 2 is a block diagram showing an electrical configuration of the game apparatus 10. Referring to FIG. 2, game device 10 includes an electronic circuit board 40 on which circuit components such as CPU core 42 are mounted. The CPU core 42 is connected to the connector 46, RAM 48, first GPU (Graphic Processing Unit) 52, second GPU 54, I / F circuit 50, LCD controller 60, and wireless communication unit 64 via the bus 44. .

コネクタ46には、上述したように、メモリカード26が着脱自在に接続される。メモリカード26は、ROM26aおよびRAM26bを含む。図示は省略するが、ROM26aおよびRAM26bは、バスで互いに接続され、かつコネクタ46と接合されるコネクタ(図示せず)に接続される。この結果、CPUコア42は、ROM26aおよびRAM26bにアクセスすることができる。   As described above, the memory card 26 is detachably connected to the connector 46. The memory card 26 includes a ROM 26a and a RAM 26b. Although not shown, the ROM 26 a and the RAM 26 b are connected to each other via a bus and to a connector (not shown) that is joined to the connector 46. As a result, the CPU core 42 can access the ROM 26a and the RAM 26b.

ROM26aは、ゲーム装置10で実行すべきゲームのためのゲームプログラム、キャラクタ画像,背景画像,アイテム画像,メッセージ画像のような画像データ、効果音,BGM,キャラクタの擬制音のような音データなどを予め記憶する。バックアップRAM26bは、ゲームの途中データや結果データをセーブする。   The ROM 26a stores a game program for a game to be executed on the game apparatus 10, image data such as a character image, a background image, an item image, and a message image, sound data such as sound effects, BGM, and simulated sound suppression of the character. Store in advance. The backup RAM 26b saves mid-game data and result data.

RAM48は、バッファメモリないしはワーキングメモリとして使用される。つまり、CPUコア42は、メモリカード26のROM26aに記憶されたゲームプログラム、および画像データ,音データ等のデータをRAM48にロードし、ロードしたゲームプログラムを実行する。また、CPUコア42は、ゲーム処理の進行に応じて、ゲームデータやフラグデータなどの一時的なデータをRAM48に記憶する。   The RAM 48 is used as a buffer memory or a working memory. That is, the CPU core 42 loads the game program stored in the ROM 26a of the memory card 26 and data such as image data and sound data into the RAM 48, and executes the loaded game program. Further, the CPU core 42 stores temporary data such as game data and flag data in the RAM 48 as the game process progresses.

なお、ゲームプログラム、および画像データ,音データ等のデータは、一括して、または必要に応じて部分的かつ順次的にROM26aから読み出され、RAM48に記憶される。   Note that the game program and data such as image data and sound data are read from the ROM 26a all at once or partially and sequentially as necessary and stored in the RAM 48.

GPU52および54の各々は、描画手段の一部を形成し、たとえばシングルチップASICで構成される。GPU52または54は、CPUコア42からグラフィックスコマンド(作画命令)を受けたとき、このグラフィックスコマンドにしたがってゲーム画像データを生成する。ここで、CPUコア42は、グラフィックスコマンドに加えて、ゲーム画像データの生成に必要な画像生成プログラム(ゲームプログラムに含まれる。)をGPU52および54の各々に与える。   Each of the GPUs 52 and 54 forms part of the drawing means, and is composed of, for example, a single chip ASIC. When receiving a graphics command (drawing command) from the CPU core 42, the GPU 52 or 54 generates game image data in accordance with the graphics command. Here, the CPU core 42 gives each of the GPUs 52 and 54 an image generation program (included in the game program) necessary for generating the game image data in addition to the graphics command.

ただし、グラフィックスコマンドの実行に必要なデータ(ポリゴン,テクスチャなどの画像データ)は、RAM48に格納され、GPU52または54によって取得される。   However, data (image data such as polygons and textures) necessary for executing the graphics command is stored in the RAM 48 and acquired by the GPU 52 or 54.

また、GPU52にはVRAM56が接続され、GPU54にはVRAM58が接続される。GPU52は、作成したゲーム画像データをVRAM56に描画し、GPU54は、作成したゲーム画像データをVRAM58に描画する。   A VRAM 56 is connected to the GPU 52, and a VRAM 58 is connected to the GPU 54. The GPU 52 draws the created game image data in the VRAM 56, and the GPU 54 draws the created game image data in the VRAM 58.

VRAM56および58は、LCDコントローラ60に接続される。LCDコントローラ60はレジスタ62を含む。レジスタ62はたとえば1ビットで構成され、CPUコア42の指示によって“0”または“1”のデータ値を記憶する。LCDコントローラ60は、レジスタ62のデータ値が“0”であるとき、VRAM56に描画されたゲーム画像データをLCD14に出力し、VRAM58に描画されたゲーム画像データをLCD12に出力する。また、LCDコントローラ60は、レジスタ62のデータ値が“1”であるとき、VRAM56に描画されたゲーム画像データをLCD12に出力し、VRAM58に描画されたゲーム画像データをLCD14に出力する。   VRAMs 56 and 58 are connected to LCD controller 60. The LCD controller 60 includes a register 62. The register 62 is composed of 1 bit, for example, and stores a data value of “0” or “1” according to an instruction from the CPU core 42. When the data value of the register 62 is “0”, the LCD controller 60 outputs the game image data drawn in the VRAM 56 to the LCD 14 and outputs the game image data drawn in the VRAM 58 to the LCD 12. Further, when the data value of the register 62 is “1”, the LCD controller 60 outputs the game image data drawn in the VRAM 56 to the LCD 12 and outputs the game image data drawn in the VRAM 58 to the LCD 14.

I/F回路50には、操作スイッチ18,タッチパネル20,右スピーカ30aおよび左スピーカ30bが接続される。ここで、操作スイッチ18は、上述したスイッチ18a,18b,18c,18d,18e,18f,18g,18h,18Lおよび18Rである。操作スイッチ18が操作されると、対応する操作信号(操作データ)がI/F回路50を介してCPUコア42に入力される。タッチパネル20で検出された座標データも、I/F回路50を介してCPUコア42に入力される。また、CPUコア42は、BGM,効果音,キャラクタの擬制音などのゲームに必要な音データをRAM48から読み出し、I/F回路50を介して右スピーカ30aおよび左スピーカ30bから出力する。   The operation switch 18, the touch panel 20, the right speaker 30a, and the left speaker 30b are connected to the I / F circuit 50. Here, the operation switches 18 are the above-described switches 18a, 18b, 18c, 18d, 18e, 18f, 18g, 18h, 18L and 18R. When the operation switch 18 is operated, a corresponding operation signal (operation data) is input to the CPU core 42 via the I / F circuit 50. Coordinate data detected by the touch panel 20 is also input to the CPU core 42 via the I / F circuit 50. In addition, the CPU core 42 reads out sound data necessary for the game such as BGM, sound effects, and simulated sound suppression of the character from the RAM 48 and outputs the sound data from the right speaker 30 a and the left speaker 30 b via the I / F circuit 50.

対戦モードが選択された状態では、相手方のゲーム装置との間で無線信号がワイヤレス通信ユニット64を通してやり取りされる。すなわち、ワイヤレス通信ユニット64は、相手方への通信データを無線信号に変調してアンテナ(図示せず)から送信し、また、相手方のゲーム装置からの無線信号を同じアンテナで受信して通信データに復調する。   In a state where the battle mode is selected, a radio signal is exchanged with the opponent game device through the wireless communication unit 64. That is, the wireless communication unit 64 modulates communication data for the other party into a radio signal and transmits it from an antenna (not shown), and receives a radio signal from the other party's game device via the same antenna and converts it into communication data. Demodulate.

図3にはRAM48のメモリマップの一例が示される。RAM48は、メモリカード26のROM26aからロードされたプログラムを記憶するプログラム記憶領域70を含む。ロードされるプログラムは、問題出力プログラム72,タッチオンオフ検出プログラム74,タッチ軌跡一時記憶プログラム76,認識データ生成プログラム78,文字認識プログラム80,回答判定プログラム82,回答表示プログラム84,正解文字列制御プログラム86,タッチ軌跡(ストローク)制御プログラム88などを含む。   FIG. 3 shows an example of a memory map of the RAM 48. The RAM 48 includes a program storage area 70 for storing a program loaded from the ROM 26 a of the memory card 26. The loaded programs are a problem output program 72, a touch on / off detection program 74, a touch locus temporary storage program 76, a recognition data generation program 78, a character recognition program 80, an answer determination program 82, an answer display program 84, a correct character string control program. 86, a touch trajectory (stroke) control program 88, and the like.

なお、プログラム記憶領域70には、図示は省略しているが、ゲーム画像やゲーム音声を生成/出力するためのプログラムなど、その他のゲーム進行に必要な各種プログラムが記憶される。   Although not shown, the program storage area 70 stores various programs necessary for the progress of the game, such as a program for generating / outputting game images and game sounds.

問題出力プログラム72は、スピーカ22aおよび22bから問題を出力するためのプログラムである。なお、問題はLCD12に表示してもよい。タッチオンオフ検出プログラム74は、タッチパネル20に対するタッチオンおよびタッチオフを検出し、検出結果に応じてタッチオンフラグをオン/オフするためのプログラムである。タッチ軌跡一時記憶プログラム76は、タッチオンからタッチオフまでのタッチ軌跡(手書き入力データ)を一時記憶するためのプログラムである。   The problem output program 72 is a program for outputting a problem from the speakers 22a and 22b. The problem may be displayed on the LCD 12. The touch-on / off detection program 74 is a program for detecting touch-on and touch-off on the touch panel 20 and turning on / off the touch-on flag according to the detection result. The touch locus temporary storage program 76 is a program for temporarily storing a touch locus (handwritten input data) from touch-on to touch-off.

認識データ生成プログラム78は、文字認識処理の対象となるデータ(認識データ)を生成するためのプログラムである。このプログラムは、複数ストロークが入力されたとき、複数種類の認識データを準備する。   The recognition data generation program 78 is a program for generating data (recognition data) to be subjected to character recognition processing. This program prepares a plurality of types of recognition data when a plurality of strokes are input.

文字認識プログラム80は、認識データ生成プログラム78によって生成された認識データに基づいて文字認識処理を実行するためのプログラムである。このプログラムは、認識データ生成プログラム78によって複数種類の認識データが準備された場合、生成された複数種類の認識データの各々に対して文字認識を行う。こうして得られる複数種類の認識結果のうち認識得点の最も高いものを採用することで、より的確な認識結果を得ることができる。   The character recognition program 80 is a program for executing character recognition processing based on the recognition data generated by the recognition data generation program 78. When a plurality of types of recognition data are prepared by the recognition data generation program 78, this program performs character recognition for each of the generated plurality of types of recognition data. By adopting the recognition result having the highest recognition score among the plurality of types of recognition results thus obtained, a more accurate recognition result can be obtained.

回答判定プログラム82は、文字認識処理の結果つまり回答が正解か否かを判定するためのプログラムである。回答表示プログラム84は、LCD14に回答(入力タッチ軌跡)を表示するためのプログラムである。正解文字列制御プログラム86は、問題に対応する正解文字列を読み込んだり、読み込まれた正解文字列の中から認識対象文字を選択したりするためのプログラムである。タッチ軌跡制御プログラム88は、一時記憶されたタッチ軌跡(ストローク)の中から1つまたは複数の表示対象ストロークを選択して回答表示プログラム84に渡したり、一時記憶されたストロークの中から1つまたは複数の認識対象ストロークを選択して認識データ生成プログラム78に渡したりするためのプログラムである
また、RAM48は、データ記憶領域90を含む。データ記憶領域90は、タッチオンフラグ記憶領域92,タッチ軌跡一時記憶領域94a,マッチストローク数記憶領域94b,認識データ一時記憶領域96,認識結果一時記憶領域98,正解文字列記憶領域100,認識対象文字記憶領域102,最大ストローク数データ記憶領域104a,問題データ記憶領域104b,文字データ記憶領域104c,および認識辞書データ記憶領域106を有する。
The answer determination program 82 is a program for determining whether or not the result of the character recognition process, that is, the answer is correct. The answer display program 84 is a program for displaying an answer (input touch locus) on the LCD 14. The correct character string control program 86 is a program for reading a correct character string corresponding to a problem and selecting a recognition target character from the read correct character string. The touch trajectory control program 88 selects one or a plurality of display target strokes from the temporarily stored touch trajectories (strokes) and passes them to the answer display program 84, or one or more of the temporarily stored strokes. The RAM 48 includes a data storage area 90. The RAM 48 is a program for selecting a plurality of recognition target strokes and passing them to the recognition data generation program 78. The data storage area 90 includes a touch-on flag storage area 92, a touch locus temporary storage area 94a, a match stroke number storage area 94b, a recognition data temporary storage area 96, a recognition result temporary storage area 98, a correct character string storage area 100, and a recognition target. It has a character storage area 102, a maximum stroke number data storage area 104a, a problem data storage area 104b, a character data storage area 104c, and a recognition dictionary data storage area 106.

タッチオンフラグ記憶領域92は、タッチオンフラグを記憶するための領域である。タッチオンフラグは、タッチパネル20へのタッチオンが検出されたときタッチオンオフ検出プログラム74によってオンされ、同じくタッチオフが検出されるとオフされる。タッチ軌跡一時記憶領域94aは、タッチパネル20によって検出されたタッチ軌跡を一時記憶するための領域である。タッチ軌跡一時記憶領域94には、1ストローク目のタッチ軌跡,2ストローク目のタッチ軌跡,…が記憶される。マッチストローク数記憶領域94bは、文字1(C1)にマッチするストローク数を保持するための領域である。   The touch-on flag storage area 92 is an area for storing a touch-on flag. The touch-on flag is turned on by the touch-on / off detection program 74 when the touch-on to the touch panel 20 is detected, and is turned off when the touch-off is detected. The touch locus temporary storage area 94a is an area for temporarily storing the touch locus detected by the touch panel 20. The touch trajectory temporary storage area 94 stores a touch trajectory for the first stroke, a touch trajectory for the second stroke,. The match stroke number storage area 94b is an area for holding the number of strokes that match the character 1 (C1).

認識データ一時記憶領域96は、認識データ生成プログラム78によって生成された認識データを一時記憶するための領域である。認識結果一時記憶領域98は、認識データに基づく文字認識処理の結果を一時記憶するための領域である。正解文字列記録領域100は、問題に対応する正解文字列を記憶するための領域である。   The recognition data temporary storage area 96 is an area for temporarily storing the recognition data generated by the recognition data generation program 78. The recognition result temporary storage area 98 is an area for temporarily storing the result of character recognition processing based on the recognition data. The correct character string recording area 100 is an area for storing a correct character string corresponding to a problem.

認識対象文字記憶領域102は、正解文字列記録領域100に記憶されている正解文字列のうち現在認識の対象となっている文字を記憶するための領域である。認識は2文字を単位として行われるため、認識対象文字記憶領域102には2つの文字(文字1よび文字2)が記憶される。   The recognition target character storage area 102 is an area for storing a character that is currently a target of recognition among correct character strings stored in the correct character string recording area 100. Since the recognition is performed in units of two characters, two characters (character 1 and character 2) are stored in the recognition target character storage area 102.

最大ストローク数データ記憶領域104aには、ゲーム装置10で認識可能な全ての文字(ここでは英大文字A〜Z,英小文字a〜z,および数字0〜9)の各々について、手書き時の最大ストローク数が記憶される。例えば、文字“A”は、通常2ストロークまたは3ストロークで描かれるので、その最大ストローク数は“3”である。同様に、数字“1”は、通常1ストロークで描かれるため、最大ストローク数は“1”となる。   In the maximum stroke number data storage area 104a, the maximum stroke at the time of handwriting for all characters (here, uppercase letters A to Z, lowercase letters a to z, and numbers 0 to 9) that can be recognized by the game apparatus 10 are stored. The number is stored. For example, since the letter “A” is usually drawn with two or three strokes, the maximum number of strokes is “3”. Similarly, since the number “1” is usually drawn with one stroke, the maximum number of strokes is “1”.

問題データ記憶領域104bには、問題データが記憶される。文字データ記憶領域104cには、英大文字A〜Z,英小文字a〜z,および数字0〜9の文字データが記憶される。   The problem data is stored in the problem data storage area 104b. Character data storage area 104c stores uppercase letters AZ, lowercase letters az, and numbers 0-9.

認識辞書データ記憶領域106は、文字認識処理で参照される認識辞書データを記憶するための領域である。この認識辞書データは、英大文字A〜Z,英小文字a〜z,および数字0〜9の各々の特徴データを含む。   The recognition dictionary data storage area 106 is an area for storing recognition dictionary data referred to in character recognition processing. The recognition dictionary data includes characteristic data of uppercase letters A to Z, lowercase letters a to z, and numerals 0 to 9.

以上のように構成されたゲーム装置10では、書き取りゲームは、次のように進行する。図4を参照して、操作スイッチを介してゲーム開始操作が行われると、最初の問題“This is a pen.”に対応する音声がスピーカ22a,22bから出力される。かかる第1問の回答つまり“THIS…”が下側のLCD14上のタッチパネル20にスティック24で描かれると、その軌跡が検出され、検出されたタッチ軌跡つまり手書きデータがタッチ軌跡一時記憶領域に記憶される。検出されたタッチ軌跡は、LCD14に表示される。また、検出されたタッチ軌跡に対して文字認識処理が実行され、検出タッチ軌跡が正解文字として認識されると、その正解文字がLCD12に表示される。   In the game apparatus 10 configured as described above, the writing game proceeds as follows. Referring to FIG. 4, when a game start operation is performed via the operation switch, sound corresponding to the first problem “This is a pen.” Is output from speakers 22 a and 22 b. When the answer to the first question, that is, “THIS...” Is drawn with the stick 24 on the touch panel 20 on the lower LCD 14, the locus is detected, and the detected touch locus, that is, handwritten data is stored in the touch locus temporary storage area. Is done. The detected touch locus is displayed on the LCD 14. In addition, a character recognition process is performed on the detected touch locus, and when the detected touch locus is recognized as a correct character, the correct character is displayed on the LCD 12.

従って、手書き入力の進行に従い、LCD12には正解文字列“THIS…”が1文字ずつ追加表示されていく。一方、LCD14上のタッチ軌跡は、正解文字として認識され、そして正解文字がLCD12に表示されると消去される。   Accordingly, as the handwriting input progresses, the correct character string “THIS...” Is additionally displayed on the LCD 12 one character at a time. On the other hand, the touch locus on the LCD 14 is recognized as a correct character, and is erased when the correct character is displayed on the LCD 12.

文字認識処理は、図5に示すように、先頭の一文字を除き、連続する2文字を単位として行われる。“THIS…”の認識では、まず先頭文字“T”が認識対象文字記憶領域102の所定領域(レジスタC1)にセットされる。そして、タッチ軌跡一時記憶領域94に記憶されたタッチ軌跡がレジスタC1の文字と一致するか否かが判定される。   As shown in FIG. 5, the character recognition process is performed in units of two consecutive characters except for the first character. In recognition of “THIS...”, First, the first character “T” is set in a predetermined area (register C 1) of the recognition target character storage area 102. Then, it is determined whether or not the touch locus stored in the touch locus temporary storage area 94 matches the character in the register C1.

かかる第1回目の認識処理の後、次の認識対象文字“H”がレジスタC2にセットされる。そして、タッチ軌跡一時記憶領域94に記憶されたタッチ軌跡がレジスタC2の文字と一致するか否かが判定される。   After the first recognition process, the next recognition target character “H” is set in the register C2. Then, it is determined whether or not the touch locus stored in the touch locus temporary storage area 94 matches the character in the register C2.

かかる第2回目の認識処理で文字“H”が認識されると、認識対象は後方に一文字シフトする、すなわちC1およびC2には“H”および“I”がそれぞれセットされる。そして、タッチ軌跡データ記憶領域に記憶されたタッチ軌跡データがレジスタC2の文字“I”と一致するか否かが判別される。   When the character “H” is recognized in the second recognition process, the recognition target is shifted backward by one character, that is, “H” and “I” are set in C1 and C2, respectively. Then, it is determined whether or not the touch trajectory data stored in the touch trajectory data storage area matches the character “I” in the register C2.

以降、末尾文字“N”が認識されるまで同様の認識処理が繰り返される。従って、10文字で構成される文字列“THIS IS A PEN”については、計10回の認識処理が実行される。   Thereafter, the same recognition process is repeated until the end character “N” is recognized. Accordingly, a total of 10 recognition processes are executed for the character string “THIS IS A PEN” composed of 10 characters.

以下、認識処理の具体例を説明する。最初、文字列“THIS”に対応する認識処理を図6(A),図6(B),図7(A)および図7(B)により説明する。なお、誤入力ないしタイムアウトは発生しないものとする。図6(A)を参照して、第1回目の認識処理は、先頭文字つまり“T”が対象となる。“T”はレジスタC1に保持される。“T”の最大ストローク数は“2”である。   Hereinafter, a specific example of the recognition process will be described. First, the recognition processing corresponding to the character string “THIS” will be described with reference to FIGS. 6 (A), 6 (B), 7 (A), and 7 (B). It is assumed that no erroneous input or timeout occurs. Referring to FIG. 6A, the first recognition process is targeted for the first character, that is, “T”. “T” is held in the register C1. The maximum number of strokes for “T” is “2”.

最初のタッチ軌跡が検出される、つまり第1ストローク(S0)が入力されると、第1ストロークに対してC1文字“T”と一致するか否かの認識処理が実行され、ここでは不一致(×)と判定される。   When the first touch locus is detected, that is, when the first stroke (S0) is input, a recognition process is performed to determine whether or not the first stroke matches the C1 character “T”. X).

第2ストローク(S1)が入力されると、第1ストロークおよび第2ストロークに対してC1文字“T”と一致するか否かの認識処理が実行され、一致(○)と判定される。これにより、LCD12に“T”が表示される。なお、このとき“T”と一致すると判別されたストロークの数(=2)がマッチストローク数記憶領域94b内のレジスタM0に保持される。マッチストローク数は、継続認識(後述)に関連して利用される。   When the second stroke (S1) is input, a recognition process is executed to determine whether or not the first stroke and the second stroke match the C1 character “T”, and it is determined that they match (O). As a result, “T” is displayed on the LCD 12. At this time, the number of strokes determined to match “T” (= 2) is held in the register M0 in the match stroke number storage area 94b. The number of match strokes is used in connection with continuous recognition (described later).

図6(B)を参照して、第2回目の認識処理は、先頭の2文字が対象となる。従って、レジスタC1およびC2には“T”および“H”がそれぞれセットされる。文字“T”および“H”の最大ストローク数は“2”および“3”である。これを以下、認識対象文字(T,H),最大ストローク数(2,3)のように記述する。文字(T,H)の合計最大ストローク数は“5”となる。   Referring to FIG. 6B, the first recognition process is targeted for the second recognition process. Accordingly, “T” and “H” are set in the registers C1 and C2, respectively. The maximum stroke numbers of the characters “T” and “H” are “2” and “3”. This is described below as a recognition target character (T, H) and a maximum stroke number (2, 3). The total maximum number of strokes of the characters (T, H) is “5”.

第3ストローク(S2)が入力されると、この第3ストロークに対してC2文字“H”と一致するか否かの認識処理が実行され、不一致と判定される。この時点で、第1〜第3ストロークは、タッチオフ軌跡記憶領域94a内の領域S0〜S2(図3参照)に一時保持されている。一時保持ストローク数(=3)は、文字“T”および“H”の合計最大ストローク数(=5)を超えていないが、文字“T”の最大ストローク数(=2)を超えたので、第1および第2ストロークは文字“T”と一致するとみなされる。このため、継続認識(後述)は行われない。   When the third stroke (S2) is input, a recognition process for determining whether or not the third stroke matches the C2 character “H” is executed, and it is determined that there is a mismatch. At this time, the first to third strokes are temporarily held in the areas S0 to S2 (see FIG. 3) in the touch-off locus storage area 94a. The temporary holding stroke number (= 3) does not exceed the total maximum stroke number (= 5) of the characters “T” and “H”, but exceeds the maximum stroke number (= 2) of the character “T”. The first and second strokes are considered to match the letter “T”. For this reason, continuous recognition (described later) is not performed.

第4ストローク(S3)が入力されると、第3ストロークおよび第4ストロークに対して同様の認識処理が実行され、ここでも不一致と判定される。第5ストローク(S4)が入力されると、第3ストローク,第4ストロークおよび第5ストロークに対して同様の認識処理が実行され、ここで一致と判定される。これにより、LCD12には“H”がさらに表示される。レジスタM0には“3”が保持される。   When the fourth stroke (S3) is input, the same recognition process is executed for the third stroke and the fourth stroke, and it is also determined that there is a mismatch here. When the fifth stroke (S4) is input, the same recognition process is executed for the third stroke, the fourth stroke, and the fifth stroke, and it is determined that they match. As a result, “H” is further displayed on the LCD 12. “3” is held in the register M0.

図7(A)を参照して、第3回目の認識処理では、認識対象が後方に1文字シフトする。従って、レジスタC1およびC2には“H”および“I”がセットされる。領域S0〜S4に一時保持された第1〜第5ストロークのうち文字“T”に対応する第1および第2ストロークは破棄され、第3〜第5ストロークが領域S0〜S2にシフトされる。この結果、第3〜第5ストロークは第1〜第3ストロークとなり、次の入力ストロークは第4ストローク(S3)となる。文字(H,I)の最大ストローク数は(3,3)であり、合計最大ストローク数は“6”となる。   Referring to FIG. 7A, in the third recognition process, the recognition target is shifted backward by one character. Accordingly, “H” and “I” are set in the registers C1 and C2. Of the first to fifth strokes temporarily held in the regions S0 to S4, the first and second strokes corresponding to the character “T” are discarded, and the third to fifth strokes are shifted to the regions S0 to S2. As a result, the third to fifth strokes become the first to third strokes, and the next input stroke becomes the fourth stroke (S3). The maximum number of strokes of the character (H, I) is (3, 3), and the total maximum number of strokes is “6”.

第4ストロークが入力されると、C2文字“I”と一致するか否かの認識処理が実行され、不一致と判定される。この時点で、一時保持ストローク数(=4)は、文字“H”および“I”の合計最大ストローク数(=6)を超えていないが、文字“H”の最大ストローク数(=3)を超えたので、第1〜第3ストロークは文字“H”と一致するとみなされ、継続認識(後述)は行われない。   When the fourth stroke is input, a recognition process for determining whether or not it matches the C2 character “I” is executed, and it is determined that there is a mismatch. At this time, the temporary holding stroke number (= 4) does not exceed the total maximum stroke number (= 6) of the characters “H” and “I”, but the maximum stroke number (= 3) of the character “H”. Since it has exceeded, it is considered that the first to third strokes coincide with the letter “H”, and continuation recognition (described later) is not performed.

第5ストロークが入力されると、第4ストロークおよび第5ストロークに対して同様の認識処理が実行され、一致と判定される。なお、判定は大文字だけでなく小文字についても行われており、ここでは小文字“i”について一致と判定されている。これにより、LCD12に正解文字“I”がさらに表示される。   When the fifth stroke is input, the same recognition process is executed for the fourth stroke and the fifth stroke, and it is determined that they match. Note that the determination is made not only for uppercase letters but also for lowercase letters. Here, it is determined that lowercase letters “i” match. As a result, the correct character “I” is further displayed on the LCD 12.

図7(B)を参照して、第4回目の認識処理では、レジスタC1およびC2に“I”および“S”がセットされる。第1〜第5ストロークのうち文字“H”に対応する第1〜第3ストロークが破棄され、第4および第5ストロークは領域S0およびS1にシフトされる。この結果、第4および第5ストロークは第1および第2ストロークとなり、次の入力ストロークは第3ストローク(S2)となる。レジスタM0には“2”が保持される。文字(I,S)の最大ストローク数は(3,1)であり、合計最大ストローク数は“4”となる。   Referring to FIG. 7B, in the fourth recognition process, “I” and “S” are set in registers C1 and C2. Of the first to fifth strokes, the first to third strokes corresponding to the character “H” are discarded, and the fourth and fifth strokes are shifted to the areas S0 and S1. As a result, the fourth and fifth strokes become the first and second strokes, and the next input stroke becomes the third stroke (S2). “2” is held in the register M0. The maximum number of strokes of the character (I, S) is (3, 1), and the total maximum number of strokes is “4”.

第3ストロークが入力されると、第3ストロークに対してC2文字“S”と一致するか否かの認識処理が実行され、不一致と判定される。この時点では、一時保持ストローク数(=3)は、文字“I”および“S”の合計最大ストローク数(=4)を超えておらず、文字“I”の最大ストローク数(=3)も超えていないので、継続認識が行われる。   When the third stroke is input, a recognition process is performed to determine whether the third stroke matches the C2 character “S”, and it is determined that the third stroke does not match. At this time, the temporary holding stroke number (= 3) does not exceed the total maximum stroke number (= 4) of the characters “I” and “S”, and the maximum stroke number (= 3) of the character “I” is also Since it does not exceed, continuous recognition is performed.

継続認識では、まず第1〜第3ストロークに対してC1文字“I” と一致するか否かがの認識処理が実行され、一致と判定される。これにより、第3ストロークは“I”の一部と判定される。レジスタM1に“3”が保持される。   In the continuous recognition, first, a recognition process is performed to determine whether or not the first to third strokes match the C1 character “I”, and it is determined that they match. Thereby, the third stroke is determined to be a part of “I”. “3” is held in the register M1.

次に第4ストロークが入力されると、第4ストロークに対してC2文字“S”と一致するか否かの認識処理が実行され、一致と判定される。また、第4および第3ストロークに対してC2文字“S”と一致するか否かの認識処理が実行され、不一致と判定される。これにより、LCD12に正解文字“S”がさらに表示される。なお、これら2回の判定は、レジスタM0およびM1の保持値に基づく。すなわち、まずM0の保持値“3”に基づいて第4ストローク(S3)に対する認識が行われ、M1の保持値“2”に基づいて第4および第3ストローク(S3およびS2)に対する認識がさらに行われる。ただし、M0に基づく認識で、C2文字であると認識された場合は、その後のM1に基づく認識をしなくても良い。   Next, when the fourth stroke is input, a recognition process is executed to determine whether or not the fourth stroke matches the C2 character “S”, and it is determined that they match. In addition, a recognition process is performed to determine whether or not the fourth and third strokes match the C2 character “S”, and it is determined that they do not match. As a result, the correct character “S” is further displayed on the LCD 12. These two determinations are based on the values held in the registers M0 and M1. That is, the recognition for the fourth stroke (S3) is first performed based on the holding value “3” of M0, and the recognition for the fourth and third strokes (S3 and S2) is further performed based on the holding value “2” of M1. Done. However, if the recognition based on M0 is recognized as a C2 character, the subsequent recognition based on M1 may not be performed.

その後、レジスタC1およびC2に“S”および“A”がセットされ、同様の処理が行われる。   Thereafter, “S” and “A” are set in the registers C1 and C2, and the same processing is performed.

次に、誤入力が発生した場合の文字認識処理を図8(A)〜図8(C)および図9により説明する。図8(A)を参照して、正解文字列“THI…”に対して“TAI…”が入力されたとする。図8(B)を参照して、先頭文字“T”は、図6(A)の“T”と同様に認識される。図8(C)を参照して、認識対象文字(T,H)の最大ストローク数は(2,3)であり、合計最大ストローク数は“5”である。第3ストロークが入力されると、第3ストロークがC2文字“H”と照合され、不一致と判定される。第4ストロークが入力されると、第4および第3ストロークがC2文字“H”と照合され、不一致と判定される。第5ストロークが入力されると、第5〜第3ストロークがC2文字“H”と照合され、不一致と判定される。この時点で、一時保持ストローク数が合計最大ストローク数に達したため、誤入力である旨がバツ印(×)で示される。   Next, character recognition processing when an erroneous input occurs will be described with reference to FIGS. 8 (A) to 8 (C) and FIG. Referring to FIG. 8A, it is assumed that “TAI...” Is input to the correct character string “THI. Referring to FIG. 8B, the first character “T” is recognized in the same manner as “T” in FIG. Referring to FIG. 8C, the maximum number of strokes of the recognition target character (T, H) is (2, 3), and the total maximum number of strokes is “5”. When the third stroke is input, the third stroke is collated with the C2 character “H”, and it is determined that there is a mismatch. When the fourth stroke is input, the fourth and third strokes are collated with the C2 character “H”, and are determined to be inconsistent. When the fifth stroke is input, the fifth to third strokes are collated with the C2 character “H”, and are determined to be inconsistent. At this time, since the number of temporary holding strokes has reached the total maximum number of strokes, it is indicated by a cross mark (×) that it is an erroneous input.

続いて図9を参照して、C1文字“T”が正解となり、C2文字“H”が不正解となったため、今度は文字“H”をC1として照合を開始する。一方、プレイヤは、“A”が誤りであることがわかったので、“H…”を入力する。第1ストロークが入力されると、第1ストロークがC1文字“H”と照合され、不一致と判定される。第2ストロークが入力されると、第2および第1ストロークがC1文字“H”と照合され、不一致と判定される。第3ストロークが入力されると、第3〜第1ストロークがC1文字“H”と照合され、一致と判定される。こうして“H”が認識される。以降、同様の処理が繰り返される。   Subsequently, referring to FIG. 9, since the C1 character “T” is correct and the C2 character “H” is incorrect, collation is started with the character “H” as C1. On the other hand, since the player has found that “A” is incorrect, the player inputs “H...”. When the first stroke is input, the first stroke is collated with the C1 character “H”, and it is determined that there is a mismatch. When the second stroke is input, the second and first strokes are collated with the C1 character “H”, and are determined to be inconsistent. When the third stroke is input, the third to first strokes are collated with the C1 character “H”, and are determined to match. In this way, “H” is recognized. Thereafter, the same processing is repeated.

次に、タイムアウトが発生した場合の文字認識処理を図10(A)〜図10(C)により説明する。図10(A)を参照して、“IAM…”の“I”の入力後にタイムアウトが発生したとする。図10(B)を参照して、先頭文字“I”は、第2ストロークが入力された時点で認識される。図10(C)を参照して、第3ストロークは、図7(B)の場合と同様、継続認識によって、“A”ではなく“I”の一部と判定される。そして最後の第3ストロークのタッチオフ後、無入力状態が一定時間継続するとタイムアウトと判定される。この場合、最後の第3ストロークが“I”の一部と判定されたため、誤入力ストロークは存在せず、エラー表示は行われない。タイムアウト後、次の文字“A”の認識に移る。   Next, character recognition processing when a timeout occurs will be described with reference to FIGS. 10 (A) to 10 (C). Referring to FIG. 10A, it is assumed that a time-out occurs after “I” of “IAM...” Is input. Referring to FIG. 10B, the first character “I” is recognized when the second stroke is input. Referring to FIG. 10C, the third stroke is determined to be a part of “I” instead of “A” by the continuous recognition as in the case of FIG. 7B. Then, after the last third stroke is touched off, a time-out is determined if the no-input state continues for a certain period of time. In this case, since it is determined that the last third stroke is a part of “I”, there is no erroneous input stroke and no error is displayed. After the time-out, the process proceeds to recognition of the next character “A”.

次に、誤入力時にタイムアウトが発生した場合の文字認識処理を図11(A)〜図11(C)により説明する。図11(A)を参照して、正解文字列“IAM…”に対して“ILM…”を入力中にタイムアウトが発生したとする。図11(B)を参照して、先頭文字“I”は、第2ストロークが入力された時点で認識される。このとき、レジスタM0に“2”が保持される。図11(C)を参照して、第3ストロークは、図7(B)の場合と同様、継続認識によって、“A”ではなく“I”の一部と判定される。このとき、レジスタM1に“3”が保持される。   Next, a character recognition process when a timeout occurs at the time of erroneous input will be described with reference to FIGS. 11 (A) to 11 (C). Referring to FIG. 11A, it is assumed that a timeout has occurred while inputting “ILM...” For correct character string “IAM. Referring to FIG. 11B, the first character “I” is recognized when the second stroke is input. At this time, “2” is held in the register M0. Referring to FIG. 11C, the third stroke is determined to be a part of “I” instead of “A” by the continuous recognition as in the case of FIG. 7B. At this time, “3” is held in the register M1.

続いて第4ストロークが入力されると、これが“A”と一致するかが判定され、不一致と判定される。また、第4および第3ストロークが“A”と一致するかがさらに判定され、ここでも不一致と判定される。なお、これら2回の判定も、図7(B)の場合と同様、レジスタM0およびM1の保持値に基づく。   Subsequently, when the fourth stroke is input, it is determined whether or not it matches “A”, and it is determined that they do not match. Further, it is further determined whether or not the fourth and third strokes coincide with “A”, and it is also determined that they do not coincide with each other. These two determinations are also based on the values held in the registers M0 and M1, as in the case of FIG. 7B.

最後の第4ストロークのタッチオフ後、無入力状態が一定時間継続するとタイムアウトと判定される。この場合、第1〜第3ストロークが“I”と判定され、最後の第4ストロークは“A”と一致しなかったため誤入力ストロークと判定され、エラー表示が行われる。タイムアウト後、次の文字“A”の認識に移る。   If the no-input state continues for a certain period after the last fourth stroke is touched off, it is determined that a timeout has occurred. In this case, it is determined that the first to third strokes are “I”, and the last fourth stroke does not match “A”, so that it is determined as an erroneous input stroke and an error display is performed. After the time-out, the process proceeds to recognition of the next character “A”.

上記のようなゲームをプレイするとき、CPUコア42は、図12〜図14のフロー図に従う処理を実行する。図12を参照して、まずステップS1で問題をスピーカ30aおよび30bから出力する。続くステップS3では、出力された問題に対応する英数文字列の先頭文字を変数C1にセットする。なお、変数C1,C2は、認識対象文字記憶領域102(図3参照)に記憶される。ステップS5では、変数nSに“0”をセットし、かつ変数nMに“0”をセットする。セット後、ステップS7に移る。   When playing the game as described above, the CPU core 42 executes processing according to the flowcharts of FIGS. Referring to FIG. 12, the problem is first output from speakers 30a and 30b in step S1. In the subsequent step S3, the first character of the alphanumeric character string corresponding to the output problem is set in the variable C1. The variables C1 and C2 are stored in the recognition target character storage area 102 (see FIG. 3). In step S5, “0” is set to the variable nS, and “0” is set to the variable nM. After setting, the process proceeds to step S7.

ここで、変数nSは、タッチ軌跡一時記憶領域94aに一時記憶されているストロークの数(ストローク配列の要素数)を意味する。一方、変数nMは、変数C1にマッチするストロークの数を意味する。従って、3つのストロークが一時記憶されているとして、そのうち2つがC1文字にマッチする場合、nS=3,nM=2となる。   Here, the variable nS means the number of strokes temporarily stored in the touch locus temporary storage area 94a (the number of elements in the stroke array). On the other hand, the variable nM means the number of strokes that match the variable C1. Therefore, assuming that three strokes are temporarily stored and two of them match the C1 character, nS = 3 and nM = 2.

ステップS7では、ストローク入力の有無を判別し、NOであればステップS9で、最後のタッチオフから一定時間が経過しているか否かをさらに判別する。タッチパネル20への入力がない状態つまり無入力状態が一定時間以上継続するとステップS9でYESと判別し、ステップS11に移って変数nSが0より大きいか否かを判別する。ここでNOであればステップS7に戻り、YESであればステップS21に進む。ステップS21では、誤入力である旨を通知する。通知は、例えばLCD14にバツ印(×)を表示することによって行う(図9参照)。通知後、ステップS5に戻る。   In step S7, it is determined whether or not there is a stroke input. If NO, it is further determined in step S9 whether or not a fixed time has elapsed since the last touch-off. If there is no input to the touch panel 20, that is, no input state continues for a certain time or longer, YES is determined in step S 9, and the process proceeds to step S 11 to determine whether or not the variable nS is greater than zero. If “NO” here, the process returns to the step S7, and if “YES”, the process proceeds to the step S21. In step S21, it is notified that the input is incorrect. The notification is performed, for example, by displaying a cross (x) on the LCD 14 (see FIG. 9). After the notification, the process returns to step S5.

タッチパネル20によってタッチ軌跡が検出されると、ステップS7でYESと判別し、ステップS13に移る。ステップS13では、検出されたタッチ軌跡つまり入力ストロークを領域S[nS]に保存し、かつ変数nSをインクリメントする。ここで領域S[nS]は、タッチ軌跡記憶一時記憶領域94aに含まれる領域S0,S1,…のいずれか1つに対応する(図3参照)。従って、例えば、最初に検出されたタッチ軌跡つまり第1ストロークは領域S0に保持され、次の第2ストロークは領域S1に保持されることになる。   If a touch locus is detected by the touch panel 20, YES is determined in a step S7, and the process proceeds to a step S13. In step S13, the detected touch locus, that is, the input stroke is stored in the region S [nS], and the variable nS is incremented. Here, the region S [nS] corresponds to any one of the regions S0, S1,... Included in the touch locus storage temporary storage region 94a (see FIG. 3). Therefore, for example, the first detected touch locus, that is, the first stroke is held in the region S0, and the next second stroke is held in the region S1.

次のステップS15では、領域S[0〜(nS−1)]を対象として認識処理を実行する。そしてステップS17で認識結果が変数C1にマッチするか否かを判別し、YESであればステップS23に移る。従って、例えば第1ストロークが入力されたとき、第1ストロークは変数C1の正解文字と照合される。ここでマッチせず、第2ストロークが入力されると、第1ストロークおよび第2ストロークがC1と照合される(図6(A)参照)。   In the next step S15, recognition processing is executed for the region S [0 to (nS-1)]. In step S17, it is determined whether or not the recognition result matches the variable C1. If YES, the process proceeds to step S23. Therefore, for example, when the first stroke is input, the first stroke is collated with the correct character of the variable C1. If the second stroke is input without matching here, the first stroke and the second stroke are collated with C1 (see FIG. 6A).

ステップS17でNOであれば、ステップS19で変数nSが変数MAX(C1)以上であるか否かを判別し、ここでNOであればステップS7に戻る。一方、YESであれば、ステップS21でエラー通知を行った後、ステップS5に戻る。ここで変数MAX(C1)は、変数C1にセットされた正解文字の最大ストローク数を示す。文字毎の最大ストローク数を記述した最大ストローク数データは、最大ストローク数データ記憶領域104aに格納されている。従って、一時記憶されているストロークの数が正解文字の最大ストローク数に達した時点で、領域[0〜(nS−1)]のストロークが変数C1の文字にマッチしなければ、かかるストロークは誤入力と見なされ、再入力が受け付けられる。   If “NO” in the step S17, it is determined whether or not the variable nS is equal to or larger than the variable MAX (C1) in a step S19. If “NO” here, the process returns to the step S7. On the other hand, if YES, after notifying an error in step S21, the process returns to step S5. Here, the variable MAX (C1) indicates the maximum number of strokes of the correct character set in the variable C1. The maximum stroke number data describing the maximum stroke number for each character is stored in the maximum stroke number data storage area 104a. Therefore, when the number of strokes temporarily stored reaches the maximum number of correct characters, if the stroke in the area [0 to (nS-1)] does not match the character in the variable C1, the stroke is erroneous. It is considered as input and re-input is accepted.

図13を参照して、ステップS23では、変数C1を正解としてLCD12に表示する。続くステップS25では、変数C1が問題文字列の最後の文字か否かを判別し、YESであれば、この問題の認識処理を終了する。ステップS25でNOであれば、ステップS27で次の文字を変数C2にセットし、さらにステップS29で、領域M[nM]に変数nSを保持し、かつ変数nMをインクリメントする。ここで領域M[nM]は、マッチストローク数記憶領域94bに含まれる領域M0,M1,…のいずれか1つに対応する(図3参照)。   Referring to FIG. 13, in step S23, variable C1 is displayed on LCD 12 as a correct answer. In the subsequent step S25, it is determined whether or not the variable C1 is the last character of the question character string. If YES, the problem recognition process is terminated. If “NO” in the step S25, the next character is set in the variable C2 in a step S27, and further, the variable nS is held in the region M [nM] and the variable nM is incremented in a step S29. Here, the area M [nM] corresponds to any one of the areas M0, M1,... Included in the match stroke number storage area 94b (see FIG. 3).

続くステップS31では、ストローク入力の有無を判別し、ここでYESであればステップ41に進む。一方、NOであればステップS33で、最後のタッチオフから一定時間が経過しているか否かをさらに判別する。無入力状態が一定時間以上継続するとステップS33でYESと判別し、ステップS35に移る。ステップS35では、変数nSが領域M[nM−1]の保持番号と一致するか否か、つまり、一時記憶されているストロークの数が、C1マッチと判別されたストロークの数と一致するか否かを判別する。   In the following step S31, it is determined whether or not there is a stroke input. If YES here, the process proceeds to step 41. On the other hand, if NO, it is further determined in step S33 whether or not a fixed time has elapsed since the last touch-off. If the no-input state continues for a certain time or more, YES is determined in step S33, and the process proceeds to step S35. In step S35, whether or not the variable nS matches the holding number of the region M [nM-1], that is, whether or not the number of strokes temporarily stored matches the number of strokes determined to be C1 match. Is determined.

ここでNOであればステップS37に移って、C1とマッチすると判別されたストローク以降の入力ストロークについて、誤入力である旨を通知する(図11(C)参照)。通知後、ステップS39に移る。ステップS35でYESであれば、直ちにステップS39に移る。   If “NO” here, the process proceeds to a step S37 to notify that the input stroke after the stroke determined to match the C1 is an erroneous input (see FIG. 11C). After the notification, the process proceeds to step S39. If “YES” in the step S35, the process immediately proceeds to a step S39.

ステップS39では、変数C2の値を変数C1にセットする。つまり、変数C1の値は、変数C2の値によって上書きされる。セット後、ステップS5に戻る。   In step S39, the value of variable C2 is set to variable C1. That is, the value of the variable C1 is overwritten by the value of the variable C2. After setting, the process returns to step S5.

図14を参照して、ステップS41では、入力ストロークを領域S[nS]に保持し、かつ変数nSをインクリメントする。続くステップS43では変数nMから“1”を減じた値を変数aにセットし、そしてステップS45で変数aが“0”以上か否かを判別する。ステップS45でYESであれば、ステップS47に移る。ステップS45でNOであればステップS53(後述)に移る。   Referring to FIG. 14, in step S41, the input stroke is held in region S [nS], and variable nS is incremented. In the subsequent step S43, a value obtained by subtracting “1” from the variable nM is set in the variable a, and in a step S45, it is determined whether or not the variable a is “0” or more. If “YES” in the step S45, the process proceeds to a step S47. If “NO” in the step S45, the process proceeds to a step S53 (described later).

ステップS47では、領域S[M[a]〜(nS−1)]を対象として文字認識処理を実行する。そして、ステップS49で認識結果が変数C2にマッチするか否かを判別し、YESであればステップS51に移る。ステップS51では、領域S[M[a]〜(nS−1)]の保持内容を領域S[0〜(nS−M[a]−1)]にシフトし、変数nSから領域M(a)の値を減じた値を新たな変数nSとし、変数nMを“0”とし、そして変数C1に変数C2の値をセットする。これにより、問題文字列において、認識対象が一文字後方にシフトする。セット後、ステップS23に戻る。   In step S47, character recognition processing is executed for the region S [M [a] to (nS-1)]. In step S49, it is determined whether or not the recognition result matches the variable C2. If YES, the process proceeds to step S51. In step S51, the content held in the area S [M [a] to (nS-1)] is shifted to the area S [0 to (nS-M [a] -1)], and the variable nS is changed to the area M (a). As a new variable nS, the variable nM is set to “0”, and the value of the variable C2 is set to the variable C1. As a result, the recognition target is shifted backward by one character in the problem character string. After setting, the process returns to step S23.

ステップS49でNOであれば、ステップS50に移って変数aをデクリメントし、その後、ステップS45に戻る。   If “NO” in the step S49, the process shifts to a step S50 to decrement the variable “a”, and then returns to the step S45.

ステップS45でNOであれば、ステップS53に移って、関係式“nS≧MAX(C1)+MAX(C2)”が満足されるか否かを判別し、ここでYESであればステップS37に移る。ステップS53でNOであれば、ステップS55で関係式“nS≧MAX(C1)”が満足されるか否かをさらに判別し、ここでYESであればステップS31に移る。   If “NO” in the step S45, the process shifts to a step S53 to determine whether or not the relational expression “nS ≧ MAX (C1) + MAX (C2)” is satisfied, and if “YES” here, the process shifts to a step S37. If “NO” in the step S53, it is further determined whether or not the relational expression “nS ≧ MAX (C1)” is satisfied in a step S55, and if “YES” here, the process proceeds to a step S31.

ステップS55でNOであれば、ステップS57で領域S[0〜(nS−1)]を対象として文字認識処理を実行する。そしてステップS59で認識結果が変数C1にマッチするか否かを判別し、YESであればステップS29に移る。ステップS59でNOであればステップS31に移る。   If “NO” in the step S55, a character recognition process is executed on the region S [0 to (nS−1)] in a step S57. In step S59, it is determined whether or not the recognition result matches the variable C1. If YES, the process proceeds to step S29. If “NO” in the step S59, the process proceeds to a step S31.

従って、一時保持ストローク数がC1文字およびC2文字の合計最大ストローク数を超えると、C1マッチストローク以降の入力ストロークが間違いである旨が通知される(図8(C),図9参照)。一時保持ストローク数が合計最大ストローク数を超えてはいないが、C1文字の最大ストローク数を超えていれば、引き続きストローク入力が受け付けられる。一時保持ストローク数がC1文字の最大ストローク数に達するまでの間、全ての一時保持ストロークに対して認識処理が実行される。そして、ストローク入力待ちに移行し、次のストロークが受け付けられると、変数aの値をデクリメントしつつ領域S[M[a]〜(nS−1)]を認識する処理が繰り返し実行される。図7(B)の例では、第4ストロークが入力されたとき、a=1なので、まずa=1として1回目の認識処理が実行され、次にa=0として2回目の認識処理が実行される。   Therefore, when the temporary holding stroke number exceeds the total maximum stroke number of the C1 character and the C2 character, it is notified that the input stroke after the C1 match stroke is incorrect (see FIGS. 8C and 9). Although the temporary holding stroke number does not exceed the total maximum stroke number, if the C1 character exceeds the maximum stroke number, the stroke input is continuously accepted. Until the number of temporary holding strokes reaches the maximum number of strokes of the C1 character, the recognition process is executed for all temporary holding strokes. Then, when the process waits for a stroke input and the next stroke is accepted, the process of recognizing the region S [M [a] to (nS-1)] while decrementing the value of the variable a is repeatedly executed. In the example of FIG. 7B, when the fourth stroke is input, since a = 1, first recognition processing is executed with a = 1, and then second recognition processing is executed with a = 0. Is done.

以上から明らかなように、この実施例では、CPUコア42は、正解が予め判明している問題を出力し(S1)、出力された問題に関連する手書き文字入力操作をタッチパネル20を通してストローク単位で受け付ける(S7,S31)。かかる受け付けの度に認識処理を行い(S15,S47,S57)、行われた認識処理の結果が正解文字と一致するか否かを判別する(S17,S49,S59)。この判別結果が否定的であるとき、受け付けられた手書き文字入力操作のストローク数が正解文字の最大ストローク数を上回るか否かをさらに判別し(S19,S53,S55)、そしてこの判別結果が肯定的であるとき不正解を通知する(S21,S37)。   As is apparent from the above, in this embodiment, the CPU core 42 outputs a problem whose correct answer is known in advance (S1), and performs a handwritten character input operation related to the output problem in units of strokes through the touch panel 20. Accept (S7, S31). A recognition process is performed at each reception (S15, S47, S57), and it is determined whether or not the result of the recognition process performed matches the correct character (S17, S49, S59). If the determination result is negative, it is further determined whether or not the number of strokes of the accepted handwritten character input operation exceeds the maximum number of strokes of the correct character (S19, S53, S55), and this determination result is positive If the answer is correct, an incorrect answer is notified (S21, S37).

このように、手書き文字入力操作をストローク単位で受け付け、受け付けの度に認識処理を行い、認識処理の結果が正解文字と一致しないとき、受け付けられた手書き文字入力操作のストローク数が正解文字の最大ストローク数を上回るか否かを判別して、かかる判別結果が肯定的であるとき不正解を通知するので、早いタイミングで不正解を通知することできる。その結果、待ち時間が短縮され、効果的な学習が行えるようになる。   In this way, when the handwritten character input operation is accepted in units of strokes and recognition processing is performed each time it is received, and the result of the recognition processing does not match the correct character, the number of strokes of the accepted handwritten character input operation is the maximum number of correct characters. It is determined whether or not the number of strokes is exceeded, and an incorrect answer is notified when the determination result is affirmative, so that an incorrect answer can be notified at an early timing. As a result, the waiting time is shortened and effective learning can be performed.

また、正解文字は、第1正解文字および当該第1正解文字に後続する第2正解文字を含む。正解判別では、まず、行われた認識処理の結果が第1正解文字と一致するか否かを判別し(第1判別処理:S17)、次に、この第1判別処理の結果が肯定的となった後に認識ステップによって行われた認識処理の結果が第2正解文字と一致するか否かを判別する(第2判別処理:S49)。そして、この第2判別処理の結果が否定的であるとき、第1判別処理の結果が肯定的となった後に行われた認識処理の結果(“後”認識結果)が第1正解文字と一致するか否かを判別する(第3判別処理:S59)。   The correct character includes a first correct character and a second correct character that follows the first correct character. In the correct answer determination, first, it is determined whether or not the result of the recognition process performed matches the first correct character (first determination process: S17), and then the result of the first determination process is positive. After that, it is determined whether or not the result of the recognition process performed in the recognition step matches the second correct character (second determination process: S49). Then, when the result of the second determination process is negative, the result of the recognition process (the “rear” recognition result) performed after the result of the first determination process becomes affirmative matches the first correct character. It is discriminate | determined whether to perform (3rd discrimination | determination process: S59).

このように、第1および第2判別処理を実行した後、受け付けられた手書き文字入力操作のストローク数が第1正解文字の最大ストローク数以下であれば第3判別処理をさらに実行するので、第2判別処理の対象となったストロークが第1正解文字の一部であればそれがわかる。この結果、手書き入力文字が正解文字と一致するか否かの判別精度が高まり、ひいては不正解の通知タイミングが早まる。   Thus, after executing the first and second determination processes, if the number of strokes of the accepted handwritten character input operation is less than or equal to the maximum number of strokes of the first correct character, the third determination process is further executed. 2. If the stroke that is the object of the discrimination process is a part of the first correct character, it is known. As a result, the accuracy of determining whether or not the handwritten input character matches the correct character is increased, and accordingly, the incorrect answer notification timing is advanced.

さらには、第3判別処理が実行されたとき、第1正解文字と一致すると判別されたストロークの少なくとも一部と、第1正解文字と一致すると判別されたストロークの後に入力されたストロークとを含むストロークを認識ステップによって認識させ、この認識処理の結果が第2正解文字と一致するか否かをさらに判別する(第4判別処理)。   Furthermore, when the third determination process is executed, at least a part of the stroke determined to match the first correct character and a stroke input after the stroke determined to match the first correct character are included. The stroke is recognized by the recognition step, and it is further determined whether or not the result of the recognition process matches the second correct character (fourth determination process).

このように、第3判別処理と共に第4判別処理を行うことで、第1正解文字の一部とされたストロークが第2正解文字の一部であればそれがわかる。この結果、手書き入力文字が正解文字と一致するか否かの手書き入力文字が正解文字と一致するか否かの判別精度が一層高まり、ひいては不正解の通知タイミングがさらに早まる。   As described above, by performing the fourth determination process together with the third determination process, it is possible to know that the stroke that is a part of the first correct character is a part of the second correct character. As a result, the accuracy of determining whether or not the handwritten input character matches with the correct character as to whether or not the handwritten input character matches with the correct character is further increased, and the incorrect notification timing is further advanced.

なお、以上では、スピーカ22a等から出力される英文を書き取る書き取りゲームを用いて説明したが、この発明は、正解が予め判明している問題を出力し、出力された問題に関連する手書き文字入力操作をタッチパネルを通して受け付け、受け付けられた入力操作に対応する手書き文字を認識し、認識された文字が正解か否かを判別し、そして判別結果を通知することによってユーザの学習を支援する、学習支援プログラムに適用できる。また、学習支援プログラムに限らず、手書き文字入力操作をタッチパネルを通して受け付け、受け付けられた入力操作に対応する手書き文字を認識する、文字認識プログラムにも適用できる。   In the above description, the writing game that writes out the English text output from the speaker 22a or the like has been described. However, the present invention outputs a problem in which the correct answer is known in advance, and inputs handwritten characters related to the output problem. Learning support that accepts operations through the touch panel, recognizes handwritten characters corresponding to the accepted input operations, determines whether or not the recognized characters are correct, and informs the user by learning the determination results Applicable to the program. Further, the present invention is not limited to the learning support program, and can be applied to a character recognition program that accepts a handwritten character input operation through a touch panel and recognizes a handwritten character corresponding to the accepted input operation.

この発明の一実施例の外観を示す図解図である。It is an illustration figure which shows the external appearance of one Example of this invention. 図1実施例の内部構成の一例を示すブロック図である。It is a block diagram which shows an example of the internal structure of FIG. 1 Example. 図1実施例に適用されるRAMのマッピング状態の一例を示す図解図である。It is an illustration figure which shows an example of the mapping state of RAM applied to the FIG. 1 Example. 図1実施例に適用されるLCD表示例を示す図解図である。It is an illustration figure which shows the LCD display example applied to the FIG. 1 Example. 図1実施例に適用される認識処理の一例を示す図解図である。It is an illustration figure which shows an example of the recognition process applied to the FIG. 1 Example. (A)は図1実施例に適用される認識処理の他の一例を示す図解図であり、(B)は図1実施例に適用される認識処理のその他の一例を示す図解図である。(A) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example, (B) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. (A)は図1実施例に適用される認識処理のさらにその他の一例を示す図解図であり、(B)は図1実施例に適用される認識処理の他の一例を示す図解図である。(A) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example, (B) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. . (A)は図1実施例に適用される認識処理のその他の一例を示す図解図であり、(B)は図1実施例に適用される認識処理のさらにその他の一例を示す図解図であり、(C)は図1実施例に適用される認識処理の他の一例を示す図解図である。(A) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example, (B) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. (C) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. 図1実施例に適用される認識処理のその他の一例を示す図解図である。It is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. (A)は図1実施例に適用される認識処理のさらにその他の一例を示す図解図であり、(B)は図1実施例に適用される認識処理の他の一例を示す図解図であり、(C)は図1実施例に適用される認識処理のその他の一例を示す図解図である。(A) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example, (B) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. (C) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. (A)は図1実施例に適用される認識処理のさらにその他の一例を示す図解図であり、(B)は図1実施例に適用される認識処理の他の一例を示す図解図であり、(C)は図1実施例に適用される認識処理のその他の一例を示す図解図である。(A) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example, (B) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. (C) is an illustration figure which shows another example of the recognition process applied to FIG. 1 Example. 図1実施例に適用されるCPUコアの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of CPU core applied to the FIG. 1 Example. 図1実施例に適用されるCPUコアの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU core applied to the FIG. 1 Example. 図1実施例に適用されるCPUコアの動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU core applied to FIG. 1 Example.

符号の説明Explanation of symbols

10 …ゲーム装置
12,14 …LCD
18a−18h,18Lおよび18R …操作スイッチ
20 …タッチパネル
24 …スティック
26 …メモリカード
42 …CPUコア
48 …RAM
50 …I/F回路
52,54 …GPU
56,58 …VRAM
60 …LCDコントローラ
10 ... Game device 12, 14 ... LCD
18a-18h, 18L and 18R ... operation switch 20 ... touch panel 24 ... stick 26 ... memory card 42 ... CPU core 48 ... RAM
50 ... I / F circuit 52, 54 ... GPU
56, 58 ... VRAM
60 ... LCD controller

Claims (14)

タッチパネルと、文字毎のストローク数を記憶した記憶手段とを有するコンピュータ装置のプロセサを、
問題を出力する問題出力手段、
前記問題出力手段によって出力された問題に関連する手書き文字入力操作を前記タッチパネルを通してストローク単位で受け付ける受付手段、
前記受付手段による受け付けの度に認識処理を行う認識手段、
前記認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段、
前記正解判別手段の判別結果が否定的であるとき前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記正解文字のストローク数以上か否かを判別するストローク数判別手段、および
前記ストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段として機能させるための、手書き学習支援プログラム。
A processor of a computer device having a touch panel and storage means for storing the number of strokes for each character,
Problem output means for outputting the problem,
Accepting means for accepting a handwritten character input operation related to the problem output by the problem output means in units of strokes through the touch panel ;
A recognizing unit that performs a recognition process each time it is received by the receiving unit;
Correct answer discriminating means for discriminating whether or not the result of the recognition processing performed by the recognizing means matches the correct character;
Stroke number determining means for determining whether or not the number of strokes of the handwritten character input operation received by the receiving means when the determination result of the correct answer determining means is negative, and the number of strokes A handwriting learning support program for functioning as an incorrect answer notifying means for notifying an incorrect answer when the determination result of the determining means is affirmative.
前記正解文字は第1正解文字および当該第1正解文字に後続する第2正解文字を含み、
前記正解判別手段は、
前記認識手段によって行われた認識処理の結果が前記第1正解文字と一致するか否かを判別する第1正解判別手段、および
前記第1正解判別手段の判別結果が肯定的となった後に前記認識手段によって行われた認識処理の結果が前記第2正解文字と一致するか否かを判別する第2正解判別手段を含み、
前記第1正解判別手段は、前記第2正解判別手段の判別結果が否定的であり、かつ前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記第1正解文字のストローク数未満であるとき、すでに前記第1正解文字と一致すると判別されたストロークの全てと当該第2正解判別手段によって判別されたストロークとを含めたストロークを前記認識手段によって認識させ、当該認識処理の結果が前記第1正解文字と一致するか否かを判別する第3正解判別手段を含む、請求項1記載の手書き学習支援プログラム。
The correct character includes a first correct character and a second correct character following the first correct character,
The correct answer determining means includes
A first correct determination means for determining whether or not a result of the recognition processing performed by the recognition means matches the first correct character; and after the determination result of the first correct determination means becomes affirmative Including second correct answer discriminating means for discriminating whether or not the result of the recognition processing performed by the recognition means matches the second correct character;
In the first correct answer discriminating means, the discrimination result of the second correct answer discriminating means is negative, and the stroke number of the handwritten character input operation accepted by the accepting means is less than the stroke number of the first correct answer character. DOO-out, already been recognized by the recognition means strokes, including the strokes determined by all the said second correct answer determination means determines strokes to match the first correct character, the result of the recognition process the The handwriting learning support program according to claim 1, further comprising third correct answer discriminating means for discriminating whether or not the first correct character matches.
前記第2正解判別手段は、前記第3正解判別手段の判別が行われたとき、前記第1正解判別手段で前記第1正解文字と一致すると判別されたストロークの少なくとも一部と当該第1正解判別手段で前記第1正解文字と一致すると判別されたストロークの後に入力されたストロークとを含めたストロークを前記認識手段によって認識させ、当該認識処理の結果が前記第2正解文字と一致するか否かを判別することを特徴とする、請求項2記載の手書き学習支援プログラム。   The second correct answer discriminating means includes the first correct answer and at least a part of the stroke determined to match the first correct character by the first correct answer discriminating means when the third correct answer discriminating means is determined. Whether the recognition means recognizes a stroke including a stroke input after the stroke determined to match the first correct character by the determination means, and whether or not the result of the recognition process matches the second correct character The handwriting learning support program according to claim 2, wherein the handwriting learning support program is determined. 前記ストローク数判別手段は、前記第2正解判別手段の判別結果が否定的であるとき前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記第1正解文字および前記第2正解文字の合計ストローク数以上か否かを判別する合計ストローク数判別手段を含み、
前記不正解通知手段は前記合計ストローク数判別手段の判別結果が肯定的であるとき通知処理を実行する、請求項2または3記載の手書き学習支援プログラム。
The number-of-strokes discriminating means has a stroke number of the handwritten character input operation accepted by the accepting means when the discrimination result of the second correct answer discriminating means is negative, and is the sum of the first correct character and the second correct character. wherein the total number of strokes discrimination means for discriminating whether or number of strokes,
4. The handwriting learning support program according to claim 2, wherein the incorrect answer notifying unit executes a notification process when a determination result of the total stroke number determining unit is affirmative.
前記第1正解判別手段の判別結果が肯定的であり、かつ前記第2正解判別手段の判別結果が肯定的であった後に、次の手書き文字入力操作が行われた場合、
前記第1正解判別手段は、前記第2正解文字を第1正解文字として、前記認識手段によって行われた認識処理の結果を判別し、
前記第2正解判別手段は、新たな正解文字を第2正解文字として、前記認識手段によって行われた認識処理の結果を判別する、請求項2ないし4のいずれかに記載の手書き学習支援プログラム。
When the next handwritten character input operation is performed after the determination result of the first correct answer determining means is positive and the determination result of the second correct answer determining means is positive,
The first correct answer discriminating means discriminates the result of the recognition processing performed by the recognizing means with the second correct character as the first correct character;
The handwriting learning support program according to any one of claims 2 to 4, wherein the second correct answer discriminating means discriminates a result of the recognition processing performed by the recognizing means using a new correct character as a second correct character.
前記プロセサを、前記受付手段によって最後に受付処理が実行されてからの経過時間が所定時間を超えたか否かを判別する経過時間判別手段としてさらに機能させ、
前記不正解通知手段は、前記経過時間判別手段の判別結果が肯定的であるときさらに通知処理を実行する、請求項1ないし5のいずれかに記載の手書き学習支援プログラム。
The processor further functions as an elapsed time determination unit that determines whether or not an elapsed time since the reception process was last executed by the reception unit exceeded a predetermined time,
6. The handwriting learning support program according to claim 1, wherein the incorrect answer notifying unit further executes a notification process when a determination result of the elapsed time determining unit is affirmative.
タッチパネルを有するコンピュータ装置のプロセサを、
手書き文字入力操作を前記タッチパネルを通してストローク単位で受け付ける受付手段、
前記受付手段による受け付けの度に認識処理を行う認識手段、および
前記認識手段によって行われた認識処理の結果が特定文字と一致するか否かを判別する一致判別手段として機能させ、
前記特定文字は第1特定文字および当該第1特定文字に後続する第2特定文字を含み、
前記一致判別手段は、
前記認識手段によって行われた認識処理の結果が前記第1特定文字と一致するか否かを判別する第1一致判別手段、および
前記第1一致判別手段の判別結果が肯定的となった後に前記認識手段によって行われた認識処理の結果が前記第2特定文字と一致するか否かを判別する第2一致判別手段を含み、
前記第1一致判別手段は、前記第2一致判別手段の判別結果が否定的であり、かつ前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記第1特定文字のストローク数未満であるとき、すでに前記第1特定文字と一致すると判別されたストロークの全てと当該第2一致判別手段によって判別されたストロークとを含めたストロークを前記認識手段によって認識させ、当該認識処理の結果が前記第1特定文字と一致するか否かを判別する第3一致判別手段を含む、手書き文字認識プログラム。
A computer device processor having a touch panel ,
Accepting means for accepting handwritten character input operations in units of strokes through the touch panel ;
A recognition unit that performs a recognition process each time it is received by the reception unit, and a matching determination unit that determines whether the result of the recognition process performed by the recognition unit matches a specific character;
The specific character includes a first specific character and a second specific character that follows the first specific character,
The coincidence determining means includes
A first match determination means for determining whether or not a result of the recognition processing performed by the recognition means matches the first specific character; and after the determination result of the first match determination means becomes affirmative A second match determining means for determining whether or not a result of the recognition processing performed by the recognition means matches the second specific character;
The first match determination means is negative in the determination result of the second match determination means, and the number of strokes of the handwritten character input operation received by the receiving means is less than the number of strokes of the first specific character. DOO-out, already been recognized by the recognition means strokes, including the strokes determined by all the said second coincidence discrimination means discriminating strokes to match the first specific character, the result of the recognition process the A handwritten character recognition program including a third coincidence determining means for determining whether or not the first specific character matches.
前記第2一致判別手段は、前記第3一致判別手段の判別が行われたとき、前記第1一致判別手段で前記第1特定文字と一致すると判別されたストロークの少なくとも一部と当該第1一致判別手段で前記第1特定文字と一致すると判別されたストロークの後に入力されたストロークとを含めたストロークを前記認識手段によって認識させ、当該認識処理の結果が前記第2特定文字と一致するか否かを判別することを特徴とする、請求項7記載の手書き文字認識プログラム。   The second coincidence determining unit is configured to match the first match with at least a part of a stroke determined by the first match determining unit to match the first specific character when the third match determining unit is determined. Whether the recognition unit recognizes a stroke including a stroke input after the stroke determined to match the first specific character by the determination unit, and whether or not the result of the recognition process matches the second specific character. The handwritten character recognition program according to claim 7, wherein: 前記コンピュータ装置は文字毎のストローク数を記憶した記憶手段をさらに有し、
前記プロセサを、
問題を出力する問題出力手段、
前記問題出力手段によって出力される問題に関連して実行される前記第2一致判別手段の判別結果が否定的であるとき、前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記第1特定文字および前記第2特定文字の合計ストローク数以上か否かを判別するストローク数判別手段、および
前記ストローク数判別手段の判別結果が肯定的であるとき不一致を通知する不一致通知手段としてさらに機能させる、請求項8記載の手書き文字認識プログラム。
The computer device further includes storage means for storing the number of strokes for each character,
The processor,
Problem output means for outputting the problem,
When the determination result of the second match determination unit executed in relation to the problem output by the problem output unit is negative, the number of strokes of the handwritten character input operation received by the reception unit is the first It further functions as stroke number determining means for determining whether or not the total number of strokes of the specific character and the second specific character is equal to or greater, and a mismatch notification means for notifying a mismatch when the determination result of the stroke number determining means is affirmative. The handwritten character recognition program according to claim 8.
前記プロセサを、前記受付手段によって最後に受付処理が実行されてからの経過時間が所定時間を超えたか否かを判別する経過時間判別手段、および前記経過時間判別手段の判別結果が肯定的であるとき不一致を通知する不一致通知手段としてさらに機能させる、請求項7または8記載の手書き文字認識プログラム。 The elapsed time determination means for determining whether or not the elapsed time since the reception processing was last executed by the reception means has exceeded a predetermined time, and the determination result of the elapsed time determination means is positive The handwritten character recognition program according to claim 7 or 8 , further functioning as a mismatch notification means for notifying a mismatch. タッチパネル
文字毎のストローク数を記憶した記憶手段、
問題を出力する問題出力手段、
前記問題出力手段によって出力された問題に関連する手書き文字入力操作を前記タッチパネルを通してストローク単位で受け付ける受付手段、
前記受付手段による受け付けの度に認識処理を行う認識手段、
前記認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段、
前記正解判別手段の判別結果が否定的であるとき前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記正解文字のストローク数以上か否かを判別するストローク数判別手段、および
前記ストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段を備える、手書き学習支援装置。
Touch panel ,
Storage means for storing the number of strokes for each character;
Problem output means for outputting the problem,
Accepting means for accepting a handwritten character input operation related to the problem output by the problem output means in units of strokes through the touch panel ;
A recognizing unit that performs a recognition process each time it is received by the receiving unit;
Correct answer discriminating means for discriminating whether or not the result of the recognition processing performed by the recognizing means matches the correct character;
Stroke number determining means for determining whether or not the number of strokes of the handwritten character input operation received by the receiving means when the determination result of the correct answer determining means is negative, and the number of strokes A handwriting learning support device comprising incorrect answer notification means for notifying an incorrect answer when the determination result of the determination means is affirmative.
タッチパネル
手書き文字入力操作を前記タッチパネルを通してストローク単位で受け付ける受付手段、
前記受付手段による受け付けの度に認識処理を行う認識手段、および
前記認識手段によって行われた認識処理の結果が特定文字と一致するか否かを判別する一致判別手段を備え、
前記特定文字は第1特定文字および当該第1特定文字に後続する第2特定文字を含み、
前記一致判別手段は、
前記認識手段によって行われた認識処理の結果が前記第1特定文字と一致するか否かを判別する第1一致判別手段、および
前記第1一致判別手段の判別結果が肯定的となった後に前記認識手段によって行われた認識処理の結果が前記第2特定文字と一致するか否かを判別する第2一致判別手段を含み、
前記第1一致判別手段は、前記第2一致判別手段の判別結果が否定的であり、かつ前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記第1特定文字のストローク数未満であるとき、すでに前記第1特定文字と一致すると判別されたストロークの全てと当該第2一致判別手段によって判別されたストロークとを含めたストロークを前記認識手段によって認識させ、当該認識処理の結果が前記第1特定文字と一致するか否かを判別する第3一致判別手段を含む、手書き文字認識装置。
Touch panel ,
Accepting means for accepting handwritten character input operations in units of strokes through the touch panel ;
A recognition unit that performs a recognition process each time it is received by the reception unit, and a matching determination unit that determines whether or not a result of the recognition process performed by the recognition unit matches a specific character,
The specific character includes a first specific character and a second specific character that follows the first specific character,
The coincidence determining means includes
A first match determination means for determining whether or not a result of the recognition processing performed by the recognition means matches the first specific character; and after the determination result of the first match determination means becomes affirmative A second match determining means for determining whether or not a result of the recognition processing performed by the recognition means matches the second specific character;
The first match determination means is negative in the determination result of the second match determination means, and the number of strokes of the handwritten character input operation received by the receiving means is less than the number of strokes of the first specific character. DOO-out, already been recognized by the recognition means strokes, including the strokes determined by all the said second coincidence discrimination means discriminating strokes to match the first specific character, the result of the recognition process the A handwritten character recognition apparatus, comprising: a third coincidence determining unit that determines whether or not the first specific character matches.
タッチパネルと、文字毎のストローク数を記憶した記憶手段とを有するコンピュータ装置のプロセサを、
問題を出力する問題出力手段、
前記問題出力手段によって出力された問題に関連する手書き文字入力操作を前記タッチパネルを通してストローク単位で受け付ける受付手段、
前記受付手段による受け付けの度に認識処理を行う認識手段、
前記認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段、
前記正解判別手段の判別結果が肯定的であるとき、正解を通知する正解通知手段、
前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記正解文字のストローク数より大きいか否かを判別するストローク数判別手段、および
前記ストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段として機能させるための、手書き学習支援プログラム。
A processor of a computer device having a touch panel and storage means for storing the number of strokes for each character,
Problem output means for outputting the problem,
Accepting means for accepting a handwritten character input operation related to the problem output by the problem output means in units of strokes through the touch panel ;
A recognizing unit that performs a recognition process each time it is received by the receiving unit;
Correct answer discriminating means for discriminating whether or not the result of the recognition processing performed by the recognizing means matches the correct character;
Correct answer notifying means for notifying the correct answer when the determination result of the correct answer determining means is affirmative;
Stroke number determining means for determining whether or not the number of strokes of the handwritten character input operation received by the receiving means is greater than the number of strokes of the correct character; and if the determination result of the stroke number determining means is affirmative A handwriting learning support program for functioning as an incorrect answer notification means for notifying a correct answer.
タッチパネル
文字毎のストローク数を記憶した記憶手段、
問題を出力する問題出力手段、
前記問題出力手段によって出力された問題に関連する手書き文字入力操作を前記タッチパネルを通してストローク単位で受け付ける受付手段、
前記受付手段による受け付けの度に認識処理を行う認識手段、
前記認識手段によって行われた認識処理の結果が正解文字と一致するか否かを判別する正解判別手段、
前記正解判別手段の判別結果が肯定的であるとき、正解を通知する正解通知手段、
前記受付手段によって受け付けられた手書き文字入力操作のストローク数が前記正解文字のストローク数より大きいか否かを判別するストローク数判別手段、および
前記ストローク数判別手段の判別結果が肯定的であるとき不正解を通知する不正解通知手段を備える、手書き学習支援装置。
Touch panel ,
Storage means for storing the number of strokes for each character;
Problem output means for outputting the problem,
Accepting means for accepting a handwritten character input operation related to the problem output by the problem output means in units of strokes through the touch panel ;
A recognizing unit that performs a recognition process each time it is received by the receiving unit;
Correct answer discriminating means for discriminating whether or not the result of the recognition processing performed by the recognizing means matches the correct character;
Correct answer notifying means for notifying the correct answer when the determination result of the correct answer determining means is affirmative;
Stroke number determining means for determining whether or not the number of strokes of the handwritten character input operation received by the receiving means is greater than the number of strokes of the correct character; and if the determination result of the stroke number determining means is affirmative A handwriting learning support device comprising an incorrect answer notification means for notifying a correct answer.
JP2005336865A 2005-11-22 2005-11-22 Handwriting learning support program and handwritten character recognition program Active JP5053538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005336865A JP5053538B2 (en) 2005-11-22 2005-11-22 Handwriting learning support program and handwritten character recognition program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005336865A JP5053538B2 (en) 2005-11-22 2005-11-22 Handwriting learning support program and handwritten character recognition program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011172486A Division JP5603305B2 (en) 2011-08-08 2011-08-08 Handwriting learning support program and handwritten character recognition program

Publications (2)

Publication Number Publication Date
JP2007140345A JP2007140345A (en) 2007-06-07
JP5053538B2 true JP5053538B2 (en) 2012-10-17

Family

ID=38203250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005336865A Active JP5053538B2 (en) 2005-11-22 2005-11-22 Handwriting learning support program and handwritten character recognition program

Country Status (1)

Country Link
JP (1) JP5053538B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155082A (en) * 1986-12-19 1988-06-28 富士通株式会社 Learining system for writing learning apparatus
JPH07152868A (en) * 1993-11-29 1995-06-16 Toshiba Corp Method and device for character recognition
JP3470541B2 (en) * 1997-01-29 2003-11-25 株式会社日立製作所 Online handwritten character recognition device
CN1156741C (en) * 1998-04-16 2004-07-07 国际商业机器公司 Chinese handwriting identifying method and device
JP3925247B2 (en) * 2002-03-13 2007-06-06 富士通株式会社 Online handwritten character recognition device without real time frame and program for realizing the same

Also Published As

Publication number Publication date
JP2007140345A (en) 2007-06-07

Similar Documents

Publication Publication Date Title
JP4683970B2 (en) Touch input program and touch input device
US8306330B2 (en) Game apparatus and storage medium storing a handwriting input program
US7825904B2 (en) Information processing apparatus and storage medium storing item selecting program
EP1645949B1 (en) Information processing apparatus and information input program
US20060109259A1 (en) Storage medium storing image display program, image display processing apparatus and image display method
JP5426066B2 (en) Display update program and display update apparatus
JP5000132B2 (en) Training program, training apparatus, training system, training control method, game program, game apparatus, game system, and game control method
JP4943659B2 (en) GAME PROGRAM AND GAME DEVICE
JP5603305B2 (en) Handwriting learning support program and handwritten character recognition program
JP5053538B2 (en) Handwriting learning support program and handwritten character recognition program
JP5009349B2 (en) Handwriting learning support program and handwriting learning support device
JP2006284861A (en) Program and device to support learning by handwriting
JP4943658B2 (en) GAME PROGRAM AND GAME DEVICE
JP4447046B2 (en) Handwriting learning support program and handwriting learning support device
JP4061278B2 (en) GAME DEVICE AND GAME PROGRAM
JP4445793B2 (en) Input device and program using touch panel
JP4979779B2 (en) Information processing apparatus and information input program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081016

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110608

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120210

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120703

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120726

R150 Certificate of patent or registration of utility model

Ref document number: 5053538

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150803

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250