JPH06168242A - Method and device for correcting spelling error - Google Patents

Method and device for correcting spelling error

Info

Publication number
JPH06168242A
JPH06168242A JP4320915A JP32091592A JPH06168242A JP H06168242 A JPH06168242 A JP H06168242A JP 4320915 A JP4320915 A JP 4320915A JP 32091592 A JP32091592 A JP 32091592A JP H06168242 A JPH06168242 A JP H06168242A
Authority
JP
Japan
Prior art keywords
spelling
speech
word
candidate
dictionary
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
JP4320915A
Other languages
Japanese (ja)
Inventor
Masahiko Ishikawa
雅彦 石川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4320915A priority Critical patent/JPH06168242A/en
Publication of JPH06168242A publication Critical patent/JPH06168242A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the method and device for correcting spelling error so as to easily and exactly correct spellings. CONSTITUTION:A spelling correction dictionary 4 stores the spelling information of words. A part of speech/meaning dictionary 6 stores the part of speech and meaning information of words. A spelling error detecting means 2 detects errors in the spellings of words inputted by an input means 1 while referring to the spelling correction dictionary 3. A candidate word generating means 3 generates the candidate of the correct spelling corresponding to the spelling error word detected by the spelling error detecting means 2 while referring to the spelling correction dictionary 4. A part of speech/meaning information generating means 5 generates the part of speech and meaning information of the candidate word generated by the candidate word generating means 3 while referring to the part of speech/meaning dictionary 6. A display means 7 displays the candidate word generated by the candidate word generating means 3 and the part of speech and meaning information generated by the part of speech and meaning information generating means 5. A selecting means 8 is provided for an operator to select any one of candidate words displayed on the display means 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、英語や仏語などで文章
を作成する際に、各単語の綴りの誤りを検出し、正しい
綴りの候補を操作者に提示し、操作者がいずれかを選択
することによって綴り誤りを訂正する、綴り誤り訂正方
法および綴り誤り訂正装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention detects a spelling error in each word when a sentence is created in English or French and presents a correct spelling candidate to the operator. The present invention relates to a spelling error correction method and a spelling error correction device that correct a spelling error by selecting one.

【0002】[0002]

【従来の技術】近年、社会の国際化に伴い、英語を始め
とする外国語を扱う機会が非常に増加している。そして
この外国語のうち英語や仏語などのアルファベットを用
いる言語での文章作成を支援するものとして、スペルチ
ェッカーあるいはスペルコレクターなどと呼ばれる綴り
誤り訂正装置がある。
2. Description of the Related Art In recent years, with the internationalization of society, the number of opportunities to handle foreign languages including English has greatly increased. And among these foreign languages, there is a spelling error correction device called a spell checker or a spell collector to support the writing of sentences in a language using an alphabet such as English or French.

【0003】この従来の綴り誤り訂正装置の一例である
英文スペルチェッカーは、例えば図5のように、入力手
段31と、綴り誤り検出手段32と、候補単語発生手段
33と、綴り訂正辞書34と、表示手段35と、選択手
段36とを備えていた。入力手段31は、英文を入力す
るためのものである。綴り誤り検出手段32は、英単語
の綴りの誤りを検出する。候補単語発生手段33は、綴
り誤り単語に対する正しい綴りの候補を発生する。綴り
訂正辞書34は、綴り訂正のための単語情報を保有す
る。表示手段35は、候補単語を表示する。選択手段3
6は、操作者が候補単語を選択するためのものである。
An English spell checker, which is an example of this conventional spelling error correction device, has an input means 31, a spelling error detection means 32, a candidate word generation means 33, and a spelling correction dictionary 34, for example, as shown in FIG. The display means 35 and the selection means 36 are provided. The input means 31 is for inputting an English sentence. The spelling error detection means 32 detects a spelling error in an English word. The candidate word generation means 33 generates a correct spelling candidate for the misspelled word. The spelling correction dictionary 34 holds word information for spelling correction. The display means 35 displays the candidate words. Selection means 3
6 is for the operator to select a candidate word.

【0004】この従来の英文スペルチェッカーにおいて
は、入力手段31によって英文を入力し、綴り誤り検出
手段32によって入力文中の各単語の綴りが正しいか否
かをチェックする。このとき、各単語の綴りと綴り訂正
辞書34中の綴りとのマッチングが行なわれる。このマ
ッチングについては、例えばJ.L.Peterson "ComputerPr
ograms for Spelling Correction", Springer-Verlag,
1980 に記載されている。綴り訂正辞書34とのマッチ
ングの結果、綴りを誤っている可能性があるならば、候
補単語発生手段33によって、正しい綴りの候補単語を
発生し、表示手段35によって、操作者にそれらを提示
する。図6に表示画面の例を示す。操作者は、提示され
た候補単語の中から正しい綴りの単語を選択手段36に
よって選択する。図6の場合には、候補単語を選択し、
「置換」ボタンを押すことによって、原文中の該当単語
と正しい綴りの単語とが置き換えられる。このとき、綴
りが誤っていない場合には、綴り訂正をパスすることが
できる。また、候補単語中に正しい綴りの単語がない場
合は、ユーザー辞書に正しい綴りの単語を登録すること
ができる。
In this conventional English spell checker, an English sentence is input by the input means 31, and the spelling error detection means 32 checks whether or not each word in the input sentence is spelled correctly. At this time, the spelling of each word and the spelling in the spelling correction dictionary 34 are matched. For this matching, for example, JLPeterson "ComputerPr
ograms for Spelling Correction ", Springer-Verlag,
1980. If there is a possibility of misspelling as a result of matching with the spelling correction dictionary 34, the candidate word generating unit 33 generates correct spelling candidate words and the display unit 35 presents them to the operator. . FIG. 6 shows an example of the display screen. The operator selects the correct spelling word from the presented candidate words by the selection means 36. In the case of FIG. 6, a candidate word is selected,
By pressing the "replace" button, the corresponding word in the original sentence is replaced with the correct spelling word. At this time, if the spelling is correct, the spelling correction can be passed. If the candidate word does not have the correct spelling word, the correct spelling word can be registered in the user dictionary.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記従来
の構成では、候補単語に関する情報が不足しているため
に、候補単語の選択を誤る場合が少なくないという問題
点を有していた。特に、使用言語が外国語である場合に
は、候補単語の意味や品詞が判らないために、選択を誤
ることが多い。このような選択誤りを避けるためには、
候補単語の品詞や意味情報を調べるために、使用者が英
和辞書などを参照しなければならなかった。
However, in the above-mentioned conventional configuration, there is a problem in that the selection of the candidate word is often erroneous because the information regarding the candidate word is insufficient. In particular, when the language used is a foreign language, selection is often mistaken because the meaning or part of speech of the candidate word is unknown. To avoid such a selection error,
The user had to refer to an English-Japanese dictionary or the like in order to look up the part of speech and semantic information of the candidate word.

【0006】本発明はかかる事情に鑑みて成されたもの
であり、綴りの訂正を容易かつ正確に行える綴り誤り訂
正方法および綴り誤り訂正装置を提供することを目的と
する。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a spelling error correction method and a spelling error correction device which can correct spelling easily and accurately.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、単語
の綴り情報を格納する綴り訂正辞書と、単語の品詞およ
び意味情報を格納する品詞・意味辞書とを用いて、前記
綴り訂正辞書を参照して、入力された単語の綴りの誤り
を検出する綴り誤り検出ステップと、前記綴り訂正辞書
を参照して、前記綴り誤り検出ステップにおいて検出さ
れた綴り誤り単語に対する正しい綴りの候補を発生する
候補単語発生ステップと、前記品詞・意味辞書を参照し
て、前記候補単語発生ステップにおいて発生された候補
単語の品詞および意味情報を発生する品詞・意味情報発
生ステップと、前記候補単語発生ステップにおいて発生
された候補単語と、前記品詞・意味情報発生ステップに
おいて発生された品詞および意味情報とを表示する表示
ステップと、を実行することを特徴としている。
According to a first aspect of the present invention, a spelling correction dictionary for storing spelling information of a word and a part-of-speech / semantic dictionary for storing part of speech and meaning information of the word are used. Referring to the spelling error detection step of detecting a spelling error in the input word, and referring to the spelling correction dictionary, generate a correct spelling candidate for the spelling error word detected in the spelling error detection step. In the candidate word generating step, the part-of-speech / semantic information generating step of generating the part-of-speech and meaning information of the candidate word generated in the candidate word generating step with reference to the part-of-speech / semantic dictionary, and the candidate word generating step And a display step of displaying the generated candidate word and the part of speech and meaning information generated in the part of speech / semantic information generating step. It is characterized in that.

【0008】請求項2の発明は、単語の綴り情報を格納
する綴り訂正辞書と、単語の品詞および意味情報を格納
する品詞・意味辞書と、文を入力するための入力手段
と、前記綴り訂正辞書を参照して、前記入力手段に入力
された単語の綴りの誤りを検出する綴り誤り検出手段
と、前記綴り訂正辞書を参照して、前記綴り誤り検出手
段により検出された綴り誤り単語に対する正しい綴りの
候補を発生する候補単語発生手段と、前記品詞・意味辞
書を参照して、前記候補単語発生手段により発生された
候補単語の品詞および意味情報を発生する品詞・意味情
報発生手段と、前記候補単語発生手段により発生された
候補単語と、前記品詞・意味情報発生手段により発生さ
れた品詞および意味情報とを表示する表示手段と、この
表示手段により表示された候補単語のいずれかを操作者
が選択するための選択手段と、を備えたことを特徴とし
ている。
According to a second aspect of the present invention, a spelling correction dictionary for storing spelling information of a word, a part of speech / semantic dictionary for storing part of speech and meaning information of a word, input means for inputting a sentence, and the spelling correction. A spelling error detecting means for detecting a spelling error of a word input to the input means by referring to a dictionary, and a correct spelling error word detected by the spelling error detecting means for referring to the spelling correction dictionary A candidate word generating means for generating a spelling candidate; a part-of-speech / meaning information generating means for generating a part-of-speech and meaning information of the candidate word generated by the candidate word generating means by referring to the part-of-speech / meaning dictionary; Display means for displaying the candidate words generated by the candidate word generation means and the part of speech and meaning information generated by the part-of-speech / meaning information generation means, and a display means for displaying the candidate words. Operator one of the candidate words is characterized by comprising a selection means for selecting.

【0009】[0009]

【作用】請求項1の発明においては、綴り誤り検出ステ
ップで、綴り訂正辞書を参照して、入力された単語の綴
りの誤りを検出する。候補単語発生ステップで、綴り訂
正辞書を参照して、綴り誤り検出ステップにおいて検出
された綴り誤り単語に対する正しい綴りの候補を発生す
る。品詞・意味情報発生ステップで、品詞・意味辞書を
参照して、候補単語発生ステップにおいて発生された候
補単語の品詞および意味情報を発生する。表示ステップ
で、候補単語発生ステップにおいて発生された候補単語
と、品詞・意味情報発生ステップにおいて発生された品
詞および意味情報とを表示する。
According to the first aspect of the invention, in the spelling error detecting step, the spelling correction dictionary is referenced to detect the spelling error of the input word. In the candidate word generation step, the spelling correction dictionary is referenced to generate a correct spelling candidate for the spelling error word detected in the spelling error detection step. In the part-of-speech / semantic information generating step, the part-of-speech / semantic information of the candidate word generated in the candidate word generating step is generated by referring to the part-of-speech / semantic dictionary. In the displaying step, the candidate word generated in the candidate word generating step and the part of speech / semantic information generated in the part of speech / semantic information generating step are displayed.

【0010】請求項2の発明において、綴り訂正辞書
は、単語の綴り情報を格納する。品詞・意味辞書は、単
語の品詞および意味情報を格納する。入力手段は、文を
入力するためのものである。綴り誤り検出手段は、綴り
訂正辞書を参照して、入力手段に入力された単語の綴り
の誤りを検出する。候補単語発生手段は、綴り訂正辞書
を参照して、綴り誤り検出手段により検出された綴り誤
り単語に対する正しい綴りの候補を発生する。品詞・意
味情報発生手段は、品詞・意味辞書を参照して、候補単
語発生手段により発生された候補単語の品詞および意味
情報を発生する。表示手段は、候補単語発生手段により
発生された候補単語と、品詞・意味情報発生手段により
発生された品詞および意味情報とを表示する。選択手段
は、表示手段により表示された候補単語のいずれかを操
作者が選択するためのものである。
In the invention of claim 2, the spelling correction dictionary stores spelling information of words. The part-of-speech / semantic dictionary stores the part-of-speech and meaning information of a word. The input means is for inputting a sentence. The spelling error detection unit refers to the spelling correction dictionary and detects a spelling error in the word input to the input unit. The candidate word generation unit refers to the spelling correction dictionary and generates a correct spelling candidate for the spelling error word detected by the spelling error detection unit. The part-of-speech / semantic information generating means refers to the part-of-speech / semantic dictionary and generates the part-of-speech and semantic information of the candidate word generated by the candidate word generating means. The display means displays the candidate word generated by the candidate word generating means and the part of speech and meaning information generated by the part of speech / semantic information generating means. The selection means is for the operator to select any of the candidate words displayed by the display means.

【0011】[0011]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は本発明の一実施例における綴り誤り訂
正装置のブロック図で、この綴り誤り訂正装置は、入力
手段1と、綴り誤り検出手段2と、候補単語発生手段3
と、綴り訂正辞書4と、品詞・意味情報発生手段5と、
品詞・意味辞書6と、表示手段7と、選択手段8とを備
えている。入力手段1は、例えばキーボードにより構成
されており、操作者が文を入力するためのものである。
綴り誤り検出手段2は、綴り訂正辞書4を参照して、入
力手段1から入力された文に含まれる単語の綴りの誤り
を検出する。候補単語発生手段3は、綴り訂正辞書4を
参照して、綴り誤り検出手段2により検出された綴り誤
り単語に対する正しい綴りの候補を発生する。綴り訂正
辞書4は、単語の綴り情報を格納する。品詞・意味情報
発生手段5は、品詞・意味辞書6を参照して、候補単語
発生手段3により発生された候補単語の品詞および意味
情報を発生する。品詞・意味辞書6は、単語の品詞およ
び意味情報を格納する。表示手段7は、例えばCRTあ
るいは液晶ディスプレイ装置によって構成されており、
候補単語発生手段3により発生された候補単語と、品詞
・意味情報発生手段5により発生された候補単語の品詞
および意味情報とを表示する。選択手段8は、例えばマ
ウスあるいはキーボードにより構成されており、操作者
が候補単語を選択するためのものである。なお、綴り誤
り検出手段2と候補単語発生手段3と品詞・意味情報発
生手段5とはCPUにより実現され、綴り訂正辞書4と
品詞・意味辞書6とはROMあるいはRAMにより実現
される。この綴り誤り訂正装置は、専用機として実現し
てもよいし、汎用の計算機により実現してもよい。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram of a spelling error correction apparatus according to an embodiment of the present invention. This spelling error correction apparatus includes an input unit 1, a spelling error detection unit 2, and a candidate word generation unit 3.
A spelling correction dictionary 4, a part of speech / semantic information generating means 5,
A part-of-speech / semantic dictionary 6, a display means 7, and a selection means 8 are provided. The input unit 1 is composed of a keyboard, for example, and is used by the operator to input a sentence.
The spelling error detection unit 2 refers to the spelling correction dictionary 4 and detects a spelling error in a word included in the sentence input from the input unit 1. The candidate word generation unit 3 refers to the spelling correction dictionary 4 and generates a correct spelling candidate for the spelling error word detected by the spelling error detection unit 2. The spelling correction dictionary 4 stores word spelling information. The part-of-speech / semantic information generating means 5 refers to the part-of-speech / semantic dictionary 6 to generate the part-of-speech and meaning information of the candidate word generated by the candidate word generating means 3. The part-of-speech / semantic dictionary 6 stores the part-of-speech and meaning information of a word. The display means 7 is composed of, for example, a CRT or a liquid crystal display device,
The candidate word generated by the candidate word generating means 3 and the part of speech and meaning information of the candidate word generated by the part-of-speech / meaning information generating means 5 are displayed. The selection unit 8 is composed of, for example, a mouse or a keyboard, and is used by the operator to select a candidate word. The spelling error detection unit 2, the candidate word generation unit 3, and the part-of-speech / semantic information generation unit 5 are realized by a CPU, and the spelling correction dictionary 4 and the part-of-speech / semantic dictionary 6 are realized by a ROM or a RAM. This spelling error correction device may be realized as a dedicated machine or a general-purpose computer.

【0012】次に上記綴り誤り訂正装置の動作につい
て、図2および図3のフローチャートを参照しながら説
明する。先ず、操作者が入力手段1によって文を入力す
ると(ステップS1)、操作者により「スペルチェッ
ク」ボタンが押されたか否かを判断する(ステップS
2)。すなわち、操作者がマウスあるいはキーボードの
カーソルキーや実行キーなどを操作してスペルチェック
を選択したか否かを判断する。なお、以降の「ボタンを
押す」という動作の具体的意味も、「スペルチェック」
ボタンの場合と同様に、操作者がマウスあるいはキーボ
ードのカーソルキーや実行キーなどを操作して所望の動
作を選択することである。スペルチェックボタンが押さ
れていなければ、ステップS2に戻って待機状態にな
る。スペルチェックボタンが押されれば、入力された文
のうち未チェックの単語が残っているか否かを判断し
(ステップS3)、残っていなければスペルチェックの
処理を終了する。未チェックの単語が残っていれば、綴
り誤り検出手段2が、次の単語を1つ取り出し(ステッ
プS4)、単語の綴りをチェックする(ステップS
5)。このとき、綴り訂正辞書4を参照する。すなわ
ち、綴り訂正辞書4には正しい綴りの単語が格納されて
おり、入力された原単語が綴り訂正辞書4中にあれば、
その綴りは正しいと判断し、なければ誤っている可能性
があると判断する。チェックの結果、綴りが誤っている
か否かを判断し(ステップS6)、誤っていなければス
テップS3に戻って次の単語をチェックする。綴りが誤
っている可能性があれば、候補単語発生手段3が、綴り
訂正辞書4を参照して、原単語に対応する正しい綴りの
候補単語を決定する(ステップS7)。次に品詞・意味
情報発生手段5が、品詞・意味辞書6を参照して、候補
単語の品詞と意味情報とを決定する(ステップS8)。
次に表示手段7が、得られた候補単語とその品詞および
意味情報とを図4のように表示して操作者に提示する
(ステップS9)。これにより操作者は、各候補単語の
品詞および意味情報を参考にしながら、正しいと思われ
る候補単語を選択手段8によって選択する。例えば図4
の場合には、候補単語の中からpervasionをマ
ウスまたはキーボードを操作して指定する。次に操作者
により候補単語が選択されたか否かを判断し(ステップ
S10)、選択されていれば、操作者により「置換」ボ
タンが押されたか否かを判断する(ステップS11)。
押されていなければ、ステップS11に戻って待機状態
になる。「置換」ボタンが押されれば、入力文中の原単
語pervartionをpervasionに置き換
え(ステップS12)、ステップS3に戻って次の単語
のチェックを行う。このとき、「置換」ボタンを押す以
前であれば、候補単語の指定を変更することができる。
Next, the operation of the spelling error correction apparatus will be described with reference to the flow charts of FIGS. First, when the operator inputs a sentence using the input means 1 (step S1), it is determined whether or not the "spell check" button has been pressed by the operator (step S).
2). That is, it is determined whether or not the operator has operated the cursor key or the execution key of the mouse or the keyboard to select the spell check. In addition, the concrete meaning of the operation "press the button" that follows is also "spell check".
Similar to the case of the button, the operator operates a cursor key or an execution key of a mouse or a keyboard to select a desired operation. If the spell check button has not been pressed, the process returns to step S2 to enter the standby state. If the spell check button is pressed, it is determined whether or not an unchecked word remains in the input sentence (step S3), and if not, the spell check process ends. If an unchecked word remains, the spelling error detection means 2 extracts the next word (step S4) and checks the spelling of the word (step S).
5). At this time, the spelling correction dictionary 4 is referred to. That is, if the spelling correction dictionary 4 stores correctly spelled words and the input original word is in the spelling correction dictionary 4,
The spelling is judged to be correct, and if not, it may be incorrect. As a result of the check, it is determined whether or not the spelling is incorrect (step S6). If not incorrect, the process returns to step S3 to check the next word. If there is a possibility that the spelling is incorrect, the candidate word generating means 3 refers to the spelling correction dictionary 4 and determines the correct spelling candidate word corresponding to the original word (step S7). Next, the part-of-speech / semantic information generation means 5 refers to the part-of-speech / semantic dictionary 6 to determine the part-of-speech and meaning information of the candidate word (step S8).
Next, the display means 7 displays the obtained candidate word and its part of speech and meaning information as shown in FIG. 4 and presents it to the operator (step S9). As a result, the operator selects the candidate word that seems to be correct by the selecting means 8 while referring to the part of speech and the semantic information of each candidate word. For example, in FIG.
In the case of, the version is specified from the candidate words by operating the mouse or the keyboard. Next, it is judged whether or not the candidate word is selected by the operator (step S10), and if selected, it is judged whether or not the "replacement" button is pressed by the operator (step S11).
If it has not been pressed, the process returns to step S11 to enter the standby state. When the "replace" button is pressed, the original word "perversion" in the input sentence is replaced with "version" (step S12), and the process returns to step S3 to check the next word. At this time, the designation of the candidate word can be changed before the "replace" button is pressed.

【0013】候補単語の中に正しい単語、すなわち操作
者が意図している単語がない場合には、操作者は「パ
ス」ボタンを押せばよい。すなわち、ステップS10に
おいて候補単語が選択されなければ、「パス」ボタンが
押されたか否かを判断し(ステップS13)、押されれ
ばステップS3に戻って、現単語については綴り修正を
行なわずに次の単語のチェックへと移る。
If there is no correct word among the candidate words, that is, the word intended by the operator, the operator may press the "pass" button. That is, if the candidate word is not selected in step S10, it is determined whether or not the "pass" button is pressed (step S13), and if it is pressed, the process returns to step S3 and the spelling correction is not performed for the current word. Move on to check the next word.

【0014】チェックによって綴り誤りの可能性がある
と判定された原単語が、例えば人名などの固有名詞であ
って、実は誤りでない場合には、その原単語を図外のユ
ーザー辞書に登録することができる。すなわちステップ
S13において「パス」ボタンが押されなければ、「登
録」ボタンが押されたか否かを判断し(ステップS1
4)、押されれば、その原単語を図外のユーザー辞書に
登録し(ステップS15)、ステップS3に戻って次の
単語を処理する。このとき、操作者が原単語と共にその
品詞と意味情報とをユーザー辞書に登録することもでき
る。
If the original word determined to have a possibility of spelling error by the check is a proper noun such as a person's name and is not actually an error, the original word should be registered in a user dictionary (not shown). You can That is, if the "pass" button is not pressed in step S13, it is determined whether the "register" button is pressed (step S1).
4) If pressed, the original word is registered in the user dictionary (not shown) (step S15), and the process returns to step S3 to process the next word. At this time, the operator can also register the part of speech and the semantic information together with the original word in the user dictionary.

【0015】ステップS14において「登録」ボタンが
押されなければ、操作者が「終了」ボタンを押したか否
かを判断し(ステップS16)、押されなければステッ
プS10に戻って待機状態になる。「終了」ボタンが押
されれば、スペルチェックの処理を終了する。このよう
に、候補単語を表示する際に、単語の綴りのみならず単
語の品詞と意味情報とを同時に表示手段7により表示す
るので、候補単語の選択が容易であり、綴りの訂正を容
易かつ正確に行なえる。
If the "register" button is not pressed in step S14, it is determined whether or not the operator has pressed the "end" button (step S16). If not, the process returns to step S10 to enter the standby state. If the "end" button is clicked, the spell check process ends. In this way, when displaying the candidate word, not only the spelling of the word but also the part-of-speech and the semantic information of the word are simultaneously displayed by the display means 7, so that the candidate word can be easily selected and the spelling can be easily corrected. You can do it accurately.

【0016】なお上記実施例では、綴り訂正辞書4と品
詞・意味辞書6とを個別に設けたが、これらを合わせて
一つの辞書としてもよい。また上記実施例では、入力手
段1をキーボードにより構成し、操作者が文を入力する
ように構成したが、文字認識装置などからの出力を入力
手段1に入力するように構成してもよい。またフレキシ
ブルディスクのような情報記憶媒体に格納された文を入
力手段1により読み込むように構成してもよい。
Although the spelling correction dictionary 4 and the part-of-speech / semantic dictionary 6 are separately provided in the above embodiment, they may be combined into one dictionary. Further, in the above embodiment, the input means 1 is constituted by the keyboard and the operator inputs the sentence, but the output from the character recognition device or the like may be inputted to the input means 1. Alternatively, the sentence stored in an information storage medium such as a flexible disk may be read by the input unit 1.

【0017】また上記実施例では、操作者がマウスある
いはキーボードなどを操作して所望の動作を選択するよ
うに構成したが、操作者が表示手段7の表示画面に触れ
ることにより所望の動作を選択するように構成してもよ
い。
Further, in the above embodiment, the operator operates the mouse or the keyboard to select the desired motion, but the operator touches the display screen of the display means 7 to select the desired motion. It may be configured to do so.

【0018】[0018]

【発明の効果】以上説明したように本発明によれば、単
語の綴り情報を格納する綴り訂正辞書と、単語の品詞お
よび意味情報を格納する品詞・意味辞書とを用いて、綴
り訂正辞書を参照して、入力された単語の綴りの誤りを
検出し、綴り訂正辞書を参照して、検出された綴り誤り
単語に対する正しい綴りの候補を発生し、品詞・意味辞
書を参照して、発生された候補単語の品詞および意味情
報を発生し、発生された候補単語と品詞および意味情報
とを表示するので、候補単語を表示する際に、単語の綴
りのみならず単語の品詞と意味情報とを同時に操作者に
提示できることから、候補単語の選択が容易であり、綴
りの訂正を容易かつ正確に行える。また、候補単語の意
味を調べるために英和辞書などを調べ直す必要がなくな
る。さらに、各候補単語の品詞および意味情報が表示さ
れるので、単語の学習にも有効である。
As described above, according to the present invention, a spelling correction dictionary is created using a spelling correction dictionary that stores spelling information for words and a part-of-speech / semantic dictionary that stores word part of speech and meaning information. The spelling error of the input word is detected by referring to the spelling correction dictionary, the correct spelling candidate for the detected spelling error word is generated, and the part of speech / semantic dictionary is referred to. It generates the part-of-speech and meaning information of the candidate word and displays the generated candidate word and part-of-speech and meaning information.When displaying the candidate word, not only the spelling of the word but also the part-of-speech and meaning information of the word are displayed. Since it can be presented to the operator at the same time, the candidate word can be easily selected, and the spelling can be corrected easily and accurately. In addition, it is not necessary to search the English-Japanese dictionary or the like to check the meaning of the candidate word. Furthermore, since the part-of-speech and semantic information of each candidate word are displayed, it is also effective for learning words.

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

【図1】本発明の一実施例における綴り誤り訂正装置の
ブロック図である。
FIG. 1 is a block diagram of a spelling error correction device according to an embodiment of the present invention.

【図2】本発明の一実施例における綴り誤り訂正装置の
動作を説明するフローチャートの前半部である。
FIG. 2 is a first half of a flowchart for explaining the operation of the spelling error correction device according to the embodiment of the present invention.

【図3】本発明の一実施例における綴り誤り訂正装置の
動作を説明するフローチャートの後半部である。
FIG. 3 is a second half of a flowchart for explaining the operation of the spelling error correction device according to the embodiment of the present invention.

【図4】本発明の一実施例における綴り誤り訂正装置の
表示画面の説明図である。
FIG. 4 is an explanatory diagram of a display screen of the spelling error correction device according to the embodiment of the present invention.

【図5】従来の綴り誤り訂正装置のブロック図である。FIG. 5 is a block diagram of a conventional spelling error correction apparatus.

【図6】従来の綴り誤り訂正装置の表示画面の説明図で
ある。
FIG. 6 is an explanatory diagram of a display screen of a conventional spelling error correction device.

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

1 入力手段 2 綴り誤り検出手段 3 候補単語発生手段 4 綴り訂正辞書 5 品詞・意味情報発生手段 6 品詞・意味辞書 7 表示手段 8 選択手段 1 input means 2 spelling error detection means 3 candidate word generation means 4 spelling correction dictionary 5 part-of-speech / meaning information generation means 6 part-of-speech / semantic dictionary 7 display means 8 selection means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 単語の綴り情報を格納する綴り訂正辞書
と、単語の品詞および意味情報を格納する品詞・意味辞
書とを用いて、 前記綴り訂正辞書を参照して、入力された単語の綴りの
誤りを検出する綴り誤り検出ステップと、 前記綴り訂正辞書を参照して、前記綴り誤り検出ステッ
プにおいて検出された綴り誤り単語に対する正しい綴り
の候補を発生する候補単語発生ステップと、 前記品詞・意味辞書を参照して、前記候補単語発生ステ
ップにおいて発生された候補単語の品詞および意味情報
を発生する品詞・意味情報発生ステップと、 前記候補単語発生ステップにおいて発生された候補単語
と、前記品詞・意味情報発生ステップにおいて発生され
た品詞および意味情報とを表示する表示ステップと、 を実行することを特徴とする綴り誤り訂正方法。
1. Spelling of an input word with reference to the spelling correction dictionary using a spelling correction dictionary that stores spelling information of words and a part-of-speech / semantic dictionary that stores word part of speech and meaning information. A spelling error detection step for detecting an error, referring to the spelling correction dictionary, a candidate word generation step for generating a correct spelling candidate for the spelling error word detected in the spelling error detection step, and the part-of-speech / sense Referring to a dictionary, a part-of-speech / semantic information generating step for generating part-of-speech and meaning information of the candidate word generated in the candidate-word generating step, a candidate word generated in the candidate-word generating step, and the part-of-speech / meaning A display step for displaying the part of speech and the semantic information generated in the information generating step, and a spelling error characterized by executing Positive way.
【請求項2】 単語の綴り情報を格納する綴り訂正辞書
と、 単語の品詞および意味情報を格納する品詞・意味辞書
と、 文を入力するための入力手段と、 前記綴り訂正辞書を参照して、前記入力手段に入力され
た単語の綴りの誤りを検出する綴り誤り検出手段と、 前記綴り訂正辞書を参照して、前記綴り誤り検出手段に
より検出された綴り誤り単語に対する正しい綴りの候補
を発生する候補単語発生手段と、 前記品詞・意味辞書を参照して、前記候補単語発生手段
により発生された候補単語の品詞および意味情報を発生
する品詞・意味情報発生手段と、 前記候補単語発生手段により発生された候補単語と、前
記品詞・意味情報発生手段により発生された品詞および
意味情報とを表示する表示手段と、 前記表示手段により表示された候補単語のいずれかを操
作者が選択するための選択手段と、 を備えたことを特徴とする綴り誤り訂正装置。
2. A spelling correction dictionary for storing spelling information of words, a part-of-speech / semantic dictionary for storing part-of-speech and meaning information of words, input means for inputting sentences, and referring to the spelling-correction dictionary Generating a correct spelling candidate for the spelling error word detected by the spelling error detection unit by referring to the spelling error detection unit that detects a spelling error of the word input to the input unit A candidate word generating means, a part of speech / semantic information generating means for generating the part of speech and semantic information of the candidate word generated by the candidate word generating means by referring to the part of speech / meaning dictionary, and the candidate word generating means Display means for displaying the generated candidate word and the part of speech and semantic information generated by the part of speech / semantic information generating means, and the candidate word displayed by the display means Spelling error correction device, characterized in that the operator either has and a selection means for selecting.
JP4320915A 1992-11-30 1992-11-30 Method and device for correcting spelling error Pending JPH06168242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4320915A JPH06168242A (en) 1992-11-30 1992-11-30 Method and device for correcting spelling error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4320915A JPH06168242A (en) 1992-11-30 1992-11-30 Method and device for correcting spelling error

Publications (1)

Publication Number Publication Date
JPH06168242A true JPH06168242A (en) 1994-06-14

Family

ID=18126694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4320915A Pending JPH06168242A (en) 1992-11-30 1992-11-30 Method and device for correcting spelling error

Country Status (1)

Country Link
JP (1) JPH06168242A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5537317A (en) * 1994-06-01 1996-07-16 Mitsubishi Electric Research Laboratories Inc. System for correcting grammer based parts on speech probability

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5537317A (en) * 1994-06-01 1996-07-16 Mitsubishi Electric Research Laboratories Inc. System for correcting grammer based parts on speech probability

Similar Documents

Publication Publication Date Title
US5812863A (en) Apparatus for correcting misspelling and incorrect usage of word
US4953088A (en) Sentence translator with processing stage indicator
US5890183A (en) Method, apparatus, electronic dictionary and recording medium for converting converted output into character code set accetpable for re-retrieval as original input
JPH06168242A (en) Method and device for correcting spelling error
JPH06168243A (en) Method and device for correcting spelling error
JP3935374B2 (en) Dictionary construction support method, apparatus and program
JPH08297663A (en) Device and method for correcting input error
JPS60164864A (en) Device for processing data
JP3308723B2 (en) Syntactic analyzer
JPH0531186B2 (en)
JPH0696117A (en) Document change supporting system
JP3118880B2 (en) Japanese sentence processor
JPS60214073A (en) European language word processor
JP2002351868A (en) Electronic dictionary
JPH11338859A (en) Name input device and program recording medium
JPS62212871A (en) Sentence reading correcting device
JPH0916595A (en) Dodument elaboration device and method therefor
JPH0330048A (en) Character input device
JPH07200592A (en) Text processor
JPH03282874A (en) Document preparation device
JPH01114973A (en) Device for supporting document formation/calibration
JPH0644239A (en) Japanese document preparing device
JPH05342260A (en) Word spelling check device
JPS63229562A (en) Back-up device for production/correction of document
JPH05266065A (en) Machine translation system