JPH0215364A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0215364A
JPH0215364A JP63164930A JP16493088A JPH0215364A JP H0215364 A JPH0215364 A JP H0215364A JP 63164930 A JP63164930 A JP 63164930A JP 16493088 A JP16493088 A JP 16493088A JP H0215364 A JPH0215364 A JP H0215364A
Authority
JP
Japan
Prior art keywords
word
input
candidate
gate
spelling
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
JP63164930A
Other languages
Japanese (ja)
Inventor
Hiroyuki Watabe
裕之 渡部
Hiroyuki Ueda
博之 上田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63164930A priority Critical patent/JPH0215364A/en
Publication of JPH0215364A publication Critical patent/JPH0215364A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To save operator's selecting operation by providing a processing means for automatically correcting an input word to a substitutive candidate word when only one substitutive candidate word exists. CONSTITUTION:When the operator incorrectly inputs a word and no word candidate exists in a word dictionary 29, no existence of the word in the diction ary 29 is decided by a retrieved result decider 4 and the input word is trans ferred to a spelling corrector SC 5. The number '1' of substitutive candidate words obtained by the processing of the SC function is transferred to a substitu tive candidate word comparator 7. Since the number of substitutive candidate words is decided as '1', an input signal 101 to an AND gate 10 is enabled and a candidate word outputted from the SC 5 is inputted to an OR gate 11 as an input signal 111. Thus, a correct word can be obtained without operator's selection only by disabling an input 301 of an OR gate 30 and displayed on a display device 12.

Description

【発明の詳細な説明】 〔産業上の利用分野) 本発明は、入力された単語のキャラクタ情報から、表記
上または発音上から類推される正しい啜りの単語を得る
ことができる文8処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a Sentence 8 processing device that is capable of obtaining words with the correct pronunciation that can be deduced from the character information of an input word based on the orthography or pronunciation. It is something.

(従来の技術) 第8図は、入力されたJ¥i、語の綴りが正しいがどう
かを判定する機能(以下スペリング・ヘリファイアと呼
ぶ)と、入力されたキャラクタ・情報から正しい綴りの
単語を得る機能(以下スペリング・コレクタと呼ぶ)と
を組み合わせた形態であるスペリング・ベリファイア・
アンド・コレクタ(S、V、C)のブロック図である。
(Prior art) Figure 8 shows a function (hereinafter referred to as spelling helifire) that determines whether the input J\i and the word is spelled correctly, and the correctly spelled word based on the input characters and information. (hereinafter referred to as spelling corrector).
FIG. 2 is a block diagram of an AND collector (S, V, C).

第9図はスペリング・ヘリファイア機能の動作を示すフ
ローヂャー・1〜である。第10図はスペリング・コレ
クタ機能の動作を示すフローチャートである。第9図お
よび第10図のフローチャートに従った制御プログラム
はROM (リートオノリメそり)26に格納されてい
る。
FIG. 9 is a flowchart 1 to 1 showing the operation of the spelling helifire function. FIG. 10 is a flowchart showing the operation of the spelling corrector function. A control program according to the flowcharts of FIGS. 9 and 10 is stored in a ROM 26.

以下、第8図、第9図および第1O図を参照しながら従
来の技術について説明する。
The conventional technology will be described below with reference to FIGS. 8, 9, and 10.

(1)スペリング・ベリファイアの説明まず、第9図の
ステップ5lotにおいて、オペレータがキーボード等
の入力装置28から入力した単語を受は取る。次にステ
ップ5102において、スペリング・ベリファイアは入
力単語について単語辞書29の中を検索し、検索結果を
得る。
(1) Description of Spelling Verifier First, in step 5lot of FIG. 9, the word input by the operator from the input device 28 such as a keyboard is received. Next, in step 5102, the spelling verifier searches the word dictionary 29 for the input word and obtains the search results.

ステップ103において、入力単語が単語辞書29中に
存在したか否かの判定をする。入力単語が単語辞書29
中に存在する場合は入力単語の綴りが正しいと判定し、
処理が終了するが、存在しない場合は単語の綴りが誤り
であると判定し、ステップ5104に進んで、オペレー
タに対して結果を知らせる。
In step 103, it is determined whether the input word exists in the word dictionary 29. Input word is word dictionary 29
If it exists in the input word, it is determined that the spelling of the input word is correct,
The process ends, but if the word does not exist, it is determined that the word is misspelled, and the process proceeds to step 5104 to notify the operator of the result.

さらにスペリング・コレクタを実行するために、ステッ
プ5105においてスペリング・コレクタ(S、 C,
)を起動し、入力単語をスペリング・コレクタに渡す。
To further execute the spelling collector, in step 5105 the spelling collector (S, C,
) and pass the input word to the spelling collector.

(2)スペリング・コレクタの説明 オペレータが“vict、orie” という誤った単
語を入力した場合について、第1O図のフローチャート
に従ってスペリング・コレクタの動作について説明する
(2) Description of Spelling Collector The operation of the spelling collector will be explained according to the flowchart of FIG. 1O when the operator inputs the wrong word "vict, orie".

まず、ステップ5201において、スペリング・ベリフ
ァイアでN、G、とされた単語“victorie”を
受は取る。ステップ5202において、’victor
yvictori”、  victoria”などのよ
うに入力単語の綴りを変形し、ステップ5203におい
て、変形後の単語に関して単語辞書29中を検索する。
First, in step 5201, the word "victoria", which is marked N or G by the spelling verifier, is taken. In step 5202, 'victor
The spelling of the input word is modified such as "yvictori", "victoria", etc., and in step 5203, the word dictionary 29 is searched for the modified word.

そして、ステップ5204おいて、変形した単語が辞書
29中に存在する場合にはステップ5205に進み、変
形後の単語を置換候補単語としてRAM (ランダムア
クセスメモリ)25に格納しておく。
Then, in step 5204, if the transformed word exists in the dictionary 29, the process advances to step 5205, and the transformed word is stored in the RAM (random access memory) 25 as a replacement candidate word.

入力単語を変形する程度については、あらかじめ何らか
の制約を定めておき、ステップ206において、上記制
約が満たされて変形作業が終了したかどうかの判定を行
ない、ステップ5206において、変形が終了したと判
定されるまで、ステップ5202からステップ5206
までの処理を繰り返す。
Some constraints are determined in advance regarding the extent to which the input word is transformed, and in step 206 it is determined whether the above constraints are satisfied and the transformation work has been completed, and in step 5206 it is determined that the transformation has been completed. from step 5202 to step 5206 until
Repeat the process up to.

入力した単語の変形作業が終了したらステップ5207
に進み、RAM25に格納されていた変形単語″vic
tory  、  vector  、  victo
ria”および“victories”を表示器27に
例えば番号付きで表示する。オペレータはステップ52
08において、表示器27に表示された候補単語のうち
から正しいものを1つだけ選び、例えば番号で入力し、
ステップ5209において正しい綴りの単語を出力する
ことにより動作を終了する。
When the transformation of the input word is completed, step 5207
, and the modified word "vic" stored in the RAM 25
tory, vector, victo
ria” and “victories” are displayed on the display 27, for example, with numbers.
08, select only one correct word from among the candidate words displayed on the display 27 and input it, for example, by number,
The operation ends by outputting the correctly spelled word in step 5209.

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

しかしながら、上述の従来例では、スペリング・コレク
タを起動して検索した結果、「入力された単語から類推
して正しいと判定された単語」が1つしか存在しない場
合にもその単語をオペレータに示し、選択を促してしま
い、オペレータが無駄な操作をしなければならないとい
う欠点があった。
However, in the conventional example described above, even if there is only one "word determined to be correct by analogy with the input word" as a result of activating the spelling collector and searching, that word is displayed to the operator. , the operator is forced to make a selection, which has the disadvantage of requiring the operator to perform unnecessary operations.

本発明の目的は上述の欠点を除去し、オペレータか無駄
な操作をしなくてもすむ、文書処理装置をtM (4G
することにある。
The object of the present invention is to eliminate the above-mentioned drawbacks and to provide a document processing device that does not require unnecessary operations on the part of the operator.
It's about doing.

〔課題を解決するための手段〕[Means to solve the problem]

このような目的を達成するために、本発明は、単語を入
力する入力手段と入力された単語の綴りの正誤を判定す
る判定手段と、判定に基づき、前記単語の正しい綴りの
単語の候補を出力する置換候補単語出力手段と、出力手
段により出力された単語が1個であるときに単語と前記
入力された単語を置換して出力する正単語出力手段とを
具える。
In order to achieve such an object, the present invention includes an input means for inputting a word, a determination means for determining whether the input word is spelled correctly, and based on the determination, a word candidate with the correct spelling of the word. The apparatus includes a replacement candidate word output means for outputting, and a correct word output means for replacing and outputting a word with the input word when the number of words output by the output means is one.

〔作用〕[Effect]

本発明によれば、スペリング・コレクタ機能により得ら
れた「入力された単語から類推して正しいと判定された
単語(以下、“置換候補単語パと記述)」が複数個ある
場合には従来通りの単語置換処理を実行し、置換候補単
語が1個しか存在しない場合には、自動的に入力単語を
置換候補単語により訂正する処理を設けることにより、
オペレータの選択操作を省くことを可能にしたものであ
る。
According to the present invention, when there are multiple words determined to be correct by analogy with the input word (hereinafter referred to as "replacement candidate word pa") obtained by the spelling corrector function, By executing the word replacement process and providing a process that automatically corrects the input word with the replacement candidate word if there is only one replacement candidate word,
This makes it possible to omit the operator's selection operation.

〔実施例〕〔Example〕

以下、図面を参照して本発明の詳細な説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.

本発明に係る文書処理装置は、第1図に示すように、単
語を入力する入力手段101と入力された単語の綴りの
正誤を判定する判定手段102と、判定に基づき、単語
の正しい綴りの単語の候補を出力する置換候補単語出力
手段103と、出力手段103により出力された単語が
1個であるときに単語と入力された単語を置換して出力
する正単語出力手段104 とを具えたことを特徴とす
る。
As shown in FIG. 1, the document processing device according to the present invention includes an input means 101 for inputting a word, a determining means 102 for determining whether the input word is spelled correctly, and based on the determination, the correct spelling of the word. Comprising replacement candidate word output means 103 for outputting a word candidate, and correct word output means 104 for replacing and outputting a word with an input word when the number of words output by the output means 103 is one. It is characterized by

第2図は本発明の一実施例の構成を示す。ここで、1は
単語を入力する手段としての入力装置であり、例えば第
3図に示すようなキーボードである。2は入力単語を記
憶しかつ、保存するためのバッファであり、通常、RA
M (ランダムアクセスメそり)で構成されている。3
は入力単語の綴り(17f認の手段としてのスペリング
・ベリファイア(以下S、V、と記述)である、4は検
索結果判定器であり、単語の綴りの正誤を判定して、そ
の後の処理を指示する。
FIG. 2 shows the configuration of an embodiment of the present invention. Here, 1 is an input device as a means for inputting words, and is, for example, a keyboard as shown in FIG. 2 is a buffer for memorizing and saving input words, and usually RA
It consists of M (random access memory). 3
4 is a spelling verifier (hereinafter referred to as S, V) as a means of checking the spelling of the input word (17f); 4 is a search result determiner, which determines whether the spelling of the word is correct and performs subsequent processing; instruct.

5は単語の綴りの訂正手段としてのスペリング・コレク
タ(以下S、C,と記述)である。6は入力された単語
をそのまま出力するか否かを制御するANDゲートであ
り、検索結果判定器4から出力された信号601とバッ
ファ2から出力された信号602が入力され、信号11
2を出力する。7は置換候補単語数比較器であり、S、
C,5から得られた置換候補単語数と、入力装置8から
入力された値°°1”とを比較する。9は単語置換処理
装置であり、S、C,5により得られた置換候補単品か
ら正しい単語を選び、入力単語と置換する。
Reference numeral 5 denotes a spelling corrector (hereinafter referred to as S and C) as a means for correcting the spelling of words. 6 is an AND gate that controls whether or not to output the input word as it is; the signal 601 output from the search result judger 4 and the signal 602 output from the buffer 2 are input;
Outputs 2. 7 is a replacement candidate word number comparator, S,
The number of replacement candidate words obtained from S, C, 5 is compared with the value °°1'' input from the input device 8. 9 is a word replacement processing device, and the number of replacement candidate words obtained from S, C, 5 is compared. Select the correct word from a single item and replace it with the input word.

10はANDゲートであり、置換候補単語をそのまま出
力するか否かを制御する。ANDゲートlOには、S、
C,5から出力された信号102および置換候補単語数
比較器7から出力された信号101が入力され、信号1
11を出力する。
10 is an AND gate, which controls whether or not to output the replacement candidate word as is. AND gate lO has S,
The signal 102 output from C, 5 and the signal 101 output from the replacement candidate word number comparator 7 are input, and the signal 1
Outputs 11.

11はORゲートであり、入力単語と置換候補単語のど
ちらかを表示器12およびバッファ2に出力するかを制
御する。ORゲート11にはANDゲートおよび10か
ら出力された信号11および111が入力され、信号3
02が出力される。30はORゲートであり、置換処理
装置9の出力(入力信号301)か、S、C,5の出力
(入力信号302)をそのまま出力するかを制御する。
Reference numeral 11 denotes an OR gate, which controls whether to output either the input word or the replacement candidate word to the display 12 and the buffer 2. The signals 11 and 111 output from the AND gate and 10 are input to the OR gate 11, and the signal 3
02 is output. 30 is an OR gate, which controls whether the output of the replacement processing device 9 (input signal 301) or the output of S, C, 5 (input signal 302) is output as is.

12は結果(正しい単語)を表示する表示器である。12 is a display that displays the result (correct word).

第3図は、本発明を適用した電子タイプライタ全体の外
観を示す。ここで、1はキーボードである。12はタイ
プライタの表示器であり、入力された文字が表示される
。13は電子タイプライタ本体である。14はプラテン
ノブであり、記録紙を装填するためのプラテンを手動で
回転させる。
FIG. 3 shows the overall appearance of an electronic typewriter to which the present invention is applied. Here, 1 is a keyboard. 12 is a display of the typewriter, on which input characters are displayed. 13 is the main body of the electronic typewriter. A platen knob 14 manually rotates a platen for loading recording paper.

第4図は上記電子タイプライタの操作部(キーボード)
の説明図である。ここで、15はRETURNキーであ
る。16はINDEXキーである。17はRevers
eINDEXキーである。18は5TARキーである。
Figure 4 shows the operating section (keyboard) of the electronic typewriter mentioned above.
FIG. Here, 15 is a RETURN key. 16 is an INDEX key. 17 is Revers
This is the eINDEX key. 18 is a 5TAR key.

19はC0DEキーである。20はSP八へEキーであ
る。5PACキー20を用いて単語の区切りの情報を入
力し、C0DEキー19により後述するS、C,機能(
置換候補単語表示)が動作される。
19 is the C0DE key. 20 is the E key to SP8. 5Use the PAC key 20 to input word break information, and use the C0DE key 19 to select S, C, and functions (described later).
Replacement candidate word display) is activated.

次に第5図に示す本発明の動作フローチャートに従って
候補単語が複数存在する場合と1つしか存在しない場合
の2つの場合について本発明の詳細な説明する。
Next, the present invention will be described in detail with reference to the operational flowchart of the present invention shown in FIG. 5 for two cases: a case where a plurality of candidate words exist and a case where only one candidate word exists.

(例1)候補単語が複数存在する場合 例えばオペレータが誤って“victorie“という
単語を入力してしまい単語辞書29にはvictory
  、  vector  、  victoria“
ν1ctories”という4つの置換候補単語が存在
する場合について動作説明をする。
(Example 1) When there are multiple candidate words For example, the operator accidentally inputs the word "victory" and the word dictionary 29 does not contain "victory".
, vector, victoria“
The operation will be explained in the case where there are four replacement candidate words "v1ctories".

まず、ステップSlからステップS4までの動作を、オ
ペレータが“victorie”と入力した直後にスペ
ースを入力するまで繰り返す。具体的には、ステップS
1において“V”が入力され、そのキャラクタをステッ
プS2においてバッファ2に格納して、さらにステップ
S3において表示器12への表示も行なう。
First, the operations from step Sl to step S4 are repeated until the operator inputs a space immediately after inputting "victorie". Specifically, step S
1, "V" is input, the character is stored in the buffer 2 in step S2, and further displayed on the display 12 in step S3.

ステップS4においては、入力キャラクタが単語の区切
り(例えばスペース)であるかどうかの判定を行ない、
区切りでなければステップ51に戻り、11語の区切り
であるスペースが入力されたならばステップS5に進む
In step S4, it is determined whether the input character is a word delimiter (for example, a space),
If it is not a delimiter, the process returns to step 51, and if a space, which is a delimiter between 11 words, is input, the process proceeds to step S5.

ステップS5においては、バッファ2から最後に入力さ
れた°゛単語区切り”とその直前の“単語の区切り”と
に侠まれた部分、つまり最後に入力された単語を切り出
し、S、V、 3を起動し、上述単語”victori
e”をS、V、3に渡す。S、V、3は入力単語“vi
ctorie”を単語辞書29の中を検索し、ステップ
S7において検索結果判定器4により“NG”(辞書中
に″victorie”は存在しない)という判定を受
け、ステップS8に進む。
In step S5, the portion between the last input "word break" and the "word break" immediately before it, that is, the last input word, is cut out from buffer 2, and S, V, and 3 are extracted. Start and say the above word “victori”
e” to S, V, and 3. S, V, and 3 pass the input word “vi” to S, V, and 3.
ctorie" in the word dictionary 29, and in step S7, the search result determiner 4 determines "NG"("victorie" does not exist in the dictionary), and the process proceeds to step S8.

ステップS8においては、入力単語をそのまま正しい単
語として出力するか否かを制御するANDゲート6の入
力信号601をディスエーブル(disabie)にし
て、その結果、ステップS9において入力単語と置換単
語とのどちらかを出力するかを制御する01(ゲート1
1の入力信号112をディスエーブル(disabie
)にすることになり、表示器12への出力は置換単語と
なる。
In step S8, the input signal 601 of the AND gate 6, which controls whether or not to output the input word as a correct word, is disabled (disabie), and as a result, in step S9, whether the input word or the replacement word is output is disabled. 01 (gate 1
1 input signal 112 is disabled (disabled).
), and the output to the display 12 will be the replaced word.

ステップS10においては入力単語をS、C,5に渡す
。ステップ51.1においてS、C,5による出力、す
なわち置換候補単語の情報をANDゲート10の入力信
号102および単語置換処理装置9に渡す。ステップ5
12において置換候補単語数゛4”を置換候補単語数比
較器7に渡す。
In step S10, the input word is passed to S, C, and 5. In step 51.1, the output from S, C, 5, ie, information on replacement candidate words, is passed to the input signal 102 of the AND gate 10 and the word replacement processing device 9. Step 5
In step 12, the number of replacement candidate words "4" is passed to the number of replacement candidate words comparator 7.

ステップ513における判定は候補数=“4”なのでN
Oであり、ステップS22に進む。ANDゲートlOの
入力信号101をディスエーブル(disable)に
して(結果的にORゲート30の入力信号302は“0
”となる)ステップ523において従来通りのS、C,
(前述従来の技術の項を参照)を実行することにより正
しい単語”victory”を得て、ステップ518に
おいて表示器12上に表示される。
The determination in step 513 is N because the number of candidates = “4”.
O, and the process advances to step S22. The input signal 101 of the AND gate 10 is disabled (as a result, the input signal 302 of the OR gate 30 becomes “0”).
”) In step 523, the conventional S, C,
(see the prior art section above), the correct word "victory" is obtained and displayed on the display 12 in step 518.

(例2)候補単語が1つの場合 例えばオペレータが°’ xenon”という単語を入
力しようとしたところ、誤って“x e n o n 
e ” と入力してしまい、単語辞書29には°’xe
non ”という候補単語しか存在しない場合について
動作説明をする。
(Example 2) When there is only one candidate word For example, when the operator tries to input the word ``xenon'', the operator accidentally inputs the word ``x e n o n''.
e”, and the word dictionary 29 contains °'xe.
The operation will be explained for the case where only the candidate word "non" exists.

まず、オペレータは、前述のステップSlからステップ
S4までの一連の処理に従って“xenone”という
“単語を入力する。  e”に続けて“スペース”を入
力した時点でステップS4において“単語の区切り”が
発生したと判定され、ステップS5に進む。
First, the operator inputs the word "xenone" according to the series of processes from step Sl to step S4 described above. When the operator inputs "e" followed by "space", the "word break" is set in step S4. It is determined that this has occurred, and the process advances to step S5.

ステップS5において、バッファ2から単語“xeno
ne″を切り出しS、V、 3を起動する。ステップS
6において入力単語“xenone”をS、V、3に渡
し、単語辞書29の中を検索する。入力単語“xeno
ne”は存在しないのでステップS7において検索結果
判定器4により“NG(辞書中に存在しない)”と判定
されステップS8へ進む。
In step S5, the word "xeno" is extracted from buffer 2.
ne'' and start S, V, 3. Step S
In step 6, the input word "xenone" is passed to S, V, and 3, and the word dictionary 29 is searched. Input word “xeno”
Since "ne" does not exist, the search result determiner 4 determines "NG (does not exist in the dictionary)" in step S7, and the process advances to step S8.

ステップS8においてはANDゲート6への入力信号6
01をディスエーブル(disable)にして入力単
語“xenone”が最終出力に出ないようにする。そ
してステップS9においてORゲート11への入力信号
112がディスエーブル(disable)になる。
In step S8, the input signal 6 to the AND gate 6
01 is disabled to prevent the input word "xenone" from appearing in the final output. Then, in step S9, the input signal 112 to the OR gate 11 is disabled.

ステップ510において、S、C,5に入力単語xen
one”を渡し、S、C,機能の処理により得られた結
果を、ステップ511において置換候補単語xenon
 ”の情報をANDゲート10および単語置換処理装置
9に渡す。ステップS12において置換候補単語数“1
”を置換候補単語数比較器7に渡す。
In step 510, input word xen to S, C, 5
one'' is passed, and the result obtained by processing the S, C, functions is used as the replacement candidate word xenon in step 511.
" is passed to the AND gate 10 and the word replacement processing device 9. In step S12, the number of replacement candidate words "1" is passed to the AND gate 10 and the word replacement processing device 9.
” is passed to the replacement candidate word number comparator 7.

ステップS13において置換候補単語数が“1パと判定
されるので、ステップ515においてANDゲートlO
の入力信号101をイネーブル(enable)にして
S、C5から出力された候補単語“Xen0neがステ
ップ516でORゲートエ1に入力信号111 として
入力され、ORゲート30の入力301をステップ51
7においてディスエーブル(disable)にするこ
とにより、オペレータが選択すること無しに正しい単語
”xenon”が得られステップ518において表示器
12に表示される。
In step S13, the number of replacement candidate words is determined to be "1," so in step 515, an AND gate lO
The candidate word "Xen0ne" output from S and C5 by enabling the input signal 101 of
By disabling at step 7, the correct word "xenon" is obtained and displayed on display 12 at step 518 without operator selection.

(例3)正しい単語を入力した場合 圧しい単語″’victory”をオペレータが入力し
た場合について、動作説明する。第5図のフローチャー
トのステップS1からステップS6までの処理について
は前述の(例1)および(例2)と同様なので説明を省
略する。
(Example 3) When the correct word is input The operation will be explained in the case where the operator inputs the overwhelming word "'victory". The processing from step S1 to step S6 in the flowchart of FIG. 5 is the same as in the above-mentioned (Example 1) and (Example 2), so a description thereof will be omitted.

ステップS7において入力された単語“victory
”を単語辞書29の中を検索して“0.に、(辞書中に
存在する)”という結果が検索結果判定器4により得ら
れるのでステップ519に進む。ステップ519 、5
20および521 において、ANDゲート6の入力6
01をイネーブル(enable)  にORゲート1
1へ入力信号112を入力単語“victory”の情
報を入力とし、ORゲートllへの入力信号111およ
びORゲート30への入力信号301をディスエーブル
(disable)にする。その結果、ステップ518
において正しい入力単語“victory”がそのまま
表示器工2に表示される。
The word “victory” input in step S7
” in the word dictionary 29 and “0. Since the search result determiner 4 obtains the result "(exists in the dictionary)", the process advances to step 519.Steps 519 and 5
20 and 521, input 6 of AND gate 6
OR gate 1 to enable 01
The input signal 112 to the input word "victory" is input to the input word "victory", and the input signal 111 to the OR gate 11 and the input signal 301 to the OR gate 30 are disabled. As a result, step 518
The correct input word "victory" is displayed as is on the display device 2.

第6図は本発明をマイクロコンピュータを用いて実施し
た場合のブロック構成を示す。ここで、21はこのシス
テムの中央処理装置(C20)であり、全ての動作を制
御している。
FIG. 6 shows a block configuration when the present invention is implemented using a microcomputer. Here, 21 is a central processing unit (C20) of this system, which controls all operations.

3は入力された単語の綴りの正誤を判定するスペリング
・ヘリファイア(S、V、)である。5は入力された単
語から正しい綴りの単語を得る機能を有するスペリング
・コレクタ(S、C,)である。lは単語を入力するた
めの入力装置である。12は単語その他の情報を表示す
る表示器である。
3 is a spelling helifire (S, V,) that determines whether the spelling of an input word is correct or incorrect. 5 is a spelling corrector (S, C,) having a function of obtaining correctly spelled words from input words. 1 is an input device for inputting words. 12 is a display device for displaying words and other information.

22は読み出し専用メモリ(ROM)であり、本システ
ムを動作させるためのプログラムや単語辞書などの情報
が格納されている。23は本システムのワークエリアと
して使用される読み書き可能なメモリ(RAM)であり
、上述6つのユニットはバス24を介して、CPIJ2
1 と接続されている。
A read-only memory (ROM) 22 stores information such as programs and word dictionaries for operating this system. 23 is a readable/writable memory (RAM) used as a work area of this system, and the above six units are connected to CPIJ2 via bus 24.
1 is connected.

第7図のフローチャートに従って、本実施例の動作説明
を行なう。まず、ステップ551において入力装置1か
らキャラクタが入力され、順次RAM23に格納および
表示器12に表示という動作がそれぞれステップS52
およびステップ553により実行される。
The operation of this embodiment will be explained according to the flowchart in FIG. First, in step 551, a character is input from the input device 1, and the operations of sequentially storing it in the RAM 23 and displaying it on the display 12 are performed in step S52.
and step 553.

ステップ551からステップS54までの一連の動作は
入力装置1から“単語の区切り”の情報としての例えば
゛スペース“が入力されるまで繰り返される。
The series of operations from step 551 to step S54 is repeated until, for example, "space" is input from the input device 1 as "word break" information.

1つの単語が入力し終わると、ステップS55において
RAMから入力単語を切り出す。ステップ556°にお
いてスペリング・ベリファイア3に上記の単語を渡し、
ROM22に納められている単語辞書中の検索を行なう
。そしてステップS57において検索結果を得る。
When one word has been input, the input word is cut out from the RAM in step S55. pass the above word to spelling verifier 3 in step 556°;
A search is performed in the word dictionary stored in the ROM 22. Then, in step S57, a search result is obtained.

ステップ558においては検索結果により、入力単語が
辞書中に存在したか否かの判定を行ない、存在した場合
はその後の処理は実行せず、ステップ551 に戻り、
単語の入力待ち状態になる。
In step 558, it is determined whether the input word exists in the dictionary based on the search results, and if the input word exists, the subsequent processing is not executed and the process returns to step 551.
Waiting for word input.

入力単語が辞書に存在しない場合は、その旨を何らかの
形(例えばアラーム)で出力し、ステップS59へ進む
。ステップ559ではスペリング・コレクタ5に上記の
入力単語を渡す。そして、ステップ560においてスペ
リング・コレクタ5から置換候補単語とその総数を得る
If the input word does not exist in the dictionary, this fact is output in some form (for example, an alarm), and the process advances to step S59. In step 559, the above input word is passed to the spelling collector 5. Then, in step 560, replacement candidate words and their total number are obtained from the spelling corrector 5.

ステップ5ailにおいては、置換候補単語数が複数か
否かの判定を行ない、複数ならばステップ584に進み
、従来のスペリング・コレクタの機能が実行され、表示
器12に表示された候補単語の中から正しい単inをオ
ペレータに選択してもらうという処理がなされる。候補
単語数が1つしか存在しない場合には、ステップS62
に進み、RAM23の中のバッファに格納されている入
力単語と置換候補単語を強制的に交換する。この交換に
よって得られた正しい単語をステップS63において表
示器12に表示する。
In step 5ail, it is determined whether or not the number of replacement candidate words is plural. If it is plural, the process proceeds to step 584, where the function of a conventional spelling corrector is executed, and from among the candidate words displayed on the display 12. A process is performed in which the operator is asked to select the correct unit. If there is only one candidate word, step S62
Then, the input word stored in the buffer in the RAM 23 and the replacement candidate word are forcibly exchanged. The correct word obtained through this exchange is displayed on the display 12 in step S63.

(発明の効果) 以上説明したように、本発明においては、スペリング・
コレクタの処理の際に置換候補単語が1個しか存在しな
い場合には、自動的にバッファ中の入力単語を正しい単
語と置換するという処理を加えるようにしたので、置換
候補単語を表示器に表示してオペレータに選択させると
いう操作を省略することができ、オペレータの文書作成
の手助けとなると同時に文書作成の効率を上げることが
できるという効果がある。
(Effect of the invention) As explained above, in the present invention, the spelling
If there is only one replacement candidate word during collector processing, we added processing to automatically replace the input word in the buffer with the correct word, so the replacement candidate word is displayed on the display. This eliminates the need for the operator to make a selection, which helps the operator in document creation, and at the same time improves the efficiency of document creation.

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

第1図は本発明に係る文書処理装置の基本構成図、 第2図は本発明の一実施例のブロック図、第3図は本発
明を実施した電子タイプライタの外観図、 第4図は第3図におけるキーボードを示す図、第5図は
本発明の一実施例の動作を示すフローチャート、 第6図は本発明の他の実施例であるマイコンを用いた場
合のブロック図、 第7図は第6図の動作を示すフローチャート、第8図は
従来の装置におけるS、V、C,のブロック図、 第9図は従来の装置におけるS、V、の動作を示すフロ
ーチャート。 第10図は従来の装置におけるS、C,の動作を表わす
フローチャートである。 l・・・キーボード、 2・・・バッファ、 3・・・スペリング・ベリファイア、 5・・・スペリング・コレクタ、 7・・・置換候補単語数比較器、 9・・・単語置換処理装置、 12・・・表示器、 21・・・cpu (中央処理装置)、22・・・RO
M(読み出し専用メモリ)23・・・RAh+ (読み
書き可能メモリ)29・・・単語辞書ROM。 #危明喧釆ろ文餐す理−IM&/)基ネネ掌へ間第1図 本Aち り月 Oイ諏!、f)Nす乞イダ1」 をホす
間第6 図 イ足采f)文Iか理閣工θ緯べを示す3第8図 状米0タエにわ・1する心多焚手・・頃を示すフロー斗
セード第9図
FIG. 1 is a basic configuration diagram of a document processing device according to the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is an external view of an electronic typewriter implementing the present invention, and FIG. 4 is a block diagram of an embodiment of the present invention. 3 is a diagram showing the keyboard, FIG. 5 is a flowchart showing the operation of one embodiment of the present invention, FIG. 6 is a block diagram of another embodiment of the present invention using a microcomputer, and FIG. 7 6 is a flowchart showing the operation of FIG. 6, FIG. 8 is a block diagram of S, V, and C in the conventional device. FIG. 9 is a flowchart showing the operation of S, V in the conventional device. FIG. 10 is a flowchart showing the operations of S and C in a conventional device. l... Keyboard, 2... Buffer, 3... Spelling verifier, 5... Spelling corrector, 7... Replacement candidate word number comparator, 9... Word replacement processing device, 12 ...display unit, 21...cpu (central processing unit), 22...RO
M (read-only memory) 23...RAh+ (readable/writable memory) 29... word dictionary ROM. #Kimeibushuroubunsansuri-IM&/) Basic Nene palm to the first picture book A Chiritsuki Oi Suzu! , f) N sugoiida 1'' 6th figure I foothold f) Bun I or Rikaku θ 3rd figure 8th figure 0 Tae Niwa 1.・Flow doto shade figure 9 showing the time

Claims (1)

【特許請求の範囲】 1)単語を入力する入力手段と、 該入力された単語の綴りの正誤を判定する判定手段と、 該判定に基づき、前記単語の正しい綴りの単語の候補を
出力する置換候補単語出力手段と、 該出力手段により出力された単語が1個であるときに該
単語と前記入力された単語を置換して出力する正単語出
力手段と、 を具えたことを特徴とする文書処理装置。
[Scope of Claims] 1) Input means for inputting a word; determining means for determining whether the input word is spelled correctly; and replacement for outputting word candidates with the correct spelling of the word based on the determination. A document characterized by comprising: candidate word output means; and correct word output means that replaces and outputs the input word with the input word when the number of words output by the output means is one. Processing equipment.
JP63164930A 1988-07-04 1988-07-04 Document processor Pending JPH0215364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63164930A JPH0215364A (en) 1988-07-04 1988-07-04 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63164930A JPH0215364A (en) 1988-07-04 1988-07-04 Document processor

Publications (1)

Publication Number Publication Date
JPH0215364A true JPH0215364A (en) 1990-01-19

Family

ID=15802543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63164930A Pending JPH0215364A (en) 1988-07-04 1988-07-04 Document processor

Country Status (1)

Country Link
JP (1) JPH0215364A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6165398A (en) * 1995-08-26 2000-12-26 Toto Ltd. Method of slip casting powdery material, using a water resistant mold with self-water absorbent ability

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6165398A (en) * 1995-08-26 2000-12-26 Toto Ltd. Method of slip casting powdery material, using a water resistant mold with self-water absorbent ability
US6866803B1 (en) 1995-08-26 2005-03-15 Toto Ltd. Mold for use in slip casting method, and method of manufacturing open porous body for use in mold

Similar Documents

Publication Publication Date Title
JPS6359660A (en) Information processor
JPS6037509B2 (en) Spelling error processing method in English text processing equipment
JPH0215364A (en) Document processor
JPS61233832A (en) Proofreading device
JPS62154169A (en) Dictionary retrieving method for kana-to-kanji converting device
JP2812443B2 (en) Character processor
JP2708771B2 (en) Voice recognition method
JPH0721171A (en) Key input correcting device
JPH076176A (en) Machine translation system
JPH096772A (en) Character processor
JPH05128146A (en) English morpheme analyzing system
JPH03144850A (en) Back-up system for proofreading of sentence
JPH04155571A (en) Document processor
JPH0460754A (en) Kana/kanji (chinese character) conversion system
JPH08272792A (en) Device and method for character processing
JPH03282874A (en) Document preparation device
JPS62236070A (en) Spelling check system for english word
JPH06168242A (en) Method and device for correcting spelling error
JPH01288919A (en) English word retrieving device
JPH04337863A (en) Document preparing device
JPH05314167A (en) Sentence expression analysis method
JPH01211068A (en) Japanese word sentence input device
JPH02130668A (en) Kana/kanji converting device
JPH02118835A (en) Source program abbreviation form input system
JP2002304391A (en) Spell check device with level setting function