JPH05334302A - Method and device for document processing - Google Patents

Method and device for document processing

Info

Publication number
JPH05334302A
JPH05334302A JP4161701A JP16170192A JPH05334302A JP H05334302 A JPH05334302 A JP H05334302A JP 4161701 A JP4161701 A JP 4161701A JP 16170192 A JP16170192 A JP 16170192A JP H05334302 A JPH05334302 A JP H05334302A
Authority
JP
Japan
Prior art keywords
word
candidate
character string
replacement
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
JP4161701A
Other languages
Japanese (ja)
Inventor
Nobuyoshi Tanaka
信好 田中
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 JP4161701A priority Critical patent/JPH05334302A/en
Publication of JPH05334302A publication Critical patent/JPH05334302A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain the document processing method which can assist correct- spelling.character input operation by selecting a desired word candidate among normal substitute word candidates which are retrieved. CONSTITUTION:Character string candidates which can be substituted are generated on the bass of an inputted word to be inspected, a dictionary retrieving means 9 retrieves the normal substitute word candidates in a dictionary memory 2 on the basis of the generated character string candidates which can be substituted, and a selecting and correcting means 10 selects the desired word candidate among the normal substitute word candidates which are retrieved. Even if a candidate which has the same correct spelling with a wrongly inputted word to be inspected is present in the dictionary 2 by chance, a substitute candidate for correcting the word to be inspected can be displayed. Consequently, even if correct-spelling characters different from a correct-spelling word which should originally be inputted are inputted, the state is detected by the extremely easy method to give a change of substituting the correct-spelling word which should originally be inputted, thereby assisting the correct-spelling character input operation.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力された文字列の綴
り状態の正偽を判定して訂正する文書処理方法および装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing method and apparatus for determining whether a spelling state of an input character string is true or false and correcting it.

【0002】[0002]

【従来の技術】従来、この種の文書処理を実行する装
置、例えばワードプロセッサには入力された文字列のス
ペル状態の正偽を判定して訂正するスペルチェッカもし
くはスペルコレクタ等が装備され、入力された単語の誤
りを使用者に通知して、ミススペルの無い文書作成を支
援できるように構成されている。この場合、入力された
文字列から構成される語が辞書メモリ上に存在するかど
うかを判定して、辞書メモリ上に当該語が存在しない場
合には、入力された文字列が誤りと判定して訂正処理を
実行している。
2. Description of the Related Art Conventionally, a device for executing this kind of document processing, for example, a word processor is equipped with a spell checker or a spell collector for judging and correcting the spelling state of an input character string and inputting it. It is configured so that the user can be notified of an error in a word that has been missed and that a document can be created without misspelling. In this case, it is determined whether or not a word composed of the input character string exists in the dictionary memory. If the word does not exist in the dictionary memory, it is determined that the input character string is an error. The correction process is being performed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例では、文字列入力の結果、ミススペルされた語の文
字列が辞書メモリ中の語と偶然に一致するような文字列
が存在してしまった場合には、上記スペルチェッカもし
くはスペルコレクタ機能が有効に起動されず、ミススペ
ルされた語を正当な語と認定してしまい、ミススペルさ
れた語を見過ごしてしまう事態が発生する場合があっ
た。例えば「royalty(使用料)」と入力すべき
ところを、誤って「loyalty(忠実)」と入力し
てしまった場合、「loyalty(忠実)」は辞書メ
モリに正当に存在するため、上記スペルチェッカもしく
はスペルコレクタ機能が有効に起動されない。このよう
な問題を発見するには、入力された語の意味を解析する
ための複雑な処理が必要となり、メモリ上に専用のワー
クエリアを確保しておく必要が生じ、かつCPUパワー
に負担をかけてしまうため、他の処理の実行が中断され
てしまう等の事態も起こり得る等の問題点があった。
However, in the above-mentioned conventional example, as a result of inputting a character string, there is a character string in which the character string of the misspelled word coincidentally with the word in the dictionary memory. In this case, the spell checker or spell collector function may not be activated effectively, and the misspelled word may be recognized as a valid word, and the misspelled word may be overlooked. For example, if you mistakenly enter "royalty" in a place where "royalty" should be entered, "loyalty" is legally present in the dictionary memory. Or the spell collector function is not activated effectively. In order to discover such a problem, complicated processing for analyzing the meaning of the input word is required, it is necessary to reserve a dedicated work area on the memory, and the load on the CPU power is increased. Therefore, there is a problem that a situation in which the execution of other processing is interrupted may occur because of the delay.

【0004】本発明は、上記の問題点を解決するために
なされたもので、非常に簡単な方法または構成で、本来
入力すべき正綴り語とは異なる正綴り文字等を入力した
際にもその状態を検出して、本来入力すべき正綴り語に
置換訂正する機会を与えて、正確な綴り文字入力作業を
支援することができる文書処理方法および装置を提供す
ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and is a very simple method or structure, even when an orthographically spelled character or the like different from the orthographically spelled word to be originally input is input. An object of the present invention is to provide a document processing method and apparatus capable of detecting the state and giving an opportunity to replace and correct the correct spelling word to be originally input to support the correct spelling character input work.

【0005】[0005]

【課題を解決するための手段】本発明に係る文書処理方
法は、入力された検査対象語に基づいて置換可能な文字
列候補を生成し、生成された置換文字列候補に基づいて
辞書メモリから正規の置換語候補を検索し、検索された
正規の置換語候補から所望の語候補を選択する。
A document processing method according to the present invention generates a replaceable character string candidate based on an input inspection target word, and creates a replaceable character string candidate from a dictionary memory based on the generated replacement character string candidate. A regular replacement word candidate is searched, and a desired word candidate is selected from the searched regular replacement word candidates.

【0006】また、入力された検査対象語に基づいてこ
の検査対象語と対になる置換可能な単語候補を辞書メモ
リから同時に検索し、検索された検査対象語または置換
可能な単語候補の何れかを選択する。
Further, based on the input inspection target word, a replaceable word candidate paired with the inspection target word is simultaneously searched from the dictionary memory, and either the searched inspection target word or the replaceable word candidate is searched. Select.

【0007】さらに、本発明に係る文書処理装置は、正
綴り語群を記憶する辞書メモリと、文字または文字列を
所定の文字または文字列に置換する候補を記憶する置換
テーブルと、この置換テーブルを参照しながら入力され
た検査対象語の文字または文字列を置換可能な文字列候
補を生成する置換手段と、この置換手段により生成され
た置換文字列候補に基づいて前記辞書メモリから存在す
る正規の置換語候補を検索する検索手段と、この検索手
段に検索された正規の置換語候補を表示する表示手段
と、この表示手段に検索表示された正規の置換語候補か
ら所望の語候補を選択する選択手段とを有するものであ
る。
Further, the document processing apparatus according to the present invention has a dictionary memory for storing a group of orthographic words, a replacement table for storing candidates for replacing a character or character string with a predetermined character or character string, and this replacement table. And a normalizing unit existing from the dictionary memory based on the replacement character string candidate generated by the replacing unit, the replacement unit generating a character string candidate capable of replacing the character or the character string of the inspection target word input with reference to Search means for searching the replacement word candidates, display means for displaying the canonical replacement word candidates searched by this searching means, and a desired word candidate is selected from the canonical replacement word candidates searched and displayed on this display means. And a selection means for performing the selection.

【0008】また、正綴り語およびこの正綴り語に対す
る置換可能な正綴り語候補とを対に記憶する辞書メモリ
と、入力される検査対象語に基づいて前記辞書メモリか
ら検査対象語および置換可能な正綴り語候補を同時に検
索する検索手段と、この検索手段に検索された検査対象
語および置換可能な正綴り語候補を表示する表示手段
と、この表示手段に検索表示された検査対象語および置
換可能な正綴り語候補から所望の語候補を選択する選択
手段とを有するものである。
Further, a dictionary memory for storing a pair of orthodox words and replaceable orthodox word candidates for the orthodox words, and a word to be checked and a word to be replaced from the dictionary memory based on an input word to be checked. Search means for simultaneously searching for such correct orthographic word candidates, display means for displaying the inspection target word searched for by this search means and replaceable orthographic word candidates, and the inspection target word searched and displayed on this display means, And a selecting unit for selecting a desired word candidate from the replaceable orthographic word candidates.

【0009】[0009]

【作用】本発明においては、入力された検査対象語に基
づいて置換可能な文字列候補を生成し、生成された置換
可能な文字列候補に基づいて辞書メモリから正規の置換
語候補を検索し、検索された正規の置換語候補から所望
の語候補を選択することにより、誤って入力された検査
対象語と同一の正綴り候補が辞書にたまたま存在する場
合であっても、その検査対象語を訂正するための置換候
補を提示することを可能とする。
In the present invention, a replaceable character string candidate is generated based on the input inspection target word, and a regular replacement word candidate is searched from the dictionary memory based on the generated replaceable character string candidate. , By selecting a desired word candidate from the searched regular replacement word candidates, even if the same spelling candidate as the erroneously input check target word happens to exist in the dictionary, that check target word It is possible to present a replacement candidate for correcting

【0010】また、入力された検査対象語に基づいてこ
の検査対象語と対になる置換可能な単語候補を辞書メモ
リから同時に検索し、検索された検査対象語または置換
可能な単語候補の何れかを選択することにより、誤って
入力された検査対象語と同一の正綴り候補が辞書にたま
たま存在する場合であっても、その検査対象語と対とな
る正綴りの置換候補を同時に提示することを可能とす
る。
Further, based on the input inspection target word, a replaceable word candidate paired with this inspection target word is simultaneously searched from the dictionary memory, and either the searched inspection target word or the replaceable word candidate is searched. By selecting, even if an accidentally entered correct spelling candidate for the word to be inspected happens to be present in the dictionary, it is possible to simultaneously present a candidate for orthographic substitution that forms a pair with the word to be inspected. Is possible.

【0011】さらに、検査対象語が入力されて置換手段
が置換テーブルを参照しながら入力された検査対象語の
文字または文字列の置換可能な置換文字列候補を生成す
ると、検索手段が置換文字列候補に基づいて辞書メモリ
から存在する正規の置換語候補を検索して表示手段に表
示し、選択手段により正規の置換語候補を選択すること
により、誤って入力された検査対象語と同一の正綴り候
補が辞書にたまたま存在する場合であっても、検査対象
語を提示された置換候補で訂正することを可能とする。
Further, when the inspection target word is input and the replacing means generates a replaceable replacement character string candidate of the characters or character strings of the input inspection target word while referring to the replacement table, the searching means causes the replacement character string. Based on the candidates, the existing regular replacement word candidates are searched from the dictionary memory and displayed on the display means, and the regular replacement word candidates are selected by the selecting means. Even if the spelling candidate happens to exist in the dictionary, it is possible to correct the inspection target word with the presented replacement candidate.

【0012】また、検査対象語が入力されると、検索手
段が検査対象語に基づいて辞書メモリから検査対象語お
よび当該検査対象語に対する置換可能な正綴りの語候補
を検索して表示手段に表示し、選択手段により所望とす
る検査対象語または当該検査対象語に対する置換可能な
正綴りの語候補を選択可能とすることにより、誤って入
力された検査対象語と同一の正綴り候補が辞書にたまた
ま存在する場合であっても、検査対象語を提示された同
一の正綴り候補で訂正することを可能とする。
Further, when the check target word is input, the searching means searches the dictionary memory for the check target word and the replaceable orthographically-replaceable word candidates for the check target word and displays them on the display means. By displaying and making it possible to select a desired check target word or a replaceable orthographic word candidate that can be replaced with respect to the check target word, the same correct spelling candidate as the erroneously input check target word is dictionary. Even if it happens to exist, it is possible to correct the inspection target word with the same presented correct spelling candidate.

【0013】[0013]

【実施例】図1は本発明の一実施例を示す文書処理方法
を適用するシステム構成を示す図である。
1 is a diagram showing a system configuration to which a document processing method according to an embodiment of the present invention is applied.

【0014】図において、1はスペルミス発見訂正シス
テム本体、2は各言語に対応した文字列の正偽を判定す
るための単語辞書メモリ(辞書メモリ)、3は置換テー
ブルで、誤って置換の生じ易い文字の組み合わせを格納
している。4はCRT表示装置、5はキーボードで、所
望のテキスト情報を入力する。6は前記キーボード5か
ら入力されたテキスト情報を格納するテキスト格納バッ
ファ、7は制御部で、テキスト格納バッファ6に格納さ
れたテキスト情報を取り出し、文字置換手段8,辞書検
索手段9、選択訂正手段10を後述するように制御し
て、CRT表示装置4に入力されたテキスト情報の置換
候補文字列を提示する。11は置換除外テーブルで、上
記置換テーブル3に置換の生じ易い文字として、例えば
「l」があったとしても、置換除外する必要な文字列、
例えば「ful」等を記憶している。
In the figure, reference numeral 1 is the main body of the spelling error detection and correction system, 2 is a word dictionary memory (dictionary memory) for judging the authenticity of a character string corresponding to each language, and 3 is a substitution table. It stores easy combinations of characters. A CRT display device 4 and a keyboard 5 are used to input desired text information. 6 is a text storage buffer for storing the text information input from the keyboard 5, 7 is a control unit, which takes out the text information stored in the text storage buffer 6, and replaces the characters 8, the dictionary search means 9, the selection correction means. By controlling 10 as described later, the replacement candidate character string of the text information input to the CRT display device 4 is presented. Reference numeral 11 denotes a replacement exclusion table, which is a character string that needs to be replaced even if the replacement table 3 has a character that tends to be replaced, for example, "l".
For example, "ful" or the like is stored.

【0015】このように構成されたシステムにおいて、
入力された検査対象語に基づいて置換可能な文字列候補
を生成し、生成された置換可能な文字列候補に基づいて
辞書メモリから正規の置換語候補を検索し、検索された
正規の置換語候補から所望の語候補を選択することによ
り、誤って入力された検査対象語と同一の正綴り候補が
辞書にたまたま存在する場合であっても、その検査対象
語を訂正するための置換候補を提示することを可能とす
る。
In the system thus constructed,
A replaceable character string candidate is generated based on the input inspection target word, a regular replacement word candidate is searched from the dictionary memory based on the generated replaceable character string candidate, and the searched regular replacement word is searched. By selecting a desired word candidate from the candidates, even if a correct spelling candidate that is the same as the erroneously input check target word happens to exist in the dictionary, a replacement candidate for correcting the check target word is found. It is possible to present.

【0016】また、検査対象語が入力されて置換手段
(文字置換手段8)が置換テーブル3を参照しながら入
力された検査対象語の文字または文字列の置換可能な置
換文字列候補を生成すると、検索手段(辞書検索手段
9)が置換文字列候補に基づいて辞書メモリ2から存在
する正規の置換語候補を検索して表示手段(CRT表示
装置4)に表示し、選択手段(キーボード5)により正
規の置換語候補を選択することにより、誤って入力され
た検査対象語と同一の正綴り候補が辞書にたまたま存在
する場合であっても、検査対象語を提示された置換候補
で訂正することを可能とする。
When the inspection target word is input and the replacing means (character replacing means 8) refers to the replacement table 3 to generate a replaceable replacement character string candidate of the input character or character string of the inspection target word. The search means (dictionary search means 9) searches the dictionary memory 2 for existing regular replacement word candidates based on the replacement character string candidates, displays them on the display means (CRT display device 4), and the selection means (keyboard 5). By selecting a regular replacement word candidate with, the correction target word is corrected with the presented replacement candidate even if the correct orthographically-corrected candidate that is erroneously input is accidentally present in the dictionary. It is possible.

【0017】図2は、図1に示した置換テーブル3の一
例を示す図であり、図3は、図1に示した置換除外テー
ブル11の一例を示す図である。
FIG. 2 is a diagram showing an example of the replacement table 3 shown in FIG. 1, and FIG. 3 is a diagram showing an example of the replacement exclusion table 11 shown in FIG.

【0018】以下、図4に示すフローチャートを参照し
ながら本発明に係る文書処理動作について説明する。
The document processing operation according to the present invention will be described below with reference to the flow chart shown in FIG.

【0019】図4は本発明に係る文書処理装置における
第1のスペルミス発見停止処理手順の一例を示すフロー
チャートである。なお、(1) 〜(9) は各ステップを示
す。
FIG. 4 is a flow chart showing an example of a first spelling error finding stop processing procedure in the document processing apparatus according to the present invention. Note that (1) to (9) indicate each step.

【0020】まず、制御部7はテキスト格納バッファ6
から検査対象語を1つずつ取り出し(1) 、文字置換手段
8に渡す(2) 。文字置換手段8は、取り出された検査対
象語、例えば「graphics」に対して、誤って置
換の生じ易い文字の組み合わせを格納した置換テーブル
3(詳細は図2に示す)を参照して(3) 、すべての可能
な文字の置き換えを行った候補語「glaphic
s」,「grafics」,「glafics」を図5
に示すように生成する(4) 。
First, the control unit 7 controls the text storage buffer 6
The inspection target words are taken out one by one (1) and passed to the character replacing means 8 (2). The character replacement means 8 refers to a replacement table 3 (details are shown in FIG. 2) that stores combinations of characters that are likely to be erroneously replaced with respect to the extracted inspection target word, for example, “graphics” (3 ), The candidate word “graphic” with all possible character substitutions.
"s", "graphics", and "graphics" are shown in FIG.
Generate as shown in (4).

【0021】その際、文字置換があっても従来技術のス
ペルチェック処理で発見できる文字(列)については文
字置換を行わない。例えば検査対象語が「greate
ful」で、上記置換テーブル3に置換の生じ易い文字
として「l」があったとしても、図3に示すような置換
除外テーブル11を参照して「ful」が存在する場合
には、置換処理は実行されない。
At this time, even if there is character replacement, character replacement is not performed for characters (strings) that can be found by the conventional spell check processing. For example, if the inspection target word is “create
Even if "l" is present in the replacement table 3 as a character that is likely to be replaced, the replacement processing is performed if "ful" exists by referring to the replacement exclusion table 11 as shown in FIG. Is not executed.

【0022】なお、本実施例では処理速度向上のため上
記置換除外処理を適宜実行できるように構成されてい
る。
In the present embodiment, the replacement excluding process can be appropriately executed to improve the processing speed.

【0023】次いで、制御部7は、候補語が辞書メモリ
2に存在するかどうかを辞書検索手段9により調べ(5)
、辞書メモリ2上にあったすべての候補語を選択訂正
手段10に渡す(6) 。選択訂正手段10は、検査対象語
およびすべての候補語をCRT表示装置4に表示し(7)
、操作者に所望の語をキーボード5により選択させ、
その後制御部7に渡す。制御部7はテキスト格納バッフ
ァ6中の検査対象語を選択された語で置き換える(8) 。
Next, the control unit 7 checks by the dictionary search means 9 whether the candidate word exists in the dictionary memory 2 (5).
, And passes all candidate words on the dictionary memory 2 to the selection correction means 10 (6). The selection correction means 10 displays the inspection target word and all candidate words on the CRT display device 4 (7).
, Let the operator select the desired word using the keyboard 5,
Then, it is passed to the control unit 7. The control unit 7 replaces the word to be checked in the text storage buffer 6 with the selected word (8).

【0024】一方、候補語が1つも辞書メモリ2に存在
しなかった場合は、選択訂正処理は実行されない。以上
の処理をテキスト格納バッファ6中のすべての語に対し
て行う(9) 。
On the other hand, if no candidate word exists in the dictionary memory 2, the selective correction process is not executed. The above processing is performed for all the words in the text storage buffer 6 (9).

【0025】なお、上記実施例では、置換テーブル3,
置換除外テーブル11が辞書メモリ2とは独立して構成
される場合について説明したが、図6に示すように各言
語に対応した文字列の正偽を判定するための単語辞書と
各単語のスペルミスした結果の語とを対として記憶す
る、例えば図7に示すような置換辞書21aを備える構
成であっても、上記実施例と同様の効果を期待できる。
In the above embodiment, the replacement table 3,
The case where the substitution exclusion table 11 is configured independently of the dictionary memory 2 has been described. However, as shown in FIG. 6, a word dictionary for determining the authenticity of a character string corresponding to each language and a misspelling of each word. Even if the configuration is such that a replacement dictionary 21a as shown in FIG. 7 for storing the words of the result as a pair is stored, the same effect as the above embodiment can be expected.

【0026】図6は本発明の他の実施例を示す文書処理
方法を適用するシステム構成を示す図であり、図1と同
一のものには同じ符号を付してある。
FIG. 6 is a diagram showing a system configuration to which a document processing method according to another embodiment of the present invention is applied. The same components as those in FIG. 1 are designated by the same reference numerals.

【0027】図において、21は置換辞書メモリ(辞書
メモリ)で、各言語に対応した文字列の正偽を判定する
ための単語辞書と各単語のスペルミスした結果の語とを
対として記憶する、例えば図7に示すような置換辞書2
1aを記憶している。22は置換辞書検索手段で、制御
部7から検査対象語が指示されると、置換辞書メモリ2
1中の置換辞書21aを参照して各検査対象語および当
該検査対象語のスペルミスした結果の語との単語対を検
索する。
In the figure, reference numeral 21 denotes a replacement dictionary memory (dictionary memory), which stores a word dictionary for judging the authenticity of a character string corresponding to each language and a word resulting from misspelling of each word as a pair. For example, a replacement dictionary 2 as shown in FIG.
It stores 1a. Reference numeral 22 denotes a replacement dictionary search means, which is used when the inspection target word is designated by the control unit 7.
By referring to the replacement dictionary 21a in 1, the word pair of each check target word and the word resulting from the misspelling of the check target word is searched.

【0028】このように構成されたシステムにおいて、
入力された検査対象語に基づいてこの検査対象語と対に
なる置換可能な単語候補を辞書メモリ21から同時に検
索し、検索された検査対象語または置換可能な単語候補
の何れかを選択することにより、誤って入力された検査
対象語と同一の正綴り候補が辞書にたまたま存在する場
合であっても、その検査対象語と対となる正綴りの置換
候補を同時に提示することを可能とする。
In the system constructed as described above,
To simultaneously search the dictionary memory 21 for replaceable word candidates that are paired with the check target word based on the input check target word, and select either the searched check target word or the replaceable word candidate. By this, even if the same correct spelling candidate as the check target word that is erroneously input happens to exist in the dictionary, it is possible to simultaneously present the correct spelling replacement candidates that form a pair with the check target word. ..

【0029】また、検査対象語が入力されると、検索手
段(置換辞書検索手段22)が検査対象語に基づいて辞
書メモリ21から検査対象語および当該検査対象語に対
する置換可能な正綴りの語候補を検索して表示手段(C
RT表示装置4)に表示し、選択手段(キーボード5)
により所望とする検査対象語または当該検査対象語に対
する置換可能な正綴りの語候補を選択可能とすることに
より、誤って入力された検査対象語と同一の正綴り候補
が辞書にたまたま存在する場合であっても、検査対象語
を提示された同一の正綴り候補で訂正することを可能と
する。
Further, when the check target word is input, the search means (replacement dictionary search means 22) from the dictionary memory 21 based on the check target word and the word in the correct spelling that can replace the check target word. Search for candidates and display them (C
It is displayed on the RT display device 4) and the selection means (keyboard 5)
By selecting the desired check target word or a replaceable orthographically-corrected word candidate for the check target word, it happens that the same correct spelling candidate as the check target word accidentally input exists in the dictionary. Even in this case, it is possible to correct the inspection target word with the same presented correct spelling candidate.

【0030】以下、図8に示すフローチャートを参照し
ながら本実施例の動作について説明する。
The operation of this embodiment will be described below with reference to the flow chart shown in FIG.

【0031】図8は本発明に係る文書処理装置における
第2のスペルミス発見停止処理手順の一例を示すフロー
チャートである。なお、(1) 〜(9) は各ステップを示
す。
FIG. 8 is a flow chart showing an example of a second spelling error finding stop processing procedure in the document processing apparatus according to the present invention. Note that (1) to (9) indicate each step.

【0032】制御部7は、テキスト格納バッファ6から
検査対象語を1つずつ取り出し(1)、置換辞書検索手段
22により置換辞書メモリ21の置換辞書21aを検索
し(2) 、その検査対象語が置換辞書21a中の語対に含
まれる語と一致するかどうかを調べる(3) 。一致した場
合には、制御部7はその語対を選択訂正手段10に渡す
(4) 。選択訂正手段10は、渡された語対をCRT表意
装置4に表示し(5) 、操作者に所望の語をキーボード5
により選択させ(6) 、その語を制御部7に渡す(7) 。制
御部7はテキスト格納バッファ6中の検査対象語を選択
された語に置き換える(8) 。置換辞書メモリ21の置換
辞書21a中に検査対象語と一致する語が存在しない場
合には、選択訂正処理は実行されない。以上の処理をテ
キスト格納バッファ6中のすべての語に対して行う(9)
The control unit 7 takes out the inspection target words one by one from the text storage buffer 6 (1), searches the replacement dictionary 21a of the replacement dictionary memory 21 by the replacement dictionary search means 22 (2), and checks the inspection target words. It is checked whether or not matches the word included in the word pair in the replacement dictionary 21a (3). If they match, the control unit 7 passes the word pair to the selection correction unit 10.
(Four) . The selection correction means 10 displays the passed word pair on the CRT ideographic device 4 (5), and the operator selects the desired word on the keyboard 5
To select (6), and pass the word to the control unit 7 (7). The control unit 7 replaces the word to be checked in the text storage buffer 6 with the selected word (8). If there is no word in the replacement dictionary 21a of the replacement dictionary memory 21 that matches the check target word, the selective correction process is not executed. The above processing is performed for all the words in the text storage buffer 6 (9).
..

【0033】[0033]

【発明の効果】以上説明したように、本発明は入力され
た検査対象語に基づいて置換可能な文字列候補を生成
し、生成された置換可能な文字列候補に基づいて辞書メ
モリから正規の置換語候補を検索し、検索された正規の
置換語候補から所望の語候補を選択するように構成した
ので、誤って入力された検査対象語と同一の正綴り候補
が辞書にたまたま存在する場合であっても、その検査対
象語を訂正するための置換候補を提示することができ
る。
As described above, according to the present invention, a replaceable character string candidate is generated on the basis of an input inspection target word, and a regular character from a dictionary memory is generated based on the generated replaceable character string candidate. When it is configured that the replacement word candidates are searched and the desired word candidate is selected from the searched regular replacement word candidates, the correct spelling candidate that is the same as the erroneously input check target word happens to exist in the dictionary. Even in this case, a replacement candidate for correcting the inspection target word can be presented.

【0034】また、入力された検査対象語に基づいてこ
の検査対象語と対になる置換可能な単語候補を辞書メモ
リから同時に検索し、検索された検査対象語または置換
可能な単語候補の何れかを選択するように構成したの
で、誤って入力された検査対象語と同一の正綴り候補が
辞書にたまたま存在する場合であっても、その検査対象
語と対となる正綴りの置換候補を同時に提示することが
できる。
Further, the replaceable word candidate paired with the check target word is simultaneously searched from the dictionary memory based on the input check target word, and either the searched check target word or the replaceable word candidate is searched. Since it was configured to select, even if the same correct spelling candidate as the check target word that was erroneously input happens to exist in the dictionary, the same spelling replacement candidate that is paired with the check target word is found at the same time. Can be presented.

【0035】さらに、検査対象語が入力されて置換手段
が置換テーブルを参照しながら入力された検査対象語の
文字または文字列の置換可能な文字列候補を生成する
と、検索手段が置換文字列候補に基づいて辞書メモリか
ら存在する正規の置換語候補を検索して表示手段に表示
し、選択手段により正規の置換語候補を選択するように
構成したので、誤って入力された検査対象語と同一の正
綴り候補が辞書にたまたま存在する場合であっても、検
査対象語を提示された置換候補で訂正する機会を与え、
何れかの置換候補で適宜訂正することができる。
Further, when the inspection target word is input and the replacing means generates a replaceable character string candidate of the character or character string of the input inspection target word while referring to the replacement table, the searching means causes the replacement character string candidate. Since the regular replacement word candidates existing in the dictionary memory are searched based on the above and displayed on the display means and the regular replacement word candidates are selected by the selection means, the same as the erroneously input inspection target word is selected. Gives an opportunity to correct the word to be inspected with the presented replacement candidate, even if the orthodox candidate of
Any replacement candidate can be appropriately corrected.

【0036】また、検査対象語が入力されると、検索手
段が検査対象語に基づいて辞書メモリから検査対象語お
よび当該検査対象語に対する置換可能な正綴りの語候補
を検索して表示手段に表示し、選択手段により所望とす
る検査対象語または当該検査対象語に対する置換可能な
正綴りの語候補を選択可能とするように構成したので、
誤って入力された検査対象語と同一の正綴り候補が辞書
にたまたま存在する場合であっても、検査対象語を提示
された同一の正綴り候補を発見して訂正する機会を与え
ることができる。
When the check target word is input, the search means searches the dictionary memory for the check target word and the replaceable orthographically replaceable word candidates for the check target word on the display means. Since it is configured to be displayed, the desired inspection target word or the orthographically spelled word candidates that can be replaced with respect to the inspection target word can be selected,
Even if an accidentally entered correct spelling candidate for the word to be inspected happens to exist in the dictionary, an opportunity to find and correct the same correct spelling candidate presented for the word to be inspected can be given. ..

【0037】従って、非常に簡単な方法または構成で、
本来入力すべき正綴り語とは異なる正綴り文字等を入力
した際にもその状態を検出して、本来入力すべき正綴り
語に置換訂正する機会を与えて、正確な綴り文字入力作
業を支援することができる等の効果を奏する。
Therefore, in a very simple manner or configuration,
Even when you enter a correct spelling character that is different from the correct spelling word you should input, you can detect the state and give the opportunity to correct the correct spelling word and input the correct spelling character. There is an effect such as being able to support.

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

【図1】本発明の一実施例を示す文書処理方法を適用す
るシステム構成を示す図である。
FIG. 1 is a diagram showing a system configuration to which a document processing method according to an embodiment of the present invention is applied.

【図2】図1に示した置換テーブルの一例を示す図であ
る。
FIG. 2 is a diagram showing an example of a replacement table shown in FIG.

【図3】図1に示した置換除外テーブルの一例を示す図
である。
FIG. 3 is a diagram showing an example of a replacement exclusion table shown in FIG.

【図4】本発明に係る文書処理装置における第1のスペ
ルミス発見停止処理手順の一例を示すフローチャートで
ある。
FIG. 4 is a flowchart showing an example of a first spelling error discovery stop processing procedure in the document processing apparatus according to the present invention.

【図5】検索対象語と文字の置き換えを行った候補語と
の関係を示す図である。
FIG. 5 is a diagram showing a relationship between a search target word and a candidate word in which a character is replaced.

【図6】本発明の他の実施例を示す文書処理方法を適用
するシステム構成を示す図である。
FIG. 6 is a diagram showing a system configuration to which a document processing method according to another embodiment of the present invention is applied.

【図7】図6に示した置換辞書メモリに記憶される置換
辞書の一例を示す図である。
7 is a diagram showing an example of a replacement dictionary stored in a replacement dictionary memory shown in FIG.

【図8】本発明に係る文書処理装置における第2のスペ
ルミス発見停止処理手順の一例を示すフローチャートで
ある。
FIG. 8 is a flowchart showing an example of a second spelling error discovery stop processing procedure in the document processing apparatus according to the present invention.

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

1 スペルミス発見訂正システム本体 2 辞書メモリ 3 置換テーブル 4 CRT表示装置 5 キーボード 6 テキスト格納バッファ 7 制御部 8 文字置換手段 9 辞書検索手段 10 選択訂正手段 1 spelling error detection and correction system main body 2 dictionary memory 3 replacement table 4 CRT display device 5 keyboard 6 text storage buffer 7 control unit 8 character replacement means 9 dictionary search means 10 selection correction means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力された文字列をテキストバッファに
格納して文字列の綴り状態を訂正する文書処理方法にお
いて、入力された検査対象語に基づいて置換可能な文字
列候補を生成し、生成された置換文字列候補に基づいて
辞書メモリから正規の置換語候補を検索し、検索された
正規の置換語候補から所望の語候補を選択することを特
徴とする文書処理方法。
1. In a document processing method for storing an input character string in a text buffer and correcting the spelling state of the character string, a replaceable character string candidate is generated based on the input inspection target word, and generated. A document processing method characterized by searching a regular replacement word candidate from a dictionary memory based on the searched replacement character string candidate and selecting a desired word candidate from the searched normal replacement word candidates.
【請求項2】 入力された文字列をテキストバッファに
格納して文字列の綴り状態を訂正する文書処理方法にお
いて、入力された検査対象語に基づいてこの検査対象語
と対になる置換可能な単語候補を辞書メモリから同時に
検索し、検索された検査対象語または置換可能な単語候
補の何れかを選択することを特徴とする文書処理方法。
2. In a document processing method for storing an input character string in a text buffer and correcting the spelling state of the character string, a replaceable pair that is paired with the inspection target word based on the input inspection target word. A document processing method, wherein word candidates are searched at the same time from a dictionary memory, and either the searched word for inspection or a replaceable word candidate is selected.
【請求項3】 正綴り語群を記憶する辞書メモリと、文
字または文字列を所定の文字または文字列に置換する候
補を記憶する置換テーブルと、この置換テーブルを参照
しながら入力された検査対象語の文字または文字列を置
換可能な文字列候補を生成する置換手段と、この置換手
段により生成された置換文字列候補に基づいて前記辞書
メモリから存在する正規の置換語候補を検索する検索手
段と、この検索手段に検索された正規の置換語候補を表
示する表示手段と、この表示手段に検索表示された正規
の置換語候補から所望の語候補を選択する選択手段とを
有することを文書処理装置。
3. A dictionary memory for storing a group of orthographic words, a replacement table for storing candidates for replacing a character or a character string with a predetermined character or a character string, and an inspection target input with reference to this replacement table. Replacing means for generating a character string candidate capable of replacing a character or a character string of a word, and searching means for searching a regular replacement word candidate existing in the dictionary memory based on the replacement character string candidate generated by the replacing means. And a display means for displaying the regular replacement word candidates retrieved by the retrieval means, and a selection means for selecting a desired word candidate from the regular substitution word candidates retrieved by the display means. Processing equipment.
【請求項4】 正綴り語およびこの正綴り語に対する置
換可能な正綴り語候補とを対に記憶する辞書メモリと、
入力される検査対象語に基づいて前記辞書メモリから検
査対象語および置換可能な正綴り語候補を同時に検索す
る検索手段と、この検索手段に検索された検査対象語お
よび置換可能な正綴り語候補を表示する表示手段と、こ
の表示手段に検索表示された検査対象語および置換可能
な正綴り語候補から所望の語候補を選択する選択手段と
を有することを文書処理装置。
4. A dictionary memory for storing a pair of a regular spelling word and a replaceable regular spelling word candidate for the regular spelling word, and
Search means for simultaneously searching the dictionary memory for an inspection target word and a replaceable orthographic word candidate based on the input inspection target word, and an inspection target word and a replaceable orthographic word candidate searched by the search means A document processing apparatus comprising: a display unit for displaying the word and a selection unit for selecting a desired word candidate from the inspection target words and replaceable orthographic word candidates searched and displayed on the display unit.
JP4161701A 1992-05-29 1992-05-29 Method and device for document processing Pending JPH05334302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4161701A JPH05334302A (en) 1992-05-29 1992-05-29 Method and device for document processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4161701A JPH05334302A (en) 1992-05-29 1992-05-29 Method and device for document processing

Publications (1)

Publication Number Publication Date
JPH05334302A true JPH05334302A (en) 1993-12-17

Family

ID=15740230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4161701A Pending JPH05334302A (en) 1992-05-29 1992-05-29 Method and device for document processing

Country Status (1)

Country Link
JP (1) JPH05334302A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154156A (en) * 1996-11-22 1998-06-09 Nec Corp English word retrieval device
JPH10232865A (en) * 1997-02-19 1998-09-02 Sharp Corp Spelling check device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154156A (en) * 1996-11-22 1998-06-09 Nec Corp English word retrieval device
JPH10232865A (en) * 1997-02-19 1998-09-02 Sharp Corp Spelling check device

Similar Documents

Publication Publication Date Title
JPH0793328A (en) Inadequate spelling correcting device
JPH05334302A (en) Method and device for document processing
JPS61156466A (en) Word extracting system
US8306968B2 (en) Name retrieval method and name retrieval apparatus
JP2007122660A (en) Document data processor and document data processing program
JP2000331023A (en) Information retrieval device and storage medium with information retrieval processing program stored
JP2870375B2 (en) Sentence correction device
JPH0736903A (en) Translation assisting device
JP2936761B2 (en) Proofreading device for Japanese documents
JPH07146868A (en) Natural language processor
JP3362036B2 (en) Machine translation method and apparatus
JP2991058B2 (en) Spell checker
JP3506518B2 (en) Review support device
JP2570681B2 (en) Word processor
JPH07182441A (en) Character recognition device
JP2017033387A (en) Input support device, program, and input support method
JPH04106663A (en) Patent document classifying device
JPS60189573A (en) Character convertor
JPS62143173A (en) Method for correcting spelling of character string
JPH06243164A (en) Character retrieving device in machine translation
JP2002351868A (en) Electronic dictionary
JP2006178605A (en) Character recognition result display device
JP2010055561A (en) Electronic dictionary, retrieval method in electronic dictionary and program
JPH04278664A (en) Address analysis processor
JPH04268669A (en) Japanese language analyzer