JPH04213157A - Word processor with spell check function - Google Patents

Word processor with spell check function

Info

Publication number
JPH04213157A
JPH04213157A JP2400865A JP40086590A JPH04213157A JP H04213157 A JPH04213157 A JP H04213157A JP 2400865 A JP2400865 A JP 2400865A JP 40086590 A JP40086590 A JP 40086590A JP H04213157 A JPH04213157 A JP H04213157A
Authority
JP
Japan
Prior art keywords
word
memory
input
spell check
document
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.)
Pending
Application number
JP2400865A
Other languages
Japanese (ja)
Inventor
Hideo Ueno
英生 上野
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2400865A priority Critical patent/JPH04213157A/en
Publication of JPH04213157A publication Critical patent/JPH04213157A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To obtain a document processor with a spell check function at which it is not necessary to provide a user dictionary memory, and by which it is not necessary to operate the maintenance of a memory backup mechanism or the registering operation of complicated words in the user dictionary memory. CONSTITUTION:The document processor with a spell check function operates the spell check of word data stored in a word buffer 23 by using a word dictionary memory 18 (S32). When the above mentioned word data are not present in the word dictionary memory 18 (S33: YES), whether or not the above mentioned word data are present or not in the same text is retrieved (S34). Then, in the case of the absence of the above mentioned word data, a buzzer 12 indicating a miss spell is rung (S36), and in the case of the presence, the buzzer is not rung, and the spell check of the next word data is operated.

Description

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

【0001】0001

【産業上の利用分野】本発明は、スペルチェック機能付
き文書処理装置に関し、特に、ミススペルと判定された
単語のうち同一文書内で使用されたものに関しては、ミ
ススペルを示す旨の警報を行わないスペルチェック機能
付き文書処理装置に関する。
[Industrial Field of Application] The present invention relates to a document processing device with a spell check function, and in particular, for words determined to be misspelled but used in the same document, a warning indicating that the words are misspelled is not issued. The present invention relates to a document processing device with a spell check function.

【0002】0002

【従来の技術】従来、ワードプロセッサやタイプライタ
などの文書処理装置には、単語辞書メモリを備え、入力
した各単語が単語辞書メモリ内に記憶されているか否か
を判定するスペルチェックを行い、単語辞書メモリ内に
記憶されてない単語はミススペル単語としてブザー等に
より警報を発し、使用者にミススペルであることを知ら
せるようにしたものが広く実用に供されている。
2. Description of the Related Art Conventionally, document processing devices such as word processors and typewriters are equipped with a word dictionary memory, and a spell check is performed to determine whether each input word is stored in the word dictionary memory. Words that are not stored in the dictionary memory are treated as misspelled words, and a buzzer or the like is used to issue an alarm to notify the user of the misspelled word.

【0003】この種の文書処理装置には、単語辞書メモ
リ内に記憶されていない単語や略語や固有名詞などの文
字列を記憶(以下、登録と言う)しておくために、通常
書込み可能なユーザー辞書メモリが設けられ、これら両
辞書メモリを介してスペルチェックを行なうことで、固
有名詞等に起因するミススペル判定を防止するようにな
っている。
[0003] This type of document processing device usually has a writable memory in order to store (hereinafter referred to as registration) character strings such as words, abbreviations, and proper nouns that are not stored in the word dictionary memory. A user dictionary memory is provided, and spell checking is performed via both dictionary memories to prevent misspellings caused by proper nouns and the like.

【0004】ところで、ユーザー辞書メモリを備えた文
書処理装置においては、このユーザー辞書メモリに記憶
されたデータが消失しないようにバッテリー等によるメ
モリーバックアップ機構を設けたり、また、文書メモリ
の容量を減らしてユーザー辞書メモリのための記憶エリ
アを確保している。
By the way, in a document processing device equipped with a user dictionary memory, a memory backup mechanism using a battery or the like is installed to prevent data stored in the user dictionary memory from being lost, or the capacity of the document memory is reduced. A storage area is reserved for user dictionary memory.

【0005】ところで、単語辞書メモリやユーザー辞書
メモリを備えた文書処理装置には、通常キーボード上に
、ミススペル単語をユーザー辞書メモリに登録するため
の登録キーが設けられている。スペルチェックを行いな
がら文書を入力する場合、入力中にミススペル単語が検
出され、オペレータがそのミススペル単語をユーザー辞
書メモリに登録するときは、オペレータが登録キーを操
作する。
By the way, a document processing device equipped with a word dictionary memory or a user dictionary memory is usually provided with a registration key on the keyboard for registering misspelled words in the user dictionary memory. When inputting a document while performing a spell check, if a misspelled word is detected during input and the operator wants to register the misspelled word in the user dictionary memory, the operator operates a registration key.

【0006】ここで、一般的にスペルチェック処理は文
字入力処理より遅い場合が多く、スペルチェックが行わ
れている単語以後にも複数の単語が入力されている。こ
の状態でミススペルと判定された単語をユーザー辞書メ
モリに登録する場合には、次のようなキー操作が行なわ
れる。即ち、入力操作を中断し、カーソル移動キーを操
作してカーソルでミススペルと判定された単語を指示し
、且つ登録キーを操作して該単語をユーザー辞書メモリ
に登録する。更に、カーソル移動キーを操作してカーソ
ルを中断した時の入力位置に移動させ、入力操作を続行
するようにしている。
[0006] In general, spell checking processing is often slower than character input processing, and a plurality of words are input after the word being spell checked. In this state, if a word determined to be misspelled is to be registered in the user dictionary memory, the following key operations are performed. That is, the user interrupts the input operation, operates the cursor movement key to point the cursor to the word determined to be misspelled, and operates the registration key to register the word in the user dictionary memory. Furthermore, the cursor movement key is operated to move the cursor to the input position at which the input was interrupted, and the input operation is continued.

【0007】また、既に文書メモリに記憶されている文
書データを一括してスペルチェックするときに、検出さ
れたミススペル単語が固有名詞のときには、この固有名
詞に対して登録キーを操作してユーザー辞書メモリに登
録するようにしている。
[0007]Furthermore, when spell-checking all the document data already stored in the document memory, if the detected misspelled word is a proper noun, the registration key is operated for this proper noun, and the user dictionary I am trying to register it in memory.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、前記従
来装置は、メモリーバックアップ機構が製品コストの上
昇を招き、バッテリーの交換等の使用者に余分な操作を
行わせる等、種々の問題があり、特にバッテリーの供給
電力の低下によるデータの消失等が問題になる。また、
例えば固有名詞のように、訂正を施す必要もなく且つミ
ススペル扱いする必要もない単語は、登録処理を行なわ
なければその単語を入力する毎に、ミススペルを示すブ
ザーが鳴り、オペレータにとって煩わしいものになる。 さらに、前記固有名詞をユーザー辞書メモリに登録する
場合には、カーソル移動キーや登録キーを複雑に組み合
わせて操作しなければならず、ユーザー辞書メモリへの
登録操作が複雑化するという問題がある。
[Problems to be Solved by the Invention] However, the above-mentioned conventional device has various problems such as the memory backup mechanism increases the product cost and requires the user to perform extra operations such as replacing the battery. Loss of data due to a drop in the power supplied by the battery becomes a problem. Also,
For example, for words such as proper nouns that do not need to be corrected or treated as misspelled words, if the registration process is not performed, a buzzer indicating a misspelled word will sound each time the word is entered, which will be troublesome for the operator. . Furthermore, when registering the proper noun in the user dictionary memory, it is necessary to operate a complex combination of cursor movement keys and registration keys, resulting in a problem that the registration operation in the user dictionary memory becomes complicated.

【0009】しかも、オペレータが、ユーザー辞書メモ
リが設けられていることを知らない場合やユーザー辞書
メモリへの登録の仕方を知らない場合には、固有名詞を
入力する毎に警告ブザーが繰り返して鳴動するという問
題がある。
Moreover, if the operator does not know that a user dictionary memory is provided or does not know how to register in the user dictionary memory, the warning buzzer will repeatedly sound each time a proper noun is input. There is a problem with doing so.

【0010】本発明は、上述した問題点を解決するため
になされたものであり、ユーザー辞書メモリを設ける必
要がなく、メモリーバックアップ機構の保守や複雑な単
語のユーザー辞書メモリへの登録操作を行わなくてもよ
いスペルチェック機能付き文書処理装置を提供すること
を目的としている。
The present invention has been made to solve the above-mentioned problems, and eliminates the need for providing a user dictionary memory, and eliminates the need for maintaining a memory backup mechanism and registering complex words in the user dictionary memory. It is an object of the present invention to provide a document processing device with a spell check function that is not necessary.

【0011】[0011]

【課題を解決するための手段】本発明に係るスペルチェ
ック機能付き文書処理装置は、図1の機能ブロック図に
示すように、文字や記号及び種々の指令を入力するため
の入力手段と、その入力手段から入力された文書データ
を格納する文書メモリと、多数の単語のスペル情報を格
納した単語辞書メモリと、入力手段より入力された単語
のデータを受けて該単語について単語辞書メモリを介し
てスペルチェックを行なうスペルチェック手段と、入力
された単語について文書メモリ内の同一単語を検索する
単語検索手段と、スペルチェック手段により前記入力さ
れた単語がミススペルと判定された場合、使用者にその
旨を警報する警報手段と、スペルチェック手段でミスス
ペルと判定されたミススペル単語に対して、単語検索手
段により文書メモリ内に同一単語があることが検索され
た場合、警報手段の動作を禁止する警報禁止手段とを備
えている。
[Means for Solving the Problems] A document processing device with a spell check function according to the present invention, as shown in the functional block diagram of FIG. 1, includes an input means for inputting characters, symbols, and various commands; A document memory that stores document data input from the input means, a word dictionary memory that stores spelling information of a large number of words, and a word dictionary memory that receives word data input from the input means and processes the words through the word dictionary memory. a spell check means for performing a spell check; a word search means for searching the input word for the same word in the document memory; and an alarm prohibition unit that prohibits the alarm unit from operating if the word search unit finds that the same word exists in the document memory for a misspelled word determined to be misspelled by the spell check unit. equipped with the means.

【0012】0012

【作用】上記の構成を有する本発明のスペルチェック機
能付き文書処理装置においては、入力手段により入力さ
れる各単語は文書メモリに格納される。スペルチェック
手段は単語辞書メモリ及び文書メモリに基づいて入力さ
れた単語についてスペルチェックを実行する。ここで、
両方のメモリに同一単語が無いときは、単語検索手段が
文書メモリ内に同一単語が有るか否かを検索し、同一単
語がなければオペレータにミススペルであることを警報
手段が警報する。同一単語が有れば警報禁止手段が警報
手段の警報動作を禁止する。
[Operation] In the document processing device with spell check function of the present invention having the above structure, each word inputted by the input means is stored in the document memory. The spell check means performs a spell check on the input word based on the word dictionary memory and the document memory. here,
When the same word does not exist in both memories, the word search means searches whether or not the same word exists in the document memory, and if the same word does not exist, the alarm means warns the operator that there is a misspelling. If the same words exist, the alarm prohibition means prohibits the alarm operation of the alarm means.

【0013】[0013]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。本実施例は英文を作成する電子タイプライ
タに本発明を適用した場合のものである。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. This embodiment is a case where the present invention is applied to an electronic typewriter for creating English text.

【0014】図2に示すように、電子タイプライタ1の
本体フレーム2の前部にはキーボード3が配設され、キ
ーボード3の後方で本体フレーム2内にはディジーホイ
ール式の印字機構PMが配設され、キーボード3の後部
には1行分の複数の単語を表示可能な液晶ディスプレイ
10が設けられている。
As shown in FIG. 2, a keyboard 3 is disposed at the front of a body frame 2 of the electronic typewriter 1, and a daisy-wheel type printing mechanism PM is disposed within the body frame 2 behind the keyboard 3. A liquid crystal display 10 capable of displaying one line of a plurality of words is provided at the rear of the keyboard 3.

【0015】キーボード3には、アルファベットキーと
数字キーと記号キーとを含む文字キー、スペースキー、
リターンキー、ディスプレイ10上のカーソルを左右方
向に夫々移動させるためのカーソル移動キー、文書メモ
リへの書き込みモードを設定する書き込みモードキー4
、既に書き込みが行なわれている文書メモリーの編集を
行なうための編集モードキー5、スペルチェックモード
を設定或いは解除するためのスペルチェックモード設定
キー6、その他種々の機能キーが設けられている。この
キーボード3が本発明の入力手段を構成する。
The keyboard 3 has character keys including alphabet keys, numeric keys, and symbol keys, a space key,
A return key, a cursor movement key for moving the cursor on the display 10 in the left and right directions, and a write mode key 4 for setting the write mode to the document memory.
, an edit mode key 5 for editing a document memory in which writing has already been performed, a spell check mode setting key 6 for setting or canceling a spell check mode, and various other function keys. This keyboard 3 constitutes the input means of the present invention.

【0016】印字機構PMはプラテンやキャリッジやデ
ィジーホイール及びこれらの駆動回路などを備えた一般
的な構成のものである。
The printing mechanism PM has a general configuration including a platen, a carriage, a daisy wheel, and their drive circuits.

【0017】次に、この電子タイプライタ1の制御系は
図3のブロック図に示すように構成されている。
Next, the control system of this electronic typewriter 1 is constructed as shown in the block diagram of FIG.

【0018】表示機構DMは、液晶ディスプレイ10と
、このディスプレイ10に表示データを出力するための
表示用RAM及び文字や記号などの多数のドットパター
ンを格納したキャラクタジェネレータROMを含むディ
スプレイコントローラ11とを備えた一般的な構成のも
のである。尚、符号AMはブザー12とその駆動回路1
3とを備えたアラーム機構である。このアラーム機構A
Mが本発明の警報手段を構成する。
The display mechanism DM includes a liquid crystal display 10, a display controller 11 including a display RAM for outputting display data to the display 10, and a character generator ROM storing a large number of dot patterns such as characters and symbols. It has a general configuration. Note that the code AM indicates the buzzer 12 and its drive circuit 1.
This is an alarm mechanism equipped with 3. This alarm mechanism A
M constitutes the alarm means of the present invention.

【0019】制御装置CはCPU16と、CPU16に
データバス等のバス15を介して接続された入出力イン
ターフェイス14、ROM17・18及びRAM20と
から構成されている。
The control device C is composed of a CPU 16, an input/output interface 14 connected to the CPU 16 via a bus 15 such as a data bus, ROMs 17 and 18, and a RAM 20.

【0020】ROM17のプログラムメモリには、キー
ボード3から入力されるコードデータに対応させて表示
機構DM及び印字機構PMを制御する制御プログラム、
そのコードデータをテキストメモリ22や単語バッファ
23に格納する制御プログラム、カーソル移動キーの操
作に応じてカーソルを移動させるカーソル移動制御プロ
グラム、電源投入直後に印字機構PMなどを初期設定す
る初期設定処理制御プログラム、スペルチェック制御プ
ログラムなどが格納されている。
The program memory of the ROM 17 includes a control program for controlling the display mechanism DM and the printing mechanism PM in accordance with code data input from the keyboard 3;
A control program that stores the code data in the text memory 22 and word buffer 23, a cursor movement control program that moves the cursor according to the operation of the cursor movement keys, and an initial setting processing control that initializes the printing mechanism PM etc. immediately after power is turned on. Contains programs, spell check control programs, etc.

【0021】前記スペルチェック制御プログラムには、
入力された単語についてROM18及びテキストメモリ
22を検索してスペルチェック処理を実行するためのス
ペルチェック処理制御ルーチンが格納されている。
[0021] The spell check control program includes:
A spell check processing control routine for searching the ROM 18 and text memory 22 for an input word and executing spell check processing is stored.

【0022】ROM18(以後、単語辞書メモリと称す
。)には、英語の単語のスペルをチェックするために、
例えば約70,000語の単語のスペルデータが通常の
辞書と同様にアルファベット順に格納されている。
[0022] The ROM 18 (hereinafter referred to as word dictionary memory) contains the following information for checking the spelling of English words.
For example, spelling data for approximately 70,000 words is stored in alphabetical order, similar to a normal dictionary.

【0023】ここで、スペルチェック処理は周知の一般
的なものなので簡単に説明すると、キーボード3から入
力され順次に単語バッファ23に格納された各単語につ
いて、単語辞書メモリ18に格納された多数の単語と比
較して、そのスペルの正誤をチェックするものである。
Since the spell check process is a well-known and common process, it will be briefly explained. For each word input from the keyboard 3 and sequentially stored in the word buffer 23, a large number of spell check processes stored in the word dictionary memory 18 are checked. It compares words with each other to check whether the spelling is correct or incorrect.

【0024】テキストメモリ22には、複数の文書デー
タ郡を、記憶することができるが、メモリへの書き込み
モードのときには、予め設定された文書の位置に、また
は、編集モードの時には選択された所望の文書の位置に
、キーボードより入力されるコードデータに従い、デー
タの格納、または、種々の編集処理が行なわれる。この
テキストメモリ22が本発明の文書メモリを構成する。
The text memory 22 can store a plurality of document data groups, and when in the memory writing mode, they are stored at a preset document position, or at a selected desired position when in the editing mode. Data is stored or various editing processes are performed at the position of the document according to code data input from the keyboard. This text memory 22 constitutes the document memory of the present invention.

【0025】単語バッファ23には、スペルチェックモ
ードのときにキーボードより入力される1単語の単語デ
ータが格納される。
The word buffer 23 stores word data for one word input from the keyboard in the spell check mode.

【0026】フラグメモリ24には、スペルチェックモ
ードのときにセット(データが「1」)され、解除され
たときにリセット(データが「0」)されるスペルチェ
ックモードフラグF1のフラグデータが格納される。更
に、RAM20にはCPU16で演算した演算結果を一
時的に格納する各種メモリやカウンタやポインタなどが
必要に応じて設けられている。
The flag memory 24 stores flag data of a spell check mode flag F1 that is set (data is "1") when the spell check mode is in effect and reset (data is "0") when the spell check mode is released. be done. Further, the RAM 20 is provided with various types of memories, counters, pointers, etc. for temporarily storing the results of calculations performed by the CPU 16, as required.

【0027】次に、電子タイプライタ1の制御装置Cで
行なわれるスペルチェック制御について、図4、図5の
フローチャートに基いて説明する。図4は主制御ルーチ
ンを示すフローチャート、図5はスペルチェック処理制
御ルーチンを示すフローチャートである。尚、図中符号
Si(i=1、2、3・・・)は各ステップを示す。電
子タイプライタ1に電源が投入されると図4に示す主制
御ルーチンが開始され、文書データの入力モードを設定
したり、各メモリ22〜24をクリアする等の一般的な
初期設定、および、印字機構PMのキャリッジの原点位
置及びディジーホイールの原点位置を設定する等の印字
機構PMの初期設定が実行される(S1)。
Next, the spell check control performed by the control device C of the electronic typewriter 1 will be explained based on the flowcharts shown in FIGS. 4 and 5. FIG. 4 is a flowchart showing the main control routine, and FIG. 5 is a flowchart showing the spell check processing control routine. Note that the symbol Si (i=1, 2, 3, . . . ) in the figure indicates each step. When the electronic typewriter 1 is powered on, the main control routine shown in FIG. 4 is started, and general initial settings such as setting the document data input mode and clearing each memory 22 to 24, Initial settings of the printing mechanism PM, such as setting the origin position of the carriage of the printing mechanism PM and the origin position of the daisy wheel, are executed (S1).

【0028】次に、キーボード3でテキストメモリへの
書き込みモード、編集モードが選択される(S2)。オ
ペレータにより書き込みモードキーが操作されたときに
は(S3:Yes)、液晶ディスプレイに10、により
文書名の入力を行なう処理を行なったのち(S4)、入
力画面が液晶ディスプレイ10、に表示されメモリへの
書き込みモードに移行する(S5)。
Next, the writing mode to the text memory and the editing mode are selected using the keyboard 3 (S2). When the operator operates the write mode key (S3: Yes), the process of inputting the document name using 10 on the liquid crystal display is performed (S4), and then the input screen is displayed on the liquid crystal display 10 and the data is stored in the memory. Shift to write mode (S5).

【0029】一方、キー入力(S2)で書き込みモード
キーではなく(S3:No)、編集モードキーが操作さ
れた場合は(S6:Yes)、テキストメモリ22に記
憶されている文書名が液晶ディスプレイ10に順次表示
され、その中から所望の文書を選択する処理が実行され
る。ここで、目的の文書が選択されると(S7)、テキ
ストメモリ22より選択された文書が読み出され(S8
)、その文書データが液晶ディスプレイ10に表示され
、編集モードに移行する(S9)。
On the other hand, if the edit mode key is operated instead of the write mode key (S3: No) in the key input (S2) (S6: Yes), the document name stored in the text memory 22 is displayed on the liquid crystal display. 10 are sequentially displayed, and a process of selecting a desired document from among them is executed. Here, when the target document is selected (S7), the selected document is read from the text memory 22 (S8).
), the document data is displayed on the liquid crystal display 10, and the mode shifts to editing mode (S9).

【0030】尚、入力されたキー入力が書き込みモード
キーおよび編集モードキーではないとき(S2:Yes
、S3:No、S6:No)、アラーム処理が実行され
てブザーが鳴動した(S22)のち、キー入力処理(S
2)に移行して次のキー入力に備える。
Note that when the input key input is not a write mode key or an edit mode key (S2: Yes
, S3: No, S6: No), after the alarm process is executed and the buzzer sounds (S22), the key input process (S
Move to 2) to prepare for the next key input.

【0031】書き込みモードまたは編集モードに移行し
た主制御は基本的に同様の処理となりキー入力処理へ移
行する(S10)。ここで、この制御の終了キーが入力
されたときには(S11:N0、S21:Yes)、終
了処理が行なわれ(S23)、先頭のキー入力処理(S
2)に移行し新たな文書の書き込み処理、または、編集
処理に備える。
The main control that has shifted to the write mode or edit mode basically performs the same processing and shifts to key input processing (S10). Here, when the end key of this control is input (S11: N0, S21: Yes), the end process is performed (S23), and the first key input process (S
Step 2) prepares for writing or editing a new document.

【0032】終了キーおよび文字キー以外のキーが入力
された場合は(S11:N0、S21:No)、そのキ
ー入力による種々の処理が実行され(S22)、再びキ
ー入力処理(10)に移行して次のキー入力に備える。
[0032] If a key other than the end key and the character key is input (S11: No, S21: No), various processes based on the key input are executed (S22), and the process returns to the key input process (10). to prepare for the next keystroke.

【0033】また、文字キーの入力がなされた場合には
(S11:Yes)、テキストメモリ22のメモリ容量
チェックが行なわれ(S12)、このキー入力により格
納されるコードデータ量がテキストメモリ22の容量を
越える場合には(S12:No)、アラーム処理が実行
され(S20)、ブザーが鳴動したのちキー入力処理(
S10)に移行する。
If a character key is input (S11: Yes), the memory capacity of the text memory 22 is checked (S12), and the amount of code data stored by this key input is determined by the amount of code data stored in the text memory 22. If the capacity is exceeded (S12: No), alarm processing is executed (S20), and after the buzzer sounds, key input processing (
The process moves to S10).

【0034】メモリ容量チェックにより格納されるコー
ドデータ量がテキストメモリ22の容量を越えない場合
(S12:Yes)、文字の入力処理が行なわれる(S
13)。文字の入力処理が終了するとフラグメモリ24
の内容に基づいてフラグF1のチェックが行なわれ、リ
セットされていてスペルチェックモードが設定されてい
ないときには(S14:No)、S10に戻る。ここで
、フラグF1がセットされているときには(S14:Y
es)、図5に示すスペルチェック処理制御ルーチンが
実行される。
If the amount of code data to be stored does not exceed the capacity of the text memory 22 according to the memory capacity check (S12: Yes), character input processing is performed (S12: Yes).
13). When the character input process is completed, the flag memory 24
The flag F1 is checked based on the contents of the flag F1, and if it has been reset and the spell check mode is not set (S14: No), the process returns to S10. Here, if flag F1 is set (S14: Y
es), the spell check processing control routine shown in FIG. 5 is executed.

【0035】このスペルチェック処理制御ルーチンが開
始されたときに区切りキー以外のキーが操作されると(
S30:No)、このスペルチェック処理制御ルーチン
が終了して主制御ルーチンにリターンするが、スペース
などの単語の区切りキーが操作されたときには(S30
:Yes)、書き込みモード中であれば直前に入力され
た単語の単語データが単語バッファ23に格納され、ま
たは、編集モード中であればテキストメモリ22内の入
力単語の単語データが読出されて単語バッファ23に格
納される(S31)。
If a key other than the separator key is operated when this spell check processing control routine is started (
S30: No), this spell check processing control routine ends and returns to the main control routine, but when a word separator key such as space is operated (S30
:Yes), if in write mode, the word data of the last input word is stored in the word buffer 23, or if in edit mode, the word data of the input word in the text memory 22 is read out and the word data is stored in the word buffer 23. The data is stored in the buffer 23 (S31).

【0036】そして、単語バッファ23に格納された単
語データについて単語辞書メモリ18を用いてスペルチ
ェック処理が実行され(S32)、単語データが示す入
力単語と同一の単語が単語辞書メモリ18内に存在し、
入力単語がミススペルでないときには(S33:No)
、このスペルチェック処理制御ルーチンが終了して主制
御ルーチンにリターンする。
Then, a spell check process is executed on the word data stored in the word buffer 23 using the word dictionary memory 18 (S32), and it is determined that the same word as the input word indicated by the word data exists in the word dictionary memory 18. death,
If the input word is not a misspelling (S33: No)
, this spell check processing control routine ends and returns to the main control routine.

【0037】一方、入力単語と同一の単語が単語辞書メ
モリ18内に存在せず、入力単語がミススペルであると
きには(S33:Yes)、単語バッファ23に格納さ
れている単語データについてテキストメモリ22内に同
一の単語が存在するか否かの検索が実行される(S34
)。
On the other hand, if the same word as the input word does not exist in the word dictionary memory 18 and the input word is misspelled (S33: Yes), the word data stored in the word buffer 23 is stored in the text memory 22. A search is performed to see if the same word exists in (S34
).

【0038】そして、テキストメモリ22内に入力単語
と同一の単語が存在しないときには(S35:No)、
ブザー12の鳴動によりミススペルが警告され(S36
)、このスペルチェック処理制御ルーチンが終了して主
制御ルーチンにリターンする。また、文書メモリ内に同
一の単語が存在するときには(S35)、前記S36を
スキップしてブザー12を鳴動することなく、このスペ
ルチェック処理制御ルーチンが終了して主制御ルーチン
にリターンする。
[0038] When the same word as the input word does not exist in the text memory 22 (S35: No),
The buzzer 12 sounds to warn you of a misspelling (S36
), this spell check processing control routine ends and returns to the main control routine. If the same word exists in the document memory (S35), the spell check process control routine ends without sounding the buzzer 12 by skipping S36 and returns to the main control routine.

【0039】尚、制御装置CのS32の実行が本発明の
スペルチェック手段に相当し、制御装置CのS34の実
行が本発明の単語検索手段に相当し、制御装置CのS3
6のスキップが警報禁止手段に相当する。
Note that the execution of S32 by the control device C corresponds to the spell check means of the present invention, the execution of S34 of the control device C corresponds to the word search means of the present invention, and the execution of S32 of the control device C corresponds to the spell check means of the present invention.
The skip number 6 corresponds to the alarm prohibition means.

【0040】以上説明したように、本実施例の電子タイ
プライター1は、固有名詞や略語等のミススペルと判定
された単語と同一単語が自動的に同一文書内に存在する
か否かを検索し、存在しない場合にはブザー12を鳴動
してミススペルで有る旨を警報するが、存在する場合に
はブザー12を鳴動せず次の単語のスペルチェックを行
うので、二回目以降の入力に対してはあたかもユーザー
辞書メモリを備えているが如く動作し、スペルチェック
を行いながらの文書入力がオペレーターに混乱を与える
ことなくスムーズに行えるようになる。
As explained above, the electronic typewriter 1 of this embodiment automatically searches for the presence of words in the same document that are the same as words determined to be misspelled, such as proper nouns and abbreviations. , if it does not exist, the buzzer 12 will sound to warn you of a misspelled word, but if it does exist, the buzzer 12 will not sound and the next word will be spell-checked, so for the second and subsequent inputs. operates as if it were equipped with a user dictionary memory, allowing users to smoothly input documents while checking spelling without causing confusion for the operator.

【0041】本発明は上記一実施例に限定されるもので
はなく、その趣旨を逸脱しない範囲において種々の変更
を加えることができる。
The present invention is not limited to the above-mentioned embodiment, and various changes can be made without departing from the spirit thereof.

【0042】例えば、図5に示す前記スペルチェック処
理制御において、図6に示すようにS35とS36との
間にS40を追加変更し、ミススペル単語と同一の単語
がテキストメモリ22内に、例えば3個以上存在したと
きに、S36をスキップしてブザー12を鳴動しないよ
うにしてもよい。
For example, in the spell check processing control shown in FIG. 5, S40 is added and changed between S35 and S36 as shown in FIG. If there are more than 1, the buzzer 12 may not sound by skipping S36.

【0043】即ち、スペルチェックの対象となる単語が
テキストメモリ22内にあり(S35:Yes)、且つ
その単語が3個以上あった場合についてはミススペル単
語と判定せず(S40:Yes)、S36をスキップし
てブザー12を鳴動することなくこのスペルチェック処
理制御ルーチンが終了して主制御ルーチンにリターンす
る。
That is, if the word to be spell checked is in the text memory 22 (S35: Yes) and there are three or more such words, the word is not determined to be a misspelled word (S40: Yes), and S36 This spell check processing control routine ends without sounding the buzzer 12 and returns to the main control routine.

【0044】一方、同一単語が存在しない場合(S35
:No)、及び存在しても2個以下の場合は(S40:
No)、ミススペルと判定してブザーを鳴動し(S36
)、このスペルチェック処理制御ルーチンが終了して主
制御ルーチンにリターンする。
On the other hand, if the same word does not exist (S35
:No), and if there are two or less (S40:
No), it is judged as a misspelling and the buzzer sounds (S36
), this spell check processing control routine ends and returns to the main control routine.

【0045】従って、図6に示す制御により使用頻度の
高い固有名詞等の単語はブザー12が鳴動せず、単純な
スペルミスに対してはブザー12が鳴動してオペレータ
に注意を促すことができる。
Therefore, by the control shown in FIG. 6, the buzzer 12 does not sound for frequently used words such as proper nouns, and the buzzer 12 sounds for simple misspellings to alert the operator.

【0046】尚、スペルチェック処理制御のS40で判
定される値は、「2」でもよく、また「4」以上でもよ
い。
The value determined in S40 of spell check processing control may be "2" or may be "4" or more.

【0047】尚、単語辞書メモリリを備えスペルチェッ
クが可能な種々の言語の電子タイプライタやワードプロ
セッサなど種々の文書処理装置に本発明を適用し得るこ
とは勿論である。
It goes without saying that the present invention can be applied to various document processing apparatuses, such as electronic typewriters and word processors for various languages, which are equipped with a word dictionary memory and capable of spell checking.

【0048】[0048]

【発明の効果】以上説明したことから明かなように、本
発明に係るスペルチェック機能付き文書処理装置によれ
ば、固有名詞や略語等の単語に対して同一文書中に該単
語が有れば、ミススペルを示す旨の警報動作が禁止され
るので、ユーザー辞書が不要となり、固有名詞や略語等
の単語をユーザー辞書に登録するという複雑な操作を行
なう必要が無くなり、操作性が格段に向上する。
[Effects of the Invention] As is clear from the above explanation, according to the document processing device with spell check function according to the present invention, when a word such as a proper noun or an abbreviation exists in the same document, , alarms indicating misspellings are prohibited, eliminating the need for a user dictionary and eliminating the need for complicated operations such as registering words such as proper nouns and abbreviations in the user dictionary, greatly improving operability. .

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

【図1】本発明の構成を示す機能ブロック図である。FIG. 1 is a functional block diagram showing the configuration of the present invention.

【図2】電子タイプライタの斜視図である。FIG. 2 is a perspective view of an electronic typewriter.

【図3】電子タイプライタの制御系を示すブロック図で
ある。
FIG. 3 is a block diagram showing the control system of the electronic typewriter.

【図4】主制御ルーチンを示すフローチャートである。FIG. 4 is a flowchart showing a main control routine.

【図5】スペルチェック処理制御ルーチンを示すフロー
チャートである。
FIG. 5 is a flowchart showing a spell check processing control routine.

【図6】変形例に係るスペルチェック処理制御ルーチン
を示すフローチャートである。
FIG. 6 is a flowchart showing a spell check processing control routine according to a modified example.

【符号の説明】[Explanation of symbols]

3  キーボード(入力手段) 18  ROM(単語辞書メモリ) 22  テキストメモリ(文書メモリ)AM  アラー
ム機構(警報手段) C  制御装置
3 Keyboard (input means) 18 ROM (word dictionary memory) 22 Text memory (document memory) AM Alarm mechanism (alarm means) C Control device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  文字や記号及び種々の指令を入力する
ための入力手段と、その入力手段から入力された文書デ
ータを格納する文書メモリと、多数の単語のスペル情報
を格納した単語辞書メモリと、前記入力手段より入力さ
れた単語のデータを受けて該単語について単語辞書メモ
リを介してスペルチェックを行なうスペルチェック手段
と、前記入力された単語について文書メモリ内の同一単
語を検索する単語検索手段と、前記スペルチェック手段
により前記入力された単語がミススペルと判定された場
合、使用者にその旨を警報する警報手段と、スペルチェ
ック手段でミススペルと判定されたミススペル単語に対
して、前記単語検索手段により文書メモリ内に同一単語
があることが検索された場合、前記警報手段の警報動作
を禁止する警報禁止手段とを備えたこと特徴とするスペ
ルチェック機能付き文書処理装置。
Claim 1: An input means for inputting characters, symbols and various commands, a document memory for storing document data input from the input means, and a word dictionary memory for storing spelling information of a large number of words. , a spell check means for receiving word data input from the input means and performing a spell check on the word via a word dictionary memory; and a word search means for searching for the same word in a document memory for the input word. and an alarm means for warning a user to that effect when the input word is determined to be a misspelling by the spelling check means, and the word search for the misspelled word determined to be a misspelling by the spelling checking means. 1. A document processing device with a spell check function, further comprising an alarm prohibiting means for prohibiting an alarm operation of the alarm means when the same word is found in the document memory by the means.
JP2400865A 1990-12-07 1990-12-07 Word processor with spell check function Pending JPH04213157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2400865A JPH04213157A (en) 1990-12-07 1990-12-07 Word processor with spell check function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2400865A JPH04213157A (en) 1990-12-07 1990-12-07 Word processor with spell check function

Publications (1)

Publication Number Publication Date
JPH04213157A true JPH04213157A (en) 1992-08-04

Family

ID=18510735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2400865A Pending JPH04213157A (en) 1990-12-07 1990-12-07 Word processor with spell check function

Country Status (1)

Country Link
JP (1) JPH04213157A (en)

Similar Documents

Publication Publication Date Title
US4671684A (en) Electronic typewriter with selectively deactuatable spelling checking apparatus
US4775251A (en) Electronic typewriter including spelling dictionary
JPH04213157A (en) Word processor with spell check function
US4863296A (en) Information processing apparatus
JPS6190258A (en) Electronic typewriter
EP0274436B1 (en) Word processing apparatus
US5013167A (en) Bounded word replace function for an electronic typewriter erasing a zone bounded by erroneous characters
JPH0476762A (en) Document processor with spelling checking function
JP2855798B2 (en) Document processing device
JP2969739B2 (en) Document processing device
JP2575650B2 (en) Kana-Kanji conversion device
JPH036659A (en) Document processor
JPS63192157A (en) Document processor
JPH0476760A (en) Document processor with spelling checking function
JPS6190260A (en) Electronic typewriter
JPH0476761A (en) Document processor with spelling checking function
JPH0449724Y2 (en)
JPH0488466A (en) Document processor provided with spelling checking function
JPH03238554A (en) Document processor
JPH0785240B2 (en) Electronic typewriter
JPH03251952A (en) Document processor
JPH0449465A (en) Document processor
JPS63192156A (en) Information processor
JPS63206857A (en) Document preparing device with spelling check function
JPH03273447A (en) Document processor with spelling checking function