JPH0573535A - Kana-Kanji conversion device - Google Patents

Kana-Kanji conversion device

Info

Publication number
JPH0573535A
JPH0573535A JP3233520A JP23352091A JPH0573535A JP H0573535 A JPH0573535 A JP H0573535A JP 3233520 A JP3233520 A JP 3233520A JP 23352091 A JP23352091 A JP 23352091A JP H0573535 A JPH0573535 A JP H0573535A
Authority
JP
Japan
Prior art keywords
dictionary
kana
kanji conversion
national language
kanji
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3233520A
Other languages
Japanese (ja)
Inventor
Mihoko Okada
美穂子 岡田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3233520A priority Critical patent/JPH0573535A/en
Publication of JPH0573535A publication Critical patent/JPH0573535A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To obtain the KANA (Japanese syllabary) and KANJI (Chinese character) conversion device which performs KANA-KANJI conversion processing with a widely used dictionary without requiring a long time. CONSTITUTION:This KANA-KANJI conversion device converts a Japanese KANA document inputted with keys into a KANJI and KANA mixed sentence and is equipped with a dictionary merging process part 1a which merges plural Japanese dictionaries into a new Japanese dictionary, and a dictionary merging and generating means consisting of a KANA-KANJI conversion process area 3a and a dictionary merging area 3b.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力された仮名文字列
を、記憶装置内に設けられた国語辞書を参照して、仮名
漢字混じり文字列に変換して出力する仮名漢字変換装置
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a kana-kanji conversion device for converting an input kana character string into a kana-kanji mixed character string by referring to a Japanese dictionary provided in a storage device and outputting the kana-kanji mixed character string. Is.

【0002】[0002]

【従来の技術】従来の仮名漢字変換装置においては、メ
インの国語辞書の他に、指定した仮名漢字文字列を所望
の仮名文字列を検索語として登録し、仮名漢字変換の際
に、メインの国語辞書とともに使用できる個人別国語辞
書を作成することができる。この個人別国語辞書は、普
段は個人のフロッピー・ディスクなどに保管しておき、
必要なときに、仮名漢字変換装置の記憶装置内に読み込
んで使用するものである。また、この個人別国語辞書を
利用して専門分野別の国語辞書を作成したりすることも
できる。
2. Description of the Related Art In a conventional kana-kanji conversion device, in addition to a main Japanese language dictionary, a designated kana-kanji character string is registered as a desired kana-character string as a search word, and when a kana-kanji conversion is performed, You can create a personalized national language dictionary that can be used with the national language dictionary. This personalized Japanese dictionary is usually kept on a personal floppy disk, etc.
When necessary, it is read into the storage device of the Kana-Kanji conversion device and used. Further, it is also possible to create a national language dictionary for each specialized field using this individual national language dictionary.

【0003】近年、このような個人別、または専門分野
別の国語辞書を複数使用することへの要望が高まってお
り、読みを入力すると、複数の国語辞書を優先順に検索
して、その検索結果を変換候補として合成して表示する
といった機能が提案されている。
In recent years, there has been an increasing demand for using a plurality of such national language dictionaries for individual persons or specialized fields. When reading is input, a plurality of national language dictionaries are searched in order of priority, and the retrieval result is obtained. A function of combining and displaying as a conversion candidate has been proposed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記した
従来の仮名漢字変換装置では、優先順に従って複数の国
語辞書をそれぞれ独立に検索しなければならないので、
一つの国語辞書を使用する場合と比較して、仮名漢字変
換候補が表示されるまでに時間がかかるという問題点を
有していた。
However, in the above-described conventional kana-kanji conversion device, a plurality of national language dictionaries must be searched independently according to the priority order.
As compared with the case of using one national language dictionary, there is a problem that it takes time to display the kana-kanji conversion candidates.

【0005】本発明は上記問題を解決するもので、時間
をあまりかけることなく、広い用途の辞書から仮名漢字
変換処理を行うことができる仮名漢字変換装置を提供す
ることを目的とするものである。
The present invention solves the above problem, and an object of the present invention is to provide a kana-kanji conversion device capable of performing kana-kanji conversion processing from a dictionary having a wide range of uses, without spending much time. ..

【0006】[0006]

【課題を解決するための手段】上記した問題を解決する
ために、本発明は、複数の国語辞書を併合し、新たな国
語辞書を作成する辞書併合作成手段を有せしめるもので
ある。
In order to solve the above problems, the present invention includes a dictionary merging / creating means for merging a plurality of national language dictionaries to create a new national language dictionary.

【0007】[0007]

【作用】上記構成により、辞書併合作成手段により複数
の国語辞書を併合して広い用途の新たな国語辞書を作成
することができ、併合された一つの国語辞書から検索す
るため、時間をあまりかけることなく仮名漢字変換処理
を行うことができる。
With the above construction, a plurality of national language dictionaries can be merged by the dictionary merging / creating means to create a new national language dictionary having a wide range of use, and it takes much time to search from the merged one national language dictionary. Kana-to-Kanji conversion processing can be performed without any.

【0008】[0008]

【実施例】以下、本発明に係わる実施例について、図面
を用いて説明する。図1は本発明の一実施例における仮
名漢字変換装置のブロック図である。図1に示すよう
に、仮名漢字変換装置は、仮名漢字変換装置の制御およ
びデータの処理を行う中央演算処理装置(以下、CPU
という)1と、データなどの入力を行うキーボードやマ
ウスなどの入力装置2と、データなどを記憶するランダ
ムアクセスメモリ(以下、RAMという)3と、仮名漢
字変換処理に使用される辞書を記憶する辞書記憶部4
と、外部記憶装置5と、CRT表示装置(以下、CRT
という)6とから構成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a kana-kanji conversion device according to an embodiment of the present invention. As shown in FIG. 1, a kana-kanji conversion device is a central processing unit (hereinafter, CPU) that controls the kana-kanji conversion device and processes data.
1), an input device 2 such as a keyboard or mouse for inputting data, a random access memory (hereinafter referred to as RAM) 3 for storing data, and a dictionary used for kana-kanji conversion processing. Dictionary storage unit 4
External storage device 5 and a CRT display device (hereinafter referred to as CRT
It is composed of 6 and.

【0009】ここで、CPU1には、複数の国語辞書を
併合処理して新たな国語辞書を作成する辞書併合処理部
1aが設けられ、またRAM3には仮名漢字変換処理領
域3aと辞書併合領域3bとが設けられ、これらの辞書
併合処理部1a、仮名漢字変換処理領域3a、辞書併合
領域3bにより辞書併合作成手段が構成されている。仮
名漢字変換処理領域3aは、国語辞書の記憶位置や、大
きさなどのデータを記憶し、かつ、仮名漢字変換処理が
行われる際のデータの一時記憶に使用される。また、辞
書併合領域3bは、国語辞書を併合する際、データを一
時記憶する。
Here, the CPU 1 is provided with a dictionary merging processing section 1a for merging a plurality of national language dictionaries to create a new national language dictionary, and in the RAM 3 a kana-kanji conversion processing area 3a and a dictionary merging area 3b. And the dictionary merging processing section 1a, the kana-kanji conversion processing area 3a, and the dictionary merging area 3b constitute a dictionary merging creating means. The kana-kanji conversion processing area 3a stores data such as the storage position and size of the Japanese language dictionary and is used for temporary storage of data when the kana-kanji conversion processing is performed. The dictionary merging area 3b temporarily stores data when merging national dictionaries.

【0010】外部記憶装置5には、個人別の国語辞書が
記憶されており、使用者は所望の国語辞書を使用する場
合は、外部記憶装置5から辞書記憶部4に個人別国語辞
書を読み込み、仮名漢字変換に使用する。
The external storage device 5 stores individual national language dictionaries. When the user uses a desired national language dictionary, the user reads the individual national language dictionaries from the external storage device 5 into the dictionary storage unit 4. , Used for Kana-Kanji conversion.

【0011】以下、国語辞書の構成について、図2の構
成図を用いて説明する。国語辞書は、ヘッダー部A、イ
ンデクス部B、本体部C、テイル部Dから構成される。
ヘッダー部Aは2ワードで構成され、インデクス部Bの
現在使用されているサイズと本体部Cの現在使用されて
いるサイズを記憶する。インデクス部Bは、本体部Cの
検索語(仮名データ)へのポインタ(本体部Cの先頭か
らのワード単位のオフセット。国語辞書の先頭アドレス
とヘッダー部A、インデクス部B、本体部C、テイル部
Dのサイズが仮名漢字変換処理領域3aに記憶されてい
て、CPU1はこのオフセットで本体部Cへアクセスで
きる。)を、そのポインタが指す検索語の50音順に記
憶する。本体部Cは、検索語とそれに続く登録文字列を
登録順に記憶する。検索語は、一文字が1バイト、登録
語は、一文字が1ワードで記憶され、検索語が奇数個の
文字で構成される場合は、”0”がパディングされる。
テイル部Dは、国語辞書から登録語を読みだし、表示す
る場合のバッファサイズが記憶される。このバッファサ
イズによって、一検索語に対する登録できる文字列の数
が制限される。
The structure of the Japanese language dictionary will be described below with reference to the block diagram of FIG. The Japanese dictionary is composed of a header section A, an index section B, a main body section C, and a tail section D.
The header part A is composed of two words, and stores the currently used size of the index part B and the currently used size of the main body part C. The index part B is a pointer to the search word (kana data) of the main part C (offset in word units from the beginning of the main part C. The start address of the Japanese language dictionary and the header part A, the index part B, the main part C, the tail). The size of the copy D is stored in the kana-kanji conversion processing area 3a, and the CPU 1 can access the main body C with this offset.) Is stored in the order of the Japanese syllabary of the search word pointed to by the pointer. The main body C stores the search word and the subsequent registration character string in the order of registration. One character of the search word is stored in one byte, and one character of the registered word is stored in one word. When the search word is composed of an odd number of characters, "0" is padded.
The tail portion D stores the buffer size for reading and displaying the registered word from the national language dictionary. This buffer size limits the number of character strings that can be registered for one search word.

【0012】以上のように構成された本実施例の仮名漢
字変換装置について、以下その辞書併合作成動作を説明
し、ここでは、辞書記憶部4に記憶されている第1の国
語辞書11と、外部記憶装置5に記憶されている第2の
国語辞書12を併合し、外部記憶装置5内に新たな国語
辞書を作成する場合について図3および図4を参照しな
がら説明する。
With respect to the kana-kanji conversion device of the present embodiment configured as described above, the operation of creating the dictionary merge will be described below. Here, the first national language dictionary 11 stored in the dictionary storage unit 4 will be described. A case in which the second national language dictionary 12 stored in the external storage device 5 is merged and a new national language dictionary is created in the external storage device 5 will be described with reference to FIGS. 3 and 4.

【0013】先ず、CPU1は、辞書記憶部4内の第1
の国語辞書11から本体部Cの登録語を辞書併合領域3
b内に読み込んだ後(ステップS1)、外部記憶装置5
に記憶されている第2の国語辞書12の本体部Cから登
録語を読みだして(ステップS2)、図4に示すよう
に、ステップS1で書き込んだ第1の辞書11の本体部
Cの登録語の最後尾に書き込む(ステップS3)。
First, the CPU 1 executes the first data in the dictionary storage unit 4.
Registered words of the main body C from the Japanese language dictionary 11 of the dictionary merge area 3
After being read into b (step S1), the external storage device 5
The registered word is read from the main body C of the second national language dictionary 12 stored in (step S2), and the main body C of the first dictionary 11 written in step S1 is registered as shown in FIG. Write at the end of the word (step S3).

【0014】次に、辞書記憶部4内の第1の国語辞書1
1と、外部記憶装置5内の第2の国語辞書12からイン
デクス部Bをそれぞれ辞書併合領域3b内に読み込んで
(ステップS4、ステップS5)、第2の国語辞書12
のインデクス部Bの各ポインタの値に、辞書記憶部4内
の第1の国語辞書11のヘッダー部Aに示されているの
本体部Cの使用中サイズを加算する(ステップS6)。
その後、ステップS7において、辞書併合領域3b内の
第2の国語辞書12のインデクス部B内の全ポインタ
を、同じく辞書併合領域3b内の第1の国語辞書11の
インデクス部Bに記憶されているポインタの最後尾に書
き込み、このインデクス部B内を、本体部Cの内容をも
とに50音順にソートする(ステップS8)。
Next, the first national language dictionary 1 in the dictionary storage unit 4
1 and the index portion B from the second national language dictionary 12 in the external storage device 5 into the dictionary merging area 3b (steps S4 and S5), and the second national language dictionary 12 is read.
The in-use size of the main body portion C shown in the header portion A of the first national language dictionary 11 in the dictionary storage portion 4 is added to the value of each pointer of the index portion B of (step S6).
Then, in step S7, all pointers in the index section B of the second national language dictionary 12 in the dictionary merging area 3b are stored in the index section B of the first national language dictionary 11 in the same dictionary merging area 3b. The data is written at the end of the pointer, and the inside of the index portion B is sorted in the order of Japanese syllabary based on the contents of the main body portion C (step S8).

【0015】続いて、辞書併合領域3b内に、新国語辞
書のヘッダー部Aを生成し、辞書記憶部4内の第1の国
語辞書11と外部記憶装置5内の第2の国語辞書12の
ヘッダー部Aに記憶されているそれぞれの国語辞書1
1,12のインデクス部Bと本体部Cの使用中サイズを
加算して、新国語辞書のヘッダー部Aへ書き込む(ステ
ップS9)。
Subsequently, a header section A of the new national language dictionary is generated in the dictionary merging area 3b, and a first national language dictionary 11 in the dictionary storage section 4 and a second national language dictionary 12 in the external storage device 5 are created. Each national language dictionary stored in header A 1
The in-use sizes of the index portion B of 1 and 12 and the main body portion C are added and written in the header portion A of the new language dictionary (step S9).

【0016】この後、新国語辞書のヘッダー部A、イン
デクス部B、本体部Cを外部記憶装置5内に順番に書き
込み(ステップS10、S11、S12)、最後尾にバ
ッファサイズが書かれたテイル部Dを設定する(ステッ
プS13)。次に、一つの検索語に対する表示データ
が、テイル部Dに設定されたバッファサイズ以上になる
ものを新国語辞書内で検索し(ステップS14)、その
一覧をCRT6に表示する(ステップS15)。ここ
で、消去する単語を入力装置4から指定すると(ステッ
プS16)、本体部Cから指定された単語表記が解除さ
れ(ステップS17)、削除された分だけインデクス部
Bと、ヘッダー部Aが更新される(ステップS18)。
After this, the header part A, the index part B, and the main body part C of the new Japanese dictionary are written in order in the external storage device 5 (steps S10, S11, S12), and the tail in which the buffer size is written at the end is written. The section D is set (step S13). Next, the display data for one search word is searched in the new Japanese language dictionary for data having a size equal to or larger than the buffer size set in the tail portion D (step S14), and the list is displayed on the CRT 6 (step S15). Here, when the word to be erased is designated from the input device 4 (step S16), the designated word notation is canceled from the main body portion C (step S17), and the index portion B and the header portion A are updated by the deleted portions. (Step S18).

【0017】以上のように本実施例では、複数の国語辞
書を合成して新たな国語辞書を作成することができるた
め、個人別または分野別に作成された複数の国語辞書を
もとに、新たな用途の広い国語辞書を作成することがで
き、しかも、新国語辞書を使用する際に、従来の単独の
国語辞書を使用する場合と同じ処理時間で仮名漢字変換
処理を行うことができる。
As described above, in this embodiment, since a plurality of national language dictionaries can be combined to create a new national language dictionary, a new national language dictionary created based on an individual or a field is newly added. A versatile national language dictionary can be created, and when using a new national language dictionary, kana-kanji conversion processing can be performed in the same processing time as when using a conventional single national language dictionary.

【0018】さらに本実施例によれば、新国語辞書は、
合成前の個人別、分野別辞書と構造的に同じものである
ので、複数の仮名漢字変換装置があるところで、1つの
仮名漢字変換装置に本合成機能を有するものがあれば、
他の全ての仮名漢字変換装置で従来通りの構成で、本機
能の効果を得ることができる。
Furthermore, according to this embodiment, the new language dictionary is
Since it is structurally the same as the individual and field dictionary before composition, where there are multiple Kana-Kanji conversion devices, if one Kana-Kanji conversion device has this composition function,
With all other kana-kanji conversion devices, the effect of this function can be obtained with the conventional configuration.

【0019】なお、本実施例では、2つの国語辞書の併
合に限って説明を行ったが、これは2つに限定されるも
のではない。また、同様の処理を行うことによって、使
用中の国語辞書に他の国語辞書を直接取り込むことも可
能である。
In the present embodiment, the description has been given only to the merging of two national language dictionaries, but the number is not limited to two. Further, by performing the same processing, it is possible to directly import another national language dictionary into the national language dictionary in use.

【0020】[0020]

【発明の効果】以上のように本発明によれば、複数の国
語辞書を合成して新たな国語辞書を作成することができ
るため、個人別または分野別に作成された複数の国語辞
書をもとに、新たな用途の広い国語辞書を作成すること
ができ、しかも国語辞書は一つだけであるため、新国語
辞書を使用する際に、従来の単独の国語辞書を使用する
場合と同じ処理時間で仮名漢字変換処理を行うことがで
きる。
As described above, according to the present invention, a plurality of national language dictionaries can be combined to create a new national language dictionary. In addition, it is possible to create a new versatile national language dictionary, and since there is only one national language dictionary, the processing time when using a new national language dictionary is the same as when using a conventional single national language dictionary. Kana-Kanji conversion processing can be performed with.

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

【図1】本発明の一実施例に係る仮名漢字変換装置のブ
ロック図である。
FIG. 1 is a block diagram of a kana-kanji conversion device according to an embodiment of the present invention.

【図2】同仮名漢字変換装置の国語辞書の構成を示す図
である。
FIG. 2 is a diagram showing a configuration of a national language dictionary of the kana-kanji conversion device.

【図3】同仮名漢字変換装置の動作を表すフローチャー
トである。
FIG. 3 is a flowchart showing an operation of the kana-kanji conversion device.

【図4】同仮名漢字変換装置の辞書併合の際のデータの
流れを表す模式図である。
FIG. 4 is a schematic diagram showing a data flow when a dictionary is merged by the kana-kanji conversion device.

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

1 CPU(中央演算処理装置) 1a 辞書併合処理部 2 入力装置 3 RAM(ランダムアクセスメモリ) 3a 仮名漢字変換処理領域 3b 辞書併合領域 4 辞書記憶部 5 外部記憶装置 6 CRT表示装置 11 第1の国語辞書 12 第2の国語辞書 1 CPU (Central Processing Unit) 1a Dictionary Merge Processing Unit 2 Input Device 3 RAM (Random Access Memory) 3a Kana-Kanji Conversion Processing Region 3b Dictionary Merge Region 4 Dictionary Storage Unit 5 External Storage Device 6 CRT Display Device 11 First Language Dictionary 12 Second national language dictionary

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 キー入力によって入力された日本語仮名
文章を漢字仮名混じり文に変換する仮名漢字変換装置で
あって、複数の国語辞書を併合して新たな国語辞書を作
成する辞書併合作成手段を有する仮名漢字変換装置。
1. A kana-kanji conversion device for converting a Japanese kana sentence input by key input into a kanji-kana mixed sentence, wherein a dictionary merging means for merging a plurality of national language dictionaries to create a new national language dictionary. Kana-to-Kanji conversion device with.
JP3233520A 1991-09-13 1991-09-13 Kana-Kanji conversion device Pending JPH0573535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3233520A JPH0573535A (en) 1991-09-13 1991-09-13 Kana-Kanji conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3233520A JPH0573535A (en) 1991-09-13 1991-09-13 Kana-Kanji conversion device

Publications (1)

Publication Number Publication Date
JPH0573535A true JPH0573535A (en) 1993-03-26

Family

ID=16956323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3233520A Pending JPH0573535A (en) 1991-09-13 1991-09-13 Kana-Kanji conversion device

Country Status (1)

Country Link
JP (1) JPH0573535A (en)

Similar Documents

Publication Publication Date Title
JPH0573535A (en) Kana-Kanji conversion device
JP2621999B2 (en) Document processing device
JP3187671B2 (en) Electronic dictionary display
JP3273778B2 (en) Kana-kanji conversion device and kana-kanji conversion method
JPH0452500B2 (en)
JP2744241B2 (en) Character processor
JPS6162970A (en) Kana-kanji conversion device
JPH04174054A (en) Character input device
JPH11184854A (en) Electronic dictionary
JPS595335A (en) Japanese language input device
JPS6198475A (en) Japanese text input device
JPH02289039A (en) Document processor with proper noun converting function
JPH0378078A (en) Japanese sentence processor
JPS60112175A (en) Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor
JP2002049616A (en) Kana-kanji conversion device and kana-kanji conversion method
JPH03110663A (en) Document processor
JPH10154141A (en) Kana-Kanji conversion device
JPH0816908B2 (en) Character processing device and character processing method
JPH0727526B2 (en) Kana-Kanji converter
JPH0512251A (en) Document processor
JPH0578057B2 (en)
JPH0520303A (en) Japanese document processor
JPS63298564A (en) Japanese language document generating device
JPS61169961A (en) Character processor provided with user dictionary
JPH0877160A (en) Kana-Kanji conversion method and device