JPH05135018A - Character processing method and device - Google Patents
Character processing method and deviceInfo
- Publication number
- JPH05135018A JPH05135018A JP3295659A JP29565991A JPH05135018A JP H05135018 A JPH05135018 A JP H05135018A JP 3295659 A JP3295659 A JP 3295659A JP 29565991 A JP29565991 A JP 29565991A JP H05135018 A JPH05135018 A JP H05135018A
- Authority
- JP
- Japan
- Prior art keywords
- learning
- document
- kanji
- storage
- kana
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】 学習データの保存の操作性を高める。
【構成】 文書保存後に自動的に学習データを保存する
モードを持つ。
【効果】 学習データの保存が確実に実行される。学習
データの保存を実行するか否かを文書保存の度に設定す
る必要がなくなる。
(57) [Summary] [Purpose] To improve the operability of saving learning data. [Structure] It has a mode to save learning data automatically after saving a document. [Effect] The learning data is reliably saved. It is not necessary to set whether to save the learning data each time the document is saved.
Description
【0001】[0001]
【産業上の利用分野】本発明は仮名漢字変換により漢字
仮名混り文を入力する文字処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing device for inputting a mixed kanji / kana sentence by kana / kanji conversion.
【0002】[0002]
【従来の技術】現在、日本ワードプロセッサなどの文字
処理装置では、漢字仮名混り文の入力を仮名漢字変換を
使って行なうことが一般的である。仮名漢字変換はオペ
レータが入力した読み列を装置が自動的に漢字仮名混り
文に変換する機構である。しかし、日本語には同音語が
多数存在し、かつ、それらの同音語を自動判別するのは
現在の技術では困難なので、オペレータが選択した単語
を学習データとして記憶し、仮名漢字変換時に学習デー
タを参照し、学習されている単語を優先的に仮名漢字変
換する、学習と呼ばれる機構をサポートしているのが一
般的である。2. Description of the Related Art At present, in a character processing device such as a Japanese word processor, it is general to input a mixed kanji-kana sentence using kana-kanji conversion. Kana-Kanji conversion is a mechanism in which the device automatically converts a reading string input by an operator into a kanji-kana mixed sentence. However, since there are many homophones in Japanese, and it is difficult to automatically identify those homophones with the current technology, the words selected by the operator are stored as learning data and the learning data is used when converting to Kana-Kanji. It generally supports a mechanism called learning, which refers to, and preferentially converts kana to kanji for learned words.
【0003】ところで、この学習データは頻繁に更新さ
れることになるので、揮発性のメモリ(RAM)上に置
かれることも多い。その場合、電源を切ればRAMの内
容が失われ、学習データも消滅してしまう。そのためオ
ペレータが電源を切る前の適当なタイミングで学習デー
タをFD等の2次記憶に保存するよう指示する必要があ
った。しかし、学習データの保存の指示を忘れる人が多
いため、従来は、キーストロークを監視し定期的にR
AM上の学習データをFD等の非揮発性の2次記憶に保
存する、RAMをバッテリーバックアップし電源を切
ってもRAMの内容が消滅しないようにする、文書を
FD等に保存するたびにオペレータに学習データの保存
の必要性を指定させる、などの方法が考案されている。By the way, since this learning data is frequently updated, it is often stored in a volatile memory (RAM). In that case, if the power is turned off, the contents of the RAM will be lost and the learning data will be lost. Therefore, it is necessary for the operator to instruct the learning data to be stored in the secondary storage such as the FD at an appropriate timing before the power is turned off. However, there are many people who forget the instruction to save the learning data, so conventionally, the keystroke is monitored and the R
Save learning data on AM to non-volatile secondary storage such as FD, RAM back up to battery so that the contents of RAM will not be lost even when the power is turned off, operator every time a document is saved to FD etc. A method has been devised, such as letting the user specify the need to store learning data.
【0004】[0004]
【発明が解決しようとしている課題】このような従来装
置においては、以下の欠点がある。However, such a conventional device has the following drawbacks.
【0005】の方法では、入力作業中にキーストロー
クがある一定数に達した瞬間、強制的に学習データの保
存が開始されるので、学習データの保存を忘れる恐れは
なくなった。しかし、オペレータの意志と無関係に任意
のタイミングで学習データの保存が開始され、いったん
保存が開始されると終了するまでキーが効かなくなるの
で、思考の流れが中断されやすいという欠点があった。According to the method of (1), the learning data is forcibly started to be stored at the moment when the number of keystrokes reaches a certain number during the input work, so that there is no fear of forgetting to save the learning data. However, regardless of the operator's intention, the saving of the learning data is started at an arbitrary timing, and once the saving is started, the key does not work until the end, so that the flow of thought is easily interrupted.
【0006】の方法では、電源を切っても学習データ
が失われる心配はないので、オペレータの負荷は減少す
るが、RAMをバックアップするための余分な電源が必
要となるので装置のコストが高くなるという欠点があっ
た。According to the method of (1), there is no concern that learning data will be lost even if the power is turned off, so that the load on the operator is reduced, but the extra power source for backing up the RAM is required, which increases the cost of the apparatus. There was a drawback.
【0007】の方法では、文書保存の時に学習を保存
するかどうかをオペレータが指定するのでうっかり学習
データを保存し忘れるという心配はないが、保存の指定
が煩わしいという欠点があった。In the method of (1), since the operator specifies whether or not to save learning when saving a document, there is no fear of accidentally forgetting to save the learning data, but there is a drawback in that the save specification is troublesome.
【0008】本発明は上述の欠点に鑑みてなされたもの
であり、その目的とするところは、オペレータが学習デ
ータの保存を忘れることがなく、かつ、オペレータの思
考の流れを中断することなく、かつ、保存の指示がオペ
レータにとって煩わしくなく、かつ、ローコストに構成
できる装置を提供する点にある。The present invention has been made in view of the above-mentioned drawbacks, and an object of the present invention is to prevent an operator from forgetting to save learning data and to interrupt the flow of thinking of the operator. In addition, the storage instruction is not bothersome to the operator, and a device that can be configured at low cost is provided.
【0009】[0009]
【課題を解決するための手段】上述した課題を解決し、
目的を達成するため、本発明に係る文字処理装置は、読
み列を入力する入力手段と、入力された読み列を漢字仮
名混り文に変換する仮名漢字変換手段と、仮名漢字変換
手段により変換された変換結果がオペレータの望む表記
でない時に別の候補を選択する次候補選択手段と、変換
確定された漢字仮名混り文を記憶する文書記憶手段と、
次候補選択手段により選択された候補に関する学習情報
を記憶する学習情報記憶手段と、文書記憶手段に記憶さ
れた内容を非揮発性の2次記憶に保存する文書保存手段
と、学習情報記憶手段に記憶された内容を非揮発性の2
次記憶に保存する学習保存手段と、文書保存手段に連動
して学習保存手段を起動するかどうかを指定する文書保
存時学習保存モードとを備えることを特徴とする。[Means for Solving the Problems]
To achieve the object, a character processing device according to the present invention includes an input means for inputting a reading string, a kana-kanji converting means for converting the input reading string into a kanji-kana mixed sentence, and a kana-kanji converting means. A next candidate selecting means for selecting another candidate when the converted result is not the operator's desired notation, and a document storing means for storing the conversion-determined kanji / kana mixed sentence.
A learning information storage unit that stores learning information about the candidate selected by the next candidate selection unit, a document storage unit that stores the content stored in the document storage unit in a non-volatile secondary storage, and a learning information storage unit. The stored contents are non-volatile
It is characterized by comprising a learning storage means for storing in the next storage and a learning storage mode at the time of document storage for designating whether or not to activate the learning storage means in association with the document storage means.
【0010】[0010]
【作用】かかる構成によれば、入力手段は読み列を入力
し、仮名漢字変換手段は入力された読み列を漢字仮名混
り文に変換し、次候補選択手段は仮名漢字変換手段によ
り変換された変換結果がオペレータの望む表記でない時
に別の候補を選択し、文書記憶手段は変換確定された漢
字仮名混り文を記憶し、学習情報記憶手段は次候補選択
手段により選択された候補に関する学習情報を記憶し、
文書保存手段は文書記憶手段に記憶された内容を非揮発
性の2次記憶に保存し、学習保存手段は学習情報記憶手
段に記憶された内容を非揮発性の2次記憶に保存し、文
書保存時学習保存モードは文書保存手段に連動して学習
保存手段を起動するかどうかを指定する。According to this structure, the input means inputs a reading string, the kana-kanji conversion means converts the input reading string into a kanji-kana mixed sentence, and the next candidate selecting means is converted by the kana-kanji converting means. When the conversion result is not the notation desired by the operator, another candidate is selected, the document storage means stores the conversion-determined kanji kana mixed sentence, and the learning information storage means learns about the candidate selected by the next candidate selection means. Memorize information,
The document storage means stores the content stored in the document storage means in the non-volatile secondary storage, and the learning storage means stores the content stored in the learning information storage means in the non-volatile secondary storage. The learning storage mode during storage specifies whether to activate the learning storage means in conjunction with the document storage means.
【0011】[0011]
【実施例】以下に添付図面を参照して、本発明に係る好
適な一実施例を詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
【0012】〈第1の実施例〉図1は本発明に係る文字
処理装置の第1の実施例を示すブロック図である。同図
において、CPUは、マイクロプロセッサであり、文字
処理のための演算、論理判断等を行ない、アドレスバス
AB、コントロールバスCB、データバスDBを介し
て、それらのバスに接続された各構成要素を制御する。<First Embodiment> FIG. 1 is a block diagram showing a first embodiment of a character processing apparatus according to the present invention. In the figure, a CPU is a microprocessor that performs arithmetic operations for character processing, logical judgments, etc., and each component connected to these buses via an address bus AB, a control bus CB, and a data bus DB. To control.
【0013】アドレスバスABはマイクロプロセッサC
PUの制御の対象とする構成要素を指示するアドレス信
号を転送する。コントロールバスCBはマイクロプロセ
ッサCPUの制御の対象とする各構成要素のコントロー
ル信号を転送して印加する。データバスDBは各構成機
器相互間のデータの転送を行なう。The address bus AB is a microprocessor C
An address signal for instructing a component to be controlled by the PU is transferred. The control bus CB transfers and applies a control signal of each constituent element to be controlled by the microprocessor CPU. The data bus DB transfers data between the constituent devices.
【0014】DICは辞書であり、仮名漢字変換を行な
う際に参照する。DIC is a dictionary, which is referred to when performing Kana-Kanji conversion.
【0015】つぎにROMは、読出し専用の固定メモリ
であり、図5〜図9につき後述するマイクロプロセッサ
CPUによる制御の手順を記憶する。Next, the ROM is a read-only fixed memory, and stores the procedure of control by the microprocessor CPU described later with reference to FIGS.
【0016】また、RAMは、1ワード16ビットの構
成の書込み可能のランダムアクセスメモリであって、各
構成要素からの各種データの一時記憶に用いる。LDI
Cは学習データであり、かな漢字変換された候補のうち
第2候補以下を選択した時、どの候補を選択したかを記
憶するエリアである。SFLGは文書保存時に学習デー
タを保存するかどうかを切り替えるモードである。PF
LGは印刷時に学習データを保存するかどうかを切り替
えるモードである。LFLGはRAM上の学習データが
更新されているかどうか(それゆえ、DISKに保存す
る必要があるかどうか)を判定するフラグである。The RAM is a writable random access memory having a structure of 1 word and 16 bits, and is used for temporary storage of various data from each constituent element. LDI
C is learning data, and is an area for storing which candidate is selected when the second or lower candidate is selected from the kana-kanji converted candidates. SFLG is a mode for switching whether to save learning data when saving a document. PF
LG is a mode for switching whether to save the learning data at the time of printing. LFLG is a flag that determines whether or not the learning data on the RAM has been updated (hence, whether or not it needs to be stored in DISK).
【0017】KBはキーボードであって、アルファベッ
トキー、ひらかなキー、カタカナキー等の文字記号入力
キー、及び、変換キー、選択キー、モード設定キー、文
書保存キー、印刷キー、実行キー等の本文字処理装置に
対する各種機能を指示するための各種のファンクション
キーを備えている。Reference numeral KB denotes a keyboard, which is a character / symbol input key such as an alphabet key, a hiragana key, or a katakana key, and a book such as a conversion key, a selection key, a mode setting key, a document save key, a print key, an execute key, or the like. Various function keys for instructing various functions to the character processing device are provided.
【0018】DISKは文書データ、学習データを記憶
するためのFD等の外部記憶である。テキストバッファ
上に作成された文書は、このDISKに保管される。保
管された文書はキーボードの指示により、必要な時呼び
出される。また、RAM上の学習データもDISKに保
管され、保管された学習データはキーボードの指示によ
り必要な時に呼び出される。DISK is an external storage such as an FD for storing document data and learning data. The document created in the text buffer is stored in this DISK. The stored document is recalled when necessary by the instruction of the keyboard. Further, the learning data on the RAM is also stored in the DISK, and the stored learning data is called when necessary by the instruction of the keyboard.
【0019】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, which will be described later, displays a cursor at a position on the display device CRT corresponding to the address stored here.
【0020】DBUFは表示用バッファメモリで、表示
すべきデータを蓄える。DBUF is a display buffer memory for storing data to be displayed.
【0021】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.
【0022】またCRTは陰極線管等を用いた表示装置
であり、その表示装置CRTにおけるドット構成の表示
パターンおよびカーソルの表示をCRTコントローラで
制御する。The CRT is a display device using a cathode ray tube or the like, and the display pattern of the dot configuration and the display of the cursor on the display device CRT are controlled by the CRT controller.
【0023】さらに、CGはキャラクタジェネレータで
あって、表示装置CRTに表示する文字、記号のパター
ンを記憶するものである。Further, CG is a character generator, which stores a pattern of characters and symbols to be displayed on the display device CRT.
【0024】またPRTは印字装置であり、キーボード
からの指示に応じてテキストバッファ上の文書を印字す
る。The PRT is a printing device and prints a document on a text buffer in response to an instruction from the keyboard.
【0025】かかる各構成要素からなる本発明文字処理
装置においては、キーボードKBからの各種の入力に応
じて作動するものであって、キーボードKBからの入力
が供給されると、まず、インタラプト信号がマイクロプ
ロセッサCPUに送られ、そのマイクロプロセッサCP
UがROM内に記憶してある各種の制御信号を読出し、
それらの制御信号に従って各種の制御が行なわれる。The character processing apparatus of the present invention comprising the above-mentioned components operates in response to various inputs from the keyboard KB, and when an input from the keyboard KB is supplied, an interrupt signal is first sent. Sent to the microprocessor CPU, which microprocessor CP
U reads out various control signals stored in the ROM,
Various controls are performed according to these control signals.
【0026】図2は、第1の実施例による文書保存時の
学習保存の操作例を示した図である。FIG. 2 is a diagram showing an operation example of learning and saving when saving a document according to the first embodiment.
【0027】2−1は文書が入力された状態を示す画面
例である。この状態で文書保存キーを打鍵すると文書保
存のためのウインドウが開き、文書名の入力が可能にな
る(2−2)。文書名を入力した後実行キーを打鍵する
と2−3のように文書の保存処理が実行される。文書の
保存が終了した後、オペレータの操作なしで学習データ
が自動的に保存される(2−4)。2-1 is an example of a screen showing a state in which a document is input. When the user presses the document save key in this state, a window for saving the document opens, and the document name can be input (2-2). When the execution key is pressed after inputting the document name, the document saving process is executed as in 2-3. After the document is saved, the learning data is automatically saved without any operator's operation (2-4).
【0028】図3は、第1の実施例による学習操作の例
を示した図である。FIG. 3 is a diagram showing an example of the learning operation according to the first embodiment.
【0029】3−1は仮名漢字変換のための読みが入力
された状態を示す画面例である。ここでアンダラインは
入力途中の読みを示し、反転はカーソルを示している。
ここで変換キーを打鍵すると、3−2の画面になり仮名
漢字変換が実行される。更に変換キーを打鍵すると3−
3の画面になり、候補表示が行なわれる。ここで選択キ
ーを打鍵すると3−4の画面になり変換候補が確定す
る。この時、学習が行なわれ、この場合「機会」という
候補が選択されたという情報が学習データLDICに記
憶される。そこで、再度、読み「きかい』を入力すると
3−5、3−6のようになり学習された候補「機会」が
第1候補で変換される。3-1 is an example of a screen showing a state in which a reading for kana-kanji conversion has been input. Here, the underline indicates reading during input, and the inversion indicates a cursor.
When the conversion key is pressed here, the screen of 3-2 is displayed and the kana-kanji conversion is executed. If you press the conversion key further, 3-
The screen of No. 3 is displayed and candidates are displayed. Here, when the select key is pressed, the screen of 3-4 appears and the conversion candidates are confirmed. At this time, learning is performed, and in this case, information that the candidate “opportunity” has been selected is stored in the learning data LDIC. Then, when the reading "kikai" is input again, the learned candidates "opportunities" are converted into the first candidates as in 3-5 and 3-6.
【0030】図4は、第1の実施例によるモード設定の
画面例を示した図である。FIG. 4 is a diagram showing an example of a mode setting screen according to the first embodiment.
【0031】モードには文書保存時の学習保存のための
モードと印刷時の学習保存のモード(PFLGに対応)
がある。文書保存時の学習保存モードは文書保存を行な
った時に学習データが自動的に保存されるかどうかを指
定するモードであり、RAM上のフラグSFLGに対応
している。印刷時の学習保存モードは印刷実行時に学習
データを保存するかどうかを指定するモードであり、R
AM上のフラグPFLGに対応している。The modes include a mode for learning and saving when saving a document and a mode for learning and saving when printing (corresponding to PFLG).
There is. The learning storage mode during document storage is a mode for designating whether or not learning data is automatically stored when a document is stored, and corresponds to the flag SFLG on the RAM. The learning save mode at the time of printing is a mode that specifies whether to save the learning data at the time of printing, and R
This corresponds to the flag PFLG on AM.
【0032】モードの指定は該当するモードの項目に1
または0を入力することにより行なう。The designation of the mode is 1 in the item of the corresponding mode.
Alternatively, enter 0.
【0033】次に上述の動作をフローに従って説明す
る。Next, the above operation will be described according to the flow.
【0034】図5は第1の実施例によるキー入力を取り
込み、処理を行なう動作を説明するフローチャートであ
る。FIG. 5 is a flow chart for explaining the operation of fetching a key input and processing according to the first embodiment.
【0035】ステップ5−1において、キーボードから
打鍵されるキーデータを取り込む。ステップ5−2にお
いて、取り込まれたキーの種別を判定し、判定結果を出
力する。その判定結果に応じて、各キーの処理ルーチン
に分岐する。In step 5-1, key data to be keyed from the keyboard is fetched. In step 5-2, the type of the fetched key is determined and the determination result is output. Depending on the determination result, the process branches to each key processing routine.
【0036】モード設定キーであったときはステップ5
−3に分岐し、ステップ5−3において、図6に詳述す
るようにモード設定処理を行なう。If it is the mode setting key, step 5
-3, and in step 5-3, mode setting processing is performed as described in detail in FIG.
【0037】「あ」「い」等の読みキーのときは、ステ
ップ5−4に分岐し、読み入力を内部的にバッファに蓄
積する処理を行なう。When the reading key is "A" or "I", the process branches to Step 5-4 to internally store the reading input in the buffer.
【0038】変換キーのときは、ステップ5−5に分岐
し、その時点までにバッファに格納されていた読み列を
仮名漢字変換して表示する処理を行なう。もし、すでに
変換されている時は次候補の意味に解釈され、変換候補
の次候補以降を表示する。If the key is a conversion key, the process branches to step 5-5, and the reading string stored in the buffer up to that point is converted into Kana-Kanji characters and displayed. If it has already been converted, it will be interpreted as the meaning of the next candidate and the next and subsequent candidates of the conversion candidate will be displayed.
【0039】選択キーのときは、ステップ5−6に分岐
し、図7に詳述するように選択処理を行なう。If the key is the select key, the process branches to step 5-6 and the selecting process is performed as described in detail in FIG.
【0040】文書保存キーのときは、ステップ5−7に
分岐し、図8に詳述するように保存処理を行なう。If the key is the document save key, the process branches to step 5-7 to perform the save process as described in detail in FIG.
【0041】印刷キーのときは、ステップ5−8に分岐
し、図9に詳述するように印刷処理を行なう。If the key is the print key, the process branches to step 5-8, and the printing process is performed as described in detail in FIG.
【0042】その他のキーのときはステップ5−9に分
岐し、挿入、削除、記号入力等の通常の文字処理装置に
おいて行なわれるその他の処理を行なう。If the key is any other key, the process branches to step 5-9 to perform other processes such as insertion, deletion, symbol input, etc. which are carried out in a normal character processing apparatus.
【0043】各処理が終了するとステップ5−1に分岐
する。Upon completion of each process, the process branches to step 5-1.
【0044】図6は第1の実施例によるステップ5−3
の「モード設定処理」を詳細に説明するフローチャート
である。FIG. 6 shows step 5-3 according to the first embodiment.
5 is a flowchart for explaining in detail the "mode setting process".
【0045】ステップ6−1において、図4に示したモ
ード設定ウインドウを表示する。In step 6-1, the mode setting window shown in FIG. 4 is displayed.
【0046】ステップ6−2において、キー打鍵が行な
われるまでウエートし、キーデータを取り込む。At step 6-2, the key is waited until the key is pressed, and the key data is fetched.
【0047】ステップ6−3において、取り込まれたキ
ーデータを解釈して各処理に分岐する。In step 6-3, the fetched key data is interpreted and branched to each process.
【0048】数字キーの時はステップ6−4に分岐し、
数字入力に応じて画面表示を書き換える。その後ステッ
プ6−2に分岐する。If it is a numeric key, the process branches to step 6-4.
The screen display is rewritten according to the number input. After that, the process branches to step 6-2.
【0049】カーソルキーの時はステップ6−5に分岐
し、モード設定ウインドウ内のカーソル移動処理を行な
う。その後ステップ6−2に分岐する。If it is the cursor key, the process branches to step 6-5 to perform the cursor moving process in the mode setting window. After that, the process branches to step 6-2.
【0050】実行キーの時はステップ6−6に分岐し、
画面上に設定されている値を取り込み、RAM上のフラ
グSFLG、PFLGに値を反映させる。その後、ステ
ップ6−7においてウインドウをクローズし、リターン
する。When the execution key is selected, the process branches to step 6-6,
The value set on the screen is taken in and the value is reflected in the flags SFLG and PFLG on the RAM. Then, in step 6-7, the window is closed and the process returns.
【0051】上記以外のキーが来た場合は、無関係なキ
ーなのでキー入力を無視し、ステップ6−2に分岐し、
再度キー入力を行なう。If a key other than the above is received, the key input is ignored because it is an unrelated key, and the process branches to step 6-2.
Enter the key again.
【0052】図7は第1の実施例によるステップ5−6
の「選択処理」を詳細に説明するフローチャートであ
る。FIG. 7 shows steps 5-6 according to the first embodiment.
5 is a flowchart illustrating in detail the "selection process" of FIG.
【0053】ステップ7−1において、選択された候補
を確定し、例えば文書に出力する処理を行なう。この
時、候補一覧がもし表示されていれば、候補一覧表示を
消去する処理を行なう。In step 7-1, the selected candidate is confirmed and output to a document, for example. At this time, if the candidate list is displayed, the candidate list display is deleted.
【0054】ステップ7−2において選択された候補が
第1候補であったかどうかを判断し、第1候補であれば
学習の必要がないのでそのままリターンする。第1候補
でなければステップ7−3に分岐し、学習処理を行な
う。学習結果はRAM上のLDICに記憶される。その
後ステップ7−4において、学習データが更新されたこ
とを記憶するフラグLFLGの値を1に変更する。その
後リターンする。In step 7-2, it is judged whether or not the candidate selected is the first candidate. If the candidate is the first candidate, learning is not necessary and the process returns. If it is not the first candidate, the process branches to step 7-3 to perform the learning process. The learning result is stored in the LDIC on the RAM. Then, in step 7-4, the value of the flag LFLG that stores that the learning data has been updated is changed to 1. Then return.
【0055】図8は第1の実施例によるステップ5−7
の「保存処理」を詳細に説明するフローチャートであ
る。FIG. 8 shows steps 5-7 according to the first embodiment.
5 is a flowchart for explaining in detail the "storing process" of FIG.
【0056】ステップ8−1において、テキストバッフ
ァの内容をDISKに保存する処理を行なう。In step 8-1, the contents of the text buffer are stored in DISK.
【0057】ステップ8−2において、SFLGの値を
判定する。1でないときは文書保存に連動して学習デー
タを保存する必要がないからそのままリターンする。S
FLGの値が1のときはステップ8−3に進む。At step 8-2, the value of SFLG is determined. If it is not 1, it is not necessary to save the learning data in conjunction with the document saving, and the process returns as it is. S
When the value of FLG is 1, the process proceeds to step 8-3.
【0058】ステップ8−3において、LFLGの値を
判定する。LFLGの値が1でない時はRAM上の学習
データは更新されていないので保存の必要がなく、その
ままリターンする。LFLGの値が1の時は学習データ
が更新されており、保存する必要があるのでステップ8
−4に進む。At step 8-3, the value of LFLG is determined. When the value of LFLG is not 1, the learning data on the RAM has not been updated, so there is no need to save it, and the process returns directly. When the value of LFLG is 1, the learning data has been updated and needs to be saved, so step 8
Go to -4.
【0059】ステップ8−4において、RAM上の学習
データをDISKに保存する処理を行なう。In step 8-4, the learning data on the RAM is stored in DISK.
【0060】ステップ8−5において、学習データの保
存が終了したので、LFLGの値を0にリセットし「学
習データは更新されていない」という状態にする。その
後リターンする。In step 8-5, since the learning data has been saved, the value of LFLG is reset to 0 to bring the learning data into a state where it has not been updated. Then return.
【0061】図9は第1の実施例によるステップ5−8
の「印刷処理」を詳細に説明するフローチャートであ
る。FIG. 9 shows steps 5-8 according to the first embodiment.
5 is a flowchart illustrating in detail the “printing process” of FIG.
【0062】ステップ9−1において、テキストバッフ
ァの内容をPRTに印字する処理を行なう。At step 9-1, the contents of the text buffer are printed on the PRT.
【0063】ステップ9−2において、PFLGの値を
判定する。1でないときは印刷に連動して学習データを
保存する必要がないからそのままリターンする。PFL
Gの値が1のときはステップ9−3に進む。At step 9-2, the value of PFLG is determined. If it is not 1, there is no need to store the learning data in association with printing, and the process returns. PFL
When the value of G is 1, the process proceeds to step 9-3.
【0064】ステップ9−3において、LFLGの値を
判定する。LFLGの値が1でない時はRAM上の学習
データは更新されていないので保存の必要がなく、その
ままリターンする。LFLGの値が1の時は学習データ
が更新されており、保存する必要があるのでステップ9
−4に進む。At step 9-3, the value of LFLG is determined. When the value of LFLG is not 1, the learning data on the RAM has not been updated, so there is no need to save it, and the process returns directly. When the value of LFLG is 1, the learning data has been updated and needs to be saved.
Go to -4.
【0065】ステップ9−4において、RAM上の学習
データをDISKに保存する処理を行なう。At step 9-4, the learning data on the RAM is stored in DISK.
【0066】ステップ9−5において、学習データの保
存が終了したので、LFLGの値を0にリセットし「学
習データは更新されていない」という状態にする。その
後リターンする。In step 9-5, the storage of the learning data is completed, so the value of LFLG is reset to 0 to bring the learning data into a state where it has not been updated. Then return.
【0067】以上説明したように、第1の実施例によれ
ば、文書保存時に学習データを自動的に保存するかどう
かを指定するモードがあるので、オペレータが学習デー
タの保存を忘れることがなく、かつ、文書保存ごとに学
習データを保存するかどうかを指定する煩わしさもない
ので、操作性の高い、快適な文字処理装置を実現するこ
とができる。As described above, according to the first embodiment, there is a mode for designating whether to automatically save the learning data when saving the document, so that the operator does not forget to save the learning data. Moreover, since there is no need to specify whether to save the learning data for each document, it is possible to realize a comfortable character processing device with high operability.
【0068】また、本発明は、単体の装置に限らず、複
数の装置からなるシステムにも適用可能であり、更に、
装置またはシステムに、ソフトウェアを提供することに
よっても、実現可能であることは、言うまでもない。The present invention is applicable not only to a single device but also to a system composed of a plurality of devices.
It goes without saying that it can be realized by providing software to the device or system.
【0069】[0069]
【発明の効果】以上の説明から明らかなように本発明に
よれば、オペレータが学習データの保存を忘れることが
なく、かつ、学習データ保存のための煩わしい操作もな
いので、操作性の高い、快適な文字処理装置を実現する
ことができる。As is apparent from the above description, according to the present invention, since the operator does not forget to save the learning data and there is no troublesome operation for saving the learning data, the operability is high. It is possible to realize a comfortable character processing device.
【図1】本発明に係る文字処理装置の第1の実施例を示
すブロック図である。FIG. 1 is a block diagram showing a first embodiment of a character processing device according to the present invention.
【図2】第1の実施例による文書保存時の学習保存の操
作例を示した図である。FIG. 2 is a diagram showing an operation example of learning and saving when saving a document according to the first embodiment.
【図3】第1の実施例による学習操作の例を示した図で
ある。FIG. 3 is a diagram showing an example of a learning operation according to the first embodiment.
【図4】第1の実施例によるモード設定の画面例を示し
た図である。FIG. 4 is a diagram showing an example of a screen for mode setting according to the first embodiment.
【図5】第1の実施例によるキー入力を取り込み処理を
行なう動作を説明するフローチャートである。FIG. 5 is a flowchart illustrating an operation of capturing a key input according to the first embodiment.
【図6】第1の実施例によるステップ5−3の「モード
設定処理」を詳細に説明するフローチャートである。FIG. 6 is a flowchart illustrating in detail a “mode setting process” of step 5-3 according to the first embodiment.
【図7】第1の実施例によるステップ5−6の「選択処
理」を詳細に説明するフローチャートである。FIG. 7 is a flowchart illustrating in detail the “selection process” of steps 5-6 according to the first embodiment.
【図8】第1の実施例によるステップ5−7の「保存処
理」を詳細に説明するフローチャートである。FIG. 8 is a flowchart illustrating in detail a “save process” of step 5-7 according to the first embodiment.
【図9】第1の実施例によるステップ5−8の「印刷処
理」を詳細に説明するフローチャートである。FIG. 9 is a flowchart illustrating in detail “print processing” in step 5-8 according to the first embodiment.
CPU マイクロプロセッサ DIC 仮名漢字変換用辞書 ROM 読出し専用メモリ RAM ランダムアクセスメモリ DISK 外部記憶 PRT 印字装置 KB キーボード CR カーソルレジスタ DBUF 表示用バッファメモリ CRTC CRTコントローラ CRT 表示装置 CG キャラクタジェネレータ LDIC 学習データ SFLG 文書保存時学習保存フラグ PFLG 印刷時学習保存フラグ LFLG 学習データ更新フラグ CPU Microprocessor DIC Kana-Kanji conversion dictionary ROM Read only memory RAM Random access memory DISK External storage PRT Printing device KB Keyboard CR Cursor register DBUF Display buffer memory CRTC CRT controller CRT display device CG Character generator LDIC learning data SFLG Document saving learning Save flag PFLG Learning save flag during printing LFLG Learning data update flag
Claims (4)
された読み列を漢字仮名混り文に変換する仮名漢字変換
手段と、前記仮名漢字変換手段により変換された変換結
果がオペレータの望む表記でない時に別の候補を選択す
る次候補選択手段と、変換確定された漢字仮名混り文を
記憶する文書記憶手段と、前記次候補選択手段により選
択された候補に関する学習情報を記憶する学習情報記憶
手段と、前記文書記憶手段に記憶された内容を非揮発性
の2次記憶に保存する文書保存手段と、前記学習情報記
憶手段に記憶された内容を非揮発性の2次記憶に保存す
る学習保存手段と、前記文書保存手段に連動して前記学
習保存手段を起動するかどうかを指定する文書保存時学
習保存モードとを具備することを特徴とする文字処理装
置。1. An input means for inputting a reading string, a kana-kanji converting means for converting the input reading string into a kanji-kana mixed sentence, and a conversion result converted by the kana-kanji converting means desired by an operator. Next candidate selecting means for selecting another candidate when it is not written, document storing means for storing the conversion-determined kanji kana mixed sentence, and learning information for storing learning information about the candidate selected by the next candidate selecting means A storage unit, a document storage unit that stores the content stored in the document storage unit in a non-volatile secondary storage, and a content storage unit that stores the content stored in the learning information storage unit in a non-volatile secondary storage. A character processing apparatus comprising: a learning storage unit and a document storage learning storage mode for designating whether or not to activate the learning storage unit in association with the document storage unit.
された読み列を漢字仮名混り文に変換する仮名漢字変換
手段と、前記仮名漢字変換手段により変換された変換結
果がオペレータの望む表記でない時に別の候補を選択す
る次候補選択手段と、変換確定された漢字仮名混り文を
記憶する文書記憶手段と、前記次候補選択手段により選
択された候補に関する学習情報を記憶する学習情報記憶
手段と、前記文書記憶手段に記憶された内容を印刷する
文書印刷手段と、前記学習情報記憶手段に記憶された内
容を非揮発性の2次記憶に保存する学習保存手段と、前
記文書印刷手段に連動して学習保存手段を起動するかど
うかを指定する印刷時学習保存モードとを具備すること
を特徴とする文字処理装置。2. An input means for inputting a reading string, a kana-kanji converting means for converting the input reading string into a kanji-kana mixed sentence, and a conversion result converted by the kana-kanji converting means as desired by the operator. Next candidate selecting means for selecting another candidate when it is not written, document storing means for storing the conversion-determined kanji kana mixed sentence, and learning information for storing learning information about the candidate selected by the next candidate selecting means Storage means, document printing means for printing the content stored in the document storage means, learning storage means for storing the content stored in the learning information storage means in a non-volatile secondary storage, and the document printing A character processing device comprising: a learning learning storage mode for printing, which specifies whether or not to activate the learning storage means in association with the means.
換する際に、第1の変換結果がオペレータの望む表記で
ない時に、別の候補を選択すると、選択された候補に関
する学習情報を一時記憶可能な文字処理装置において、
作成文書内容を不揮発性の2次記憶に保存する動作に連
動して、前記学習情報を該2次記憶に保存するように制
御することを特徴とする文字処理方法。3. When converting an input reading string into a kanji-kana mixed sentence, if another candidate is selected when the first conversion result is not the notation desired by the operator, learning information about the selected candidate is displayed. In a character processing device that can be temporarily stored,
A character processing method characterized in that the learning information is controlled to be stored in the secondary storage in association with the operation of storing the created document content in the non-volatile secondary storage.
換する際に、第1の変換結果がオペレータの望む表記で
ない時に、別の候補を選択すると、選択された候補に関
する学習情報を一時記憶可能な文字処理装置において、
作成文書内容を印刷する動作に連動して、前記学習情報
を不揮発性の2次記憶に保存するように制御することを
特徴とする文字処理方法。4. When converting an input reading string into a mixed Kanji / Kana sentence and the first conversion result is not the notation desired by the operator, if another candidate is selected, learning information about the selected candidate is displayed. In a character processing device that can be temporarily stored,
A character processing method characterized by controlling the learning information to be stored in a non-volatile secondary memory in association with an operation of printing the created document content.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3295659A JPH05135018A (en) | 1991-11-12 | 1991-11-12 | Character processing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3295659A JPH05135018A (en) | 1991-11-12 | 1991-11-12 | Character processing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05135018A true JPH05135018A (en) | 1993-06-01 |
Family
ID=17823513
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3295659A Pending JPH05135018A (en) | 1991-11-12 | 1991-11-12 | Character processing method and device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05135018A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012027569A (en) * | 2010-07-21 | 2012-02-09 | Brother Ind Ltd | Printing device |
-
1991
- 1991-11-12 JP JP3295659A patent/JPH05135018A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012027569A (en) * | 2010-07-21 | 2012-02-09 | Brother Ind Ltd | Printing device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2755951B2 (en) | Information processing device | |
| JPH05135018A (en) | Character processing method and device | |
| EP0200222A2 (en) | Word processor with automatic typewriter mode | |
| JPH0522933B2 (en) | ||
| US5778396A (en) | Electronic equipment such as an electronic typewriter having a relocation function and an extension function thereof | |
| JP2773731B2 (en) | Keyboard device | |
| JPS60238919A (en) | Power disconnection processing system of word processor | |
| JP2571043B2 (en) | Character replacement device | |
| JP2756246B2 (en) | Character processor | |
| JPH09101957A (en) | Information processing device | |
| JP3371435B2 (en) | Input mode automatic setting method or input mode automatic setting device | |
| JPH06290175A (en) | Document processor | |
| JPH07141330A (en) | Document preparation device with multilingual function | |
| JPH05128095A (en) | Character processing device | |
| JPH0962664A (en) | Character number enlarging system | |
| JPH04264952A (en) | Document processor | |
| JPS646485B2 (en) | ||
| JPH0512276A (en) | Document processor | |
| JPH07168829A (en) | Document creation method | |
| JPH01251087A (en) | Mouse cursor display control system | |
| JPH03228174A (en) | Character processor | |
| JPH06274483A (en) | Character processor | |
| JPH023861A (en) | information processing equipment | |
| JPH08180053A (en) | Document processing device | |
| JPH0731680B2 (en) | Character processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20021210 |