JPH0769906B2 - Character processor - Google Patents
Character processorInfo
- Publication number
- JPH0769906B2 JPH0769906B2 JP62055856A JP5585687A JPH0769906B2 JP H0769906 B2 JPH0769906 B2 JP H0769906B2 JP 62055856 A JP62055856 A JP 62055856A JP 5585687 A JP5585687 A JP 5585687A JP H0769906 B2 JPH0769906 B2 JP H0769906B2
- Authority
- JP
- Japan
- Prior art keywords
- dictionary
- reading
- conversion
- string
- input
- 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 - Lifetime
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は仮名漢字変換により読みを漢字に変換しながら
文書を作成していく文字処理装置、特に複数文節仮名漢
字変換により入力ができる文字処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a character processing device for creating a document while converting reading into kanji by kana-kanji conversion, and in particular, character processing that can be input by multi-section kana-kanji conversion. Regarding the device.
文節の区切りを指定せずにかな漢字変換が可能な複数文
節かな漢字変換による入力、いわゆる複数文節入力を実
現した装置は従来から存在している。このような複数文
節入力においては辞書サーチが頻繁に行われるため、変
換時間が長くかかるという問題があった。2. Description of the Related Art Conventionally, there has been a device that realizes so-called multiple phrase input, which is a multi-segment kana-kanji conversion that allows kana-kanji conversion without specifying a punctuation. Since a dictionary search is frequently performed in inputting such multiple phrases, there is a problem that the conversion time is long.
この問題を解決するために従来装置には3つのタイプが
存在する。第1のタイプは高速アクセス可能なメモリを
使用するこにより上記問題を解決した装置であり、辞書
を高速アクセス可能なメモリにロードしておくことによ
り、頻繁に辞書サーチを行ってもリアルタイムで変換で
きるようにした装置である。第2のタイプの装置は低速
かつ安価なメモリを使用して装置自体は低価格に構成
し、そのかわり辞書のサーチ回数をできるだけ少なくす
るように工夫した装置である。There are three types of conventional devices to solve this problem. The first type is a device that solves the above problem by using a memory that can be accessed at high speed. By loading a dictionary in a memory that can be accessed at high speed, conversion is performed in real time even if frequent dictionary searches are performed. It is a device that is made possible. The second type of device is a device devised so that the device itself is constructed at a low cost by using a low-speed and inexpensive memory, and the number of dictionary searches is reduced as much as possible.
第3のタイプは第1のタイプと第2のタイプの両者を併
用する方式である。すなわち、装置の価格を安価なもの
にするために辞書そのものは低速のメモリに持つが、高
速にサーチ出来るように読み情報のみを高速のメモリに
持つ(読み辞書と呼ぶ)という方式である。この方式で
は読み列を変換単位に分割するときは高速メモリ上の読
み辞書を使用し、実際に漢字に変換するときにはじめて
低速メモリ上のおおもとの辞書を使用するので処理速度
をあまり落さずに低価格の装置を実現できる。The third type is a system that uses both the first type and the second type together. That is, in order to keep the price of the device inexpensive, the dictionary itself is held in a low-speed memory, but only the reading information is held in a high-speed memory so that it can be searched at high speed (called a reading dictionary). In this method, the reading dictionary on the high-speed memory is used when dividing the reading string into conversion units, and the original dictionary on the low-speed memory is used for the first time when actually converting to Kanji, so the processing speed is reduced significantly. A low-cost device can be realized without doing so.
第1のタイプの欠点は高速であるために高価なメモリを
大量に使用するため、装置自体が高価なものとなってし
まう点である。The disadvantage of the first type is that the device itself is expensive because a large amount of expensive memory is used due to its high speed.
第2のタイプの装置の欠点は辞書サーチ回数を無数に少
なくしているため思うように変換精度を上げることがで
きず、変換率が悪いという点である。The disadvantage of the second type device is that the conversion accuracy cannot be improved as expected because the number of dictionary searches is infinitely small, and the conversion rate is poor.
第3のタイプの装置は2つの辞書が存在するために両者
が矛盾した内容になってしまう危険性があり、それを防
止するために辞書の内容が変化したときにオペレータが
指示して読み辞書をおおもとの辞書から再生成するとい
う操作をおこなわなければならないという欠点があっ
た。The third type of device has two dictionaries, so there is a risk that the two contents will be inconsistent. To prevent this, when the contents of the dictionary change, the operator instructs the reading dictionary. There was a drawback in that the operation of regenerating from the original dictionary had to be performed.
本発明の目的は上記の欠点を除去することにある。すな
わち、上記の様な無駄な辞書の再生成という処理を除去
し、変換時間の速い文字処理装置を実現することにあ
り、文書を作成する文字処理装置において読み列を入力
する読み列入力手段と、単語を読みと表記の対応をとっ
て記憶した第1の辞書手段と、前記第1の辞書手段の情
報のうち少なくとも読みに関する情報を記憶した第2の
辞書手段と、前記入力された読み列を前記第2の辞書手
段を参照することにより変換単位に分割する読み列分割
手段と、前記分割された読み列を前記第1の辞書手段を
参照することにより表記に変換する読み列変換手段と、
前記第1の辞書手段より前記第2の辞書手段を再生成す
る辞書再構成手段と前記第1の辞書手段の内容の変化を
検知する辞書変更検知手段とを具備し、前記辞書変更検
知手段による辞書内容変化の検知に応じて前記辞書再構
成手段により前記第2の辞書を再生成することにより実
現するものである。The object of the invention is to eliminate the above-mentioned drawbacks. That is, the above-described useless dictionary regeneration processing is eliminated to realize a character processing device with a fast conversion time, and a reading string input means for inputting a reading string in a character processing device for creating a document is provided. A first dictionary means for storing a word in correspondence with a reading and a notation, a second dictionary means for storing at least information about reading among the information of the first dictionary means, and the input reading string A reading sequence dividing unit that divides the reading sequence into conversion units by referring to the second dictionary unit; and a reading sequence converting unit that converts the divided reading sequence into a notation by referring to the first dictionary unit. ,
The dictionary change detecting unit includes a dictionary reconstructing unit that regenerates the second dictionary unit from the first dictionary unit and a dictionary change detecting unit that detects a change in the content of the first dictionary unit. This is realized by regenerating the second dictionary by the dictionary reconstructing means in response to the detection of a change in the dictionary contents.
以下図面を参照して本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to the drawings.
第1図は本発明による文字処理装置の概略図である。FIG. 1 is a schematic diagram of a character processing device according to the present invention.
読み列入力手段より入力された読み列を読み列分割手段
が第2の辞書を参照しつつ変換単位に分割し、分割され
た読み列を読み列変換手段が第1の辞書を参照しつつ漢
字かな混じり文に変換する。辞書変更検知手段は第1の
辞書の内容が変化したかどうかを検知し、もし、検知す
ると辞書再構成手段を起動する。辞書再構成手段は起動
されると第1の辞書から読み情報のみを抽出した第2の
辞書を再生する。The reading string dividing means divides the reading string input from the reading string input means into conversion units while referring to the second dictionary, and the reading string converting means refers to the first dictionary and the kanji Convert to kana mixed sentence. The dictionary change detecting means detects whether the contents of the first dictionary have changed, and if so, activates the dictionary reconstructing means. When activated, the dictionary reconstructing means reproduces the second dictionary in which only the reading information is extracted from the first dictionary.
第2図は本発明の全体構成の一例である。FIG. 2 is an example of the overall configuration of the present invention.
図示の構成においてCPUはマイクロプロセッサであり、
文字処理のための演算,論理判断等を行い、アドレスバ
スAB,コントロールバスCB,データバスDBを介してそれら
のバスに接続された各構成要素を制御する。In the configuration shown, the CPU is a microprocessor,
It performs arithmetic operations for character processing, logical decisions, etc., and controls each component connected to these buses via the address bus AB, control bus CB, and data bus DB.
アドレスバスABはマイクロプロセッサCPUの制御の対象
とする構成要素を指示するアドレス信号を転送する。コ
ントロールバスCBはマイクロプロセッサCPUの制御の対
象とする各構成要素のコントロール信号を転送して印加
する。データバスDBは各構成機器相互間のデータの転送
を行う。The address bus AB transfers an address signal indicating a component to be controlled by the microprocessor CPU. The control bus CB transfers and applies the control signals of the respective components to be controlled by the microprocessor CPU. The data bus DB transfers data between the constituent devices.
つぎにROMは読出し専用の固定メモリであり、第6図〜
第10図につき後述するマイクロプロセッサCPUによる制
御の手順等を記憶させておく。Next, ROM is a fixed read-only memory, and is shown in FIG.
The procedure of control by the microprocessor CPU, which will be described later with reference to FIG. 10, is stored.
また、RAMは1ワード16ビツトの構成の書込み可能のラ
ンダムアクセスメモリであって、各構成要素からの各種
データの一時記憶に用いる。The RAM is a writable random access memory having a structure of 16 bits per word and is used for temporary storage of various data from each constituent element.
TBUFは文書バツフアであり、キーボードKBより入力され
た文書情報を蓄えるためのメモリである。The TBUF is a document buffer, which is a memory for storing the document information input from the keyboard KB.
YDCは入力読み列を変換単位に分割するための読み辞書
である。YDC is a reading dictionary for dividing an input reading string into conversion units.
第3図は読み辞書の構成を示した図である。YMFは読み
部、GIFは文法情報部を示す。読み部,文法情報部の構
成は辞書の構成と同一である。最後尾には「んんん」が
入ってエンドマークとなっている。FIG. 3 is a diagram showing the structure of the reading dictionary. YMF indicates the reading section, and GIF indicates the grammar information section. The reading part and the grammar information part have the same structure as the dictionary. "Nnn" is entered at the end of the line to form the end mark.
KBはキーボードであって、アルフアベツトキー,ひらが
なキー,カタカナキー等の文字記号入力キー及び変換キ
ー,単語登録キー等の本文字処理装置に対する各種機能
を指示するための各種のフアンクシヨンキーを備えてい
る。The KB is a keyboard, and is provided with various function keys for instructing various functions for the character processing device such as character and symbol input keys such as alphanumeric keys, hiragana keys, katakana keys, and word registration keys. ing.
DISKは磁気デイスク等の低速である安価なメモリであ
り、かな漢字変換を行うための辞書および文書,読み辞
書,その他の保管が必要なデータを記憶するために使用
される。作成された読み辞書はDISKに保管され、更に保
管された読み辞書はキーボードの指示により必要な時呼
び出される。DISK is a low-speed, inexpensive memory such as a magnetic disk, and is used for storing a dictionary and documents for performing kana-kanji conversion, a reading dictionary, and other data that needs to be stored. The created reading dictionary is stored in DISK, and the stored reading dictionary is called when necessary by the instruction of the keyboard.
DICはかな漢字変換用の辞書であり、DISK上に存在す
る。DIC is a dictionary for Kana-Kanji conversion and exists on DISK.
第4図は辞書の構成を示した図である。各単語は1単語
18バイトで構成される。YMFは読み部であり、各単語の
読みを1読み1バイトでJISC-6226コードの下位バイト
で表現する。KJFは漢字部であり、JISC-6226コードを用
い1文字2バイトで表現する。GIFは文法情報部であり
各単語の品詞情報を2バイトで表現する。各単語は読み
の昇順にソートされている。FIG. 4 is a diagram showing the structure of the dictionary. Each word is one word
It consists of 18 bytes. YMF is a reading part, and each reading of each word is represented by 1 byte of 1 byte and the lower byte of JIS C-6226 code. KJF is a kanji part and is expressed in 2 bytes per character using JIS C-6226 code. GIF is a grammar information part, and expresses the part-of-speech information of each word in 2 bytes. Each word is sorted in ascending order of reading.
YDCSVはDISK上に存在する読み辞書退避用ワークエリア
である。YDCSV is a reading dictionary save work area that exists on DISK.
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 the cursor at the position on the display device CRT corresponding to the address stored here.
DBUFは表示バツフアメモリでTBUFに蓄えられた文書情報
等のパターンを蓄える。The DBUF stores a pattern such as document information stored in the TBUF in the display buffer memory.
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.
また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.
さらに、CGはキヤラクタジエネレータであって表示装置
CRTに表示する文字,記号のパターンを記憶するもので
ある。Furthermore, CG is a character generator and is a display device.
It stores the patterns of characters and symbols displayed on the CRT.
かかる各構成要素からなる本発明文字処理装置において
は、キーボードKBからの各種の入力に応じて作動するも
のであってキーボードKBからの入力が供給されると、ま
ずインタラプト信号がマイクロプロセツサCPUに送ら
れ、そのマイクロプロセツサCPUがROM内に記憶してある
各種の制御信号を読出し、それらの制御信号に従って各
種の制御が行われる。In the character processing device of the present invention composed of such respective components, it operates in response to various inputs from the keyboard KB, and when an input from the keyboard KB is supplied, first, an interrupt signal is sent to the microprocessor CPU. The microprocessor CPU, which is sent, reads out various control signals stored in the ROM, and various controls are performed in accordance with these control signals.
上述の如き構成から成る実施例の作動を説明する。The operation of the embodiment configured as described above will be described.
第5図は複数文節入力の概念を示した図である。FIG. 5 is a diagram showing the concept of multiple phrase input.
(5−1)はオペレータの入力した例文の1つである。
矢印に示すように単語がサーチされる。次にサーチ結果
に基づき(5−2)のように文節単位に入力読み列が分
割され、(5−3)に示すような漢字かな混じり文にな
る。(5-1) is one of the example sentences input by the operator.
The word is searched as indicated by the arrow. Next, based on the search result, the input reading string is divided in units of clauses as shown in (5-2), and a kanji-kana mixed sentence as shown in (5-3) is obtained.
すなわち、複数文節入力では辞書サーチが処理時間のネ
ツクとなるため、高速メモリに辞書を持たなければなら
ない。That is, in the case of inputting a plurality of phrases, the dictionary search becomes a net of processing time, and therefore the high speed memory must have a dictionary.
第6図は本発明文字処理装置の動作を示すフローチヤー
トである。FIG. 6 is a flow chart showing the operation of the character processing apparatus of the present invention.
ステツプ6−1において、即ちイニシャル・プログラム
ロードの該のかかるステツプでシステム動作に必要な各
種変数の初期化を行う。例えば、辞書変更フラグFはこ
のときリセツトされる。In step 6-1, that is, in the step of loading the initial program, various variables necessary for system operation are initialized. For example, the dictionary change flag F is reset at this time.
ステツプ6−2においてキーボードKBからキー入力の受
付を行い、キーが入力されるとキーの種類に応じて各処
理に分岐する。In step 6-2, the key input is received from the keyboard KB, and when the key is input, the process branches depending on the type of the key.
ステツプ6−3はキーボードKB上の単語登録キーが入力
された場合であり、第7図に詳述する単語登録の処理を
行う。Step 6-3 is a case where the word registration key on the keyboard KB is input, and the word registration processing described in detail in FIG. 7 is performed.
ステツプ6−4は変換キーが入力された場合であり、第
8図に詳述する変換の処理を行う。Step 6-4 is a case where the conversion key is input, and the conversion processing described in detail in FIG. 8 is performed.
ステツプ6−5は文字キー,挿入キー,削除キー等の他
のキーが入力された場合の処理であり文字キーが操作さ
れた場合、入力バツフアIBに入り、その後TBUF,DBUFに
転送され、表示される。Step 6-5 is a process when another key such as a character key, an insert key, or a delete key is input. When the character key is operated, the input buffer IB is entered, and then it is transferred to TBUF, DBUF and displayed. To be done.
ステツプ6−6はTBUF→DBUFに転送し、表示するステツ
プである。Step 6-6 is a step for transferring from TBUF to DBUF and displaying.
第7図は単語登録を行う場合の処理である。ステツプ7
−1は単語登録処理である。オペレータの指定した読
み、漢字を持つ単語を新たに辞書DICに登録する処理で
ある。ステツプ7−2は単語登録終了後、辞書変更フラ
グFをONする処理である。FIG. 7 shows a process when a word is registered. Step 7
-1 is a word registration process. This is a process of newly registering a word having the reading and kanji specified by the operator in the dictionary DIC. Step 7-2 is a process for turning on the dictionary change flag F after the word registration is completed.
第8図は変換処理の詳細を記述した図である。FIG. 8 is a diagram describing details of the conversion process.
ステツプ8−1は第9図に詳述する入力バツフアIB中の
入力読み列を変換単位(文節)に分割する処理である。
ステツプ8−2は文節単位に分割された読み列を漢字に
変換する処理であり第11図に詳述される。Step 8-1 is a process for dividing the input reading string in the input buffer IB described in detail in FIG. 9 into conversion units (clauses).
Step 8-2 is a process for converting a reading string divided into bunsetsu units into Chinese characters, which will be described in detail in FIG.
第9図は読み列分割処理の詳細を記述したフローであ
る。FIG. 9 is a flow describing the details of the reading column division processing.
ステツプ9−1において辞書変更フラグFをチエツク
し、もしOFFであれば辞書YDCは変更されていないのでス
テツプ9−2においてDISK上のYDCSVより読み辞書をYDC
にロードしステツプ9−5に分岐する。DISKよりロード
を実行する処理は通常の文字処理装置において、例えば
文書呼出等を実行するときに公知の技術であるので特に
説明は行わない。In step 9-1, the dictionary change flag F is checked, and if it is OFF, the dictionary YDC has not been changed. Therefore, in step 9-2, the dictionary is read from YDCSV on DISK and the dictionary is read as YDC.
And branch to step 9-5. The process of executing loading from DISK is a known technique in a normal character processing device when executing, for example, a document call, and therefore will not be described in particular.
もし、辞書変更フラグFがONならステツプ9−3に進み
第10図に詳述する読み辞書YDCの作成処理を行い、ステ
ツプ9−4において作成された読み辞書YDCをDISK上の
バツフアYDCSVにセーブしステツプ9−5に分岐する。D
ISKにデータをセーブする処理自体は通常の文字処理装
置において、例えば文書保存等を実行するときに公知の
技術であるので特に説明は行わない。If the dictionary change flag F is ON, the process proceeds to step 9-3, the reading dictionary YDC is created in detail in FIG. 10, and the reading dictionary YDC created in step 9-4 is saved in the buffer YDCSV on DISK. Then, the process branches to step 9-5. D
The process of saving the data in the ISK is a known technique in the ordinary character processing device, for example, when a document is stored, and therefore is not described here.
ステツプ9−5において読み辞書YDCをサーチし、どの
ような文節が可能であるかをバツフアL上にリストアツ
プする。In step 9-5, the reading dictionary YDC is searched, and what kind of phrase is possible is restored on the buffer L.
ステツプ9−6において上記リストアツプされた文節を
組み合せて入力バツフアIBの読み列を変換単位に分割す
る。このときの分割の方法に関しては、最長一致法,2文
節最長一致法,文節数最小法等の各種の方式が用いられ
る。In step 9-6, the read-back sequence of the input buffer IB is divided into conversion units by combining the restored clauses. At this time, various methods such as the longest-matching method, the two-phrase longest-matching method, and the minimum number of clauses are used as the division method.
第10図は読み辞書作成を詳細化したフローである。FIG. 10 is a detailed flow of reading dictionary creation.
ステツプ10−1において行カウンタiをクリアする。In step 10-1, the row counter i is cleared.
ステツプ10−2において行カウンタiが辞書単語数を超
えているかチエツクし、もし超えていれば10−8に分岐
する。In step 10-2, check whether the line counter i exceeds the number of dictionary words, and if it exceeds, branch to 10-8.
ステツプ10−3において辞書よりi番目の単語の読み情
報を取り出し、ステツプ10−4で読み辞書のi番目にセ
ツトする。In step 10-3, the reading information of the i-th word is taken out from the dictionary, and in step 10-4, it is set to the i-th word in the reading dictionary.
ステツプ10−5において辞書i番目の単語の文法情報を
取り出し、ステツプ10−6において読み辞書i番目にセ
ツトする。In step 10-5, the grammatical information of the i-th word in the dictionary is taken out, and in step 10-6, the reading dictionary is set to the i-th word.
ステツプ10−7において行カウンタiを更新しステツプ
10−2に戻る。In step 10-7, the row counter i is updated and the step is updated.
Return to 10-2.
ステツプ10−8において読み辞書のエンドマーカのセツ
トを行う。At step 10-8, the reading dictionary end marker is set.
ステツプ10−9において辞書変更フラグFをOFFする。At step 10-9, the dictionary change flag F is turned off.
第11図は文節変換の処理を詳細化したフローである。FIG. 11 is a detailed flow of the phrase conversion processing.
ステツプ11−1において変換単位(文節)と一致する単
語が存在するかどうか調べるために辞書DICをサーチす
る。In step 11-1, the dictionary DIC is searched to see if there is a word that matches the conversion unit (clause).
ステツプ11−2において一致する単語が見つかったかど
うかを判定し、見つかったときはステツプ11−3に分岐
し辞書中に記載されている通りに漢字列に変換する。も
し見つからなかったときはステツプ11−4に分岐し、ひ
らがなのままを変換結果とする。In step 11-2, it is judged whether or not a matching word is found, and if found, it is branched to step 11-3 and converted into a kanji string as described in the dictionary. If not found, the process branches to step 11-4 and the hiragana as it is is used as the conversion result.
ステツプ11−5において上記の変換結果をTBUFの文書中
に出力しリターンする。In step 11-5, the above conversion result is output in the TBUF document and the process returns.
以上の実施例におていは読み列を変換単位に分割するた
めの辞書としては読みのみを持つ辞書を想定している
が、読み以外にも変換率を上げるために必要な情報がも
っても何ら本発明の趣旨を損なうものではない。要は、
変換に必要な辞書のうち変換単位に分割するために必要
な情報のみを分離して高速メモリ上に持つことを特徴と
している。In the above embodiments, a dictionary having only readings is assumed as a dictionary for dividing the reading string into conversion units, but even if there is information necessary for increasing the conversion rate other than readings, no dictionary is provided. It does not impair the gist of the present invention. In short,
It is characterized in that only the information necessary for dividing into a conversion unit among the dictionaries necessary for conversion is separated and held in a high-speed memory.
また、仮名を漢字に変換する日本文作成装置を実施例と
して説明しているが、本発明の成果は、他のもの、例え
ばローマ字表記を漢字仮名混じり文に変換する装置、発
音記号を英文に変換する装置などにも応用が可能であ
る。Further, the Japanese sentence creating device for converting kana into kanji has been described as an example, but the result of the present invention is that other things, for example, a device for converting romanized notation into kanji kana mixed sentences, phonetic symbols into English sentences. It can be applied to a conversion device.
以上述べたことから明らかなように、辞書は低速メモリ
上にあるので装置自体は安価であり、しかも読み情報の
みは高速メモリ上に持つので変換時間も速く、しかも変
換率の高い文字処理装置を実現することができる。As is clear from the above description, since the dictionary is on the low-speed memory, the device itself is inexpensive, and since only the reading information is on the high-speed memory, the conversion time is fast, and a character processing device with a high conversion rate can be used. Can be realized.
しかも、読み辞書はイニシャルプログラムロードIPL時
にオリジナルの辞書から自動的に再生成されるのではな
く、オリジナルの辞書の内容に変化があったとき再生成
され、変化がなかったときは保存されていた読み辞書を
呼び出すだけであるので無駄な読み辞書再生成の処理を
行うことがなく変換時間の速い文字処理情報を実現でき
る。Moreover, the reading dictionary was not automatically regenerated from the original dictionary at the time of initial program load IPL, but was regenerated when the contents of the original dictionary changed and was saved when there was no change. Since only the reading dictionary is called, it is possible to realize character processing information with a short conversion time without performing unnecessary processing of reading dictionary regeneration.
以上述べたことから明らかなように、本発明によれば辞
書は低速メモリ上にあるので装置自体は安価であり、し
かも読み情報のみは高速メモリ上に持つので変換時間も
速く、しかも変換率の高い文字処理装置を実現すること
ができる。As is clear from the above description, according to the present invention, the dictionary is on the low-speed memory, so the apparatus itself is inexpensive, and since only the reading information is stored on the high-speed memory, the conversion time is fast and the conversion rate is high. A high character processing device can be realized.
しかも、読み辞書はオリジナルの辞書が変更されたとき
に自動的に再生成されるので、辞書本体と読み辞書の内
容が食い違って変換結果に悪影響を及ぼすこともなく首
尾一貫した変換を行う操作性の高い文字処理装置を実現
できる。In addition, the reading dictionary is automatically regenerated when the original dictionary is changed, so the operability for consistent conversion can be achieved without the contents of the dictionary body and reading dictionary conflicting and adversely affecting the conversion result. It is possible to realize a high character processing device.
第1図は本発明による文字処理装置の概略図、 第2図は本発明の全体構成の一例を示す図、 第3図は複数文節入力の例を示す図、 第4図は辞書DICの構成の例を示す図、 第5図は読み辞書の構成の例を示す図、 第6図〜第11図は本発明文字処理装置の動作を示すフロ
ーチヤートの例を示す図。 CPUはマイクロプロセツサ、ABはアドレスバス、CBはコ
ントロールバス、DBはデータバス、ROMは固定メモリ、R
AMはランダムアクセスメモリ、TBUFは文書バツフア、YD
Cは読み辞書、KBはキーボード、DISKは磁気デイスク、D
ICは辞書、YDCSVは読み辞書退避エリア、CRはカーソル
レジスタ、CRTCはCRTコントローラ、DBUFは表示用バツ
フアメモリ、CGはキヤラクタジエネレータ。FIG. 1 is a schematic diagram of a character processing device according to the present invention, FIG. 2 is a diagram showing an example of the overall configuration of the present invention, FIG. 3 is a diagram showing an example of multiple phrase input, and FIG. 4 is a configuration of a dictionary DIC. FIG. 5 is a diagram showing an example of the construction of a reading dictionary, and FIGS. 6 to 11 are diagrams showing an example of a flow chart showing the operation of the character processing device of the present invention. CPU is microprocessor, AB is address bus, CB is control bus, DB is data bus, ROM is fixed memory, R
AM is random access memory, TBUF is document buffer, YD
C for reading dictionary, KB for keyboard, DISK for magnetic disk, D
IC is a dictionary, YDCSV is a reading dictionary save area, CR is a cursor register, CRTC is a CRT controller, DBUF is a display buffer memory, and CG is a character generator.
Claims (1)
み列を入力する読み列入力手段と、単語を読みと表記の
対応をとって記憶した第1の辞書手段と、前記第1の辞
書手段の情報のうち少なくとも読みに関する情報を記憶
した第2の辞書手段と、前記入力された読み列を前記第
2の辞書手段を参照することにより変換単位に分割する
読み列分割手段と、前記分割された読み列を前記第1の
辞書手段を参照することにより表記に変換する読み列変
換手段と、前記第1の辞書手段より前記第2の辞書手段
を再生成する辞書再構成手段と前記第1の辞書手段の内
容の変化を検知する辞書変更検知手段とを具備し、前記
辞書変更検知手段による辞書内容変化の検知に応じて前
記辞書再構成手段により前記第2の辞書を再生成するこ
とを特徴とする文字処理装置。1. In a character processing device for creating a document, a reading string input means for inputting a reading string, a first dictionary means for storing words in correspondence with reading and notation, and the first dictionary means. Second dictionary means for storing at least information related to reading among the above information, reading string dividing means for dividing the input reading string into conversion units by referring to the second dictionary means, and A reading string conversion means for converting the read string into a notation by referring to the first dictionary means, a dictionary reconstructing means for regenerating the second dictionary means from the first dictionary means, and the first A dictionary change detecting means for detecting a change in the content of the dictionary means, and the dictionary reconstructing means regenerates the second dictionary in response to the detection of the change in the dictionary content by the dictionary change detecting means. Characteristic sentence Processing apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62055856A JPH0769906B2 (en) | 1987-03-11 | 1987-03-11 | Character processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62055856A JPH0769906B2 (en) | 1987-03-11 | 1987-03-11 | Character processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63221466A JPS63221466A (en) | 1988-09-14 |
| JPH0769906B2 true JPH0769906B2 (en) | 1995-07-31 |
Family
ID=13010697
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62055856A Expired - Lifetime JPH0769906B2 (en) | 1987-03-11 | 1987-03-11 | Character processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0769906B2 (en) |
-
1987
- 1987-03-11 JP JP62055856A patent/JPH0769906B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63221466A (en) | 1988-09-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5418718A (en) | Method for providing linguistic functions of English text in a mixed document of single-byte characters and double-byte characters | |
| JPH0769906B2 (en) | Character processor | |
| JPH0769907B2 (en) | Character processor | |
| JPS63221469A (en) | character processing device | |
| JPS63221467A (en) | character processing device | |
| JPH0375912B2 (en) | ||
| JPS63221468A (en) | character processing device | |
| JPS63221465A (en) | character processing device | |
| JP2862236B2 (en) | Character processor | |
| JP3058181B2 (en) | Character processing apparatus and method | |
| JP3278148B2 (en) | Character processing apparatus and method | |
| JPH03116366A (en) | Character processor | |
| JP2744241B2 (en) | Character processor | |
| JPH0628060B2 (en) | Character processor | |
| JPS62198957A (en) | Character processor | |
| JPS63259763A (en) | character processing device | |
| JPH03116367A (en) | Character processor | |
| JPS62198953A (en) | character processing device | |
| JPS62198956A (en) | Character processor | |
| JPS63263564A (en) | character processing device | |
| JPH03116369A (en) | character processing device | |
| JPH0628062B2 (en) | Character processing apparatus and method | |
| JPH07191980A (en) | Character processor | |
| JPH0447446A (en) | Character processor | |
| JPH05135010A (en) | Character processing method and device therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |