JPH0452961A - German-language document processor - Google Patents

German-language document processor

Info

Publication number
JPH0452961A
JPH0452961A JP2163161A JP16316190A JPH0452961A JP H0452961 A JPH0452961 A JP H0452961A JP 2163161 A JP2163161 A JP 2163161A JP 16316190 A JP16316190 A JP 16316190A JP H0452961 A JPH0452961 A JP H0452961A
Authority
JP
Japan
Prior art keywords
german
word
data
candidate
buffer
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
JP2163161A
Other languages
Japanese (ja)
Inventor
Akihiko Niwa
明彦 丹羽
Shoji Sakuragi
桜木 章二
Hajime Kumazawa
熊澤 一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2163161A priority Critical patent/JPH0452961A/en
Publication of JPH0452961A publication Critical patent/JPH0452961A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は独語文書処理装置に関し、スペルチェック/候
補単語検索用辞書メモリとしてドイツ独語の辞書メモリ
を設け、この辞書メモリをコードデータ変換を介してス
イス独語にも適用可能にしたものに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a German language document processing device, in which a German-German dictionary memory is provided as a spell check/candidate word search dictionary memory, and this dictionary memory is used through code data conversion. This book is about things that can be applied to Swiss German as well.

〔従来技術〕[Prior art]

従来、ワードプロセッサやタイプライタなどの文書処理
装置であって独語文書処理装置には、独語辞書メモリを
備え、各単語をスペルチェックし且つミススペル単語に
関連する候補単語を検索してデイスプレィに表示するよ
うにしたものが広く実用に供されている。
Conventionally, German document processing devices, such as word processors and typewriters, are equipped with a German dictionary memory to check the spelling of each word, search for candidate words related to misspelled words, and display them on a display. It is widely used in practical applications.

ところで、ドイツ国内で用いられるドイツ独語とスイス
国内で用いられるスイス独語とでは若干の相違があり、
ドイツ独語の「β」 (エスツェット)の代わりにスイ
ス独語ではrssJが用いられることから、ドイツ独語
用文書処理装置にはドイツ独語の多数の単語を格納した
辞書メモリが設けられ、またスイス独語用文書処理装置
にはスイス独語の多数の単語を格納した辞書メモリが設
けられる。尚、独語文書処理装置のキーボードは、通常
出荷前にメーカーサイドにおいてその入出力ボートの所
定端子間をソルダーポイントで接続することによりドイ
ツ独語用又はスイス独語用に固定的に設定されるが、ド
イツ独語とスイス独語の両方に適用可能にする場合はキ
ーボード設定切換スイッチで択一的に設定するように構
成することも出来る。
By the way, there are some differences between the German language used in Germany and the Swiss German language used in Switzerland.
Since rssJ is used in Swiss German instead of "β" (eszett) in German German, the document processing device for German German is equipped with a dictionary memory that stores a large number of German words. The processing device is provided with a dictionary memory containing a large number of Swiss German words. Note that the keyboard of a German document processing device is usually fixedly set for German German or Swiss German by connecting specified terminals of the input/output board with solder points at the manufacturer's side before shipping. If you want to make it applicable to both German and Swiss German, you can configure it so that it can be set alternatively using a keyboard setting changeover switch.

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

前述のように、ドイツ独語用文書処理装置とスイス独語
用文書処理装置に対して独語辞書メモリを共通化出来な
いので、ドイツ独語にもまたスイス独語にも適用可能な
独語文書処理装置には、ドイツ独語の辞書メモリとスイ
ス独語の辞書メモリを設けなければならない。それ故、
独語辞書メモリの容量が2倍に大容量化すること、製作
コストが高価になること、などの問題がある。
As mentioned above, it is not possible to share the German dictionary memory with the German document processing device and the Swiss German document processing device, so the German document processing device that can be applied to both German and Swiss German has A German-German dictionary memory and a Swiss-German dictionary memory must be provided. Therefore,
Problems include doubling the capacity of the German dictionary memory and increasing production costs.

本発明の目的は、ドイツ独語の辞書メモリをドイツ独語
にもスイス独語にも適用可能にした独語文書処理装置を
提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a German document processing device in which a German dictionary memory can be applied to both German German and Swiss German.

〔課題を解決するための手段] 本発明に係る独語文書処理装置は、第1図の機能ブロッ
ク図に示すように、独語用の文字や記号及び種々の指令
を入力する為の入力手段と、複数の文字列を表示可能な
表示手段と、入力された或いは予めメモリに格納された
単語のデータを順々に受けて格納する単語バッファと、
ドイツ独語の多数の単語のスペル情報を格納した辞書メ
モリと、単語バッファから単語のデータを受けて各単語
について辞書メモリを介してスペルチェックを行なうス
ペルチェック手段と、スペルチェック手段でミススペル
と判定されたミススペル単語に関連スる候補単語を辞書
メモリから検索する候補単語検索手段と、検索された候
補単語を表示手段に表示させる表示制御手段とを備えた
独語文書処理装置において、前記入力手段をドイツ独語
用又はスイス独語用に択一的に設定する為の設定手段と
、前記設定手段で入力手段がスイス独語用に設定されて
いるときに単語バッファから受ける各単語のデータに含
まれているrssJのコードデータをrB Jのコード
データに変換してその各単語のデータをスペルチェック
手段と候補単語検索手段に供給する第1データ変換手段
と、 前記候補単語検索手段で検索された候補単語のデータに
含まれている「β」のコードデータをrSSJのコード
データに変換する第2データ変換手段とを備えたもので
ある。
[Means for Solving the Problems] As shown in the functional block diagram of FIG. 1, a German document processing device according to the present invention includes an input means for inputting characters and symbols for German and various commands; a display means capable of displaying a plurality of character strings; a word buffer that sequentially receives and stores word data input or stored in a memory in advance;
A dictionary memory that stores spelling information for a large number of German words, a spell check means that receives word data from a word buffer and performs a spell check on each word via the dictionary memory, and a spell check means that detects spelling errors that are determined to be misspelled by the spell check means. A German language document processing device comprising a candidate word search means for searching a dictionary memory for a candidate word related to a misspelled word, and a display control means for displaying the searched candidate word on a display means. a setting means for selectively setting for German or Swiss German; and rssJ included in the data of each word received from the word buffer when the input means is set for Swiss German in the setting means. first data conversion means converting the code data of rBJ into code data of rBJ and supplying the data of each word to the spell check means and the candidate word search means; and the data of the candidate words searched by the candidate word search means. and a second data conversion means for converting code data of "β" included in code data of rSSJ.

〔作用〕[Effect]

本発明に係る独語文書処理装置においては、基本的には
、単語バッファに順々に格納される単語について辞書メ
モリを介してスペルチェック手段によりスペルチェック
がなされ、ミススペル単語のときには候補単語検索手段
により辞書メモリを介して候補単語が検索されて表示手
段に表示される。
In the German language document processing device according to the present invention, basically, the words stored in the word buffer one after another are spell-checked by the spell-checking means via the dictionary memory, and when a misspelled word is found, the candidate word searching means is used to check the spelling of the words. Candidate words are searched through the dictionary memory and displayed on the display means.

ここで、辞書メモリにはドイツ独語の単語が格納されて
いることから、入力手段が設定手段でドイツ独語用に設
定されているときには、何ら支障なくスペルチェック及
び候補単語検索を実行できる。
Here, since German words are stored in the dictionary memory, when the input means is set for German German by the setting means, spell checking and candidate word searches can be performed without any problem.

入力手段がスイス独語用に設定されているときには、ド
イツ独語の辞書メモリを用いてスペルチェックと候補単
語検索を可能にする為、第1データ変換手段は単語のデ
ータに含まれるrs SJのコードデータを「β」のコ
ードデータに変換して(ドイツ独語の単語に変換して)
その各単語のデータをスペルチェック手段と候補単語検
索手段に供給する。更に、辞書メモリから検索された候
補単語はドイツ独語の単語なので、それらをスイス独語
の単語に変換して出力したりメモリに記憶したりする為
、第2データ変換手段は候補単語のデータに含まれてい
る「β」のコードデータを「ss」のコードデータに変
換する。
When the input means is set for Swiss German, the first data conversion means converts the rs SJ code data included in the word data to enable spell checking and candidate word searches using the German German dictionary memory. Convert to "β" code data (convert to German word)
The data for each word is supplied to spell check means and candidate word search means. Furthermore, since the candidate words retrieved from the dictionary memory are German German words, the second data conversion means is included in the candidate word data in order to convert them into Swiss German words and output or store them in the memory. Convert the code data of "β" that is included into the code data of "ss".

〔発明の効果〕〔Effect of the invention〕

本発明に係る独語文書処理装置によれば、ドイツ独語の
辞書メモリを備えスペルチェック及び候補単語検索機能
を備えた独語文書処理装置に、設定手段と第1データ変
換手段と第2データ変換手段を設けたことにより、スイ
ス独語で入力された単語についてもドイツ独語の辞書メ
モリを適用して文書の処理が可能となる。
According to the German document processing device according to the present invention, the German document processing device includes a German-German dictionary memory and spell check and candidate word search functions, and includes a setting device, a first data conversion device, and a second data conversion device. By providing this, it becomes possible to process documents by applying the German-German dictionary memory even to words input in Swiss German.

つまり、辞書メモリからスイス独語の辞書メモリを省略
して辞書メモリを小容量化できること、その製作コスト
を低減できること、などの効果が得られる。
In other words, it is possible to omit the Swiss-German dictionary memory from the dictionary memory, thereby reducing the capacity of the dictionary memory and reducing its manufacturing cost.

〔実施例〕〔Example〕

以下、本発明の実施例について図面に基いて説明する0
本実施例は独語用電子タイプライタに本発明を適用した
場合のものである。
Hereinafter, embodiments of the present invention will be explained based on the drawings.
This embodiment is a case where the present invention is applied to an electronic typewriter for German language.

第2図に示すように、電子タイプライタ1の本体フレー
ム2の前部にはキーボード3が配設され、キーボード3
の後方で本体フレーム2内にはデイジ−ホイール式の印
字機構PMが配設されている。
As shown in FIG. 2, a keyboard 3 is disposed at the front of the main body frame 2 of the electronic typewriter 1.
A daisy-wheel type printing mechanism PM is disposed within the main body frame 2 at the rear of the main body frame 2.

また、この本体フレーム2には1行分の複数の単語を表
示可能な液晶デイスプレィ10が配設されている。
Further, a liquid crystal display 10 capable of displaying one line of a plurality of words is disposed on the main body frame 2.

キーボード3には、独語用アルファベットキーと数字キ
ーと記号キーとを含む文字キー、スペースキー、リター
ンキー、デイスプレィ10上のカーソルを左右方向に夫
々移動させるためのカーソル移動キー、スペルチェック
モードを設定或いは解除するためのスペルチェックモー
ド設定キー及びその他種々の機能キーが設けられている
。
The keyboard 3 has character keys including German alphabet keys, numeric keys, and symbol keys, a space key, a return key, cursor movement keys for moving the cursor on the display 10 left and right, and a spell check mode. Alternatively, a spell check mode setting key for canceling the spell check mode and various other function keys are provided.

更に、キーボード3には、それをドイツ独語用又はスイ
ス独語用に択一的に切換える為のキーボード設定スイッ
チ30(第3図参照)が設けられている。尚、スイス独
語用に設定したときには「β」 (エスツエット)の文
字キーからの入力が無効である。
Furthermore, the keyboard 3 is provided with a keyboard setting switch 30 (see FIG. 3) for selectively switching the keyboard between German German and Swiss German. Note that when set for Swiss German, input from the character key "β" (estuette) is invalid.

印字機構PMには、少なくとも、印字用紙を紙送りする
プラテン4とそれを駆動するステッピングモータ、プラ
テン4に平行なガイドに支持されたキャリッジ5とそれ
を左右方向へ往復駆動するステッピングモータ、ホイー
ルカセットに収容された活字ホイール6とそれを駆動す
るステッピングモータ、リボンカセット7に収納された
印字リボン8とそれを巻取るステッピングモータ、活字
ホイール6の活字を打撃するソレノイド9などが設けら
れ、これらのステッピングモータやソレノイド9は駆動
回路からの駆動信号で夫々駆動される。
The printing mechanism PM includes at least a platen 4 that feeds printing paper, a stepping motor that drives it, a carriage 5 that is supported by a guide parallel to the platen 4, a stepping motor that drives it back and forth in the left and right direction, and a wheel cassette. A type wheel 6 housed in the type wheel 6 and a stepping motor that drives it, a type ribbon 8 housed in the ribbon cassette 7 and a stepping motor that winds it, a solenoid 9 that hits the type on the type wheel 6, etc. are provided. The stepping motor and solenoid 9 are each driven by a drive signal from a drive circuit.

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

表示機構DMは、液晶デイスプレィIOと、このデイス
プレィ10に表示データを出力するための表示用RAM
及び文字や記号などの多数のドツトパターンを格納した
キャラクタジェネレータROMを含むデイスプレィコン
トローラ11とを備えた一般的な構成のものである。尚
、符号AMはブザー12とその駆動回路13とを備えた
アラーム機構である。
The display mechanism DM includes a liquid crystal display IO and a display RAM for outputting display data to the display 10.
and a display controller 11 including a character generator ROM storing a large number of dot patterns such as characters and symbols. Incidentally, the symbol AM is an alarm mechanism including a buzzer 12 and its drive circuit 13.

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

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

前記スペルチェック/候補単語検索制御プログラムには
、入力された或いは予めテキストメモリ22に入力格納
された各単語についてスペルチェック処理を実行するた
めのスペルチェック処理サブルーチンとミススペル単語
に関連する候補単語を辞書メモリ18から検索する候補
単語検索処理サブルーチンとが含まれている。
The spell check/candidate word search control program includes a spell check processing subroutine for executing a spell check process for each word input or previously input and stored in the text memory 22, and a dictionary for searching candidate words related to misspelled words. A candidate word search processing subroutine for searching from memory 18 is included.

ROM1Bの独語辞書メモリには、独語の単語のスペル
をチエツクするために、例えば約70゜000語のドイ
ツ独語の単語に関するスペルデータが通常の辞書と同様
にアルファベット順に格納されている。
In the German language dictionary memory of the ROM 1B, spelling data relating to, for example, about 70.000 German words is stored in alphabetical order in the same way as a normal dictionary, in order to check the spelling of German words.

ここで、スペルチェック処理は周知の一般的なものなの
で簡単に説明すると、キーボード3から入力データバッ
ファ21に入力され入力データバッファ21から順々に
単語バッファ21に格納された各単語について或いはキ
ーボード3から入力データバッファ21を経てテキスト
メモリ22に予め入力格納され且つテキストメモリ22
から単語バッファ21に供給された各単語についてRO
M1Bの辞書メモリに格納した多数の単語と比較してス
ペルをチエツクするものである。
Here, since the spell check process is a well-known and general process, it will be briefly explained. is inputted and stored in advance in the text memory 22 via the input data buffer 21 from the text memory 22.
RO for each word supplied to the word buffer 21 from
The spelling is checked by comparing it with a large number of words stored in the M1B's dictionary memory.

候補単語検索処理は周知の一般的なものなので簡単に説
明すると、ミススペル単語の各文字をアルファベットの
各文字と入れ換えた単語が独語辞書メモリ18に存在す
るか否かを順次繰り返して検索し、或いは同様の発音等
でスペルを間違い易い規則に基いて文字列を入れ換える
等して検索し、ミススペル単語に関連する正しいスペル
の候補単語を検索するものである。
Candidate word search processing is a well-known and general process, so to briefly explain it, it is sequentially and repeatedly searched to see if a word in which each letter of the misspelled word is replaced with each letter of the alphabet exists in the German dictionary memory 18, or This search is performed by replacing character strings based on rules that make misspellings easier with similar pronunciations, etc., and searches for correctly spelled candidate words related to misspelled words.

RAM20には、キーボード3から順々に入力される1
行分の文書のデータを更新しつつ格納する入力データバ
ッファ21(但し、通常の場合このデータがデイスプレ
ィ10に表示される)と、ストアモードのときに入力デ
ータバッファ21から順々に供給される1行分ずつの文
書のデータを累積的に格納していくテキストメモリ22
と、スペルチェックモードのときにタイプライタモード
やL/Lモードにおいて入力データバッファ21から順
々に供給される1単語の単語データを格納し或いはスト
アモードにおいてテキストメモリ22から順々に供給さ
れる1単語の単語データを格納する単語バッファ23と
、各ミススペル単語の1ないし複数の候補単語が検索さ
れる都度その候補単語のデータを格納していく候補単語
メモリ24と、デイスプレィコントローラ11へ供給す
れる1ないし複数の候補単語のデータを格納する候補表
示用バッファ25と、候補単語メモリ24内の候補単語
を先頭のものから順々に指示する単語ポインタWPを格
納する単語ポインタメモリ26と、キーボード設定スイ
ッチ30により設定されるキーボード3の設定状態を示
すキーボードフラグKF (KF=0 :ドイッ独語用
、KF=1ニスイス独語用)を格納するキーボードフラ
グメモリ27と、スペルチェックモードを示すフラグを
格納するスペルチェックモードフラグメモリ28と、そ
の他種々のバッファやメモリなどが設けられている。
The RAM 20 contains 1 which is input in sequence from the keyboard 3.
The input data buffer 21 stores the document data for each line while updating it (however, normally, this data is displayed on the display 10), and the input data buffer 21 supplies data in sequence during the store mode. A text memory 22 that cumulatively stores document data line by line.
When in the spell check mode, word data for one word is sequentially supplied from the input data buffer 21 in the typewriter mode or L/L mode, or is sequentially supplied from the text memory 22 in the store mode. A word buffer 23 that stores word data for one word, a candidate word memory 24 that stores data of one or more candidate words for each misspelled word each time the candidate word is searched, and supply to the display controller 11. a candidate display buffer 25 that stores data of one or more candidate words to be passed; a word pointer memory 26 that stores a word pointer WP that sequentially indicates candidate words in the candidate word memory 24 starting from the first one; A keyboard flag memory 27 stores a keyboard flag KF (KF=0: for German German, KF=1 for German German) indicating the setting state of the keyboard 3 set by the keyboard setting switch 30, and a flag indicating a spell check mode. A spell check mode flag memory 28 for storing the spell check mode flag and various other buffers and memories are provided.

次に、スペルチェック及び候補単語検索制御のルーチン
のフローチャートについて第4図〜第6図に基いて説明
する。尚、図中符号Si (i=1.2、・・・)は各
ステップを示す。
Next, a flowchart of a spell check and candidate word search control routine will be described with reference to FIGS. 4 to 6. Note that the symbol Si (i=1.2, . . . ) in the figure indicates each step.

第4図に示すように、電源の投入後制御が開始されると
、Slにおいて一般的な初期設定が実行されるとともに
、キーボード設定スイッチ30からの信号を読込みドイ
ツ独語用に設定の場合にはキーボードフラグKF=Oに
、またスイス独語用に設定の場合にはキーボードフラグ
KF=1に設定される。
As shown in FIG. 4, when the control is started after the power is turned on, general initial settings are executed in Sl, and the signal from the keyboard setting switch 30 is read. The keyboard flag KF=O is set, and when the setting is for Swiss German, the keyboard flag KF=1 is set.

次に、印字機構PMのキャリッジの原点位置及び活字ホ
イール6の原点位置を設定するなど印字機構PMの初期
設定が実行される(S2)。
Next, initial settings of the printing mechanism PM are performed, such as setting the origin position of the carriage of the printing mechanism PM and the origin position of the type wheel 6 (S2).

次に、キーボード3に対するキースキャンが実行され(
S3)、キー人力が有ると通常の電子タイプライタと同
様に操作されたキーに対応する処理が実行される(S4
)。オペレーターがスペルチェックモード設定キーを操
作すると、スペルチェックモードフラグ28がセットさ
れるが、以下このスペルチェックモードが設定されたも
のとして説明する。ここで、タイプライタモードやL/
Lモードのときキー操作により入力される文字のコード
データが順々に入力データバッファ21に入力され、単
語の末尾文字に後続する区切りコード(スペース、カン
マ、セミコロン、コロン、ピリオドなど)が入力される
と、入力データバッファ21の最新の1単語の単語デー
タは単語バッファ23へ書込まれ、その単語バッファ2
3内の単語についてスペルチェック処理と候補単語検索
処理が実行されることになる。
Next, a key scan for keyboard 3 is executed (
S3) If there is human power on the key, the process corresponding to the operated key is executed in the same way as on a normal electronic typewriter (S4
). When the operator operates the spell check mode setting key, the spell check mode flag 28 is set, and the following description will be made assuming that this spell check mode has been set. Here, typewriter mode and L/
In the L mode, the code data of characters input by key operations are input in sequence to the input data buffer 21, and the delimiter code (space, comma, semicolon, colon, period, etc.) following the last character of a word is input. Then, word data for the latest word in the input data buffer 21 is written to the word buffer 23, and the word data of the latest word in the input data buffer 21 is written to the word buffer 23.
Spell check processing and candidate word search processing will be executed for the words in 3.

次に、S5において区切りコードか否か判定され、No
のときはS3へ戻りまたY’e sのときはS6におい
てスペルチェック及び候補単語検索処理のサブルーチン
(第5図参照)が実行される。
Next, in S5, it is determined whether or not it is a delimiter code, and No.
If so, the process returns to S3, and if Y'es, a subroutine for spell checking and candidate word search processing (see FIG. 5) is executed in S6.

スペルチェック及び候補単語検索処理のサブルーチンに
ついて第5図のフローチャートにより説明すると、最初
に単語バッファ23から単語データが読込まれ(S20
)、次にその単語データにエラーが有るか否か(つまり
、数字や記号のコードデータが含まれているか否か)判
定され(S21)、エラーが有るときにはS22におい
て駆動回路13を介してブザー12が駆動され、第4図
のメインルーチンへ復帰する。エラーがないときにはキ
ーボードフラグKF= 1か否か判定され(S23)、
キーボード3がドイツ独語用に設定されているとき(K
F=Oのとき)にはS26へ移行し、またキーボード3
がスイス独語用に設定されているとき(KF=1のとき
)にはS24において前記単語データ中にrssJのコ
ードデータ(つまり、2つのrs」のコードデータが連
続して含まれている)が有るか否か判定され、YeSの
ときには単語データに含まれている’SSJのコードデ
ータが「β」 (エスツェット)のコードデータに変換
される(325)。即ち、独語辞書メモリ18に格納さ
れているドイツ独語のスペルでスペルチェックする為で
ある。一方、S24の判定の結果NoのときにはS26
へ移行する。
The subroutine of spell check and candidate word search processing will be explained using the flowchart of FIG. 5. First, word data is read from the word buffer 23 (S20).
), then it is determined whether or not there is an error in the word data (that is, whether or not code data of numbers and symbols is included) (S21), and if there is an error, a buzzer is sounded via the drive circuit 13 in S22. 12 is activated, and the process returns to the main routine shown in FIG. If there is no error, it is determined whether the keyboard flag KF=1 (S23),
When keyboard 3 is set for German German (K
When F=O), the process moves to S26, and the keyboard 3
is set for Swiss German (KF=1), the code data of rssJ (that is, the code data of two rs' are included consecutively) is included in the word data in S24. It is determined whether the word exists or not, and if Yes, the code data of 'SSJ included in the word data is converted to the code data of "β" (Eszet) (325). That is, this is to check the spelling using the German spelling stored in the German dictionary memory 18. On the other hand, when the result of the determination in S24 is No, S26
Move to.

S26においては、該単語データに対して独語辞書メモ
リ18を用いてスペルチェック処理が実行される。次に
、スペルチェック処理の結果ミススペルであるか否か判
定され(S27)、No(7)ときには第4図のメイン
ルーチンへ復帰し、またミススペルのときには328に
おいて独語辞書メそり18を用いて前記ミススペル単語
に関連する候補単語を検索する候補単語検索処理が実行
される。
In S26, a spell check process is performed on the word data using the German dictionary memory 18. Next, it is determined whether or not there is a misspelling as a result of the spell check process (S27). If No (7), the process returns to the main routine shown in FIG. Candidate word search processing is performed to search for candidate words related to the misspelled word.

次に、候補単語検索処理で得られた1ないし複数の候補
単語のデータが候補単語メモリ24に格納され(S29
)、次に候補単語の数が単語ポインタWPの最大値WP
Mに与えられてRAM20のメモリに格納され(S30
)、次に331においてコード変換処理が実行され、そ
の後第4図のメインルーチンへ復帰する。
Next, data of one or more candidate words obtained in the candidate word search process is stored in the candidate word memory 24 (S29
), then the number of candidate words is the maximum value WP of the word pointer WP
M and stored in the memory of the RAM 20 (S30
), then code conversion processing is executed at 331, after which the process returns to the main routine of FIG.

前記コード変換処理のサブルーチンについて第6図のフ
ローチャートにより説明すると、最初に単語ポインタW
Pに「1」が書込まれ(340)、次に単語ポインタW
Pで指示された候補単語のデータが候補単語メモリ24
から読出され(341)、次にキーボードフラグKFが
セットされているか否か判定され(S42)、Noのと
き(キーボード3:ドイツ独語用)には345へ移行し
、またYesのとき(キーボード3ニスイス独語用)に
はその候補単語のコードデータ中に「β」(エスツェッ
ト)のコードデータが有るか否か判定され(S43)、
Yesのときには「6」のコードデータがrssJのコ
ードデータにコード変換され(S 44 )その後S4
5へ移行する。即ち、キーボード3がスイス独語用に設
定されているときには、ドイツ独語の候補単語をスイス
独語に変換しておく為である。一方、343の判定の結
果NoのときはrB 」が含まれておらず変換の必要が
ないので345へ移行する。
The subroutine of the code conversion process will be explained with reference to the flowchart of FIG.
"1" is written to P (340), and then the word pointer W
Data of the candidate word specified by P is stored in the candidate word memory 24.
(341), and then it is determined whether or not the keyboard flag KF is set (S42). (S43), it is determined whether there is code data for "β" (eszett) in the code data of the candidate word.
If Yes, the code data of "6" is code-converted to the code data of rssJ (S44), and then S4
Move to 5. That is, when the keyboard 3 is set for Swiss German, candidate words in German German are converted into Swiss German. On the other hand, if the result of the determination in step 343 is No, then the process moves to step 345 because "rB" is not included and there is no need for conversion.

次に、前記候補単語のデータが候補単語表示用バッファ
25へ格納され(345)、次に単語ポインタWPが「
1」だけインクリメントされ(S46)、次にWP=W
PM+1か否か判定され(S47)、Noのときには3
41〜S46が繰返され、全部の候補単語について34
1〜S46が終了すると第4図のメインルーチンへ復帰
する。
Next, the data of the candidate word is stored in the candidate word display buffer 25 (345), and then the word pointer WP is set to "
1” (S46), then WP=W
It is determined whether PM+1 or not (S47), and if no, 3
Steps 41 to S46 are repeated, and 34 steps are repeated for all candidate words.
When steps 1 to S46 are completed, the process returns to the main routine shown in FIG.

次に、以上説明したスペルチェック及び候補単語検索処
理の実行後、第4図のメインルーチンの87へ移行し、
スペルチェックに供された単語(単語バッファ23に格
納されている最新の単語)がミススペルであったかが否
か判定され(S7)、NoのときにはS3へ移行し、ま
たYesのときにはブザー12が駆動され(S8)、次
に候補単語表示用バッファ25に格納された候補単語の
データがデイスプレィコントローラ11へ供給されてデ
イスプレィ10に表示可能な範囲の1ないし複数の候補
単語がデイスプレィ10に表示され(S 9 ) 、次
に候補単語がなくなるまで候補単語がデイスプレィ10
に表示される(S9・510)。デイスプレィ10に表
示中にカーソル移動キーと候補単語セレクトキーを操作
して候補単語を選択すると、その選択された候補単語の
データで単語バッファ23の単語データが書き換えられ
次に書き換えられた単語バッファ23の単語データでも
って入力データバッファ21の対応する単語データが書
き換えられることになる。SIOの実行後S3へ移行し
、S3以降が繰返される。
Next, after executing the spell check and candidate word search processing described above, the process moves to 87 of the main routine in FIG.
It is determined whether or not the word subjected to the spell check (the latest word stored in the word buffer 23) is a misspelled word (S7), and when the answer is No, the process moves to S3, and when the answer is Yes, the buzzer 12 is activated. (S8) Next, the candidate word data stored in the candidate word display buffer 25 is supplied to the display controller 11, and one or more candidate words within the range that can be displayed on the display 10 are displayed on the display 10 ( S9), then the candidate words are displayed on the display 10 until there are no more candidate words.
(S9 510). When a candidate word is selected by operating the cursor movement key and the candidate word select key while being displayed on the display 10, the word data in the word buffer 23 is rewritten with the data of the selected candidate word, and the word data in the word buffer 23 is then rewritten. The corresponding word data in the input data buffer 21 will be rewritten with the word data. After the SIO is executed, the process moves to S3, and the steps after S3 are repeated.

以上説明したように、キーボード3をドイツ独語用とス
イス独語用の何れか一方に択一的に設定するキーボード
設定スイッチ30を設け、スイス独語用に設定されたと
きにはrssjを含む単語をrB」を含むドイツ独語単
語に変換してスペルチェック処理及び候補単語検索処理
を実行し、辞書メモリ18から検索されたドイツ独語の
候補単語であって「β」を含む単語を「ss」を含むス
イス独語単語に逆変換してデイスプレィ10に表示する
ようにしたので、ドイツ独語の独語辞書メモリ18以外
にスイス独語の辞書メモリを設けなくとも、ドイツ独語
は勿論のことスイス独語の文書をも処理できる独語用電
子タイプライタ1を実現することが出来る。
As explained above, the keyboard setting switch 30 is provided to selectively set the keyboard 3 to either German German or Swiss German, and when the keyboard is set for Swiss German, words containing rssj are changed to "rB". The spell check process and candidate word search process are performed to convert the German word containing "β" into a Swiss German word containing "ss" which is a German word containing "β" and which is searched from the dictionary memory 18. Since it is displayed on the display 10, it is possible to process not only German-German documents but also Swiss-German documents without having to provide a Swiss-German dictionary memory other than the German-German dictionary memory 18. An electronic typewriter 1 can be realized.

尚、ストアモードのときには、テキストメモリ22に予
め入力格納された単語を単語バッファ23に順々に供給
してスペルチェック及び候補単語検索処理を実行するが
、ミススペル単語に代える候補単語が選択されたときに
はその候補単語のデータでもってテキストメモリ22内
のミススペル単語のデータが書き換えられることになる
。
In addition, in the store mode, words previously input and stored in the text memory 22 are sequentially supplied to the word buffer 23 to perform spell check and candidate word search processing, but when a candidate word is selected to replace a misspelled word. Sometimes, the data of the misspelled word in the text memory 22 is rewritten with the data of the candidate word.

尚、辞書メモリとしてRAMからなるユーザー辞書メモ
リを設ける場合には、ユーザー辞書メモリに対してはコ
ード変換を施さない単語データを用いてスペルチェック
処理及び候補単語検索処理を行なうことが望ましい。
Note that when a user dictionary memory made of RAM is provided as the dictionary memory, it is desirable to perform spell check processing and candidate word search processing on the user dictionary memory using word data that is not subjected to code conversion.

尚、独語ワードプロセッサや独語パーソナルコンピュー
タなどの独語文書処理装置にも本発明を同様に通用する
ことが出来る。
Incidentally, the present invention can be similarly applied to German language document processing devices such as a German language word processor and a German language personal computer.

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

第1図は本発明の機能ブロック図、第2図〜第6図は実
施例を示し、第2図は独語用電子タイプライタの斜視図
、第3図は制御系のブロック図、第4図はスペルチェッ
ク及び候補単語検索処理制御のメインルーチンのフロー
チャート、第5図は第4図のフローチャートのスペルチ
ェック及び候補単語検索処理のサブルーチンのフローチ
ャート、第6図は第5図のフローチャートのコード変換
処理のサブルーチンのフローチャートである。 DM・・表示機構、 C・・制御装置、  14・・入
出力インターフェイス、  16・・CPU。 17・・ROM、  1B・・ROM (独語辞書メモ
リ)、 20・・RAM、  23・・単語バッファ、
 25・・候補単語表示用バッファ、30・・キーボー
ド設定スイッチ。
Fig. 1 is a functional block diagram of the present invention, Figs. 2 to 6 show embodiments, Fig. 2 is a perspective view of an electronic typewriter for German language, Fig. 3 is a block diagram of the control system, and Fig. 4 5 is a flowchart of the main routine for spell check and candidate word search processing control, FIG. 5 is a flowchart of the spell check and candidate word search subroutine of the flowchart in FIG. 4, and FIG. 6 is a code conversion process for the flowchart in FIG. 5. 2 is a flowchart of a subroutine. DM...display mechanism, C...control device, 14...input/output interface, 16...CPU. 17...ROM, 1B...ROM (German dictionary memory), 20...RAM, 23...word buffer,
25... Buffer for displaying candidate words, 30... Keyboard setting switch.

Claims (1)

【特許請求の範囲】[Claims] (1)独語用の文字や記号及び種々の指令を入力する為
の入力手段と、複数の文字列を表示可能な表示手段と、
入力された或いは予めメモリに格納された単語のデータ
を順々に受けて格納する単語バッファと、ドイツ独語の
多数の単語のスペル情報を格納した辞書メモリと、単語
バッファから単語のデータを受けて各単語について辞書
メモリを介してスペルチェックを行なうスペルチェック
手段と、スペルチェック手段でミススペルと判定された
ミススペル単語に関連する候補単語を辞書メモリから検
索する候補単語検索手段と、検索された候補単語を表示
手段に表示させる表示制御手段とを備えた独語文書処理
装置において、 前記入力手段をドイツ独語用又はスイス独語用に択一的
に設定する為の設定手段と、 前記設定手段で入力手段がスイス独語用に設定されてい
るときに単語バッファから受ける各単語のデータに含ま
れている「ss」のコードデータを「β」のコードデー
タに変換してその各単語のデータをスペルチェック手段
と候補単語検索手段に供給する第1データ変換手段と、 前記候補単語検索手段で検索された候補単語のデータに
含まれている「β」のコードデータを「ss」のコード
データに変換する第2データ変換手段とを備えたことを
特徴とする独語文書処理装置。
(1) An input means for inputting characters and symbols for German and various commands, and a display means capable of displaying a plurality of character strings;
A word buffer that sequentially receives and stores word data input or stored in memory in advance, a dictionary memory that stores spelling information of a large number of words in German, and a word buffer that receives word data from the word buffer. a spell check means for spell checking each word via a dictionary memory; a candidate word search means for searching the dictionary memory for a candidate word related to a misspelled word determined to be misspelled by the spell check means; and a candidate word searched for. a display control means for displaying on a display means, a setting means for selectively setting the input means for German German or Swiss German; and a setting means for selectively setting the input means for German German or Swiss German; When the setting is for Swiss German, the "ss" code data included in each word data received from the word buffer is converted into "β" code data, and each word data is used as a spell checker. a first data conversion means for supplying data to a candidate word search means; and a second data conversion means for converting "β" code data included in the candidate word data searched by the candidate word search means into "ss" code data. A German language document processing device comprising: data conversion means.
JP2163161A 1990-06-20 1990-06-20 German-language document processor Pending JPH0452961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2163161A JPH0452961A (en) 1990-06-20 1990-06-20 German-language document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163161A JPH0452961A (en) 1990-06-20 1990-06-20 German-language document processor

Publications (1)

Publication Number Publication Date
JPH0452961A true JPH0452961A (en) 1992-02-20

Family

ID=15768394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163161A Pending JPH0452961A (en) 1990-06-20 1990-06-20 German-language document processor

Country Status (1)

Country Link
JP (1) JPH0452961A (en)

Similar Documents

Publication Publication Date Title
JPS63149719A (en) information processing equipment
US4994968A (en) Word processing device
JPS63167960A (en) document processing device
US4863296A (en) Information processing apparatus
US4933896A (en) Word processing apparatus for comparing entered data with stored data from a selected address and in a selected order
JP2543501B2 (en) Word processor
JP2969739B2 (en) Document processing device
JP2855798B2 (en) Document processing device
JPS63192156A (en) information processing equipment
JPH0458363A (en) Word processor
JPH0566875A (en) Key input device
JPH0476760A (en) Document processing device with spell check function
JPH0476762A (en) Document processor with spelling checking function
JPS63168767A (en) document creation device
JPH0471065A (en) Document processing device with spell check function
JPH0449465A (en) document processing device
JPH03273447A (en) Document processing device with spell check function
JPS63120358A (en) Document producing device
JPS6373362A (en) Word display device with accent display function
JPH0476761A (en) Document processor with spelling checking function
JPH0485666A (en) Document processing device with spell check function
JPH03231355A (en) document processing device
JPS63148370A (en) data processing equipment
JPH0476759A (en) Document processing device with spell check function
JPS63120360A (en) document processing device