Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3236038B2 - Character processing apparatus and method - Google Patents
[go: Go Back, main page]

JP3236038B2 - Character processing apparatus and method - Google Patents

Character processing apparatus and method

Info

Publication number
JP3236038B2
JP3236038B2 JP29566491A JP29566491A JP3236038B2 JP 3236038 B2 JP3236038 B2 JP 3236038B2 JP 29566491 A JP29566491 A JP 29566491A JP 29566491 A JP29566491 A JP 29566491A JP 3236038 B2 JP3236038 B2 JP 3236038B2
Authority
JP
Japan
Prior art keywords
word
dictionary
mode
registered
operator
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.)
Expired - Fee Related
Application number
JP29566491A
Other languages
Japanese (ja)
Other versions
JPH05135014A (en
Inventor
仁志 緩利
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 JP29566491A priority Critical patent/JP3236038B2/en
Publication of JPH05135014A publication Critical patent/JPH05135014A/en
Application granted granted Critical
Publication of JP3236038B2 publication Critical patent/JP3236038B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】文書を作成する作業において、漢
字かな混じりの日本語文の入力手段として、かな文字列
を漢字かな混じりの文字列に変換する、かな漢字変換手
段が一般に使用されている。
2. Description of the Related Art Kana-kanji conversion means for converting a kana character string into a kanji-kana-kanji character string is generally used as an input means for a Japanese sentence mixed with kanji-kana in a task of preparing a document.

【0002】本発明は、かな漢字変換手段を使用する文
字処理装置に関するものである。
[0002] The present invention relates to a character processing device using kana-kanji conversion means.

【0003】[0003]

【従来の技術】かな漢字変換手段を有する文字処理装置
において、変換用辞書には、あらかじめ一般的な単語が
登録されている。このため、通常の文書作成において
は、かな文字を入力し、変換指示を与えることにより、
漢字かな混じり文を作成することができる。しかしなが
ら、操作者は千差万別であり、その使用者にとって必要
な単語が登録されていない場合がある。また、使用者に
とって不必要な単語が登録されている場合がある。その
ために、必要な単語を登録する単語登録手段と単語削除
手段が準備されている。これには、以下のような方法が
提案されている。
2. Description of the Related Art In a character processing apparatus having kana-kanji conversion means, general words are registered in advance in a conversion dictionary. For this reason, in normal document creation, by inputting kana characters and giving a conversion instruction,
You can create a sentence mixed with kanji and kana. However, operators vary widely, and words necessary for the user may not be registered. In addition, words unnecessary for the user may be registered. For this purpose, word registration means for registering necessary words and word deletion means are provided. For this purpose, the following methods have been proposed.

【0004】(1)単語登録や単語削除の度に1次記憶
装置上の変換用辞書を更新し、かつ2次記憶装置に単語
辞書を保存する方法。
(1) A method of updating the conversion dictionary on the primary storage device every time a word is registered or deleted, and storing the word dictionary in the secondary storage device.

【0005】(2)使用者が単語登録や単語削除した結
果は、ランダムアクセスメモリ等の1次記憶装置上の変
換用辞書のみ更新される方法。
(2) A method in which the result of word registration or word deletion by a user is updated only in a conversion dictionary on a primary storage device such as a random access memory.

【0006】[0006]

【発明が解決しようとしている課題】しかしながら、方
法(1)の場合には、保存に対する処理速度は比較的低
いため、複数個の単語を登録するには、大きな時間を必
要とした。
However, in the case of the method (1), since the processing speed for storage is relatively low, it takes a long time to register a plurality of words.

【0007】また、方法(2)の場合には、ディスク等
の2次記憶装置上に保存された変換用辞書は更新されな
い。このため、保存するには、別の操作を起動しなけれ
ばならず、操作が煩雑であった。また、保存する操作
は、単語登録や単語削除とは全く別の保存操作を起動し
なければならないため、操作者は保存する操作の起動を
忘れてしまうという欠点があった。
In the case of the method (2), the conversion dictionary stored on the secondary storage device such as a disk is not updated. For this reason, another operation must be started to save, and the operation is complicated. In addition, since the saving operation must start a completely different saving operation from the word registration and the word deletion, the operator forgets to start the saving operation.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、本発明によれば、文字処理装置に、単語の読みと表
記とを対応づけて記憶する単語辞書と、該単語辞書に存
在しない単語の読みと表記とを対応づけて一時記憶させ
るための登録単語辞書と、入力された読みを前記単語辞
書及び前記登録単語辞書を参照しつつ表記に変換する変
換手段と、操作者が必要な単語の読みと表記とを指定し
て前記登録単語辞書に新単語を登録する単語登録手段
と、前記登録単語辞書から操作者が指定した単語を削除
する単語削除手段と、前記登録単語辞書の内容を不揮発
メモリに保存する辞書保存手段と、前記単語登録手段ま
たは前記単語削除手段の動作に応じて前記辞書保存手段
を起動するモードあるいは起動しないモードを設定する
モード設定手段と、該モード設定手段により設定された
モードに基づいて、前記辞書保存手段の起動を制御する
制御手段とを備える。
According to the present invention, in order to solve the above-mentioned problems, a word dictionary for storing word readings and notations in association with each other in a character processing device, and a word dictionary which does not exist in the word dictionary. A registered word dictionary for temporarily storing word readings and notations in association with each other, conversion means for converting input readings to notations while referring to the word dictionary and the registered word dictionary, and an operator Word registration means for registering a new word in the registered word dictionary by designating word reading and notation, word deletion means for deleting a word specified by an operator from the registered word dictionary, and contents of the registered word dictionary Dictionary storage means for storing in a non-volatile memory, and a mode setting means for setting a mode to activate the dictionary storage means or a mode not to start according to the operation of the word registration means or the word deletion means, Based on the set mode by the mode setting means, and control means for controlling the activation of the dictionary storage means.

【0009】また、本発明の他の態様によれば、単語の
読みと表記とを対応づけて記憶する単語辞書と、該単語
辞書に存在しない単語の読みと表記とを対応づけて一時
記憶させるための登録単語辞書とを備えた文字処理装置
における文字処理方法に、入力された読みを前記単語辞
書及び前記登録単語辞書を参照しつつ表記に変換する変
換工程と、操作者が必要な単語の読みと表記とを指定し
て前記登録単語辞書に新単語を登録する単語登録工程
と、前記登録単語辞書から操作者が指定した単語を削除
する単語削除工程と、前記登録単語辞書の内容を不揮発
メモリに保存する辞書保存工程と、前記単語登録工程ま
たは前記単語削除工程の実行に応じて前記辞書保存工程
を実行するモードあるいは実行しないモードを設定する
モード設定工程と、該モード設定手段により設定された
モードに基づいて、前記辞書保存工程の実行を制御する
制御工程とを備える。
According to another aspect of the present invention, a word dictionary that stores word readings and expressions in association with each other and a word reading that does not exist in the word dictionary and expressions are temporarily stored in association with each other. A character processing method in a character processing device provided with a registered word dictionary for converting an input reading into a notation while referring to the word dictionary and the registered word dictionary; and A word registration step of registering a new word in the registered word dictionary by specifying a reading and a notation; a word deleting step of deleting a word specified by an operator from the registered word dictionary; A dictionary storing step of storing in a memory, and a mode setting step of setting a mode for executing the dictionary storing step or a mode for not executing the dictionary storing step in accordance with execution of the word registration step or the word deletion step. Based on the set mode by the mode setting means, and a control step of controlling execution of said dictionary storing step.

【0010】[0010]

【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0011】図1は本発明の全体構成の一例である。FIG. 1 shows an example of the overall configuration of the present invention.

【0012】図示の構成において、CPUは、マイクロ
プロセッサであり、文字処理のための演算、論理判断等
を行ない、アドレスバスAB,コントロールバスCB,
データバスDBを介して、それらのバスに接続された各
構成要素を制御する。
In the configuration shown in the figure, the CPU is a microprocessor, which performs calculations for character processing, makes logical decisions, etc., and performs address bus AB, control bus CB,
Each component connected to these buses is controlled via a data bus DB.

【0013】アドレスバスABはマイクロプロセッサC
PUの制御の対象とする構成要素を指示するアドレス信
号を転送する。
The address bus AB is a microprocessor C
An address signal indicating a component to be controlled by the PU is transferred.

【0014】コントロールバスCBはマイクロプロセッ
サCPUの制御の対象とする各構成要素のコントロール
信号を転送する。
The control bus CB transfers a control signal of each component to be controlled by the microprocessor CPU.

【0015】データバスDBは各構成機器相互間のデー
タの転送を行なう。
The data bus DB transfers data between the components.

【0016】次にROMは、読出し専用の固定メモリで
あり、図11〜図13につき後述するマイクロプロセッ
サCPUによる制御の手順等を記憶させておく。
The ROM is a fixed read-only memory and stores control procedures and the like by the microprocessor CPU which will be described later with reference to FIGS.

【0017】DICは、かな漢字変換用辞書である。か
な漢字変換用辞書は、かな漢字変換を行うための単語の
情報が格納された、読出し専用の固定メモリである。
DIC is a kana-kanji conversion dictionary. The kana-kanji conversion dictionary is a read-only fixed memory that stores word information for performing kana-kanji conversion.

【0018】また、RAMは、1ワード16ビットの構
成の書込み可能のランダムアクセスメモリであって、各
構成要素からの各種データの一時記憶に用いる。
The RAM is a writable random access memory having a structure of 16 bits per word, and is used for temporarily storing various data from each component.

【0019】TOUROKUは、登録単語辞書であり、
操作者により登録された登録単語の情報の記憶に用い
る。
TOUROKU is a registered word dictionary,
Used for storing information of registered words registered by the operator.

【0020】MODEは、保存モードであり1バイトの
変数である。この変数は、1〜3の値を取り、1=「保
存起動」、2=「保存不起動」、3=「保存指示起動」
を意味する。
MODE is a storage mode and is a 1-byte variable. This variable takes a value from 1 to 3, 1 = “Save start”, 2 = “Save not start”, 3 = “Save instruction start”
Means

【0021】KBはキーボードであって、アルファベッ
トキー,ひらがなキー,カタカナキー等の文字記号入力
キー,及び、かな漢字変換を指示するための変換キー,
及び、確認を指示するための、はいキー,いいえキー,
及び、本文字処理装置で使用する単語登録や単語削除の
機能を指示するための各種のファンクションキーを備え
ている。
A keyboard KB is a character / symbol input key such as an alphabet key, a hiragana key, or a katakana key, and a conversion key for instructing kana-kanji conversion.
And a yes key, no key,
Also, it has various function keys for instructing functions of word registration and word deletion used in the character processing apparatus.

【0022】DISKは定型文書や本文字処理装置で使
用する登録単語辞書などを記憶するためのメモリで、作
成された文書の保管を行ない、保管された文書や登録単
語辞書はキーボードの指示により、必要な時呼び出され
る。
DISK is a memory for storing fixed-form documents and registered word dictionaries used in the character processing apparatus. It stores created documents, and stores the stored documents and registered word dictionaries in accordance with keyboard instructions. Called when needed.

【0023】CRはカーソルレジスタである。CPUに
より、カーソルレジスタの内容を読み書きできる。後述
するCRTコントローラCRTCは、ここに蓄えられた
アドレスに対する表示装置CRT上の位置にカーソルを
表示する。
CR is a cursor register. The CPU can read and write the contents of the cursor register. The CRT controller CRTC described later displays a cursor at a position on the display device CRT corresponding to the address stored here.

【0024】DBUFは表示用バッファメモリで、RA
Mに蓄えられた各種データの表示用のパターンを蓄え
る。
DBUF is a display buffer memory, RA
A pattern for displaying various data stored in M is stored.

【0025】CRTCはカーソルレジスタCR及びバッ
ファDBUFに蓄えられた内容を表示器CRTに表示す
る役割を担う。
The CRTC plays a role of displaying the contents stored in the cursor register CR and the buffer DBUF on the display CRT.

【0026】また、CRTは陰極線管等を用いた表示装
置であり、その表示装置CRTにおけるドット構成のパ
ターンおよびカーソルの表示をCRTコントローラで制
御する。
The CRT is a display device using a cathode ray tube or the like, and the display of the dot configuration pattern and the cursor on the display device CRT is controlled by a CRT controller.

【0027】さらに、CGはキャラクタジェネレータで
あって、表示装置CRTに表示する文字、記号のパター
ンを記憶するものである。
Further, CG is a character generator for storing character and symbol patterns to be displayed on the display device CRT.

【0028】かかる各構成要素からなる本発明文字処理
装置においては、キーボードKBからの各種の入力に応
じて作動するものであって、キーボードKBからの入力
が供給されると、まず、インタラプト信号がマイクロプ
ロセッサCPUに送られ、そのマイクロプロセッサCP
UがROM内に記憶してある各種の制御信号を読出し、
それらの制御信号に従って、各種の制御が行なわれる。
The character processing apparatus of the present invention comprising the above components operates in response to various inputs from the keyboard KB. When an input from the keyboard KB is supplied, first, an interrupt signal is generated. Sent to the microprocessor CPU and the microprocessor CP
U reads various control signals stored in the ROM,
Various controls are performed according to the control signals.

【0029】図2から図4までは、本発明における単語
登録の操作を説明する画面例である。例として、かな漢
字変換で「まこ」と入力した場合に、「眞子」と変換さ
れるように、登録する操作を説明している。
FIGS. 2 to 4 show screen examples for explaining the word registration operation in the present invention. As an example, a description is given of an operation of registering so that, when "Mako" is input in Kana-Kanji conversion, it is converted to "Mako".

【0030】図2は、本発明における単語登録画面の一
例である。(a)は、単語登録操作が指示された場合に
表示される初期画面の一例である。アンダラインは、文
字入力した場合に表示される位置、すなわちカーソルを
意味している。
FIG. 2 is an example of a word registration screen according to the present invention. (A) is an example of an initial screen displayed when a word registration operation is instructed. The underline indicates a position displayed when a character is input, that is, a cursor.

【0031】(a)の画面で、操作者は、登録したい単
語の表記、読み、品詞および頻度を入力する。例えば、
表記「眞子」、読み「まこ」、品詞「名前」、頻度
「5」と登録したい場合には、操作者は、(b)の入力
後の一例のように入力する。
On the screen (a), the operator inputs the notation, reading, part of speech, and frequency of the word to be registered. For example,
If the operator wants to register the notation “Mako”, the reading “Mako”, the part of speech “Name”, and the frequency “5”, the operator inputs as in the example after the input of (b).

【0032】図3は、本発明における単語登録確認の画
面の一例である。この状態は、図2において単語の各情
報が入力され、さらに実行指示が行われた時、登録単語
辞書に登録するかどうかを操作者に確認させる画面であ
る。この状態で、操作者がはいキーを指示すると、登録
単語辞書に当該単語が登録される。操作者がいいえキー
を指示すると、当該単語の登録は行われず、単語登録処
理は中断される。
FIG. 3 shows an example of a word registration confirmation screen according to the present invention. This state is a screen that allows the operator to confirm whether or not to register in the registered word dictionary when the information of each word is input in FIG. 2 and an execution instruction is further performed. In this state, when the operator designates the Yes key, the word is registered in the registered word dictionary. When the operator designates the No key, the word is not registered, and the word registration process is interrupted.

【0033】図4は、本発明における単語登録後の登録
単語辞書保存確認画面の一例である。この状態は図3に
おいて、はいキーが入力され、かつ保存モードMODE
が3すなわち「保存指示起動」である場合に、登録単語
辞書を保存するかどうかを操作者に指示させる画面であ
る。この状態で、操作者がはいキーを指示すると、登録
単語辞書を図1で説明したDISKに登録単語辞書が保
存される。操作者がいいえキーを指示すると、登録単語
辞書の保存は行われない。
FIG. 4 is an example of a registered word dictionary storage confirmation screen after word registration in the present invention. In this state, in FIG. 3, a YES key is input and a save mode MODE is set.
Is a screen for instructing the operator whether to save the registered word dictionary when "3" is "Activate save instruction". In this state, when the operator designates the Yes key, the registered word dictionary is stored in the DISK described with reference to FIG. If the operator designates the No key, the registered word dictionary is not saved.

【0034】図5から図6までは、本発明における単語
削除の操作を説明する画面例である。例として、表記
「眞子」、読み「まこ」、品詞「名前」、頻度「5」と
登録する筈であったが、表記を間違えて「真子」と入力
し、登録してしまったため、この単語を削除する操作を
説明している。
FIGS. 5 and 6 show examples of screens for explaining a word deletion operation in the present invention. As an example, the notation "Mako", the reading "Mako", the part-of-speech "Name", and the frequency "5" were to be registered. However, the word "Mako" was incorrectly entered and registered. Is explained.

【0035】図5は、本発明における単語削除画面の一
例である。(a)は、単語削除操作が指示された場合に
表示される初期画面の一例である。アンダラインは、文
字入力した場合に表示される位置、すなわちカーソルを
意味している。
FIG. 5 is an example of a word deletion screen according to the present invention. (A) is an example of an initial screen displayed when a word deletion operation is instructed. The underline indicates a position displayed when a character is input, that is, a cursor.

【0036】(a)の画面で、操作者は、削除したい単
語の表記、読み、品詞および頻度を入力する。例えば、
間違えて登録してしまった単語の情報、表記「真子」、
読み「まこ」、品詞「名前」、頻度「5」を削除したい
場合には、操作者は、(b)の入力後の一例のように入
力する。
On the screen (a), the operator inputs the notation, reading, part of speech, and frequency of the word to be deleted. For example,
Information on words registered incorrectly, the notation "Mako",
If the user wants to delete the reading “Mako”, the part of speech “Name”, and the frequency “5”, the operator inputs as in the example after the input of (b).

【0037】図6は、本発明における単語削除確認の画
面の一例である。この状態は、図5において単語の各情
報が入力され、さらに実行指示が行われた時、登録単語
辞書から削除するかどうかを操作者に確認させる画面で
ある。この状態で、操作者がはいキーを指示すると、登
録単語辞書から当該単語が削除される。操作者がいいえ
キーを指示すると、当該単語の削除は行われず、単語削
除処理は中断される。
FIG. 6 is an example of a screen for confirming word deletion according to the present invention. This state is a screen that allows the operator to confirm whether or not to delete from the registered word dictionary when each word information is input in FIG. 5 and an execution instruction is performed. In this state, when the operator designates the Yes key, the word is deleted from the registered word dictionary. When the operator designates the No key, the word is not deleted and the word deletion process is interrupted.

【0038】図7は、本発明における単語削除後の登録
単語辞書保存確認画面の一例である。この状態は図6に
おいて、はいキーが入力され、かつ保存モードMODE
が3すなわち「保存指示起動」である場合に、登録単語
辞書を保存するかどうかを操作者に指示させる画面であ
る。この状態で、操作者がはいキーを指示すると、登録
単語辞書を図1で説明したDISKに登録単語辞書が保
存される。操作者がいいえキーを指示すると、登録単語
辞書の保存は行われない。
FIG. 7 shows an example of a registered word dictionary storage confirmation screen after deleting a word in the present invention. In this state, in FIG. 6, a YES key is input and a save mode MODE is set.
Is a screen for instructing the operator whether to save the registered word dictionary when "3" is "Activate save instruction". In this state, when the operator designates the Yes key, the registered word dictionary is stored in the DISK described with reference to FIG. If the operator designates the No key, the registered word dictionary is not saved.

【0039】図8は、本発明における保存モードの指定
画面の一例である。この画面は保存モード指定キーが操
作された時、表示される画面である。アンダラインはカ
ーソルを意味している。保存モードは、現在の状態が表
示されていて、操作者は、これを変更することができ
る。変更は、1から3までの数字を入力することにより
行う。この状態で、操作者が実行指示を行うと、入力さ
れた数字が、MODEに設定される。
FIG. 8 shows an example of a screen for designating a storage mode in the present invention. This screen is displayed when the save mode designation key is operated. An underline indicates a cursor. In the save mode, the current state is displayed, and the operator can change this. The change is made by inputting a number from 1 to 3. In this state, when the operator gives an execution instruction, the entered number is set in MODE.

【0040】図9は、本発明におけるかな漢字変換用辞
書DICの構成の一例である。登録単語辞書TOURO
KUもまったく同じ構成であるのでまとめて説明する。
FIG. 9 shows an example of the configuration of the kana-kanji conversion dictionary DIC according to the present invention. Registered word dictionary TOURO
The KU has exactly the same configuration and will be described together.

【0041】(a)は、辞書の全体構成を表した図であ
る。単語は読みの順にソートされて格納される。読みの
順とは、読みをJIS X0208コードで表したとき
のコード順とする。
FIG. 7A is a diagram showing the entire configuration of a dictionary. The words are sorted and stored in reading order. The reading order is a code order when the reading is represented by JIS X0208 code.

【0042】(b)は、ひとつの単語の構成を示した図
である。単語は、読み部・表記部・品詞・ターミネート
部で構成されている。
FIG. 4B is a diagram showing the structure of one word. The word is composed of a reading part, a writing part, a part of speech, and a terminating part.

【0043】読み部は、単語の読みがJIS X020
8コードで、1文字当たり2バイトで格納されており、
末尾読みの次の1バイトはnullでターミネートされ
ている。動詞のように活用する単語は、語幹部分の読み
が格納される。
In the reading section, the reading of words is JIS X020.
8 codes are stored at 2 bytes per character,
The next byte after the tail is terminated with null. For words to be used like verbs, the reading of the stem part is stored.

【0044】表記部は、単語の表記がJIS X020
8コードで、1文字当たり2バイトで格納されており、
末尾表記の次の1バイトはnullでターミネートされ
ている。単語の表記は、主に漢字が格納されるが、ひら
がなやカタカナが格納されることもある。動詞のように
活用する単語は、語幹部分の表記が格納される。
In the notation part, the notation of the word is JIS X020.
8 codes are stored at 2 bytes per character,
The next byte at the end is terminated with null. The word notation mainly stores kanji, but may also store hiragana and katakana. For words used like verbs, the notation of the stem portion is stored.

【0045】品詞は、1バイトの領域で、単語の品詞が
コード化されて格納されている。コード化は、独自の分
類を行い、後述する図10のように対応づけている。
The part of speech is a one-byte area in which the part of speech of a word is coded and stored. The coding performs a unique classification, and associates them as shown in FIG. 10 described later.

【0046】ターミネート部は、1バイトの領域で、n
ullが固定的に格納される。これによって、次の単語
データとの境界を検出することができる。
The terminating part is a 1-byte area, n
"ull" is fixedly stored. As a result, a boundary with the next word data can be detected.

【0047】図10は、品詞コード対応表である。図9
の各辞書の構成要素である品詞をエンコードしたりデコ
ードしたりするためのテーブルである。品詞の分類は独
自のものであり、ここでは、姓や名前を品詞と扱ってい
る。このテーブルは、かな漢字変換処理などのプログラ
ムとともにROMに格納される。
FIG. 10 is a part-of-speech code correspondence table. FIG.
3 is a table for encoding and decoding a part of speech which is a component of each dictionary. The part-of-speech classification is unique, and here the last name and first name are treated as part of speech. This table is stored in the ROM together with a program such as a kana-kanji conversion process.

【0048】図11から図13までは、本発明における
単語登録操作における保存処理および単語削除操作にお
ける保存処理を説明するフローチャートである。
FIGS. 11 to 13 are flowcharts for explaining the storage processing in the word registration operation and the storage processing in the word deletion operation according to the present invention.

【0049】上述の実施例の作動をフローに従って説明
する。
The operation of the above embodiment will be described with reference to a flow.

【0050】図11は、処理全体のフローチャートであ
る。 S11−1においてキーボードよりキーが押下さ
れ、割り込みが発生するのを待つ。キーが入力される
と、S11−2により、キーの種類に応じてS11−
3、S11−4、S11−5、S11−6のいずれかに
分岐する。
FIG. 11 is a flowchart of the entire process. In step S11-1, a key is pressed from the keyboard to wait for an interrupt. When a key is input, S11-2 is performed according to the type of the key in S11-2.
3, branch to one of S11-4, S11-5, and S11-6.

【0051】S11−3は、単語登録キーが押下された
ときの処理であり、登録単語辞書に単語を登録する処理
である。また、状況に応じて、登録単語辞書をDISK
に保存する処理も行う。詳細は、図12において説明す
る。
Step S11-3 is a process when the word registration key is pressed, that is, a process for registering a word in the registered word dictionary. In addition, the registered word dictionary is changed to DISK depending on the situation.
Is also stored. Details will be described with reference to FIG.

【0052】S11−4は、単語削除キーが押下された
ときの処理であり、登録単語辞書から単語を削除する処
理である。また、状況に応じて、登録単語辞書をDIS
Kに保存する処理も行う。詳細は、図13において説明
する。
S11-4 is a process when the word delete key is pressed, and is a process for deleting a word from the registered word dictionary. In addition, depending on the situation, the registered word dictionary
A process of storing the data in K is also performed. Details will be described with reference to FIG.

【0053】S11−5は、保存モード指定キーが押下
されたときの処理であり、保存モードを指定する処理で
ある。図8のような画面を表示し、操作者に保存モード
を数字で入力させる。入力された数値を変数MODEに
設定する。
S11-5 is a process when the save mode designation key is pressed, and is a process for designating the save mode. A screen as shown in FIG. 8 is displayed, and the operator is caused to input a save mode by a numeral. Set the input numerical value to the variable MODE.

【0054】S11−6は、上記以外の通常のキー(例
えば文字キーや、カーソル移動キー、変換キーなどを)
を入力した場合の処理であり、同種の文字処理装置にお
いて一般に行なわれている処理であり、公知であるの
で、特に記述しない。
S11-6 is a normal key other than the above (for example, a character key, a cursor movement key, a conversion key, etc.)
Is input, and is generally performed in the same type of character processing apparatus.

【0055】図12は、本発明における単語登録処理
(S11−3)を詳細化したフローチャートである。
FIG. 12 is a detailed flowchart of the word registration process (S11-3) according to the present invention.

【0056】S12−1は、表記・読み・品詞・頻度入
力処理である。この処理においては、図2(a)の画面
を表示し、オペレータに登録したい単語の表記・読み・
品詞・頻度を入力させる処理である。上記情報が入力さ
れると、処理をS12−2に進める。
Step S12-1 is a notation / read / part of speech / frequency input process. In this process, the screen of FIG. 2A is displayed, and the notation, reading, and
This is a process for inputting part of speech and frequency. When the above information is input, the process proceeds to S12-2.

【0057】S12−2は、単語登録確認画面であり、
図3の画面を表示する。操作者の確認の結果、S12−
3により登録の判断し、はいの場合には、S12−4に
分岐し、いいえの場合には、単語登録処理を終了する。
S12-2 is a word registration confirmation screen,
The screen of FIG. 3 is displayed. As a result of the confirmation by the operator, S12-
3, the registration is determined. If yes, the process branches to S12-4. If no, the word registration process ends.

【0058】S12−4は、単語登録処理である。S1
2−1によって入力された単語を登録単語辞書TOUR
OKUに登録する。登録するとは、図9に説明した登録
単語辞書TOUROKUに、単語情報を追加することで
ある。追加するとは、以下のような処理となるが、一般
に広く行われている処理であり、公知であるので詳細な
記述は省略する。 ・登録単語辞書の形式に従って、辞書上での追加すべき
位置すなわちアドレスを検出する。 ・上記アドレス以降に存在する全単語のデータを、追加
する単語のデータサイズ分だけ後方にメモリ転送する。 ・追加する単語のデータを上記アドレス以降の領域にメ
モリ転送する。
S12-4 is a word registration process. S1
The word input by 2-1 is registered word dictionary TOUR.
Register with OKU. To register is to add word information to the registered word dictionary TOUROKU described in FIG. The processing to be added is as follows, but is a processing that is generally performed widely, and is well-known, and thus a detailed description is omitted. In accordance with the format of the registered word dictionary, a position to be added on the dictionary, that is, an address is detected. Transfer the data of all the words existing after the above address to the memory by the data size of the word to be added. -Transfer the data of the word to be added to the area after the above address.

【0059】S12−5は、保存モードMODEによっ
て処理を分岐する処理である。MODEの値が、1、す
なわち「保存起動」の場合は、処理をS12−8に分岐
する。MODEの値が、2、すなわち「保存不起動」の
場合は、単語登録処理を終了する。MODEの値が、
3、すなわち「保存指示起動」の場合は、処理をS12
−6に分岐する。
Step S12-5 is a process in which the process branches depending on the save mode MODE. If the value of MODE is 1, that is, "save activation", the process branches to S12-8. When the value of MODE is 2, that is, “save not started”, the word registration process ends. If the value of MODE is
In the case of 3, that is, “activation of save instruction”, the process proceeds to S12.
Branching to -6.

【0060】S12−6は、辞書保存指示処理であり、
図4の画面を表示する。操作者の確認の結果、S12−
7により保存の判断し、はいの場合には、S12−8に
分岐し、いいえの場合には、単語登録処理を終了する。
S12-6 is a dictionary save instruction process.
The screen of FIG. 4 is displayed. As a result of the confirmation by the operator, S12-
7, the process branches to S12-8 if yes, and ends the word registration process if no.

【0061】S12−8は、登録単語辞書保存処理であ
る。RAMに存在するTOUROKUをDISKに保存
する処理である。この処理は、一般に広く行われている
処理であり、公知であるので詳細な記述は省略する。保
存後単語登録処理を終了する。
Step S12-8 is a registered word dictionary storing process. This is processing for saving TOUROKU existing in the RAM to the DISK. This process is a process that is generally performed widely, and is well-known, so a detailed description is omitted. After saving, the word registration process ends.

【0062】図13は、本発明における単語削除処理
(S11−4)を詳細化したフローチャートである。
FIG. 13 is a detailed flowchart of the word deletion process (S11-4) in the present invention.

【0063】S13−1は、表記・読み・品詞・頻度入
力処理である。この処理においては、図5(a)の画面
を表示し、オペレータに登録したい単語の表記・読み・
品詞・頻度を入力させる処理である。上記情報が入力さ
れると、処理をS13−2に進める。
S13-1 is a notation / read / part of speech / frequency input process. In this process, the screen shown in FIG. 5A is displayed, and the notation, reading, and
This is a process for inputting part of speech and frequency. When the above information is input, the process proceeds to S13-2.

【0064】S13−2は、単語削除確認画面であり、
図6の画面を表示する。操作者の確認の結果、S13−
3により削除の判断し、はいの場合には、S13−4に
分岐し、いいえの場合には、単語削除処理を終了する。
S13-2 is a word deletion confirmation screen,
The screen of FIG. 6 is displayed. As a result of the operator's confirmation, S13-
In step S13-4, the process branches to step S13-4. If no, the process ends.

【0065】S13−4は、単語削除処理である。S1
3−1によって入力された単語を登録単語辞書TOUR
OKUから削除する。削除するとは、図9に説明した登
録単語辞書TOUROKUから、単語情報を削除するこ
とである。削除するとは、変換禁止単語辞書から該当す
る単語の領域を詰めて、次に存在する単語以降の単語を
メモリ転送する処理を行うが、一般に行われている処理
で公知であるので、特に記述しない。この処理を終了す
ると、単語削除処理を終了する。
S13-4 is a word deletion process. S1
Register the word input by 3-1 in the registered word dictionary TOUR
Delete from OKU. Deleting means deleting word information from the registered word dictionary TOUROKU described in FIG. Deleting means performing a process of filling the area of the corresponding word from the conversion prohibition word dictionary and transferring the word after the next existing word to the memory, but is not particularly described because it is known in a generally performed process. . When this process ends, the word deletion process ends.

【0066】S13−5は、保存モードMODEによっ
て処理を分岐する処理である。MODEの値が、1、す
なわち「保存起動」の場合は、処理をS13−8に分岐
する。MODEの値が、2、すなわち「保存不起動」の
場合は、単語登録処理を終了する。MODEの値が、
3、すなわち「保存指示起動」の場合は、処理をS13
−6に分岐する。
Step S13-5 is a process in which the process branches depending on the save mode MODE. If the value of MODE is 1, that is, "save activation", the process branches to S13-8. When the value of MODE is 2, that is, “save not started”, the word registration process ends. If the value of MODE is
In the case of 3, that is, "activation of save instruction", the process proceeds to S13.
Branching to -6.

【0067】S13−6は、辞書保存指示処理であり、
図7の画面を表示する。操作者の確認の結果、S13−
7により保存の判断し、はいの場合には、S13−8に
分岐し、いいえの場合には、単語削除処理を終了する。
Step S13-6 is a dictionary save instruction process.
The screen of FIG. 7 is displayed. As a result of the operator's confirmation, S13-
7, the process branches to S13-8 if yes, and ends the word deletion process if no.

【0068】S13−8は、登録単語辞書保存処理であ
る。RAMに存在するTOUROKUをDISKに保存
する処理である。この処理は、一般に広く行われている
処理であり、公知であるので詳細な記述は省略する。保
存後単語削除処理を終了する。
Step S13-8 is a registered word dictionary storing process. This is processing for saving TOUROKU existing in the RAM to the DISK. This process is a process that is generally performed widely, and is well-known, so a detailed description is omitted. After saving, the word deletion process ends.

【0069】また、本発明は、単体の装置に限らず、複
数の装置からなるシステムにも適用可能であり、更に、
装置またはシステムに、ソフトウェアを提供することに
よっても、実現可能であることは、言うまでもない。
The present invention is applicable not only to a single device but also to a system including a plurality of devices.
Needless to say, the present invention can be realized by providing software to a device or a system.

【0070】[0070]

【発明の効果】以上説明したように、本発明によれば、
登録単語辞書に対する単語の登録あるいは削除に応じて
登録単語辞書の内容を不揮発メモリに保存するか否か
を、モードとして設定できるようにしたので、保存する
モードに設定することで、単語の登録あるいは削除の度
に特別な操作を要さずに、登録内容を確実に保存するこ
とができる。一方、保存しないモードに設定すること
で、複数の単語を順次登録あるいは削除する場合などで
は、登録・削除の度に低速な保存処理が行なわれること
はないので、登録・削除を高速に実行できる。
As described above, according to the present invention,
Whether to save the contents of the registered word dictionary in the non-volatile memory in accordance with the registration or deletion of the word in the registered word dictionary can be set as a mode. The registered contents can be securely saved without requiring any special operation each time the data is deleted. On the other hand, by setting the mode not to save, when a plurality of words are sequentially registered or deleted, a low-speed storage process is not performed every time registration or deletion is performed, so that registration or deletion can be performed at high speed. .

【0071】特に、単語の登録あるいは削除に応じて登
録単語辞書の内容を不揮発メモリに保存するか否かを指
示により決定するモードを設定可能である場合には、複
数の単語を順次登録・削除するようなケースにおいて
は、このモードを設定しておき、最後の1単語を登録・
削除したときのみ保存を指示し、それまでは保存を指示
しないことで、短時間で複数の単語を登録・削除でき、
かつ忘れることなく保存することが可能となる。
In particular, when it is possible to set a mode for determining whether or not to store the contents of the registered word dictionary in the nonvolatile memory in accordance with the registration or deletion of a word, a plurality of words are sequentially registered / deleted. In this case, set this mode and register the last word.
By instructing save only when deleted, and not instructing save until then, multiple words can be registered / deleted in a short time,
And it can be saved without forgetting.

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

【図1】実施例の文字処理装置の全体構成の一例であ
る。
FIG. 1 is an example of the overall configuration of a character processing apparatus according to an embodiment.

【図2】実施例の文字処理装置で単語登録操作を行った
時に表示される画面の一例である。
FIG. 2 is an example of a screen displayed when a word registration operation is performed by the character processing device of the embodiment.

【図3】実施例の文字処理装置で単語登録操作を行った
時に、単語を登録する意識を確認するために表示される
単語登録確認画面の一例である。
FIG. 3 is an example of a word registration confirmation screen displayed to confirm the consciousness of registering a word when a word registration operation is performed by the character processing device of the embodiment.

【図4】実施例の文字処理装置で単語登録操作を行った
時に、登録単語辞書を保存する意識を確認するために表
示される登録単語辞書保存画面の一例である。
FIG. 4 is an example of a registered word dictionary storage screen displayed for confirming a consciousness of storing a registered word dictionary when a word registration operation is performed in the character processing apparatus of the embodiment.

【図5】実施例の文字処理装置で単語削除操作を行った
時に表示される画面の一例である。
FIG. 5 is an example of a screen displayed when a word deletion operation is performed by the character processing device of the embodiment.

【図6】実施例の文字処理装置で単語削除操作を行った
時に、単語を削除する意識を確認するために表示される
単語登録確認画面の一例である。
FIG. 6 is an example of a word registration confirmation screen displayed to confirm the consciousness of deleting a word when a word deletion operation is performed by the character processing device of the embodiment.

【図7】実施例の文字処理装置で単語削除操作を行った
時に、登録単語辞書を保存する意識を確認するために表
示される登録単語辞書保存画面の一例である。
FIG. 7 is an example of a registered word dictionary saving screen displayed to confirm the awareness of saving a registered word dictionary when a word deleting operation is performed by the character processing device of the embodiment.

【図8】実施例の文字処理装置で保存モード指定操作を
行った時に、保存モードを指定するために表示される保
存モード指定画面の一例である。
FIG. 8 is an example of a save mode designation screen displayed to designate a save mode when a save mode designation operation is performed in the character processing apparatus of the embodiment.

【図9】実施例の文字処理装置のかな漢字変換用辞書、
及び登録単語辞書の構成を表した画面の一例である。
FIG. 9 is a kana-kanji conversion dictionary of the character processing device of the embodiment,
7 is an example of a screen showing the configuration of a registered word dictionary.

【図10】実施例の文字処理装置の各辞書に格納される
品詞をコード化するための対応表の例である。
FIG. 10 is an example of a correspondence table for coding a part of speech stored in each dictionary of the character processing device of the embodiment.

【図11】実施例の文字処理装置の処理全体を表したフ
ローチャートである。
FIG. 11 is a flowchart illustrating an entire process of the character processing apparatus according to the embodiment.

【図12】実施例の文字処理装置の単語登録処理を表し
たフローチャートである。
FIG. 12 is a flowchart illustrating a word registration process of the character processing apparatus according to the embodiment.

【図13】実施例の文字処理装置の単語削除処理を表し
たフローチャートである。
FIG. 13 is a flowchart illustrating a word deletion process of the character processing device according to the embodiment.

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

CPU マイクロプロセッサ DIC 仮名漢字変換用辞書 ROM 読出し専用メモリ RAM ランダムアクセスメモリ TOUROKU 登録単語辞書 MODE 保存モード DISK 外部記憶 PRT 印字装置 KB キーボード CR カーソルレジスタ DBUF 表示用バッファメモリ CRTC CRTコントローラ CRT 表示装置 CG キャラクタジェネレータ CPU Microprocessor DIC Kana-Kanji conversion dictionary ROM Read only memory RAM Random access memory TOUROKU Registered word dictionary MODE Storage mode DISK External storage PRT Printing device KB Keyboard CR Cursor register DBUF Display buffer memory CRTC CRT controller CRT Display device CG Character generator

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 単語の読みと表記とを対応づけて記憶す
る単語辞書と、 該単語辞書に存在しない単語の読みと表記とを対応づけ
て一時記憶させるための登録単語辞書と、 入力された読みを前記単語辞書及び前記登録単語辞書を
参照しつつ表記に変換する変換手段と、 操作者が必要な単語の読みと表記とを指定して前記登録
単語辞書に新単語を登録する単語登録手段と、 前記登録単語辞書から操作者が指定した単語を削除する
単語削除手段と、 前記登録単語辞書の内容を不揮発メモリに保存する辞書
保存手段と、 前記単語登録手段または前記単語削除手段の動作に応じ
て前記辞書保存手段を起動するモードあるいは起動しな
いモードを設定するモード設定手段と、 該モード設定手段により設定されたモードに基づいて、
前記辞書保存手段の起動を制御する制御手段とを備えた
ことを特徴とする文字処理装置。
1. A word dictionary for storing word readings and expressions in association with each other, a registered word dictionary for temporarily storing word readings and expressions not present in the word dictionary in association with each other, Conversion means for converting the reading into a notation while referring to the word dictionary and the registered word dictionary; word registration means for registering a new word in the registered word dictionary by designating the required word reading and notation by an operator Word deletion means for deleting a word specified by the operator from the registered word dictionary; dictionary storage means for storing the contents of the registered word dictionary in a nonvolatile memory; and operation of the word registration means or the word deletion means. A mode setting means for setting a mode for activating the dictionary storage means or a mode for not activating the dictionary storage means in accordance with the mode set by the mode setting means.
A character processing device comprising: a control unit that controls activation of the dictionary storage unit.
【請求項2】 前記モード設定手段が、前記単語登録手
段または前記単語削除手段の動作に応じて前記辞書保存
手段を起動するか否かを指示により決定するモードを設
定可能であり、当該モードが設定されている場合に、前
記制御手段が、当該辞書保存手段を起動するか否かの指
示を操作者に要求し、当該操作者からの指示に基づいて
前記辞書保存手段の起動を制御することを特徴とする請
求項1に記載の文字処理装置。
2. The method according to claim 1, wherein the mode setting means is capable of setting a mode for determining whether or not to activate the dictionary storage means in accordance with an operation of the word registration means or the word deletion means. When set, the control means requests an operator whether to activate the dictionary storage means, and controls activation of the dictionary storage means based on an instruction from the operator. 2. The character processing device according to claim 1, wherein:
【請求項3】 単語の読みと表記とを対応づけて記憶す
る単語辞書と、該単語辞書に存在しない単語の読みと表
記とを対応づけて一時記憶させるための登録単語辞書と
を備えた文字処理装置において、 入力された読みを前記単語辞書及び前記登録単語辞書を
参照しつつ表記に変換する変換工程と、 操作者が必要な単語の読みと表記とを指定して前記登録
単語辞書に新単語を登録する単語登録工程と、 前記登録単語辞書から操作者が指定した単語を削除する
単語削除工程と、 前記登録単語辞書の内容を不揮発メモリに保存する辞書
保存工程と、 前記単語登録工程または前記単語削除工程の実行に応じ
て前記辞書保存工程を実行するモードあるいは実行しな
いモードを設定するモード設定工程と、 該モード設定手段により設定されたモードに基づいて、
前記辞書保存工程の実行を制御する制御工程とを備えた
ことを特徴とする文字処理方法。
3. A character having a word dictionary for storing word readings and expressions in association with each other, and a registered word dictionary for temporarily storing word readings and expressions not in the word dictionary in association with each other. In the processing device, a conversion step of converting the input reading into a notation while referring to the word dictionary and the registered word dictionary; and an operator designating the required word reading and notation and updating the registered word dictionary. A word registration step of registering a word; a word deletion step of deleting a word specified by an operator from the registered word dictionary; a dictionary storage step of storing the contents of the registered word dictionary in a non-volatile memory; A mode setting step of setting a mode for executing the dictionary storing step or a mode for not executing the dictionary storing step in response to the execution of the word deleting step; and a mode setting mode based on the mode set by the mode setting means. Then,
A control step of controlling execution of the dictionary storage step.
【請求項4】 前記モード設定工程において、前記単語
登録工程または前記単語削除工程の実行に応じて前記辞
書保存工程を実行するか否かを指示により決定するモー
ドを設定可能であり、当該モードが設定されている場合
に、前記制御工程では、当該辞書保存工程を実行するか
否かの指示を操作者に要求し、当該操作者からの指示に
基づいて前記辞書保存工程の実行を制御することを特徴
とする請求項3に記載の文字処理装置。
4. In the mode setting step, it is possible to set a mode for determining whether or not to execute the dictionary storage step in accordance with execution of the word registration step or the word deletion step by an instruction. When it is set, in the control step, an instruction as to whether or not to execute the dictionary storage step is requested to an operator, and the execution of the dictionary storage step is controlled based on an instruction from the operator. 4. The character processing device according to claim 3, wherein:
JP29566491A 1991-11-12 1991-11-12 Character processing apparatus and method Expired - Fee Related JP3236038B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29566491A JP3236038B2 (en) 1991-11-12 1991-11-12 Character processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29566491A JP3236038B2 (en) 1991-11-12 1991-11-12 Character processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH05135014A JPH05135014A (en) 1993-06-01
JP3236038B2 true JP3236038B2 (en) 2001-12-04

Family

ID=17823582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29566491A Expired - Fee Related JP3236038B2 (en) 1991-11-12 1991-11-12 Character processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3236038B2 (en)

Also Published As

Publication number Publication date
JPH05135014A (en) 1993-06-01

Similar Documents

Publication Publication Date Title
JP3236038B2 (en) Character processing apparatus and method
JPH0117184B2 (en)
JP3375979B2 (en) Character processing apparatus and method
JPH0547858B2 (en)
JPS627593B2 (en)
JPS60238919A (en) Power disconnection processing system of word processor
JP3304999B2 (en) Dictionary management method and device
JP2757367B2 (en) Character processor
JP3052339B2 (en) Document data processing device
JPH05135013A (en) Character processor
JP2606579B2 (en) Character display device
JPH0922411A (en) Document processing method and apparatus
JPH07152617A (en) Character processor
JPS62119665A (en) Word processor
JP2713942B2 (en) Kana-Kanji conversion device
JPH0962666A (en) Document processing method and apparatus
JPH08292953A (en) Document processing device
JPH069043B2 (en) Character processing method
JPH05257934A (en) Document creation device
JPH10187700A (en) Document processing device
JPS6263366A (en) Searching system for unwritten part in word processor
JPH05174004A (en) Method and device for character processing
JPH01231163A (en) Document generating device
JPH0628062B2 (en) Character processing apparatus and method
JPH10187705A (en) Document processing method and apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010911

LAPS Cancellation because of no payment of annual fees