JPH0741732B2 - Electronic typewriter - Google Patents

Electronic typewriter

Info

Publication number
JPH0741732B2
JPH0741732B2 JP61008674A JP867486A JPH0741732B2 JP H0741732 B2 JPH0741732 B2 JP H0741732B2 JP 61008674 A JP61008674 A JP 61008674A JP 867486 A JP867486 A JP 867486A JP H0741732 B2 JPH0741732 B2 JP H0741732B2
Authority
JP
Japan
Prior art keywords
word
dictionary
misspelled
display
electronic typewriter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61008674A
Other languages
Japanese (ja)
Other versions
JPS62166466A (en
Inventor
茂 荒木
Original Assignee
シルバー精工株式会社
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 シルバー精工株式会社 filed Critical シルバー精工株式会社
Priority to JP61008674A priority Critical patent/JPH0741732B2/en
Publication of JPS62166466A publication Critical patent/JPS62166466A/en
Publication of JPH0741732B2 publication Critical patent/JPH0741732B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子タイプライタに関し、さらに詳しくはス
ペルチェック機能を有する電子タイプライタに関する。
The present invention relates to an electronic typewriter, and more particularly to an electronic typewriter having a spell check function.

〔従来の技術〕[Conventional technology]

従来のこの種のスペルチェック機能を有する電子タイプ
ライタには、スペルチェックを行いスペルに誤りがある
と、ブザー等を鳴らして音で警告するものがあった。
Some conventional electronic typewriters having this type of spell check function perform a spell check and warn with a sound by sounding a buzzer or the like if there is an error in spelling.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来の電子タイプライタは、ミススペルを音で知らせる
だけであったので、どの単語がミススペルであるのかを
捜し出すのが面倒であるという問題点があった。
Since the conventional electronic typewriter only informs the misspelling by sound, there is a problem that it is troublesome to find out which word is the misspelling.

本発明の目的は、ミススペルを検出すると音声で警告を
行うとともに、ミススペル発生状態で特定のキーを操作
するとミススペルの単語の位置までキャリアが自動的に
復動する電子タイプライタを提供することにある。
An object of the present invention is to provide an electronic typewriter in which when a misspelling is detected, a warning is given by voice, and when a specific key is operated while the misspelling is generated, the carrier automatically returns to the position of the misspelled word. .

また、本発明の他の目的は、さらに、表示部においてミ
ススペルの単語にミススペル表示を行う電子タイプライ
タを提供することにある。
Another object of the present invention is to further provide an electronic typewriter that displays misspelled words on a misspelled word in the display unit.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の電子タイプライタは、キーボードから入力され
た単語が固定辞書およびユーザ登録辞書にあるかどうか
をチェックするスペルチェック手段と、このスペルチェ
ック手段で上記単語が上記固定辞書および上記ユーザ登
録辞書にないとされたときに上記単語がミススペルであ
るとして音声で警告を発生する発音手段と、ミススペル
発生状態での特定のキー操作に基づいてミススペルの上
記単語の位置までキャリアを復動させるキャリア復動手
段とを有する。
The electronic typewriter of the present invention is a spell check means for checking whether a word entered from a keyboard is in a fixed dictionary or a user-registered dictionary, and the spell check means allows the word to be stored in the fixed dictionary or the user-registered dictionary. When it is absent, a sounding means that issues a voice warning as if the above word is a misspelling, and a carrier return that moves the carrier back to the position of the above misspelled word based on a specific key operation in the misspelled state And means.

また、本発明の電子タイプライタは、キーボードから入
力された単語が固定辞書およびユーザ登録辞書にあるか
どうかをチェックするスペルチェック手段と、このスペ
ルチェック手段で上記単語が上記固定辞書および上記ユ
ーザ登録辞書にないとされたときに上記単語がミススペ
ルであるとして音声で警告を発生する発音手段と、ミス
スペル発生状態での特定のキー操作に基づいてミススペ
ルの上記単語の位置までキャリアを復動させるキャリア
復動手段と、上記スペルチェック手段で上記単語が上記
固定辞書および上記ユーザ登録辞書にないとされたとき
に表示部に表示された上記単語にミススペル表示を付す
ミススペル表示手段とを有する。
Further, the electronic typewriter of the present invention has a spell check means for checking whether a word input from the keyboard exists in the fixed dictionary and the user registration dictionary, and the spell check means allows the word to be stored in the fixed dictionary and the user registration. A pronunciation means that gives a voice warning that the word is misspelled when it is not in the dictionary, and a carrier that moves the carrier back to the position of the misspelled word based on a specific key operation in the misspelled state And a misspelling display unit for giving a misspelling display to the word displayed on the display unit when the spell check unit determines that the word is not in the fixed dictionary and the user registration dictionary.

〔作用〕[Action]

本発明の電子タイプライタでは、キーボードから入力さ
れた単語が固定辞書およびユーザ登録辞書になかった場
合には発音手段から音声で警告が発生されるとともに、
このミススペル発生状態から特定のキーが操作されると
ミススペルの単語の位置までキャリアが自動的に復動さ
れる。
In the electronic typewriter of the present invention, when the word input from the keyboard is not in the fixed dictionary and the user-registered dictionary, a warning is generated by voice from the sounding means, and
When a specific key is operated from this misspelling occurrence state, the carrier is automatically returned to the position of the misspelled word.

また、本発明の電子タイプライタでは、さらに、スペル
チェック手段で単語が固定辞書およびユーザ登録辞書に
ないとされたときに、表示部に表示されたミススペルの
単語にミススペルであることを示す表示が付される。
Further, in the electronic typewriter of the present invention, when the spell check means determines that the word is not in the fixed dictionary or the user-registered dictionary, the misspelled word displayed on the display unit has a display indicating that the word is misspelled. Attached.

〔実施例〕〔Example〕

次に、本発明について図面を参照しながら詳細に説明す
る。
Next, the present invention will be described in detail with reference to the drawings.

第7図は、本発明の一実施例による電子タイプライタの
外観を示す一部破砕平面図である。この電子タイプライ
タ1は、キーボード3と、キャラクタ等の表示を行う横
長の例えば液晶表示装置(LCD)でなるディスクプレイ
装置4と、インクリボン自動移送機構、コレクトリボン
自動移送機構および自動印字機構を搭載したキャリア5
と、このキャリア5を左方あるいは右方に自動走行させ
るスペーシングモータ6と、プラテン7と、このプラテ
ン7を順方向あるいは逆方向に自動回転させるペーパー
フィードモータ8とを備えている。
FIG. 7 is a partially crushed plan view showing the appearance of an electronic typewriter according to an embodiment of the present invention. The electronic typewriter 1 includes a keyboard 3, a disc play device 4 such as a horizontally long liquid crystal display (LCD) for displaying characters and the like, an ink ribbon automatic transfer mechanism, a collect ribbon automatic transfer mechanism and an automatic printing mechanism. Carrier 5 installed
And a spacing motor 6 for automatically traveling the carrier 5 to the left or right, a platen 7, and a paper feed motor 8 for automatically rotating the platen 7 in the forward or reverse direction.

キーボード3には、キャラクタの印字を行うための所要
個数のキャラクタキー9と、キャリア5のスペース動作
(右送り)を行うためのスペースバー10と、キャリア5
をリターンさせるためのキャリアリターンキー11と、デ
ィスプレイ装置4上の表示を右から左に前進送り(フォ
ワードスクロール)するためのフォワードキー12と、キ
ャリア5のバックスペース動作およびディスプレイ装置
4上の表示を逆送り(バックワードスクロール)するた
めのバックキー13と、コレクト(修正)またはデリート
(削除)を行うためのコレクト・デリートキー14と、テ
キスト名の入力開始を行うためのテキストキー15と、テ
キストのトップ(最初の部分)をサーチ(ディスプレイ
装置4の表示によって行う)するためのテキストトップ
サーチキー16と、テキストのエンド(最後の部分)をサ
ーチするためのテキストエンドサーチキー17と、ワード
サーチモード時にワードのサーチを実行するためのワー
ドサーチキー18と、ラインのサーチおよびパラグラフの
サーチを行うためのライン・パラグラフサーチキー19
と、エントリ動作を行うためのエントリキー20と、他の
キーと併せて操作してそのキーの単独操作による動作と
は別の動作(いわゆるデュアルファンクション)を行う
ためのコードキー21と、その他の所要のファンクション
キーとが配設されている。
The keyboard 3 has a required number of character keys 9 for printing characters, a space bar 10 for performing a space operation (right feed) of the carrier 5, and a carrier 5.
The carrier return key 11 for returning the display, the forward key 12 for forwardly advancing the display on the display device 4 from right to left (forward scroll), the backspace operation of the carrier 5 and the display on the display device 4. Back key 13 to reverse (backward scroll), collect delete key 14 to collect (correct) or delete (delete), text key 15 to start inputting text name, and text Text top search key 16 for searching the top (first part) of the text (performed by the display on the display device 4), text end search key 17 for searching the end (last part) of the text, and word search In addition to the word search key 18 for executing word search Line / paragraph search keys 19 to search for documents and paragraphs
And an entry key 20 for performing an entry operation, a code key 21 for performing an operation (so-called dual function) different from the operation by operating the other key together with other keys, and other keys. Required function keys are provided.

さらに、キーボード3には、オペレーションモードセレ
クタ25と、キャリア5の1ピッチのスペース量(標準ス
ペース量)を調整するためのスペースセレクタ26と、紙
送りの1ピッチのフィード量(標準ラインスペース量)
を調整するためのラインスペースセレクタ27と、その他
の所要のセレクタとが配設されている。
Further, the keyboard 3 has an operation mode selector 25, a space selector 26 for adjusting the space amount of one pitch of the carrier 5 (standard space amount), and a feed amount of one pitch of paper feeding (standard line space amount).
A line space selector 27 for adjusting the above and other required selectors are provided.

第8図は、第7図に示した電子タイプライタの回路構成
を示すブロック図である。本実施例の電子タイプライタ
では、回路の主要部はメインボードとスペルチェックモ
ジュールとに分けられ、メインボードには、キーボード
3が接続された中央処理装置(CPU)71と、プログラム
を格納する例えば256Kのリードオンリメモリ(ROM)72
と、データを一時的に蓄える例えば8Kのランダムアクセ
スメモリ(RAM)73と、キー入力キャラクタ等を表示す
る上記ディスプレイ装置(LCD)4と、ポート拡張用IC7
5と、タイプライタ駆動部76と、インタフェース用IC77
と、ブザー78と、ブザー78の駆動回路79とが搭載されて
いる。
FIG. 8 is a block diagram showing a circuit configuration of the electronic typewriter shown in FIG. In the electronic typewriter of the present embodiment, the main part of the circuit is divided into a main board and a spell check module, and the main board stores a central processing unit (CPU) 71 to which the keyboard 3 is connected and a program, for example. 256K read-only memory (ROM) 72
, 8K random access memory (RAM) 73 for temporarily storing data, the display device (LCD) 4 for displaying key input characters and the like, and port expansion IC 7
5, typewriter driver 76, interface IC 77
A buzzer 78 and a drive circuit 79 for the buzzer 78 are mounted.

また、スペルチェックモジュールは、上記インタフェー
ス用IC77に接続されるインタフェース用IC81と、スペル
チェックモジュール側の中央処理装置(CPU)82と、ス
ペルチェック用のプログラムを格納するリードオンリメ
モリ(ROM)83と、スペルチェック用の固定辞書を構成
するマスクリードオンリメモリ(マスクROM)84と、ス
ペルチェック用のユーザ登録辞書を構成するランダムア
クセスメモリ(RAM)85とを含んで構成されている。
Further, the spell check module includes an interface IC 81 connected to the interface IC 77, a central processing unit (CPU) 82 on the spell check module side, and a read only memory (ROM) 83 for storing a spell check program. , A mask read only memory (mask ROM) 84 which constitutes a fixed dictionary for spell check, and a random access memory (RAM) 85 which constitutes a user registration dictionary for spell check.

第9図は、本実施例の電子タイプライタにおけるメモリ
マップを示している。RAM73のエリアの300H(Hは16進
数であることを示す。以下同様)番地(CLTBUF)から5F
FH番地まではコレクトバッファ91となっており、600H番
地(LCDBUF)から8FFH番地までは表示バッファ92となっ
ている。
FIG. 9 shows a memory map in the electronic typewriter of this embodiment. 5F from address (CLTBUF) of 300H (H indicates hexadecimal notation in RAM73 area)
The collect buffer 91 is provided up to the address FH, and the display buffer 92 is provided from the address 600H (LCDBUF) to the address 8FFH.

コレクトバッファ91の300H番地から3FFH番地までには、
印字行にキー入力された文字のコードが格納され、400H
番地から4FFH番地までにはキー入力された文字のキャリ
アアドレスの上位部分が、500H番地から5FFH番地までに
はキー入力された文字のキャリアアドレスの下位部分が
それぞれ対応するように格納される。なお、通常の電子
タイプライタでは、1行に印字可能なユニット数は600
ユニット程度あるいはそれ以下なので、キャリアアドレ
スの量上位ビットはミススペルした単語の先頭文字であ
ることを示すためのミス表示ビットとなっている。この
ビットに1が立っているときには対応する単語がミスス
ペルであることを示し、0であるときにはミススペルで
ないことを示す。
From 300H to 3FFH of collect buffer 91,
The code of the character entered by the key is stored in the print line and 400H
Addresses 4 to 4FFH are stored so that the upper part of the carrier address of the key-input character corresponds to address 500H to 5FFH, and the lower part of the carrier address of the key-input character respectively. With an ordinary electronic typewriter, the number of units that can be printed on one line is 600.
Since it is on the order of units or less, the high-order bit of the carrier address is a miss indication bit for indicating the first character of the misspelled word. When 1 is set in this bit, the corresponding word is misspelled, and when it is 0, it is not misspelled.

表示バッファ92の600H番地から6FFH番地までには、ディ
スプレイ装置4に表示される文字のコードが格納され、
700H番地から7FFH番地までには文字ピッチが、800H番地
から8FFH番地までにはスペルチェックフラグがそれぞれ
対応するように格納される。スペルチェックフラグは、
ディスプレイ装置4においてミススペルの単語の先頭に
カーソルが位置したときにカーソルを点滅表示するため
のフラグである。
The codes of the characters displayed on the display device 4 are stored in the display buffer 92 at addresses 600H to 6FFH.
Character pitches are stored from 700H to 7FFH, and spell check flags are stored from 800H to 8FFH. The spell check flag is
This is a flag for blinking the cursor when the cursor is located at the beginning of the misspelled word on the display device 4.

次に、このように構成された本実施例の電子タイプライ
タの動作について第1図ないし第6図に示すフローチャ
ートを参照しながら説明する。
Next, the operation of the electronic typewriter of the present embodiment thus constructed will be described with reference to the flow charts shown in FIGS.

まず、第1図のメインルーチンにおいて、キー入力が行
われると、ステップ101で文字あるいはスペースである
かどうかが判定され、文字あるいはスペースであればス
テップ102でスペース量を計算し、ステップ103で印字ま
たは移動可能であるかどうかを判定する。印字または移
動可能であれば、ステップ104で印字文字であるかどう
かが判定され、印字文字でなければステップ107に飛
ぶ。印刷文字であればステップ105で印字され、ステッ
プ106でコレクタバッファ91が作成されてステップ107に
入る。ステップ107では表示バッファ92が作成され、ス
テップ108でスペルチェックモードであるかどうかが判
定される。スペルチェックモードでなければステップ10
1に戻って以下のステップを繰り返し、スペルチェック
モードであればステップ109でコレクトバッファ91上の
ポインタをサーチする。
First, in the main routine of FIG. 1, when a key is input, it is determined in step 101 whether it is a character or a space. If it is a character or a space, the amount of space is calculated in step 102 and printed in step 103. Alternatively, it is determined whether or not it can be moved. If it can be printed or moved, it is determined in step 104 whether it is a print character. If it is not a print character, the process jumps to step 107. If it is a print character, it is printed in step 105, the collector buffer 91 is created in step 106, and step 107 is entered. In step 107, the display buffer 92 is created, and in step 108 it is judged whether or not the spell check mode is set. Step 10 if not in spell check mode
Returning to step 1, the following steps are repeated. In the spell check mode, the pointer in the collect buffer 91 is searched in step 109.

次に、ステップ110では、ワードバックフラグがオンで
あるかどうかが判定され、オンでなければステップ116
に飛ぶ。オンであれば、ステップ111で合成文字フラグ
をオフし、ステップ112でスペルカウンタを0にする。
次に、ステップ113でワードの先頭をサーチして送信ポ
インタとし、ステップ114で(CLTBUF+(送信ポイン
タ))をアキュミュレータAに格納し、ステップ115で
チェック可能文字であるかどうかを判定する。チェック
可能文字でなければステップ129に飛び、チェック可能
文字であればステップ116で送信ポインタがコレクトバ
ッファ上のポインタと等しいかどうかをチェックする。
等しければステップ125に移り、等しくなければステッ
プ117に移る。
Next, in step 110, it is determined whether the wordback flag is on, and if not, step 116
Fly to. If it is on, the composite character flag is turned off in step 111, and the spell counter is set to 0 in step 112.
Next, in step 113, the beginning of the word is searched for as a transmission pointer, (CLTBUF + (transmission pointer)) is stored in accumulator A in step 114, and it is determined in step 115 whether it is a checkable character. If it is not a checkable character, the process jumps to step 129, and if it is a checkable character, it is checked at step 116 whether the transmission pointer is equal to the pointer on the collect buffer.
If they are equal, the process proceeds to step 125, and if they are not equal, the process proceeds to step 117.

ステップ117では、スペルカウンタが0かどうかを判定
し、0であればステップ121に飛ぶ。0でなければステ
ップ118でワークエリアWORKに送信ポインタのアドレス
から送信ポインター1のアドレスを引いたものを格納
し、ステップ119でワークエリアWORKが0であるかどう
かを判定する。この判定では、スペース量の差があるか
ないか、すなわち前の文字との重なりをチェックしてい
る。0であればステップ120で合成文字フラグをオンに
してステップ101に戻る。ステップ119でワークエリアWO
RKが0でなければ、ステップ121に移る。
In step 117, it is determined whether or not the spell counter is 0. If it is 0, the process jumps to step 121. If not 0, the work area WORK is stored with the work pointer WORK minus the work pointer 1 address in step 118, and it is determined in step 119 whether the work area WORK is 0 or not. In this determination, whether there is a difference in space amount, that is, the overlap with the previous character is checked. If it is 0, the composite character flag is turned on in step 120 and the process returns to step 101. Work area WO in step 119
If RK is not 0, the process proceeds to step 121.

ステップ121では、送信した時のアドレスを転送アドレ
スとしてストアし、ステップ122で(CLTBUF+(送信ポ
インタ))をアキュミュレータAに格納し、ステップ12
3でアキュミュレータAの内容をスペルチェックモジュ
ールに送信する。次に、ステップ124でスペルカウンタ
および送信ポインタをそれぞれ1ずつカウントアップ
し、ステップ114に移り、以下のステップを実行する。
In step 121, the address at the time of transmission is stored as a transfer address, in step 122 (CLTBUF + (transmission pointer)) is stored in accumulator A, and in step 12
In step 3, the contents of accumulator A are sent to the spell check module. Next, in step 124, the spell counter and the transmission pointer are each incremented by 1, and the process proceeds to step 114 to execute the following steps.

ステップ125では、スペルカウンタが0かどうかを判定
し、0であればステップ101に戻る。0でなければ、ス
テップ126でキャリアアドレス−送信ポインタのアドレ
スをワークエリアWORKに格納し、ステップ127でワーク
エリアWORKの値が8以上かどうかを判定する。この判定
では、前の文字との間にスペースがあるかどうかをチェ
ックしている。8以上でなければ、スペースがないので
ステップ101に戻る。8以上であればスペースがあるの
で、ステップ128でワードバックフラグをオンしステッ
プ129に移る。
In step 125, it is determined whether or not the spell counter is 0, and if it is 0, the process returns to step 101. If not 0, the carrier address-address of the transmission pointer is stored in the work area WORK in step 126, and it is determined in step 127 whether the value of the work area WORK is 8 or more. In this judgment, it is checked whether there is a space between the preceding character. If it is not 8 or more, there is no space, and the process returns to step 101. If it is 8 or more, there is a space, so the word back flag is turned on in step 128 and the process proceeds to step 129.

ステップ129では、合成文字フラグがオンであるかどう
かを判定し、オンであればステップ130で合成文字フラ
グをオンした後にステップ135に飛ぶ。ステップ129で合
成文字フラグがオンでなければ、ステップ131でデリミ
ッタを送信し、ステップ132でスペルチェックをする。
次に、ステップ133でマークポインタをサーチし、ステ
ップ134でLCDにマークを表示してステップ135に移る。
ステップ135ではLCDに表示を行い、ステップ101に戻
る。
In step 129, it is determined whether or not the composite character flag is on. If it is on, the composite character flag is turned on in step 130 and then the process jumps to step 135. If the composite character flag is not on in step 129, the delimiter is transmitted in step 131, and the spell check is performed in step 132.
Next, in step 133, the mark pointer is searched, the mark is displayed on the LCD in step 134, and the process proceeds to step 135.
In step 135, the LCD is displayed and the process returns to step 101.

第1図のステップ132におけるスペルチェックは、第2
図に示すスペルチェックサブルーチンにおいて行われ
る。このスペルチェックサブルーチンでは、ステップ20
1でスペルチェックモジュール側からの送信があるかど
うかが判定され、送信があればステップ202でスペルが
正しいかどうか、すなわち固定辞書およびユーザ登録辞
書に該当するスペルの単語があるかどうかを示すステー
タスが返送されたかどうかを判定する。スペルが正しけ
れば、ステップ203でアキュミュレータAに0を格納し
た後にステップ206に飛ぶ。ステップ202でスペルが正し
くなければ、ステップ204でブザー78を例えば3回鳴ら
し、ステップ205でアキュミュレータAに1を格納して
ステップ206に移る。ステップ206では、アキュミュレー
タAの内容をスペルチェックフラグに格納し、メインル
ーチンにリターンする。このように、本実施例の電子タ
イプライタでは、ミススペルの単語をキー入力すると、
ブザーによって音声的に警告が発せられる。
The spell check in step 132 of FIG.
This is performed in the spell check subroutine shown in the figure. In this spell check subroutine, step 20
In 1, it is determined whether there is a transmission from the spell check module side, and if there is a transmission, in step 202 a status indicating whether or not the spelling is correct, that is, whether or not there is a word with the corresponding spelling in the fixed dictionary and the user registration dictionary. To determine whether or not was returned. If the spelling is correct, 0 is stored in the accumulator A in step 203, and the process jumps to step 206. If the spelling is incorrect in step 202, the buzzer 78 is sounded, for example, three times in step 204, 1 is stored in the accumulator A in step 205, and the process proceeds to step 206. In step 206, the contents of accumulator A are stored in the spell check flag, and the process returns to the main routine. Thus, in the electronic typewriter of the present embodiment, when the misspelled word is keyed in,
A buzzer gives an audible warning.

第1図のステップ133におけるマークポインタのサーチ
は、第3図に示すマークポインタサーチサブルーチンに
おいて行われる。このマークポインタサーチサブルーチ
ンでは、ステップ301で表示ポインタを0にし、ステッ
プ302で表示スタートアドレスをワークエリアWORKに格
納し、ステップ303でワークエリアWORKの値が転送アド
レスより小さいかどうかが判定される。小さければステ
ップ305に飛び、小さくなければステップ304で表示ポイ
ンタをマークポインタに格納し、ステップ305に移る。
The search for the mark pointer in step 133 in FIG. 1 is performed in the mark pointer search subroutine shown in FIG. In this mark pointer search subroutine, the display pointer is set to 0 in step 301, the display start address is stored in the work area WORK in step 302, and it is determined in step 303 whether the value of the work area WORK is smaller than the transfer address. If it is smaller, the process jumps to step 305, and if it is not smaller, the display pointer is stored in the mark pointer in step 304, and the process proceeds to step 305.

ステップ305では、ワークエリアWORKの値がキャリアア
ドレスより小さいかどうかを判定し、小さくなければメ
インルーチンにリターンする。小さければステップ306
でワークエリアWORKの値+(表示ポインタ+100H)の値
を再びワークエリアWORKに格納し、ステップ307で表示
ポインタを1だけカウントアップしてステップ303に戻
り、以下のステップを繰り返す。
In step 305, it is determined whether the value of the work area WORK is smaller than the carrier address, and if not smaller, the process returns to the main routine. If small, step 306
The value of the work area WORK + (display pointer + 100H) is stored in the work area WORK again, the display pointer is incremented by 1 in step 307, the process returns to step 303, and the following steps are repeated.

第1図のステップ134におけるLCDにマークを付ける処理
は、第4図に示すLCDマークサブルーチンにおいて行わ
れる。このLCDマークサブルーチンでは、ステップ401で
(LCDBUF+(マークポインタ))をアキュミュレータA
に格納し、ステップ402でアキュミュレータAの内容が
スペースであるかどうかが判定され、スペースでなけれ
ばステップ406に飛ぶ。スペースであれば、ステップ403
でアキュミュレータAに0を格納し、ステップ404でア
キュミュレータAの値を(LCDBUF+(マークポインタ)
+200H)のアドレスに格納し、ステップ405でマークポ
インタを1だけカウントダウンしてステップ401に戻
り、以下のステップを繰り返す。ステップ406では、ス
ペルチェックフラグの値をアキュミュレータAに格納
し、ステップ407でアキュミュレータAの値を(LCDBUF
+(マークポインタ)+200H)のアドレスに格納してメ
インルーチンにリターンする。
The process of marking the LCD in step 134 of FIG. 1 is performed in the LCD mark subroutine shown in FIG. In this LCD mark subroutine, at step 401 (LCDBUF + (mark pointer))
Then, in step 402, it is determined whether or not the content of the accumulator A is a space, and if it is not a space, the process jumps to step 406. If space, step 403
0 is stored in accumulator A, and the value of accumulator A is set to (LCDBUF + (mark pointer) in step 404.
+ 200H), the mark pointer is counted down by 1 in step 405, the process returns to step 401, and the following steps are repeated. In step 406, the value of the spell check flag is stored in the accumulator A, and in step 407, the value of the accumulator A is set to (LCDBUF
Store it at the address of + (mark pointer) + 200H) and return to the main routine.

第1図のステップ135におけるLCD表示は、第5図に示す
LCD表示サブルーチンにおいて行われる。このLCD表示サ
ブルーチンでは、ステップ501でディスプレイ装置4の
表示がクリアされ、ステップ502でLCD表示スタートポイ
ンタがサーチされ、ステップ503でエラーフラグがオフ
される。次に、ステップ504で表示ポインタの内容が表
示され、ステップ505でエラーフラグがオンかどうかが
判定され、エラーフラグがオンであればステップ510に
飛ぶ。エラーフラグがオンでなければ、ステップ506で
アキュミュレータAに(LCDBUF+(表示ポインタ)+20
0H)のアドレスの内容が格納され、ステップ507でアキ
ュミュレータAが0であるかどうかが判定され、0であ
ればステップ510に飛ぶ。0でなければ、ステップ508で
ワークエリアWORKにLCDのアドレスを格納し、ステップ5
09でエラーフラグをオンする。ステップ510では、表示
ポインタを1だけカウントダウンし、ステップ511で表
示が終了であるかどうかを判定する。終了でなければス
テップ504に戻り、以下のステップを繰り返す。ステッ
プ511で表示が終了であれば、ステップ512でエラーフラ
グがオンかどうかが判定され、オンでなければメインル
ーチンにリターンする。オンであれば、ステップ513で
ワークエリアWORKからカーソルアドレスをセットし、ス
テップ514でカーソルのブリンキングを開始させ、メイ
ンルーチンにリターンする。このように、本実施例の電
子タイプライタでは、ミススペルの単語の先頭文字にカ
ーソルが位置すると、カーソルがブリンキング表示され
るようになっている。
The LCD display in step 135 of FIG. 1 is shown in FIG.
This is performed in the LCD display subroutine. In this LCD display subroutine, the display on the display device 4 is cleared in step 501, the LCD display start pointer is searched in step 502, and the error flag is turned off in step 503. Next, in step 504, the contents of the display pointer are displayed, and in step 505 it is determined whether the error flag is on. If the error flag is on, the process jumps to step 510. If the error flag is not on, in step 506 the accumulator A (LCDBUF + (display pointer) + 20
The contents of the address of 0H) are stored, and it is determined in step 507 whether the accumulator A is 0. If it is 0, the process jumps to step 510. If it is not 0, the LCD address is stored in the work area WORK in step 508 and step 5
Turn the error flag on at 09. In step 510, the display pointer is counted down by 1, and in step 511, it is determined whether the display is finished. If not ended, the process returns to step 504 and the following steps are repeated. If the display is completed in step 511, it is determined in step 512 whether the error flag is on. If not, the process returns to the main routine. If it is on, the cursor address is set from the work area WORK in step 513, the blinking of the cursor is started in step 514, and the process returns to the main routine. As described above, in the electronic typewriter of the present embodiment, when the cursor is positioned at the first character of the misspelled word, the cursor is blinking displayed.

一方、バックキー13が押下操作された場合には、第6図
に示すバックキーサブルーチンに入り、まずステップ60
1でキャリア5が1文字分バックされる。このキャリア
5の復動に伴って、ディスプレイ装置4における表示も
同様に1文字分バックワードスクロールされる。次に、
ステップ602で現在のキャリア位置よりコレクトバッフ
ァ91上の位置がサーチされ、ステップ603でコレクトバ
ッファ91の最上位ビットが立っているかどうかが検出さ
れる。ビットが立っていればリターンし、ビットが立っ
ていなければステップ604でバックキー13が押下操作さ
れているかどうかが検出される。バックキー13が押下操
作されていればステップ601に戻って以下のステップを
繰り返し、バックキー13が押下操作されていなければリ
ターンする。したがって、本実施例の電子タイプライタ
では、バックキー13を押下し続けるとキャリア5は1文
字ずつ復動してミススペルの単語の先頭の位置で停止す
る。よって、ミススペルの単語を捜す労力が軽減され
る。
On the other hand, when the back key 13 is pressed, the back key subroutine shown in FIG.
At 1, the carrier 5 is backed by one character. With the return movement of the carrier 5, the display on the display device 4 is also backward scrolled by one character. next,
In step 602, the position on the collect buffer 91 is searched from the current carrier position, and in step 603 it is detected whether the most significant bit of the collect buffer 91 is set. If the bit is set, the process returns. If the bit is not set, it is detected in step 604 whether or not the back key 13 is pressed. If the back key 13 has been pressed, the process returns to step 601, and the following steps are repeated. If the back key 13 has not been pressed, the process returns. Therefore, in the electronic typewriter of the present embodiment, if the back key 13 is continuously pressed, the carrier 5 is moved back one character at a time and stopped at the head position of the misspelled word. Therefore, the effort to search for misspelled words is reduced.

なお、本実施例では、キャリア5を復動させるためのキ
ーをバックキー13としたが、それ以外のキーとしてもよ
いことはいうまでもない。
In the present embodiment, the key for moving the carrier 5 back is the back key 13, but it goes without saying that other keys may be used.

〔発明の効果〕〔The invention's effect〕

以上述べたように、本発明によれば、ミススペルの単語
をキー入力すると音声によって警告がなされるので、タ
イピストがすぐにミススペルに気付くことができるとと
もに、特定のキーを操作することによって自動的にミス
スペルの単語のところまでキャリアが復動するので、修
正時の単語の検索が容易かつ迅速に行えるという効果が
ある。
As described above, according to the present invention, when a misspelled word is keyed in, a voice warning is given, so that the typist can immediately notice the misspelled word, and automatically by operating a specific key. Since the carrier will return to the misspelled word, there is an effect that the word for correction can be searched easily and quickly.

また、ディスプレイ装置を備える電子タイプライタで
は、さらにミススペルの単語の先頭文字にカーソルが位
置したときにカーソルがブリンキングするので、ミスス
ペルの単語の検索が一層容易になるという効果がある。
Further, in an electronic typewriter equipped with a display device, the cursor blinks when the cursor is located at the first character of the misspelled word, so that the misspelled word can be searched more easily.

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

第1図は、本発明の一実施例の電子タイプライタにおけ
る処理を示すフローチャート、 第2図は、第1図中に示したスペルチェックサブルーチ
ンでの処理を示すフローチャート、 第3図は、第1図中に示したマークポインタサーチサブ
ルーチンでの処理を示すフローチャート、 第4図は、第1図中に示したLCDマークサブルーチンで
の処理を示すフローチャート、 第5図は、第1図中に示したLCD表示サブルーチンでの
処理を示すフローチャート、 第6図は、バックキーサブルーチンでの処理を示すフロ
ーチャート、 第7図は、本発明の一実施例の電子タイプライタの外観
を示す一部破砕平面図、 第8図は、第7図に示した電子タイプライタの回路構成
を示すブロック図、 第9図は、第7図に示した電子タイプライタのメモリマ
ップを示す図である。 図において、 1……電子タイプライタ、 3……キーボード、 4……ディスプレイ装置、 5……キャリア、 13……バックキー、 71……中央処理装置、 72……リードオンリメモリ、 73……ランダムアクセスメモリ、 75……ポート拡張用IC、 76……タイプライタ駆動部、 77……インタフェース用IC、 78……ブザー、 81……インタフェース用IC、 82……中央処理装置、 83……リードオンリメモリ、 84……マスクリードオンリメモリ、 85……ランダムアクセスメモリである。
FIG. 1 is a flow chart showing a process in an electronic typewriter according to an embodiment of the present invention, FIG. 2 is a flow chart showing a process in a spell check subroutine shown in FIG. 1, and FIG. FIG. 4 is a flowchart showing the processing in the mark pointer search subroutine shown in FIG. 4, FIG. 4 is a flowchart showing the processing in the LCD mark subroutine shown in FIG. 1, and FIG. 5 is shown in FIG. FIG. 6 is a flowchart showing the processing in the LCD display subroutine, FIG. 6 is a flowchart showing the processing in the back key subroutine, and FIG. 7 is a partially fragmented plan view showing the appearance of the electronic typewriter according to the embodiment of the present invention. 8 is a block diagram showing a circuit configuration of the electronic typewriter shown in FIG. 7, and FIG. 9 is a memory map of the electronic typewriter shown in FIG. It is. In the figure, 1 ... Electronic typewriter, 3 ... Keyboard, 4 ... Display device, 5 ... Carrier, 13 ... Back key, 71 ... Central processing unit, 72 ... Read-only memory, 73 ... Random Access memory, 75 …… Port expansion IC, 76 …… Typewriter driver, 77 …… Interface IC, 78 …… Buzzer, 81 …… Interface IC, 82 …… Central processing unit, 83 …… Read-only Memory, 84 ... Mask read only memory, 85 ... Random access memory.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】スペルチェック用の固定辞書とユーザ登録
辞書とを備える電子タイプライタにおいて、 キーボードから入力された単語が上記固定辞書および上
記ユーザ登録辞書にあるかどうかをチェックするスペル
チェック手段と、 このスペルチェック手段で上記単語が上記固定辞書およ
び上記ユーザ登録辞書にないとされたときに上記単語が
ミススペルであるとして音声で警告を発生する発音手段
と、 ミススペル発生状態での特定のキー操作に基づいてミス
スペルの上記単語の位置までキャリアを復動させるキャ
リア復動手段と、 を有することを特徴とする電子タイプライタ。
1. An electronic typewriter having a fixed dictionary for spell checking and a user registration dictionary, and spell checking means for checking whether a word input from a keyboard is in the fixed dictionary or the user registration dictionary. When the word is missed in the fixed dictionary and the user-registered dictionary by the spell check means, a sounding means for giving a voice warning that the word is misspelled, and a specific key operation in the misspelled state An electronic typewriter, characterized in that it has a carrier returning means for moving the carrier back to the position of the above misspelled word.
【請求項2】スペルチェック用の固定辞書とユーザ登録
辞書とを備えるとともに表示部を具備する電子タイプラ
イタにおいて、 キーボードから入力された単語が上記固定辞書および上
記ユーザ登録辞書にあるかどうかをチェックするスペル
チェック手段と、 このスペルチェック手段で上記単語が上記固定辞書およ
び上記ユーザ登録辞書にないとされたときに上記単語が
ミススペルであるとして音声で警告を発生する発音手段
と、 ミススペル発生状態での特定のキー操作に基づいてミス
スペルの上記単語の位置までキャリアを復動させるキャ
リア復動手段と、 上記スペルチェック手段で上記単語が上記固定辞書およ
び上記ユーザ登録辞書にないとされたときに上記表示部
に表示された上記単語にミススペル表示を付すミススペ
ル表示手段と、 を有することを特徴とする電子タイプライタ。
2. An electronic typewriter having a fixed dictionary for spell check and a user-registered dictionary and a display section, and checks whether a word input from a keyboard is in the fixed dictionary or the user-registered dictionary. Spell checking means, a sounding means for issuing a warning by voice when the word is misspelled when the word is not found in the fixed dictionary and the user-registered dictionary by the spell checking means, and The carrier returning means for moving the carrier back to the position of the misspelled word based on a specific key operation of, and when the word is not found in the fixed dictionary and the user-registered dictionary by the spell check means, Misspelling display means for adding a misspelling display to the above word displayed on the display unit, An electronic typewriter having:
JP61008674A 1986-01-17 1986-01-17 Electronic typewriter Expired - Lifetime JPH0741732B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61008674A JPH0741732B2 (en) 1986-01-17 1986-01-17 Electronic typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61008674A JPH0741732B2 (en) 1986-01-17 1986-01-17 Electronic typewriter

Publications (2)

Publication Number Publication Date
JPS62166466A JPS62166466A (en) 1987-07-22
JPH0741732B2 true JPH0741732B2 (en) 1995-05-10

Family

ID=11699477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61008674A Expired - Lifetime JPH0741732B2 (en) 1986-01-17 1986-01-17 Electronic typewriter

Country Status (1)

Country Link
JP (1) JPH0741732B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2688205B2 (en) * 1988-01-20 1997-12-08 キヤノン株式会社 Electronic typewriter
JPH0811462B2 (en) * 1988-08-24 1996-02-07 ブラザー工業株式会社 Electronic typewriter with spell check function

Also Published As

Publication number Publication date
JPS62166466A (en) 1987-07-22

Similar Documents

Publication Publication Date Title
JP3130194B2 (en) Tape printing apparatus and method
US4994968A (en) Word processing device
JPH03229356A (en) Layout display controller for document processor
US4842428A (en) Electronic typewriter with spell checking and correction
JPH0741732B2 (en) Electronic typewriter
US5444828A (en) Document processing device and method
EP0632394B1 (en) Text processing device
US4934851A (en) Text processing system including plural text and corresponding memories
JPH0733105B2 (en) Ruled line printing method
JPH03229355A (en) Layout display controller for document processor
US5065358A (en) Text processing apparatus for adjusting pagination to accommodate a second text field on a page
US4933896A (en) Word processing apparatus for comparing entered data with stored data from a selected address and in a selected order
JPS59159382A (en) Electronic typewriter
US5121481A (en) Text (word processor) having right end justified variable size display area for information related to input data
JPS63149758A (en) Information processor
EP0274436B1 (en) Word processing apparatus
US6133899A (en) Printing device for displaying a title of a stored text
US5263131A (en) Data processing apparatus for outputting ruled lines on successive pages
JP2573183B2 (en) Kana-Kanji conversion device
JP3035931B2 (en) Document processing device
EP0593190A2 (en) Print processing apparatus
EP0345035A2 (en) Text processing device with character modifying function
JPH0616259B2 (en) Electronic typewriter
JPH0457200B2 (en)
JP2776229B2 (en) Document processing device