JPH04283856A - Document processor - Google Patents

Document processor

Info

Publication number
JPH04283856A
JPH04283856A JP3072174A JP7217491A JPH04283856A JP H04283856 A JPH04283856 A JP H04283856A JP 3072174 A JP3072174 A JP 3072174A JP 7217491 A JP7217491 A JP 7217491A JP H04283856 A JPH04283856 A JP H04283856A
Authority
JP
Japan
Prior art keywords
word
character string
candidate
input
information
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
JP3072174A
Other languages
Japanese (ja)
Inventor
Tatsuhiko Yuno
龍彦 湯野
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 JP3072174A priority Critical patent/JPH04283856A/en
Publication of JPH04283856A publication Critical patent/JPH04283856A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To effectively perform the spelling verification of an optional input word through simple operation by regarding an effective character string of an optional word as a candidate of spelling verification when a candidate word for the optional input word is not retrieved. CONSTITUTION:When a candidate retrieval means 170a can not retrieve the candidate word for the inputted word, an effective character string retrieval means 170b automatically detects the effective character string for the input word and displays it on a display means 140, and a restarting means (word retrieval processing part 170) automatically starts a correct spelling word candidate retrieving process by a candidate retrieval means 170a according to a selection instruction for the detected effective character string.

Description

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

【0001】0001

【産業上の利用分野】本発明は、文書処理装置に係り、
特にスペリングミスを検出して自動訂正を行うSVC機
能を備えた文書処理装置に関するものである。
[Industrial Application Field] The present invention relates to a document processing device.
In particular, the present invention relates to a document processing device equipped with an SVC function that detects spelling mistakes and automatically corrects them.

【0002】0002

【従来の技術】従来の文書処理装置、例えばSVC機能
処理を行うSVC(スペリング・ベリファイ・コレクタ
)機能辞書デ−タベ−スを備えた電子タイプライタ等に
おいては、ミススペルとなった単語の候補単語がSVC
の辞書に登録されていない場合、操作者は単語の最終文
字を順次消去するか、または単語の文字列の一部を修正
した後、再度前記単語の候補単語の選択を行うことによ
り、前記単語の訂正が行われている。また、特定コ−ド
、例えばハイフンが含まれた単語の場合、ハイフンの前
の文字列またはハイフンの後の文字列でスペルチェック
が行われ、スペルコレクタにおいては、ハイフンを含む
文字列で候補単語が登録されているか否かの判定が行わ
れている。前記ハイフンが含まれた単語を訂正する場合
、前記ハイフンをスペ−スに置き換えた後、ハイフンの
前後の文字列にカ−ソルを移動することにより前記単語
の候補単語による訂正が行われていた。
2. Description of the Related Art In conventional document processing devices, such as electronic typewriters equipped with an SVC (Spelling Verify Corrector) function dictionary database that performs SVC function processing, candidate words for misspelled words are is SVC
If the word is not registered in the dictionary, the operator deletes the final letters of the word or corrects a part of the word string, and then selects candidate words for the word again. Corrections have been made. In addition, in the case of a word that contains a specific code, for example a hyphen, spell checking is performed on the string before or after the hyphen, and the spell corrector uses the string containing the hyphen as a candidate word. A determination is being made as to whether or not it is registered. When correcting a word containing a hyphen, the hyphen was replaced with a space, and then the cursor was moved to the character string before and after the hyphen to correct the word using candidate words. .

【0003】0003

【発明が解決しようとする課題】しかしながら、上記従
来例ではミススペルとなった単語の修正に時間がかかり
、また候補単語が登録されていない場合、常にエラ−ブ
ザ−およびエラ−メッセ−ジが表示されて、円滑な文書
作成処理操作を阻害するという問題点があった。
[Problems to be Solved by the Invention] However, in the conventional example described above, it takes time to correct a misspelled word, and if a candidate word is not registered, an error buzzer and an error message are always displayed. Therefore, there was a problem that smooth document creation processing operations were hindered.

【0004】本発明は、上記の問題点を解決するために
なされたもので、スペリングベリファイ実行中に、任意
の入力単語に対する候補単語が未検索状態となる場合に
、任意の単語の有効文字列をスペリングベリファイ候補
とすることにより、任意の入力単語に対するスペリング
ベリファイを少ない操作で、かつ有効に実行できる文書
処理装置を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and when a candidate word for an arbitrary input word is not searched during spelling verification, the effective character string of an arbitrary input word is not searched. It is an object of the present invention to provide a document processing device that can effectively perform spelling verification on an arbitrary input word with a small number of operations by using the words as spelling verification candidates.

【0005】[0005]

【課題を解決するための手段】本発明に係る文書処理装
置は、候補検索手段による入力単語に対する正綴り単語
候補の検出結果に基づいて入力単語に対する有効文字列
を自動検出して表示手段に表示する有効文字列検出手段
と、この有効文字列検出手段により検出された有効文字
列に対する選択指示に基づいて候補検索手段による正綴
り単語候補検索処理を自動再開する再開手段とを設けた
ものである。
[Means for Solving the Problems] A document processing device according to the present invention automatically detects a valid character string for an input word based on the detection result of correctly spelled word candidates for the input word by a candidate search means and displays it on a display means. and a restart means for automatically restarting the correct spelling word candidate search process by the candidate search means based on a selection instruction for the valid character string detected by the valid character string detection means. .

【0006】また、有効文字列検出手段は、入力単語中
の記号または特定コ−ドに基づいて有効文字列を検出す
るように構成したものである。
Further, the valid character string detection means is configured to detect a valid character string based on a symbol or a specific code in an input word.

【0007】[0007]

【作用】本発明においては、入力された任意の文字列か
らなる単語に対して候補検索手段が候補単語を検索でき
ない場合に、有効文字列検出手段が入力単語に対する有
効文字列を自動検出して表示手段に表示し、さらに再開
手段が検出された有効文字列に対する選択指示に基づい
て候補検索手段による正綴り単語候補検索処理を自動再
開し、単語入力時に正綴り単語候補検索が未検索となる
単語の正綴り単語候補を自動検索しながら訂正すること
を可能とする。
[Operation] In the present invention, when the candidate search means cannot search for a candidate word for a word consisting of an input arbitrary character string, the valid character string detection means automatically detects a valid character string for the input word. Displayed on the display means, furthermore, the restart means automatically restarts the correct spelling word candidate search process by the candidate search means based on the selection instruction for the detected valid character string, and the correct spelling word candidate search is not searched when a word is input. To enable correct spelling of a word while automatically searching for word candidates.

【0008】また、有効文字列検出手段は、入力単語中
の記号または特定コ−ドに基づいて有効文字列を検出し
、候補検索手段が有効に起動する文字列を確実に検出す
ることを可能とする。
[0008] Furthermore, the valid character string detection means detects valid character strings based on symbols or specific codes in the input word, and can reliably detect character strings that effectively activate the candidate search means. shall be.

【0009】[0009]

【実施例】図1は本発明の一実施例を示す文書処理装置
の構成を説明するブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram illustrating the configuration of a document processing apparatus showing an embodiment of the present invention.

【0010】図において、100は例えば文字キ−,機
能キ−,カ−ソル移動キ−,設定キ−を有するキ−ボ−
ドのごとき入力手段で、一般的な文字デ−タ,印字制御
コマンドデ−タ等を含む文書情報の入力の他に、SVC
の辞書の無効/有効を指示する情報,仕向けキ−ボ−ド
情報が設定された発光ダイオ−ドの設定情報を入力する
のに用いられる。
In the figure, 100 is a keyboard having, for example, character keys, function keys, cursor movement keys, and setting keys.
In addition to inputting document information including general character data, print control command data, etc. using an input means such as a
It is used to input setting information of the light emitting diode set with information instructing invalidation/validation of the dictionary and destination keyboard information.

【0011】110は入力制御手段で、入力手段100
から入力された各種入力情報に基づき、スペルチェック
の実行モ−ドの設定を行うSPELLキ−と他のファン
クションキ−との切り換えや前記キ−ボ−ド情報に基づ
くキ−情報のコ−ド変換を行う。120は例えばRAM
で構成される記憶手段で、入力手段100から入力され
た各種入力情報により、入力制御手段110でコ−ド変
換された各種情報または入力制御手段110でモ−ド設
定された各種情報を記憶するための文書情報記憶領域と
、文書情報のチェックに必要な情報を記憶するためのワ
−ク情報記憶領域等を備えている。130は表示制御手
段で、入力手段100から入力された各種入力情報によ
り、入力制御手段110でコ−ド変換,モ−ド設定され
て記憶手段120に格納されている文字コ−ド,モ−ド
設定情報,フォ−マット設定情報を表示指示コマンドに
応じて表示手段140(例えば液晶ディスプレイ)の表
示画面に表示させる。150は印字制御手段で、入力手
段100から入力された各種入力情報により、入力制御
手段110においてコ−ド変換されて記憶手段120に
格納されている文字コ−ド,文字の修飾情報,モ−ド設
定情報,フォ−マット設定情報を印字指示コマンドに応
じて印字デ−タの生成を行い、印字手段(例えばサ−マ
ルプリンタ,ディジ−ホイ−ルプリンタ)160の記録
用紙上に文書情報を印字させる。
Reference numeral 110 denotes an input control means, and the input means 100
Switching between the SPELL key and other function keys, which sets the spell check execution mode based on various input information input from the keyboard, and codes for key information based on the keyboard information. Perform the conversion. 120 is, for example, a RAM
A storage means that stores various information code-converted by the input control means 110 or various information set in a mode by the input control means 110 based on various input information input from the input means 100. The document information storage area includes a document information storage area for checking the document information, and a work information storage area for storing information necessary for checking the document information. Reference numeral 130 denotes a display control means, which converts the code and sets the mode in the input control means 110 according to various input information inputted from the input means 100, and converts the character code and mode stored in the storage means 120. The code setting information and format setting information are displayed on the display screen of the display means 140 (for example, a liquid crystal display) in response to a display instruction command. Reference numeral 150 denotes a print control means, which converts various input information from the input means 100 into codes in the input control means 110 and stores them in the storage means 120, such as character codes, character modification information, and modes. Print data is generated according to the print instruction command for the code setting information and format setting information, and the document information is printed on the recording paper of the printing means (e.g., thermal printer, digi-wheel printer) 160. Print it.

【0012】これらの入力制御手段110,表示制御手
段130,印字制御手段150は一般的なマイクロコン
ピュ−タ(CPU)で実現できるが、特に入力手段10
0からキ−入力されたキ−入力情報を前記入力手段10
0のダイオ−ド情報を介してコ−ド変換を行い、記憶手
段120に格納されている文字コ−ド,文字の修飾情報
,モ−ド設定情報,フォ−マット情報により表示デ−タ
の生成および表示,印字デ−タの生成および印字等を行
うように制御する。
These input control means 110, display control means 130, and print control means 150 can be realized by a general microcomputer (CPU), but in particular, the input means 10
The input means 10 inputs the key input information from 0 to the input means 10.
Code conversion is performed via the diode information of 0, and the display data is converted using the character code, character modification information, mode setting information, and format information stored in the storage means 120. Controls generation and display, generation and printing of print data, etc.

【0013】また、100aは指示手段で、表示手段1
40に表示される候補単語,有効文字列の選択指示およ
びSVC開始有無等を指示する。120bは文書格納エ
リアで、入力手段100から入力されたキ−コ−ド等を
記憶する。120aはSVC辞書メモリで、機能辞書デ
−タベ−スとして機能する。170は単語検索処理部で
、候補検索手段170a,有効文字列検索手段170b
,訂正手段170c等から構成されている。このように
構成された入力された任意の文字列からなる単語に対し
て候補検索手段170aが候補単語を検索できない場合
に、有効文字列検索手段170bが入力単語に対する有
効文字列を自動検出して表示手段140に表示し、さら
に再開手段(単語検索処理部170)が検出された有効
文字列に対する選択指示に基づいて候補検索手段170
aによる正綴り単語候補検索処理を自動再開し、訂正手
段170cが単語入力時に正綴り単語候補検索が未検索
となるような文字列からなる単語を有効文字列から選択
された正綴り単語で訂正置換する。
Further, 100a is an instruction means, and a display means 1
The user instructs the selection of candidate words and valid character strings displayed in 40, and whether or not to start SVC. Reference numeral 120b denotes a document storage area that stores key codes and the like input from the input means 100. 120a is an SVC dictionary memory, which functions as a functional dictionary database. 170 is a word search processing unit, which includes candidate search means 170a and effective character string search means 170b.
, correction means 170c, etc. When the candidate search means 170a cannot search for a candidate word for a word consisting of an input arbitrary character string configured in this way, the valid character string search means 170b automatically detects a valid character string for the input word. The candidate search means 170 displays it on the display means 140, and the restart means (word search processing section 170) performs a selection instruction for the detected valid character string.
The correct spelling word candidate search process according to step a is automatically restarted, and the correction means 170c corrects a word consisting of a character string for which the correct spelling word candidate search is not found when a word is input, with the correct spelling word selected from the valid character strings. Replace.

【0014】また、有効文字列検索手段170bは、入
力単語中の記号(本実施例ではハイフン「−」で起動す
る場合を示す)または特定コ−ドに基づいて有効文字列
を検出し、候補検索手段170aが有効に起動する文字
列を確実に検出することを可能とする。
Further, the valid character string search means 170b detects a valid character string based on a symbol in the input word (in this embodiment, the case is activated by a hyphen "-") or a specific code, and selects a candidate character string. This enables the search means 170a to reliably detect a character string that is effectively activated.

【0015】図2は、図1に示した文書処理装置の具体
的構成例を示すブロック図であり、1は、例えばマイク
ロコンピュ−タで構成されるCPUで、ROM4に記憶
された制御プログラムに基づいてシステムバスに接続さ
れる各デバイスを制御し、上記入力制御手段110,表
示制御手段130,印字制御手段150等の各手段の機
能処理を実行する。
FIG. 2 is a block diagram showing a specific example of the structure of the document processing apparatus shown in FIG. Based on this, each device connected to the system bus is controlled, and the functional processing of each means such as the input control means 110, display control means 130, print control means 150, etc. is executed.

【0016】2は文字等のキャラクタや指令(コマンド
)を入力する入力手段100として機能するキ−ボ−ド
で、スペリングベリファイ(SV),スペリングベリフ
ァイコレクタ(SVC)の辞書の有効/無効を報知する
LED,仕向けキ−ボ−ド情報を報知するLEDからな
るダイオ−ド2aを有している。なお、ダイオ−ド2a
はD7〜D0から構成され、D6,D5がSV/SVC
情報有効有無を示し、D4がRAMサイズ情報を示し、
D3〜D0が国別情報を示す。3は、例えばLCDまた
はCRTで構成されるディスプレイで、上記表示手段1
40として機能する。なお、ROM4には、図3に示す
処理手順をはじめCPU1が実行する各種制御手順や制
御情報4a,SVCの辞書種別4b,SVCの辞書4c
が記憶されている。6はRAMで、上記記憶手段120
の一部を構成し、入力手段100からキ−入力された入
力情報,入力情報からキ−コ−ド変換された文字コ−ド
,モ−ド設定情報,フォ−マット情報,文書情報,ユ−
ザ辞書等を展開する。なお、RAM6にはキ−ボ−ド2
から入力された1行もしくは複数行分の文書を格納する
ためのラインバッファ等を含む。6aはキ−スキャンバ
ッファで、キ−スキャン情報を格納する。6bはキ−ス
キャンデ−タで、キ−スキャンバッファ6aから取り出
されたキ−スキャンデ−タを格納する。6cはキ−コ−
ドデ−タで、キ−スキャンデ−タ6bをキ−ボ−ド2の
ダイオ−ド2aの仕向けキ−ボ−ド情報により変換され
たキ−ボ−ドコ−ド変換デ−タが格納される。6dはコ
レクションバッファで、前記キ−コ−ド変換された文字
および記号の修飾情報、また印字制御情報を含む1行ま
たは複数行のデ−タが格納される。6eはペ−ジフォ−
マット情報で、設定されたフォ−マット情報が格納され
る。6fはモ−ド設定情報で、設定中の各種モ−ド情報
が格納される。6gはタイピングモ−ド(C/Cモ−ド
,L/Lモ−ド,文書の登録/編集モ−ド)が格納され
る。6hはスペルチェックモ−ドで、キ−ボ−ド2のダ
イオ−ド2aに設定されているSV/SVCの有効/無
効を表わす情報とキ−ボ−ド2から入力されるSPEL
Lキ−の入力手段により、スペルチェックの実行モ−ド
が記憶される。6iはユ−ザが特有な単語を登録するユ
−ザ辞書で、SV辞書またはSVC辞書に登録されてい
ない単語が登録される。6jは登録文書エリアで、前記
コレクションバッファ6dに格納される文字,記号の修
飾情報,印字制御情報に相当する登録文書を記憶する。
Reference numeral 2 denotes a keyboard which functions as an input means 100 for inputting characters such as letters and instructions (commands), and notifies the validity/invalidity of the spelling verify (SV) and spelling verify collector (SVC) dictionaries. It has a diode 2a consisting of an LED for indicating destination keyboard information and an LED for indicating destination keyboard information. Note that the diode 2a
is composed of D7 to D0, and D6 and D5 are SV/SVC
Indicates whether the information is valid, D4 indicates RAM size information,
D3 to D0 indicate country information. 3 is a display composed of, for example, an LCD or a CRT;
Functions as 40. The ROM 4 stores various control procedures and control information 4a executed by the CPU 1, including the processing procedure shown in FIG. 3, SVC dictionary type 4b, and SVC dictionary 4c.
is memorized. 6 is a RAM, which stores the storage means 120;
The input information entered by key from the input means 100, the character code converted into a key code from the input information, mode setting information, format information, document information, user information, etc. −
Expand the dictionary, etc. Note that RAM 6 contains keyboard 2.
It includes a line buffer for storing one line or multiple lines of documents input from. A key scan buffer 6a stores key scan information. Key scan data 6b stores the key scan data taken out from the key scan buffer 6a. 6c is key code
Keyboard code conversion data obtained by converting the key scan data 6b using the destination keyboard information of the diode 2a of the keyboard 2 is stored in the code data. Ru. A collection buffer 6d stores one or more lines of data including modification information of the characters and symbols converted into the key code, and print control information. 6e is page fore
The set format information is stored in the format information. 6f is mode setting information, and various mode information being set is stored. 6g stores typing modes (C/C mode, L/L mode, document registration/edit mode). 6h is spell check mode, which displays information indicating whether SV/SVC is enabled/disabled set in diode 2a of keyboard 2 and SPEL input from keyboard 2.
The spell check execution mode is memorized by the L key input means. 6i is a user dictionary in which the user registers unique words, and words not registered in the SV dictionary or SVC dictionary are registered. A registered document area 6j stores registered documents corresponding to the character and symbol modification information and print control information stored in the collection buffer 6d.

【0017】なお、CPU1は上記図1に示した単語検
索処理部170に対応し、ROM4に格納された単語検
索処理プログラムに基づいてそれぞれ各手段170a〜
170cに対応する処理を実行する構成となっている。
Note that the CPU 1 corresponds to the word search processing section 170 shown in FIG.
170c.

【0018】以下、図3,図4を参照しながら本発明に
係る文書処理装置におけるスペリング自動訂正処理につ
いて説明する。
The automatic spelling correction process in the document processing apparatus according to the present invention will be described below with reference to FIGS. 3 and 4.

【0019】図3は本発明に係る文書処理装置における
スペリング自動訂正処理推移を示す模式図であり、(a
)はカ−ソルKで指示される直前の単語「Weggle
−wiggle」が有効文字列として表示された状態に
対応し、(b)は候補単語の選択を促す「*SUGGE
STION*」をディスプレイ3に表示した状態に対応
し、(c)は候補単語がSVCの辞書に登録されていな
い場合、単語の有効文字列「Weggle」の次にカ−
ソルKを表示した状態に対応し、(d)は前記単語の有
効文字列の候補単語「wiggle」を表示し、入力手
段100からキ−入力された選択指示コマンドにより候
補単語の表示を順次行い、入力手段100から前記候補
単語の決定を促すキ−入力が行われた状態を示し、(e
)は選択された候補単語により自動訂正されたハイフン
等が含まれている有効文字列「wiggle−wigg
le」をディスプレイ3に表示した状態を示し、(f)
は前記有効文字列「wiggle−wiggle」の候
補単語「wiggle−waggle」の選択を行い、
ハイフン等の含まれている単語の自動訂正後の表示状態
を示す。
FIG. 3 is a schematic diagram showing the progress of the automatic spelling correction process in the document processing device according to the present invention.
) is the word "Weggle" immediately before the cursor K.
-wiggle" is displayed as a valid character string, and (b) corresponds to the state where "*SUGGE" is displayed as a valid character string.
(c) corresponds to the state in which "STION*" is displayed on the display 3. If the candidate word is not registered in the SVC dictionary, the cursor is displayed next to the valid character string "Weggle".
Corresponding to the state in which Sol K is displayed, (d) displays the candidate word "wiggle" of the valid character string of the word, and sequentially displays the candidate words in accordance with the selection instruction command input by key from the input means 100. (e
) is a valid character string “wiggle-wigg” that contains hyphens, etc. that are automatically corrected according to the selected candidate word.
(f)
selects the candidate word “wiggle-waggle” for the valid character string “wiggle-wiggle”,
Shows the display state after automatic correction of words containing hyphens, etc.

【0020】図4〜図7は本発明に係る文書処理装置に
おけるスペリング自動訂正処理手順の一例を示すフロ−
チャ−トである。なお、(1)〜(43)は各ステップ
を示す。
FIGS. 4 to 7 are flowcharts showing an example of the automatic spelling correction processing procedure in the document processing apparatus according to the present invention.
It is a chart. Note that (1) to (43) indicate each step.

【0021】先ず、キ−を読み込み(1)、キ−ボ−ド
2からキ−入力されたかどうかを判定し(2)、キ−ス
キャンバッファ6aに格納されているキ−スキャンデ−
タの入力を行う。次に、キ−スキャンバッファ6aにキ
−入力があったときは、キ−入力がSPELLキ−かど
うかの判定を行い(3)、NOの場合はステップ(9)
以降に進み、YESの場合は図2に示すようにキ−ボ−
ド2のダイオ−ド2aに設定されているSV/SVCの
辞書の有効/無効を示す情報によりSVまたはSVCの
辞書が有効か否かの判定を行う(4)。この判定でNO
の場合は、SPELLキ−を他のファンクション、例え
ばLAYOUTキ−に変更を行った後(5)、YESの
場合はスペルチェックモ−ド6hの判定を行い(6)、
設定(ON)状態であれば、スペルチェックモ−ド6h
を解除(OFF)状態に切り換え(7)、ステップ(1
)に戻り、非設定状態であればスペルチェックモ−ド6
hを設定(ON)状態に切り換え(8)、ステップ(1
)に戻る。
First, a key is read (1), it is determined whether a key has been input from the keyboard 2 (2), and the key scan data stored in the key scan buffer 6a is read.
Enter data. Next, when there is a key input in the key scan buffer 6a, it is determined whether the key input is the SPELL key (3), and if NO, step (9) is performed.
If the answer is YES, press the keyboard as shown in Figure 2.
It is determined whether the SV or SVC dictionary is valid or not based on the information indicating the validity/invalidity of the SV/SVC dictionary set in the diode 2a of the board 2 (4). This judgment is NO
If YES, after changing the SPELL key to another function, such as the LAYOUT key (5), if YES, check spell check mode 6h (6),
If set (ON), spell check mode 6h
Switch to the OFF state (7), and step (1)
), and if it is not set, spell check mode 6
Switch h to the setting (ON) state (8), and step (1
).

【0022】次に、ステップ(9)において、そのキ−
入力がスペルコレクタ指令か否かの判定を行う。ここで
、否定判定がなされた場合には、ステップ(10)に進
み、キ−入力されたキ−スキャンデ−タ6bに対応した
キ−処理を行う。ここで、キ−スキャンデ−タ6bが文
字,記号等であれば、図2に示すキ−ボ−ド2のダイオ
−ド2aの仕向けキ−ボ−ド情報により、キ−コ−ド変
換が行われ、例えばASCIIコ−ドに対応したキ−コ
−ド情報がキ−コ−ドデ−タ6cに格納され、キ−コ−
ドデ−タ6cに基づいた文字,記号がコレクションバッ
ファ6dに文字,記号の修飾情報とともに順次格納され
る。次に、ステップ(11)において、キ−の実行が行
われたかどうかを判定し、ここで、否定判定がなされた
場合には、ステップ(12)において、エラ−ブザ−を
鳴らした後、ステップ(1)に戻る。
Next, in step (9), the key
Determines whether the input is a spell corrector command. If a negative determination is made here, the process proceeds to step (10), and key processing corresponding to the key-input key scan data 6b is performed. Here, if the key scan data 6b is characters, symbols, etc., the key code conversion is performed according to the destination keyboard information of the diode 2a of the keyboard 2 shown in FIG. For example, the key code information corresponding to the ASCII code is stored in the key code data 6c, and the key code information is stored in the key code data 6c.
Characters and symbols based on the code data 6c are sequentially stored in the collection buffer 6d together with modification information of the characters and symbols. Next, in step (11), it is determined whether or not the key has been executed. If a negative determination is made here, in step (12), after sounding an error buzzer, the step Return to (1).

【0023】一方、ステップ(11)において、肯定判
定がなされた場合には、ステップ(13)に進み、コレ
クションバッファ6dに格納された文字列の単語の区切
りを検出する。次いで、コレクションバッファ6dのカ
−ソルKまたはキャリッジで指示される単語「Wegg
le−wiggle」の区切りのスペ−スの次に位置し
ているかどうかを判定し(14)、ここで、肯定判定が
なされた場合には、スペルチェックモ−ド6hが実行モ
−ドかどうかを判定し(15)、NOの場合はステップ
(1)に戻り、YESの場合はコレクションバッファ6
dのカ−ソルKで指示される単語「Weggle−wi
ggle」のスペルチェック処理を行うため、SVCの
辞書種別4bにより辞書が有効かどうかの判定を行い(
16)、YESの場合はカ−ソルKで指示される前記単
語のスペルチェックとなるスペリングベリファイを行う
(17)。次いで、辞書に前記単語が登録されているか
どうかの判定を行い(18)、YESならばミススペル
を指示するブザ−を鳴らす(19)。
On the other hand, if an affirmative determination is made in step (11), the process proceeds to step (13), where a word break in the character string stored in the collection buffer 6d is detected. Next, the word "Wegg" indicated by the cursor K or carriage in the collection buffer 6d is
It is determined whether the spelling is located next to the delimiting space of "le-wiggle" (14), and if an affirmative determination is made here, it is determined whether the spell check mode 6h is the execution mode or not. (15), if NO, return to step (1), if YES, return to collection buffer 6
The word "Weggle-wi" indicated by cursor K on d
ggle", it is determined whether the dictionary is valid using SVC's dictionary type 4b (
16) If YES, a spelling verify is performed to check the spelling of the word indicated by cursor K (17). Next, it is determined whether the word is registered in the dictionary (18), and if YES, a buzzer indicating a misspelling is sounded (19).

【0024】一方、ステップ(9)でYESの場合は、
ステップ(20)に進み、図2に示すキ−ボ−ド2のダ
イオ−ド2aのSV/SVC情報によりSVCの辞書4
cが有効か否かの判定を行い、ここで、肯定判定が成さ
れた場合は、コレクションバッファ6dのカ−ソルKで
指示される単語によりSVCの辞書4cの候補単語の検
索を行う(21)。次いで、前記単語の候補単語が登録
されているかどうかを判定し(22)、ここで、否定判
定がなされた場合は、単語の有効文字列の検出を行う(
23)。有効文字列の検出の例とし、図3(c)で示す
ように前記単語「Weggle−wiggle」の最終
文字からハイフンの位置にカ−ソルKを順次移動するこ
とにより単語の有効文字列を更新し、「Weggle」
を有効文字列として前記SVC4cの辞書の候補単語の
検索を行う。次いで、単語の有効文字列「Weggle
」の候補単語がSVCの辞書4cに登録されているかど
うかを判定し(24)、NOの場合はエラ−ブザ−およ
びエラ−メッセ−ジ等の表示を行い(25)、ステップ
(35)以降に進む。
On the other hand, if YES in step (9),
Proceeding to step (20), the SVC dictionary 4 is determined by the SV/SVC information of the diode 2a of the keyboard 2 shown in FIG.
It is determined whether or not c is valid, and if an affirmative determination is made here, a candidate word is searched for in the SVC dictionary 4c using the word indicated by the cursor K in the collection buffer 6d (21 ). Next, it is determined whether a candidate word for the word is registered (22), and if a negative determination is made here, a valid character string of the word is detected (
23). As an example of detecting a valid character string, as shown in FIG. 3(c), the valid character string of the word is updated by sequentially moving the cursor K from the last character of the word "Waggle-wiggle" to the hyphen position. ``Weggle''
A search for candidate words in the dictionary of the SVC 4c is performed using as a valid character string. Next, the valid character string of the word “Weggle
” is registered in the SVC dictionary 4c (24), and if NO, an error buzzer, an error message, etc. are displayed (25), and steps (35) and subsequent steps are performed. Proceed to.

【0025】一方、ステップ(24)でYESの場合は
、図3(c)で示すように、前記単語の有効文字列「W
eggle」を指示する表示を行い(26)、単語の有
効文字列による候補単語の選択を行うかどうかを操作者
に促す。次いで、キ−ボ−ド2から入力されたキ−スキ
ャンデ−タが格納されているキ−スキャンバッファ6a
からキ−スキャンデ−タ6bの入力を行う(27)。次
いで、キ−スキャンバッファ6aにキ−スキャンデ−タ
6bが格納されていれば(28)、そのキ−入力が前記
単語の有効文字列「Weggle」による候補単語「w
iggle」の選択を促すキ−かどうかを判定し(29
)、NOならばステップ(35)以降に進み、YESな
らば候補単語の選択処理ル−チンを実行し(30)、「
Weggle」を「wiggle」に変換する。
On the other hand, if YES in step (24), as shown in FIG. 3(c), the effective character string "W" of the word is
"eggle" is displayed (26), prompting the operator to select a candidate word based on the valid character string of the word. Next, the key scan buffer 6a stores the key scan data input from the keyboard 2.
The key scan data 6b is input from (27). Next, if the key scan data 6b is stored in the key scan buffer 6a (28), the key input corresponds to the candidate word "w" based on the valid character string "Waggle" of the word.
Determine whether the key prompts you to select "Iggle" (29
), if NO, proceed to step (35) and after, and if YES, execute candidate word selection processing routine (30),
Convert "Weggle" to "wiggle".

【0026】次いで、最終コ−ドが単語の区切りかどう
かを判定し(31)、NOの場合は、ステップ(23)
に戻り、図3(e)に示すように、単語のハイフン以降
の有効文字列「wiggle」の検出処理を行うことに
より、ハイフン以降の有効文字列の候補単語の選択を行
う。
Next, it is determined whether the final code is a word break (31), and if NO, step (23) is performed.
Returning to FIG. 3E, as shown in FIG. 3(e), candidate words for the valid character string after the hyphen are selected by performing detection processing for the valid character string "wiggle" after the hyphen in the word.

【0027】一方、ステップ(31)でYESの場合は
、ステップ(23)〜(30)により訂正された単語「
Wiggle−wiggle」によりSVCの辞書4c
の候補単語の検索を行う(32)。次いで、前記有効文
字列文字列「Wiggle−wiggle」の候補単語
が登録されているかどうかの判定を行い(33)、YE
Sならば候補単語の選択処理ル−チンを実行し(34)
、図3(f)で示すコレクションバッファ6dのカ−ソ
ルKで指示される単語「wiggle−waggle」
を含む行表示の再表示を行った後(35)、ステップ(
1) に戻る。
On the other hand, if YES in step (31), the corrected word "
SVC dictionary 4c by “Wiggle-wiggle”
A search for candidate words is performed (32). Next, it is determined whether a candidate word for the valid character string "Wiggle-wiggle" is registered (33), and YE
If S, execute candidate word selection processing routine (34).
, the word "wiggle-waggle" indicated by the cursor K of the collection buffer 6d shown in FIG. 3(f).
After redisplaying the line display containing (35), step (
Return to 1).

【0028】一方、上記ステップ(30),(34)に
おける候補単語の選択処理ル−チンでは、先ず、図3(
d)で示すように候補単語の表示が行われ(36)、次
に、キ−ボ−ド2から入力されたキ−スキャンデ−タが
格納されているキ−スキャンバッファ6aからキ−スキ
ャンデ−タ6bの入力を行う(37)。次いで、キ−入
力を待機し(38)、キ−スキャンバッファ6aにキ−
スキャンデ−タ6bが格納されていれば、そのキ−入力
が候補単語の選択を促すキ−かどうかを判定し(39)
、YESならば次の候補単語を選択した後(40)、ス
テップ(36)に戻り、NOならば現在表示されている
候補単語の決定を促すキ−かどうかを判定し(41)、
NOならばエラ−ブザ−を鳴らした後(42)、ステッ
プ(37)に戻る。
On the other hand, in the candidate word selection processing routine in steps (30) and (34) above, first, the process shown in FIG.
As shown in d), candidate words are displayed (36), and then the key scan data is read from the key scan buffer 6a in which the key scan data input from the keyboard 2 is stored. The data is input to the data 6b (37). Next, it waits for a key input (38), and stores the key in the key scan buffer 6a.
If the scan data 6b is stored, it is determined whether the key input is a key that prompts selection of a candidate word (39).
, if YES, the next candidate word is selected (40), and the process returns to step (36); if NO, it is determined whether the key prompts the selection of the currently displayed candidate word (41);
If NO, the process returns to step (37) after sounding an error buzzer (42).

【0029】一方、ステップ(41)でYESの場合は
、現在選択され、また表示されている候補単語「wig
gle」を前記コレクションバッファ6dのカ−ソルK
で指示される単語「weggle」を置き換えることに
より、単語の自動訂正を行い(43)、メインル−チン
にリタ−ンする。
On the other hand, if YES in step (41), the currently selected and displayed candidate word "wig"
gle” to the cursor K of the collection buffer 6d.
By replacing the word "weggle" indicated by , the word is automatically corrected (43) and the process returns to the main routine.

【0030】なお、上記実施例では特にタイピングモ−
ド(C/Cモ−ド,L/Lモ−ド)における処理手順を
示しているが、既に登録されている登録文書のカ−ソル
Kで指示される単語のミススペルの判定、またスペルコ
レクタの辞書による候補単語の選択を行うことにより、
ミススペルとなった単語の自動訂正を行うことも可能で
ある。
[0030] In the above embodiment, especially the typing mode
The process shown here shows the processing procedure in C/C mode, L/L mode, but it is also possible to determine the misspelling of the word indicated by the cursor K in the registered document that has already been registered, and also to use the spell corrector. By selecting candidate words using the dictionary,
It is also possible to automatically correct misspelled words.

【0031】[0031]

【発明の効果】以上説明したように、この発明は候補検
索手段による入力単語に対する正綴り単語候補の検出結
果に基づいて入力単語に対する有効文字列を自動検出し
て表示手段に表示する有効文字列検出手段と、この有効
文字列検出手段により検出された有効文字列に対する選
択指示に基づいて候補検索手段による正綴り単語候補検
索処理を自動再開する再開手段とを設けたので、従来は
候補検索不能となるような記号を含む文字列からなる単
語に対する正綴り文字検索処理および訂正処理を少ない
キ−操作で有効、かつ確実に実行できる。
As explained above, the present invention provides an effective character string that automatically detects a valid character string for an input word based on the detection result of correct spelling word candidates for the input word by the candidate search means and displays it on the display means. Since the detection means and the restart means automatically restart the correct spelling word candidate search process by the candidate search means based on the selection instruction for the valid character string detected by the valid character string detection means are provided, it is impossible to search for candidates in the past. To effectively and reliably perform correct spelling character search processing and correction processing for a word consisting of a character string including a symbol such as , with a small number of key operations.

【0032】また、有効文字列検出手段は、入力単語中
の記号または特定コ−ドに基づいて有効文字列を検出す
るように構成したので、候補検索不能となるような記号
を含む文字列であっても、候補検索に有効な文字列を確
実に検出できる。
[0032] Furthermore, since the valid character string detection means is configured to detect valid character strings based on symbols or specific codes in the input word, it is possible to detect valid character strings based on symbols or specific codes in the input word. Even if there are characters, it is possible to reliably detect character strings that are effective for candidate search.

【0033】従って、候補検索不能となるような記号を
含む文字列からなる単語に対しても正綴り単語候補選択
処理が有効となり、正綴り単語候補処理効率を格段に向
上できる等の効果を奏する。
[0033] Therefore, the correct spelling word candidate selection process is effective even for words consisting of character strings that include symbols that make it impossible to search for candidates, and effects such as the ability to significantly improve the correct spelling word candidate processing efficiency are achieved. .

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

【図1】本発明の一実施例を示す文書処理装置の構成を
説明するブロック図である。
FIG. 1 is a block diagram illustrating the configuration of a document processing device showing an embodiment of the present invention.

【図2】図1に示した文書処理装置の具体的構成例を示
すブロック図である。
FIG. 2 is a block diagram showing a specific configuration example of the document processing device shown in FIG. 1;

【図3】本発明に係る文書処理装置におけるスペリング
自動訂正処理推移を示す模式図である。
FIG. 3 is a schematic diagram showing the progress of automatic spelling correction processing in the document processing device according to the present invention.

【図4】本発明に係る文書処理装置におけるスペリング
自動訂正処理手順の一例を示すフロ−チャ−トである。
FIG. 4 is a flowchart showing an example of an automatic spelling correction processing procedure in the document processing device according to the present invention.

【図5】本発明に係る文書処理装置におけるスペリング
自動訂正処理手順の一例を示すフロ−チャ−トである。
FIG. 5 is a flowchart showing an example of an automatic spelling correction processing procedure in the document processing device according to the present invention.

【図6】本発明に係る文書処理装置におけるスペリング
自動訂正処理手順の一例を示すフロ−チャ−トである。
FIG. 6 is a flowchart showing an example of an automatic spelling correction processing procedure in the document processing device according to the present invention.

【図7】本発明に係る文書処理装置におけるスペリング
自動訂正処理手順の一例を示すフロ−チャ−トである。
FIG. 7 is a flowchart showing an example of an automatic spelling correction processing procedure in the document processing device according to the present invention.

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

100    入力手段 100a  指示手段 110    入力制御手段 120    記憶手段 120a  SVC辞書メモリ 120b  文書格納エリア 130    表示制御手段 140    表示手段 150    印字制御手段 160    印字手段 170    単語検索処理部 170a  候補検索手段 170b  有効文字列検索手段 170c  訂正手段 100 Input means 100a Instruction means 110 Input control means 120 Memory means 120a SVC dictionary memory 120b Document storage area 130 Display control means 140 Display means 150 Printing control means 160 Printing means 170 Word search processing unit 170a Candidate search means 170b Valid character string search means 170c Correction means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】正綴り単語候補検索を指示する指示手段と
、この指示手段による正綴り単語候補検索指示に基づい
てあらかじめ登録された機能辞書デ−タベ−スを参照し
ながら入力単語に対する正綴り単語候補を検索して表示
手段に出力する候補検索手段と、この候補検索手段によ
り検索されて選択された正綴り単語候補により入力単語
を置換訂正する訂正手段とを有する文書処理装置におい
て、前記候補検索手段による入力単語に対する正綴り単
語候補の検出結果に基づいて前記入力単語に対する有効
文字列を自動検出して前記表示手段に表示する有効文字
列検出手段と、この有効文字列検出手段により検出され
た有効文字列に対する選択指示に基づいて前記候補検索
手段による正綴り単語候補検索処理を自動再開する再開
手段とを具備したことを特徴とする文書処理装置。
1. An instruction means for instructing a correct spelling word candidate search, and a correct spelling for an input word while referring to a pre-registered functional dictionary database based on the correct spelling word candidate search instruction by the instruction means. A document processing device comprising a candidate search means for searching and outputting a word candidate to a display means, and a correction means for replacing and correcting an input word with a correctly spelled word candidate searched and selected by the candidate search means. effective character string detection means for automatically detecting a valid character string for the input word based on the detection result of correct spelling word candidates for the input word by the search means and displaying the valid character string on the display means; A document processing apparatus comprising: a resuming means for automatically restarting correct spelling word candidate search processing by the candidate retrieving means based on a selection instruction for a valid character string.
【請求項2】有効文字列検出手段は、入力単語中の記号
または特定コ−ドに基づいて有効文字列を検出すること
を特徴とする請求項1記載の文書処理装置。
2. The document processing apparatus according to claim 1, wherein the valid character string detection means detects a valid character string based on a symbol or a specific code in an input word.
JP3072174A 1991-03-13 1991-03-13 Document processor Pending JPH04283856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3072174A JPH04283856A (en) 1991-03-13 1991-03-13 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3072174A JPH04283856A (en) 1991-03-13 1991-03-13 Document processor

Publications (1)

Publication Number Publication Date
JPH04283856A true JPH04283856A (en) 1992-10-08

Family

ID=13481600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3072174A Pending JPH04283856A (en) 1991-03-13 1991-03-13 Document processor

Country Status (1)

Country Link
JP (1) JPH04283856A (en)

Similar Documents

Publication Publication Date Title
JPH02289046A (en) Document preparing device
JPH04283856A (en) Document processor
JP2004109842A (en) Electronic dictionary device
JP3103179B2 (en) Document creation device and document creation method
JPS63149758A (en) Information processor
JPH045224B2 (en)
JP3335859B2 (en) Document creation apparatus and shift error correction method
JPH09138835A (en) Character recognition system
JPH09131947A (en) Character modification device
JPH01308674A (en) Electronic typewriter
JPS63192157A (en) Document processor
JPH0528158A (en) Word processor
JPS60253572A (en) Blank filling printing system
JPS5827268A (en) Japanese word processing device
JPH0422653A (en) Printer
JPH0512267A (en) Automatic paragraphing system
JPH0719189B2 (en) Data input device
JP2002236678A (en) Document processor and its spelling correction method
JPH10198672A (en) Document preparing device and shift miss correcting method
JPH04260969A (en) Document forming device
JPS6365564A (en) Japanese language input processing system for question-answer system
JPS63192156A (en) Information processor
JPS63111571A (en) Word processor
JPH0643990A (en) Method and device for inputting character
JPS6097426A (en) Japanese input device