JPH05298288A - Kana/kanji conversion system - Google Patents

Kana/kanji conversion system

Info

Publication number
JPH05298288A
JPH05298288A JP4097839A JP9783992A JPH05298288A JP H05298288 A JPH05298288 A JP H05298288A JP 4097839 A JP4097839 A JP 4097839A JP 9783992 A JP9783992 A JP 9783992A JP H05298288 A JPH05298288 A JP H05298288A
Authority
JP
Japan
Prior art keywords
priority
kana
notation
dictionary
kanji conversion
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
JP4097839A
Other languages
Japanese (ja)
Inventor
Kaori Chichibu
かおり 秩父
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4097839A priority Critical patent/JPH05298288A/en
Publication of JPH05298288A publication Critical patent/JPH05298288A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To provide a Japanese dictionary having the priority flag which can be freely set by a user and the KANA/KANJI conversion system making an access to the dictionary. CONSTITUTION:A priority flag is provided on a dictionary record 4a of a Japanese dictionary 4. By using a priority flag setting function 2c of a KANA/ KANJI conversion program 2, the only reading of the notation having priority over a priority table 4b is stored. A KANA/KANJI conversion program 2 is provided with a memory load function 2b storing the reading and notation in the dictionary 4 in a priority notation storage area 5 referring to the priority table 4b. A conversion function 2a retrieves the priority notation storage area 5 and the Japanese dictionary 4 while taking a reading inputted from an input section 1 as a key to be displayed on an output section 3. The output order of a homonym is decided depending on the priority flag provided on the Japanese dictionary, the conversion result required by a user can be obtained by one conversion direction. A high-speed conversion can be performed as the priority notation is memory-loaded from the disk device.

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 system used for inputting Japanese into a computer.

【0002】[0002]

【従来の技術】図5は一般的なかな漢字変換方式を示し
たもので、図において、1は読みの入力や変換指示を行
う入力部、2は入力部1より入力された読みを漢字に変
換するかな漢字変換プログラム、3は変換した漢字を表
示する出力部、4はディスク装置に格納されている日本
語辞書である。4aは辞書レコードの形式を示し、1つ
の読みに対して複数の表記を格納する。
2. Description of the Related Art FIG. 5 shows a general kana-kanji conversion method. In the figure, reference numeral 1 is an input section for inputting readings and conversion instructions, and 2 is a conversion of the readings input from the input section 1 into kanji. Sukana Kanji conversion program, 3 is an output unit for displaying the converted Kanji, and 4 is a Japanese dictionary stored in the disk device. Reference numeral 4a indicates a format of a dictionary record, and stores a plurality of notations for one reading.

【0003】次に、図5をもとに従来のかな漢字変換方
式について説明する。入力部1から入力された読みをキ
ーとして、かな漢字変換プログラム2は日本語辞書4を
検索する。対応する読みの辞書レコード4aがあれば、
表記と対になっている文法情報を基に表記の出力順を決
定し、出力部3に表示する。
Next, a conventional kana-kanji conversion method will be described with reference to FIG. The kana-kanji conversion program 2 searches the Japanese dictionary 4 using the reading input from the input unit 1 as a key. If there is a corresponding reading dictionary record 4a,
The output order of the notation is determined based on the grammatical information paired with the notation and displayed on the output unit 3.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のかな漢
字変換方式では、同音異義語の出力順を決定する要素が
文法情報しかないため、ユーザが望む変換結果が1回の
変換指示で得られないという問題点があった。
In the above-mentioned conventional kana-kanji conversion method, since the grammatical information is the only element that determines the output order of homonyms, the conversion result desired by the user cannot be obtained with one conversion instruction. There was a problem.

【0005】この発明は上記のような問題点を解消する
ためになされたもので、ユーザが任意に設定できる優先
フラグを持つ日本語辞書、及びこの辞書をアクセスする
かな漢字変換方式を提供することを目的とする。
The present invention has been made to solve the above problems, and provides a Japanese dictionary having a priority flag which can be arbitrarily set by the user, and a kana-kanji conversion system for accessing this dictionary. To aim.

【0006】[0006]

【課題を解決するための手段】この発明のかな漢字変換
方式は、読みと表記、文法情報の他に優先フラグ、優先
フラグを設定した読みを格納する優先テーブルを持つ日
本語辞書と、優先フラグをユーザが任意に設定できる手
段と、かな漢字変換を使用する前に、優先テーブル及び
優先フラグを参照し、日本語辞書の内容をメモリにロー
ドする手段と、メモリにロードした内容とディスクに存
在する日本語辞書をアクセスする手段とを有する。
The kana-kanji conversion system of the present invention is configured to store a Japanese dictionary having a priority table for storing reading and notation and grammar information, a priority flag, and a reading set with a priority flag, and a priority flag. A method that can be arbitrarily set by the user and a method that loads the contents of the Japanese dictionary into the memory by referring to the priority table and the priority flag before using the Kana-Kanji conversion, the contents loaded into the memory and the Japanese existing on the disk. Means for accessing the word dictionary.

【0007】[0007]

【作用】この発明は、日本語辞書に格納された優先フラ
グをユーザが任意に設定できるようにし、この優先フラ
グをかな漢字変換で参照し、同音異義語の出力順を決定
する。
According to the present invention, the user can arbitrarily set the priority flag stored in the Japanese dictionary, and the priority flag is referred to in the kana-kanji conversion to determine the output order of the homonyms.

【0008】[0008]

【実施例】【Example】

実施例1.以下、この発明の一実施例について図を参照
して説明する。図1において、図5と同一符号は、同一
または相当部分を示すものである。かな漢字変換プログ
ラム2において、2aは入力部1より入力された読みを
漢字に変換する変換機能、2bは日本語辞書4から優先
出力すべき表記を予めメモリにロードするメモリロード
機能、2cは日本語辞書4に優先フラグを設定する優先
フラグ設定機能である。日本語辞書4において、4aは
1つの読みに対し、表記、文法情報、優先フラグを対で
複数有する辞書レコード、4bは優先フラグを設定した
読みを管理する優先テーブルである。5は2bで優先出
力すべき表記をロードするためのメモリに確保する優先
表記記憶領域である。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. 1, the same reference numerals as those in FIG. 5 denote the same or corresponding parts. In the kana-kanji conversion program 2, 2a is a conversion function for converting the reading input from the input unit 1 into kanji, 2b is a memory loading function for preliminarily outputting a notation to be preferentially output from the Japanese dictionary 4, and 2c is Japanese. This is a priority flag setting function for setting a priority flag in the dictionary 4. In the Japanese dictionary 4, reference numeral 4a is a dictionary record having a plurality of notations, grammatical information, and priority flags for one reading, and reference numeral 4b is a priority table for managing readings with the priority flag set. Reference numeral 5 is a priority notation storage area secured in the memory for loading the notation to be preferentially output in 2b.

【0009】次に、図1のように構成された本実施例の
かな漢字変換方式の動作について説明する。フローチャ
ートを図2、図3、図4に示す。まず、ジョブが起動さ
れると日本語辞書4をオープンし、優先テーブル4bに
読みがセットされていれば、その読みで辞書レコード4
aを検索し、読みと優先フラグが設定されている表記
を、メモリ上の優先表記記憶領域5にロードする。この
とき、ロードしたことを示すフラグをオンにする。
Next, the operation of the kana-kanji conversion system of the present embodiment constructed as shown in FIG. 1 will be described. Flow charts are shown in FIGS. 2, 3, and 4. First, when the job is started, the Japanese dictionary 4 is opened, and if the reading is set in the priority table 4b, the dictionary record 4 is read by the reading.
A is searched, and the notation in which the reading and the priority flag are set is loaded into the priority notation storage area 5 on the memory. At this time, the flag indicating that it has been loaded is turned on.

【0010】次に、かな漢字変換が起動され、入力部1
から読みが入力されると、優先表記記憶領域5にデータ
がセットされていることを示すフラグをチェックし、オ
ンならば優先表記記憶領域5を入力された読みをキーと
して検索する。読みが見つかった場合、かな漢字変換プ
ログラム内部の表記バッファへ表記を格納し、出力部3
に候補として表示する。
Next, the kana-kanji conversion is started, and the input unit 1
When a reading is input from, the flag indicating that data is set in the priority writing storage area 5 is checked, and if it is on, the priority reading storage area 5 is searched using the input reading as a key. When the reading is found, the notation is stored in the notation buffer inside the Kana-Kanji conversion program, and the output unit 3
To be displayed as a candidate.

【0011】ここで入力部1より次候補指示が入力され
た場合、及び優先表記記憶領域5にデータがセットされ
ていることを示すフラグがオフの場合、優先表記記憶領
域5に該当する読みが見つからない場合、従来のかな漢
字変換方式と同一の動作を行う。このとき、日本語辞書
4を検索して得た表記は、前述した表記バッファへ続け
て格納する。
Here, when the next candidate instruction is input from the input unit 1 and the flag indicating that data is set in the priority notation storage area 5 is off, the reading corresponding to the priority notation storage area 5 is read. If not found, the same operation as the conventional kana-kanji conversion method is performed. At this time, the notation obtained by searching the Japanese dictionary 4 is continuously stored in the above-mentioned notation buffer.

【0012】日本語辞書4への優先フラグの設定は、か
な漢字変換使用中にユーザが任意に表記毎に設定可能で
ある。入力部1より優先指示が入力されると、優先フラ
グ設定機能2cは直前に変換した読みを優先テーブル4
bへ格納し、該当する表記の優先フラグをセットすると
ともに、メモリロード機能2bを呼び出し、優先表記記
憶領域5にその読みと表記を格納する。
The setting of the priority flag in the Japanese dictionary 4 can be arbitrarily set by the user for each notation while using the Kana-Kanji conversion. When a priority instruction is input from the input unit 1, the priority flag setting function 2c sets the reading converted immediately before to the priority table 4
Then, the priority flag of the corresponding notation is set, the memory load function 2b is called, and the reading and the notation are stored in the priority notation storage area 5.

【0013】実施例2.なお、上記実施例では、ディス
ク装置の日本語辞書の優先する表記をメモリにロードす
るタイミングとしてジョブ起動時の例を示したが、コン
ピュータの電源オン、またはIPL時でもよい。
Embodiment 2. In the above-described embodiment, the example of starting the job is shown as the timing of loading the preferential notation of the Japanese dictionary of the disk device into the memory, but it may be when the power of the computer is turned on or at the time of IPL.

【0014】[0014]

【発明の効果】以上のようにこの発明によれば、日本語
辞書に格納した優先フラグをユーザが任意に設定できる
ようにし、この優先フラグをかな漢字変換で参照し、同
音異義語の出力順を決定するようにしたので、ユーザの
望む変換結果が1回の変換指示で得られる。また、優先
する表記を予めディスク装置からメモリへロードし、変
換に使用するので、高速な変換が行える効果もある。
As described above, according to the present invention, the priority flag stored in the Japanese dictionary can be arbitrarily set by the user, and the priority flag is referred to by the Kana-Kanji conversion to determine the output order of the homonyms. Since the determination is made, the conversion result desired by the user can be obtained by one conversion instruction. Further, since the preferential notation is loaded from the disk device into the memory in advance and used for conversion, there is also an effect that high speed conversion can be performed.

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

【図1】この発明の一実施例によるかな漢字変換の構成
図である。
FIG. 1 is a configuration diagram of kana-kanji conversion according to an embodiment of the present invention.

【図2】この発明の一実施例によるかな漢字変換方式の
メモリロード機能のフローチャートである。
FIG. 2 is a flowchart of a memory loading function of a kana-kanji conversion system according to an embodiment of the present invention.

【図3】この発明の一実施例によるかな漢字変換方式の
変換機能のフローチャートである。
FIG. 3 is a flowchart of a conversion function of a kana-kanji conversion method according to an embodiment of the present invention.

【図4】この発明の一実施例によるかな漢字変換方式の
優先フラグ設定機能のフローチャートである。
FIG. 4 is a flowchart of a priority flag setting function of the Kana-Kanji conversion method according to an embodiment of the present invention.

【図5】従来のかな漢字変換の構成図である。FIG. 5 is a configuration diagram of conventional kana-kanji conversion.

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

1 入力部 2 かな漢字変換プログラム 2a 変換機能 2b メモリロード機能 2c 優先フラグ設定機能 3 出力部 4 日本語辞書 4a 辞書レコード 4b 優先テーブル 5 優先表記記憶領域 1 input part 2 kana-kanji conversion program 2a conversion function 2b memory load function 2c priority flag setting function 3 output part 4 Japanese dictionary 4a dictionary record 4b priority table 5 priority notation storage area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 読みと表記、文法情報の他に優先フラ
グ、優先フラグを設定した読みを格納する優先テーブル
を持つ日本語辞書と、 優先フラグをユーザが任意に設定できる手段と、 かな漢字変換を使用する前に、優先テーブル及び優先フ
ラグを参照し、日本語辞書の内容をメモリにロードする
手段と、 メモリにロードした内容とディスクに存在する日本語辞
書をアクセスする手段と、 を有することを特徴とするかな漢字変換方式。
1. A Japanese dictionary having a priority table for storing readings and notations, grammatical information, priority flags, and readings with priority flags set, means for allowing the user to arbitrarily set priority flags, and kana-kanji conversion. Before using, refer to the priority table and the priority flag, and have means for loading the contents of the Japanese dictionary into the memory, and means for accessing the contents loaded in the memory and the Japanese dictionary existing on the disk. Characteristic kana-kanji conversion method.
JP4097839A 1992-04-17 1992-04-17 Kana/kanji conversion system Pending JPH05298288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4097839A JPH05298288A (en) 1992-04-17 1992-04-17 Kana/kanji conversion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4097839A JPH05298288A (en) 1992-04-17 1992-04-17 Kana/kanji conversion system

Publications (1)

Publication Number Publication Date
JPH05298288A true JPH05298288A (en) 1993-11-12

Family

ID=14202891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4097839A Pending JPH05298288A (en) 1992-04-17 1992-04-17 Kana/kanji conversion system

Country Status (1)

Country Link
JP (1) JPH05298288A (en)

Similar Documents

Publication Publication Date Title
JPS6133153U (en) document input device
KR860004369A (en) word processor
JPH05298288A (en) Kana/kanji conversion system
JPH0612548B2 (en) Document processor
KR20000060727A (en) The electronic dictionary whit multi-keyword
JPH0375912B2 (en)
JPH0452500B2 (en)
JPH0353378A (en) Name retrieving system for retrieval of family name of same-pronunciation/different-character and different-character/same-pronunciation
JPH0785236B2 (en) Character data input device
JPH0477951A (en) Idiom conversion system
JPS5951015B2 (en) document creation device
JPS62212876A (en) Kana/kanji mutual converter
JPH0715696B2 (en) Translation device
JPS6162970A (en) Dictionary for word processor of kana-kanji conversion
JPH0225544B2 (en)
JPS62260266A (en) Kana/kanji converting system
JPS60122463A (en) Character processing unit
JPH0154743B2 (en)
JPS6198475A (en) Japanese sentence input device
JPH05342196A (en) Character input device
JPH05135112A (en) Information processor
JPH05189414A (en) Word processor and its system
JPH0512266A (en) Document processor
JPH04113466A (en) Image file retrieval system
JPS58189723A (en) Input device for sentence containing chinese character