JP2669773B2 - Character processor - Google Patents
Character processorInfo
- Publication number
- JP2669773B2 JP2669773B2 JP19985393A JP19985393A JP2669773B2 JP 2669773 B2 JP2669773 B2 JP 2669773B2 JP 19985393 A JP19985393 A JP 19985393A JP 19985393 A JP19985393 A JP 19985393A JP 2669773 B2 JP2669773 B2 JP 2669773B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- input
- character
- character string
- displayed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Electrically Operated Instructional Devices (AREA)
- Input From Keyboards Or The Like (AREA)
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】
【0001】
【産業上の利用分野】本発明は、入力した文字の正確さ
を判別できる文字処理装置に関するものである。
【0002】
【従来の技術】従来からタイプの練習をする場合には、
英文タイプあるいは和文タイプ(日本語ワードプロセッ
サなども含む)に拘りなく、タイプ練習帳を見ながら、
そこに書かれている文字を打ち込んでいくのが通例であ
った。
【0003】
【発明が解決しようとする課題】しかし、かかる従来の
練習法にあっては、打ち込んだ文字の正誤判定を行うに
は手間がかかり、殊に、所定の制限時間内における正確
な打ちこみ文字数を計数するなど、そのスピードおよび
正確さを自分自身にて判定することは困難であった。
【0004】よって本発明の目的は、上述の点に鑑み、
入力した文字の正誤を認識してタイプ練習を行うことが
できる文字処理装置を提供することにある。
【0005】
【0006】
【課題を解決するための手段】上記の目的を達成するた
めに、本発明に係る文字処理装置は、文字を入力する入
力手段と、特定の文字列を記憶する記憶手段と、前記記
憶手段に記憶されている特定の文字列を表示する表示手
段と、前記入力手段により入力された文字が、前記表示
手段により表示されている特定の文字列のうちの前記入
力手段により入力すべき文字と一致するか否かを検出す
る検出手段と、前記検出手段により一致すると検出され
た場合には、次に入力すべき文字を特定できるように前
記表示手段に表示されている特定の文字列をスクロール
させ、前記検出手段により一致しないと検出された場合
には、前記表示手段に表示されている特定の文字列をス
クロールさせないように制御する制御手段とを具備した
ものである。
【0007】
【作用】本発明の上記構成によれば、特定の文字列を表
示手段に表示させてタイプ練習を行う際に、入力した
文字が間違っている場合には表示されている文字列がス
クロールされないので、正しく入力できなかったことが
認識でき、正しい文字が入力された場合には、次に入
力すべき文字が特定できるように、表示手段に表示され
ている特定の文字列をスクロールさせることにより、正
しい文字が入力されたことも併せて認識することができ
る。
【0008】
【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
【0009】図1は、本発明の一実施例を示すブロック
図である。
【0010】図示の構成において、KBはキーボードであ
り、A〜Z,0〜9,ピリオド,コンマなどのアルファ
ニューメリックキーANおよびタイプ練習スタートキーST
ARTを配設してある。
【0011】CPU はマイクロプロセッサ等からなる制御
ユニットであり、クロックパルス発生回路,遅延回路,
ゲート回路,その他の論理回路(いずれも図示せず)な
どを有する順序制御回路の形態に構成してある。
【0012】DIS は、例えばドットマトリクス型の液晶
表示器などからなる表示装置であり、制御ユニットCPU
からの表示制御信号CDISの制御のもとに、練習用ドリル
である「ことわざ」など特定の文章を表示したり、ある
いは、タイピングの習熟度を表わすスコアを表示する。
【0013】ROM は読み出し専用記憶装置であり、制御
ユニットCPU が表示装置DIS 等の各回路装置に制御信号
を供給する際に必要なマイクロ命令群を記憶させてあ
る。
【0014】RAM はランダムアクセス可能な記憶装置で
あり、各回路装置の動作状態を記憶し、あるいは、練習
スコアをカウントしたり、トップスコアを記憶する。
【0015】また、本実施例では、練習用ドリルとして
多数の「ことわざ」をこのRAM に記憶してあるものとす
る。また、RAM 内には、後述する表示用メモリ領域(以
下、単に表示用メモリという)DMが備えられている。
【0016】BUS は制御ユニットCPU ,読み出し専用記
憶ROM およびランダムアクセス可能な記憶装置RAM の間
にて、メモリアドレスやデータを転送するためのバスラ
インである。
【0017】TMは練習の制限時間を計数するためのタイ
マである。
【0018】RGは乱数発生器であり、かかる乱数に基づ
いて、RAM に記憶されている多数の「ことわざ」からひ
とつの「ことわざ」をランダムに選択する。
【0019】つぎに、図1に示した本実施例の動作を図
2および図3を参照して説明する。
【0020】図2は、キー操作に伴う各メモリ記憶状態
ならびに表示器DIS の表示内容を示す図である。また、
図3は、本実施例の制御手順を示すフローチャート(図
1のROMに記憶されている)である。
【0021】まず図2に示した手順1において、キー操
作によりパワースイッチがオンされると、図3のステッ
プS1において記憶装置RAM 全体がクリアされる。
【0022】その後、ステップS2,S3,S4におい
て、表示用メモリDM内の表示データを表示装置DIS に表
示しながら、タイマTMから送出されるタイムオーバ信号
およびいずれかのキーが押下されたときに送出されるキ
ー入力信号を待機するループを巡回する。
【0023】つぎに、手順2においてSTART キーが押下
されると、ステップS5においてフラグFの内容が検知
される。スタート時においては、F=0であるのでステ
ップS6に移行し、次いで、ステップS7に制御が移
る。
【0024】ステップS7では、スコアカウンタをクリ
アし、タイマTMに1分間を計時するよう指示した後、フ
ラグFをセットする。
【0025】ステップS8においては、練習用「ことわ
ざ」の先頭アドレスが記憶されているテーブルを参照し
て、ランダムに選択された「ことわざ」の先頭アドレス
を決定し、そのアドレスデータ(例えば、本実施例では
701F(16 進表示)とする)をロードポインタに格納す
る。
【0026】ここで、多数ある「ことわざ」のうちから
ひとつの「ことわざ」をランダムに選択するには、既述
の乱数発生器RG(図1参照)から発せられた乱数によっ
て上記テーブルのいずれかひとつを選択すればよい。
【0027】次いで、ステップS9では、ロードポイン
タが示すアドレスから表示可能桁数である13文字分の文
字データを表示用メモリDMにロードする。そして、再び
ステップS2に戻る。
【0028】手順3において“N”キーを押下すると、
ステップS5,S10,S11に制御が移る。そして、入力
キヤラクタ“N”が表示用メモリDM中の左端の文字
“N”と一致するので、ステップS12に制御が移る。
【0029】ステップS12では、スコアカウンタおよび
ロードポインタの内容を+1する。
【0030】そして、ステップS13へ制御が移る。ここ
で、入力キーは“.”キー(ピリオドキー)ではないの
で、ステップS9へ移行し、ロードポインタが示すアド
レスから13文字分のデータを再び表示用メモリDMにロー
ドし、ステップS2に戻ってそのデータを表示する。こ
れにより、表示された文字は左方向へスクロールされる
ことになる。
【0031】つぎに、手順4において“Q”キーが入力
されると、ステップS5,S10,S11へと制御が移る。
しかし、この手順においては、入力文字“Q”と表示用
メモリDM中の左端の文字が一致しないので、ステップS
2に戻る。よって、表示された文字がスクロールされる
ことはない。
【0032】その後、手順5,6,7にて図2に示すよ
うなキー操作が行われると、手順3におけるときと同様
な制御が行われ、図2に示されるように、表示その他の
記憶内容が変化する。
【0033】手順8において“.”キー(ピリオドキ
ー)が押下されると、ステップS5,S10,S11,S1
2,S13へと制御が移る。
【0034】ステップS13では、入力キーが“.”キー
であることを検出し、ステップS8において新たな「こ
とわざ」を選択し、その先頭アドレスをロードポインタ
に格納する。本実施例では、例えば42BC(16進表示)な
るアドレスデータが格納されたものとする。
【0035】そして、ステップS9において新たな練習
文である「ことわざ」の先頭13文字が表示用メモリDMに
ロードされ、その後にステップS2に戻る。
【0036】手順9において“Rome was ”なるキー操
作が行われると、手順3と同様の制御を行い、図2に示
すように表示内容および記憶内容が変化する。
【0037】タイマTMからタイムオーバー信号が送出
されると(手順10)、制御はステップS3からステップ
S14へと移行する。ここで、スコアカウンタのデータ
“29”はトップスコア“0”よりも大きいので、ステッ
プS15へ制御が移り、スコアカウンタのデータ“29”が
トップスコアとして格納される。
【0038】そして、ステップS16では、スコアカウン
タのデータ“29”およびトップスコア“29”を所定のコ
メントデータと共に表示用メモリDMに転送し、フラグF
をリセットする。
【0039】かくして、ステップS2において、図2に
示されるような表示が行われる。
【0040】
【発明の効果】以上説明した通り本発明によれば、入力
手段により入力された文字が、表示手段により表示され
ている特定の文字列のうちの入力手段により入力すべき
文字と一致するか否かを検出し、入力した文字が間違
っている場合には表示されている文字列がスクロールさ
れないので、正しく入力できなかったことが認識でき、
正しい文字が入力された場合には、次に入力すべき文
字が特定できるように、表示手段に表示されている特定
の文字列をスクロールさせることにより、正しい文字が
入力されたことも併せて認識することができる。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device capable of discriminating the accuracy of input characters. [0002] Conventionally, when practicing a type,
Regardless of English type or Japanese type (including Japanese word processor, etc.), while looking at the type exercise book,
It was customary to type the letters written there. However, in such a conventional practice method, it takes a lot of time to judge whether or not the typed character is correct, and in particular, accurate typing within a predetermined time limit is required. It was difficult to judge the speed and accuracy by counting the number of characters. Accordingly, an object of the present invention is to provide
An object of the present invention is to provide a character processing device which can recognize the correctness of input characters and practice typing. In order to achieve the above-mentioned object, a character processing device according to the present invention comprises an input means for inputting characters and a storage means for storing a specific character string. And a display unit for displaying a specific character string stored in the storage unit, and a character input by the input unit by the input unit of the specific character string displayed by the display unit. Detecting means for detecting whether or not it matches a character to be input, and when the detecting means detects a match, the identification displayed on the display means so that the character to be input next can be identified. And a control means for controlling so that the specific character string displayed on the display means is not scrolled when the character string is scrolled and the detection means detects that they do not match. It is those equipped. According to the above configuration of the present invention, when a character string input is incorrect when a specific character string is displayed on the display means to practice typing, the displayed character string is Since it is not scrolled, it can be recognized that it was not input correctly, and when the correct character is input, scroll the specific character string displayed on the display means so that the character to be input next can be specified Thereby, it can also be recognized that a correct character has been input. Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. In the configuration shown in the figure, KB is a keyboard, and includes alphanumeric keys AN such as AZ, 0-9, period, comma and type practice start key ST.
ART is provided. The CPU is a control unit composed of a microprocessor or the like, and includes a clock pulse generation circuit, a delay circuit,
It is configured in the form of a sequence control circuit having a gate circuit and other logic circuits (none of which are shown). DIS is a display device including, for example, a dot matrix type liquid crystal display, and is a control unit CPU.
Under the control of the display control signal CDIS from, a specific sentence such as a "proverb" which is a drill for practice is displayed, or a score indicating the skill of typing is displayed. The ROM is a read-only storage device, and stores a microinstruction group required when the control unit CPU supplies a control signal to each circuit device such as the display device DIS. The RAM is a randomly accessible storage device that stores the operating state of each circuit device, counts practice scores, and stores top scores. Further, in this embodiment, it is assumed that a large number of "proverbs" are stored in this RAM as a drill for practice. In addition, a display memory area (hereinafter, simply referred to as display memory) DM, which will be described later, is provided in the RAM. BUS is a bus line for transferring a memory address and data between the control unit CPU, the read-only storage ROM and the randomly accessible storage device RAM. TM is a timer for counting the time limit for practice. RG is a random number generator, and randomly selects one "proverb" from a large number of "proverbs" stored in the RAM based on the random number. Next, the operation of this embodiment shown in FIG. 1 will be described with reference to FIGS. FIG. 2 is a diagram showing the memory storage states and the display contents of the display DIS when the keys are operated. Also,
FIG. 3 is a flowchart (stored in the ROM of FIG. 1) showing the control procedure of this embodiment. First, in the procedure 1 shown in FIG. 2, when the power switch is turned on by the key operation, the entire storage device RAM is cleared in step S1 of FIG. After that, in steps S2, S3 and S4, when the display data in the display memory DM is displayed on the display device DIS, the time-out signal sent from the timer TM and any key is pressed. It goes around a loop waiting for a key input signal to be sent. Next, when the START key is pressed in step 2, the content of the flag F is detected in step S5. At the start, since F = 0, the flow shifts to step S6, and then the control shifts to step S7. In step S7, the score counter is cleared, the timer TM is instructed to count one minute, and then the flag F is set. In step S8, the start address of the randomly selected "proverb" is determined by referring to the table in which the start address of the practice "proverb" is stored, and the address data (for example, the present embodiment) is determined. In the example
701F (hexadecimal notation)) is stored in the load pointer. Here, in order to randomly select one "proverb" from a large number of "proverbs", one of the above-mentioned tables is selected according to the random number generated from the random number generator RG (see FIG. 1) described above. Just choose one. Next, in step S9, character data of 13 characters which is the number of displayable digits is loaded from the address indicated by the load pointer into the display memory DM. Then, the process returns to step S2 again. When the "N" key is pressed in step 3,
The control moves to steps S5, S10 and S11. Then, since the input character “N” matches the leftmost character “N” in the display memory DM, the control moves to step S12. In step S12, the contents of the score counter and the load pointer are incremented by one. Then, the control moves to a step S13. Here, since the input key is not the "." Key (period key), the process proceeds to step S9, the 13-character data from the address indicated by the load pointer is loaded again into the display memory DM, and the process returns to step S2. Display the data. As a result, the displayed character is scrolled to the left. Next, when the "Q" key is pressed in step 4, the control shifts to steps S5, S10 and S11.
However, in this procedure, since the input character "Q" and the leftmost character in the display memory DM do not match, step S
Return to 2. Therefore, the displayed characters are not scrolled. Thereafter, when the key operation as shown in FIG. 2 is performed in steps 5, 6, and 7, the same control as in step 3 is performed, and the display and other storage are performed as shown in FIG. The content changes. When the "." Key (period key) is pressed in step 8, steps S5, S10, S11, S1
2, control goes to S13. In step S13, it is detected that the input key is the "." Key, a new "proverb" is selected in step S8, and the start address is stored in the load pointer. In this embodiment, it is assumed that 42BC (hexadecimal display) address data is stored. Then, in step S9, the leading 13 characters of the new practice sentence "proverb" are loaded into the display memory DM, and thereafter, the process returns to step S2. When the key operation "Rome was" is performed in step 9, the same control as in step 3 is performed, and the display contents and the stored contents are changed as shown in FIG. When the time-out signal is sent from the timer TM (procedure 10), the control shifts from step S3 to step S14. Here, since the score counter data "29" is larger than the top score "0", the control shifts to step S15, and the score counter data "29" is stored as the top score. Then, in step S16, the score counter data "29" and the top score "29" are transferred together with predetermined comment data to the display memory DM, and the flag F is set.
Reset. Thus, in step S2, a display as shown in FIG. 2 is performed. As described above, according to the present invention, the character input by the input means matches the character to be input by the input means in the specific character string displayed by the display means. If the entered character is incorrect, the displayed character string is not scrolled, so you can recognize that you could not enter it correctly,
When the correct character is entered, the specific character string displayed on the display is scrolled so that the character to be entered next can be identified, and the correct character is also recognized. can do.
【図面の簡単な説明】
【図1】本発明の一実施例を示すブロック図である。
【図2】キー操作に伴うメモリの記憶状態ならびに表示
内容を示す図である。
【図3】本実施例の制御手順を示すフローチャートであ
る。
【符号の説明】
KB キーボード
AN アルファニューメリックキー
START タイプ練習スタートキー
CPU 制御ユニット
DIS 表示装置
ROM 読み出し専用記憶装置
RAM ランダムアクセス可能な記憶装置
DM 表示用メモリ
BUS バスライン
TM タイマ
CDIS 表示制御信号
RG 乱数発生器BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a diagram showing a storage state of a memory and display contents according to a key operation. FIG. 3 is a flowchart illustrating a control procedure according to the present embodiment. [Explanation of symbols] KB Keyboard AN Alpha Numeric key START type practice start key CPU Control unit DIS Display device ROM Read-only storage device RAM Random accessible storage device DM Display memory BUS Bus line TM Timer CDIS display control signal RG Random number generation vessel
Claims (1)
表示手段と、 前記入力手段により入力された文字が、前記表示手段に
より表示されている特定の文字列のうちの前記入力手段
により入力すべき文字と一致するか否かを検出する検出
手段と、 前記検出手段により一致すると検出された場合には、次
に入力すべき文字を特定できるように前記表示手段に表
示されている特定の文字列をスクロールさせ、前記検出
手段により一致しないと検出された場合には、前記表示
手段に表示されている特定の文字列をスクロールさせな
いように制御する制御手段とを具備したことを特徴とす
る文字処理装置。(57) [Claims] Input means for inputting characters; storage means for storing a specific character string; display means for displaying a specific character string stored in the storage means; and characters input by the input means are displayed on the display. Detecting means for detecting whether or not the specific character string displayed by the means matches a character to be input by the input means; Table on the display means so as to be able to identify should do character
A specific character string shown is scrolled , and when it is detected by the detecting means that they do not match, control is performed so as not to scroll the specific character string displayed on the display means. A character processing device, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19985393A JP2669773B2 (en) | 1993-08-12 | 1993-08-12 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19985393A JP2669773B2 (en) | 1993-08-12 | 1993-08-12 | Character processor |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59133279A Division JPH0627969B2 (en) | 1984-06-29 | 1984-06-29 | Character processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06186903A JPH06186903A (en) | 1994-07-08 |
| JP2669773B2 true JP2669773B2 (en) | 1997-10-29 |
Family
ID=16414747
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19985393A Expired - Lifetime JP2669773B2 (en) | 1993-08-12 | 1993-08-12 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2669773B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5316740B2 (en) * | 1974-07-02 | 1978-06-03 | ||
| JPS56128985A (en) * | 1980-03-14 | 1981-10-08 | Matsushita Electric Industrial Co Ltd | Key operating and training device for typewriter or like |
| JPS5978263A (en) * | 1982-10-27 | 1984-05-07 | Toshiba Corp | Input unit |
-
1993
- 1993-08-12 JP JP19985393A patent/JP2669773B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06186903A (en) | 1994-07-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5210853A (en) | Electronic device/dictionary with improved information storage: memory capacity ratio | |
| JPS6318211B2 (en) | ||
| US5096423A (en) | Computer system for teaching abbreviations for text and data processing functions | |
| JPH0627969B2 (en) | Character processor | |
| JP2669773B2 (en) | Character processor | |
| JP2659921B2 (en) | Character processor | |
| ES2323989T3 (en) | ADDITION OF THE INTERROGATION SCORE IN AN ELECTRONIC MESSAGE. | |
| JP2000331023A (en) | Information search device and storage medium storing information search processing program | |
| JPS60254074A (en) | Type practicing apparatus | |
| JPS60254075A (en) | Type practicing apparatus | |
| US5307448A (en) | Electronic apparatus with display device | |
| JP3278447B2 (en) | Electronic dictionary | |
| JPS5832418B2 (en) | Kanji-mixed sentence input device | |
| JPS61157968A (en) | Electronic apparatus | |
| JPS60253568A (en) | electronic typewriter | |
| JP2575650B2 (en) | Kana-Kanji conversion device | |
| JPS6234352Y2 (en) | ||
| JPH0259496B2 (en) | ||
| JPH0736903A (en) | Translation support device | |
| JP2002351868A (en) | Electronic dictionary | |
| JPH0236988B2 (en) | ||
| JPS5824818B2 (en) | Hiyoji Seigiyohoushiki | |
| JPH0421217B2 (en) | ||
| JPH0562076B2 (en) | ||
| JPS61110260A (en) | Character processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |